summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4443 from nextcloud/cleanup-unused-importsJoas Schilling2017-04-242-2/+0
|\ | | | | Remove unused use statements
| * Remove unused use statementsMorris Jobke2017-04-222-2/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | add owner-displayname property to calendars and addressbooksGeorg Ehrke2017-04-231-0/+30
|/ | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Fix remaining "PHP Inspection" warningsJoas Schilling2017-04-201-16/+14
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add public access modifier to all methodsJoas Schilling2017-04-201-12/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Restrict share handling to the owner onlyJoas Schilling2017-04-201-3/+14
| | | | | | | Otherwise group members can remove the share for the complete group, remove edit permissions and even single user shares for other users. Signed-off-by: Joas Schilling <coding@schilljs.com>
* don't remove owner property for public calendarsGeorg Ehrke2017-04-095-4/+123
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Don't list on public calendar endpointsLukas Reschke2017-04-051-9/+2
| | | | | | There is no need to allow listing here. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Merge pull request #3620 from ↵Morris Jobke2017-04-031-5/+4
|\ | | | | | | | | nextcloud/feature/1463/editable_color_name_for_shared_calendars allow sharees to edit certain calendar properties for themselves
| * allow sharees to edit certain calendar properties for themselvesGeorg Ehrke2017-03-271-5/+4
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Make sure transparency is an integer when saving a calendarJoas Schilling2017-03-301-2/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix bug with shared_by for own calendars if sharedGeorg Ehrke2017-03-251-0/+4
|/ | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Make sure shares use read-write when availableJoas Schilling2017-03-021-2/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Don't waste energy unless necessaryJoas Schilling2017-03-021-3/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix shared-as-busy events for ownerGeorg Ehrke2017-01-261-1/+7
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Make sure the used event type and the setting/filter are the sameJoas Schilling2017-01-102-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix generation of birthday, deathdate and anniversary in case where no year ↵Thomas Müller2017-01-051-6/+39
| | | | | | | is set - which is allowed as per https://tools.ietf.org/html/rfc6350#section-6.2.5 (#26756) Signed-off-by: Lukas Reschke <lukas@statuscode.ch> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix legacy caldav endpointsRoeland Jago Douma2017-01-022-14/+20
| | | | | | | * CaldavBackend is now endpoint aware (use old style principals on old endpoint and new onces on new). Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add test execution against legacy DAV backendLukas Reschke2017-01-021-1/+1
| | | | | | Since the tests to quite hugely rely on sync tokens being present I also included those in the legacy backend. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix the Todos filterJoas Schilling2016-12-121-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Overwrite the schedule target calendar with the personal one and create it ↵Joas Schilling2016-12-092-0/+66
| | | | | | | | | | if missing Otherwise this leads to problems like events being added to the birthday calendar, if that one is the first calendar which was created for the user. See: https://github.com/nextcloud/server/pull/2274 Signed-off-by: Joas Schilling <coding@schilljs.com>
* Adjust all implementations in the server repoJoas Schilling2016-12-013-9/+26
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add tests for the base providerJoas Schilling2016-11-301-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Deduplicate the provider codeJoas Schilling2016-11-304-171/+133
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move event and todo parsing to new APIJoas Schilling2016-11-294-294/+364
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Deduplicate icon assignmentJoas Schilling2016-11-291-18/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move calendar activity parsing to new APIJoas Schilling2016-11-292-73/+285
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move CalDAV activity settings to new APIJoas Schilling2016-11-294-23/+296
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move CalDAV activity filters to new APIJoas Schilling2016-11-293-25/+186
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #2225 from nextcloud/fix_caldav_proppatch_requestsLukas Reschke2016-11-211-1/+1
|\ | | | | fix PropPatch requests on calendars
| * fix PropPatch requests on calendarsGeorg Ehrke2016-11-211-1/+1
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | BirthdayCalendar: fix issue with birthyear to high when birthday on Dec 31stGeorg Ehrke2016-11-171-1/+5
|/ | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Fix integration testsJoas Schilling2016-11-161-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix CalendarTestRoeland Jago Douma2016-11-041-1/+6
| | | | | | * Made sure delete from self works again (and is tested) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix pluginRoeland Jago Douma2016-11-041-0/+42
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Minor fixesRoeland Jago Douma2016-11-042-4/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update sabre dav to 3.2 (#26115)Thomas Müller2016-11-042-1/+42
| | | | | | | | | | | | | | | | | | | | | | | | * Update sabre/dav to 3.2.0 * Adjust code to work with sabre/dav 3.2.0 and it's dependencies * Adding own CalDAV plugin to fix calendar home property * Test if there is a user logged in when listing files home * Update sabre version used by integration tests * Disable unauthenticated DAV access This is needed to make Sabre 3.2 behave like we did before. Eventually we should integrate better with the ACL plugin which itself should implement an auth failure when appropriate. ===== * Fixed so cherry-pick was succesfull Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use the event dispatcherJoas Schilling2016-11-032-115/+121
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use a different type for events and todosJoas Schilling2016-11-032-3/+20
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Activities for events and todosJoas Schilling2016-11-033-6/+189
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move the methods into a new classJoas Schilling2016-11-033-296/+417
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add activities for sharesJoas Schilling2016-11-032-7/+100
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix unshare actions for author != ownerJoas Schilling2016-11-032-16/+54
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add activity for unshare from groupJoas Schilling2016-11-032-0/+37
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Unshare user activitiesJoas Schilling2016-11-032-4/+80
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Start working on calendar activitiesJoas Schilling2016-11-032-1/+345
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* [9.2] Sync deathdate and anniversary to birthday calendar (#25655)Thomas Müller2016-10-141-22/+43
| | | | | | | | * Sync deathdate and anniversary to birthday calendar (which should be renamed maybe) * Sync deathdate and anniversary to birthday calendar (which should be renamed maybe) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Translate the personal calendarJoas Schilling2016-10-062-0/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #1545 from nextcloud/delete-calendars-with-their-usersMorris Jobke2016-09-281-0/+52
|\ | | | | Delete calendars with their users
| * Rename deleteAllSharesForUser() to deleteAllSharesByUser()Thomas Citharel2016-09-281-1/+1
| | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>