Commit graph

25193 commits

Author SHA1 Message Date
Julien Veyssier
f807cd904b
Merge pull request #53270 from nextcloud/backport/53205/stable31
[stable31] fix(PreviewManager): use the forced mimetype in throwIfPreviewsDisabled
2025-06-03 02:43:51 +02:00
Nextcloud bot
223cc9ff39
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-03 00:22:33 +00:00
Julien Veyssier
6ea5127229
fix(PreviewManager): use the forced mimetype in throwIfPreviewsDisabled
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-06-02 23:26:50 +02:00
Robin Appelman
edfb7b2393 perf: set the folder size in the same query as we create it
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-02 09:56:29 +00:00
Louis Chemineau
9d26571eb2 fix(S3): Use original folder size during copy
This prevent having copied folders with a wrongly set size of 0KB.

- Fix https://github.com/nextcloud/server/issues/51916

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-06-02 09:56:29 +00:00
Nextcloud bot
ae25d9191b
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-02 00:48:00 +00:00
Nextcloud bot
ac5b632bf8
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-01 00:22:07 +00:00
Nextcloud bot
29a09a4e49
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-31 00:22:48 +00:00
Nextcloud bot
75f109436a
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-30 00:22:45 +00:00
Maxence Lange
df1489343a fix(metadata): set background job on fresh setup
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-05-29 14:52:23 +02:00
Nextcloud bot
215ec4893a
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-29 00:33:35 +00:00
Jonas
ed492c5c70 fix(node): emit hooks on Node::copy()
When calling `Files\Node\Node::copy()`, `Files\View::copy()` gets called,
but `Files\View::fakeRoot` is empty so the hooks are not emitted if no
path is given to `Files\View::shouldEmitHooks()`.

This results in node-related events like `NodeCopiedEvent` not being
fired when copying files via `Files\Node\Node::copy()`.

`Files\View::shouldEmitHooks()` is given a path as parameter in almost
all places except when called from the `copy()` function. This commit
changes it and passes the copy target path.

Fixes: nextcloud/collectives#1756

Signed-off-by: Jonas <jonas@freesources.org>
2025-05-28 11:50:11 +00:00
Nextcloud bot
29d0dcfb6e
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-28 00:22:46 +00:00
Edward Ly
e39d42c182 fix(TaskProcessing): increase task cleanup delay
Signed-off-by: Edward Ly <contact@edward.ly>
2025-05-27 07:47:33 -07:00
Louis Chemineau
bab9587f3d fix(blurhash): Skip generation the if previews are disabled.
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-05-27 12:56:31 +00:00
Jonas
8f9aeeb556 fix(FileReferenceEventListener): Invalidate cache after node was renamed
Fixes: nextcloud/collectives#1527

Signed-off-by: Jonas <jonas@freesources.org>
2025-05-27 10:20:31 +00:00
Christoph Wurst
704c22fa56 fix(log): map all warnings to warn log level, notice to info
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-05-27 06:22:56 +00:00
Andy Scherzinger
ca9193a1d8
Merge pull request #52969 from nextcloud/backport/52514/stable31
[stable31] feat: only get template fields once selected
2025-05-27 06:42:14 +02:00
Nextcloud bot
39010035a1
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-27 00:22:23 +00:00
Elizabeth Danzberger
52ae766a8e feat: only load template fields when requested
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-05-26 18:03:24 +02:00
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