aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | | feat: add interface to get only a single node by id instead of all nodes for ↵Robin Appelman2024-03-046-14/+23
| | | |_|_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the id this should be enough in most(?) cases and makes efficient implementation and caching easier Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | | | Merge pull request #43975 from nextcloud/search-optimize-fixesRobin Appelman2024-03-052-39/+18
| |\ \ \ \ \ \ | | |_|/ / / / | |/| | | | | Handle more cases in the MergeDistributive search query optimizer
| | * | | | | fix: handle cases where non-binary operators are mixed in for optimizing ↵Robin Appelman2024-03-041-38/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | search queries Signed-off-by: Robin Appelman <robin@icewind.nl>
| | * | | | | fix: don't short circuit query optimizerRobin Appelman2024-03-041-1/+3
| | |/ / / / | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | | Merge pull request #43791 from nextcloud/share-api-cleanupRobin Appelman2024-03-041-24/+29
| |\ \ \ \ \ | | |/ / / / | |/| | | | Share api cleanup
| | * | | | fix: update "move into share" check to share managerRobin Appelman2024-02-271-24/+29
| | | |/ / | | |/| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * / | | fix: Enforce forbidden filename characters on backendFerdinand Thiessen2024-02-281-5/+7
| |/ / / | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| * | | Merge pull request #43787 from nextcloud/fix/opendir-temporary-failureJohn Molakvoæ2024-02-241-0/+6
| |\ \ \
| | * | | fix: Throw instead of yielding nothing when listing local directoriesJulius Härtl2024-02-231-0/+6
| | |/ / | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * / / add a debug option to force a full filesystem setupRobin Appelman2024-02-241-0/+6
| |/ / | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | add some comments for the distributive operation and add another testRobin Appelman2024-02-161-4/+23
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | add extra flatten step to improve "or eq" -> "in" optimizationRobin Appelman2024-02-151-0/+1
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | fix types + autoloaderRobin Appelman2024-02-153-10/+19
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | add a search query step to split IN statements that are to large for ociRobin Appelman2024-02-152-0/+34
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | hopefully improve propagation of 'path eq hash' hint into 'in' statementsRobin Appelman2024-02-152-4/+5
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | optimize query pattern used by storage filterRobin Appelman2024-02-159-48/+377
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * Merge pull request #43461 from nextcloud/fix/get-rid-of-getloggerF. E Noel Nfebe2024-02-142-34/+56
| |\ | | | | | | chore: Migrate away from OC::$server->getLogger
| | * chore: Migrate away from OC::$server->getLoggerCôme Chilliet2024-02-132-34/+56
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | feat: rename users to account or personVincent Petry2024-02-131-1/+1
| |/ | | | | | | | | | | Replace translated text in most locations Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| * use OCP\ServerRobin Appelman2024-02-122-2/+4
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * also improe cache ci for shared cacheRobin Appelman2024-02-093-18/+24
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * improve di performance for cacheRobin Appelman2024-02-095-55/+101
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * only get the path for the users cached mount info when we use itRobin Appelman2024-02-092-15/+113
| | | | | | | | | | | | most of the time we shouldn't need it so we can save joining on the filecache Signed-off-by: Robin Appelman <robin@icewind.nl>
| * Merge pull request #41015 from nextcloud/background-scan-catch-storage-errorRobin Appelman2024-02-071-23/+27
| |\ | | | | | | continue background scanning different storages if one fails
| | * Merge branch 'master' into background-scan-catch-storage-errorRobin Appelman2024-01-3144-298/+593
| | |\
| | * | continue background scanning different storages if one failsRobin Appelman2023-10-201-23/+27
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | Merge pull request #43361 from ↵Ferdinand Thiessen2024-02-061-0/+3
| |\ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/fix/add-missing-phpdoc-template-parameters chore: Add missing ArrayAccess template parameters
| | * | | chore: Add missing ArrayAccess template parametersCôme Chilliet2024-02-061-0/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | Merge pull request #43131 from ↵Christoph Wurst2024-02-061-1/+1
| |\ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | nextcloud/fix/files/cache-wrapper-no-partial-cache-entry-formatting fix(files): Don't attempt to format a partial cache entry
| | * | | fix(files): Don't attempt to format a partial cache entryChristoph Wurst2024-01-251-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | | chore: Replace OC::$server->getL10N by OCP\Util::getL10N in lib and some appsCôme Chilliet2024-02-051-5/+5
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | refactor(objectstorage): cleanup typesThomas Citharel2024-02-023-15/+21
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
| * | | | refactor(objectstorage): move $user property from ObjectStoreStorage class ↵Thomas Citharel2024-02-022-14/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to HomeObjectStoreStorage Signed-off-by: Thomas Citharel <tcit@tcit.fr>
| * | | | fix(objectstorage): cleanup HomeObjectStoreStorageThomas Citharel2024-02-021-8/+4
| | |_|/ | |/| | | | | | | | | | | | | | | | | | Fix invalid signature for getUser() method and change occurences of OC\User\User for OCP\IUser Signed-off-by: Thomas Citharel <tcit@tcit.fr>
| * | | also updated parent etags when a changed etag is detected during scanningRobin Appelman2024-01-312-7/+30
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | dont reuse etag for folders marked explicitly unscannedRobin Appelman2024-01-311-1/+2
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | dav: fix wrong decoding of pluses in URLsLorenz Brun2024-01-311-1/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHP's urldecode function does not decode URLs according to RFC 3986, but according to the HTML 4.01 query parameter encoding. This results in pluses being wrongly decoded to spaces even though they should not be decoded at all. Use rawurldecode instead, which follows RFC 3986 properly. This fixes an issue where files on DAV shares containing pluses were incorrectly decoded to spaces. Fixes: #15849 Signed-off-by: Lorenz Brun <lorenz@brun.one>
| * | perf: Avoid updating the folder size if we know the size differenceJulius Härtl2024-01-122-15/+19
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | fix(s3): Add config option to disable multipart copy for certain s3 providersJulius Härtl2023-12-282-1/+4
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | only do a multipart s3 copy when above the regular copy limitRobin Appelman2023-12-282-11/+23
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | fix(TemplateManager): Bail early if templatedirectory is emptyMarcel Klehr2023-12-041-0/+5
| | | | | | | | | | | | | | | | | | fixes #39266 Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | Synchronize operation on live photo filesLouis Chemineau2023-11-291-2/+2
| | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
| * | Merge pull request #41272 from nextcloud/fixOccScansGit'Fellow2023-11-281-3/+6
| |\ \ | | | | | | | | fix: reduce memory consumption of scans
| | * | fix: reduce memory consumption of scansGit'Fellow2023-11-031-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> Fix lint Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
| * | | chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-2317-39/+39
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
| * | | Merge pull request #41459 from nextcloud/enh/noid/search-metadata-nullMaxence Lange2023-11-231-0/+2
| |\ \ \ | | | | | | | | | | implements search on null/notnull metadata
| | * | | implements search on null/notnull metadataMaxence Lange2023-11-221-0/+2
| | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| * | | | Merge pull request #40462 from nextcloud/refactor/lib-array_search-to-in_arrayAndy Scherzinger2023-11-222-3/+3
| |\ \ \ \ | | |/ / / | |/| | | refactor: Replace array_search with in_array in lib/
| | * | | refactor: Repalce array_search with in_array in lib/Christoph Wurst2023-11-222-3/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | | Merge pull request #41565 from nextcloud/fix/object-storage-inconsitent-behaviorFerdinand Thiessen2023-11-221-0/+7
| |\ \ \ \ | | |/ / / | |/| | | fix(ObjectStore): Make copying behavior consistent with local storage