aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/BackgroundJob
Commit message (Collapse)AuthorAgeFilesLines
* feat(dav): increase default calendar subscription refresh rate to one daydav-webcal-default-refresh-rateThomas Citharel2024-11-201-2/+2
| | | | | | | | With the performance benefits from #43541 it makes sense Reference https://github.com/nextcloud/server/issues/46171#issuecomment-2487910923 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* refactor(apps): Use constructor property promotion when possibleprovokateurin2024-10-219-89/+49
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore(apps): Apply new rector configuration to autouse classesCôme Chilliet2024-10-151-2/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Use more gender neutral languageprovokateurin2024-10-141-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(BackgroundJobs): Adjust intervals and time sensitivitiesprovokateurin2024-10-081-2/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: Apply rector configuration to apps folderCôme Chilliet2024-09-201-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-192-3/+5
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: adjust code to adhere to coding standardAnna Larch2024-09-051-6/+6
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-257-11/+11
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #45532 from nextcloud/feat/publish-resources-room-updateRichard Steinmetz2024-06-251-408/+7
|\ | | | | feat: implement public OCP api to update resources and rooms
| * feat: implement public OCP api to update resources and roomsRichard Steinmetz2024-05-271-408/+7
| | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | fix(userstatus): Fix user status automation in real-life scenarioJoas Schilling2024-06-251-6/+2
| | | | | | | | | | | | | | | | | | | | | | Order of applying: - Out-of-office - Availability - Call - Meeting - User status Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix(caldav): automatically delete outdated scheduling objectsAnna Larch2024-05-311-0/+35
| | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | chore: Add SPDX headerAndy Scherzinger2024-05-2713-260/+26
|/ | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(dav): Add retention time to sync token cleanupChristoph Wurst2024-03-211-2/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #43387 from nextcloud/fix/migrate-away-from-ilogger-in-jobsCôme Chilliet2024-02-081-36/+15
|
* Revert "Merge branch 'master' of github.com:nextcloud/server"Louis Chemineau2024-02-081-15/+36
| | | | | This reverts commit d9d60238c7aaab9c61bf2d50c15aa59bc88c8975, reversing changes made to ba3fdb0cdcfbb84f0080a2146a4ba2f01569915d.
* fix!: Migrate jobs away from deprecated interfacesCôme Chilliet2024-02-081-36/+15
| | | | | | BREAKING CHANGE: Removed ILogFactory::getCustomLogger deprecated method Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(ooo): add new ooo status with new emojiAnna Larch2023-12-181-4/+4
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* enh(userstatus): add OOO automation and remove calendar automationAnna Larch2023-11-281-57/+112
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* feat(dav): dispatch out-of-office started and ended eventsRichard Steinmetz2023-11-231-0/+92
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-239-47/+46
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix(caldav): Cast calendar objects id to int when building indexChristoph Wurst2023-06-061-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(caldav): Close DB cursor in reminder index background jobChristoph Wurst2023-06-051-2/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(user_status): Fix the user status automation on the day availability ↵Joas Schilling2023-03-131-4/+13
| | | | | | rules are adjusted Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(dav): Handle no next potential toggle in availability detectionThomas Citharel2023-03-101-0/+7
| | | | | Fixes: min(): Array must contain at least one element at /var/www/nc/nextcloud/apps/dav/lib/BackgroundJob/UserStatusAutomation.php#142 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Merge pull request #36260 from ↵Joas Schilling2023-01-231-1/+1
|\ | | | | | | | | nextcloud/bugfix/noid/fix-user-availability-selection Fix WHERE condition when selecting user's availability for the status…
| * Fix WHERE condition when selecting user's availability for the status automationJoas Schilling2023-01-201-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | chore(dav): Make json_encode and json_decode throw on errorChristoph Wurst2023-01-191-1/+1
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>