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
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
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
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
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
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
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
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
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
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
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
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
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
Louis Chemineau
bea982dfd5
fix(blurhash): Use preview API to generate the previews
...
This allows to benefit from all the checks done by the preview API.
This also use the newly introduced `cacheResult` argument to limit disk usage.
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-05-06 12:19:35 +00:00
Louis Chemineau
8e255bc6f5
feat(previews): Support in memory preview request
...
This allows callers to use the API without increasing the disk usage.
Example: blurhash generation, where we request a preview for all uploaded pictures, but don't want to necessarily store that preview.
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-05-06 12:19:35 +00:00
Robert Zenz
ca987504d7
fix(JSResourceLocator): incorrect parameter was being used
2025-04-29 10:16:50 +02:00
Joas Schilling
15d3a12f40
Merge pull request #52507 from nextcloud/backport/52434/stable31
...
[stable31] fix(navigation): Fix default app entry registered as closure
2025-04-28 23:34:32 +02:00
Ferdinand Thiessen
e60e32388d
fix(32bit): use PHP_INT_MAX where needed
...
* Typo from https://github.com/nextcloud/server/pull/52392
`0xFFFF` is only 2 bytes, but we need either `0xFFFFFFFF` or maybe a bit
easier to read `PHP_INT_MAX`.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-28 19:23:24 +00:00
Ferdinand Thiessen
00639fac4e
fix(32bit): make pack compatible with 32bit PHP
...
The `P` formatter is 64bit only - we need to manually pack the 64bit.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-28 19:23:24 +00:00
Joas Schilling
919a46a867
fix(navigation): Fix absolute URLs from default apps
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-28 14:54:35 +00:00
Joas Schilling
cf4e784818
fix(navigation): Fix default app entry registered as closure
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-28 14:54:35 +00:00