aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Command/ScanAppData.php
Commit message (Collapse)AuthorAgeFilesLines
* chore: Apply rector configuration to apps folderCôme Chilliet2024-09-201-4/+4
| | | | 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>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-291-26/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* 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-121-36/+24
| | | | | | To improve code readability. Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* [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>
* Adapt more code to migration to LoggerInterfaceCôme Chilliet2022-03-241-1/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Move storage encoding compatibility warning logicVincent Petry2021-11-171-15/+2
| | | | | | | | | | | The encoding check for file names is now happening the Scanner, and an event will be emitted only if the storage doesn't contain the encoding compatibility wrapper. The event is listened to by the occ scan command to be able to display a warning in case of file name mismatches when they have NFD encoding. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-3/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix database connection usage in the files scannerChristoph Wurst2021-01-111-9/+11
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2020-12-301-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #22916 from J0WI/unifiy-links-to-php.netRoeland Jago Douma2020-12-221-1/+1
|\ | | | | Unify links to php.net
| * Unify links to php.netJ0WI2020-09-171-1/+1
| | | | | | | | | | | | Update all links to https://www.php.net/ Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* | Format code to a single space around binary operatorsChristoph Wurst2020-10-051-1/+1
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Also always return in app commandsJoas Schilling2020-06-261-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Set exit code if something went wrong.Daniel Kesselberg2020-04-261-12/+20
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Add folder argument to files:scan-app-dataRoeland Jago Douma2020-04-221-2/+16
| | | | | | | If you need to rescan something but don't feel like rescanning your whole preview stash. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headers for 18Christoph Wurst2019-12-201-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add typed events for the filesystem/scannerChristoph Wurst2019-12-131-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+2
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix occ files:scan-app-data elapsed timeJoel S2019-02-221-4/+3
| | | | Signed-off-by: Joel S <joel.devbox@protonmail.com>
* Revert changes not related to $verboseDaniel Kesselberg2018-10-221-4/+4
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Replace $verbose with VERBOSITY_VERBOSE for scanFiles methodDaniel Kesselberg2018-10-211-63/+27
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Rename method to abortIfInterruptedDaniel Kesselberg2018-10-081-4/+4
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Adjust code for changed method signatureDaniel Kesselberg2018-10-071-14/+6
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Remove unneeded semicolon and parenthesesMorris Jobke2018-01-261-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #7075 from nextcloud/remove-unused-variablesRoeland Jago Douma2017-11-071-1/+1
|\ | | | | Remove unused variables
| * Remove unused variablesMorris Jobke2017-11-061-1/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Update license headersMorris Jobke2017-11-061-2/+22
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unused use statementsMorris Jobke2017-04-221-2/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add PHPDoc and handle exception in ScanAppData as wellMorris Jobke2017-04-191-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use proper name and code styleMorris Jobke2017-03-221-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add files:scanAppData commandRoeland Jago Douma2017-03-221-0/+284
Fixes https://github.com/nextcloud/server/issues/3041 Add a dedicated command to scan the special appdata dir Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>