Commit Graph

115 Commits

Author SHA1 Message Date
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
A.Unger
348c54f2e7 write www-authenticate and delegate to reva 2020-12-01 16:57:36 +01:00
A.Unger
5cb359d877 WIP 2020-11-30 17:19:03 +01:00
Benedikt Kulmann
df414f639d Merge remote-tracking branch 'origin/master' into onlyoffice-ext 2020-11-30 16:49:22 +01:00
Willy Kloucek
34845f9414 work on docs 2020-11-30 16:31:38 +01:00
Benedikt Kulmann
040c24606f Update reva to ac85e68 2020-11-30 07:37:31 +01:00
A.Unger
ca98d8287c update reva to v1.4.1-0.20201127111856-e6a6212c1b7b 2020-11-27 12:36:19 +01:00
Jörn Friedrich Dreyer
dbb52f29ad Merge pull request #958 from owncloud/basic-auth-cache
implement basic auth cache
2020-11-26 17:33:47 +01:00
Florian Schade
cb2e2a3896 add changelog
remove unused mux
cleanup k6 test
2020-11-26 14:46:44 +01:00
Florian Schade
11ba46eb88 remove accounts cache from basic auth middleware
move cache to ocis-pkg
add password validation cache to accounts service
2020-11-26 13:52:24 +01:00
Benedikt Kulmann
c5a75291f9 Merge pull request #957 from owncloud/reva-update-2020-11-26
Update reva to v1.4.1-0.20201125144025-57da0c27434c
2020-11-26 11:55:05 +01:00
Lukas Hirt
68b74d11da Create onlyoffice extension 2020-11-26 11:05:10 +01:00
Florian Schade
e334759874 implement basic auth cache 2020-11-26 10:33:46 +01:00
A.Unger
5ef4025c29 update reva to v1.4.1-0.20201125144025-57da0c27434c 2020-11-26 10:23:29 +01:00
Florian Schade
ab85245093 fix oidc middleware provider lazy initialization 2020-11-25 22:50:11 +01:00
Alex Unger
c742389ebb Update reva to v1.4.1-0.20201125144025-57da0c27434c (#951)
* update ocis-reva

* add changelog

* remove passing scenario
2020-11-25 21:13:36 +01:00
Benedikt Kulmann
ffa21a3165 Update reva to v1.4.1-0.20201123062044-b2c4af4e897d 2020-11-23 12:56:18 +01:00
David Christofas
e5369a4470 update reva to v1.4.1-0.20201120104232-f5afafc04c3b 2020-11-23 12:56:18 +01:00
Benedikt Kulmann
bc6227e8fd Fix test 2020-11-21 07:58:19 +01:00
Benedikt Kulmann
edc252e1a0 Add option to disable signing keys in the proxy 2020-11-20 16:04:22 +01:00
Felix Böhm
0ea04c02f9 Merge pull request #874 from owncloud/improve_docs
[docs-only] improve docs
2020-11-19 14:27:05 +01:00
Ilja Neumann
c2aa4b02de Add access-log 2020-11-19 09:05:24 +05:45
David Christofas
2f69265a66 add permission check to role management 2020-11-18 16:30:51 +01:00