Commit Graph

212 Commits

Author SHA1 Message Date
Jörn Friedrich Dreyer 4a48708bf0 Merge pull request #2947 from rhafer/ldap-as-user-backend
Add support for user creation and deletion to GraphAPI (LDAP backend)
2022-01-17 15:54:10 +01:00
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
Jörn Friedrich Dreyer 942bd0b98d add initial ok & not found caching, config, logs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-01-14 15:50:57 +00:00
Jörn Friedrich Dreyer 5b97a12acd refactor headers into a dedicated package
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-01-14 14:14:35 +00:00
Jörn Friedrich Dreyer 6b935e47d0 return WebDavURL to special resources
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-01-14 13:54:00 +00:00
Jörn Friedrich Dreyer 5865607241 Read additional graph drive prop from space.yaml
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-01-13 16:18:09 +00:00
Ralf Haferkamp cb7f9f7922 Introduce write_enabled flag for graph user backend
Defaults to `false` (for now). So the /graph/users endpoints are
read-only by default, which should be the default configured against
and existing external LDAP server.
2022-01-13 16:30:09 +01:00
Ralf Haferkamp 53efa9ca14 Switch to generating our own UUIDs for users
By default the GraphAPI will generate the UUID itself now instead of
relying on the LDAP server to generate a valid entryUUID attribute. This
can been be switched off via the new `use_server_uuid` toggle in the
LDAP config.
2022-01-13 16:30:09 +01:00
Ralf Haferkamp 840c9a7ddd Implement UpdateUser support for the GraphAPI backend 2022-01-13 16:30:09 +01:00
Ralf Haferkamp 775a556c23 graph: Add missing methods to Service Interface 2022-01-13 16:30:09 +01:00
Ralf Haferkamp 4915195d9c Implement DeleteUser support for the Graph LDAP backend 2022-01-13 16:30:09 +01:00
Alex Unger 5d6e361cff Implement CreateUser support for the Graph LDAP backend
This adds basic support for creating users via the GraphAPI
LDAP backend. This currently just maintains the bare minimum
Attributes for the inetOrgPerson objectclass.

Co-authored-by: Ralf Haferkamp <rhaferkamp@owncloud.com>
2022-01-13 16:30:09 +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