aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | Merge pull request #43574 from nextcloud/enh/noid/lazyappconfig-migrate-metadataMaxence Lange2024-04-173-11/+6
| | |\ \ | | | |/ | | |/| enh(metadata): migrate metadata to lazy appconfig
| | | * migrate metadata to lazy appconfigMaxence Lange2024-02-143-11/+6
| | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| | * | Merge pull request #44294 from nextcloud/fix/storage-mount-ownerJulius Härtl2024-04-092-0/+17
| | |\ \ | | | | | | | | | | fix: Pass the mountpoint target user to storages without owner
| | | * | fix: Pass the mountpoint target user to storages without ownerJulius Härtl2024-04-092-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Storages that do not have a dedicated owner (e.g. groupfolders, external storages) currently always assume the current session user as the owner. This leads to several issues when there is no user session but a node is obtained through a user folder. In order to have the correct user available we need to pass the user that is used to setup a mountpoint along to the storage layer as we generally assume that an owner is available for those. Signed-off-by: Julius Härtl <jus@bitgrid.net>
| | * | | fix: use proper jailed patch in watcherRobin Appelman2024-04-082-4/+77
| | |/ / | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| | * | fix: Remove incorrect default null valueCôme Chilliet2024-04-021-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| | * | fix: Apply new coding standard to all filesCôme Chilliet2024-04-0229-54/+54
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| | * | feat(files)): Add retry logic to cover deadlock situations when moving many ↵Louis Chemineau2024-03-281-6/+25
| | | | | | | | | | | | | | | | | | | | | | | | files Signed-off-by: Louis Chemineau <louis@chmn.me>
| | * | fix(S3): Adjust typing for 32bit compatibilityFerdinand Thiessen2024-03-261-3/+6
| | | | | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| | * | feat: add interface for lower level filecache acess without having to do ↵Robin Appelman2024-03-251-0/+116
| | | | | | | | | | | | | | | | | | | | | | | | direct db queries Signed-off-by: Robin Appelman <robin@icewind.nl>
| | * | Merge pull request #44357 from nextcloud/wrapper-instanceof-resiliantJohn Molakvoæ2024-03-221-0/+9
| | |\ \
| | | * | fix: log error when default getWrapperStorage would return nullRobin Appelman2024-03-201-0/+9
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| | * | | feat(ObjectStore): Make S3 MultipartUpload concurrency configurableFerdinand Thiessen2024-03-213-3/+9
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| | * | | fix(ObjectStore): Use common S3 trait so config and connection trait members ↵Ferdinand Thiessen2024-03-213-30/+56
| | |/ / | | | | | | | | | | | | | | | | | | | | are in sync Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| | * | fix: ensure nested mount points are handled in the correct orderRobin Appelman2024-03-181-0/+7
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| | * | Refactor `OC\Server::getLockingProvider`Andrew Summers2024-03-153-3/+4
| | | | | | | | | | | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
| | * | Merge pull request #36252 from nextcloud/modernize-mime-typeloaderBenjamin Gaussorgues2024-03-142-30/+18
| | |\ \
| | | * | refactor(mimeloader): modernize MimeTypeLoaderThomas Citharel2024-03-142-30/+18
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
| | * | | fix: avoid scanning a non existing directoryBenjamin Gaussorgues2024-03-141-1/+5
| | |/ / | | | | | | | | | | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
| | * | Merge pull request #43652 from hopleus/bugfix/fixed-get-filename-in-fileinfoJohn Molakvoæ2024-03-141-1/+3
| | |\ \
| | | * | Refactoring getName functionhopleus2024-03-121-5/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: hopleus <hopleus@gmail.com>
| | | * | Merge branch 'master' into bugfix/fixed-get-filename-in-fileinfohopleus2024-02-291-5/+7
| | | |\ \
| | | * \ \ Merge branch 'master' into bugfix/fixed-get-filename-in-fileinfohopleus2024-02-262-0/+12
| | | |\ \ \
| | | * | | | Fixes for getting the file name in the cases when the file name key is ↵hopleus2024-02-191-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | received, but it is empty Signed-off-by: hopleus <hopleus@gmail.com>
| | * | | | | Merge pull request #39990 from nextcloud/recursive-shareArthur Schiwon2024-03-111-0/+11
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | add some recrusive detection/prevention
| | | * | | | | fix: add some recrusive detection/preventionRobin Appelman2024-03-081-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| | * | | | | | feat(files): copy live photosMaxence Lange2024-03-081-21/+29
| | |/ / / / / | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| | * | | | | Merge pull request #43982 from nextcloud/fixMemExaustJohn Molakvoæ2024-03-071-2/+7
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | fix(filecache): Move from array_merge to avoid memory exhaustion on large scans
| | | * | | | | fix(filecache): Move from array_merge to avoid memory exhaustionGit'Fellow2024-03-041-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
| | * | | | | | Revert "don't perform an explicit setup when using the file cache"Joas Schilling2024-03-073-22/+3
| | | | | | | |
| | * | | | | | Merge pull request #32163 from nextcloud/file-cache-gc-no-full-setupJohn Molakvoæ2024-03-073-3/+22
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | don't perform an explicit setup when using the file cache
| | | * | | | | | fix: fix user folder initRobin Appelman2024-03-063-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| | | * | | | | | fix: ensure user home mounts is registeredRobin Appelman2024-03-061-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| | * | | | | | | Merge pull request #43086 from nextcloud/s3-internal-multipart-copy-disableRobin Appelman2024-03-071-1/+2
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | disable the internal s3sdk multi part copy logic
| | | * | | | | | | fix: disable the internal s3sdk multi part copy logicRobin Appelman2024-03-061-1/+2
| | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| | * | | | | | | fix: clearify logic around getMountsForFileId filteringRobin Appelman2024-03-061-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| | * | | | | | | Revert "Filter mounts for file id before trying to get user information"Robin Appelman2024-03-061-16/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 1e2cf820c89b774d0a8d6f85bfd8d2fd1b4ab2d6. Signed-off-by: Robin Appelman <robin@icewind.nl>
| | * | | | | | | perf: use lazy user in UserMountCache for getting user for cached mountRobin Appelman2024-03-061-6/+4
| | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| | * | | | | | Merge pull request #43471 from nextcloud/cache-path-by-idRobin Appelman2024-03-057-21/+51
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Cache path by id
| | | * | | | | | perf: cache path by id to speedup getting nodes by idRobin Appelman2024-03-041-2/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| | | * | | | | | perf: switch places that always use the first getById result to getFirstNodeByIdRobin Appelman2024-03-042-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| | | * | | | | | 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>