aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Server.php
Commit message (Collapse)AuthorAgeFilesLines
* Revert "fix(dav): Always respond custom error page on exceptions"Daniel Kesselberg2024-11-221-2/+4
| | | | | | This reverts commit 9992e7d4395a773fec7148cf5b4111f894cb40b7. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* feat: mail provider settingsfeat/mail-provider-settingsSebastianKrupinski2024-11-121-1/+2
| | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* refactor(apps): Use constructor property promotion when possibleprovokateurin2024-10-211-8/+6
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore(apps): Apply new rector configuration to autouse classesCôme Chilliet2024-10-151-15/+29
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(dav): Emit `BeforeZipCreatedEvent` when creating folder zip archivefix/bring-back-zip-eventFerdinand Thiessen2024-09-291-7/+8
| | | | | | This is required to not break behavior on zip download (apps should be able to react to zip download especially for shares). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(dav): New `ZipFolderPlugin` which allows to download folders using GET ↵Ferdinand Thiessen2024-09-281-0/+5
| | | | | | requests Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Apply rector configuration to apps folderCôme Chilliet2024-09-201-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Adjust unit tests and protect against XSSFerdinand Thiessen2024-09-061-1/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(dav): Always respond custom error page on exceptionsLouis Chemineau2024-09-051-4/+2
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(dav): Pre-check if node can be copied or moved in DAV files pluginFerdinand Thiessen2024-08-281-4/+10
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: mail provider backendSebastianKrupinski2024-07-231-1/+2
| | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* Merge pull request #45667 from ↵Richard Steinmetz2024-07-231-2/+4
|\ | | | | | | | | nextcloud/fix/caldav/strict-default-calendar-checks fix(caldav): stricter default calendar checks
| * fix(caldav): stricter default calendar checksRichard Steinmetz2024-07-221-2/+4
| | | | | | | | | | | | | | | | | | | | | | Reject calendars that - are subscriptions - are not writable - are shared with a user - are deleted - don't support VEVENTs Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | fix(dav): Call Sabre server startChristoph Wurst2024-07-221-1/+1
|/ | | | | | exec is deprecated and calls start. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(caldav): limit vevent sizeSebastianKrupinski2024-07-041-0/+2
| | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* fix(carddav): limit vcard sizeSebastianKrupinski2024-07-041-0/+2
| | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* fix(dav): also return shared-with-me shares dataskjnldsv2024-06-121-2/+4
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* Merge pull request #44664 from nextcloud/fix/dav/rate-limit-create-adress-bookHamza2024-05-281-0/+3
|\ | | | | fix(dav): Rate limit address book creation
| * fix(dav): Rate limit address book creationHamza Mahjoubi2024-05-271-0/+3
| | | | | | | | Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
* | chore: Add SPDX headerAndy Scherzinger2024-05-271-33/+3
|/ | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(caldav): Use userSession instead of userIdSebastianKrupinski2024-04-301-4/+3
| | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* fix(caldav): Do not load IMipPlugin before user auth and session is createdSebastianKrupinski2024-04-291-4/+15
| | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* feat(dav): update a principal's schedule-default-calendar-URLRichard Steinmetz2024-02-281-0/+1
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* fix(dav): Init ViewOnlyPlugin after authLouis Chemineau2024-02-271-5/+5
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(dav): Rate limit calendar/subscription creationChristoph Wurst2024-02-231-0/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Check share attributes when downloading versionsLouis Chemineau2024-02-211-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* chore(dav): Remove dead \OCA\DAV\Server::getSabreServerChristoph Wurst2023-12-111-3/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* feat(caldav): Create personal event for out-of-office messagesChristoph Wurst2023-11-141-0/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* IFilesMetadataMaxence Lange2023-11-071-1/+4
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Merge pull request #38610 from fsamapoor/replace_strpos_calls_in_dav_appChristoph Wurst2023-09-171-1/+1
|\ | | | | Refactors "strpos" calls in /apps/dav
| * Refactors "strpos" calls in /apps/dav to improve code readability.Faraz Samapoor2023-06-121-1/+1
| | | | | | | | Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* | fix(CalDAV): check birthday calendar ownerAnna Larch2023-09-061-1/+2
| | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | feat(dav): Emit a typed event to deprecate OCA\DAV\Connector\Sabre::addPluginJoas Schilling2023-07-171-4/+6
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* 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>