summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | | Use dependency injection for app managerMorris Jobke2019-03-131-1/+10
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Created infrastructure to show circles' shared filesVinicius Cubas Brand2019-03-131-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a proposal to allow users to filter files shared to circles. This commit is needed to provide the infrastucture for it. Issue: https://github.com/nextcloud/circles/issues/137 Changes to comply to https://github.com/coletivoEITA/circles/pull/2 Polishing: get files shared to circles in caldav Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com> Signed-off-by: Maxence Lange <maxence@artificial-owl.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #6512 from coletivoEITA/add_circles_sharing_to_caldavMorris Jobke2019-03-133-1/+12
|\ \ \ | |/ / |/| | Change CALDAV to allow calendars be shared with circles.
| * | Fix PHPUnitMorris Jobke2019-03-121-0/+2
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | Fix PHPUnitMorris Jobke2019-03-121-0/+2
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | Use proper dependency injection for app managerMorris Jobke2019-03-051-1/+8
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / "Fix" the unit testsJoas Schilling2019-03-061-19/+2
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #14066 from nextcloud/feature/noid/casted-system-valuesJoas Schilling2019-02-221-1/+2
|\ | | | | Get typed system values
| * Fix unit testsJoas Schilling2019-02-221-1/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #11832 from nextcloud/bugfix/9849/birthday_without_yearMorris Jobke2019-02-203-20/+235
|\ \ | |/ |/| set birthday year to 1970 if no year, take X-APPLE-OMIT-YEAR into account
| * Add Repair step to regenerate birthday calendarGeorg Ehrke2019-02-163-0/+189
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * unicode all the birthday iconsGeorg Ehrke2019-02-161-20/+33
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * set birthday year to 1970, take X-APPLE-OMIT-YEAR into accountGeorg Ehrke2019-02-161-15/+28
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Merge pull request #10068 from ↵Morris Jobke2019-01-312-0/+355
|\ \ | | | | | | | | | | | | nextcloud/feature/1434/provisioning_profiles_for_dav Add Apple Provisioning profile
| * | Add Apple Provisioning profileGeorg Ehrke2019-01-302-0/+355
| |/ | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>