summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #19325 from nextcloud/dependachristoph/composer/sabre-4.0Roeland Jago Douma2020-03-309-29/+32
|\ | | | | Update Sabre (and friends) to 4.0
| * RequestTestCase: Default type for headers needs to be arrayGeorg Ehrke2020-03-271-1/+1
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * Adjust FakeLockerPluginTest to new Sabre versionGeorg Ehrke2020-03-271-1/+1
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * Set custom ProdId in Birthday service, do not depend on Sabre Versio number ↵Georg Ehrke2020-03-271-8/+15
| | | | | | | | | | | | for unit tests Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * Fix usage of Sabre\HTTP\Request in unit testsGeorg Ehrke2020-03-275-18/+14
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * Sabre/DAV 4.0: beforeMethod is now beforeMethod:*Georg Ehrke2020-03-271-1/+1
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-2717-30/+0
|\ \ | |/ |/| Remove unused imports
| * Remove unused importsChristoph Wurst2020-03-2517-30/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the short array syntax, everywhereChristoph Wurst2020-03-2613-202/+202
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-2558-854/+854
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #19986 from nextcloud/bugfix/19980/fix_uid_as_uriRoeland Jago Douma2020-03-251-3/+9
|\ | | | | RefreshWebcalService: randomly generate calendar-object uri
| * RefreshWebcalService: randomly generate calendar-object uriGeorg Ehrke2020-03-161-3/+9
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Merge pull request #18788 from nextcloud/fix/18782/translate-busy-in-caldavChristoph Wurst2020-03-241-1/+24
|\ \ | | | | | | Translate 'Busy' in CalDAV
| * | Translate 'Busy' in CalDAVGary Kim2020-02-231-1/+24
| | | | | | | | | | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* | | Add extra test case to exclude by timerangeThomas Citharel2020-03-221-5/+4
| | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | Added test testSearchdartcafe2020-03-221-1/+3
| | | | | | | | | | | | Signed-off-by: dartcafe <github@dartcafe.de>
* | | Fix tests due to config adjustmentsJulius Härtl2020-03-201-16/+12
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Limit enumeration in principal searchJulius Härtl2020-03-201-0/+122
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | fix testsRobin Appelman2020-03-181-57/+2
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | remove the detour trough node and work with path directlyRobin Appelman2020-03-181-39/+0
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | use INode instead of Node for custom propertiesRobin Appelman2020-03-181-1/+14
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | handle long property paths to hasing paths >250 charsRobin Appelman2020-03-181-11/+41
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | test custom properties backend against real databaseRobin Appelman2020-03-181-52/+87
| | | | | | | | | | | | | | | | | | test behaviour not implementation Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | merge the two almost identical custom property backendsRobin Appelman2020-03-182-6/+34
| |/ |/| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Fix testNils Wittenbrink2020-02-291-4/+3
| | | | | | | | Signed-off-by: Nils Wittenbrink <nilswittenbrink@web.de>
* | Merge pull request #19252 from nextcloud/bug/fix-notification-object-idJoas Schilling2020-02-251-1/+1
|\ \ | | | | | | Hash event UID to make sure it's not too long for PushProvider notifications
| * | Hash event UID to make sure it's not too long for PushProviderThomas Citharel2020-02-011-1/+1
| | | | | | | | | | | | | | | | | | notifications Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | Merge pull request #19196 from ↵Roeland Jago Douma2020-02-233-1/+290
|\ \ \ | |_|/ |/| | | | | | | | nextcloud/feature/17126/allow_apps_to_register_their_own_calendars Allow apps to provide Calendars in user's calendarHome
| * | Allow apps to provide Calendars in user's calendarHomeGeorg Ehrke2020-02-183-1/+290
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | Introduce a default refresh rate app setting for calendar subscriptionsThomas Citharel2020-02-211-1/+11
| | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | Move RefreshWebcalJob logic to a proper service so that it may be calledThomas Citharel2020-02-102-177/+263
|/ / | | | | | | | | | | independently Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* / Check for empty authorization headers for office requests and allow ↵Julius Härtl2020-02-041-2/+15
|/ | | | | | anonymous option on the whole tree Signed-off-by: Julius Härtl <jus@bitgrid.net>
* RefreshWebcalJob: Fix reading subscription from database leading to ignored ↵Georg Ehrke2020-01-301-10/+10
| | | | | | refreshRate Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Update license headers for 18Christoph Wurst2019-12-201-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #18061 from nextcloud/bugfix/noid/dav-plugin-oldRoeland Jago Douma2019-12-161-1/+2
|\ | | | | Load apps dav plugins on the old webdav route
| * Load apps dav plugins on the old webdav routeJulius Härtl2019-12-041-1/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Support more IPv6 addresses in the RefreshWebcalJobGeorg Ehrke2019-12-121-0/+2
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Update license headersChristoph Wurst2019-12-05129-293/+463
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #17941 from nextcloud/search-by-ownerRoeland Jago Douma2019-12-051-0/+79
|\ \ | |/ |/| Allow filtering the search results to the users home storage
| * Allow filtering the search results to the users home storageRobin Appelman2019-12-031-0/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is done by adding a ```xml <d:eq> <d:prop> <oc:owner-id/> </d:prop> <d:literal>$userId</d:literal> </d:eq> ``` clause to the search query. Searching by `owner-id` can only be done with the current user id and the comparison can not be inside a `<d:not>` or `<d:or>` statement Signed-off-by: Robin Appelman <robin@icewind.nl>
* | respect shareapi_allow_share_dialog_user_enumeration in Principal backend ↵Georg Ehrke2019-12-033-10/+96
|/ | | | | | for Sabre/DAV Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Set common-name to user's displayname if none is setGeorg Ehrke2019-11-291-5/+39
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Mode to modern phpunitRoeland Jago Douma2019-11-2785-472/+485
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix more testsRoeland Jago Douma2019-11-271-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix SynserviceTestRoeland Jago Douma2019-11-271-0/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix fileplugintestRoeland Jago Douma2019-11-271-0/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* More fixesRoeland Jago Douma2019-11-271-0/+8
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-2791-102/+102
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-2259-63/+80
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* re-acquired expired shared locks on large file uploadsRobin Appelman2019-11-131-0/+21
| | | | | | | during large file uploads, the shared lock that we get at the begining can expire leading to locked errors later on, instead of erroring, try to re-get the lock Signed-off-by: Robin Appelman <robin@icewind.nl>