aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit
Commit message (Collapse)AuthorAgeFilesLines
* 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>
| * IMipPlugin: Added unit test for dav.invitation_link_recipients supportBrad Rubenstein2019-02-281-0/+132
| | | | | | | | | | | | | | | | | | Existing tests required modification to correctly mock up the new config parameter fetch, and to set the RSVP flag for attendees (since the test was detecting token generation, and we no longer generate tokens when no RSVP is requested by the client or sent by nextcloud). Signed-off-by: Brad Rubenstein <brad@wbr.tech>
* | Merge pull request #14429 from tobiasKaminsky/shareesOnDavRoeland Jago Douma2019-08-131-65/+39
|\ \ | | | | | | Show sharees via propfind
| * | Fix testsRoeland Jago Douma2019-08-111-2/+2
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Fix testsRoeland Jago Douma2019-08-011-63/+37
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Allow to do a principal property search based on metadata keysGeorg Ehrke2019-08-011-0/+20
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | Test resource and room principal backend to check that they provide metadataGeorg Ehrke2019-08-013-766/+191
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | Test sync of resource and room metadataGeorg Ehrke2019-08-011-19/+171
|/ / | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Merge pull request #14954 from tacruc/searchPatternsMorris Jobke2019-07-191-10/+39
|\ \ | | | | | | Allow to search for real pattern in contacts
| * | Allow to search for real pattern in contactsArne Hamann2019-05-281-10/+39
| | | | | | | | | | | | | | | | | | Added an option escape_like_param to allow wildcards Signed-off-by: Arne Hamann <kontakt+github@arne.email>
* | | add test for overwriting in non creatable directoryRobin Appelman2019-07-031-8/+46
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | RefreshWebcalJob: replace ugly Regex with standard php utilsGeorg Ehrke2019-07-021-0/+6
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | Add event dispatcher to OCPChristoph Wurst2019-06-252-15/+5
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Do not try to autoload built in typesRoeland Jago Douma2019-06-041-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | This avoids calls to the autoloader (or chain of autoloaders) to see if for example 'principalPrefix' class can be found. While we already know it is a string. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Don't run repair step for every individual user, outsource that to ↵Georg Ehrke2019-05-233-47/+108
|/ / | | | | | | | | | | background job Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Merge pull request #15141 from nextcloud/fix/noid/regenerate-seen-users-onlyRoeland Jago Douma2019-04-242-4/+4
|\ \ | | | | | | fix searching all users in repair regenerate birthday cal reparir job
| * | remove obsolete use statementsArthur Schiwon2019-04-242-4/+4
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Prefetching blows up if there are a lot of files.Roeland Jago Douma2019-04-181-4/+0
|/ / | | | | | | | | | | | | | | I saw instances where people had a lot of files (each with custom properties) and all this prefetching blew up and started to consume an insane amount of RAM resulting in the process getting killed. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | implement principal property search for calendar user address set propertyGeorg Ehrke2019-03-212-0/+145
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Merge pull request #14641 from nextcloud/assemblystream-seekMorris Jobke2019-03-151-0/+15
|\ \ | | | | | | make assemblystream seekable
| * | make assemblystream seekableRobin Appelman2019-03-131-0/+15
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>