Commit Graph

43 Commits

Author SHA1 Message Date
Willy Kloucek 67b5458894 fix graph jwt secret from OCS_JWT_SECRET to GRAPH_JWT_SECRET 2022-03-15 15:58:02 +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
Ralf Haferkamp 8a57545c30 Add "insecure" flag to graph LDAP backend
To allow skipping TLS Certificate verification in development
environments.
2022-02-09 18:29:57 +01:00
Jörn Friedrich Dreyer 75bfd71355 Merge branch 'master' into graph-reads-space-yaml 2022-01-17 15:35:47 +00: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
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
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 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 7ffe93ba3b remove supervised flag from configs 2022-01-03 08:22:44 +01:00
Willy Kloucek dcc01ca2a3 gix graph url 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
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 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 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 24347180fa use ocisConfig as struct tagname to bind config files to strucg attributes 2021-11-19 09:28:23 +01:00
A.Unger f118357a18 graph 2021-11-11 13:18:53 +01:00
A.Unger 51bee0e531 sort out flags precedence 2021-11-09 17:30:31 +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 cfe1ac30af add graph 2021-11-04 13:50:42 +01:00
Willy Kloucek 29341a7f94 split spaces webdav url and graph url configuration in base and path parts 2021-10-21 14:30:18 +02:00
jkoberg d5d33c7941 add default space quota 2021-10-13 13:47:57 +02:00
Jörn Friedrich Dreyer 2a54b647f1 get rid of ldap and oidc, refactor error handling
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-21 08:56:04 +00:00
Jörn Friedrich Dreyer 5070941dc4 graph: refactor auth and middlewares
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-21 08:54:19 +00:00
Jörn Friedrich Dreyer 449edd31c8 initial /me/drives implementation
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-08 10:04:01 +02:00
Ishank Arora 89f8320c74 Make webdav namespace configurable across services 2021-06-25 10:05:20 +02:00
A.Unger 4f3ebb710c suport for graph 2021-03-17 15:31:51 +01:00
Jörn Friedrich Dreyer 9fa77a27ba fix graph and graph-explorer
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-15 15:17:29 +00:00
A.Unger f55a8092cb adjust imports 2021-02-04 11:46:32 +01:00