Commit Graph

68 Commits (1ec7dff2fe1922a4690dc2537c0c64369ca86ea1)

Author SHA1 Message Date
Andreas Fischer 2129974584 Do not recheck $cacheData. Move if($reuseExisting) under if($cacheData). 13 years ago
Robin Appelman 235517f111 clear permissions cache when scanning a file 13 years ago
Andreas Fischer 011bca7b7f Only update the etag. Do not re-submit any other unchanged data. 13 years ago
Andreas Fischer a2f82da572 Use update() instead of put(). 13 years ago
Thomas Müller d84d548618 when storing back the data field 'encrypted' it is necessary to cast the boolean to an integer to make pg happy 13 years ago
Thomas Müller c8f9efeb94 etag changes are now propagated up the file tree 13 years ago
Thomas Müller 3c026b7cf6 recreate an etag within the scanner if the cache contains an empty etag 13 years ago
Arthur Schiwon ec3639dc7a Always check variable type before using readdir to avoid surprises 13 years ago
Robin Appelman c5402f4575 use strict equals in readdir loops to prevent issues with '0' files 13 years ago
Robin Appelman f22719b1ee Scanner: correctly pass trough reuse options when doing a recursive scan 13 years ago
Robin Appelman 3e7a86c6ec remove deleted files while scanning 13 years ago
Thomas Müller 464afb5eca use isset to prevent undefined index 13 years ago
Robin Appelman 74c54587ec better variable naming 13 years ago
Michael Gapczynski c8e60900fc Move check so the variable will never be undefined 13 years ago
Robin Appelman e1e7b6a940 Cache: don't check if the parent exists in the cache if we are already sure it does 13 years ago
Robin Appelman 02cdd52fb0 Make Cache\Scanner an emitter 13 years ago
Robin Appelman ff7e903f82 remove deleted files when re-scanning a folder 13 years ago
Robin Appelman 2ed0e6e915 add tests for reusing existing data in scanner 13 years ago
Robin Appelman f10a4db889 scanner: give more percision about what data is reused during scanning 13 years ago
Robin Appelman 30c09d0c8b split of scanning the childs of a folder 13 years ago
Michael Gapczynski ea55367678 Organize conditionals in a better order 13 years ago
Michael Gapczynski 04805d0be9 Only update metadata that has changed 13 years ago
Florin Peter d4b700ef4e revert previous fix and added normalizer to cache class 13 years ago
Florin Peter 85e0c78166 fix problems with german "Umlaut" in folder name 13 years ago
Michael Gapczynski 41e2d64c86 Add support for copying/moving folders between storages, move isIgnoredDir() to Filesystem 13 years ago
Michael Gapczynski 71eed76dbe Prevent backgroundScan() from looping if opendir() is failing for the same path 13 years ago
Jörn Friedrich Dreyer c3b0d3d38c rename isIgnoredFile to isPartialFile, remove check of blacklisted files in isPartialFile, correct usage of isPartialFile and isFileBlacklisted 13 years ago
Florin Peter d3df80a078 merge my fix from master b464970142 13 years ago
Florin Peter 3c100af132 revert changes to fbbc76f281 because master is very unstable right now 13 years ago
Florin Peter f55aaad858 fix for infinite loop causing on files_encryption branch when testing "apps/files_encryption/test/crypt.php" on Method testSymmetricStreamEncryptShortFileContent 13 years ago
Jörn Friedrich Dreyer aa103bd5b3 supress write hook for .part files 14 years ago
Jörn Friedrich Dreyer 4a70315ad1 ignore files in scanFile instead of scan to catch all occurences. 14 years ago
Arthur Schiwon 78c694b6ee Cache: on equal mtime also for equal size before keeping ETag, at least makes Unit Test happy 14 years ago
Arthur Schiwon 3d29a82150 Cache: Do not overwrite ETag when file did not change 14 years ago
Robin Appelman 0e55b61169 Improve phpdoc for the filecache 14 years ago
Andreas Schönebeck 387be37427 Filter display of blacklisted files 14 years ago
Robin Appelman b54dcd1999 Cache: fix scanner trying to use existing data when file isn't in cache 14 years ago
Thomas Mueller f2baf1ae0e fixing syntax error 14 years ago
Robin Appelman e1fe5279dd Cache: also preserve etags for files 14 years ago
Robin Appelman 2921d2fb78 Cache: don't create a new etag when the mtime hasn't changed 14 years ago
Robin Appelman d84c3cd014 Cache: actually use parameter 14 years ago
Robin Appelman 299649b40e Cache: reuse known folder sizes when doing a shallow scan 14 years ago
Robin Appelman 56d10e9054 Cache: simplify scanner logic a bit when handeling with unknown folder sizes 14 years ago
Jörn Friedrich Dreyer 1263511a17 append .part to put files 14 years ago
Robin Appelman 3e70d563a6 Cache: bookkeeping of storage_mtime 14 years ago
Jörn Friedrich Dreyer 420b63cbe4 fix empty path handling 14 years ago
TheSFReader 42d59d5a16 Remove a warning by making sure the renamed file is a dir before trying and opening it 14 years ago
Robin Appelman 6871a150bd Cache: use a database transition for scanning each folder 14 years ago
Robin Appelman 439578288f Cache: split permission cache scanning and cache scanning 14 years ago
Michael Gapczynski 2c23e143d3 Store etags in the file cache 14 years ago