aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Cache
Commit message (Collapse)AuthorAgeFilesLines
* 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 #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>
* | fix(files): Correctly copy the cache information on copy operationsLouis Chemineau2024-12-031-9/+32
|/ | | | | | 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: 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>
* fix(cache): etag constraint violationfix/etag-constraint-search-queryskjnldsv2024-11-211-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(systemtags): add etag support and handle proppatchskjnldsv2024-10-291-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* 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-173-27/+27
| | | | | | | | | | | | | | | | 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-172-11/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* chore: Add proper deprecation dates where missingFerdinand Thiessen2024-09-201-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-193-6/+6
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix: fix share reminder job for oracleoracle-share-reminderRobin Appelman2024-09-181-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: verify that parent exists in cache when insertingRobin Appelman2024-09-181-0/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* chore: Fix psalm issues, put back private versions of getter in private ↵Côme Chilliet2024-09-161-6/+7
| | | | | | Storage interface Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #47852 from nextcloud/sharding-code-fixesJohn Molakvoæ2024-09-161-1/+1
|\
| * fix: misc code fixes around db shardingsharding-code-fixesRobin Appelman2024-09-091-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix(files): Adjust Cache::searchQuery() parameter name to match interfaceprovokateurin2024-09-132-4/+4
|/ | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: adjust code to adhere to coding standardAnna Larch2024-09-051-1/+1
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* chore: Apply php:cs recommendationsLouis Chemineau2024-08-281-9/+9
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix: hint storage id in more placesRobin Appelman2024-08-281-2/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat: implement distributing partitioned queries over multiple shardsRobin Appelman2024-08-281-4/+92
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-255-8/+8
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix: make batch propagator work with sharding restrictionsRobin Appelman2024-07-171-4/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: make joining on tags in search queries work with shardingRobin Appelman2024-07-171-1/+0
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: always set storage id in Cache::getRobin Appelman2024-07-171-2/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: add set storage id for more cache queriesRobin Appelman2024-07-171-0/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat: add base class for extending the query builderRobin Appelman2024-07-124-18/+7
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #45172 from nextcloud/test-scanner-no-transactionsRobin Appelman2024-06-131-1/+5
|\ | | | | feat: add option to disable scanner transactions
| * feat: add option to disable scanner transactionsRobin Appelman2024-05-031-1/+5
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix: get child ids for folder in a separate query during moveRobin Appelman2024-06-131-4/+21
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix(files): Use isRetryable to catch retryable exceptionsLouis Chemineau2024-06-111-2/+6
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | chore: Add SPDX headerAndy Scherzinger2024-05-2424-510/+79
| | | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* | Merge pull request #43794 from nextcloud/fix/files/scanner-metadata-diffCôme Chilliet2024-05-131-2/+47
|\ \ | | | | | | fix(files): handle multidimensional arrays in scanner
| * | fix(Files): Change how scanner diffs for changed metadataJosh2024-05-081-2/+47
| |/ | | | | | | | | Fixes #43408 Signed-off-by: Josh <josh.t.richards@gmail.com>
* | Merge pull request #45058 from nextcloud/perf/db/sort-before-chunkingChristoph Wurst2024-05-071-0/+3
|\ \ | |/ |/| perf(db): Sort data for IN before chunking
| * perf(db): Sort data for IN before chunkingChristoph Wurst2024-04-261-0/+3
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | fix: fix FileAccess::getByFileId(InStorage)Robin Appelman2024-05-011-2/+2
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* 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>
* | fix: use proper jailed patch in watcherRobin Appelman2024-04-081-0/+74
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix: Apply new coding standard to all filesCôme Chilliet2024-04-024-5/+5
| | | | | | | | 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>
* | 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>
* | Refactor `OC\Server::getLockingProvider`Andrew Summers2024-03-151-1/+1
| | | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
* | refactor(mimeloader): modernize MimeTypeLoaderThomas Citharel2024-03-141-3/+3
| | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | 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>