Commit Graph

44 Commits (268c7acfc47eb44ab154eb90cfbb4484bd64b296)

Author SHA1 Message Date
Michael Gapczynski 3ee3323b87 Fix retrieving of cache and scanner in Updater class 14 years ago
Robin Appelman b12abb2c94 use numeric ids for storages in the filecache 14 years ago
Robin Appelman 4be039e6cb Filecache Watcher: use scan or scanFile based on the current item, not the cached item 14 years ago
Robin Appelman bc52f12162 dont insert and entry in the filecache during upgrade if the id already exists in the filecache 14 years ago
Robin Appelman 317cd4c70a catch error if old filecache table is not present during upgrade 14 years ago
Robin Appelman 01eb5d2790 fix some edge cases while scanning the root of a storage 14 years ago
Robin Appelman 702444b242 fail gracefully when no old filecache is present during upgrade 14 years ago
Robin Appelman dbbb357f62 add upgrade path from old cache to preserve file id's 14 years ago
Robin Appelman a609992a75 better check if we are passing a fileid to Cache::get 14 years ago
Robin Appelman 0cfef83ed9 sort output of getFolderContent by name 14 years ago
Michael Gapczynski cc5d8e5609 Check if data variable in scanner isn't null before using it 14 years ago
Robin Appelman ad706229f5 explicitly sort files when using getFolderContents 14 years ago
Robin Appelman 8687e0d346 add Scanner->backgroundScan 14 years ago
Robin Appelman 186c9e77e8 add Cache->getIncomplete for use in background scanning 14 years ago
Robin Appelman e6cf082fe0 emit a hooks during the filesystem scan 14 years ago
Robin Appelman 40fae0acbf fix outdated permissions cache use in scanner 14 years ago
Robin Appelman cbcd9ba84a allow storage backends to implement custom permission management 14 years ago
Robin Appelman fedff3eafe add cache updater 14 years ago
Robin Appelman 5a173b901f fix Scanner->scan setting the filesize to 0 for files 14 years ago
Robin Appelman 15b8a3f987 move correctFolderSize from Scanner to Cache 14 years ago
Robin Appelman 3f644fe70c fix calculateFolderSize for non existing files 14 years ago
Robin Appelman e7bed5ddab allow creating Cache objects with only the storage id instead of the whole storage object 14 years ago
Robin Appelman 8a6bb7965d add Cache::move 14 years ago
Robin Appelman fba7be1194 add filesystem watcher to detect updates 14 years ago
Robin Appelman 79d0ac21cc delete child entries when a folder gets removed from cache 14 years ago
Robin Appelman 56e9ce44c3 add a way to recalucale the size of a folder in the cache 14 years ago
Robin Appelman 5bfff6c56e use absolute paths when resolving mount points 14 years ago
Robin Appelman fcc92a9f43 add searchByMime to new cache api 14 years ago
Robin Appelman 695405dfeb add permissions data to the results of the cache api 14 years ago
Robin Appelman c22a723785 add file permissions cache 14 years ago
Robin Appelman 8bce661e4d add search to the filecache api 14 years ago
Robin Appelman 39adadd3e3 move the cache api from OC_Files to filesystem(view) 14 years ago
Robin Appelman 13515effc9 add Cache::getStatus 14 years ago
Robin Appelman b9b9fd9dba more tests and fixes for the filesystem scanner 14 years ago
Robin Appelman 85be00be65 add some more test cases for the scanner 14 years ago
Robin Appelman e415e90c6d make filestorage scanner non-static and add a simple test case 14 years ago
Robin Appelman 636c75ce06 better parent path bahaviour for the filecache 14 years ago
Robin Appelman 92555eff71 add encrypted column to the new filecache 14 years ago
Robin Appelman 522d7df860 convert Cache to a non-static class that handles the cache for a single storage backend 14 years ago
Robin Appelman dcf995fff3 add Cache::getFolderContent 14 years ago
Robin Appelman 6fafd5d4e9 this should be done elsewhere if needed 14 years ago
Robin Appelman 97b0eabc85 fix several problems in the new filecache in order to complete the tests 14 years ago
Robin Appelman 153cd802a9 add partial file data to the result of Cache::get 14 years ago
Robin Appelman 954596c251 rework filecache to work directly on storage backends wip 14 years ago