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
dcc01ca2a3
gix graph url
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
30656c5a32
switch graph 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
Michael Barz
4502d4dfcc
Update graph api to 0.5.0
2021-12-16 13:39:27 +01:00
Michael Barz
04145b295a
Merge pull request #2869 from owncloud/graph-api-rest
...
Graph api rest
2021-12-13 19:59:01 +01:00
Michael Barz
23458ba4b9
remove unecessary replace
2021-12-13 16:33:47 +01:00
Michael Barz
6e73ee7466
handle non existent spaces gracefully
2021-12-12 17:26:57 +01:00
Michael Barz
efd7f76f78
change update drives
2021-12-12 17:26:57 +01:00
Michael Barz
e628750dc2
graph update
2021-12-11 21:59:36 +01:00
Jörn Friedrich Dreyer
ffe75747d3
Merge pull request #2837 from owncloud/update-reva-a042373b390
...
[full-ci] update reva, ignoring docker-arm
2021-12-07 13:17:12 +01:00
Willy Kloucek
9109f8843a
always unescape url params
2021-12-06 17:04:12 +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
Ralf Haferkamp
d21ca0658f
graph: Add unit test for LDAP identity backend
...
This reworks the LDAP backend a bit to allow for mocking the ldap.Client
interface. It also add a couple of unit test for the backend
2021-11-25 14:51:52 +01:00
Ralf Haferkamp
026da000dc
LDAP group backend for GraphAPI
...
This is an initial implementation of the /groups graph endpoint.
Currently it is only showing the ID and Name attributes of the groups.
Listing members is not yet supported.
As the userbackend this is still read-only and doesn't support any
advanced filtering.
2021-11-25 14:51:52 +01:00
Ralf Haferkamp
f253f7bc8e
graph: Groups convert CS3 code to its own backend
...
Until the LDAP backend is ready the existing CS3 code should keep
working.
This also adds the initial stubs for the upcoming LDAP Backend.
2021-11-25 14:51:52 +01:00
Ralf Haferkamp
76390f3d4f
Rename userBackend to identityBackend
...
This is suppoosed to handle Groups and Users so adjust the Name
2021-11-25 14:51:52 +01:00
Ralf Haferkamp
fbdcdf255c
LDAP user backend for GraphAPI
...
This is still read-only and doesn't support any of the advanced
querying options of the graph API.
2021-11-25 14:51:52 +01:00
Ralf Haferkamp
9130cd29f3
Add helper module for LDAP with automatic reconnect
...
This module basically wraps ldap.Client and allows us to keep
to keep a long running LDAP connection open, which automatically
reconnects on network errors. Allows it allows to easiliy multiplex
multiple Operations on a single connection.
2021-11-25 14:30:22 +01:00
Ralf Haferkamp
61d65daa89
Make identity backend configurable for GraphAPI
...
In order to gradually switch to a new LDAP backend move
the existing code talking to CS3 into its own backend.
2021-11-25 14:30:22 +01:00
A.Unger
70da20a777
Merge branch 'master' into try-gookikt-config
2021-11-19 16:27:49 +01:00
Willy Kloucek
32ffbe3ac6
adapt changed function signatures
2021-11-19 13:22:47 +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
f118357a18
graph
2021-11-11 13:18:53 +01:00
A.Unger
9b8c3838e8
Merge branch 'master' into try-gookikt-config
2021-11-11 13:04:38 +01:00
Willy Kloucek
e35d4fd0ac
remove GRPC insecure config options, since it always needs to be set to insecure
2021-11-10 16:12:29 +01:00
Willy Kloucek
69cc11dbe6
make more insecure options configurable and change insecure defaults from true to false
2021-11-10 15:45:55 +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
6da95d3ddd
new config framework in graph
2021-11-08 13:50:52 +01:00
A.Unger
a515a97c8f
normalize idp
2021-11-08 12:17:23 +01:00
A.Unger
22601de351
normalize graph-explorer
2021-11-08 12:08:35 +01:00
A.Unger
4c9e4713cf
normalize graph
2021-11-08 12:04:30 +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