Commit Graph

137 Commits

Author SHA1 Message Date
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
A.Unger f1521e4df7 refactor authentication.go 2020-12-04 13:51:48 +01:00
A.Unger 7d8336ce4b use regexp to assert routes, remove StatusRecorder 2020-12-04 13:17:25 +01:00
A.Unger ad4ea3efe7 Merge branch 'master' into ocis-1132 2020-12-04 12:39:57 +01:00
Willy Kloucek fe2efc3c46 change to InsecureBackends flag 2020-12-04 07:31:46 +01:00
Willy Kloucek 4c9d990478 tage default values from http.DefaultTransport 2020-12-04 07:31:46 +01:00
Willy Kloucek 200872b3b4 make insecure upstream servers configurable 2020-12-04 07:31:46 +01:00
A.Unger f477f0354a Merge branch 'master' into ocis-1132 2020-12-03 16:42:45 +01:00
David Christofas 96e75ceb2f update reva 2020-12-03 16:01:29 +01:00
David Christofas b137d438af update reva 2020-12-03 16:00:56 +01:00
David Christofas 2f4faad754 add share prefix to ocs shared with me paths
Fixes: https://github.com/owncloud/product/issues/204
2020-12-03 16:00:22 +01:00
A.Unger be46bacc5b use make(map[string]string) 2020-12-03 13:23:14 +01:00
A.Unger 9a253370e8 export StatusRecorder 2020-12-03 12:22:35 +01:00
A.Unger c89ead3fc5 fix linter 2020-12-03 12:19:49 +01:00
A.Unger b9df6e417e use more inclusive language 2020-12-03 12:13:52 +01:00
A.Unger 8c83de7db2 document loadUserAgent 2020-12-03 12:03:59 +01:00
A.Unger ef4e573e42 split string by reversing it 2020-12-03 11:53:19 +01:00
A.Unger a9922343ef explain flags 2020-12-03 10:57:32 +01:00
A.Unger 0e322f518d Merge branch 'master' into ocis-1132 2020-12-02 16:03:34 +01:00
A.Unger e4974e020d minimal refactor 2020-12-02 15:51:39 +01:00
A.Unger 2910e88ba5 ugly working draft 2020-12-02 15:31:17 +01:00
A.Unger 752cd4f626 first draft for configuring user agent multiplex on ocis 2020-12-02 12:04:09 +01:00
Willy Kloucek 7f8afe67ab Merge pull request #960 from owncloud/work_on_docs
work on docs
2020-12-02 10:34:09 +01:00
A.Unger 28e8f75ebd whitelist depending on the URI 2020-12-01 17:10:04 +01:00