Robin Appelman
|
ef8f2155cb
|
fix: don't propagate future mtimes
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2024-12-04 19:12:30 +07:00 |
Robin Appelman
|
671170a269
|
fix: verify that parent exists in cache when inserting
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2024-09-19 17:44:45 +07:00 |
provokateurin
|
f1817dc82b
|
fix(files): Adjust Cache::searchQuery() parameter name to match interface
Signed-off-by: provokateurin <kate@provokateurin.de>
|
2024-09-13 20:12:49 +07:00 |
Robin Appelman
|
3e56c3d681
|
feat: add option to disable scanner transactions
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2024-06-13 12:02:53 +07:00 |
Robin Appelman
|
d1aac3292a
|
fix: get child ids for folder in a separate query during move
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2024-06-13 09:46:42 +07:00 |
Louis Chemineau
|
b7cd197315
|
fix(files): Use isRetryable to catch retryable exceptions
Signed-off-by: Louis Chemineau <louis@chmn.me>
|
2024-06-12 08:15:08 +07:00 |
Ferdinand Thiessen
|
b3341a17dc
|
Merge pull request #45158 from nextcloud/backport/45140/stable29
[stable29] fix: fix FileAccess::getByFileId(InStorage)
|
2024-05-29 10:27:19 +07:00 |
Josh
|
413526a688
|
Merge pull request #45215 from nextcloud/backport/45058/stable29
[stable29] perf(db): Sort data for IN before chunking
|
2024-05-28 17:04:56 +07:00 |
Maxence Lange
|
3f86f4e1ff
|
feat(metadata): migrate to lazy appconfig
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2024-05-27 10:27:49 +07:00 |
Christoph Wurst
|
9c4d8b3337
|
perf(db): Sort data for IN before chunking
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
2024-05-25 20:48:55 +07:00 |
Josh
|
3fef446b62
|
fix(Files): Change how scanner diffs for changed metadata
Fixes #43408
Signed-off-by: Josh <josh.t.richards@gmail.com>
|
2024-05-13 09:07:48 +07:00 |
Robin Appelman
|
62e712cb85
|
fix: fix FileAccess::getByFileId(InStorage)
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2024-05-02 17:11:34 +07:00 |
Robin Appelman
|
6c142a3cd5
|
fix: use proper jailed patch in watcher
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2024-04-09 10:41:50 +07:00 |
Côme Chilliet
|
0b332ceac2
|
fix: Apply new coding standard to all files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
|
2024-04-04 11:45:22 +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 |
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 |
Robin Appelman
|
658aed27ea
|
select the fileid first when looking for incomplete files
this seems to improve mariadbs index selection
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2023-08-14 18:08:01 +07:00 |
John Molakvoæ
|
7b7d1e3c09
|
fix: simplify `sourceData` check
Co-authored-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
|
2023-08-05 12:05:36 +07:00 |