Commit Graph

11044 Commits

Author SHA1 Message Date
sagargurung1001@gmail.com
61b9b05e40 Check coding standard with force error 2022-09-08 16:33:44 +05:45
sagargurung1001@gmail.com
dbf6956676 Added coding-standard-php pipeline in drone 2022-09-08 16:29:15 +05:45
sagargurung1001@gmail.com
1aabf51292 Fix all coding standard error 2022-09-08 16:29:15 +05:45
sagargurung1001@gmail.com
6fd610f3ca Exclude vendor-php dir for coding-standard-check 2022-09-08 16:29:15 +05:45
jkoberg
5655fb7014 Automated changelog update [skip ci] 2022-09-08 10:31:38 +00:00
jkoberg
716d595ede changelog and bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-09-08 12:31:13 +02:00
jkoberg
2f97fa7036 REPORT: add permissions to personal space
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-09-08 12:31:13 +02:00
Michael Barz
a9b1591a3b Merge pull request #4533 from owncloud/deleteUsersAfterEachTest
[test-only] apiTest. delete users with their personal spaces after each test
2022-09-08 11:44:53 +02:00
Michael Barz
03c55b7cee Merge pull request #4534 from owncloud/update-reva-edge-2
[full-ci] update reva to latest edge
2022-09-08 11:44:15 +02:00
Phil Davis
7daf5dee61 Merge pull request #4531 from owncloud/add-context-behat-yml
[tests-only]Add context in behat.yml
2022-09-08 14:53:08 +05:45
Viktor Scharf
070818ac99 delete method 2022-09-08 10:02:53 +02:00
Michael Barz
a8ff8e2fa8 update reva to latest edge 2022-09-08 10:33:01 +05:45
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
Swikriti Tripathi
4e27dbcd50 Add context in behat.yml 2022-09-07 21:14:53 +05:45
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