aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/tests
Commit message (Collapse)AuthorAgeFilesLines
* test: fix service overwrite in PartFileInRootUploadTestRobin Appelman2024-10-081-1/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #48510 from ↵Kate2024-10-021-21/+10
|\ | | | | | | nextcloud/fix/stable28/webcal-subscription-jobs-middleware
| * fix(caldav): add missing handlersfix/stable28/webcal-subscription-jobs-middlewareAnna Larch2024-10-011-21/+10
| | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | Merge pull request #48054 from nextcloud/backport/48043/stable28Kate2024-10-021-11/+11
|\ \
| * | test(dav): imip service test expects integers for last occurencebackport/48043/stable28Anna Larch2024-09-161-11/+11
| |/ | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* / fix(caldav): Do not load IMipPlugin before user auth and session is createdbackport/45098/stable28SebastianKrupinski2024-09-221-17/+63
|/ | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* fix(dav): Always respond custom error page on exceptionsLouis Chemineau2024-09-092-5/+5
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(caldav): allow renaming of birthday calendarsAnna Larch2024-08-202-3/+7
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Merge pull request #46421 from nextcloud/backport/46315/stable28Andy Scherzinger2024-07-111-0/+73
|\ | | | | [stable28] fix(caldav): limit vevent size
| * fix(caldav): limit vevent sizeSebastianKrupinski2024-07-101-0/+73
| | | | | | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* | Merge pull request #46011 from nextcloud/backport/45999/stable28Andy Scherzinger2024-07-101-6/+47
|\ \ | | | | | | [stable28] fix(caldav): encode calendar URIs with umlauts for activities
| * | fix(caldav): encode calendar URIs with umlauts for activitiesRichard Steinmetz2024-07-101-6/+47
| |/ | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* / fix(carddav): limit vcard sizeSebastianKrupinski2024-07-101-0/+73
|/ | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* fix(caldav): when message is a reply compare the message sender not the ↵SebastianKrupinski2024-06-261-0/+71
| | | | | | | | recipient Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com> Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(dav): also return shared-with-me shares dataskjnldsv2024-06-121-1/+21
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(caldav): event links in shared calendar notificationsRichard Steinmetz2024-06-111-2/+37
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* fix(dav): Rate limit address book creationHamza Mahjoubi2024-06-071-0/+146
| | | | Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
* fix(dav): Add retention time to sync token cleanupChristoph Wurst2024-06-043-14/+38
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* feat(caldav): order the calendar objects by start date for searchDaniel Kesselberg2024-06-033-0/+66
| | | | | | Sorting the events by the start date leads to more predictable results for the search API consumers. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(caldav): event search with limit and timerangeDaniel Kesselberg2024-06-037-0/+261
| | | | | | | | | | | | | Event recurrences are evaluated at runtime because the database only knows the first and last occurrence. Given, a user created 8 events with a yearly reoccurrence and two for events tomorrow. The upcoming event widget asks the CalDAV backend for 7 events within the next 14 days. If limit 7 is applied to the SQL query, we find the 7 events with a yearly reoccurrence and discard the events after evaluating the reoccurrence rules because they are not due within the next 14 days and end up with an empty result even if there are two events to show. The workaround for search requests with a limit and time range is asking for more row than requested and retrying if we have not reached the limit. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #44197 from nextcloud/backport/44130/stable28Daniel2024-06-032-21/+101
|\ | | | | [stable28] fix(dav): Add occ command to fix missing caldav sync tokens
| * fix(dav): Add occ command to fix missing caldav sync tokensChristoph Wurst2024-05-312-21/+101
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | feat(caldav): expose calendar subscriptionsDaniel Kesselberg2024-05-316-6/+364
|/ | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #44473 from nextcloud/backport/44017/stable28Benjamin Gaussorgues2024-04-171-0/+67
|\
| * fix(dav): wrong comparison method between two eventsRobert C. Schaller2024-03-261-0/+67
| | | | | | | | | | | | | | | | | | Old comparison implementation compares each element of the array against each other with no respect for the associated array label, which leads to wrongful removals because one value is accidentally present in a completely different label. New comparison works 'by-label' individually. Partly fixes #41084 because changes between 'SEQUENCE' not present, 'SEQUENCE:0' and 'SEQUENCE:1' were not detected in the old implementation and thus no email update sent. Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com> Signed-off-by: Robert C. Schaller <gtbc_robert.schaller@rsxc.de>
* | chore(dav): Fix tests for length headers on uploadCôme Chilliet2024-04-041-3/+2
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #44377 from nextcloud/backport/44376/stable28Andy Scherzinger2024-03-211-1/+1
|\ | | | | [stable28] fix(dav): ACLs for shared addressbooks
| * fix(dav): ACLs for shared addressbooksChristoph Wurst2024-03-211-1/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | fix(systemtags): Forbid tagging of readonly filesCôme Chilliet2024-03-193-53/+82
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* tests(dav): Add unit test for no calendars/subscription limitChristoph Wurst2024-03-111-0/+38
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(dav): Rate limit calendar/subscription creationChristoph Wurst2024-02-221-0/+166
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Check share attributes when downloading versionsLouis Chemineau2024-02-212-2/+27
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(dav): Fix user status "Undefined array key 0 at StatusService.php#98"Joas Schilling2024-01-151-0/+44
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(dav): undeclared `$cache` propertyJohn Molakvoæ2023-12-211-0/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(userstatus): set user status to 'In a meeting' if calendar is busyAnna Larch2023-12-191-573/+289
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* fix(ooo): add new ooo status with new emojiAnna Larch2023-12-181-1/+1
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* fix(dav): Prevent out-of-office event time driftsChristoph Wurst2023-12-131-6/+82
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Revert "[stable28] fix(dav): Prevent out-of-office event time drifts"Arthur Schiwon2023-12-111-82/+6
|
* fix(dav): Prevent out-of-office event time driftsChristoph Wurst2023-12-111-6/+82
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(dav): Improve handling and logging of bulk upload failuresJoas Schilling2023-12-071-2/+10
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #41811 from nextcloud/backport/41778/stable28Arthur Schiwon2023-11-291-0/+471
|\ | | | | [stable28] fix(dav): don't schedule out-of-office jobs for dates in the past
| * fix(dav): don't schedule out-of-office jobs for dates in the pastRichard Steinmetz2023-11-281-0/+471
| | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | fix(dav): Prioritize timezone from core/loginChristoph Wurst2023-11-291-6/+25
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* [stable28] enh(userstatus): add OOO automation and remove calendar automationAnna Larch2023-11-283-877/+119
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* feat(dav): dispatch out-of-office started and ended eventsRichard Steinmetz2023-11-233-0/+391
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-2323-71/+50
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* feat(caldav): Create personal event for out-of-office messagesChristoph Wurst2023-11-141-0/+546
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix dynamic property in CalDav testsCôme Chilliet2023-11-131-0/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat(search): Seach for persons as event attendees and organizersChristoph Wurst2023-11-101-2/+10
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* feat(carddav): Allow advanced search for contactsBenjamin Gaussorgues2023-11-101-2/+2
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>