aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Files
Commit message (Collapse)AuthorAgeFilesLines
* fix(dav): file drop nicknameskjnldsv2025-06-051-6/+18
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(dav): correctly handle uploading folders with same name as a filefix/file-dropFerdinand Thiessen2025-05-161-31/+40
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(dav): use Node API instead of private files view for filedrop pluginFerdinand Thiessen2025-05-161-13/+19
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(dav): allow uploading folders to public sharesJohn Molakvoæ (skjnldsv)2025-05-131-23/+102
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #52586 from nextcloud/bugfix/noid/remove-sleep-from-throttlerDaniel2025-05-061-1/+5
|\ | | | | 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-021-1/+5
| | | | | | | | | | | | | | 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>
* | refactor(dav): Replace baseuri manipulation with RootCollection for public ↵provokateurin2025-05-052-3/+35
|/ | | | | | shares Signed-off-by: provokateurin <kate@provokateurin.de>
* 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: Replace all usage of OC_Template by the new APICôme Chilliet2025-03-061-2/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Apply new rector configuration to apps folderCôme Chilliet2025-02-132-2/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Revert "fix(dav): Always respond custom error page on exceptions"Daniel Kesselberg2024-11-221-44/+38
| | | | | | This reverts commit 9992e7d4395a773fec7148cf5b4111f894cb40b7. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Revert "fix: Drop unnecessary exit"Daniel Kesselberg2024-11-221-0/+1
| | | | | | This reverts commit d2bf3613f6c9210a720bebdcf82284bbfc604319. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(dav): file request guest nickname encodingskjnldsv2024-11-121-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* refactor(apps): Use constructor property promotion when possibleprovokateurin2024-10-211-7/+4
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore(apps): Apply new rector configuration to autouse classesCôme Chilliet2024-10-152-3/+5
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Use more gender neutral languageprovokateurin2024-10-141-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix: Drop unnecessary exitLouis Chemineau2024-09-171-1/+0
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(dav): Always respond custom error page on exceptionsLouis Chemineau2024-09-051-38/+44
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* chore(integration): add file request testsskjnldsv2024-07-191-6/+4
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files_sharing): add public name prompt for files requestsskjnldsv2024-07-181-11/+42
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files_sharing): allow uploading to subfolders in File requestsskjnldsv2024-07-181-5/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore: Add SPDX headerAndy Scherzinger2024-05-277-148/+22
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* feat(dav): Support multiple scopes in DAV searchLouis Chemineau2024-04-171-17/+74
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): allow any throwable in logExceptionVarun Patil2023-12-041-2/+2
| | | | | | | If a TypeError is passed here, it in turn causes a TypeError which kills the rendering of the error page. Signed-off-by: Varun Patil <varunpatil@ucla.edu>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-232-3/+2
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Fix is-define operatorLouis Chemineau2023-11-221-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* implements search on null/notnull metadataMaxence Lange2023-11-221-9/+22
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* moving metadataqueryMaxence Lange2023-11-131-1/+1
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Support getting and setting metadata in DAV requestsLouis Chemineau2023-11-081-23/+0
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* IFilesMetadataMaxence Lange2023-11-071-42/+60
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Make sure to not pass null to DateTime::createFromFormatCôme Chilliet2022-11-141-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* add a limit to the amount of operators a client can add to a search queryRobin Appelman2022-09-081-0/+27
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix an issue with the search backend updateCarl Schwan2022-04-141-10/+10
| | | | | | And update autoloader Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Add a metadata service to store file metadataCarl Schwan2022-04-132-16/+49
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Merge pull request #27635 from nextcloud/fix/datetime-constantsPytal2021-06-231-1/+1
|\ | | | | Fix usage of DateTime constants
| * Move DateTime::ATOM to DateTimeInterface::ATOMChristoph Wurst2021-06-231-1/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | allow setting offset for queries not limited to the users home storageRobin Appelman2021-06-221-3/+1
|/ | | | | | multi-storage offset is cheap (enough) now Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-047-11/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-183-3/+3
| | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-162-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headers for 19Christoph Wurst2020-04-295-0/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format code according to PSR2Christoph Wurst2020-04-101-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all methods and position of static keywordChristoph Wurst2020-04-103-6/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-105-6/+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-092-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-313-0/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Sabre/DAV 4.0: beforeMethod is now beforeMethod:*Georg Ehrke2020-03-272-2/+2
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* use core templates for displaying dav errors in the browserArthur Schiwon2020-03-201-3/+9
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix dav browser error page not styledArthur Schiwon2020-03-191-0/+3
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>