aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/BackgroundJob
Commit message (Collapse)AuthorAgeFilesLines
* Add a background job to prune outdated sync tokensThomas Citharel2022-10-271-0/+64
| | | | | | | | We remove all outdated sync tokens, based on their auto-incremented ID. By default we only keep the last 10 000, but this can be configurable. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Merge pull request #32956 from nextcloud/fix/upload-folder-wrong-contentVincent Petry2022-07-271-5/+16
|\ | | | | Handle file contained inside the uploads folder
| * Handle file contained inside the uploads folderCarl Schwan2022-06-211-5/+16
| | | | | | | | | | | | Fix #32450 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Remove unused importJoas Schilling2022-07-011-1/+0
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add status automationJoas Schilling2022-07-011-2/+12
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix determination of cron job runJoas Schilling2022-07-011-8/+91
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | User status automation background jobJoas Schilling2022-07-011-0/+96
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix more psalm issuesCarl Schwan2022-05-164-20/+11
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Migrate dav application from ILogger to LoggerInterfaceCôme Chilliet2022-05-021-11/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Mark DAV background jobs as time sensitive/insensitiveChristoph Wurst2022-02-227-37/+47
| | | | | | | * As a bonus they are now all using OCP base classes * Strict typing is now enforced Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the new option to signaling insensitivityJoas Schilling2022-02-071-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Clean up the DAV resource background jobChristoph Wurst2021-12-021-36/+43
| | | | | | | | * Replace deprecated execute with executeQuery and executeStatement * Close open cursors * Drop phpdoc that only mirrors php type hints Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0410-26/+16
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add a trashbin for calendars and calendar objectsChristoph Wurst2021-05-312-1/+52
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Clean up reminder actions and call methods directlyChristoph Wurst2021-05-071-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add some closure return typesRoeland Jago Douma2021-02-141-1/+1
| | | | | | Found by psalm Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Bump doctrine/dbal from 2.12.0 to 3.0.0Christoph Wurst2021-01-081-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use proper OCP\BackgroundJobs\JobRoeland Jago Douma2020-11-251-2/+4
| | | | | | And typehunt the IJobList Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-052-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headers for 19Christoph Wurst2020-04-294-0/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-106-19/+16
| | | | | | | | | | | | | | | 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>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-093-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Catch NoUserException when running the upload cleanup as cronjobJulius Härtl2020-04-031-1/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-312-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Catch NotFoundException when getting the user folderJulius Härtl2020-02-261-3/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Introduce a default refresh rate app setting for calendar subscriptionsThomas Citharel2020-02-211-3/+13
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Move RefreshWebcalJob logic to a proper service so that it may be calledThomas Citharel2020-02-101-370/+19
| | | | | | independently Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* RefreshWebcalJob: Fix reading subscription from database leading to ignored ↵Georg Ehrke2020-01-301-12/+40
| | | | | | refreshRate Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Support more IPv6 addresses in the RefreshWebcalJobGeorg Ehrke2019-12-121-0/+11
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Update license headersChristoph Wurst2019-12-059-15/+36
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-225-3/+8
| | | | | | | | | | | * 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 missing parent constructor call in DAV reminder jobChristoph Wurst2019-08-261-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Final fixesGeorg Ehrke2019-08-151-1/+1
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Add repair step to register reminder index for existing eventsGeorg Ehrke2019-08-151-0/+134
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* run send reminders background-job only when mode is not set to occGeorg Ehrke2019-08-151-4/+9
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Support event reminders (email and notifications)Thomas Citharel2019-08-151-0/+59
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* sync metadata of rooms / resources with cacheGeorg Ehrke2019-08-011-208/+294
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* RefreshWebcalJob: replace ugly Regex with standard php utilsGeorg Ehrke2019-07-021-3/+14
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Don't run repair step for every individual user, outsource that to ↵Georg Ehrke2019-05-231-0/+66
| | | | | | background job Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Add Repair step to regenerate birthday calendarGeorg Ehrke2019-02-161-0/+5
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Background job to cleanup leftover chunked uploadsRoeland Jago Douma2019-01-041-0/+87
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* cache webcal calendars on serverGeorg Ehrke2018-11-071-0/+438
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* adjust Calendar resource / room interfaces to use class implementationGeorg Ehrke2018-10-081-8/+24
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Also shorten the name of the invitation tokensJoas Schilling2018-07-121-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Shorten resource table names to allow install on oracle againJoas Schilling2018-07-121-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Include accept / decline links in CalDAV invitation emailsGeorg Ehrke2018-06-291-0/+53
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Calendar resource booking: unit tests / adding missing annotationsGeorg Ehrke2018-06-251-4/+6
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* periodically query calendar resource / room backends for updated resource / ↵Georg Ehrke2018-06-251-0/+335
| | | | | | room information Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Add backgroundjob to cleanup expired direct linksRoeland Jago Douma2018-04-261-0/+50
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>