aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files
Commit message (Collapse)AuthorAgeFilesLines
* fix: php lint extra tab fixfix/conversion-extensionJohn Molakvoæ2025-01-171-1/+0
| | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
* fix(files): more conversion tests and translate error messagesskjnldsv2025-01-171-9/+35
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore: remove unnecessary methodfix/file-conversion-missing-extensionElizabeth Danzberger2025-01-161-17/+0
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: prevent missing target file extensionElizabeth Danzberger2025-01-161-12/+8
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix(files): conversion api simplification and conflict checkskjnldsv2025-01-161-36/+61
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(api): File conversion APIElizabeth Danzberger2025-01-151-0/+152
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: use proper way to get numeric storage id for mountpointRobin Appelman2025-01-131-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(PathHelper): Remove null bytes when normalizing pathfix/files_sharing/harden-apiprovokateurin2025-01-131-0/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #49903 from nextcloud/encryption-version-versionCôme Chilliet2025-01-071-0/+1
|\ | | | | fix: restore updated encrypted version when copying versions
| * fix: restore updated encrypted version when copying versionsencryption-version-versionRobin Appelman2025-01-031-0/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix: explicitly ignore nested mounts when transfering ownershipmount-move-checksRobin Appelman2025-01-061-3/+9
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix: translate mount move error messagesRobin Appelman2025-01-031-11/+36
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix: improve checks for moving shares/storages into other mountsRobin Appelman2025-01-031-15/+51
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: don't skip scanner users filesystem if they have a mountpoint at ↵Robin Appelman2024-12-271-2/+7
| | | | | | /<user>/files/ Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: Fix copying to the root of another mountpointfix/fix-copy-to-mountpoint-rootCôme Chilliet2024-12-171-0/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(View): Catch exceptions when executing mkdir for non-existent parentsfix/view/catch-mkdir-exception-non-existent-parentsprovokateurin2024-12-161-4/+11
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* Revert "fix: don't recalculate folder size in Cache::delete if the entry ↵ci/revert/47342Daniel Kesselberg2024-12-161-0/+3
| | | | | | | | didn't exist" This reverts commit 5ca9d884d78fd4439a74dde02fdcafb3ac7a40f4. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(TemplateManager): Make sure TemplateFolder is a FolderensureTemplateFolderGit'Fellow2024-12-131-2/+6
| | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* Merge pull request #47342 from nextcloud/cache-delete-notfound-sizeRobin Appelman2024-12-121-3/+0
|\ | | | | fix: don't recalculate folder size in Cache::delete if the entry didn't exist
| * fix: don't recalculate folder size in Cache::delete if the entry didn't existcache-delete-notfound-sizeRobin Appelman2024-08-201-3/+0
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #49739 from nextcloud/s3-disable-multipart-remove-debugKate2024-12-111-1/+0
|\ \ | | | | | | chore: cleanup leftover debug statement
| * | chore: cleanup leftover debug statements3-disable-multipart-remove-debugRobin Appelman2024-12-091-1/+0
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #40394 from nextcloud/updater-change-mimetype-objectstoreJohn Molakvoæ2024-12-111-9/+13
|\ \ \
| * | | fix: fix mimetype not being updated when changing file extention on object storeupdater-change-mimetype-objectstoreRobin Appelman2024-12-051-9/+13
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #49695 from nextcloud/copy-update-cache-excludedJohn Molakvoæ2024-12-111-1/+9
|\ \ \ \ | |_|/ / |/| | |
| * | | fix: only do cache copy in updater if the parent folder should be in cachecopy-update-cache-excludedRobin Appelman2024-12-061-1/+9
| |/ / | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #49352 from nextcloud/s3-disable-multipartJulius Knorr2024-12-062-10/+31
|\ \ \ | | | | | | | | improve handling of large single-part s3 uploads
| * | | fix: get object size from stream where possibleRobin Appelman2024-12-051-0/+8
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | fix: don't perform the extra buffering in s3 stream write when the stream ↵Robin Appelman2024-12-051-10/+23
| | | | | | | | | | | | | | | | | | | | | | | | size is known Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | fix: use php://temp instead of php://memory for multi-part upload bufferRobin Appelman2024-12-051-1/+1
| |/ / | | | | | | | | | | | | | | | this should reduce potential memory issues if the limit is set very high Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #49262 from nextcloud/move-from-encryption-no-optRobin Appelman2024-12-051-1/+5
|\ \ \ | |/ / |/| | fix: don't do same-storage move optimization with encryption wrappers
| * | fix: don't do same-storage move optimization with encryption wrappersmove-from-encryption-no-optRobin Appelman2024-11-131-1/+5
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #48769 from nextcloud/copy-share-unmaskedRobin Appelman2024-12-041-1/+8
|\ \ \ | | | | | | | | Fix incorrect permissions when copying shared files
| * | | fix: use scan_permissions when copying cache itemsRobin Appelman2024-12-041-1/+5
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | fix: store unmaked source permissions as scan_permissions when loading share ↵Robin Appelman2024-12-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | cache items Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #49551 from nextcloud/dont-propagate-future-timeJohn Molakvoæ2024-12-041-2/+9
|\ \ \ \ | |/ / / |/| | |
| * | | fix: don't propagate future mtimesRobin Appelman2024-11-281-2/+9
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #49293 from ↵Louis2024-12-041-3/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/artonge/fix/handle_folders_copy_live_photos fix: Handle copy of folders containing live photos
| * | | | fix: Correctly create NonExistingFolder during copyLouis Chemineau2024-12-041-3/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | | | Merge pull request #48651 from ↵Louis2024-12-043-11/+41
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | nextcloud/artonge/fix/copy_cache_during_copy_operations fix(files): Correctly copy the cache information during copy operations
| * | | | fix(files): Correctly copy the cache information on copy operationsLouis Chemineau2024-12-033-11/+41
| |/ / / | | | | | | | | | | | | | | | | | | | | Needed to copy the `encrypted` flag of encrypted files when those files are two level down in a moved folder. Signed-off-by: Louis Chemineau <louis@chmn.me>
* / / / fix: don't set 'name' on null metadataRobin Appelman2024-12-031-1/+3
|/ / / | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | fix: fix availability wrapper not applyingRobin Appelman2024-11-261-2/+2
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | fix: throw correct exception type when we can't verify if an s3 bucket existsRobin Appelman2024-11-261-4/+5
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | fix: Wrap partial cache entry in CacheEntryartonge/fix/getting_cache_entryLouis Chemineau2024-11-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Because it is returned here: https://github.com/nextcloud/server/blob/7b7d07c5750583ab3a7b29112af475f5c8891143/lib/private/Files/Cache/Cache.php#L136-L137 And some implementation got stricter: https://github.com/nextcloud/groupfolders/blob/df95bf6ba807da5171de91108879b6d8aa9f3611/lib/Mount/RootEntryCache.php#L23-L28 Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | Merge pull request #49417 from nextcloud/refactSmallAdjustJohn Molakvoæ2024-11-214-242/+68
|\ \ \
| * | | refactor(storage): Code adjustements and simplificationsrefactSmallAdjustGit'Fellow2024-11-214-242/+68
| | | | | | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | | | Merge pull request #49420 from nextcloud/fix/etag-constraint-search-queryJohn Molakvoæ2024-11-211-1/+1
|\ \ \ \ | |/ / / |/| | |
| * | | fix(cache): etag constraint violationfix/etag-constraint-search-queryskjnldsv2024-11-211-1/+1
| |/ / | | | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* / / fix(storage): Try to delete existing targetdeleteExistingTargetGit'Fellow2024-11-202-10/+15
|/ / | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> Add same logic to common storage