summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #31000 from nextcloud/backport/30974/stable23blizzz2022-03-101-4/+4
|\ | | | | [stable23] Fix: Birthday events missing after reimporting contacts
| * delete birthday calendar events permanentlyMaximilian Martin2022-02-221-4/+4
| | | | | | | | Signed-off-by: Maximilian Martin <maximilian_martin@gmx.de>
* | Consider only reminders with calendar dataThomas Citharel2022-02-182-2/+10
|/ | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Carefully filter out non matching time ranges for CalDAV searchChristoph Wurst2021-12-141-1/+35
| | | | | | | | | | | | | | | When we search for CalDAV objects in the DB we take the first and last occurence into account. For recurring events that is when they take place the very first time and the very last time. Searching in a more specific time range will still match this condition, because the recurring event starts before the end of the requested range but ends after the start of the requested range. Sabre has filters for this. If we apply them on all seach objects of a search with a time range, then only the recurring events actually taking place at the time of the requested time range will be returned. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Close open cursor in the caldav back-endChristoph Wurst2021-12-021-0/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix loading all principal calendars in the dav app calendar providerChristoph Wurst2021-11-111-1/+1
| | | | | | | | | If we load all calendar infos of a principal then we get back an array and not a single calendar info. This was handled incorrectly and an array of calendar infos were passed to the calendar implementation, resulting in interesting bugs. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Force Calendar Obejct Chnage Path to support public writeAnna Larch2021-11-082-0/+15
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Fix missing calendar path for public write on CalendarsAnna Larch2021-11-041-1/+10
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Fix immutable datetime handling in DAV calendar searchChristoph Wurst2021-10-281-2/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #28997 from nextcloud/fix/set-attendee-as-recipientJohn Molakvoæ2021-10-221-0/+6
|\
| * Update attendence for external usersDaniel Kesselberg2021-10-081-0/+6
| | | | | | | | | | | | | | For local users it's possible to select their calendar via the principal url and first update their own attendance status. External users have no calendar event hence the recipient is the organizer. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Add create method to extended calendar implementationAnna Larch2021-10-154-10/+124
| | | | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #29195 from ↵Daniel2021-10-142-2/+2
|\ \ | | | | | | | | | | | | nextcloud/fix/calendar-invitations-default-language Fix default language detection for calendar emails
| * | Fix default language detection for calendar notificationsChristoph Wurst2021-10-131-1/+1
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | Fix default langauge detection for calendar invite emailsChristoph Wurst2021-10-131-1/+1
| |/ | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / Add Public Calendar ProviderAnna Larch2021-10-143-10/+86
|/ | | | | Signed-off-by: Anna Larch <anna@nextcloud.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #28692 from nextcloud/enh/send-invitation-to-req-participantskesselb2021-09-071-3/+11
|\ | | | | Send attendence links to required and optinal attendees of an event without an RSVP
| * Send Invitation to Attendees with ROLE=REQ-PARTICIPANTAnna Larch2021-09-031-3/+11
| | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | Extend caldav resource searchAnna Larch2021-07-301-37/+113
|/ | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Introduce ISecureRandom::CHAR_ALPHANUMERICJ0WI2021-07-081-1/+1
| | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* Merge pull request #27488 from msrn/win10cal-useragentJulius Härtl2021-06-291-1/+4
|\ | | | | Add regex to match Windows 10 calendar user-agent
| * Add regex to match Windows 10 calendar user-agentMikael Saarinen2021-06-231-1/+4
| | | | | | | | | | | | | | | | * Match first part of the Windows 10 calendar user-agent * Exposes subscribed calendars for Windows 10 calendar * Update unit test Signed-off-by: Mikael Saarinen <mikaels@iki.fi>
* | Add indications for the translatorsThomas Citharel2021-06-251-0/+3
| | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Subjects for Invitation, Invitation cancellation and Invitation replies are ↵Paweł Lechowicz2021-06-251-3/+3
| | | | | | | | | | | | now localizable. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Merge pull request #27632 from nextcloud/chore/caldav-trashbin-iso-timestampsChristoph Wurst2021-06-232-1/+20
|\ \ | | | | | | Use ISO8601 timestamps for the CalDAV trashbin
| * | Use ISO8601 timestamps for the CalDAV trashbinChristoph Wurst2021-06-232-1/+20
| |/ | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / Move DateTime::ATOM to DateTimeInterface::ATOMChristoph Wurst2021-06-234-9/+9
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Skip deleted calendar objects of deleted calendarsRichard Steinmetz2021-06-151-1/+10
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0470-161/+101
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #27348 from ↵Christoph Wurst2021-06-032-3/+19
|\ | | | | | | | | nextcloud/enhancement/calendar-trashbin-retention-prop Export the CalDAV trash bin retention duration as property
| * Export the CalDAV trash bin retention duration as propertyChristoph Wurst2021-06-022-3/+19
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Add missing ACLs for deleted calendar objects to fix deletionChristoph Wurst2021-06-022-4/+37
|/ | | | | | | | | | Due to a bug in Sabre it's necessary for calendar objects to implement ACLs. Otherwise the scheduling plugin will throw an error when it tries to fetch the owner of a calendar object that is being deleted. Ref https://github.com/sabre-io/dav/issues/1345 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix loading of delete caldav objet URIsChristoph Wurst2021-05-311-2/+2
| | | | | | Regression of 462962197d0d711abc7b57352d4ef24528e28096 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Expose calendar-uri as property of deleted caldav eventsChristoph Wurst2021-05-313-2/+14
| | | | | | | | | | The trashbin is one report across all calendars of a user. In order to refresh the data of a single calendar when one of its events is restored, we need to know what calendar the event belongs to. There doesn't seem to be a standard property for a URI, so this adds a custom Nextcloud prop for the calendar-uri. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Expose deletion timestamp for deleted CalDAV objectsChristoph Wurst2021-05-312-3/+19
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Get componenttype from the db as well when restoring a calendarobjectThomas Citharel2021-05-311-0/+1
| | | | | | It's needed in ReminderService::onCalendarObjectCreate() Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Add a trashbin for calendars and calendar objectsChristoph Wurst2021-05-3114-59/+1120
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add a settingJoas Schilling2021-05-211-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove the untyped calendar update eventChristoph Wurst2021-05-071-8/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove the untyped calendar create eventChristoph Wurst2021-05-071-6/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #26913 from ↵Christoph Wurst2021-05-072-54/+11
|\ | | | | | | | | nextcloud/chore/dav-calendar-object-untyped-events Drop some more untyped events from the dav code
| * Clean up reminder actions and call methods directlyChristoph Wurst2021-05-071-27/+11
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * Remove the \OCA\DAV\CalDAV\CalDavBackend::createCalendarObject eventChristoph Wurst2021-05-071-9/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * Remove the \OCA\DAV\CalDAV\CalDavBackend::updateCalendarObject eventChristoph Wurst2021-05-071-9/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * Remove the \OCA\DAV\CalDAV\CalDavBackend::deleteCalendarObject eventChristoph Wurst2021-05-071-9/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Drop the unused second parameter on \OCA\DAV\CalDAV\CalDavBackend::getSharesChristoph Wurst2021-05-071-2/+1
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix usage of rename executeUpdateChristoph Wurst2021-05-051-24/+24
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Exclusively use the typed calendar deletion events for DAVChristoph Wurst2021-04-291-8/+1
| | | | | | | We had both in places, but the old one isn't used anywhere outside this app, so it's time to migrate the code. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Correctly truncate multibyte strings to fit into the databaseChih-Hsuan Yen2021-04-261-3/+3
| | | | | | Closes: #26174 Signed-off-by: Chih-Hsuan Yen <yan12125@gmail.com>
* Close open cursorsChristoph Wurst2021-04-231-3/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>