Commit Graph

39 Commits

Author SHA1 Message Date
Willy Kloucek
9f2be9f4f9 remove Log prefix from configlog functions 2022-08-22 08:08:18 +02:00
Willy Kloucek
e58eaabdeb move config parse error logging into function to ensure new lines and don't parse config for help 2022-08-18 15:27:28 +02:00
Christian Richter
3b87f75132 further refactoring & add changelog
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-06-27 14:07:02 +02:00
Christian Richter
f8f1320501 refactor extensions -> services
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-06-27 14:05:36 +02:00
Willy Kloucek
27b2fbe7e0 fix configuration validation for extensions' server commands 2022-06-02 09:57:45 +02:00
Willy Kloucek
44c909b31d unify ocis subcommands 2022-05-16 07:59:18 +02:00
Christian Richter
87b7a102ba remove returns from the commands to prevent silent crash
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-05-11 14:58:52 +02:00
Michael Barz
189987bcbd Bump major version to v2 2022-05-04 14:49:59 +02:00
Willy Kloucek
18e9661a24 fix ocis config parsing for subcommands 2022-05-02 13:13:29 +02:00
Willy Kloucek
83b94cf82d log parsing errors to stdout 2022-04-28 15:52:26 +02:00
Christian Richter
92d76e00ab refactor proxy
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-13 17:04:37 +02: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
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
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
A.Unger
8797cf3b5a Revert "removed redundant ocis config parsing"
This reverts commit c700ccab1f.
2021-11-22 22:27:29 +01:00
A.Unger
c700ccab1f removed redundant ocis config parsing 2021-11-22 22:11:06 +01:00
A.Unger
aa67106e04 sane common configurations 2021-11-11 12:51:57 +01:00
A.Unger
3d90b21e3b new config framework in glauth 2021-11-08 13:48:07 +01:00
A.Unger
bff4ec48b0 new config framework in accounts 2021-11-08 13:41:59 +01:00
A.Unger
2dd9a7b14c new config framework in proxy 2021-11-08 13:32:58 +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
e858fa0188 define ocis_url as a shared option in ocis-pkg/config 2021-11-04 12:58:18 +01:00
A.Unger
34253fcae2 remove flagset on proxy, use default config values 2021-10-29 11:51:08 +02:00
Willy Kloucek
68ba24ff73 fix extensions versions 2021-10-05 12:39:31 +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
A.Unger
c1f489a258 update config parsing for accounts and proxy 2021-03-12 13:47:52 +01:00
A.Unger
29910838c1 rework config 2021-03-09 15:55:45 +01:00
Jörn Friedrich Dreyer
36d86aa87e extract handleOriginalAction and check if Before() exists before calling it
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-12-23 11:59:29 +00:00
Jörn Friedrich Dreyer
63ae28fff1 align commands to always execute the original Before()
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-12-23 10:52:22 +00:00
Benedikt Kulmann
4059b8e0a0 Fix service name tracing config 2020-11-11 21:08:46 +01:00
Benedikt Kulmann
15df700b27 Move default configs to root level 2020-11-11 17:12:14 +01:00
Michael Barz
93138c81ed Rename ocis single binary commands and flagset 2020-10-06 13:41:34 +02:00
David Christofas
0578092c6f add version command and add build information to metrics
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-09-25 13:31:14 +02:00
A.Unger
1517eb9436 add ocis subcommand 2020-09-18 13:15:21 +02:00