aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Command
Commit message (Collapse)AuthorAgeFilesLines
* refactor: Extend rector to core/refactor/rector-coreprovokateurin2025-05-152-8/+6
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #52378 from nextcloud/transfer-external-storageRobin Appelman2025-05-141-2/+44
|\ | | | | feat: add option to include external storage when transfering files
| * feat: add option to include external storage when transfering filesRobin Appelman2025-05-071-2/+44
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | feat(FilenameValidator): allow to sanitize filenamesfeat/ocp-sanitize-filenamesFerdinand Thiessen2025-05-131-34/+16
|/ | | | | | Share the filename sanitizing with the OCP filename validator. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #52441 from nextcloud/scan-locked-errorKate2025-05-061-0/+7
|\
| * fix: better error message when trying to scan a folder that is already being ↵scan-locked-errorRobin Appelman2025-04-251-0/+7
| | | | | | | | | | | | scanned Signed-off-by: Robin Appelman <robin@icewind.nl>
* | feat(files): add command to (dis)enable windows compatible filenamesFerdinand Thiessen2025-04-301-0/+52
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | feat(files): add command to automatically rename filenamesFerdinand Thiessen2025-04-301-0/+168
|/ | | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: move streaming output helps to command base classRobin Appelman2025-03-313-60/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat: rework object listingRobin Appelman2025-03-313-38/+42
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat: add command to list orphan objectsRobin Appelman2025-03-313-72/+151
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat: add command to list objectsRobin Appelman2025-03-311-0/+119
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat: add command to get object metadataRobin Appelman2025-03-311-0/+79
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* chore: Apply new rector configuration to apps folderCôme Chilliet2025-02-132-6/+8
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #49407 from nextcloud/feat/occ-files-cleanup-helpDaniel2024-11-211-1/+2
|\ | | | | feat(files): Add help to / update description of `files:cleanup`
| * feat(occ): Add help and update description for `files:cleanup`feat/occ-files-cleanup-helpJosh2024-11-201-1/+2
| | | | | | Signed-off-by: Josh <josh.t.richards@gmail.com>
* | refactor(files): Use functions for all in `occ files:cleanup`refactor/files-cleanupJosh2024-11-201-12/+18
|/ | | | | Tidying. Signed-off-by: Josh <josh.t.richards@gmail.com>
* refactor(apps): Use constructor property promotion when possibleprovokateurin2024-10-211-1/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore(db): Correctly apply query typesGit'Fellow2024-10-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | fix: psalm fix: error fix: add batch fix: fatal error fix: add batch chore: add batch chore: add batch fix: psalm fix: typo fix: psalm fix: return bool fix: revert Manager
* chore(apps): Apply new rector configuration to autouse classesCôme Chilliet2024-10-152-2/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Apply rector configuration to apps folderCôme Chilliet2024-09-202-11/+11
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-191-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: adjust code to adhere to coding standardAnna Larch2024-09-051-1/+1
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* fix: implement sharding compatible cleanup for various bitsRobin Appelman2024-08-281-36/+66
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-2513-47/+47
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-2914-278/+33
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* feat: cleanup filecache_extended items by defaultRobin Appelman2024-04-151-2/+2
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* feat: remove orphaned entries from filecache_extendedDaniel Kesselberg2024-04-151-1/+37
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* use correct mode constant of files:scan's --path optionRobin Appelman2024-02-241-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-239-13/+8
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* add named metadata eventMaxence Lange2023-11-201-6/+14
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Support getting and setting metadata in DAV requestsLouis Chemineau2023-11-081-7/+0
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* IFilesMetadataMaxence Lange2023-11-071-3/+12
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Merge branch 'master' into refactor_files_app_commandsFaraz Samapoor2023-08-013-1/+282
|\ | | | | | | Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
| * Merge pull request #38860 from nextcloud/scanner-change-summaryRobin Appelman2023-07-201-1/+31
| |\ | | | | | | add summary of detected changes to files:scan output
| | * add summary of detected changes to files:scan outputRobin Appelman2023-06-161-1/+31
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | add commands to copy/move filesRobin Appelman2023-07-122-0/+255
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Fixes Psalm's "InvalidArgument" error.Faraz Samapoor2023-07-121-1/+1
| | | | | | | | | | | | | | I just removed the return type from the "exceptionErrorHandler". There is in fact a hacky solution, that I didn't like: https://github.com/vimeo/psalm/issues/3571 Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* | Fixes Psalm's "LessSpecificReturnStatement" error.Faraz Samapoor2023-07-121-2/+3
| | | | | | | | Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* | Refactors files app commands.Faraz Samapoor2023-07-1212-211/+156
|/ | | | | | To improve code readability. Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* add utility command for object store objectsRobin Appelman2023-06-094-0/+352
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #37971 from nextcloud/info-file-getRobin Appelman2023-05-103-0/+291
|\ | | | | Add commands for basic file actions
| * minor fixes for get/putRobin Appelman2023-05-092-6/+19
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * add command to write a fileRobin Appelman2023-05-043-2/+84
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * move get/delete commands to files namespace, make get take the output as ↵Robin Appelman2023-05-042-0/+196
| | | | | | | | | | | | argument instead of option Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Add an error counterCôme Chilliet2023-05-041-20/+17
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Only show error stack trace on very verbose levelCôme Chilliet2023-05-021-6/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Do not stop at the first PHP error/warning in files:scanCôme Chilliet2023-04-271-11/+15
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* better error messages if the users home is not writable during scanningRobin Appelman2023-04-051-0/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* [Fix]: scan-app-data conversionEWouters2023-01-031-1/+2
| | | | | | | | | | | | Adapted from sugestions by @Hiyoal in #34283 and @st3iny in #35935. See https://github.com/nextcloud/server/issues/34283#issuecomment-1288075064 and https://github.com/nextcloud/server/pull/35935#discussion_r1059905594. Closes #34283. Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud> Signed-off-by: EWouters <6179932+EWouters@users.noreply.github.com>