aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector
Commit message (Collapse)AuthorAgeFilesLines
* fix: block moving files to it's own parent with davblock-dav-move-parentRobin Appelman2025-01-031-0/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* refactor: Use Http framework where possibleuseHttpFrameworkGit'Fellow2024-12-146-18/+21
| | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* Merge pull request #48612 from nextcloud/fix/activity-log-for-favorites-in-davJulius Knorr2024-12-122-2/+6
|\ | | | | add activity logging for favorites in dav
| * refactor(tags): move favorite event dispatching to tags.phpgrnd-alt2024-12-031-4/+0
| | | | | | | | Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
| * fix(dav): add activity logging for favorites in davgrnd-alt2024-12-032-2/+10
| | | | | | | | Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
* | fix: log which file cannot be openedRobin Appelman2024-12-041-2/+7
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix: Throw exception when copy failedLouis Chemineau2024-12-041-1/+7
|/ | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* chore(config): set min supported desktop to `2.7.0`John Molakvoæ2024-11-271-1/+1
| | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com> Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(config): add `maximum.supported.desktop.version`skjnldsv2024-11-271-3/+15
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix: Re-throwing the TypeError to prevent exposing the installation pathbug/48678/restore-dav-error-responseDaniel Kesselberg2024-11-221-0/+92
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* 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>
* Revert "fix: Override start method of \Sabre\DAV\Server to remove exception ↵Daniel Kesselberg2024-11-221-23/+0
| | | | | | | | output" This reverts commit e202896a7476f6c3ad74793e6524293fd8a93224. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(Federation): Show some icon for federated users on sharesfenn-cs2024-11-091-0/+7
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix: smuggle storage id to metadata insert queriesRobin Appelman2024-11-071-0/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(psalm): Fix some newly detected issuesrefactor/apps/constructor-property-promotionprovokateurin2024-10-211-4/+0
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor(apps): Use constructor property promotion when possibleprovokateurin2024-10-2122-264/+132
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore(apps): Apply new rector configuration to autouse classesCôme Chilliet2024-10-1515-77/+95
| | | | 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-292-36/+37
| | | | | | 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-282-0/+160
| | | | | | requests Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Apply rector configuration to apps folderCôme Chilliet2024-09-203-6/+6
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-196-7/+7
| | | | 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: 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 #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>
* | 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>
* fix: Adjust unit tests and protect against XSSFerdinand Thiessen2024-09-062-6/+14
| | | | 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>
* fix(dav): Always respond custom error page on exceptionsLouis Chemineau2024-09-051-4/+2
| | | | 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-282-38/+72
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Delegate is-encrypted handling to the e2ee appLouis Chemineau2024-08-261-6/+0
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-2511-17/+17
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* feat: Make `ISharedStorage` public API and reuse where possibleFerdinand Thiessen2024-08-122-18/+18
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(dav): Ensure share properties are also set on public remote endpointFerdinand Thiessen2024-08-122-24/+17
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: keep previous exception when wrapping dav exceptionsRobin Appelman2024-07-231-10/+10
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(caldav): stricter default calendar checksRichard Steinmetz2024-07-221-1/+3
| | | | | | | | | | | 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>
* Merge pull request #46225 from nextcloud/fix/issue-11633Andy Scherzinger2024-07-191-7/+14
|\ | | | | fix(dav): Thrown forbidden error for authenticated user instead of no…
| * fix(dav): Thrown forbidden error for authenticated user instead of not foundSebastianKrupinski2024-07-101-7/+14
| | | | | | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* | fix(dav): Verify target path in `setName` instead of source pathFerdinand Thiessen2024-07-161-5/+8
|/ | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Authorization header can be an empty stringJulius Härtl2024-06-281-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #45973 from nextcloud/remove-chunking-v1Julius Härtl2024-06-246-218/+4
|\ | | | | chore: remove chunking-v1
| * chore: remove chunking-v1Robin Appelman2024-06-196-218/+4
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix(dav): Try basic auth for ajax WebDAV requestsFerdinand Thiessen2024-06-181-7/+5
|/ | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(dav): also return shared-with-me shares dataskjnldsv2024-06-121-32/+43
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* Merge pull request #45120 from ↵Ferdinand Thiessen2024-06-101-0/+3
|\ | | | | | | | | nextcloud/bugfix/noid/sensitive-dav-forbidden-logging fix(dav): Don't log access control as error
| * fix(dav): Don't log access control as errorJoas Schilling2024-04-301-0/+3
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | chore: Add SPDX headerAndy Scherzinger2024-05-2745-1038/+157
| | | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* | feat(caldav): expose calendar subscriptionsDaniel Kesselberg2024-05-071-0/+2
|/ | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>