aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Server.php
Commit message (Collapse)AuthorAgeFilesLines
* expose system tags as dav property for filesRobin Appelman2023-04-281-5/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #36800 from rotdrop/feature/dav-macos-quirksAnna2023-03-131-0/+2
|\ | | | | apps/dav: add some OSX specific quirks.
| * apps/dav: add some OSX specific quirks.Claus-Justus Heine2023-03-071-0/+2
| | | | | | | | Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
* | feat(s3): Use multipart upload for chunked uploadingJulius Härtl2023-03-081-0/+3
|/ | | | | | This allows to stream file chunks directly to S3 during upload. Signed-off-by: Julius Härtl <jus@bitgrid.net>
* [WIP] Add logging to Scheduling PluginAnna Larch2023-01-041-1/+1
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Added parameter to disallow calendar subscription via linkPawel Boguslawski2022-11-021-1/+4
| | | | | | | | | | | | | | | | | | | | Added calendar application config parameter `dav.allow_calendar_link_subscriptions` to disallow calendar subscription via link (i.e. for internal Nextcloud setups). Use ``` occ config:app:set dav allow_calendar_link_subscriptions --value 'yes' ``` to allow (default if not set) and ``` occ config:app:set dav allow_calendar_link_subscriptions --value 'no' ``` to disallow calendar subscription via link. Author-Change-Id: IB#1126265 Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
* Move Dav fileid and permissions logic into OCP\Util to be able to use it for ↵Côme Chilliet2022-08-291-1/+4
| | | | | | BulkUpload Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix view-only code after code review commentsVincent Petry2022-07-281-1/+1
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Add share attributes + prevent download permissionVincent Petry2022-07-281-0/+6
| | | | | | Makes it possible to store download permission Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Cleanup davCarl Schwan2022-05-051-2/+1
| | | | | | | - Remove unused class AppEnabledPlugin - Add more type hinting when possible Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* remove leading minus which thankfully crashes because this operand does not ↵Julien Veyssier2022-05-041-1/+1
| | | | | | apply to PsrLoggerAdapter Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* Fix use of $logger from another scope in apps/dav/lib/Server.phpCôme Chilliet2022-05-021-0/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Migrate dav application from ILogger to LoggerInterfaceCôme Chilliet2022-05-021-11/+10
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #29510 from nextcloud/backport/27378/masterJohn Molakvoæ2022-04-041-0/+2
|\
| * Add dav plugin to trigger recalculating of checksumsRobin Appelman2022-03-311-0/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Add a built-in profiler inside NextcloudCarl Schwan2022-04-041-10/+21
|/ | | | | | The webui is provided by a seperate application named profiler Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Add logging around dav execJulius Härtl2022-02-281-0/+5
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Remove setting defaultUsernamePath dynamicallyThomas Citharel2022-02-141-1/+0
| | | | | | | | Since Sabre 3.0.6 this is no longer possible. @see https://github.com/sabre-io/dav/pull/582 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* send request id in response headerRobin Appelman2022-02-011-0/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Revert "add dav plugin to trigger recalculating of checksums"John Molakvoæ2021-11-011-2/+0
|
* Merge pull request #27378 from nextcloud/dav-recalc-checksumJohn Molakvoæ2021-11-011-0/+2
|\
| * Add dav plugin to trigger recalculating of checksumsRobin Appelman2021-08-231-0/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Clean BulkUpload pluginLouis Chemineau2021-10-161-4/+4
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | Add BulkUpload DAV pluginLouis Chemineau2021-10-151-0/+6
|/ | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Merge pull request #28084 from nextcloud/bugfix/noid/dav-user-idJohn Molakvoæ2021-07-231-0/+1
|\ | | | | Make sure that the dav propfind plugins always use the proper user id
| * Make sure that the dav propfind plugins always use the proper user idJulius Härtl2021-07-221-0/+1
| | | | | | | | | | | | | | | | For old android versions it could happen that the requests are performed with a login name instead of the actual user id, so before this change the property methods used the wrong value for fetching their information Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | QuotaPlugin expect 1 parameterDaniel Kesselberg2021-07-211-1/+1
|/ | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Export the CalDAV trash bin retention duration as propertyChristoph Wurst2021-06-021-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add a trashbin for calendars and calendar objectsChristoph Wurst2021-05-311-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Don't overwrite the event if we use it laterRoeland Jago Douma2020-10-281-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Also run the SabreAuthInitEvent for the main serverRoeland Jago Douma2020-10-271-0/+7
| | | | | | else for example trusted servers breaks Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add ability to limit sharing to ownerGeorg Ehrke2020-08-181-2/+2
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Allow for compression of the PROPFIND responsesRoeland Jago Douma2020-06-061-0/+5
| | | | | | | For now it just gzip and only for propfind (the 99% case). Already saves a bunch since the propfinds compress so nicely. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Translate the maintenance mode message in webdavMorris Jobke2020-05-061-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Provide dav setting for user's default calendarThomas Citharel2020-04-131-1/+1
| | | | | | And add tests to handle schedule-default-calendar-URL Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-2/+2
| | | | | | | | | | | | | | | 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>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Sabre/DAV 4.0: beforeMethod is now beforeMethod:*Georg Ehrke2020-03-271-1/+1
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Update license headersChristoph Wurst2019-12-051-4/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add refresh-interval to exported calendarsGeorg Ehrke2019-11-271-1/+1
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Some php-cs fixesRoeland Jago Douma2019-11-221-6/+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>
* Use the proxymapper to obtain valid proxy dataRoeland Jago Douma2019-08-151-1/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use dependency injection for app managerMorris Jobke2019-03-131-1/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add HasPhoto DAV pluginJohn Molakvoæ (skjnldsv)2019-02-271-0/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add Apple Provisioning profileGeorg Ehrke2019-01-301-0/+12
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Log failure on parsingJohn Molakvoæ (skjnldsv)2019-01-041-1/+4
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* cache webcal calendars on serverGeorg Ehrke2018-11-071-0/+3
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>