Commit Graph

53 Commits

Author SHA1 Message Date
Willy Kloucek 6ef6d1117c fix condition for nil pointer in common config 2022-01-13 08:13:14 +01:00
Willy Kloucek 55bf175bea move config parsing in separate package for each service 2022-01-03 15:21:56 +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 ea5dd75605 satisfy linters 2022-01-03 08:55:22 +01:00
Willy Kloucek e3bfb66df1 maintain envdecode inside ocis-pkg 2022-01-03 07:49:25 +01:00
Willy Kloucek fe1672a000 migrate ocis-pkg to envdecode 2022-01-03 07:49:25 +01:00
Willy Kloucek 7abcf96ea8 revert storage, remove tracing.service and bring back common 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 6bf467127b switch accounts to struct tag based env config 2022-01-03 07:49:23 +01:00
A.Unger 02b5a9d223 deleted http, grpc and debug from ocis-pkg/config/config.go 2021-11-24 11:44:32 +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 c22d3fc24d prevent gookit/config to merge proxy values with default values 2021-11-18 11:44:08 +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 cfbe37de61 WIP - replace flags in storage commands 2021-11-15 16:58:22 +01:00
A.Unger aa67106e04 sane common configurations 2021-11-11 12:51:57 +01:00
Willy Kloucek 16bb92f89c fix hello deployment 2021-11-09 15:22:26 +01:00
A.Unger ee03185b22 add support for json driver 2021-11-09 14:19:28 +01:00
A.Unger 2c49ee6ab9 first doc draft + glauth logging small refactor 2021-11-09 00:50:27 +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 6f27c1a100 refactor env unbinding to ocis-pkg 2021-11-07 20:52:36 +01:00
A.Unger b94c0e683f fix yet more offenses 2021-11-05 14:26:02 +01:00
A.Unger 99f28e601c migrate store to the new config scheme 2021-11-05 14:10:25 +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 b44ebce526 continue thumbnails migration 2021-11-05 12:49:52 +01:00
A.Unger 17dbc3d5ee migrate settings to the new config scheme 2021-11-05 12:25:32 +01:00
A.Unger ff7022a256 migrate ocs to the new config scheme 2021-11-05 12:06:35 +01:00
A.Unger 91c766210c migrate graph-explorer to the new config scheme 2021-11-05 11:31:35 +01:00
A.Unger ba1635165b migrate idp to the new config scheme 2021-11-05 11:15:55 +01:00
A.Unger da36ca8cde adjust flagsets 2021-11-04 15:56:01 +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 09195ffc8c use reflection to set config values from environment 2021-11-03 11:34:56 +01:00
A.Unger 24b3363310 rename _fs -> dirFS 2021-11-02 14:50:31 +01:00
A.Unger ab1703c2e8 refactor around config parsing 2021-11-02 14:20:07 +01:00
A.Unger 7ca93450a2 adjust accounts flagset, replace new with defaultconfig 2021-11-02 11:29:52 +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
A.Unger 34253fcae2 remove flagset on proxy, use default config values 2021-10-29 11:51:08 +02:00
Willy Kloucek 24fb595424 fix code smells 2021-10-19 18:11:16 +02:00
Willy Kloucek cddb334f80 change default paths for oCIS services 2021-10-19 14:37:20 +02:00
pwengerter a24fe109cc Remove onlyoffice extension 2021-08-24 14:15:20 +01:00
A.Unger 2e28582c1b cherrypick extensions to start v1 2021-06-29 15:28:19 +02:00
A.Unger 60280a3f28 refactor and cleanup a bit 2021-04-20 14:55:48 +02:00
A.Unger 385d6ecc48 make runtime port and host configurable 2021-03-18 15:23:36 +01:00
A.Unger abd18e3101 Merge branch 'master' into file-logging-ocis-1666 2021-03-17 15:28:16 +01:00
A.Unger 8a3e280d83 initial support for file logging 2021-03-17 15:26:43 +01:00