Commit Graph

81 Commits (2bc77a3c5aff352cdc19aa683bbb36da2ff20b01)

Author SHA1 Message Date
Robin Appelman bb4cf2830a
fix: better error message when trying to scan a folder that is already being scanned 8 months ago
Ferdinand Thiessen b48ee2e924
fix: Harden files scanner for invalid null access 11 months ago
provokateurin 9836e9b164
chore(deps): Update nextcloud/coding-standard to v1.3.1 1 year ago
Côme Chilliet 492e6997d8
chore: Fix psalm issues, put back private versions of getter in private Storage interface 1 year ago
Andy Scherzinger dae7c159f7
chore: Add SPDX header 2 years ago
Josh 3c3e45f0ad fix(Files): Change how scanner diffs for changed metadata 2 years ago
Robin Appelman f5219a19b2
feat: add option to disable scanner transactions 2 years ago
Andrew Summers 45eb4a839d Refactor `OC\Server::getLockingProvider` 2 years ago
Robin Appelman b777304a77
also updated parent etags when a changed etag is detected during scanning 2 years ago
Robin Appelman e14bceb63f
dont reuse etag for folders marked explicitly unscanned 2 years ago
Joas Schilling aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1 2 years ago
Hamid Dehnavi ea06cf2f39 Convert isset ternary to null coalescing operator 2 years ago
Côme Chilliet 5090848b25
Store size in int|float for 32bit support 2 years ago
Robin Appelman 292c0e53f8
add summary of detected changes to files:scan output 3 years ago
Robin Appelman 561536fc58
file scanner performance improvements 3 years ago
Faraz Samapoor e7cc7653b8 Refactors "strpos" calls in lib/private to improve code readability. 3 years ago
Côme Chilliet ae525e1935
Fix return types in phpdoc 3 years ago
Robin Appelman 2ea41dab93
repair -1 folder sizes for object store background scan 3 years ago
Robin Appelman b1f352c614
improve handling of files we can't access in the scanner 3 years ago
Côme Chilliet 426c0341ff
Use typed version of IConfig::getSystemValue as much as possible 3 years ago
Robin Appelman 649bed5154
fix unencrypted_size for files when scanning 3 years ago
Robin Appelman 63fb33538c
fix unencrypted_size for folders when scanning the filesystem with encryption enabled 3 years ago
Côme Chilliet f5c361cf44
composer run cs:fix 3 years ago
Git'Fellow e855298b3c Switch logical operators 3 years ago
Robin Appelman 457822c144 don't update the folder size if we know it hasn't changed 3 years ago
Côme Chilliet 069477e608
Migrate more classes of lib/private to LoggerInterface 4 years ago
Robin Appelman 89d3cd1447
don't overwrite the etag from storage backends that already provide "good" etags 4 years ago
Robin Appelman 84f464550a
some file scanner performance improvements 4 years ago
Robin Appelman f5fe887b4b
background scan the source storage when a background scan on a storage jail is triggered 4 years ago
Vincent Petry c92a0e4152
Normalize directory entries in Encoding wrapper 4 years ago
Vincent Petry 67ebe75d0e
Move storage encoding compatibility warning logic 4 years ago
Vincent Petry 39fe43b914
Normalize file name before existence check in scanner 4 years ago
John Molakvoæ (skjnldsv) 215aef3cbd
Update php licenses 5 years ago
Robin Appelman b844293536 catch notfound and forbidden exception in smb::getmetadata 5 years ago
Christoph Wurst 8b64e92b92
Bump doctrine/dbal from 2.12.0 to 3.0.0 5 years ago
Robin Appelman 205386b24e
ignore files that have no read permissions during scanning 5 years ago
Christoph Wurst d89a75be0b
Update all license headers for Nextcloud 21 5 years ago
Robin Appelman 9735b5d61f
Add method to storage backends to get directory content with metadata 6 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst 14c996d982
Use elseif instead of else if 6 years ago
Robin Appelman 5199f80196
call cache->insert directly instead of going trough cache->put first when scanning 6 years ago
Robin Appelman 9c7da26394
dont try to get existing cache data during scanning if we already know its a new file 6 years ago
Robin Appelman 3fb32f6f3d
reuse known parentId when inserting cache entries in scanner 6 years ago
Christoph Wurst 1a9330cd69
Update the license headers for Nextcloud 19 6 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 6 years ago
Ari Selseng d16cfb519e Avoid calculating folder size for parent that needs scan. 7 years ago
Robin Appelman 63caf331e5
cleanup locks in scanner on error 8 years ago
Arthur Schiwon 38a90130ce
move log constants to ILogger 8 years ago
Morris Jobke eb51f06a3b
Use ::class statement instead of string 8 years ago