Commit Graph

99 Commits

Author SHA1 Message Date
Willy Kloucek
6de48a8cd4 switch to http.StatusOK instead of 200 2022-01-07 19:19:19 +00:00
Willy Kloucek
1e38150276 improve command description 2022-01-07 19:19:16 +00:00
Willy Kloucek
1dc63cbce1 ensure, that each config is only parsed once 2022-01-07 16:12:01 +00:00
Willy Kloucek
adc7b3b3d2 remove version from service config 2022-01-07 16:12:01 +00:00
Willy Kloucek
b9f2b6b91e move config parsing in separate package for each service 2022-01-07 16:12:01 +00:00
Willy Kloucek
23e7a8ffab simplify commands and version handling 2022-01-07 16:11:50 +00:00
Willy Kloucek
6a03c4acba improve envdecode error handling 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
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
6990e7d660 switch all other services to struct tag based env config 2022-01-07 15:47:47 +00:00
Willy Kloucek
3b5a33590e add missing commands and unify service / namespace options 2022-01-07 15:38:56 +00:00
A.Unger
e3e3d1ee57 runtime: removed trap goroutine and let the context cancelation do the thing 2021-12-06 12:11:48 +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
f87b5bd66c removed all flagset packages 2021-11-17 11:36:28 +01:00
A.Unger
d23ab5a01a Merge branch 'master' into try-gookikt-config 2021-11-15 19:38:05 +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
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
A.Unger
2dd9a7b14c new config framework in proxy 2021-11-08 13:32:58 +01:00
A.Unger
e8b9186ba3 normalize glauth 2021-11-08 12:01:08 +01:00
A.Unger
0e9b6d8c52 fix log inheritance 2021-11-08 11:35:41 +01:00
A.Unger
74dae6dad9 add ocis-pkg/config default config + fix logging inheritance 2021-11-08 11:14:26 +01:00
A.Unger
6f27c1a100 refactor env unbinding to ocis-pkg 2021-11-07 20:52:36 +01:00
A.Unger
e858fa0188 define ocis_url as a shared option in ocis-pkg/config 2021-11-04 12:58:18 +01:00
A.Unger
4194da4e88 add ocis.yaml 2021-11-04 10:53:40 +01:00
A.Unger
90844c5c84 first draft of config loading exclusively using env vars 2021-11-03 14:46:38 +01:00
A.Unger
09195ffc8c use reflection to set config values from environment 2021-11-03 11:34:56 +01:00
A.Unger
ab1703c2e8 refactor around config parsing 2021-11-02 14:20:07 +01:00
A.Unger
7df000d06f parse config regardless of supervised / unsupervised 2021-10-31 00:30:48 +02:00
A.Unger
711acbb354 inherit logging config from ocis.yaml, let extensions overwrite their logging. Considering using a package level global logging... 2021-10-31 00:08:46 +02:00
A.Unger
998df71ae3 poors man struct inheritance and perpetuity 2021-10-29 23:41:41 +02:00
A.Unger
94aeefb7fd first examples of config parsing 2021-10-29 16:15:35 +02:00
A.Unger
34253fcae2 remove flagset on proxy, use default config values 2021-10-29 11:51:08 +02:00
David Christofas
c88824e7a0 run the public share auth middleware after the create home middleware
The x-access-token for public shares is scoped for only the share. That means create home would fail because the token is not valid.
2021-10-15 16:48:47 +02:00
David Christofas
5713fe81a4 add public share auth middleware 2021-10-15 16:48:43 +02:00
Willy Kloucek
68ba24ff73 fix extensions versions 2021-10-05 12:39:31 +02:00
A.Unger
6166bb5a4c Merge branch 'master' into update-bridge-docs 2021-09-29 12:09:29 +02:00
Willy Kloucek
7b30571aff switch from micro/cli/v2 to urfave/cli/v2, like https://github.com/asim/go-micro/pull/2224 2021-09-27 12:02:55 +02:00
Ishank Arora
c0d029dee3 Mint token after roles injection 2021-09-22 15:41:21 +02:00
Ishank Arora
08c51ee8c8 Use reva's Authenticate method instead of spawning token managers 2021-09-21 15:50:19 +02:00
Ralf Haferkamp
3a42fdc578 Move to go-chi/chi v5 2021-08-24 17:48:37 +02:00
Jörn Friedrich Dreyer
5554c72d9a gotta run
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-08-18 17:22:52 +02:00
A.Unger
aac45a46f4 Merge branch 'master' into remake-traces 2021-08-17 13:29:05 +02:00
David Christofas
ed85fedf1a update github.com/coreos/go-oidc to version 3.0.0 2021-08-13 09:55:17 +02:00
A.Unger
e62a9b6a36 Merge branch 'master' into remake-traces 2021-08-13 09:43:31 +02:00
David Christofas
3bc60510ce use go-chi middlewares
go-chi already delivers the middlewares we need so we don't need to import other libraries for that.
2021-08-12 17:14:41 +02:00
A.Unger
b13863b717 refactor traceprovider initialization 2021-08-09 18:03:01 +02:00
A.Unger
2bdd07e41b add test spans 2021-08-06 15:47:46 +02:00