summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #36661 from onny/event-update-mail-subjectSimon L2023-03-161-5/+5
|\ | | | | Invitation mail: Change subject if event got updated
| * Invitation mail: Change subject if event got updatedJonas Heinrich2023-02-201-5/+5
| | | | | | | | Signed-off-by: Jonas Heinrich <heinrich@synyx.de>
* | fix(CI): Add unit test for nextcloud/server#37167Joas Schilling2023-03-131-1/+46
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix(user_status): Fix the user status automation on the day availability ↵Joas Schilling2023-03-131-0/+159
| | | | | | | | | | | | rules are adjusted Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add SHARE_TYPE_SCIENCEMESHMichiel de Jong2023-03-081-0/+1
| | | | | | | | Signed-off-by: Michiel de Jong <michiel@unhosted.org>
* | fix: Use proper path for quota fetchingJulius Härtl2023-03-061-0/+12
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #36594 from nextcloud/fix-handling-of-invitationsblizzz2023-03-021-10/+19
|\ \ | | | | | | 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-10/+19
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Revert "fix(performance): Do not set up filesystem on every call"Joas Schilling2023-02-215-14/+470
| |/ |/|
* | Do not set up filesystem on every callAnna Larch2023-02-175-470/+14
| | | | | | | | | | | | Also remove old Oc_FileChunking logis that produced GC- collectable chunks Signed-off-by: Anna Larch <anna@nextcloud.com>
* | fix(caldav): Fix reminder timezone drift for all-day eventsChristoph Wurst2023-02-091-12/+186
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | perf(dav): Do not call general setupFS on ever dav authJulius Härtl2023-02-091-6/+6
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #29010 from mattian/fix/19218/birthday-leap-dayChristoph Wurst2023-02-081-31/+33
|\ | | | | dav: fix birthday calendar event generation for leap days
| * dav: fix birthday calendar event generation for leap daysMattia Narducci2023-02-061-31/+33
| | | | | | | | | | | | | | | | | | | | | | 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>
* | Skip tests that cannot succeed on 32bitsCôme Chilliet2023-02-071-2/+9
| | | | | | | | | | | | | | | | For some reason a timestamp in the past also triggers the PHP error about not being able to represent it as an int, so skipping that test on 32bits. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Fix Sabre connector testCôme Chilliet2023-02-071-2/+2
| | | | | | | | 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-3/+7
| | | | | | | | | | | | | | 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>
* | Type sizes as int|float throughout the code baseCôme Chilliet2023-02-071-0/+2
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Use recurrence instance to build iMip emailAnna Larch2023-02-023-204/+875
| | | | | | | | 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>
* Merge pull request #36266 from ↵Joas Schilling2023-01-231-1/+1
|\ | | | | | | | | nextcloud/bugfix/noid/fix-double-where-in-custom-property-test Fix double where in CustomProperiesBackendTest
| * Fix double where in CustomProperiesBackendTestJoas Schilling2023-01-201-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #36262 from nextcloud/chore/dav/void-test-methodsJoas Schilling2023-01-23120-713/+713
|\ \ | |/ |/| chore(dav): Add void return type to test methods
| * chore(dav): Add void return type to test methodsChristoph Wurst2023-01-20120-713/+713
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | chore(dav): Remove useless var tagChristoph Wurst2023-01-193-3/+0
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Extend ViewOnly DAV plugin to versions endpointVincent Petry2023-01-131-10/+40
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Merge pull request #36026 from nextcloud/fix/remove-at-matcher-in-davCôme Chilliet2023-01-1032-858/+718
|\ | | | | Get rid of deprecated at matcher in dav application tests
| * Get rid of deprecated at matcher in dav application testsCôme Chilliet2023-01-0532-858/+718
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Hook into sabre event lifecycle for iMip MessagesAnna Larch2023-01-051-3/+4
|/ | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* [WIP] Add logging to Scheduling PluginAnna Larch2023-01-041-2/+7
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Remove comment and guests option from Invitations UIAnna Larch2022-12-201-12/+2
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Merge pull request #33709 from nextcloud/enh/displayname-cache-getStorageInfoVincent Petry2022-12-191-0/+15
|\ | | | | Use display name cache on getStorageInfo
| * Use display name cache on getStorageInfoJulius Härtl2022-12-161-0/+15
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> Adapt test to also run isolated Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #34807 from nextcloud/fix/compute-notification-parsed-subjectCôme Chilliet2022-12-191-6/+2
|\ \ | |/ |/| Compute notification parsed subject from rich subject when possible
| * Fix comments and dav tests with Notifications and Activity changesCôme Chilliet2022-12-191-6/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Use the correct Server class in apps/dav/tests/unit/CalDAV/CalendarImplTest.phpCôme Chilliet2022-12-051-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Fix codestyle in modified filesCôme Chilliet2022-12-051-1/+0
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge branch 'master' into tests/fix-phpunit-warningsCôme Chilliet2022-12-057-15/+16
|\| | | | | Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
| * More fixingJoas Schilling2022-11-251-2/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Fix errors from PHP 8.2 testingCôme Chilliet2022-11-146-15/+14
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Improve typing on new methodsCôme Chilliet2022-12-051-4/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Next attemp on imip testsJulius Härtl2022-11-091-29/+28
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Attempt to fix CalendarImpl testsJulius Härtl2022-11-091-32/+106
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Fix some phpunit test warningsJulius Härtl2022-11-093-4/+4
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix duplicate event email notificationsRichard Steinmetz2022-11-044-5/+125
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* Switch to DisplayNameCache for CalDAVAnna Larch2022-11-031-5/+2
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Add a background job to prune outdated sync tokensThomas Citharel2022-10-274-1/+177
| | | | | | | | 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 #34388 from ↵Anna2022-10-031-0/+3
|\ | | | | | | | | sylvainmetayer/feat_2464_exclude_contact_from_birthday_calendar feat(contacts): exclude contact from birthday calendar
| * feat: add tests casesSylvain2022-10-021-0/+3
| | | | | | | | Signed-off-by: Sylvain <git@sylvain.dev>
* | Merge pull request #33608 from nextcloud/perf/improve-getCalendarsForUsersblizzz2022-10-031-18/+30
|\ \ | |/ |/| Remove the loop of calendars when only one is needed
| * Remove the loop of calendars when only one is neededAnna Larch2022-10-011-18/+30
| | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>