aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix(dav): Emit `BeforeZipCreatedEvent` when creating folder zip archivefix/bring-back-zip-eventFerdinand Thiessen2024-09-293-43/+45
| | | | | | 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-283-0/+165
| | | | | | requests Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Apply rector configuration to apps folderCôme Chilliet2024-09-2016-39/+39
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #47399 from nextcloud/fix/47275/driverExceptionHamza2024-09-191-2/+2
|\ | | | | fix: expand select and group by for calendar reminder backend
| * fix: expand select and group by for calandar reminder backendfix/47275/driverExceptionHamza Mahjoubi2024-09-191-2/+2
| | | | | | | | Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
* | chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-1964-105/+139
|/ | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix: Override start method of \Sabre\DAV\Server to remove exception outputartonge/fix/remove_unnecessary_formatingLouis Chemineau2024-09-181-0/+23
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix: Drop unnecessary exitLouis Chemineau2024-09-171-1/+0
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* refactor: move to new activity exceptionrefactor/move-to-new-activity-exceptionAnna Larch2024-09-175-15/+20
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* fix(Files): Handle getOwner() returning falsefix/storage/get-owner-falseprovokateurin2024-09-171-6/+4
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(Storage): Document getOwner() can return falseprovokateurin2024-09-171-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix: Remove OCP\Files\Storage interface deprecated since version 9Côme Chilliet2024-09-161-6/+8
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #47947 from nextcloud/feat/make-setup-check-trait-publicJoas Schilling2024-09-161-1/+1
|\ | | | | feat: Make `CheckServerResponseTrait` public and provide as `OCP\SetupCheck\CheckServerResponseTrait`
| * feat: Make `CheckServerResponseTrait` public and provide as ↵feat/make-setup-check-trait-publicFerdinand Thiessen2024-09-161-1/+1
| | | | | | | | | | | | | | | | | | `OCP\SetupCheck\CheckServerResponseTrait` This trait is used by other apps for creating setup checks, so we should provide it instead apps using private API. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Merge pull request #47924 from ldidry/catch-MaxInstancesExceededExceptionJoas Schilling2024-09-161-16/+31
|\ \ | |/ |/| 🥅 — Catch MaxInstancesExceededException on calendar events
| * fix(dav): catch `MaxInstancesExceededException` on calendar eventsLuc Didry2024-09-161-16/+31
| | | | | | | | Signed-off-by: Luc Didry <luc@didry.org>
* | Merge pull request #48029 from nextcloud/fix/dav-cast-content-lenght-to-intAnna2024-09-161-1/+1
|\ \ | | | | | | fix(dav): cast content length to interger
| * | fix(dav): cast content length to intergerfix/dav-cast-content-lenght-to-intAnna Larch2024-09-151-1/+1
| |/ | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | Merge pull request #48030 from nextcloud/fix/dav-cast-params-to-stringJohn Molakvoæ2024-09-161-1/+1
|\ \
| * | fix(dav): cast parameters to stringfix/dav-cast-params-to-stringAnna Larch2024-09-151-1/+1
| |/ | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | Merge pull request #48031 from nextcloud/fix/filesreport-cast-fileId-to-intAnna2024-09-161-1/+1
|\ \ | | | | | | fix(filesreport): cast fileId to integer
| * | fix(filesreport): cast fileId to integerfix/filesreport-cast-fileId-to-intAnna Larch2024-09-151-1/+1
| |/ | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | Merge pull request #48042 from nextcloud/refactor/elvisChristoph Wurst2024-09-161-15/+15
|\ \ | | | | | | refactor: Use the elvis operator + fix: Handle null checks with the ?? operator
| * | refactor: Use the elvis operatorChristoph Wurst2024-09-151-15/+15
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #48045 from ↵Kate2024-09-151-1/+1
|\ \ \ | |/ / |/| | | | | nextcloud/fix/add-function-type-for-mimetype-sanitizer
| * | fix(dav): set string type for sanitizeMtimefix/add-function-type-for-mimetype-sanitizerAnna Larch2024-09-151-1/+1
| |/ | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* / feat(caldav): create subscriptions via occfeat/add-subscription-via-occAnna Larch2024-09-151-0/+78
|/ | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Merge pull request #47737 from nextcloud/fix/also-allow-unsharing-for-circlesRichard Steinmetz2024-09-101-1/+1
|\ | | | | fix(caldav, carddav): also allow unsharing of circle shares
| * fix(dav): also allow unsharing of circle sharesAnna Larch2024-09-051-1/+1
| | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | fix: Adjust unit tests and protect against XSSFerdinand Thiessen2024-09-064-11/+27
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix(dav): Update 403 error messageCamila2024-09-061-1/+2
| | | | | | | | | | | | | | | | * The user should get a more friendly warning when their desktop client version is not supported anymore by the server. See #nextcloud/desktop/issues/6273 * Update BlockLegacyClientPluginTest to reflect the new 403 error message. Signed-off-by: Camila Ayres <hello@camilasan.com>
* | chore: adjust code to adhere to coding standardAnna Larch2024-09-0514-56/+56
|/ | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* fix(dav): Always respond custom error page on exceptionsLouis Chemineau2024-09-053-46/+48
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix: Allow read-only filename validation to allow reading filesFerdinand Thiessen2024-08-281-1/+1
| | | | | | Needed to read files with the "Windows compatibility" feature. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Renaming does not need update but delete permissionsFerdinand Thiessen2024-08-281-3/+3
| | | | | | | Renaming is basically copy + delete (a move), so no need to update permissions. Especially if the node is in a invalid directory the node should be moveable but not editable. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(dav): Pre-check if node can be copied or moved in DAV files pluginFerdinand Thiessen2024-08-283-42/+82
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: make preload custom proterties sharding compatibleRobin Appelman2024-08-281-9/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #47495 from ↵Louis2024-08-271-6/+0
|\ | | | | | | | | nextcloud/artonge/dept/delegat_is_encrypted_to_e2ee feat: Delegate is-encrypted handling to the e2ee app
| * feat: Delegate is-encrypted handling to the e2ee appLouis Chemineau2024-08-261-6/+0
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | fix(dav): Allow apps to get unshares for DAV resourcesJoas Schilling2024-08-262-5/+22
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-2595-322/+322
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(caldav): limit property lengthAnna Larch2024-08-221-1/+1
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* fix(caldav): allow renaming of birthday calendarsAnna Larch2024-08-201-1/+1
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Merge pull request #46723 from ↵Richard Steinmetz2024-08-143-172/+323
|\ | | | | | | | | nextcloud/feat/add-delta-sync-to-subscription-calendars feat(webcal): only update modified and deleted events from webcal calendars
| * feat(webcal): only update modified and deleted events from webcal calendarsAnna Larch2024-08-133-172/+323
| | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | Merge pull request #45435 from nextcloud/feat/dav/upcoming-events-apiChristoph Wurst2024-08-144-0/+204
|\ \ | | | | | | feat(dav): Add an API for upcoming events
| * | feat(dav): Add an API for upcoming eventsChristoph Wurst2024-08-134-0/+204
| |/ | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #47200 from nextcloud/fix/issue-47193Sebastian Krupinski2024-08-131-6/+6
|\ \ | | | | | | fix: test variables before returning
| * | fix: test variables before returningSebastianKrupinski2024-08-131-6/+6
| |/ | | | | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* / fix(caldav): allow VJOURNAL if no supported component set is specifiedRichard Steinmetz2024-08-131-1/+1
|/ | | | | | This is mandated by the RFCs. Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>