Commit Graph

199 Commits (092b4e7b5381e9cb96efda9e4535648ffab506cd)

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 2a17025d53 Move bool to int conversion to buildParts(), so it also happens for update(). 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
Thomas Mueller e2d3225e5a implement a platform independent version of basename 13 years ago
Michael Gapczynski 1faac6108c Use query to calculate folder size 13 years ago
Michael Gapczynski dd4e33fe6b Fix calculating size for empty folders 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
kondou d9c697534d Fix some typos 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
Thomas Mueller 87521f6c6e dirname('/test.txt') returns '\' on windows whereas on linux we get back '.' 13 years ago
Thomas Mueller 84a8aea410 restore Updater functionality on non-Windows platforms 13 years ago
Jörn Friedrich Dreyer 54f9477f34 fix another double wrapped array 13 years ago
Jörn Friedrich Dreyer 6d55a062be remove additional array wrapping 13 years ago
Jörn Friedrich Dreyer d3eadcde56 use executeAudited in files cache 13 years ago
Thomas Mueller c0b25a4375 [Fixing Updater Unit Tests on Windows] 13 years ago
Thomas Mueller 073306eaa2 [Fixing Updater Unit Tests on Windows] 13 years ago
Jörn Friedrich Dreyer 875c18b115 fix fetchRow checks to also work with MDB2 13 years ago
Jörn Friedrich Dreyer 307f1626e8 convert LIMIT to parameter 13 years ago
Jörn Friedrich Dreyer 124f34422c add missing backticks all over the place 13 years ago
Michael Gapczynski dbbf195727 Only retrieve the current user's permissions 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
Robin Appelman 44d217c425 Cache: provide a function to get the permissions of all files in a folder with one query 13 years ago
Florin Peter 505a300776 we should also normalize on update and search because the database layer will not do this for us 13 years ago
Florin Peter c245f5a99f added more places where normalization is needed 13 years ago
Florin Peter 736f10039d changed builtin normalizer to \OC_Util::normalizeUnicode 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
Jörn Friedrich Dreyer 1f1abe595d cleanup codestyle 13 years ago
Jörn Friedrich Dreyer eceb3c8ed5 add debug output 13 years ago
Roland Hager 2ea2abf11e Fixing UPDATE error in filecache table when renaming files by calling move(). Add storage id to the where clause to avoid updating entries of other users. 13 years ago
Florin Peter b3b6738d59 Revert "fix for webdav and wrong reference for findByStorageId" 13 years ago
Florin Peter 079f918d5c fix for webdav and wrong reference for findByStorageId 13 years ago
Michael Gapczynski 41e2d64c86 Add support for copying/moving folders between storages, move isIgnoredDir() to Filesystem 13 years ago