Jörn Friedrich Dreyer
368d32becb
run make go-mod-tidy
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-23 09:16:58 +00:00
Jörn Friedrich Dreyer
4fffec0749
Merge pull request #1699 from owncloud/fix-token-ttl
...
fix token cache TTL
2021-02-22 20:36:05 +01:00
David Christofas
7ad38d7757
fix token cache TTL
...
The TTL was supplied to the middleware as a duration and then in that middleware multiplied by `time.Second` again. Durations should not be multiplied because they result in unintended values.
```go
time.Second * 1 = 1s
time.Second * time.Second = 277777h46m40s
```
2021-02-22 18:40:15 +01:00
Jörn Friedrich Dreyer
8a8aa2dc52
use micre v3 registry interface
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-22 15:08:50 +00:00
Jörn Friedrich Dreyer
89b06defa5
use ocis grpc client for thumbnails
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-18 21:26:36 +00:00
A.Unger
1daad022c3
set MICRO_LOG_LEVEL to error if not defined
2021-02-18 12:45:44 +01:00
Jörn Friedrich Dreyer
13f6defb7a
use upstream prometheus logger
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-18 09:10:00 +00:00
Jörn Friedrich Dreyer
c2939551e5
rebase and tidy
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-18 08:17:57 +00:00
Jörn Friedrich Dreyer
57aec02410
tidy everything
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-18 08:03:22 +00:00
Jörn Friedrich Dreyer
603dad3533
bring back etcd registry
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-18 08:01:53 +00:00
A.Unger
448bdde79c
use http replace
2021-02-18 08:01:53 +00:00
A.Unger
a1d5e34f41
update proxy to use go-micro v3
2021-02-18 08:01:53 +00:00
Willy Kloucek
888481a64a
Merge pull request #1626 from ishank011/group-provider
...
storage: add group provider service and sharing SQL driver
2021-02-17 10:34:25 +01:00
Ishank Arora
bafa6b9c81
Upgrade reva version
2021-02-16 16:01:57 +01:00
root
4813b06ed5
Upgrade reva and CS3APIs versions
2021-02-16 16:00:51 +01:00
Willy Kloucek
aed03b5bf5
generate all protobuf and embed.go files in CI
2021-02-16 15:44:06 +01:00
David Christofas
9d1341d1eb
update ocis dependencies
2021-02-16 14:32:46 +01:00
David Christofas
10d4bad26d
clean up go dependencies
2021-02-12 16:38:34 +01:00
Ilja Neumann
0c6c18f818
Update reva to master@0c10b333ee69
...
Co-authored-by: David Christofas <dchristofas@owncloud.com >
2021-02-12 16:14:03 +01:00
Willy Kloucek
2efbb13e66
change secrets on deploy
2021-02-10 14:20:38 +01:00
Willy Kloucek
29129cdb9d
fix config links
2021-01-29 11:14:03 +01:00
Pascal Wengerter
d7b1ecb3dc
Change (ocis,OCIS) to oCIS, unify GitHub branding
2021-01-28 00:32:47 +00:00
Jörn Friedrich Dreyer
75984383d6
update reva to 0c10b333ee69
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-01-25 15:05:48 +00:00
Ilja Neumann
777c29fc35
Update reva to v1.5.1
2021-01-22 12:36:41 +01:00
Florian Schade
8c9f9b6dfc
bump go version to 1.15
2021-01-20 15:41:36 +01:00
Florian Schade
af870e005e
add more tests and benchmark for cache
...
refactor cache to use atomic uint
2021-01-19 23:23:41 +01:00
Florian Schade
f13530425a
move cache to sync package
...
rollback indexer map
use sync.pool for cache entries
add tests for cache
remove main locks from nrwmutex and use sync.map and sync.pool instead
bump dockerfile go version
2021-01-19 23:23:41 +01:00
Florian Schade
a02fb890f7
remove locking from accounts service
...
add a cached named rwlock pkg
use sync.map in the cache pkg
use named rwlock in indexer pkg
use sync.map in indexer pkg
remove husky
2021-01-19 23:23:41 +01:00
Jörn Friedrich Dreyer
3240e20641
Update reva to v1.4.1-0.20210111080247
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-01-11 09:48:41 +00:00
Willy Kloucek
5c72d915ee
fix sonarcloud run for master, remove unneeded configs, rework makefile
2020-12-29 15:46:29 +01:00
Jörn Friedrich Dreyer
eb2143d3ec
Merge pull request #1157 from owncloud/enable_multiple_env_vars_in_docs
...
[docs-only] add multiple env vars to templates
2020-12-28 14:23:21 +01:00
Benedikt Kulmann
ca6d59d7c5
Merge pull request #1142 from owncloud/small-refactoring
...
small refactorings of test code and some methods
2020-12-24 06:06:22 +01:00
Jörn Friedrich Dreyer
5689daf864
Merge pull request #1148 from owncloud/add_ocis_url_env
...
add OCIS_URL env var
2020-12-23 17:25:24 +01:00
Willy Kloucek
12897e61cb
add multiple env vars to templates
2020-12-23 09:19:32 +01:00
Ilja Neumann
cd2eb0e39b
Accounts UserBackend tests
2020-12-22 17:27:55 +01:00
Ilja Neumann
0d990898b8
Fix gid was overwritten by roles
2020-12-22 17:27:55 +01:00
Ilja Neumann
1b29e56d12
account_resolver_test.go
2020-12-22 16:16:57 +01:00
Jörn Friedrich Dreyer
03e1f95d49
fix lint
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-12-22 15:10:23 +00:00
Jörn Friedrich Dreyer
7dbc1af76f
add OCIS_URL env var
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-12-21 16:20:02 +00:00
Willy Kloucek
73cf0fc36d
rename reva to proxy where applicable
2020-12-21 09:15:38 +01:00
Willy Kloucek
3c3964fd8e
run go mod tidy for all extensions
2020-12-18 15:49:13 +01:00
Willy Kloucek
d2e4c69aee
add go-mod-tidy targets to Makefiles
2020-12-18 15:49:08 +01:00
David Christofas
cf69537d1b
small refactorings of test code and some methods
2020-12-18 14:12:10 +01:00
Willy Kloucek
9c34174d45
make tracing defaults consistent
2020-12-17 15:47:47 +01:00
A.Unger
bf3ff8509c
update reva to 5207197
2020-12-16 10:58:52 +01:00
David Christofas
b60eece092
update reva to v1.4.1-0.20201209113234-e791b5599a89
2020-12-14 13:38:10 +01:00
Ilja Neumann
92a1bc8fb6
Make it possible to use CS3 as accounts backend instead of account-service
...
Configureable via:
PROXY_ACCOUNT_BACKEND_TYPE=cs3
PROXY_ACCOUNT_BACKEND_TYPE=accounts (default)
By using a backend which implements the CS3 user-api (currently provided by reva/storage) it is possible to bypass
the ocis-accounts service and for example use ldap directly.
Hides user and auth related communication behind a facade (user/backend) to minimize logic-duplication across middlewares.
Allows to switich the account backend from accounts to cs3.
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-12-11 18:34:43 +01:00
Alex Unger
beb83f3f40
Merge pull request #1025 from owncloud/remove-unused-errors
...
Remove unused errors
2020-12-04 18:46:51 +01:00
Ilja Neumann
61a8f00837
Remove unused errors
2020-12-04 15:50:22 +01:00
A.Unger
2cddc0a23c
fix leftover typo
2020-12-04 13:53:34 +01:00