Commit Graph

169 Commits

Author SHA1 Message Date
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
Willy Kloucek 62ff1f1659 don't run go generate anymore 2021-11-24 13:38:29 +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 2aa9c2457e Merge branch 'master' into try-gookikt-config 2021-11-16 13:29:07 +01:00
Willy Kloucek 74e7344221 prevent multiple yarn builds of accounts and settings when running make ci-node-generate int the repo root 2021-11-16 10:01:12 +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
A.Unger a76ad08d12 fix dead code logic 2021-11-04 14:19:41 +01:00
A.Unger cfe1ac30af add graph 2021-11-04 13:50:42 +01:00
A.Unger 711acbb354 inherit logging config from ocis.yaml, let extensions overwrite their logging. Considering using a package level global logging... 2021-10-31 00:08:46 +02:00
David Christofas 2986265be7 enable users to list all spaces 2021-10-27 17:17:16 +02:00
David Christofas c23071fb91 enforce set space quota permission 2021-10-22 15:53:52 +02: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
Willy Kloucek 8fdf8e340b Merge pull request #2536 from owncloud/public-share-auth-middleware
add public share auth middleware
2021-10-18 07:54:11 +02:00
Willy Kloucek 1494e69517 Merge pull request #2616 from owncloud/go-micro-v4
upgrade to go micro v4.1.0
2021-10-18 07:28:28 +02:00
David Christofas f5aabe1a87 update reva to latest master 2021-10-15 17:45:16 +02:00
David Christofas 600c7ca351 use updated VerifyScope 2021-10-15 17:45:11 +02:00
David Christofas fb0380820c enable archiver for public shares 2021-10-15 17:45:06 +02:00
Michael Barz fabed476f7 calculate quota stage 2021-10-15 12:28:19 +02:00
Michael Barz 654c237094 add missing error handling 2021-10-14 17:23:40 +02:00
A.Unger abbd64bff6 fix update branch 2021-10-14 16:06:49 +02:00
Willy Kloucek 6d5a3733ff upgrade to go micro v4.1.0 2021-10-14 15:56:19 +02:00
Alex Unger c4f450bab7 Merge branch 'master' into report-quota 2021-10-14 15:55:03 +02:00
kobergj 60da5983e0 Merge pull request #2619 from kobergj/defaultSpaceQuota
Default space quota
2021-10-14 15:43:23 +02:00
jkoberg 00c663f3b6 simplify quota creation logic 2021-10-14 13:50:06 +02:00
Willy Kloucek c60b76e1de Merge pull request #2612 from owncloud/dont-expose-services-by-default
don't expose services by default
2021-10-13 15:43:43 +02:00
jkoberg 2a6e5454d2 send nil quota if not set 2021-10-13 14:13:26 +02:00