aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib/BackgroundJob
Commit message (Collapse)AuthorAgeFilesLines
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-192-2/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: Apply php:cs recommendationsLouis Chemineau2024-08-281-2/+2
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix: implement sharding compatible cleanup for various bitsRobin Appelman2024-08-281-17/+69
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: adjust systemtag orphan cleanup query to work with shardingRobin Appelman2024-08-281-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: make background scan job compatible with shardingRobin Appelman2024-08-281-12/+58
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* perf: improve cleanup of tags/commentsRobin Appelman2024-08-151-9/+6
| | | | | | delete entire chunk at once instead of one-by-one Signed-off-by: Robin Appelman <robin@icewind.nl>
* chore: Add SPDX headerAndy Scherzinger2024-05-296-119/+18
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* perf: switch places that always use the first getById result to getFirstNodeByIdRobin Appelman2024-03-041-3/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-234-4/+3
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Migrate parts of files app away from depecrated Iloggerfenn-cs2023-08-132-50/+23
| | | | | | | - Migrate some backgrounds jobs, `TransferOwnership` & `DeleteOrphanedItems` - Migrate `DirectEditingController` Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* Revert "fix(performance): Do not set up filesystem on every call"Joas Schilling2023-02-211-62/+0
|
* Do not set up filesystem on every callAnna Larch2023-02-171-0/+62
| | | | | | Also remove old Oc_FileChunking logis that produced GC- collectable chunks Signed-off-by: Anna Larch <anna@nextcloud.com>
* Use TimedJob from OCP instead of OCCôme Chilliet2022-12-053-11/+18
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add a background job to delete expired tokensJoas Schilling2022-10-121-0/+61
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Port existing server code to new interfaceCarl Schwan2022-08-081-12/+11
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* 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