Commit Graph

68 Commits

Author SHA1 Message Date
Ralf Haferkamp 7659c05177 Fix $expand=members query for groups with just a single member 2022-06-22 12:04:43 +02:00
David Christofas 402aefe5f6 add acting user to the audit log 2022-06-21 12:03:07 +02:00
Jörn Friedrich Dreyer 8a3d0e1b64 Merge pull request #3904 from owncloud/Resharing
[full-ci] Resharing
2022-06-16 08:49:53 +00:00
Jörn Friedrich Dreyer 2930ac5282 small doc fixes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-06-15 10:50:22 +00:00
jkoberg 7d97802087 add comment for mapping roles
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-06-15 12:01:37 +02:00
Willy Kloucek 444ffa5e75 add more configuration descriptions 2022-06-14 14:58:27 +02:00
Willy Kloucek 7b87df02e1 Apply suggestions from code review
Co-authored-by: Martin <github@diemattels.at>
2022-06-14 13:17:24 +02:00
Willy Kloucek 7bc96443f6 unify log and tracing descriptions 2022-06-14 11:48:46 +02:00
Willy Kloucek 61e89ea48f fix tracing collecotr and endpoint descriptions 2022-06-14 10:57:36 +02:00
jkoberg 4c2311b9c7 enable resharing
check for removegrant instead addgrant

Signed-off-by: jkoberg <jkoberg@owncloud.com>

add e2e tests

Signed-off-by: jkoberg <jkoberg@owncloud.com>

expected failures

Signed-off-by: jkoberg <jkoberg@owncloud.com>

enable resharing

Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-06-14 10:28:19 +02:00
Willy Kloucek 751b90f332 add more config option documentation 2022-06-13 15:45:24 +02:00
Willy Kloucek 68a6f43538 fix version info 2022-06-13 10:43:52 +02:00
Christian Richter c4f7a36f29 incorporate requested changes
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-06-09 14:36:23 +02:00
Christian Richter c358540361 add memberOf slice to /user/{id} & members slice to /groups/{id} endpoint
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-06-09 14:36:23 +02:00
Christian Richter fc3737f0cf add groups to /users endpoint
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-06-09 14:35:14 +02:00
David Christofas 4470c045ed fix webdav URL of drive roots in graph API 2022-06-02 14:24:56 +02:00
Willy Kloucek f7473df54b fix test by using insecure ldap 2022-05-31 12:04:09 +02:00
Willy Kloucek bfbab26d85 fix multiple ldap insecure options 2022-05-31 10:53:00 +02:00
David Christofas b3569d615b Merge pull request #3888 from owncloud/graph-cacert
add config option to provide TLS certificate
2022-05-31 09:58:21 +02:00
David Christofas 0f23ce6bed add config option to provide TLS certificate 2022-05-30 17:04:14 +02:00
Ralf Haferkamp 082c66beb7 graph: Fix role-id extraction from token
We can't use ReadPlainFromOpaque here since the OpaqueEntry entry is
"json" encoded (not "plain").

Fixes: #3893
2022-05-30 16:18:57 +02:00
Ralf Haferkamp 690a2bd1db Use utlis function to void nil pointer panics
Co-authored-by: kobergj <juliankoberg@googlemail.com>
2022-05-24 17:39:01 +02:00
Ralf Haferkamp 0ec88ed5d2 Fix typo
Co-authored-by: David Christofas <dchristofas@posteo.de>
2022-05-24 17:39:01 +02:00
Ralf Haferkamp d322e50167 Return "nameAlreadyExists" error properly
When trying to create a user that already exist return a proper
error, that clients can check for.
2022-05-24 17:39:01 +02:00
Ralf Haferkamp a6f05e761e Let graph auth middleware add the roleids to the context
They were also added by the ExtractAccountUUID for the /drives endpoint.
We'll need some on other endpoints as well (for automatic user
provisioning).
2022-05-24 17:39:01 +02:00
Willy Kloucek 7d87927459 add descriptions to the debug config 2022-05-18 09:57:41 +02:00
Ralf Haferkamp 112488607e Publish UserFeatureChanged event when users update their password 2022-05-17 14:23:38 +02:00
Ralf Haferkamp c41cf92553 Add graph /me/changePassword endpoint
To allow users to change their own password when using the Graph LDAP backend.

Closes:	#3063
2022-05-17 14:23:38 +02:00
Michael Barz 6a7fc50449 Merge pull request #3803 from wkloucek/un-compose-commons
remove composition of Commons
2022-05-16 12:13:44 +02:00
Willy Kloucek 3ce2c2123d remove composition of Commons 2022-05-16 11:34:05 +02:00
kobergj d30e70dca6 [full-ci] Bump Reva version (#3779)
* use custom reva to check changes

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* don't query quota and children when space is disabled

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* final touches

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* update expected failures

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* fix changelog typo

Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-05-16 11:07:00 +02:00
Jörn Friedrich Dreyer acab143050 use command -v instead of which
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-13 11:16:40 +00:00
Ralf Haferkamp d25aa7b20f Remove "accounts" service 2022-05-11 15:29:34 +02:00
Michael Barz 8145478101 Merge pull request #3743 from owncloud/exit-on-parse-error
Exit when encountering config parsing errors
2022-05-09 13:33:28 +02:00
Michael Barz f6e2f46ebb Exit when encountering config parsing errors 2022-05-09 11:49:15 +02:00
kobergj 74139f6c52 Permissions for deleting spaces (#3716)
* check permissions when deleting space

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* changelog

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* bump feature reva

Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-05-09 11:35:52 +02:00
Michael Barz 189987bcbd Bump major version to v2 2022-05-04 14:49:59 +02:00
Willy Kloucek 56261e3e63 Merge branch 'master' into config-env 2022-05-03 18:52:23 +02:00
David Christofas 958b4fe5e3 use new space ID util functions 2022-05-03 17:27:39 +02:00
Willy Kloucek b65936fe99 strip ocis- from command name for all standalone services 2022-05-03 17:08:23 +02:00
Willy Kloucek fd44da4629 storage-users config docs 2022-05-03 15:12:35 +02:00
Michael Barz 7245c354ca omit opaque id correctly 2022-05-02 09:53:50 +02:00
David Christofas ab71b21fc7 reduce drives in listing of graph /me/drives API 2022-05-02 09:53:50 +02:00
Michael Barz 78a6af3af5 handle resource ids better 2022-05-02 09:53:50 +02:00
Jörn Friedrich Dreyer 4c53707920 omit extension name in ParseConfig doc
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-29 20:21:18 +00:00
Willy Kloucek 1cdb81bd3e add fixes from review 2022-04-29 16:10:21 +02:00
Willy Kloucek 19e893704b Merge branch 'master' into ocis-init 2022-04-29 13:20:28 +02:00
Willy Kloucek 4ff313b0a5 check for more secrets need to be set 2022-04-29 13:07:25 +02:00
jkoberg ce45e90122 unescape path in graph getdrive
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-04-28 22:10:27 +00:00
Willy Kloucek 83b94cf82d log parsing errors to stdout 2022-04-28 15:52:26 +02:00