Commit Graph

11021 Commits

Author SHA1 Message Date
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
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
Jannik Stehle
80659ed726 Automated changelog update [skip ci] 2022-09-02 12:58:50 +00:00
Jannik Stehle
123ae47fe1 Merge pull request #4500 from owncloud/login-screen-design
Improve login screen design
2022-09-02 14:58:19 +02:00
David Christofas
2051f0d1e1 Merge pull request #4447 from dragonchaser/delete_userspace
Delete userspace
2022-09-02 14:41:57 +02:00
Jannik Stehle
a9fd209da8 Use cv11 as font feature setting 2022-09-02 13:51:59 +02:00
Jannik Stehle
99255c1cdd Add 'Inter' font, change placeholder color to grey 2022-09-02 13:47:52 +02:00
Swikriti Tripathi
2043b4b815 Merge pull request #4502 from owncloud/header-deleteSpace
[tests-only] Hardcode header in GraphHelper::deleteSpace
2022-09-02 16:54:18 +05:45
Phil Davis
726640882b Hardcode header in GraphHelper::deleteSpace 2022-09-02 16:01:56 +05:45
David Christofas
e36cd4fa7f add returns after rendering errors and simplify loop condition 2022-09-02 11:54:17 +02:00
Phil Davis
c2e44b17cc Merge pull request #4488 from owncloud/refactoringTests
[test-only] Refactoring tests.
2022-09-02 15:23:21 +05:45
Phil Davis
78f92f83a0 Merge pull request #4499 from owncloud/bump-commit-id-20220902
[full-ci][tests-only]Bump commit id for tests
2022-09-02 15:14:24 +05:45
Jannik Stehle
52b58cd1d9 Move background-size after the background css prop 2022-09-02 09:56:53 +02:00