Michael Barz
1db13d8a39
add tests
2022-01-16 11:57:57 +01:00
Michael Barz
f7bf42bce0
fix case for unsupported operators
2022-01-16 11:57:57 +01:00
Michael Barz
bca954cae7
more detailed logging
2022-01-16 11:57:43 +01:00
Michael Barz
624a2a956c
add filter by id and driveType
2022-01-16 11:57:03 +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
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
ae565846c2
gix graph url
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
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
3b5a33590e
add missing commands and unify service / namespace options
2022-01-07 15:38:56 +00:00
Jörn Friedrich Dreyer
66491b94c9
Merge branch 'master' into spaces-registry
2022-01-04 19:30:00 +00:00
Michael Barz
4502d4dfcc
Update graph api to 0.5.0
2021-12-16 13:39:27 +01:00
Jörn Friedrich Dreyer
c0301fb46e
fix listing spaces without owners
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-12-15 20:27:48 +00:00
Jörn Friedrich Dreyer
42f5ca07c9
fix graph
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-12-15 19:31:01 +00:00
Jörn Friedrich Dreyer
da61a20cf1
Merge branch 'master' into spaces-registry
2021-12-15 16:33:52 +00: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
7041549a16
fix listing drives
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-12-09 14:59:25 +00: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