summaryrefslogtreecommitdiffstats
path: root/lib/private/Files
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
| * | | fix(ObjectStore): Make copying behavior consistent with local storageFerdinand Thiessen2023-11-171-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | Drop file permissions on copy like we do on local storage. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | accept boolean valueMaxence Lange2023-11-221-3/+3
|/ / / | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | optimize UserMountCache::registerStorageRobin Appelman2023-11-163-57/+61
| | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | | Merge pull request #40935 from nextcloud/local-case-insensitiveBenjamin Gaussorgues2023-11-151-1/+26
|\ \ \ | | | | | | | | add some support for rename on case insensitive local filesystems
| * | | add some support for rename on case insensitive local filesystemsRobin Appelman2023-10-201-1/+26
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #41366 from ir0nhide/fix/multipart-copy-ssecJulius Härtl2023-11-151-1/+7
|\ \ \ \
| * | | | fix(s3): support SSE-C headers for the MultipartCopy callTobias Zimmerer2023-11-141-1/+7
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Tobias Zimmerer <3228193+ir0nhide@users.noreply.github.com>
* | | | | Merge pull request #38622 from nextcloud/ifElseReturnMatchGit'Fellow2023-11-151-15/+8
|\ \ \ \ \ | |/ / / / |/| | | | Replace if/else with return match
| * | | | Replace if/else with return matchGit'Fellow2023-11-011-15/+8
| | |/ / | |/| | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | | | fix psalmMaxence Lange2023-11-141-5/+1
| | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | | ignore metadata if table is emptyMaxence Lange2023-11-144-6/+26
| | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | | moving metadataqueryMaxence Lange2023-11-133-3/+3
| | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | | feat(files): Allow advanced search for filesBenjamin Gaussorgues2023-11-103-1/+17
| | | | | | | | | | | | | | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>