Ferdinand Thiessen
d6d6747a73
refactor: apply rector rules for PHPUnit 10
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
4 months ago
Carl Schwan
9e77ab44fc
chore(composer): Bump autoloader
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
4 months ago
Thomas Citharel
b44f35a42a
refactor(trashbin): get expiration class directly from Server::get
instead of going through Application container
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
4 months ago
Thomas Citharel
05d5fdb429
fix(trashbin): include $availableSpace = 0 in checks when we need to delete expired files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
4 months ago
Thomas Citharel
29d72bfb32
revert(trashbin): 195d347 due to misunderstanding
See https://github.com/nextcloud/documentation/pull/13017#issuecomment-3425782690
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
4 months ago
Ferdinand Thiessen
2b39cb49ab
refactor: adjust code for breaking changes in `@nextcloud/dialogs` v7
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
4 months ago
Thomas Citharel
cea23fb53d
refactor(trashbin): make the ExpireTrash background job use the Trashbin::expire static method
Instead of handling everything itself, and so that the available space is considered in deleting
trashed files even if not expired yet.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
4 months ago
Thomas Citharel
195d347240
fix(trashbin): make sure the trashed files are deleted if we don't have any available space left
Logic taken from the files_versions expiration. It seems the second
argument from the isExpired method wasn't even used anywhere.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
4 months ago
provokateurin
8d8f94b8ce
fix(files): Always return a valid mimetype
Signed-off-by: provokateurin <kate@provokateurin.de>
5 months ago
Nextcloud bot
a913c9bfaf
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
5 months ago
Ferdinand Thiessen
91f3b6b4ee
chore: adjust code to new codestyle
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 months ago
Ferdinand Thiessen
660f3f6fd1
refactor: use logical `&&` `||` instead of weak `and` `or` operators
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 months ago
provokateurin
6a12fbc4f3
refactor: Run rector
Signed-off-by: provokateurin <kate@provokateurin.de>
5 months ago
Marcel Müller
58440bfc67
fix: Stop infinite loop in ExpireTrash
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
5 months ago
Nextcloud bot
9cfc197fd9
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
5 months ago
Joas Schilling
cb67bcecf0
fix(trashbin): Translate Nextcloud exception to Sabre exception
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 months ago
Nextcloud bot
d854252e70
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
5 months ago
Nextcloud bot
655602c9fa
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
5 months ago
provokateurin
b36af651fd
fix(files_trashbin): Fix size propagation when moving file to trash
Signed-off-by: provokateurin <kate@provokateurin.de>
5 months ago
Louis Chemineau
9b5d11845a
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>
6 months ago
Nextcloud bot
2d63296046
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
6 months ago
Joas Schilling
e37dbc1487
chore: Bump app versions and requirements
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 months ago
Nextcloud bot
74ff2c03cd
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
6 months ago
provokateurin
0221611757
chore(deps): Update nextcloud/openapi-extractor to v1.8.3
Signed-off-by: provokateurin <kate@provokateurin.de>
6 months ago
Andy Scherzinger
ec84001af7
style(icon): Use material symbol variant of delete icon
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
6 months ago
Nextcloud bot
784f76d2b9
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
6 months ago
Carl Schwan
5835599fa1
chore(rector): Apply current rector config
Signed-off-by: Carl Schwan <carl.schwan@nextclound.com>
6 months ago
provokateurin
5283bb7c2f
chore(deps): Update nextcloud/openapi-extractor to v1.8.2
Signed-off-by: provokateurin <kate@provokateurin.de>
6 months ago
Nextcloud bot
983fd30285
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
6 months ago
Côme Chilliet
5c9c2fe5e2
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>
6 months ago
Nextcloud bot
3712ba2c2a
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
6 months ago
Robin Appelman
f3850b141a
fix: fix trashbin restore events
Signed-off-by: Robin Appelman <robin@icewind.nl>
8 months ago
Nextcloud bot
22a51aace2
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
6 months ago
Nextcloud bot
1518ded8b1
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
7 months ago
kramo
718cf4e15d
fix: Remove redundant toast notifications
Since these actions already have highly visible visual confirmation,
no extra notifications are needed.
Split out from #54202
Signed-off-by: kramo <git@kramo.page>
7 months ago
Ferdinand Thiessen
6b0bce8a2d
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>
7 months ago
Nextcloud bot
1064c676cc
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
7 months ago
Nextcloud bot
2211390ca5
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
7 months ago
Nextcloud bot
993355af9f
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
7 months ago
Nextcloud bot
786bdb198e
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
7 months ago
skjnldsv
3e7dc97cae
feat: replace material icons with outline versions
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
7 months ago
Nextcloud bot
88f3ee0ac0
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
7 months ago
Nextcloud bot
dc910cf584
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
7 months ago
Nextcloud bot
e5572abb51
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
8 months ago
Kent Delante
1ccf491a9e
fix(files_trashbin): Expire trashbin items when space is needed
Signed-off-by: Kent Delante <kent.delante@proton.me>
9 months ago
Nextcloud bot
26210e205d
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
8 months ago
Nextcloud bot
7383858a8f
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
8 months ago
Robin Appelman
aa15f9d16d
chore: run rector
Signed-off-by: Robin Appelman <robin@icewind.nl>
8 months ago
Nextcloud bot
eabbde31c7
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
8 months ago
Ferdinand Thiessen
5981b7eb51
chore: apply new CSFixer rules
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
# Conflicts:
# apps/settings/lib/SetupChecks/PhpOpcacheSetup.php
8 months ago