aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #45549 from nextcloud/chore/noid/spdx-batch7Andy Scherzinger2024-05-28213-3839/+667
|\ | | | | Add SPDX header - batch 7
| * chore: Add SPDX headerAndy Scherzinger2024-05-28213-3839/+667
| | | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* | fix(dav): Rate limit address book creationHamza Mahjoubi2024-05-271-0/+146
|/ | | | Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
* feat(caldav): expose calendar subscriptionsDaniel Kesselberg2024-05-076-7/+362
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #45098 from nextcloud/fix/issue-45081Sebastian Krupinski2024-05-041-17/+67
|\ | | | | Do not load IMipPlugin before user session is initialized also use userSession instead of userId in constructor.
| * fix(caldav): Fixed phpUnit to use userSession instead of userId and userManagerSebastianKrupinski2024-05-021-17/+67
| | | | | | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* | fix(tests): Replace deprecated methods in `FileTest`Ferdinand Thiessen2024-05-021-16/+30
|/ | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #44511 from ↵Daniel2024-04-031-0/+58
|\ | | | | | | | | nextcloud/perf/noid/skip-tree-lookup-for-non-calendar-requests perf(dav): skip non-calendar requests in webcal caching plugin
| * perf(dav): skip non-calendar requests in webcal caching pluginDaniel Kesselberg2024-03-271-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | The webcal caching plugin is active when the X-NC-CalDAV-Webcal-Caching header is there. findPrincipalByUrl sends a request for /remote.php/dav/principals/users/admin/ using the caldavService which sets the header by default.[^1] As X-NC-CalDAV-Webcal-Caching only impacts calendar requests, we can skip non-calendar requests. [^1]: https://github.com/nextcloud/calendar/blob/b3670f1805ef9ef952d6abe4e5334e37b5a14133/src/services/caldavService.js#L43 Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #44332 from nextcloud/fix/fix-chunkupload-quota-checkCôme Chilliet2024-04-021-3/+2
|\ \ | | | | | | fix(dav): Fix quota check for chunk upload
| * | chore(dav): Fix tests for length headers on uploadCôme Chilliet2024-04-021-3/+2
| |/ | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* / fix: Apply new coding standard to all filesCôme Chilliet2024-04-024-28/+28
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(dav): wrong comparison method between two eventsRobert C. Schaller2024-03-251-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>
* fix(dav): Add retention time to sync token cleanupChristoph Wurst2024-03-213-14/+38
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #44376 from nextcloud/fix/dav/acls-shared-addressbookHamza2024-03-211-1/+1
|\ | | | | 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-47/+76
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #44130 from nextcloud/fix/dav/occ-fix-caldav-sync-tokensChristoph Wurst2024-03-142-3/+94
|\ | | | | fix(dav): Add occ command to fix missing caldav sync tokens
| * fix(dav): Add occ command to fix missing caldav sync tokensChristoph Wurst2024-03-122-3/+94
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | test(dav): Add unit test for no calendars/subscription limitChristoph Wurst2024-03-121-0/+38
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* perf: switch places that always use the first getById result to getFirstNodeByIdRobin Appelman2024-03-044-28/+28
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat(dav): update a principal's schedule-default-calendar-URLRichard Steinmetz2024-02-282-5/+196
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* Refactors "substr" calls to improve code readabilityHamid Dehnavi2024-02-231-1/+1
| | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* fix(dav): Rate limit calendar/subscription creationChristoph Wurst2024-02-231-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>
* enh(sharing): enable unsharing for sharees for DAV shares (addressbooks and ↵Anna Larch2024-02-158-50/+694
| | | | | | calendars) Signed-off-by: Anna Larch <anna@nextcloud.com>
* Merge pull request #43387 from nextcloud/fix/migrate-away-from-ilogger-in-jobsCôme Chilliet2024-02-081-5/+4
|
* Revert "Merge branch 'master' of github.com:nextcloud/server"Louis Chemineau2024-02-081-4/+5
| | | | | This reverts commit d9d60238c7aaab9c61bf2d50c15aa59bc88c8975, reversing changes made to ba3fdb0cdcfbb84f0080a2146a4ba2f01569915d.
* fix!: Migrate jobs away from deprecated interfacesCôme Chilliet2024-02-081-5/+4
| | | | | | BREAKING CHANGE: Removed ILogFactory::getCustomLogger deprecated method Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(tests): Make PHP 8.1.2 with Datetime Diff Bug pass the notifier testJoas Schilling2024-01-261-3/+11
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(dav): Fix user status "Undefined array key 0 at StatusService.php#98"Joas Schilling2024-01-101-0/+44
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix: improve typing and use \OCP\Server::getJohn Molakvoæ2024-01-091-12/+4
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix: public dav and files_sharing testing fixesJohn Molakvoæ2024-01-092-5/+438
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.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>
* feat(comments): Add a meta data column for commentsJoas Schilling2023-12-141-1/+10
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* 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-051-2/+10
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(dav): Prioritize timezone from core/loginChristoph Wurst2023-11-291-6/+25
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>
* 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>
* feat(caldav): Allow advanced search for events/tasksBenjamin Gaussorgues2023-11-102-4/+4
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* feat(user status): automate user status for eventsAnna Larch2023-11-091-0/+1508
| | | | | | | and automatically set a user status to free or busy depending on their calendar transparency, event status and availability settings Signed-off-by: Anna Larch <anna@nextcloud.com>