summaryrefslogtreecommitdiffstats
path: root/apps/files/lib/BackgroundJob
Commit message (Collapse)AuthorAgeFilesLines
* Adapt more code to migration to LoggerInterfaceCôme Chilliet2022-03-241-11/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix testsRobin Appelman2021-12-021-4/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* stop background scan early if a users still has unscanned files after ↵Robin Appelman2021-12-021-1/+7
| | | | | | background scan Signed-off-by: Robin Appelman <robin@icewind.nl>
* find users for background scan one by oneRobin Appelman2021-12-021-22/+20
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-045-7/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* only run the background scanner for users that have unscanned filesRobin Appelman2020-10-201-26/+41
| | | | | | instead of looping trough all users and seeing if they have unscanned files, we do a single query to find all storages that need scanning and run trough the users for them Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update license headers for 19Christoph Wurst2020-04-292-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all constantsChristoph Wurst2020-04-102-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-104-5/+1
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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-20/+13
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-055-5/+28
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add a transfer ownership background jobRoeland Jago Douma2019-12-021-0/+183
| | | | | | | | | | | | This job can be initiated by a user to transfer a file/folder to a target user. The target user will have to accept the job. Once that is done the transfers is initiated in the background. Both parties get notified when the job is done. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Code style fixes and cleanupJulius Härtl2019-11-271-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add background job for token cleanupJulius Härtl2019-11-271-0/+31
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* add option to disable background scanning of filesRobin Appelman2019-11-051-0/+4
| | | | | | | when using (only) object store this job doesn't do any scanning anyway, but all the setup can still be expensive on large setups Signed-off-by: Robin Appelman <robin@icewind.nl>
* misc phpdoc fixesMax Kovalenko2019-05-271-0/+1
| | | | Signed-off-by: Max Kovalenko <mxss1998@yandex.ru>
* Fix apps/Joas Schilling2016-07-213-4/+7
|
* Update license headersLukas Reschke2016-05-262-2/+2
|
* Move Files app to PSR-4 (#24569)Joas Schilling2016-05-123-0/+324
* Move lib/ of Files app to PSR-4 * Move tests to PSR-4