Ferdinand Thiessen
5981b7eb51
chore: apply new CSFixer rules
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
# Conflicts:
# apps/settings/lib/SetupChecks/PhpOpcacheSetup.php
2025-07-01 16:26:50 +07:00
provokateurin
381077028a
refactor(apps): Use constructor property promotion when possible
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-21 12:37:59 +07:00
Côme Chilliet
1580c8612b
chore(apps): Apply new rector configuration to autouse classes
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-15 10:40:25 +07:00
Anna Larch
8af7ecb257
chore: adjust code to adhere to coding standard
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-05 21:23:38 +07:00
Daniel Kesselberg
af6de04e9e
style: update codestyle for coding-standard 1.2.3
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-08-25 19:34:58 +07:00
Joas Schilling
bfd96b070b
fix(trashbin): Improve documentation of since/until timestamps of restore trashbin
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-30 20:33:56 +07:00
Andy Scherzinger
afa48a4e0e
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-02 20:00:00 +07:00
Robin Windey
d7a73ffdf1
Rename since/until in verbose message
...
Signed-off-by: GitHub <noreply@github.com>
2023-08-18 07:25:39 +07:00
Robin Windey
acf0b4ce34
Code adjustments according to PR review
...
* Delete unnecessary function docs
* Rename parameters to 'since' and 'until'
* Style: use '&&' instead of 'and'
* Add types
Signed-off-by: GitHub <noreply@github.com>
2023-08-18 07:25:39 +07:00
Robin Windey
52d77eb9fe
Make scope parsing more readable
...
Signed-off-by: GitHub <noreply@github.com>
2023-08-18 07:25:39 +07:00
Robin Windey
ee66518ca2
Decouple from groupfolders app & remove PSALM warnings
...
Signed-off-by: GitHub <noreply@github.com>
2023-08-18 07:25:39 +07:00
Robin Windey
98dd02b467
Let occ trashbin:restore restore also from groupfolders and add additional filters
...
* Using the TrashManager allows access to all deleted files
* Add 'scope' parameter to choose where to restore from (user or groupfolders)
* Add 'restore-from' and 'restore-to' date parameters to filter files to be
restored by their deletion date
* Add 'dry-run' flag to be able to see which files would be restored and being
able to adjust the filter parameters accordingly
Signed-off-by: GitHub <noreply@github.com>
2023-08-18 07:25:39 +07:00
Christopher Ng
7c430a8afc
fix(trashbin): Truncate long filenames
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-05-31 19:06:42 +07:00
Carl Csaposs
6f6ccfcc18
Sort files by deletion time before restoring in RestoreAllFiles
...
Restoring in order of most recently deleted preserves nested file paths.
See https://github.com/nextcloud/server/issues/31200#issuecomment-1130358549
Signed-off-by: Carl Csaposs <carl@csaposs.com>
2022-07-04 17:13:15 +07:00
Robin Appelman
90cfa31533
more concise output, code style fixes
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-30 15:44:02 +07:00
cahogan
dfe045699b
Add trashbin:restore occ command
...
Signed-off-by: cahogan <caitlin.hogan@swiftsolar.com>
2022-03-30 15:44:02 +07:00