Commit Graph

435 Commits

Author SHA1 Message Date
Willy Kloucek
e224ce03cf use yaml tag instead of ocisConfig 2022-03-29 15:06:58 +02:00
jkoberg
d54f75df8b don't store service user data in metadataservice
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-03-15 12:11:52 +01:00
jkoberg
b7c934b1b1 use service user / hardcode idp
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-03-15 10:37:34 +01:00
André Duffeck
edf845225a Only add the service user to the index once (lazily)
Adding and removing it again with each ListAccounts() call was a huge
overhead. This is a temporary workaround, the whole service is gonna be
replaced by the idm service soon anyway.
2022-03-15 10:07:19 +01:00
Willy Kloucek
a7fe756004 Merge pull request #3287 from owncloud/config-example-yaml-v2
Generate config file documentation
2022-03-14 13:09:14 +01:00
Willy Kloucek
c829dbe577 remove error form accounts' EnsureDefaults() function 2022-03-11 13:43:34 +01:00
Willy Kloucek
343fc0a73c add katherine to demo users 2022-03-11 13:17:08 +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
Michael Barz
b15db1794a update reva to version 2.0.0 (#3258) 2022-03-03 19:56:04 +01:00
Ralf Haferkamp
fe2501b083 graph: Add some validation for username and email
This copies the validation code from the accounts service, also fixing a
bug in the regex that allowed adding mail addresses with whitespace and
other problematic characters to the domain part of the mail address.

Partial fix for: #3247
2022-03-02 16:45:25 +01:00
Willy Kloucek
f266f91bc4 revert ocisConfig changes part 3 2022-03-02 15:21:47 +01:00
Willy Kloucek
aeeff60011 remove config file related code 2022-03-02 15:18:43 +01:00
Willy Kloucek
63818e0fa4 revert ocisConfig changes part 2 2022-03-02 15:12:34 +01:00
Willy Kloucek
15e1139b8d revert ocisConfig changes 2022-03-02 15:11:12 +01:00
David Christofas
017de20520 add config descriptions
Co-Authored-By: Christian Richter <crichter@owncloud.com@>
2022-03-01 17:17:40 +01:00
David Christofas
bb6a018e9a config docs prototype 2022-03-01 13:21:06 +01:00
Willy Kloucek
b438fce511 generate config file for accounts service 2022-03-01 11:19:14 +01:00
Willy Kloucek
f0d072e94b since the metadata services uses the reva jwt token, accounts service should do too 2022-02-01 15:28:57 +01:00
Juan Pablo Villafáñez
7d8e334537 Revert v1 to v0 2022-01-31 12:17:56 +01:00
Juan Pablo Villafáñez
7557e4e0ea Migrate proto files for settings and adjusts paths 2022-01-31 09:35:39 +01:00
Juan Pablo Villafáñez
652bc1657c Remove all proto files for the accounts 2022-01-31 09:26:23 +01:00
Juan Pablo Villafáñez
6c67ff765e Adjust import paths and service urls in index.js 2022-01-31 09:26:23 +01:00
Willy Kloucek
6ef6d1117c fix condition for nil pointer in common config 2022-01-13 08:13:14 +01:00
Willy Kloucek
182712b223 fix tracing config 2022-01-13 08:13:14 +01:00
Willy Kloucek
6de48a8cd4 switch to http.StatusOK instead of 200 2022-01-07 19:19:19 +00:00
Willy Kloucek
1e38150276 improve command description 2022-01-07 19:19:16 +00:00
Willy Kloucek
1dc63cbce1 ensure, that each config is only parsed once 2022-01-07 16:12:01 +00:00
Willy Kloucek
adc7b3b3d2 remove version from service config 2022-01-07 16:12:01 +00:00
Willy Kloucek
b9f2b6b91e move config parsing in separate package for each service 2022-01-07 16:12:01 +00:00
Willy Kloucek
23e7a8ffab simplify commands and version handling 2022-01-07 16:11:50 +00:00
Willy Kloucek
5b70d46213 remove build flags, add debug server to accounts 2022-01-07 16:08:14 +00:00
Willy Kloucek
6a03c4acba improve envdecode error handling 2022-01-07 16:08:14 +00:00
Willy Kloucek
a839288212 remove supervised flag from configs 2022-01-07 16:08:14 +00:00
Willy Kloucek
5034e399bb maintain envdecode inside ocis-pkg 2022-01-07 16:08:14 +00:00
Willy Kloucek
61ff46b29c fix unit tests 2022-01-07 16:07:01 +00:00
Willy Kloucek
e361132435 move accounts config sanitazing into config parsing 2022-01-07 16:07:01 +00:00
Willy Kloucek
e006ad6e40 directly pass env to config 2022-01-07 16:07:01 +00:00
Willy Kloucek
3c3fc2e098 revert storage, remove tracing.service and bring back common 2022-01-07 16:06:56 +00:00
Willy Kloucek
9422388b74 add version to accounts 2022-01-07 16:04:55 +00:00
Willy Kloucek
a13df3dcf7 split **/pkg/config/config.go up to multiple files 2022-01-07 16:04:52 +00:00
Willy Kloucek
6990e7d660 switch all other services to struct tag based env config 2022-01-07 15:47:47 +00:00
Willy Kloucek
288d6c469e switch graph to struct tag based env config 2022-01-07 15:39:01 +00:00
Willy Kloucek
788a390016 switch glauth to struct tag based env config 2022-01-07 15:39:01 +00:00
Willy Kloucek
161dd949fc switch ocs to struct tag based env config 2022-01-07 15:39:01 +00:00
Willy Kloucek
cb27090cea fix accounts test 2022-01-07 15:39:01 +00:00
Willy Kloucek
d2befd9257 switch accounts to struct tag based env config 2022-01-07 15:39:01 +00:00
Willy Kloucek
ebfe8f069c remove service names 2022-01-07 15:39:01 +00:00
Willy Kloucek
7b61460fac add accounts log level 2022-01-07 15:39:01 +00:00