Commit Graph

11032 Commits

Author SHA1 Message Date
Viktor Scharf
070818ac99 delete method 2022-09-08 10:02:53 +02:00
Viktor Scharf
3c235d9920 delete users with their personal spaces 2022-09-07 22:19:31 +02:00
Michael Barz
88a28ca8cd Merge pull request #4532 from rhafer/issue/4195
Fix home space deletion when deleting user by name
2022-09-07 20:34:05 +02:00
Michael Barz
955d0e1006 Automated changelog update [skip ci] 2022-09-07 18:29:59 +00:00
Michael Barz
7e9f19c7dc update reva to latest edge 2022-09-07 20:27:26 +02:00
Michael Barz
d64aa9985f Automated changelog update [skip ci] 2022-09-07 17:04:26 +00:00
Michael Barz
29be1ab5b7 Merge pull request #4522 from owncloud/update-reva-edge
[full-ci] update Reva to latest edge
2022-09-07 19:03:35 +02:00
Ralf Haferkamp
c982bd785e Automated changelog update [skip ci] 2022-09-07 16:23:36 +00:00
Ralf Haferkamp
e5543d4465 Add new "delete-all-spaces" permission
This is assigned to the Admin role by default and allows to cleanup
orphaned spaces (e.g. where the owner as been deleted)

Fixes: #4196
2022-09-07 18:21:26 +02:00
Ralf Haferkamp
f43a233795 Fix home space deletion when deleting user by name
DELETE requess on /graph/v1.0/users also work when specifing a user by
name. For deleting the home space in that case we need to get the User's
id from the backend first.

Fixes: #4195
2022-09-07 18:13:41 +02:00
Michael Barz
869d8aba6f use id to delete project spaces 2022-09-07 17:11:34 +02:00
Michael Barz
3b64dfbd20 remove personal spaces as admin in the graph test suite 2022-09-07 16:52:26 +02:00
Michael Barz
39aacff996 update reva to latest edge 2022-09-07 15:53:54 +02:00
Michael Barz
746a532a76 Merge pull request #4528 from rhafer/issue/4195
graph: purge home space when deleting a user
2022-09-07 15:53:29 +02:00
Ralf Haferkamp
23ef9647cc Automated changelog update [skip ci] 2022-09-07 12:30:51 +00:00
Ralf Haferkamp
8ee8842e88 proxy: Avoid sorting endpoints for every single request
The endpoints are no longer hashed by path name in the directors map since
that made iterating over the endpoints unstable. They are now stored in a
slice in the order in which the are defined in the configuration.

Closes: #4497
2022-09-07 14:30:19 +02:00
Ralf Haferkamp
2c6eb888a8 proxy: Clarify comment 2022-09-07 14:30:19 +02:00
Ralf Haferkamp
ab0c82311a proxy: Fix archiver for public links
Allows /archiver to be used the "public-token" auth middleware. The
archiver is a bit of a special case, because it can be uses in several
ways: using 'normal' authentication (basic, oidc), using signed-urls or
using sharetokens. As only the "sharetoken" part is handled by the
"PublicShareAuth" middleware, we needed to special-case it a bit.
2022-09-07 14:30:19 +02:00
Ralf Haferkamp
30f4d788f3 proxy: Initialize logger for router 2022-09-07 14:30:19 +02:00
Ralf Haferkamp
e4f9dfa40e graph: purge home space when deleting a user
previously the homespace was just marked as trashed

Fixes: #4195
2022-09-07 14:25:27 +02:00
David Christofas
8b9e80bb56 Merge pull request #4525 from owncloud/update-buf-lock
update buf lock
2022-09-07 12:06:26 +02:00
David Christofas
4025afc40f update buf lock 2022-09-07 11:28:16 +02:00
David Christofas
8514712027 Merge pull request #4512 from owncloud/dependabot/go_modules/github.com/gookit/config/v2-2.1.5
Bump github.com/gookit/config/v2 from 2.1.4 to 2.1.5
2022-09-06 11:34:09 +02:00
David Christofas
e4feac340e Automated changelog update [skip ci] 2022-09-06 07:33:23 +00:00
David Christofas
b47409dfc6 Merge pull request #4513 from owncloud/orientate-thumbnails
auto orientate pictures for thumbnails
2022-09-06 09:32:48 +02:00
David Christofas
bff9c2b3cd auto orientate pictures for thumbnails 2022-09-05 16:33:29 +02:00
David Christofas
c181e1d392 Merge pull request #4436 from aduffeck/jsoncs3-share-manager
Jsoncs3 share manager
2022-09-05 16:16:18 +02:00
dependabot[bot]
82e11094f7 Bump github.com/gookit/config/v2 from 2.1.4 to 2.1.5
Bumps [github.com/gookit/config/v2](https://github.com/gookit/config) from 2.1.4 to 2.1.5.
- [Release notes](https://github.com/gookit/config/releases)
- [Commits](https://github.com/gookit/config/compare/v2.1.4...v2.1.5)

---
updated-dependencies:
- dependency-name: github.com/gookit/config/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 14:14:57 +00:00
Ralf Haferkamp
29f52515e1 graph: Fix Status code when updating the password
Up to now the /me/changePassword endpoint return a 500 Status when
issue a password change with the old password set to the wrong password.
This changes the code to return 400 (Bad Request) with an additional
message that the old password is wrong. This does not seem to weaken the
security of /me/changePassword (i.e. for allowing easier brute-force
attacks) as the endpoint is only available to already authenticated
users (and only for changing their own passwords)

See #4480
2022-09-05 15:57:46 +02:00
Phil Davis
68e5830bf0 Merge pull request #4371 from owncloud/add-tests-removed-by-core-40276
[tests-only][full-ci]Add tests removed by core 40276
2022-09-05 18:26:30 +05:45
Swikriti Tripathi
70ed9792f1 Add tests removed by core pr-40276 2022-09-05 17:22:41 +05:45
Phil Davis
6f9afa84a8 Merge pull request #4440 from owncloud/add-tests-quota-tus
[tests-only] Add api tests for tus upload when quota is set
2022-09-05 17:21:11 +05:45
Swikriti Tripathi
967e7f4416 Add api tests for tus upload when quota is set 2022-09-05 16:09:18 +05:45
Phil Davis
fdb059cf12 Merge pull request #4463 from owncloud/fixSearchTest
[tests-only] Api test. fix search test
2022-09-05 15:40:36 +05:45
Phil Davis
ac0b659d34 Merge pull request #4510 from owncloud/reuseCodeForLockFromCore
[tests-only][full-ci]Reuse locking method from core
2022-09-05 14:58:13 +05:45
Viktor Scharf
6b3501be75 fix search test 2022-09-05 11:04:59 +02:00
sagargurung1001@gmail.com
23196c7c18 Reuse locking method from core 2022-09-05 14:01:20 +05:45
Amrita
e27e5a26c4 Merge pull request #4492 from owncloud/reuseCodeFromCodeForFavourites
[tests-only][full-ci]Reuse code from code for `favorites.feature` in ocis
2022-09-05 11:55:12 +05:45
sagargurung1001@gmail.com
84c48066f2 Add commit and branch related to this PR to work 2022-09-05 10:54:43 +05:45
sagargurung1001@gmail.com
c31a0ed6b2 Reuse code of code from core at most 2022-09-05 09:22:24 +05:45
Sagar Gurung
c87de7606d Merge pull request #4373 from owncloud/addTestForCopyForSharesJailOnOcis
[tests-only][full-ci]Add `/Shares` related copy tests on ocis which are removed from core
2022-09-05 09:18:58 +05:45
Phil Davis
7c8aeadacb Merge pull request #4505 from owncloud/removeSearchTestsFromExpectedFailures
[tests-only] removed the search test from the expected failures
2022-09-03 17:12:32 +05:45
Viktor Scharf
ae77fdeaf9 removed search test from expected failures 2022-09-03 09:26:21 +05:45
Jannik Stehle
2e5aafad91 Automated changelog update [skip ci] 2022-09-02 15:08:31 +00:00
Jannik Stehle
47b06b2a6c Merge pull request #4504 from owncloud/i18n-login-page
Fix translations on login page
2022-09-02 17:08:04 +02:00
Jannik Stehle
213a68ec69 Fix translations on login page 2022-09-02 15:07:54 +02:00
jkoberg
983f4c993f Automated changelog update [skip ci] 2022-09-02 13:03:24 +00:00
jkoberg
ddd6a53801 adjust expected failures
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-09-02 15:02:06 +02:00
jkoberg
d6f3250f35 regenerate protogen
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-09-02 15:02:06 +02:00
jkoberg
3f5585628d adjust REPORT to PROPFIND endpoint
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-09-02 15:02:06 +02:00