aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #52879 from nextcloud/bug/noid/clear-dav-photo-cacheChristoph Wurst32 hours4-22/+91
|\ | | | | Add command to clear dav's photo cache
| * refactor(dav): replace IAppData with IAppDataFactory for PhotoCachebug/noid/clear-dav-photo-cacheDaniel Kesselberg5 days3-22/+16
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * feat: add command to clear contacts photo cacheDaniel Kesselberg5 days1-0/+75
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #52890 from nextcloud/chore/move-stream-copy-implementationFerdinand Thiessen4 days1-1/+2
|\ \ | | | | | | chore: move streamCopy implementation from `OC_Helper` to `OCP\Files`
| * | chore: move streamCopy implementation from `OC_Helper` to `OCP\Files`Ferdinand Thiessen5 days1-1/+2
| |/ | | | | | | | | | | | | | | | | The function was already there but called the legacy version. So moved the implementation and migrated all usages of it. Sadly the interface was slightly different so adjusted it to be compatible with both legacy and the OCP one. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix(dav): correctly handle uploading folders with same name as a filefix/file-dropFerdinand Thiessen4 days1-31/+40
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | refactor(dav): use Node API instead of private files view for filedrop pluginFerdinand Thiessen4 days1-13/+19
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Merge pull request #52708 from ↵Richard Steinmetz5 days1-0/+30
|\ \ | |/ |/| | | | | nextcloud/fix/dav/update-rooms-resources-background-job fix(dav): add repair step to queue job to update rooms and resources
| * fix(dav): add repair step to queue job to update rooms and resourcesfix/dav/update-rooms-resources-background-jobRichard Steinmetz11 days1-0/+30
| | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | refactor: Apply rector refactoringschore/deps/rector-2.0provokateurin6 days4-17/+7
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | fix(dav): only consider user's principal for unsharing entriesbug/49834/calendar-unsharingDaniel Kesselberg7 days2-2/+2
| | | | | | | | | | | | | | | | | | | | Before: Find all entries in `dav_shares` with `access = 5` for the user's principal, as well as group and circle memberships. After: Find all entries in `dav_shares` with `access = 5` solely for the user's principal. Future support for unsharing group or circle principals could be considered as a feature enhancement. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | fix(caldav): prevent unshare entry creation for owner unsharingDaniel Kesselberg7 days8-29/+355
| | | | | | | | | | | | | | | | | | | | | | | | | | - Introduces a `unshare` method in `CalDavBackend` to handle user unshares. - Implements check to determine if unshare entry is needed based on group/circle membership. - Ensures `updateShares` is only used when the calendar owner manages shares. - Resolves issue where unsharing a calendar as owner created an unshare entry in `oc_dav_shares`. Related PRs: - https://github.com/nextcloud/server/pull/43117 - https://github.com/nextcloud/server/pull/47737 Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | fix(dav): remove unnecessary plugin getHTTPMethodsfeat/file-drop-recursiveJohn Molakvoæ (skjnldsv)7 days1-14/+0
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | feat(dav): allow uploading folders to public sharesJohn Molakvoæ (skjnldsv)7 days3-38/+118
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* fix: add calendar enablefix/noid/calendar-enabledSebastianKrupinski11 days4-2/+55
| | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* Merge pull request #52586 from nextcloud/bugfix/noid/remove-sleep-from-throttlerDaniel2025-05-063-5/+12
|\ | | | | fix(throttler): Always use the sleepDelayOrThrowOnMax instead of deprecated sleepDelay
| * fix(throttler): Remove the sleep from the throttler that throwsbugfix/noid/remove-sleep-from-throttlerJoas Schilling2025-05-023-5/+12
| | | | | | | | | | | | | | The sleep is not adding benefit when it's being aborted with 429 in other cases anyway. Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #52182 from nextcloud/feat/dav/public-share-chunked-uploadJohn Molakvoæ2025-05-0612-42/+175
|\ \
| * | feat(dav): Enable chunked upload for public sharesprovokateurin2025-05-052-1/+14
| | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
| * | feat(dav): Allow UploadHome to handle public sharesprovokateurin2025-05-053-6/+21
| | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
| * | refactor(dav): Pass UID from UploadHome to UploadFolder and CleanupServiceprovokateurin2025-05-053-15/+27
| | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
| * | refactor(dav): Replace baseuri manipulation with RootCollection for public ↵provokateurin2025-05-055-25/+113
| | | | | | | | | | | | | | | | | | shares Signed-off-by: provokateurin <kate@provokateurin.de>
| * | feat(dav): Allow share principalsprovokateurin2025-05-051-0/+5
| | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | feat: Calendar Exportfeat/issue-563-calendar-exportSebastianKrupinski2025-05-066-1/+277
|/ / | | | | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* / fix(dav): move orphan cleaning logic to a chunked background jobRichard Steinmetz2025-05-052-62/+114
|/ | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* Merge pull request #52228 from nextcloud/fix/issue-50748-calendar-object-moveChristoph Wurst2025-04-302-16/+24
|\ | | | | fix(CalDAV): do not ignore move command object target uri
| * fix: do not ignore move command object target urifix/issue-50748-calendar-object-moveSebastianKrupinski2025-04-162-16/+24
| | | | | | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* | fix(dav): check the owner displayName scope before giving attributeskjnldsv2025-04-303-1/+24
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | perf(caldav): increase chunk size in RemoveOrphanEventsAndContacts repair stepperf/caldav/bigger-chunks-orphan-repairRichard Steinmetz2025-04-291-1/+1
| | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | Merge pull request #51592 from nextcloud/fix/search-castFerdinand Thiessen2025-04-291-1/+7
|\ \ | | | | | | fix(dav): throw invalid argument when property type does not match
| * | fix(dav): throw invalid argument when property type does not matchfix/search-castFerdinand Thiessen2025-04-271-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Resolves https://github.com/nextcloud/server/issues/49972 Currently a TypeError is thrown when casting fails, this lead to a HTTP 500 error. Instead throw a proper InvalidArgumentError so the user receives a HTTP 400. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | fix: check if config is enabled before creating a default contactfix/default-contactHamza Mahjoubi2025-04-281-0/+7
|/ / | | | | | | Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
* | refactor(dav): refactor inline event listenerschore/dav/refactor-inline-listenersRichard Steinmetz2025-04-253-29/+11
| | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | refactor(dav): use first class callable syntax to boot the appchore/dav/first-class-callableRichard Steinmetz2025-04-251-4/+4
| | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | Merge pull request #51438 from ↵Daniel2025-04-241-1/+4
|\ \ | | | | | | | | | | | | nextcloud/perf/db/cards-properties-abid-name-value-idx perf(db): Extend index on cards_properties to cover name and value
| * | perf(db): Extend index on cards_properties to cover name and valueperf/db/cards-properties-abid-name-value-idxChristoph Wurst2025-03-121-1/+4
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #52241 from ↵Ferdinand Thiessen2025-04-231-1/+1
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/fix-room-or-resource-condition fix(caldav): Fix check for ROOM or RESOURCE condition
| * | | fix(caldav): Fix check for ROOM or RESOURCE commentbugfix/noid/fix-room-or-resource-conditionJoas Schilling2025-04-221-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | fix(dav): allow uploading of files with long filenamesfix/path-lengthFerdinand Thiessen2025-04-221-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A filename must be less or equal 255 characters, but when adding the `.part` and `.ocfiletransfer` extensions we might overflow this limit. So we should also use filename hashes for uploading when the file has a long filename, similar like when we are uploading to the user storage directly. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | refactor(dav): simplify length header handlingFerdinand Thiessen2025-04-221-31/+25
|/ / / | | | | | | | | | | | | | | | Reduce nesting and drop duplicated sections. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | / feat(files_sharing): add WebDAV property for the `hide-download` state of sharesFerdinand Thiessen2025-04-161-2/+15
| |/ |/| | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Merge pull request #51729 from ↵Louis2025-04-151-14/+25
|\ \ | | | | | | | | | | | | nextcloud/artonge/support_oc_checksum_in_bulk_upload feat: Support OC-Checksum in bulk upload
| * | feat: Support OC-Checksum in bulk uploadartonge/support_oc_checksum_in_bulk_uploadLouis Chemineau2025-04-011-14/+25
| | | | | | | | | | | | | | | | | | To align with the rest of Nextcloud. Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | Revert "feat(bulk-upload): change the default to disabled as there are still ↵revert-51431-enh/noid/disable-bulk-uploadLouis2025-04-111-1/+1
| | | | | | | | | | | | some bugs present"
* | | Merge pull request #51431 from nextcloud/enh/noid/disable-bulk-uploadTobias Kaminsky2025-04-111-1/+1
|\ \ \ | | | | | | | | feat(bulk-upload): change the default to disabled as there are still some bugs present
| * | | feat(bulk-upload): change the default to disabled as there are still some ↵enh/noid/disable-bulk-uploadSimon L.2025-04-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | bugs present Signed-off-by: Simon L. <szaimen@e.mail.de>
* | | | fix: fix preloading files with no custom propertiescustom-properties-preload-negativeRobin Appelman2025-04-091-1/+4
|/ / / | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | fix(dav): Really only run the chunk cleanup oncebugfix/noid/only-check-to-cleanup-chunks-onceJoas Schilling2025-04-081-0/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #51010 from nextcloud/uploadfolder-reworkRobin Appelman2025-04-023-24/+41
|\ \ \ | | | | | | | | fix: rework UploadFolder implementation
| * | | fix: rework UploadFolder implementationuploadfolder-reworkRobin Appelman2025-02-253-24/+41
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>