Commit Graph

114 Commits

Author SHA1 Message Date
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
e3bfb66df1 maintain envdecode inside ocis-pkg 2022-01-03 07:49:25 +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
d0030ab555 switch ocs to struct tag based env config 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
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
24347180fa use ocisConfig as struct tagname to bind config files to strucg attributes 2021-11-19 09:28:23 +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
26db9afb8a undo const... 2021-11-16 16:56:28 +01:00
A.Unger
4cecd9b5d2 addded web to the new inheritance strategy 2021-11-11 15:56:38 +01:00
A.Unger
51bee0e531 sort out flags precedence 2021-11-09 17:30:31 +01:00
A.Unger
c05c3db392 new config framework in web 2021-11-08 14:08:05 +01:00
A.Unger
185cee04e9 normalize web 2021-11-08 12:29:59 +01:00
A.Unger
3206b98359 attempt to fix flags 2021-11-05 16:20:00 +01:00
A.Unger
b94c0e683f fix yet more offenses 2021-11-05 14:26:02 +01:00
A.Unger
8202f7b2ad fix offenses 2021-11-05 14:23:12 +01:00
A.Unger
ad72f7574c migrate webdav to the new config scheme 2021-11-05 13:45:15 +01:00
A.Unger
ca997e5bfc migrate web to the new config scheme 2021-11-05 13:33:03 +01: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
David Christofas
9ecc065879 update CORS middleware and make it configurable 2021-10-22 13:27:31 +02:00
jkoberg
88664152e3 move embed logic to ocispkg 2021-10-18 13:01:17 +02:00
jkoberg
d2026a5d94 Merge branch 'master' into go-embed 2021-10-18 09:20:19 +02:00
Willy Kloucek
1494e69517 Merge pull request #2616 from owncloud/go-micro-v4
upgrade to go micro v4.1.0
2021-10-18 07:28:28 +02:00
jkoberg
a8f1d76cbe Merge branch 'master' into go-embed 2021-10-15 11:47:38 +02:00
Willy Kloucek
9f2831634d fix invalid json:"omit" added in owncloud/ocis#2437 2021-10-14 17:03:47 +02:00
Willy Kloucek
6d5a3733ff upgrade to go micro v4.1.0 2021-10-14 15:56:19 +02:00
Willy Kloucek
c60b76e1de Merge pull request #2612 from owncloud/dont-expose-services-by-default
don't expose services by default
2021-10-13 15:43:43 +02:00
Willy Kloucek
987261f646 Update web/pkg/flagset/flagset.go
Co-authored-by: Pascal Wengerter <pwengerter@owncloud.com>
2021-10-12 16:27:40 +02:00
Willy Kloucek
03e60fe63d split theme configuration flags 2021-10-12 16:27:39 +02:00
pwengerter
d17b13af2b Fix web theme paths in example configs & flagset default 2021-10-12 16:27:38 +02:00
Willy Kloucek
879827ca4b don't expose services by default 2021-10-12 14:00:33 +02:00
Benedikt Kulmann
de7e466445 Update web to v4.3.0 2021-10-07 18:08:59 +05:45
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
Alex Unger
0e5c231a36 Merge pull request #2543 from owncloud/update_tooling 2021-09-28 09:26:20 +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
c3e291931e regenerate assets 2021-09-25 14:45:01 +02:00
Willy Kloucek
09b4850965 fix #2493 2021-09-16 10:56:38 +02:00