aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Command
Commit message (Collapse)AuthorAgeFilesLines
* feat: add command to clear contacts photo cacheDaniel Kesselberg2025-05-151-0/+75
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(caldav): prevent unshare entry creation for owner unsharingDaniel Kesselberg2025-05-142-0/+245
| | | | | | | | | | | | | - Introduces a `unshare` method in `CalDavBackend` to handle user unshares. - Implements check to determine if unshare entry is needed based on group/circle membership. - Ensures `updateShares` is only used when the calendar owner manages shares. - Resolves issue where unsharing a calendar as owner created an unshare entry in `oc_dav_shares`. Related PRs: - https://github.com/nextcloud/server/pull/43117 - https://github.com/nextcloud/server/pull/47737 Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* feat: Calendar Exportfeat/issue-563-calendar-exportSebastianKrupinski2025-05-061-0/+95
| | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* feat: command to list and delete calendar subscriptionsfeat/noid/occ-list-delete-calendar-subscriptionDaniel Kesselberg2025-03-092-0/+156
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* chore: Apply new rector configuration to apps folderCôme Chilliet2025-02-131-12/+16
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: use self failure for consistencyGreyXor2025-01-161-1/+1
| | | | Signed-off-by: GreyXor <greyxor@protonmail.com>
* fix: add eol in dav command and use success const as return codeGreyXor2025-01-161-1/+2
| | | | Signed-off-by: GreyXor <greyxor@protonmail.com>
* chore(db): Apply query prepared statementsdbQueriesExecStmt2Git'Fellow2024-10-171-2/+2
| | | | | | | | | | | | | | | | Fix: psalm fix: bad file fix: bug chore: add batch chore: add batch chore: add batch fix: psalm
* feat(carddav): add command to list address booksfeat/add-addressbook-list-commandAnna Larch2024-09-302-1/+77
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* chore: Apply rector configuration to apps folderCôme Chilliet2024-09-203-3/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-192-3/+5
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* feat(caldav): create subscriptions via occfeat/add-subscription-via-occAnna Larch2024-09-151-0/+78
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-255-17/+17
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-2711-225/+33
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-021-3/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(dav): Add occ command to fix missing caldav sync tokensChristoph Wurst2024-03-121-0/+86
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* enh(sharing): enable unsharing for sharees for DAV shares (addressbooks and ↵Anna Larch2024-02-151-3/+3
| | | | | | calendars) Signed-off-by: Anna Larch <anna@nextcloud.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-4/+4
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Refactors dav app commands.Faraz Samapoor2023-09-2010-203/+67
| | | | | | To improve code readability. Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* fix(CardDAV): only run upgrade sync if 1000 users or lessAnna Larch2023-08-261-6/+3
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* 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>