summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Command
Commit message (Collapse)AuthorAgeFilesLines
* Add typing to Sharing BackendCarl Schwan2022-06-221-34/+10
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Merge pull request #31029 from nextcloud/expose-extra-emails-in-davVincent Petry2022-06-101-0/+2
|\ | | | | Expose additional emails in {DAV:}alternate-URI-set
| * Expose additional emails in {DAV:}alternate-URI-setThomas Citharel2022-05-171-0/+2
| | | | | | | | | | | | | | | | | | This allows iMip invitations to be send with an alternative email as "Reply-To" field. Closes #27201 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Remove all legacy event dispatchers from CalDAV & CardDAV backendsThomas Citharel2022-05-171-2/+0
|/ | | | | | Move them to proper EventListeners and test them Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Migrate last instances of $server::getLogger() from davCôme Chilliet2022-05-021-1/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Move calendar objects between calendars instead of deleting and recreating themAnna Larch2022-03-162-5/+19
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Expose user language through DAVThomas Citharel2021-08-161-1/+2
| | | | | | | | | Introduces the '{http://nextcloud.com/ns}language' prop that gives the user's language Closes #28449 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Merge pull request #26421 from mattian/enh/25771/occ-delete-calendarChristoph Wurst2021-06-141-0/+137
|\ | | | | OCC command to delete calendars
| * occ: new command dav:delete-calendarMattia Narducci2021-06-131-0/+137
| | | | | | | | | | | | Add occ command 'dav:delete-calendar' to delete a user's calendar. Signed-off-by: Mattia Narducci <mattianarducci1@gmail.com>
* | Update php licensesJohn Molakvoæ (skjnldsv)2021-06-049-25/+10
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add a trashbin for calendars and calendar objectsChristoph Wurst2021-05-312-1/+61
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Restrict autocompletion also based on the phonebook known usersJoas Schilling2021-03-101-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-181-1/+1
| | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2020-12-301-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Allow to force rename a conflicting calendarJohn Molakvoæ (skjnldsv)2020-12-101-16/+68
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-246-0/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add Typed Events for CalDAV- and CardDAV-related EventsGeorg Ehrke2020-08-181-2/+4
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Also always return in app commandsJoas Schilling2020-06-268-11/+19
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* 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>