Commit Graph

419 Commits

Author SHA1 Message Date
Juan Pablo Villafáñez cce51fdd61 Revert change to keep using api/v0 for accounts and settings 2022-01-31 09:35:39 +01:00
Juan Pablo Villafáñez 7557e4e0ea Migrate proto files for settings and adjusts paths 2022-01-31 09:35:39 +01:00
Juan Pablo Villafáñez 6c67ff765e Adjust import paths and service urls in index.js 2022-01-31 09:26:23 +01:00
David Christofas 0bfc1f08b7 implement graph endpoint to delete spaces 2022-01-20 11:34:15 +01:00
Willy Kloucek 6927cfd0dc remove unused templates 2022-01-13 11:32:32 +01:00
Willy Kloucek 6ef6d1117c fix condition for nil pointer in common config 2022-01-13 08:13:14 +01:00
Willy Kloucek 0a3adfe8e1 fix proxy test tracing setting 2022-01-13 08:13:14 +01:00
Willy Kloucek a3df3f9119 remove default tracing config from indiviual packages 2022-01-13 08:13:14 +01:00
Willy Kloucek 182712b223 fix tracing config 2022-01-13 08:13:14 +01:00
Willy Kloucek 62dbd893b7 switch to http.StatusOK instead of 200 2022-01-07 13:21:14 +01:00
Willy Kloucek d9744ebda7 improve command description 2022-01-07 13:19:39 +01:00
Willy Kloucek 11466c5f9a ensure, that each config is only parsed once 2022-01-03 19:08:11 +01:00
Willy Kloucek 3d4df5796a remove version from service config 2022-01-03 16:24:39 +01:00
Willy Kloucek 55bf175bea move config parsing in separate package for each service 2022-01-03 15:21:56 +01:00
Willy Kloucek e0656daaa0 simplify commands and version handling 2022-01-03 13:53:27 +01:00
Willy Kloucek eee0d0c4c8 remove build flags, add debug server to accounts 2022-01-03 11:11:15 +01:00
Willy Kloucek 6d0b754a86 improve envdecode error handling 2022-01-03 09:47:52 +01:00
Willy Kloucek 7ffe93ba3b remove supervised flag from configs 2022-01-03 08:22:44 +01:00
Willy Kloucek c9ee77955d expose proxy debug port only on localhost 2022-01-03 08:15:46 +01:00
Willy Kloucek e3bfb66df1 maintain envdecode inside ocis-pkg 2022-01-03 07:49:25 +01:00
Willy Kloucek d5504093e8 fix some TODOs 2022-01-03 07:49:24 +01:00
Willy Kloucek d5e8ac0771 fix unit tests 2022-01-03 07:49:24 +01:00
Willy Kloucek 2bcd4f5a17 directly pass env to config 2022-01-03 07:49:24 +01:00
Willy Kloucek 7abcf96ea8 revert storage, remove tracing.service and bring back common 2022-01-03 07:49:24 +01:00
Willy Kloucek 9aae5392fc split **/pkg/config/config.go up to multiple files 2022-01-03 07:49:24 +01:00
Willy Kloucek ee57288309 switch all other services to struct tag based env config 2022-01-03 07:49:24 +01:00
Willy Kloucek 4067ae9493 switch glauth to struct tag based env config 2022-01-03 07:49:23 +01:00
Willy Kloucek f7b949a445 remove service names 2022-01-03 07:49:23 +01:00
Willy Kloucek 6206fe2398 add missing commands and unify service / namespace options 2022-01-03 07:49:23 +01:00
David Christofas a85644cddd enable signature auth in public share auth middleware 2021-12-09 17:47:36 +01:00
A.Unger e3e3d1ee57 runtime: removed trap goroutine and let the context cancelation do the thing 2021-12-06 12:11:48 +01:00
Alex Unger a73fd54b85 Merge pull request #2779 from owncloud/claim-selector-basic-auth 2021-12-06 11:01:09 +01:00
Ralf Haferkamp c35a0f7553 OIDC: fallback to "email" if IDP doesn't provide "preferred_username" claim
Some IDPs (e.g. Authelia) don't add the "preferred_username" claim.
Fallback to the "email" claim in that case.

Fixes: #2644
2021-11-30 17:53:44 +01:00
Willy Kloucek d85def9b88 check cookie for before we fall back to the default policy 2021-11-29 09:51:39 +01:00
Willy Kloucek 62ff1f1659 don't run go generate anymore 2021-11-24 13:38:29 +01:00
A.Unger 24347180fa use ocisConfig as struct tagname to bind config files to strucg attributes 2021-11-19 09:28:23 +01:00
A.Unger c427e623ef need to populate policies in the tests 2021-11-18 11:53:04 +01:00
A.Unger c22d3fc24d prevent gookit/config to merge proxy values with default values 2021-11-18 11:44:08 +01:00
A.Unger a34f5b6434 Revert "refactor config values to constants"
This reverts commit f53504158b.
2021-11-17 13:56:14 +01:00
A.Unger f53504158b refactor config values to constants 2021-11-17 13:43:23 +01:00
A.Unger ff611633f5 Revert "fixed code smells: string literal repetition + cyclomatic complexity"
This reverts commit aa4112e2e2.
2021-11-17 13:19:31 +01:00
A.Unger aa4112e2e2 fixed code smells: string literal repetition + cyclomatic complexity 2021-11-17 12:25:21 +01:00
A.Unger f87b5bd66c removed all flagset packages 2021-11-17 11:36:28 +01:00
A.Unger 8c307ef2bf add missing OCIS_INSECURE binding on PROXY_OIDC_INSECURE 2021-11-16 13:43:54 +01:00
A.Unger 2aa9c2457e Merge branch 'master' into try-gookikt-config 2021-11-16 13:29:07 +01:00
Willy Kloucek 74e7344221 prevent multiple yarn builds of accounts and settings when running make ci-node-generate int the repo root 2021-11-16 10:01:12 +01:00
A.Unger d23ab5a01a Merge branch 'master' into try-gookikt-config 2021-11-15 19:38:05 +01:00
Willy Kloucek 62704ceb2e fix double "the" 2021-11-15 13:24:26 +01:00
Willy Kloucek 7dca7b4fae set only user oidc claim only if cs3 claim is userid 2021-11-15 10:31:07 +01:00
A.Unger 2b0f414b46 Revert "fix code smells"
This reverts commit a22342ea28.
2021-11-15 10:16:20 +01:00