aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/HookManager.php
Commit message (Collapse)AuthorAgeFilesLines
* refactor(apps): Use constructor property promotion when possibleprovokateurin2024-10-211-25/+7
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: Apply rector configuration to apps folderCôme Chilliet2024-09-201-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Add SPDX headerAndy Scherzinger2024-05-271-25/+4
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* chore: Improve phpdoc typing to silence psalm errorsCôme Chilliet2024-04-021-0/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-021-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-4/+4
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix: Cleanup unused imports and some type deprecationsJoas Schilling2023-07-061-1/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat(admin_audit): Migrate to non-deprecated IEventDispatcherJoas Schilling2023-07-041-6/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Minor optimizations for saving user personal informationCarl Schwan2022-05-121-5/+7
| | | | | | | | | | | | | | | | * Remove double hook: the OC_User::changeUser triggers an OC\AccountManager::userUpdated and the app is already listening to this signal in its Application definition * Make createCard not check if an card exists if we already checked previously. We also don't try to get the card if the user is disabled as we don't use the card in this case We this change we go from 100 DB requests to 80 DB requests when saving an user email address. Signed-off-by: Carl Schwan <carl@carlschwan.eu> (cherry picked from commit c6fd482edf33214a9ad4787e4cac278f871fa7c8)
* Add missing use for LoggerInterfaceCôme Chilliet2022-05-021-0/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Migrate dav application from ILogger to LoggerInterfaceCôme Chilliet2022-05-021-4/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Delete calendar subscriptions as well when deleting userThomas Citharel2021-08-131-2/+13
| | | | | | Closes #28418 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Make default calendar only contain VEVENTSThomas Citharel2021-06-251-1/+2
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Always provide theme color for default personal calendarThomas Citharel2021-06-251-0/+7
| | | | | | Before this calendar-color wasn't defined for default calendar Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-3/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add a trashbin for calendars and calendar objectsChristoph Wurst2021-05-311-1/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-2/+2
| | | | | | | | | | | | | | | 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 the license headers for Nextcloud 19Christoph Wurst2020-03-311-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-0/+1
| | | | | | | | | | | * 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>
* Add event dispatcher to OCPChristoph Wurst2019-06-251-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* be careful with mixed return values even if it may look unsuspicious…Arthur Schiwon2018-11-271-1/+3
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* more consistent namingArthur Schiwon2018-04-051-6/+6
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* admin_audit and dav listen to announce and revoke signalsArthur Schiwon2018-04-051-0/+18
| | | | | | also place them in doc Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Make sure the arrays are arraysJoas Schilling2018-01-121-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headersMorris Jobke2017-11-061-0/+5
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unused use statementsMorris Jobke2017-04-221-1/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* getUsersOwnAddressBooksJohn Molakvoæ (skjnldsv)2017-02-141-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* update system address book if the user change the personal settingsBjoern Schiessle2016-11-211-1/+8
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Introduce an event for first time login based on the last login time stampThomas Müller2016-11-141-6/+1
| | | | | | | | | | | | Use firstLogin event to trigger creation of default calendar and default address book Delay login of admin user after setup so that firstLogin event can properly be processed for the admin Fixing tests ... Skeleton files are not copied over -> only 3 cache entries are remaining Use updateLastLoginTimestamp to properly setup lastLogin value for a test user
* Translate the Contacts addressbook when it's defaultJoas Schilling2016-10-061-2/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Translate the personal calendarJoas Schilling2016-10-061-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Rename deleteAllSharesForUser() to deleteAllSharesByUser()Thomas Citharel2016-09-281-1/+1
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* fix deletion of calendarsThomas Citharel2016-09-271-5/+12
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* delete shares to an userThomas Citharel2016-09-271-0/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Adjust delete logic and ann unit testsThomas Müller2016-09-271-20/+9
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* delete also addressbooks on user deletionThomas Citharel2016-09-271-0/+9
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* delete calendars when users are deletedThomas Citharel2016-09-271-1/+13
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* more efficient check if addressbook and calendar exists for userRobin Appelman2016-08-311-4/+2
|
* Fix apps/Joas Schilling2016-07-211-1/+2
|
* Move dav app to PSR-4 (#24527)Joas Schilling2016-05-121-0/+126
* Move Application to correct namespace and PSR-4 it * Move dav app to PSR-4