Commit graph

25173 commits

Author SHA1 Message Date
Kate
76d37a37f6
Merge pull request #52987 from nextcloud/backport/50157/stable31 2025-05-26 08:27:43 +02:00
Andy Scherzinger
7112144b9c
Merge pull request #52864 from nextcloud/backport/51818/stable31
[stable31] feat: add command to get basic storage info
2025-05-25 20:29:50 +02:00
Andy Scherzinger
b3d1fac31e
Merge pull request #52883 from nextcloud/backport/52873/stable31
[stable31] fix: improve error message when cache rename source can't be found
2025-05-25 20:16:11 +02:00
Robin Appelman
3c36f17cef feat: add command to get basic storage info
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-25 20:11:34 +02:00
Robin Appelman
4dba5e141b fix: improve error message when cache rename source can't be found
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-25 18:38:42 +02:00
provokateurin
29d69826b6 feat(UserMountCache): Emit events for added, removed and updated mounts
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-25 16:46:53 +02:00
provokateurin
6517f0527d fix(SetupManager): Include home and root providers when registering mounts
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-25 16:42:35 +02:00
SebastianKrupinski
bd3026fcbd
fix: add calendar enable
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-05-23 10:42:12 +02:00
Louis Chemineau
7a0261878a fix: Move CSRF check from base to PublicAuth for public.php
This currently prevent directly accessing a ressource when clicking on a link on a third party site. Example, clicking on `https://example.com/public.php/dav/files/pqLWcA269zfzXez/?accept=zip` in a GitHub comment.

Skipping the check is an issue with password protected shares, as it allows third party sites to request the ressource when the user already entered the password, aka CSRF.  So after removing the check from `base.php`, we need to add the it again in the `PublicAuth` plugin.

We also add a redirect to be helpful to the user.

**Warning**: this adds the limitation that clicking on a direct download link for password protected shares will redirect you to the password form, and then to the main share view.

Fix #52482

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-05-22 08:30:36 +00:00
Nextcloud bot
2e65f43eb2
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-22 00:22:50 +00:00
Nextcloud bot
477f0860e4
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-21 00:24:51 +00:00
Joas Schilling
deb502ecfe fix: Fix warning when crash reporter fails to get loaded
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-20 20:30:15 +00:00
Akhil
10af1be4d8 fix: Throw exception in PreviewManager when preview is not available
Signed-off-by: Akhil <akhil@e.email>
2025-05-20 11:33:05 +00:00
Nextcloud bot
bfea258648
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-20 00:22:34 +00:00
Nextcloud bot
9d56e34e27
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-18 00:22:50 +00:00
Daniel
41a414d230
Merge pull request #52815 from nextcloud/backport/52798/stable31
[stable31] fix: log requests exceeding the rate limiting
2025-05-17 15:49:52 +02:00
Nextcloud bot
395515f346
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-17 00:23:25 +00:00
Robin Appelman
d18ff624d0
Merge pull request #52866 from nextcloud/backport/51603/stable31
[stable31] Add command to list orphan objects
2025-05-16 21:36:33 +02:00
Daniel Kesselberg
b422189843 fix: log requests exceeding the rate limiting
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-05-16 17:54:27 +02:00
AndyXheli
3e74ee4176 fix(previews): lower log level when cached preview isn't found
Since this PR #52221 was implemented, the log file has been flooded with warnings stating, "Cached preview not found for file; generating a new preview." This appears to be more of an informational message rather than a warning. This PR will change it from warning to debug

Original PR
#52221

Signed-off-by: AndyXheli <andyxheli@gmail.com>
2025-05-16 08:43:01 +00:00
Robin Appelman
780766b63c fix: keep IObjectStoreMetaData in private namespace for backports
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-16 10:41:27 +02:00
Robin Appelman
f0cab800ab feat: add command to list objects
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-16 10:41:27 +02:00
Robin Appelman
a324dbec2e feat: add command to get object metadata
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-16 10:41:27 +02:00
Kate
3f2fee08ca
Merge pull request #52823 from nextcloud/backport/52775/stable31 2025-05-16 10:01:43 +02:00
Nextcloud bot
d407508d22
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-16 00:23:00 +00:00
Sebastian Krupinski
6b4a6a0f14
Merge pull request #52807 from nextcloud/backport/52778/stable31
[stable31] fix: check if properties exist before using them
2025-05-15 18:06:15 +01:00
Côme Chilliet
d457957e06
Merge pull request #52804 from nextcloud/backport/52782/stable31
[stable31] feat(log): Log the request id sent with the request
2025-05-15 18:12:01 +02:00
SebastianKrupinski
5efb381f9e fix: check if properties exist before using them
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-05-15 09:35:06 -04:00
Robin Appelman
465486e335 fix: fix unjailedroot of nested jails if there are other wrappers in between
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-15 14:57:05 +02:00
Robin Appelman
66362e6b51 test: add test for nested cache jail unjailedroot
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-15 14:57:05 +02:00
Robin Appelman
54338f6d72 fix: create mountpoint folder even if the user has a quota of 0
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-15 14:56:10 +02:00
Stephan Orbaugh
61182a1d2c
Merge pull request #52691 from nextcloud/backport/52634/stable31
[stable31] perf(Share20): Add interface to query all shares in a folder without filtering by user
2025-05-15 14:32:45 +02:00
Robin Appelman
4271753fc2
Merge pull request #52790 from nextcloud/backport/52441/stable31
[stable31] fix: better error message when trying to scan a folder that is already being scanned
2025-05-15 14:11:14 +02:00
Robin Appelman
b8cbd0f41b
Merge pull request #52764 from nextcloud/backport/52706/stable31
[stable31] feat: add more encryption checks to info:file
2025-05-15 14:05:32 +02:00
Robin Appelman
ef2e308aa3
Merge pull request #52762 from nextcloud/backport/52707/stable31
[stable31] fix: throw a better error if we can't get the encrypted header size
2025-05-15 14:03:03 +02:00
Robin Appelman
a8029b3177
Merge pull request #52787 from nextcloud/backport/51920/stable31
[stable31] fix: improve handling of newFolder race condition handling
2025-05-15 13:41:29 +02:00
Nextcloud bot
755c05a9a9
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-15 00:23:06 +00:00
Côme Chilliet
d1ca8a67d6 fix(log): Only log client request id if present, and at the end
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-14 08:07:59 +00:00
Côme Chilliet
da451d9d3c feat(log): Log the request id sent with the request
This should help matching client logs with server logs, hopefully.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-14 08:07:59 +00:00
Nextcloud bot
ac3fe70e48
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-14 00:22:36 +00:00
Robin Appelman
a4a5bcaacb fix: better error message when trying to scan a folder that is already being scanned
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-13 14:06:15 +02:00
Robin Appelman
d1ddfd220f fix: improve handling of newFolder race condition handling
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-13 11:59:05 +00:00
provokateurin
8c4b6b9748
perf(Share20): Add interface to query all shares in a folder without filtering by user
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-12 14:55:39 +02:00
Robin Appelman
1c5658cd33 feat: add more encryption checks to info:file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-12 11:27:33 +00:00
Robin Appelman
7e454b2d96 fix: throw a better error if we can't get the encrypted header size
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-12 11:27:21 +00:00
Nextcloud bot
7d69f9cbeb
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-12 00:22:55 +00:00
Nextcloud bot
aeed146ecb
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-11 00:22:51 +00:00
Nextcloud bot
898eca78c8
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-10 00:23:07 +00:00
Nextcloud bot
b6326db3dc
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-09 00:23:53 +00:00
Nextcloud bot
f16ef470ef
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-08 00:23:33 +00:00