summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/CalDAV/AbstractCalDavBackend.php
Commit message (Collapse)AuthorAgeFilesLines
* chore(dav): Add void return type to test methodsChristoph Wurst2023-01-201-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix dynamic property creations in test filesCôme Chilliet2022-08-011-5/+9
| | | | | | This fixes warnings in PHP 8.2 Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #31029 from nextcloud/expose-extra-emails-in-davVincent Petry2022-06-101-0/+2
|\ | | | | Expose additional emails in {DAV:}alternate-URI-set
| * Expose additional emails in {DAV:}alternate-URI-setThomas Citharel2022-05-171-0/+2
| | | | | | | | | | | | | | | | | | This allows iMip invitations to be send with an alternative email as "Reply-To" field. Closes #27201 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Remove all legacy event dispatchers from CalDAV & CardDAV backendsThomas Citharel2022-05-171-7/+1
|/ | | | | | Move them to proper EventListeners and test them Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Migrate dav application from ILogger to LoggerInterfaceCôme Chilliet2022-05-021-3/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Expose user language through DAVThomas Citharel2021-08-161-0/+2
| | | | | | | | | Introduces the '{http://nextcloud.com/ns}language' prop that gives the user's language Closes #28449 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Merge pull request #27374 from nextcloud/bugfix/noid/adjust-unit-testsMorris Jobke2021-06-071-20/+10
|\ | | | | Bugfix/noid/adjust unit tests
| * Code style fixesMorris Jobke2021-06-071-5/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Fix dispatcher handling in CalDavBackendTestJoas Schilling2021-06-041-17/+12
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+0
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add a trashbin for calendars and calendar objectsChristoph Wurst2021-05-311-2/+13
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove the untyped calendar create eventChristoph Wurst2021-05-071-3/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove the \OCA\DAV\CalDAV\CalDavBackend::createCalendarObject eventChristoph Wurst2021-05-071-3/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Exclusively use the typed calendar deletion events for DAVChristoph Wurst2021-04-291-4/+6
| | | | | | | 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>
* Restrict autocompletion also based on the phonebook known usersJoas Schilling2021-03-101-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add Typed Events for CalDAV- and CardDAV-related EventsGeorg Ehrke2020-08-181-5/+9
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-121-4/+4
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add Event and Task Backends for Unified SearchGeorg Ehrke2020-08-041-2/+7
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all constantsChristoph Wurst2020-04-101-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-3/+2
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* respect shareapi_allow_share_dialog_user_enumeration in Principal backend ↵Georg Ehrke2019-12-031-0/+1
| | | | | | for Sabre/DAV Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Mode to modern phpunitRoeland Jago Douma2019-11-271-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-271-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* use principaluri instead of userid, allowing to add delegates for rooms and ↵Georg Ehrke2019-08-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | things Signed-off-by: Georg Ehrke <developer@georgehrke.com> !fixup add owner_id and proxy_id as db index, since we use it for querying Signed-off-by: Georg Ehrke <developer@georgehrke.com> !fixup don't add ACL for each individual proxy, just use calendar-proxy groups Signed-off-by: Georg Ehrke <developer@georgehrke.com> !fixup allow delegation of resources / rooms Signed-off-by: Georg Ehrke <developer@georgehrke.com> !fixup fix addIndex call in migration Signed-off-by: Georg Ehrke <developer@georgehrke.com> !fixup fix remaining constructor calls of Principal Signed-off-by: Georg Ehrke <developer@georgehrke.com> !fixup minor fixes and unit tests Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Fix PHPUnitMorris Jobke2019-03-121-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* cache webcal calendars on serverGeorg Ehrke2018-11-071-0/+15
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Fix the master unit testsRoeland Jago Douma2018-06-011-0/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix testsRoeland Jago Douma2018-05-271-1/+8
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix risky tests without assertionsJoas Schilling2018-01-251-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* catch errors when parsing calendar data for calendar query requestsGeorg Ehrke2017-11-271-1/+5
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Merge pull request #7042 from ↵Lukas Reschke2017-11-071-1/+3
|\ | | | | | | | | nextcloud/bugfix/noid/ensure_unique_uid_for_calendar_objects ensure uid for calendar objects is unique
| * ensure uid for calendar objects is uniqueGeorg Ehrke2017-11-061-1/+3
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Change @georgehrke's emailMorris Jobke2017-11-061-1/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Update license headersMorris Jobke2017-11-061-0/+3
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class in test mocksMorris Jobke2017-10-241-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Check if the user/group exists for dav sharesJoas Schilling2017-10-051-0/+194
Signed-off-by: Joas Schilling <coding@schilljs.com>