summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/CalDAV
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Allow apps to provide Calendars in user's calendarHomeGeorg Ehrke2020-02-182-1/+267
| |/ | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* / Move RefreshWebcalJob logic to a proper service so that it may be calledThomas Citharel2020-02-101-0/+221
|/ | | | | | independently Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Update license headersChristoph Wurst2019-12-0537-138/+218
| | | | 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>
* 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-2727-91/+95
| | | | 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-2727-31/+31
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-2217-17/+30
| | | | | | | | | | | * 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>
* Make push notifications for calendar reminders opt-inGeorg Ehrke2019-09-021-0/+32
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Make rooms / resources automatically reply to invitesGeorg Ehrke2019-08-261-0/+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-158-737/+1532
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Support event reminders (email and notifications)Thomas Citharel2019-08-157-0/+1325
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Merge pull request #16666 from nextcloud/feature/calendar/delegationRoeland Jago Douma2019-08-155-18/+140
|\ | | | | Feature/calendar/delegation
| * use principaluri instead of userid, allowing to add delegates for rooms and ↵Georg Ehrke2019-08-155-18/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | 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>
* | implement principal property search for calendar user address set propertyGeorg Ehrke2019-03-211-0/+119
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | 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>
* | Fix PHPUnitMorris Jobke2019-03-121-0/+2
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Expose subadmin to OCPRoeland Jago Douma2019-01-291-0/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add command to move a calendar from an user to anotherThomas Citharel2019-01-161-0/+17
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr> Add a basic check for displaynames in case we fail to get calendar from uri and put some sf console styles & refactor a bit Signed-off-by: Thomas Citharel <tcit@tcit.fr> basic Tests Signed-off-by: Thomas Citharel <tcit@tcit.fr> add forgotten createNamedParameter() Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Fix wrong used typeJoas Schilling2018-11-231-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* cache webcal calendars on serverGeorg Ehrke2018-11-075-0/+545
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* add correct calendar-user-type to resource and room backendGeorg Ehrke2018-10-223-0/+9
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* move disableFreeBusy check from User principal backend to Scheduling Outbox ↵Georg Ehrke2018-10-161-0/+123
| | | | | | collection. This allows to keep local delivery of scheduling messages while prohibiting FreeBusy requests Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* remove LogicException, because it's also triggered with legitimate parametersGeorg Ehrke2018-09-051-5/+1
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Adding test for table schedulingobjects and fixing postgres LOBThomas Müller2018-08-061-2/+78
| | | | | | (cherry picked from commit afd4ebf0404e8bcd7cba0bec2dce177e97632f8a) Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
* Fixed testsJohn Molakvoæ (skjnldsv)2018-07-191-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Also shorten the name of the invitation tokensJoas Schilling2018-07-121-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Shorten resource table names to allow install on oracle againJoas Schilling2018-07-122-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Include accept / decline links in CalDAV invitation emailsGeorg Ehrke2018-06-291-3/+83
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* apply group restrictions to resourcesGeorg Ehrke2018-06-254-2/+1013
| | | | 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>
* Fixed caldav tests and metadata 2John Molakvoæ (skjnldsv)2018-03-081-1/+7
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix risky tests without assertionsJoas Schilling2018-01-252-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix "Undefined method setExpectedException()"Joas Schilling2018-01-241-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Require PHPUnit 6.5 or higherJoas Schilling2018-01-241-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix unit tests for CalendarManagerMorris Jobke2017-12-121-1/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #6884 from ↵Morris Jobke2017-12-126-20/+328
|\ | | | | | | | | nextcloud/feature/3003/opt_out_of_birthday_calendar Opt out of birthday calendar
| * create a user's birthday calendar right after they requested itGeorg Ehrke2017-11-111-2/+17
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * disallow users to create calendars with reserved namesGeorg Ehrke2017-11-111-0/+81
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * add CalDAV interface that allows users to re-enable their birthday calendarGeorg Ehrke2017-11-111-0/+171
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * remember when a user deleted their contact birthdays calendarGeorg Ehrke2017-11-104-20/+61
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>