Commit Graph

135 Commits

Author SHA1 Message Date
Ralf Haferkamp
dc6a4fdc02 Unify LDAP config settings accross services
This adapts the storage service to the recent changes of the LDAP
settings in reva.

Also we define a new set of LDAP env variables that can be shared
between all LDAP related ocis services (graph, idp, storage-auth-basic,
storage-userprovider, storage-groupprovider, idm). This should simplify
the most LDAP based configurations considerably.
2022-04-11 18:17:21 +02:00
Christian Richter
42a4e017c8 Add reference implementation for health & readiness endpoint in IDP
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-11 16:09:09 +02:00
Willy Kloucek
e224ce03cf use yaml tag instead of ocisConfig 2022-03-29 15:06:58 +02:00
David Christofas
e0a35d37c3 Merge pull request #3329 from owncloud/password-reset-link
add password reset link to login page
2022-03-18 09:09:06 +01:00
David Christofas
661baaab67 add password reset link to login page 2022-03-16 15:50:45 +01:00
Ralf Haferkamp
100fb99d1a Bump lico to v0.54.0 2022-03-15 17:16:30 +01:00
Willy Kloucek
9a4737d3ed exclude config items not inteded to be used from un/marshalling 2022-03-11 12:12:44 +01:00
Christian Richter
9734b000b3 Add defaultconfig to extensions 2022-03-10 14:12:26 +01:00
Willy Kloucek
f2e8c90067 proof of concept 2022-03-10 14:11:44 +01:00
Ralf Haferkamp
a3aad659f8 Move logrus wrapper to ocis-pkg
To make it more widely usable
2022-02-25 08:58:38 +01:00
Willy Kloucek
6ef6d1117c fix condition for nil pointer in common config 2022-01-13 08:13:14 +01:00
Willy Kloucek
a3df3f9119 remove default tracing config from indiviual packages 2022-01-13 08:13:14 +01:00
Willy Kloucek
182712b223 fix tracing config 2022-01-13 08:13:14 +01:00
Willy Kloucek
62dbd893b7 switch to http.StatusOK instead of 200 2022-01-07 13:21:14 +01: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
3d4df5796a remove version from service config 2022-01-03 16:24:39 +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
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
d5504093e8 fix some TODOs 2022-01-03 07:49:24 +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
d0030ab555 switch ocs to struct tag based env config 2022-01-03 07:49:23 +01:00
Willy Kloucek
f7b949a445 remove service names 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
f87b5bd66c removed all flagset packages 2021-11-17 11:36:28 +01:00
A.Unger
48eab0ccc7 add idp common options 2021-11-11 14:03:56 +01:00
A.Unger
51bee0e531 sort out flags precedence 2021-11-09 17:30:31 +01:00
A.Unger
51dc1715ce new config framework in ocs 2021-11-08 13:58:13 +01:00
A.Unger
261a800b6b new config framework in idp 2021-11-08 13:53:24 +01:00
A.Unger
a515a97c8f normalize idp 2021-11-08 12:17:23 +01:00
A.Unger
ba1635165b migrate idp to the new config scheme 2021-11-05 11:15:55 +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
Ralf Haferkamp
0e1355a038 Bump lico to v0.51.1
This update includes:
 * Apply LibreGraph naming treewide
 * move to go1.17
 * Update 3rd party Go dependencies
2021-10-25 17:12:30 +02:00
Ralf Haferkamp
9e8231ab01 idp: Create parent directories if they don't exist
The parent directories of the identifier-registration.yaml config file might
not exist when starting idp. So instead of creating just the top most
directory use MkdirAll to also create the parents.
2021-10-22 16:35:59 +02:00
David Christofas
9ecc065879 update CORS middleware and make it configurable 2021-10-22 13:27:31 +02:00
Willy Kloucek
77b769457a Merge pull request #2648 from owncloud/fix_identifier_registration_yaml_creation
fix identifier-registration.yaml creation
2021-10-20 12:41:36 +02:00
Willy Kloucek
562c376c68 fix identifier-registration.yaml creation 2021-10-20 11:35:05 +02:00
kobergj
d019a005c9 Merge pull request #2631 from kobergj/go-embed
Go embed
2021-10-20 11:31:31 +02:00
Willy Kloucek
cddb334f80 change default paths for oCIS services 2021-10-19 14:37:20 +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