summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV
Commit message (Collapse)AuthorAgeFilesLines
...
| * Move iMIP to it's own interfaceAnna Larch2022-11-031-9/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and clean up the code a bit. Added: - author Removed: - unused imports Changed: - moved iMIP handling to new interface - pointed code to new implementation Signed-off-by: Anna Larch <anna@nextcloud.com>
* | Switch to DisplayNameCache for CardDAVAnna Larch2022-11-031-1/+1
| | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | Switch to DisplayNameCache for CalDAVAnna Larch2022-11-033-30/+3
|/ | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Add a background job to prune outdated sync tokensThomas Citharel2022-10-271-0/+14
| | | | | | | | 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 #34415 from nextcloud/fix/caldav-backend-causal-readsChristoph Wurst2022-10-061-20/+29
|\ | | | | Fix causal reads in CalDAV backend
| * Fix causal reads in CalDAV backendChristoph Wurst2022-10-031-20/+29
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Add isDeleted property to OCP\Calendar\ICalendarThomas Citharel2022-10-031-0/+7
|/ | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Merge pull request #34388 from ↵Anna2022-10-031-0/+6
|\ | | | | | | | | sylvainmetayer/feat_2464_exclude_contact_from_birthday_calendar feat(contacts): exclude contact from birthday calendar
| * fix: define exclusion key as constantSylvain2022-10-021-2/+3
| | | | | | | | Signed-off-by: Sylvain <git@sylvain.dev>
| * feat(contacts): exclude contact from birthday calendarSylvain2022-10-021-0/+5
| | | | | | | | Signed-off-by: Sylvain <git@sylvain.dev>
* | Merge pull request #33608 from nextcloud/perf/improve-getCalendarsForUsersblizzz2022-10-031-1/+10
|\ \ | | | | | | Remove the loop of calendars when only one is needed
| * | Remove the loop of calendars when only one is neededAnna Larch2022-10-011-1/+10
| |/ | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* / Add typings to OCP\Calendar\ICalendar and implementationThomas Citharel2022-10-031-19/+13
|/ | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Check calendar URI length before creationAnna Larch2022-08-261-0/+7
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Support iMIP invitations from MailAnna Larch2022-08-224-8/+69
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Use user name cache in activity providersJoas Schilling2022-08-191-22/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix typos in apps/dav subdirectoryluz paz2022-07-264-5/+5
| | | | | | Found via `codespell -q 3 -S l10n -L jus ./apps/dav` Signed-off-by: luz paz <luzpaz@github.com>
* Merge pull request #33251 from ↵Anna2022-07-261-13/+58
|\ | | | | | | | | cneukom/feature/birthday-calendar-reminder-settings Birthday Calendar Reminder Setting
| * fix possibly null variablesCédric Neukom2022-07-171-1/+8
| | | | | | | | Signed-off-by: Cédric Neukom <github@webguy.ch>
| * Respect user settings when generating alerts for birthday calendarCédric Neukom2022-07-171-13/+51
| | | | | | | | Signed-off-by: Cédric Neukom <github@webguy.ch>
* | Don't try to purge objects from the birthday calendar when it doesn't existThomas Citharel2022-07-251-0/+3
| | | | | | | | | | | | | | | | Doesn't matter much as it's been recreated afterwards with (ensureCalendarExists). Closes #29617 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Merge pull request #32869 from nextcloud/dav-no-deleted-user-activitiesblizzz2022-07-231-1/+11
|\ \ | |/ |/| Avoid calendar & addressbook activities being created on user being deleted
| * Avoid calendar & addressbook activities being created on user being deletedThomas Citharel2022-06-141-1/+11
| | | | | | | | | | | | | | | | Addressbooks and Calendar data are destroyed through hook OC_User::pre_deleteUser, which when it reaches the backends sends AddressBookDeletedEvent/CalendarDeletedEvent typed events, which in turns generates activities that aren't deleted until they expire. This can probably lead to old activities being visible for a new user created with the same uid. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Merge pull request #32884 from nextcloud/typing/dav-sharingCarl Schwan2022-06-222-75/+45
|\ \ | | | | | | Add typing to Sharing Backend
| * | Add typing to Sharing BackendCarl Schwan2022-06-222-75/+45
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Spelling unificationValdnet2022-06-151-1/+1
| | | | | | | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* | | l10n: Spelling unificationValdnet2022-06-151-12/+12
| | | | | | | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* | | l10n: Spelling unificationValdnet2022-06-151-1/+1
|/ / | | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* / Handle the move operation properly between shared calendarsThomas Citharel2022-06-146-10/+166
|/ | | | | | | | - Introduce a new CalendarObjectMovedEvent typed event dedicated for this operation - Handle the event in the activity backend and add new appropriate activity subjects Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Merge pull request #31622 from ↵Vincent Petry2022-06-101-34/+16
|\ | | | | | | | | nextcloud/increase-loglevel-modernize-refresh-webcal Increase loglevel of Webcal parsing errors and modernize code
| * Increase loglevel of Webcal parsing errors and modernize codeThomas Citharel2022-05-171-34/+16
| | | | | | | | | | | | Closes #31612 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Merge pull request #32361 from nextcloud/dav-scheduling-default-calendarVincent Petry2022-06-103-7/+48
|\ \ | | | | | | Put calendar invites into the user's first available calendar
| * | Put calendar invites into the user's first available calendarThomas Citharel2022-05-123-7/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If there's no default calendar and we can't find anything with URI 'personal', instead of creating a new one, start by using the first "real personal calendar" available. If not, then we create the default one. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | Merge pull request #32364 from nextcloud/dav-listenersVincent Petry2022-06-102-105/+14
|\ \ \ | | | | | | | | 🧹 Remove all legacy event dispatchers from CalDAV & CardDAV backends
| * | | Add some typed propertiesThomas Citharel2022-05-171-37/+13
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
| * | | Remove all legacy event dispatchers from CalDAV & CardDAV backendsThomas Citharel2022-05-172-68/+1
| | |/ | |/| | | | | | | | | | | | | Move them to proper EventListeners and test them Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | Merge pull request #28703 from nextcloud/enhancement/caldav-reminders-loggingChristoph Wurst2022-06-021-13/+28
|\ \ \ | | | | | | | | Debug log what happens during reminders processing
| * | | Debug log what happens during reminders processingChristoph Wurst2022-06-011-13/+28
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Merge pull request #32471 from nextcloud/fix-wrong-dav-activitiesChristoph Wurst2022-06-011-2/+3
|\ \ \ \ | |/ / / |/| | | Make sure activities are not created when a deleted calendar object expires
| * | | Make sure activities are not created when a deleted calendar object expiresThomas Citharel2022-05-181-2/+3
| |/ / | | | | | | | | | | | | | | | Closes https://github.com/nextcloud/activity/issues/784 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | Also trim the nameJoas Schilling2022-05-251-1/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Fix handling events without names in activitiesJoas Schilling2022-05-241-2/+2
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Rename user-agent used by the Webcal Refresh ServiceThomas Citharel2022-05-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Some services don't like the "crawler" inside the previous user-agent. Closes https://github.com/nextcloud/calendar/issues/4232 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | Add email validationAnna Larch2022-05-181-2/+9
|/ / | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | Fix more psalm issuesCarl Schwan2022-05-169-128/+43
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Cleanup davCarl Schwan2022-05-052-6/+4
|/ | | | | | | - Remove unused class AppEnabledPlugin - Add more type hinting when possible Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Migrate last instances of $server::getLogger() from davCôme Chilliet2022-05-021-1/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Migrate dav application from ILogger to LoggerInterfaceCôme Chilliet2022-05-0210-122/+42
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Handle processing reminders for calendar objects with an infinite numberThomas Citharel2022-04-271-0/+5
| | | | | | | | of recurrences Closes #29896 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Fix warning about optional parameter before required oneCôme Chilliet2022-04-121-5/+8
| | | | | | | Fixes this warning: PHP Deprecated: Required parameter $logger follows optional parameter $principalPrefix in /var/www/html/apps/dav/lib/CalDAV/CalendarRoot.php on line 37 Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>