Commit graph

1851 commits

Author SHA1 Message Date
Cristian Scheid
676afbca2a feat(file-info): encapsulate logic to get last activity in getLastActivity function
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
2026-03-26 08:05:42 +00:00
provokateurin
3e5b43c37a
fix(files_trashbin): Fix size propagation when moving file to trash
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-10-30 14:57:15 +01:00
Nextcloud bot
d9f561fd3b
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-10-05 00:13:34 +00:00
Joas Schilling
0ddfc756d3
Merge pull request #55263 from nextcloud/backport/55183/stable30
[stable30] fix(trashbin): Translate Nextcloud exception to Sabre exception
2025-09-29 09:52:47 +02:00
Marcel Müller
b50d3c539e fix: Stop infinite loop in ExpireTrash
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2025-09-25 15:36:23 +00:00
Joas Schilling
8aa6247f50
fix(trashbin): Translate Nextcloud exception to Sabre exception
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-09-23 08:36:18 +02:00
Nextcloud bot
7e9b13a3be
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-21 00:13:34 +00:00
Nextcloud bot
62cdd266c6
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-17 00:13:49 +00:00
Louis Chemineau
1f464b22a7 feat(files_trashbin): Refactor expire background job to support parallel run
- Follow-up of #51600

The original PR introduced the possibility to continue an `ExpireTrash` job by saving the offset. This was to prevent having to start over the whole user list when the job crashed or was killed.

But on big instances, one process is not enough to go through all the users in a timely manner. Supporting parallel run allows covering more ground faster.

This PR introduced this possibility. We are now storing the offset right away to allow another parallel job to pick up the task at that point. We are arbitrarily cutting the user list in chunk of 10 to not drastically overflow the 30 minutes time limit.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-11 16:10:28 +02:00
Nextcloud bot
2e9dcd2371
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-10 00:14:16 +00:00
Nextcloud bot
5e79de9eaf
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-06 00:13:54 +00:00
Nextcloud bot
522075f93b
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-03 00:12:53 +00:00
Côme Chilliet
fdd80f8ab4 fix(trashbin): Fix errors in the log on MOVE operations
dirname will return '.' for files at the root, which will cause an
 Exception that gets logged.
Instead use \Sabre\Uri\split like other sabre plugins, to get an empty
 string for root directory.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-08-28 12:23:18 +00:00
Nextcloud bot
9f9de95035
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-27 00:12:48 +00:00
Nextcloud bot
e8ee3987b5
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-26 00:14:04 +00:00
Nextcloud bot
186ebc5dd7
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-23 00:12:32 +00:00
Nextcloud bot
c6b4f2320a
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-16 00:12:17 +00:00
Nextcloud bot
13c4179e8e
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-08 00:12:45 +00:00
Ferdinand Thiessen
26a7d6d127
fix(files_trashbin): has-preview must return true or false
Currently it returned the boolean value, but PHP will turn it into an
integer...

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-07 12:23:23 +02:00
Nextcloud bot
2672301924
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-06 00:13:09 +00:00
Nextcloud bot
df9580d0d4
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-04 00:13:38 +00:00
Nextcloud bot
d7f7b6c89d
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-28 00:12:30 +00:00
Nextcloud bot
6bbce5b582
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-26 00:12:28 +00:00
Kent Delante
6ac8901aa5 fix(files_trashbin): Expire trashbin items when space is needed
Signed-off-by: Kent Delante <kent.delante@proton.me>
2025-07-22 10:07:07 +08:00
Nextcloud bot
470c2a312b
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-16 00:12:25 +00:00
Nextcloud bot
4a121d846c
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-13 00:12:12 +00:00
Nextcloud bot
6916d29ed2
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-08 00:12:27 +00:00
Nextcloud bot
56847d10ec
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-05 00:12:18 +00:00
Nextcloud bot
fdb65eb500
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-03 00:12:31 +00:00
Nextcloud bot
e585137e76
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-01 15:17:28 +00:00
Nextcloud bot
75bed6e72e
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-01 00:12:28 +00:00
Nextcloud bot
d8296f0ce6
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-30 12:54:19 +00:00
Nextcloud bot
af539176c0
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-23 00:22:21 +00:00
Nextcloud bot
2de973ec78
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-21 00:23:06 +00:00
Nextcloud bot
3475c4bc29
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-20 00:22:45 +00:00
Nextcloud bot
300bf91047
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-19 00:22:57 +00:00
Nextcloud bot
772ecb640d
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-18 00:22:40 +00:00
Nextcloud bot
28aa97df8f
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-17 08:00:40 +00:00
Nextcloud bot
0a50d462fc
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-10 00:22:53 +00:00
Nextcloud bot
54b0fcf87e
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-09 00:22:34 +00:00
Nextcloud bot
e7f604d4b0
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-05 00:22:52 +00:00
Nextcloud bot
cfa4c52495
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-04 00:23:00 +00:00
Nextcloud bot
238194d2d3
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-03 00:22:40 +00:00
Nextcloud bot
fc9176b567
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-02 00:48:07 +00:00
Nextcloud bot
455880d5ca
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-31 00:22:55 +00:00
Nextcloud bot
6ed6316c4f
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-30 00:22:51 +00:00
Kent Delante
e76b134a6f Merge branch 'stable30' into backport/52752/stable30
Signed-off-by: Kent Delante <kent.delante@proton.me>
2025-05-29 13:56:24 +08:00
Kent Delante
142bf44127 fix(files_trashbin): check if there is enough space before restoring
Signed-off-by: Kent Delante <kent.delante@proton.me>

[skip ci]
2025-05-27 08:17:06 +00:00
Nextcloud bot
d687eef216
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-18 00:22:57 +00:00
Nextcloud bot
0b626f5d21
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-14 00:22:44 +00:00