Commit Graph

161 Commits

Author SHA1 Message Date
A.Unger
ad994ded16 more refactoring 2021-08-09 18:15:34 +02:00
A.Unger
b13863b717 refactor traceprovider initialization 2021-08-09 18:03:01 +02:00
A.Unger
fe530e9a27 prevent having a nil traceprovider 2021-08-09 17:14:36 +02:00
A.Unger
500a77f005 Merge branch 'master' into remake-traces 2021-08-09 15:52:19 +02:00
A.Unger
2bdd07e41b add test spans 2021-08-06 15:47:46 +02:00
Ishank Arora
10b9fee60e Specify primary user type for all accounts 2021-08-06 14:16:34 +02:00
A.Unger
8301a7e7a3 propagate trace from ocs to proxy 2021-08-06 13:46:54 +02:00
A.Unger
9f96321c1c add tracing middleware to proxy middleware chain 2021-08-06 13:32:25 +02:00
A.Unger
9f50776b17 enable traces in proxy 2021-08-06 13:29:40 +02:00
A.Unger
93f13388dd add OCIS_TRACING_* flags to all extensions 2021-08-06 11:51:36 +02:00
Jörn Friedrich Dreyer
c3951d67c8 forward basic auth to OpenID connect token authentication endpoint
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-26 11:12:33 +00:00
Jörn Friedrich Dreyer
07bb4a179e clarify cs3 claims
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 09:42:40 +00:00
Jörn Friedrich Dreyer
bea986fe26 pass only request instead of context
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 09:03:14 +00:00
Willy Kloucek
a0dce56480 use cookie to enforce routing for regex and claim selector 2021-07-23 08:38:55 +00:00
Jörn Friedrich Dreyer
cb70f4882f add todo for x-access-header handling
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:33:18 +00:00
Jörn Friedrich Dreyer
5c024b4543 use context from middleware in proxy
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:31:10 +00:00
Jörn Friedrich Dreyer
2583c6a1a7 remove comma
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:31:10 +00:00
Jörn Friedrich Dreyer
b0c742cb2f fix docs typo
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:31:10 +00:00
Jörn Friedrich Dreyer
b540ccdf10 add regex rule priority, drop request from selector signature, add unit tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:31:10 +00:00
Jörn Friedrich Dreyer
4385d3dacb add RegexSelector
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:22:40 +00:00
Jörn Friedrich Dreyer
40c8031441 add claims policy selector
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:07:17 +00:00
Jörn Friedrich Dreyer
2293403d45 use errors.Is()
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-22 16:35:31 +00:00
Jörn Friedrich Dreyer
1f3e963c29 use claims map instead of struct
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-22 09:20:36 +00:00
Jörn Friedrich Dreyer
b148faada6 Merge pull request #2294 from owncloud/fix-trashbin-expected-failures
Fix Trashbin Expected Failures
2021-07-21 20:59:43 +02:00
A.Unger
74696dbd36 remove redundant line 2021-07-19 13:29:12 +02:00
A.Unger
ebb67470dc ignore error explicitly 2021-07-19 11:15:37 +02:00
Jörn Friedrich Dreyer
8c7f1f01ff do not try to add the selected policy to the context
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-14 20:45:38 +00:00
Jörn Friedrich Dreyer
1dc7aac6fd proxy access log
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-14 13:14:27 +00:00
A.Unger
7ab586b2ab proxy is now aware of webdav responses 2021-07-13 15:38:44 +02:00
A.Unger
bfdcc0180c fix 230, 231 - first draft 2021-07-13 14:33:24 +02:00
A.Unger
ac49348b41 fix 215, 216 - first draft 2021-07-13 14:29:26 +02:00
Ishank Arora
29c5cb627a Update scope usage and add Changes for lightweight accounts 2021-07-13 13:03:06 +02:00
A.Unger
cb2323e9d6 Merge branch 'master' into no-additional-init 2021-07-02 13:25:30 +02:00
A.Unger
2e28582c1b cherrypick extensions to start v1 2021-06-29 15:28:19 +02:00
Michael Barz
34e0877df7 Merge pull request #1951 from ishank011/uid-gid-user-object
Use CS3 user object fields to store UID and GID
2021-06-25 10:06:14 +02:00
Ishank Arora
6168ee7095 Use CS3 user object fields to store UID and GID 2021-06-16 18:05:40 +02:00
Willy Kloucek
ed94da5104 ignore authentication header on status.php 2021-06-16 16:59:11 +02:00
A.Unger
83f628052d add new os pkg on ocis-pkg 2021-06-08 13:08:32 +02:00
A.Unger
fb31bf4427 namespace user config dir with ocis 2021-06-08 10:45:10 +02:00
A.Unger
5518c6cf1c add tests for crypto.GenCert 2021-06-08 10:37:26 +02:00
A.Unger
3101c292bb move crypto over to ocis-pkg 2021-06-07 17:11:29 +02:00
A.Unger
150e5f4c01 use os.UserConfigDir 2021-06-07 15:44:45 +02:00
A.Unger
2508ce0ef7 use user system config to store tls artifacts 2021-06-07 15:00:52 +02:00
David Christofas
f6ac50244b update invocations of MintToken and DismantleToken 2021-05-11 14:18:43 +02:00
Willy Kloucek
771f85ce2b remove ocis-hello references 2021-04-19 13:05:41 +02:00
Ishank Arora
7ca9e12116 Public share SQL driver config 2021-04-14 12:48:35 +02:00
Ishank Arora
1b0b14512c Read UID and GID from the opaque object for CS3 proxy backend 2021-04-13 11:52:22 +02:00
A.Unger
f23cf92153 interpret user from the IDP 2021-04-13 10:48:06 +02:00
A.Unger
ed99fb8292 assign user role if user exists but there are no role assignments 2021-04-09 14:15:47 +02:00
A.Unger
02bfa9509b refactor proxy tracing config 2021-03-18 12:25:23 +01:00