Commit Graph

405 Commits

Author SHA1 Message Date
Willy Kloucek
23e7a8ffab simplify commands and version handling 2022-01-07 16:11:50 +00:00
Willy Kloucek
5b70d46213 remove build flags, add debug server to accounts 2022-01-07 16:08:14 +00:00
Willy Kloucek
6a03c4acba improve envdecode error handling 2022-01-07 16:08:14 +00:00
Willy Kloucek
a839288212 remove supervised flag from configs 2022-01-07 16:08:14 +00:00
Willy Kloucek
6dc2d4d74c expose proxy debug port only on localhost 2022-01-07 16:08:14 +00:00
Willy Kloucek
5034e399bb maintain envdecode inside ocis-pkg 2022-01-07 16:08:14 +00:00
Willy Kloucek
41403d7952 fix some TODOs 2022-01-07 16:07:34 +00:00
Willy Kloucek
61ff46b29c fix unit tests 2022-01-07 16:07:01 +00:00
Willy Kloucek
e006ad6e40 directly pass env to config 2022-01-07 16:07:01 +00:00
Willy Kloucek
3c3fc2e098 revert storage, remove tracing.service and bring back common 2022-01-07 16:06:56 +00:00
Willy Kloucek
a13df3dcf7 split **/pkg/config/config.go up to multiple files 2022-01-07 16:04:52 +00:00
Willy Kloucek
6990e7d660 switch all other services to struct tag based env config 2022-01-07 15:47:47 +00:00
Willy Kloucek
788a390016 switch glauth to struct tag based env config 2022-01-07 15:39:01 +00:00
Willy Kloucek
ebfe8f069c remove service names 2022-01-07 15:39:01 +00:00
Willy Kloucek
3b5a33590e add missing commands and unify service / namespace options 2022-01-07 15:38:56 +00: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
A.Unger
a22342ea28 fix code smells 2021-11-15 10:03:42 +01:00
A.Unger
e8559d17aa fix proxy integration tests 2021-11-11 14:00:42 +01:00
A.Unger
6391d94516 glauth 2021-11-11 13:14:19 +01:00
A.Unger
aa67106e04 sane common configurations 2021-11-11 12:51:57 +01:00
Willy Kloucek
d05df2f85e fix basic auth with custom user claim 2021-11-11 11:43:10 +01:00
David Christofas
cd99845557 Merge pull request #2745 from owncloud/insecure-options
make all insecure options configurable and change the default to false
2021-11-10 17:49:15 +01:00
Willy Kloucek
6590565a2f introduce OCIS_INSECURE option 2021-11-10 16:55:12 +01:00
Willy Kloucek
e35d4fd0ac remove GRPC insecure config options, since it always needs to be set to insecure 2021-11-10 16:12:29 +01:00
Willy Kloucek
69cc11dbe6 make more insecure options configurable and change insecure defaults from true to false 2021-11-10 15:45:55 +01:00
A.Unger
04d8ec86ab Merge branch 'master' into try-gookikt-config 2021-11-10 14:31:38 +01:00
A.Unger
b961817519 fix proxy default config 2021-11-09 20:40:35 +01:00
A.Unger
51bee0e531 sort out flags precedence 2021-11-09 17:30:31 +01:00
Willy Kloucek
5b6bae0349 add archiver and app provider route to all deployment examples 2021-11-09 16:58:16 +01:00
Willy Kloucek
16bb92f89c fix hello deployment 2021-11-09 15:22:26 +01:00