summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Command
Commit message (Collapse)AuthorAgeFilesLines
* Update license headers for 19Christoph Wurst2020-04-297-1/+7
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all constantsChristoph Wurst2020-04-101-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all methods and position of static keywordChristoph Wurst2020-04-106-6/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-103-5/+3
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove trailing and in between spacesChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-092-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-313-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove unused importsChristoph Wurst2020-03-252-9/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-058-28/+47
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* respect shareapi_allow_share_dialog_user_enumeration in Principal backend ↵Georg Ehrke2019-12-031-1/+2
| | | | | | for Sabre/DAV Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Some php-cs fixesRoeland Jago Douma2019-11-227-0/+7
| | | | | | | | | | | * 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>
* Support recurring events + repeating alarmsGeorg Ehrke2019-08-151-3/+11
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* add occ dav:send-event-reminders, so you don't have to rely on the ↵Georg Ehrke2019-08-151-0/+74
| | | | | | background-job Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* use principaluri instead of userid, allowing to add delegates for rooms and ↵Georg Ehrke2019-08-151-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* avoids users searches on backend, faster processingArthur Schiwon2019-04-171-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Use proper dependency injection for app managerMorris Jobke2019-03-051-1/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Handle moving calendar to an user who already has the shareThomas Citharel2019-01-162-19/+42
| | | | | | | | | | | | Extra: * Fix @ChristophWurst style remarks * Add a Note that share links have changed when calendars has user shares (see #13603) Signed-off-by: Thomas Citharel <tcit@tcit.fr> Fix forgotten test change Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Don't check group shares if shareWithGroupMembersOnly is falseThomas Citharel2019-01-161-8/+11
| | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr> Remove the system user check Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* add list-calendars commandGeorg Ehrke2019-01-162-31/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com> Rebase and delete URI suggestion part Invite to use occ dav:list-calendars instead Signed-off-by: Thomas Citharel <tcit@tcit.fr> Fix autoload Signed-off-by: Thomas Citharel <tcit@tcit.fr> Use injection & test everything And rebase Signed-off-by: Thomas Citharel <tcit@tcit.fr> Add test for ListCalendars and refactoring Signed-off-by: Thomas Citharel <tcit@tcit.fr> Fix indentation Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Add command to move a calendar from an user to anotherThomas Citharel2019-01-161-0/+162
| | | | | | | | | | | | | | | | 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>
* Merge pull request #9550 from ↵Morris Jobke2018-06-011-1/+2
|\ | | | | | | | | nextcloud/bugfix/noid/override_freebusy_sharing_rules allow admins to disable FreeBusy without modifying ShareAPI capabilities
| * allow admins to override FreeBusy capabilities without modifying ShareAPI ↵Georg Ehrke2018-05-221-1/+2
| | | | | | | | | | | | capabilities Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Move repairstep to a custom commandRoeland Jago Douma2018-05-281-0/+82
|/ | | | | | People that have issues can run it manually Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #6884 from ↵Morris Jobke2017-12-121-1/+33
|\ | | | | | | | | nextcloud/feature/3003/opt_out_of_birthday_calendar Opt out of birthday calendar
| * adapt occ 'dav:sync-birthday-calendar commandGeorg Ehrke2017-11-111-1/+33
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Principal search: Take sharing settings into accountGeorg Ehrke2017-12-111-1/+3
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | catch errors when parsing calendar data for calendar query requestsGeorg Ehrke2017-11-271-1/+2
|/ | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Update license headersMorris Jobke2017-11-061-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Check if the user/group exists for dav sharesJoas Schilling2017-10-051-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove unused use statementsMorris Jobke2017-04-222-7/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use the event dispatcherJoas Schilling2016-11-031-3/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move the methods into a new classJoas Schilling2016-11-031-2/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use true random string as uri for public calendars - as a result we can no ↵Thomas Müller2016-09-261-1/+2
| | | | longer return the pre-publish-url
* fix things (indentation, tests, comments, backend custom implementationThomas Citharel2016-09-261-1/+3
|
* Better displaynames for shared calendarsJoas Schilling2016-08-241-1/+1
|
* Fix apps/Joas Schilling2016-07-214-5/+9
|
* Update license headersLukas Reschke2016-05-262-1/+2
|
* Move dav app to PSR-4 (#24527)Joas Schilling2016-05-124-0/+308
* Move Application to correct namespace and PSR-4 it * Move dav app to PSR-4