aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | 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
* | chore: use `$this->logger` and prevent Server::getfix/undefined-responseskjnldsv2024-11-081-2/+2
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | Fix Undefined variable: response notice in case of non-404 errorVictor Dubiniuk2024-11-081-2/+3
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | fix(OpenAPI): Adjust array syntax to avoid ambiguitiesfix/openapi/array-syntaxprovokateurin2024-11-051-2/+5
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | Merge pull request #47847 from ↵John Molakvoæ2024-10-291-2/+6
|\ \ | | | | | | | | | nextcloud/fix-copying-or-moving-from-shared-groupfolders
| * | fix: Fix copying or moving from shared groupfoldersDaniel Calviño Sánchez2024-10-101-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When copying or moving between two local storages the source path (on disk) to copy or move from is got from the unjailed path of the source storage. However, if the source storage has more than one jail getting the unjailed path resolves the most external jail, but the source path needs to be got from the most internal jail instead (the one closer to the local storage). This can happen, for example, with a shared groupfolder: in that case there is an external jail for the shared storage, and one internal jail for the groupfolder storage wrapped by the shared storage. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | feat(systemtags): add etag support and handle proppatchskjnldsv2024-10-291-1/+1
| | | | | | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | | Merge pull request #48614 from nextcloud/refactor/storage/constructorsKate2024-10-2820-67/+67
|\ \ \
| * | | refactor(Storage): Align all Storage constructorsrefactor/storage/constructorsprovokateurin2024-10-2320-67/+67
| | | | | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | fix: $uid type in Encryption streamartonge/fix/uid_typeLouis2024-10-231-1/+1
|/ / / | | | | | | | | | | | | | | | | | | As explained by the comment. Signed-off-by: Louis <louis@chmn.me> Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | chore(deps): Bump nextcloud/coding-standard in /vendor-bin/cs-fixerdependabot/composer/vendor-bin/cs-fixer/nextcloud/coding-standard-1.3.2dependabot[bot]2024-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 1.3.1 to 1.3.2. - [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/v1.3.1...v1.3.2) --- updated-dependencies: - dependency-name: nextcloud/coding-standard dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: provokateurin <kate@provokateurin.de>
* | | chore(db): Apply query prepared statementsdbQueriesExecStmt2Git'Fellow2024-10-174-49/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix: psalm fix: bad file fix: bug chore: add batch chore: add batch chore: add batch fix: psalm
* | | chore(db): Correctly apply query typesGit'Fellow2024-10-173-16/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix: psalm fix: error fix: add batch fix: fatal error fix: add batch chore: add batch chore: add batch fix: psalm fix: typo fix: psalm fix: return bool fix: revert Manager
* | | feat(http-client): expose default request timeout constant to be used ↵add-default-request-timeout-constThomas Citharel2024-10-111-1/+2
|/ / | | | | | | | | | | | | | | | | | | instead of magic number 30 Will be used to set default where we are able to override the default timeout. See https://github.com/nextcloud/server/pull/48418 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Merge pull request #48623 from nextcloud/fix/allow-quota-wrapper-checkKate2024-10-091-1/+1
|\ \
| * | fix: Allow overriding shouldApplyQuota check from child classesfix/allow-quota-wrapper-checkJulius Knorr2024-10-091-1/+1
| | | | | | | | | | | | Signed-off-by: Julius Knorr <jus@bitgrid.net>
* | | refactor(Storage): Make all parameter types strong typesprovokateurin2024-10-0721-601/+448
| | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | refactor(Wrapper\Encryption): Migrate to strong typesrefactor/stream-encryption/typingsprovokateurin2024-10-071-59/+15
| | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | refactor(Stream\Encryption): Migrate to strong typesprovokateurin2024-10-071-74/+42
|/ / | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | Merge pull request #48454 from ↵Kate2024-10-015-6/+6
|\ \ | | | | | | | | | nextcloud/fix/storage/get-directory-content-return-type
| * | fix(Storage): Fix getDirectoryContent() return typefix/storage/get-directory-content-return-typeprovokateurin2024-09-305-6/+6
| | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | Merge pull request #48235 from nextcloud/readd-object-store-phpunitRobin Appelman2024-10-012-24/+82
|\ \ \ | | | | | | | | test: re-add object store primary storage phpunit tests
| * | | fix: rework move into object store to better preserve fileidsreadd-object-store-phpunitRobin Appelman2024-09-271-19/+55
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | fix: preserve fileid when moving from objectstore to non-objectstoreRobin Appelman2024-09-272-6/+27
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | fix: ensure source folder is removed from cache when moving to objectstoreRobin Appelman2024-09-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | otherwise this causes confusion down the line as it's contents will be moved to the new cache Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | fix: catch NotPermittedException in Folder.nodeExistsupdate-phpdoc-for-folder-getDaniel Kesselberg2024-09-301-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | docs: Folder.get throws a NotPermittedException exceptionDaniel Kesselberg2024-09-303-23/+0
| |/ / |/| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | fix: Fix test of IConstructableStorage implentation by storage classesfix/fix-storage-interface-checkCôme Chilliet2024-09-301-1/+1
|/ / | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix(Storage): Fix IStorage return typesprovokateurin2024-09-2624-1484/+518
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | feat(trashbin): Port files trashbin events to IEventDispatcher/IEventListenerCarl Schwan2024-09-231-0/+5
| | | | | | | | | | | | | | | | oc_hooks is deprecated and will at some point be removed Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Thomas Citharel <tcit@tcit.fr> Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Move storage constructor to specific interfaceCôme Chilliet2024-09-232-1/+7
| | | | | | | | | | | | That allows Wrappers to use DI and not care about the constructor Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | chore: Add proper deprecation dates where missingFerdinand Thiessen2024-09-201-1/+1
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | perf: reuse cache info we already have when moving to object storeobject-store-move-dbRobin Appelman2024-09-191-2/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-1921-35/+35
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>