summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests
Commit message (Collapse)AuthorAgeFilesLines
* Only catch anonymous OPTIONS for OfficeJulius Härtl2020-04-271-2/+20
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update list of multiple propertiesJohn Molakvoæ (skjnldsv)2020-04-171-2/+85
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #20102 from nextcloud/backport/18679/stable18Morris Jobke2020-04-141-4/+5
|\ | | | | [stable18] fix OCA\DAV\CalDAV\CalDavBackend search $options
| * 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>
* | Merge pull request #20282 from nextcloud/backport/19180/stable18Roeland Jago Douma2020-04-141-2/+15
|\ \ | | | | | | [stable18] Check for empty authorization headers for office requests
| * | Check for empty authorization headers for office requests and allow ↵Julius Härtl2020-04-031-2/+15
| |/ | | | | | | | | | | anonymous option on the whole tree Signed-off-by: Julius Härtl <jus@bitgrid.net>
* / RefreshWebcalService: randomly generate calendar-object uriGeorg Ehrke2020-03-251-3/+9
|/ | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* fix testsRobin Appelman2020-03-191-57/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* remove the detour trough node and work with path directlyRobin Appelman2020-03-191-39/+0
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* use INode instead of Node for custom propertiesRobin Appelman2020-03-191-1/+14
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* handle long property paths to hasing paths >250 charsRobin Appelman2020-03-191-11/+41
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* test custom properties backend against real databaseRobin Appelman2020-03-191-52/+87
| | | | | | test behaviour not implementation Signed-off-by: Robin Appelman <robin@icewind.nl>
* merge the two almost identical custom property backendsRobin Appelman2020-03-192-6/+34
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix testNils Wittenbrink2020-03-111-4/+3
| | | | Signed-off-by: Nils Wittenbrink <nilswittenbrink@web.de>
* Introduce a default refresh rate app setting for calendar subscriptionsThomas Citharel2020-03-051-1/+11
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Merge pull request #19573 from nextcloud/backport/19398/stable18Roeland Jago Douma2020-03-052-177/+263
|\ | | | | [stable18] Move RefreshWebcalJob logic to a proper service so that it may be called independently
| * Move RefreshWebcalJob logic to a proper service so that it may be calledThomas Citharel2020-02-212-177/+263
| | | | | | | | | | | | independently Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Hash event UID to make sure it's not too long for PushProviderThomas Citharel2020-02-251-1/+1
|/ | | | | | notifications Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* RefreshWebcalJob: Fix reading subscription from database leading to ignored ↵Georg Ehrke2020-01-311-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>
* use OCP\EventDispatcher\Event over Symfony's deprecated EventArthur Schiwon2019-10-171-3/+12
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Make push notifications for calendar reminders opt-inGeorg Ehrke2019-09-021-0/+32
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Merge pull request #16615 from ↵Roeland Jago Douma2019-08-281-0/+41
|\ | | | | | | | | nextcloud/feature/16518/rooms_resources_should_respond Make rooms / resources automatically reply to invites
| * Make rooms / resources automatically reply to invitesGeorg Ehrke2019-08-261-0/+41
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | replace coffin with textual description "Death of ..."Georg Ehrke2019-08-261-28/+41
|/ | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* fix foreach error for reminder generatorGeorg Ehrke2019-08-181-0/+32
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Final fixesGeorg Ehrke2019-08-159-742/+1562
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Support event reminders (email and notifications)Thomas Citharel2019-08-158-0/+1393
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Merge pull request #16666 from nextcloud/feature/calendar/delegationRoeland Jago Douma2019-08-157-35/+280
|\ | | | | Feature/calendar/delegation
| * use principaluri instead of userid, allowing to add delegates for rooms and ↵Georg Ehrke2019-08-157-35/+280
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #12392 from ↵Roeland Jago Douma2019-08-151-210/+148
|\ \ | |/ |/| | | | | brad2014/feature/properly-present-buttons-from-imip-mails Customize presentation of accept/decline buttons in iMip mail
| * Move dav.invitation_link_recipients from getSystemValue to getAppValuebrad20142019-07-311-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Per @georgehrke change request for PR #12392, instead of setting dav.invitation_link_recipients in the system config.php file, we set it in the database table oc_appconfig. Furthermore, the value of the config variable is always a string: 'yes' to include links in imip mail, 'no' to exclude them, or a comma-separated list of email addresses and/or domains for which they should be included. If not specified in oc_appconfig, the default is 'yes'. Signed-off-by: brad2014 <brad2014@users.noreply.github.com>
| * IMipPlugin: DRY up - move common test set-up into setUp functionBrad Rubenstein2019-02-281-311/+117
| | | | | | | | Signed-off-by: Brad Rubenstein <brad@wbr.tech>