summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV
Commit message (Collapse)AuthorAgeFilesLines
* fix(dav): Avoid date diffing if PHP is buggyChristoph Wurst2023-11-241-9/+23
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(dav): expand recurrences when searchingRichard Steinmetz2023-09-261-1/+12
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* fix(caldav): add webroot to objectid for activitiesDaniel Kesselberg2023-09-181-1/+1
| | | | | | | | | A calendar uri includes the webroot: example.com/cloud/remote.php/dav/calendars/alice/personal/ The calendar app uses base64(calendar uri) as identifier for calendar objects. Without this patch the links from activity app to calendar app don't work for installations in a subdirectory. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(CalDAV): check birthday calendar ownerAnna Larch2023-09-061-5/+14
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* cache calendar objects from calendarQueryRobin Appelman2023-08-141-6/+31
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* preload shares for calendars when listing calendarsRobin Appelman2023-08-142-0/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* ensure outerquery ->where() function doesn't clobber earier ->andWhere()Jamie McClelland2023-08-101-4/+4
| | | | Signed-off-by: Jamie McClelland <jm@mayfirst.org>
* optimize calendar search queryJamie McClelland2023-08-101-1/+1
| | | | | | see https://github.com/nextcloud/calendar/issues/4758 Signed-off-by: Jamie McClelland <jm@mayfirst.org>
* style(caldav): improve getDenormalizedData methodThomas Citharel2023-07-121-2/+2
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Fix creating events with old (< unix time) lastoccurenceThomas Citharel2023-07-121-1/+1
| | | | | | Closes #20804 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* fix(dav): close cursor when fetching max idRichard Steinmetz2023-07-111-1/+3
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* Issue #36644: Fix pruneOutdatedSyncTokens for CalDAVChristof Arnosti2023-07-041-2/+11
| | | | | | | pruneOutdatedSyncTokens accidentally deletes all entries of the calendarchanges table instead of leaving $limit elements in the table Signed-off-by: Christof Arnosti <charno@charno.ch>
* fix(caldav): Ignore invalid events for reminder generationChristoph Wurst2023-06-011-0/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #37785 from nextcloud/backport/36217/stable26Arthur Schiwon2023-05-174-10/+15
|\ | | | | [stable26] Handle reminders where calendar name is null
| * Handle reminders where calendar name is nullThomas Citharel2023-04-184-10/+15
| | | | | | | | | | | | | | | | | | This adds an interface change, but that's not a public API. We're handling this in the providers and not in ReminderService because the fallback is translated with the user's language. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | fix event move issueMaximilian Martin2023-04-191-2/+2
|/ | | | Signed-off-by: Maximilian Martin <maximilian_martin@gmx.de>
* fix(dav): add string comparison for diffAnna Larch2023-04-121-3/+3
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Merge pull request #36935 from nextcloud/fix/noid/imip-plugin-null-hardeningRichard Steinmetz2023-03-022-8/+23
|\ | | | | fix(caldav): harden null handling of iMip scheduling method
| * fix(caldav): harden null handling of iMip scheduling methodRichard Steinmetz2023-03-022-8/+23
| | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | Merge pull request #36594 from nextcloud/fix-handling-of-invitationsblizzz2023-03-021-8/+29
|\ \ | |/ |/| fix(caldav): Correctly handle calendar recreation for invitations when the current calendar is in the trashbin
| * fix(caldav): Correctly handle calendar recreation for invitations when the ↵Thomas Citharel2023-02-091-8/+29
| | | | | | | | | | | | | | | | current calendar is in the trashbin Follow-up to #32361, see https://github.com/nextcloud/calendar/issues/4098 for details Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | fix(caldav): convert iMip recipient name to a stringRichard Steinmetz2023-02-281-1/+1
| | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | Merge pull request #34375 from nextcloud/fix/trashbin-uidDaniel2023-02-211-4/+6
|\ \ | | | | | | fix(dav) Handle Calendar trashbin UID conflicts by removing the deleted calendar object
| * | Allow reimporting prev. deleted items by deleting trashbin itemAnna Larch2023-02-131-4/+6
| | | | | | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | | l10n: Fixed grammarrakekniven2023-02-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Reported at Transifex. Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com> Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* | | fix(caldav): Fix reminder timezone drift for all-day eventsChristoph Wurst2023-02-092-4/+51
| |/ |/| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #29010 from mattian/fix/19218/birthday-leap-dayChristoph Wurst2023-02-081-25/+23
|\ \ | |/ |/| dav: fix birthday calendar event generation for leap days
| * dav: fix birthday calendar event generation for leap daysMattia Narducci2023-02-061-25/+23
| | | | | | | | | | | | | | | | | | | | | | Fix generation of birthday calendar events for the 29th of February. A recurring event for the 29th of February in the (default) Gregorian calendar system would only generate instances in leap years. Fix this behaviour by generating recurring events for the last day of February, the 29th on leap years and the 28th otherwise. Signed-off-by: Mattia Narducci <mattianarducci1@gmail.com>
* | Removed catch of ValueError as we cannot know if it’s >2038 or <1970Côme Chilliet2023-02-071-11/+2
| | | | | | | | | | | | Also fixed numericToString to correctly convert float to int if it fits Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Improve behavior with dates on 32bits and fix tests or skip themCôme Chilliet2023-02-071-16/+23
|/ | | | | | | We do not support events after 2038 on 32bits but still behave better when date range start/end is after 2038. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Use recurrence instance to build iMip emailAnna Larch2023-02-023-499/+832
| | | | | | | | instead of the main VEVENT of a repeating event Fixes part of https://github.com/nextcloud/calendar/issues/3919 Signed-off-by: Anna Larch <anna@nextcloud.com>
* Migrate to Symfony MailerCôme Chilliet2023-02-021-1/+6
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Do not reuse query builder objects in DAV account deletionJoas Schilling2023-02-011-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(caldav): Fix wrong Psalm report for nullable calendar dataChristoph Wurst2023-01-261-1/+0
| | | | | | | | > Docblock-defined type Sabre\VObject\Component\VCalendar for $vcalendar is never falsy ^ is a lie Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #36254 from nextcloud/chore/dav/throw-json-encode-decodeChristoph Wurst2023-01-231-1/+1
|\ | | | | chore(dav): Make json_encode and json_decode throw on error
| * 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>
* | chore(dav): Remove useless var tagChristoph Wurst2023-01-191-3/+0
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(dav): catch MaxInstancesExceedeException for recurring events without ↵Anna Larch2023-01-181-34/+39
| | | | | | | | end date Ref https://github.com/nextcloud/calendar/issues/4811 Signed-off-by: Anna Larch <anna@nextcloud.com>
* Hook into sabre event lifecycle for iMip MessagesAnna Larch2023-01-051-1/+1
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* [WIP] Add logging to Scheduling PluginAnna Larch2023-01-042-5/+14
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Merge pull request #35876 from bennet0496/patch-mail-headerJoas Schilling2023-01-041-0/+2
|\ | | | | Adding option to set Auto-Submitted email header
| * update usages of AutoSubmittedValue to AutoSubmitted::VALUE_Bennet Becker2023-01-031-2/+2
| | | | | | | | Signed-off-by: Bennet Becker <dev@bennet.cc>
| * Setting Auto-Submitted header for calendar events and new user mailBennet Becker2022-12-231-0/+2
| | | | | | | | Signed-off-by: Bennet Becker <bbecker@pks.mpg.de>
* | Fix psalm issues related to signature changes from PHP 8.0Côme Chilliet2022-12-292-27/+20
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #34807 from nextcloud/fix/compute-notification-parsed-subjectCôme Chilliet2022-12-191-16/+2
|\ | | | | Compute notification parsed subject from rich subject when possible
| * Get rid of all useless calls to setParsedSubject now that setRichSubject is ↵Côme Chilliet2022-11-291-16/+2
| | | | | | | | | | | | able to do it Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Improve typing on new methodsCôme Chilliet2022-12-052-8/+6
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Attempt to fix CalendarImpl testsJulius Härtl2022-11-092-7/+15
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix duplicate event email notificationsRichard Steinmetz2022-11-046-13/+49
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* Merge pull request #34893 from nextcloud/fix/move-imip-to-separate-interfaceChristoph Wurst2022-11-031-9/+6
|\ | | | | Move iMIP to its own interface