Commit Graph

61 Commits (00a30e665128352e9b20268ea65400a968903c74)

Author SHA1 Message Date
Robin Appelman af3b0e30ed Cache: don't insert duplicated during upgrade 13 years ago
Robin Appelman 9e2a066c7b Cache: add function to get storage id and internal path of a file by id 13 years ago
Robin Appelman 42a1a17a30 Cache: return non numberic storage id 13 years ago
Michael Gapczynski 664f33a29c Update mtimes of all parent folders after change inside 13 years ago
Robin Appelman 6871a150bd Cache: use a database transition for scanning each folder 13 years ago
Robin Appelman 29ec007979 Cache: dont migrate permissions, cache them on demain instead 13 years ago
Robin Appelman 7debfac0dc Cache: more efficient upgrading 13 years ago
Robin Appelman 94068e5d08 Cache: show upgrade progress 13 years ago
Robin Appelman d0377b1951 Cache: normalize mimetypes 13 years ago
Robin Appelman 439578288f Cache: split permission cache scanning and cache scanning 13 years ago
Robin Appelman a164fd160f Cache: provide path hints to getCache/etc where available 13 years ago
Michael Gapczynski d0a50fae83 Fix eTagUpdate and add tests 13 years ago
Michael Gapczynski 96e08a1d96 Fix function name 13 years ago
Michael Gapczynski 3ee3323b87 Fix retrieving of cache and scanner in Updater class 13 years ago
Michael Gapczynski 77f12c526b Update etags in parent folders 13 years ago
Michael Gapczynski 2c23e143d3 Store etags in the file cache 13 years ago
Robin Appelman b12abb2c94 use numeric ids for storages in the filecache 13 years ago
Robin Appelman 4be039e6cb Filecache Watcher: use scan or scanFile based on the current item, not the cached item 13 years ago
Robin Appelman bc52f12162 dont insert and entry in the filecache during upgrade if the id already exists in the filecache 13 years ago
Robin Appelman 317cd4c70a catch error if old filecache table is not present during upgrade 13 years ago
Robin Appelman 01eb5d2790 fix some edge cases while scanning the root of a storage 13 years ago
Robin Appelman 702444b242 fail gracefully when no old filecache is present during upgrade 13 years ago
Robin Appelman dbbb357f62 add upgrade path from old cache to preserve file id's 13 years ago
Robin Appelman a609992a75 better check if we are passing a fileid to Cache::get 13 years ago
Robin Appelman 0cfef83ed9 sort output of getFolderContent by name 13 years ago
Michael Gapczynski cc5d8e5609 Check if data variable in scanner isn't null before using it 13 years ago
Robin Appelman ad706229f5 explicitly sort files when using getFolderContents 13 years ago
Robin Appelman 8687e0d346 add Scanner->backgroundScan 13 years ago
Robin Appelman 186c9e77e8 add Cache->getIncomplete for use in background scanning 13 years ago
Robin Appelman e6cf082fe0 emit a hooks during the filesystem scan 13 years ago
Robin Appelman 40fae0acbf fix outdated permissions cache use in scanner 13 years ago
Robin Appelman cbcd9ba84a allow storage backends to implement custom permission management 13 years ago
Robin Appelman fedff3eafe add cache updater 13 years ago
Robin Appelman 5a173b901f fix Scanner->scan setting the filesize to 0 for files 13 years ago
Robin Appelman 15b8a3f987 move correctFolderSize from Scanner to Cache 13 years ago
Robin Appelman 3f644fe70c fix calculateFolderSize for non existing files 13 years ago
Robin Appelman e7bed5ddab allow creating Cache objects with only the storage id instead of the whole storage object 13 years ago
Robin Appelman 8a6bb7965d add Cache::move 13 years ago
Robin Appelman fba7be1194 add filesystem watcher to detect updates 13 years ago
Robin Appelman 79d0ac21cc delete child entries when a folder gets removed from cache 13 years ago
Robin Appelman 56e9ce44c3 add a way to recalucale the size of a folder in the cache 13 years ago
Robin Appelman 5bfff6c56e use absolute paths when resolving mount points 13 years ago
Robin Appelman fcc92a9f43 add searchByMime to new cache api 13 years ago
Robin Appelman 695405dfeb add permissions data to the results of the cache api 13 years ago
Robin Appelman c22a723785 add file permissions cache 13 years ago
Robin Appelman 8bce661e4d add search to the filecache api 13 years ago
Robin Appelman 39adadd3e3 move the cache api from OC_Files to filesystem(view) 13 years ago
Robin Appelman 13515effc9 add Cache::getStatus 13 years ago
Robin Appelman b9b9fd9dba more tests and fixes for the filesystem scanner 13 years ago
Robin Appelman 85be00be65 add some more test cases for the scanner 13 years ago