aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/RootCollection.php
Commit message (Collapse)AuthorAgeFilesLines
* feat(dav): Allow UploadHome to handle public sharesprovokateurin2025-05-051-0/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix: rework UploadFolder implementationuploadfolder-reworkRobin Appelman2025-02-251-1/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* chore: Apply new rector configuration to apps folderCôme Chilliet2025-02-131-25/+33
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat(dav): add systemtag object IDs listingskjnldsv2024-10-291-5/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore(apps): Apply new rector configuration to autouse classesCôme Chilliet2024-10-151-4/+8
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(caldav): allow listing of room and resource principalsRichard Steinmetz2024-07-311-2/+0
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* chore: Add SPDX headerAndy Scherzinger2024-05-271-25/+4
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* perf: switch places that always use the first getById result to getFirstNodeByIdRobin Appelman2024-03-041-1/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* enh(sharing): enable unsharing for sharees for DAV shares (addressbooks and ↵Anna Larch2024-02-151-5/+22
| | | | | | calendars) Signed-off-by: Anna Larch <anna@nextcloud.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-1/+0
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix(dispatcher): Move remaining simple cases in apps/ folder to IEventDispatcherJoas Schilling2023-07-251-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(comments): Emit CommentsEntityEvent as typed eventJoas Schilling2023-07-181-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(carddav): expose system address bookAnna Larch2023-05-111-2/+3
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* chore: polish SystemTagsInUseCollectionArthur Schiwon2023-05-091-4/+1
| | | | | | | | | - DI SystemTagManager - add some comments and doc - catch NoUserException - add return type hints Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* PoC: SystemTags endpoint to return tags used by a user with meta dataArthur Schiwon2023-05-091-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Target case is photos app: when visiting the tags category, all systemtags of the whole cloud are retrieved. In subequent steps the next tag is requested until the browser view is filled with tag tiles (i.e. previews are requested just as well). With this approach, we incorpoate the dav search and look for user related tags that are used by them, and already returns the statistics (number of files tagged with the respective tag) as well as a file id for the purpose to load the preview. This defaults to the file with the highest id. Call: curl -s -u 'user:password' \ 'https://my.nc.srv/remote.php/dav/systemtags-current' \ -X PROPFIND -H 'Accept: text/plain' \ -H 'Accept-Language: en-US,en;q=0.5' -H 'Depth: 1' \ -H 'Content-Type: text/plain;charset=UTF-8' \ --data @/home/doe/request-systemtag-props.xml With request-systemtag-props.xml: <?xml version="1.0" encoding="UTF-8"?> <d:propfind xmlns:d="DAV:"> <d:prop xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns"> <oc:id/> <oc:display-name/> <oc:user-visible/> <oc:user-assignable/> <oc:can-assign/> <nc:files-assigned/> <nc:reference-fileid/> </d:prop> </d:propfind> Example output: … <d:response> <d:href>/master/remote.php/dav/systemtags/84</d:href> <d:propstat> <d:prop> <oc:id>84</oc:id> <oc:display-name>Computer</oc:display-name> <oc:user-visible>true</oc:user-visible> <oc:user-assignable>true</oc:user-assignable> <oc:can-assign>true</oc:can-assign> <nc:files-assigned>42</nc:files-assigned> <nc:reference-fileid>924022</nc:reference-fileid> </d:prop> <d:status>HTTP/1.1 200 OK</d:status> </d:propstat> </d:response> <d:response> <d:href>/remote.php/dav/systemtags/97</d:href> <d:propstat> <d:prop> <oc:id>97</oc:id> <oc:display-name>Bear</oc:display-name> <oc:user-visible>true</oc:user-visible> <oc:user-assignable>true</oc:user-assignable> <oc:can-assign>true</oc:can-assign> <nc:files-assigned>1</nc:files-assigned> <nc:reference-fileid>923422</nc:reference-fileid> </d:prop> <d:status>HTTP/1.1 200 OK</d:status> </d:propstat> </d:response> … Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix errors from PHP 8.2 testingCôme Chilliet2022-11-141-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* 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-4/+3
|/ | | | | | Move them to proper EventListeners and test them Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Migrate dav application from ILogger to LoggerInterfaceCôme Chilliet2022-05-021-7/+6
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Move calendar objects between calendars instead of deleting and recreating themAnna Larch2022-03-161-4/+6
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Remove shadowed $config variableChristoph Wurst2021-10-131-1/+0
| | | | | | The variable is overwritten a few lines later. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add a trashbin for calendars and calendar objectsChristoph Wurst2021-05-311-4/+14
| | | | 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>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* dav search to honour sharing.maxAutocompleteResults settingArthur Schiwon2020-12-151-1/+1
| | | | | | | - it is being used on frontend by users - user and big instances benefit from quicker results and less load Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Add Typed Events for CalDAV- and CardDAV-related EventsGeorg Ehrke2020-08-181-6/+8
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-2/+0
| | | | | | | | | | | | | | | 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>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-091-24/+24
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add address book pluginsChristoph Wurst2020-03-091-2/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* respect shareapi_allow_share_dialog_user_enumeration in Principal backend ↵Georg Ehrke2019-12-031-2/+3
| | | | | | for Sabre/DAV Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+2
| | | | | | | | | | | * 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>
* use principaluri instead of userid, allowing to add delegates for rooms and ↵Georg Ehrke2019-08-151-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Use the proxymapper to obtain valid proxy dataRoeland Jago Douma2019-08-151-2/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use proper dependency injection for app managerMorris Jobke2019-03-051-1/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add Apple Provisioning profileGeorg Ehrke2019-01-301-1/+9
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Background job to cleanup leftover chunked uploadsRoeland Jago Douma2019-01-041-1/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* allow group principal search for dav displayname propertyGeorg Ehrke2018-10-221-1/+1
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* apply group restrictions to resourcesGeorg Ehrke2018-06-251-2/+2
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* add resource / room principalsGeorg Ehrke2018-06-251-4/+29
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* allow admins to override FreeBusy capabilities without modifying ShareAPI ↵Georg Ehrke2018-05-221-1/+2
| | | | | | capabilities Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Merge pull request #6884 from ↵Morris Jobke2017-12-121-1/+2
|\ | | | | | | | | nextcloud/feature/3003/opt_out_of_birthday_calendar Opt out of birthday calendar
| * remember when a user deleted their contact birthdays calendarGeorg Ehrke2017-11-101-1/+2
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Principal search: Take sharing settings into accountGeorg Ehrke2017-12-111-1/+4
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Fix functions to search for principals in the backend.Christoph Seitz2017-12-111-1/+1
| | | | | | | | | | | | | | Add a "searchPrincipals" function to the NC principal backend. Fix the "findByUri" function to respect the prefixPath. Signed-off-by: Christoph Seitz <christoph.seitz@posteo.de>
* | catch errors when parsing calendar data for calendar query requestsGeorg Ehrke2017-11-271-1/+2
|/ | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>