Robin Appelman
|
5ff7bde3fb
|
fix: add set storage id for more cache queries
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2024-07-17 15:46:21 +07:00 |
Robin Appelman
|
c82d382a20
|
feat: add base class for extending the query builder
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2024-07-12 17:01:39 +07:00 |
Robin Appelman
|
3a60e40a81
|
Merge pull request #45172 from nextcloud/test-scanner-no-transactions
feat: add option to disable scanner transactions
|
2024-06-13 14:01:34 +07:00 |
Robin Appelman
|
082c6c6e1d
|
fix: get child ids for folder in a separate query during move
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2024-06-13 10:38:57 +07:00 |
Louis Chemineau
|
a93d3a5a10
|
fix(files): Use isRetryable to catch retryable exceptions
Signed-off-by: Louis Chemineau <louis@chmn.me>
|
2024-06-11 15:15:14 +07:00 |
Andy Scherzinger
|
dae7c159f7
|
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
|
2024-05-24 13:11:22 +07:00 |
Côme Chilliet
|
e68544d9f4
|
Merge pull request #43794 from nextcloud/fix/files/scanner-metadata-diff
fix(files): handle multidimensional arrays in scanner
|
2024-05-13 11:05:40 +07:00 |
Josh
|
3c3e45f0ad
|
fix(Files): Change how scanner diffs for changed metadata
Fixes #43408
Signed-off-by: Josh <josh.t.richards@gmail.com>
|
2024-05-08 08:36:42 +07:00 |
Christoph Wurst
|
6258823aba
|
Merge pull request #45058 from nextcloud/perf/db/sort-before-chunking
perf(db): Sort data for IN before chunking
|
2024-05-07 12:11:32 +07:00 |
Robin Appelman
|
f5219a19b2
|
feat: add option to disable scanner transactions
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2024-05-03 16:40:15 +07:00 |
Robin Appelman
|
8d870a32c2
|
fix: fix FileAccess::getByFileId(InStorage)
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2024-05-01 18:00:20 +07:00 |
Christoph Wurst
|
f3d6309e36
|
perf(db): Sort data for IN before chunking
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
2024-04-26 15:38:29 +07:00 |
Maxence Lange
|
b4004a2582
|
Merge pull request #43574 from nextcloud/enh/noid/lazyappconfig-migrate-metadata
enh(metadata): migrate metadata to lazy appconfig
|
2024-04-17 16:20:33 +07:00 |
Robin Appelman
|
d31ed8dbca
|
fix: use proper jailed patch in watcher
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2024-04-08 18:37:05 +07:00 |
Côme Chilliet
|
ec5133b739
|
fix: Apply new coding standard to all files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
|
2024-04-02 14:16:21 +07:00 |
Louis Chemineau
|
751795999a
|
feat(files)): Add retry logic to cover deadlock situations when moving many files
Signed-off-by: Louis Chemineau <louis@chmn.me>
|
2024-03-28 09:05:47 +07:00 |
Robin Appelman
|
1d9354a81e
|
feat: add interface for lower level filecache acess without having to do direct db queries
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2024-03-25 16:48:41 +07:00 |
Andrew Summers
|
45eb4a839d
|
Refactor `OC\Server::getLockingProvider`
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
|
2024-03-15 13:11:33 +07:00 |
Thomas Citharel
|
ffeb797ecc
|
refactor(mimeloader): modernize MimeTypeLoader
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2024-03-14 17:24:36 +07:00 |
Git'Fellow
|
575159b819
|
fix(filecache): Move from array_merge to avoid memory exhaustion
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
|
2024-03-04 18:13:45 +07:00 |
Robin Appelman
|
63ffaab95e
|
fix types + autoloader
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2024-02-15 17:55:43 +07:00 |
Robin Appelman
|
2e14a7a4a6
|
optimize query pattern used by storage filter
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2024-02-15 17:55:40 +07:00 |
Maxence Lange
|
4e1814acd1
|
migrate metadata to lazy appconfig
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2024-02-14 13:30:27 +07:00 |
Robin Appelman
|
e9d97a568f
|
use OCP\Server
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2024-02-12 16:39:00 +07:00 |
Robin Appelman
|
e50c176428
|
also improe cache ci for shared cache
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2024-02-09 14:00:26 +07:00 |
Robin Appelman
|
7a91abb439
|
improve di performance for cache
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2024-02-09 13:28:30 +07:00 |
Christoph Wurst
|
67a3ab48b5
|
Merge pull request #43131 from nextcloud/fix/files/cache-wrapper-no-partial-cache-entry-formatting
fix(files): Don't attempt to format a partial cache entry
|
2024-02-06 13:51:51 +07:00 |
Robin Appelman
|
b777304a77
|
also updated parent etags when a changed etag is detected during scanning
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2024-01-31 18:06:18 +07:00 |
Robin Appelman
|
e14bceb63f
|
dont reuse etag for folders marked explicitly unscanned
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2024-01-31 18:05:09 +07:00 |
Christoph Wurst
|
7e5303bec7
|
fix(files): Don't attempt to format a partial cache entry
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
2024-01-25 19:30:38 +07:00 |
Julius Härtl
|
cc75294eb6
|
perf: Avoid updating the folder size if we know the size difference
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2024-01-12 14:21:08 +07:00 |
Git'Fellow
|
394cd75322
|
Merge pull request #41272 from nextcloud/fixOccScans
fix: reduce memory consumption of scans
|
2023-11-28 11:36:59 +07:00 |
Joas Schilling
|
aa5f037af7
|
chore: apply changes from Nextcloud coding standards 1.1.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
|
2023-11-23 10:36:13 +07:00 |
Maxence Lange
|
ee787cd1c6
|
Merge pull request #41459 from nextcloud/enh/noid/search-metadata-null
implements search on null/notnull metadata
|
2023-11-23 07:52:27 +07:00 |
Maxence Lange
|
7467422f57
|
implements search on null/notnull metadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2023-11-22 12:43:27 +07:00 |
Christoph Wurst
|
ea8f9a7e84
|
refactor: Repalce array_search with in_array in lib/
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
2023-11-22 11:42:53 +07:00 |
Maxence Lange
|
761a688ec9
|
fix psalm
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2023-11-14 10:11:24 +07:00 |
Maxence Lange
|
3af12b2a50
|
ignore metadata if table is empty
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2023-11-14 09:28:58 +07:00 |
Maxence Lange
|
380b81315a
|
moving metadataquery
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2023-11-13 22:25:37 +07:00 |
Benjamin Gaussorgues
|
a75a93af8e
|
feat(files): Allow advanced search for files
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
|
2023-11-10 09:21:16 +07:00 |
Louis Chemineau
|
d3a313f192
|
Support getting and setting metadata in DAV requests
Signed-off-by: Louis Chemineau <louis@chmn.me>
|
2023-11-08 16:23:53 +07:00 |
Maxence Lange
|
f497d8b6e5
|
IFilesMetadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2023-11-07 12:43:08 +07:00 |
Maxence Lange
|
e62e9e3dbf
|
IFilesMetadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2023-11-07 00:21:38 +07:00 |
Git'Fellow
|
b4a3773115
|
fix: reduce memory consumption of scans
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Fix lint
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
|
2023-11-03 18:07:42 +07:00 |
Robin Appelman
|
460344336e
|
optimize cache jail creation
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2023-10-19 19:27:00 +07:00 |
Hamid Dehnavi
|
ea06cf2f39
|
Convert isset ternary to null coalescing operator
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
|
2023-09-28 17:44:19 +07:00 |
Côme Chilliet
|
5090848b25
|
Store size in int|float for 32bit support
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
|
2023-09-19 13:43:01 +07:00 |
Julius Härtl
|
13b9dd2267
|
fix: Only read unencrypted_size when file is actually encrypted
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2023-09-06 07:25:28 +07:00 |
Robin Appelman
|
9ea03a9534
|
reuse dependencies from wrapped cache
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2023-08-18 11:14:52 +07:00 |
Ferdinand Thiessen
|
9c04c07622
|
fix: Prevent PHP warnings when optional CacheEntry attributes are unset
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
|
2023-08-16 14:12:51 +07:00 |