Commit Graph

347 Commits

Author SHA1 Message Date
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
418cc97fb9 update proxy bindings 2021-11-03 16:32:11 +01:00
A.Unger
572e238dcd infere go type from destination 2021-11-03 16:01:45 +01:00
A.Unger
7ac71b65f6 backwards compatibility with urfave/cli 2021-11-03 14:56:31 +01:00
A.Unger
90844c5c84 first draft of config loading exclusively using env vars 2021-11-03 14:46:38 +01:00
A.Unger
ac373dd004 add mode mappings to proxy config struct 2021-11-03 11:49:40 +01:00
A.Unger
850fe65f4b comments for mappings 2021-11-03 11:39:23 +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
Willy Kloucek
d6040ce76c fix ipv6 error with go-micro update 2021-10-28 12:29:50 +02:00
Willy Kloucek
29341a7f94 split spaces webdav url and graph url configuration in base and path parts 2021-10-21 14:30:18 +02:00
Florian Schade
b416763599 fix(public-share): basic auth password prefix
fix wrong basic auth password prefix
2021-10-20 14:34:11 +02:00
Willy Kloucek
cddb334f80 change default paths for oCIS services 2021-10-19 14:37:20 +02:00
Florian Schade
03de49e59b remove dev leftover 2021-10-18 15:48:09 +02:00
Florian Schade
0c66bdd6ad feat(public-token): get public-token from query string
retrieving public-token also from the query-string
2021-10-18 14:55:55 +02:00
Ishank Arora
26ec5f0a40 Use machine auth when using cs3 backend in proxy service 2021-10-18 09:54:22 +02:00
Ishank Arora
518e8747b2 Add config to skip encoding user groups in reva tokens 2021-10-18 09:54:22 +02:00
Willy Kloucek
669175b062 Merge pull request #2624 from owncloud/configuration_streamlining
[deployment-examples] streamline configuration
2021-10-18 09:48:43 +02:00
Willy Kloucek
8fdf8e340b Merge pull request #2536 from owncloud/public-share-auth-middleware
add public share auth middleware
2021-10-18 07:54:11 +02:00
David Christofas
fb0380820c enable archiver for public shares 2021-10-15 17:45:06 +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
de3fefd4dd streamline configuration 2021-10-14 16:10:43 +02:00
Willy Kloucek
6d5a3733ff upgrade to go micro v4.1.0 2021-10-14 15:56:19 +02:00
Willy Kloucek
879827ca4b don't expose services by default 2021-10-12 14:00:33 +02:00
jkoberg
3a7b7c932c rename envvar to REVA_GATEWAY 2021-10-07 15:16:19 +02:00
jkoberg
31f1301c9e unify all envvars, cli parameters and descriptions 2021-10-07 12:32:57 +02:00
jkoberg
8bb74dbc6f add common EnvVar for Reva Gateway 2021-10-06 17:35:12 +02:00
Willy Kloucek
b0ca1236fd Merge pull request #2576 from owncloud/remove_proxy_assets
remove proxy asset path configuration
2021-10-05 19:07:01 +02:00
A.Unger
887ac0901f remove LICENSE file from subdirs 2021-10-05 16:41:36 +02:00
Willy Kloucek
54d0a241ae remove assets from test 2021-10-05 16:41:28 +02:00
Willy Kloucek
1b9ec56af4 remove proxy asset path configuration 2021-10-05 14:10:41 +02:00
Willy Kloucek
68ba24ff73 fix extensions versions 2021-10-05 12:39:31 +02:00
Alex Unger
d3377783a6 Merge pull request #2417 from owncloud/update-bridge-docs
Update bridge docs
2021-09-29 13:19:50 +02:00
A.Unger
6166bb5a4c Merge branch 'master' into update-bridge-docs 2021-09-29 12:09:29 +02:00
David Christofas
04a8ef7c35 fix the account resolver middleware 2021-09-29 10:19:12 +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
Willy Kloucek
c5a74949b1 Merge pull request #2509 from owncloud/expose_reva_archiver
Expose configuration for the reva archiver
2021-09-23 10:37:44 +02:00
Ishank Arora
c0d029dee3 Mint token after roles injection 2021-09-22 15:41:21 +02:00
Willy Kloucek
889b30cd18 make archiver routes match also "/archiver" instead of "/archiver/" only 2021-09-22 13:53:27 +02:00
Ishank Arora
fcd861f38f Add machine auth API key to ocs service 2021-09-21 17:49:15 +02:00
Ishank Arora
08c51ee8c8 Use reva's Authenticate method instead of spawning token managers 2021-09-21 15:50:19 +02:00
Josh Soref
55667a3ab3 spelling
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-09-20 16:54:29 +05:45
Juan Pablo Villafáñez
c1dd0ea66e Add default route to the archiver 2021-09-16 12:48:07 +02:00