Commit Graph

79 Commits (84f522f406d2bec8dff5acb0c7defc54b8e7d79a)

Author SHA1 Message Date
Robin Appelman 235517f111 clear permissions cache when scanning a file 12 years ago
Andreas Fischer d9a36ee82e Move setUp() and tearDown() up in tests/lib/files/cache/scanner.php. 12 years ago
Andreas Fischer de2e6e137b Do not convert boolean to integer in tests. put() already does this. 12 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 12 years ago
Thomas Müller c8f9efeb94 etag changes are now propagated up the file tree 12 years ago
Thomas Müller 3c026b7cf6 recreate an etag within the scanner if the cache contains an empty etag 12 years ago
Robin Appelman 1877a42a0d Scanner: additional tests for reusing etags during scanning 12 years ago
Robin Appelman 3e7a86c6ec remove deleted files while scanning 12 years ago
Michael Gapczynski afff750011 Add test for calculating size of newly empty folder 12 years ago
Robin Appelman 3f5eb762b6 Scanner test: ensure mtime in the cache is the same as on the storage to prevent random failures 12 years ago
Thomas Müller b4f7a88788 rename can cause mtime change - invalid assert 12 years ago
Jörn Friedrich Dreyer 4ecca9e97b graceful teardown of cache 12 years ago
Jörn Friedrich Dreyer 7a7b54c4a2 skip teardown if cache has not been set up 12 years ago
Thomas Mueller 5d0a3f981c adding unit test for folder remove: testRemovedFolder() 12 years ago
Robin Appelman ff7e903f82 remove deleted files when re-scanning a folder 12 years ago
Robin Appelman 0b74e71de8 fix updaters test cases 12 years ago
Robin Appelman 2ed0e6e915 add tests for reusing existing data in scanner 12 years ago
Michael Gapczynski 2a3887a5d7 Add tests for the updater with mount points 12 years ago
Jörn Friedrich Dreyer b6f8d2b859 raise failed tests from first commit to size @medium 12 years ago
Jörn Friedrich Dreyer 73fb722a9e add timeouts 3/30/90 to phpunit tests 12 years ago
Florin Peter 4eddef1556 improved tests to check if database layer normalize folder names 12 years ago
Florin Peter 5076c0d392 changed tests for using new normalizer 12 years ago
Florin Peter d4b700ef4e revert previous fix and added normalizer to cache class 12 years ago
Roland Hager 5c112657b2 New tests to assure that a move will not affect another users cache entries 12 years ago
Robin Appelman cea56df59e Have the filecache updater testcase clean the filesystem properly 12 years ago
Robin Appelman 15dae6198f Cache: add a backgroundjob to check for external changes to the filesystem 12 years ago
Robin Appelman 10be42f5b7 Cache: only look for child entires when doing a move operation when moving a folder 12 years ago
Robin Appelman 1d3beffacf Cache: better rename hook for cache updater 12 years ago
Robin Appelman 0c1ec758e8 Cache: hash long storage ids to ensure they fit in the database 12 years ago
Robin Appelman 299649b40e Cache: reuse known folder sizes when doing a shallow scan 12 years ago
Robin Appelman ad360296b9 Update tests and apps to the new \OC\Files\Filesystem::init signature 12 years ago
Robin Appelman 3e70d563a6 Cache: bookkeeping of storage_mtime 12 years ago
Robin Appelman 5d0c5c854b Cache: use greaterEquals in tests cases to prevent failures due to race conditions 12 years ago
Robin Appelman 9e2a066c7b Cache: add function to get storage id and internal path of a file by id 12 years ago
Robin Appelman 177537dbcc Cache: port test cases to PHPUnit 12 years ago
Robin Appelman db2b485b96 Cache: fix test case Updater::testRename 12 years ago
Michael Gapczynski 465c100d8f Add tests for mtime changes in folders - testRename is failing right now 12 years ago
Robin Appelman b41189de44 Cache: allow storage backends to overwrite Watcher 12 years ago
Michael Gapczynski d0a50fae83 Fix eTagUpdate and add tests 12 years ago
Robin Appelman 4be039e6cb Filecache Watcher: use scan or scanFile based on the current item, not the cached item 12 years ago
Robin Appelman cc0a0df88b one additional test case for the cache updater 12 years ago
Robin Appelman 8635699db9 fix cache behaviour for non existing files 12 years ago
Robin Appelman 8ce5e0d30d don't throw fatal error in updater cache if setup failed for some reason 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 cbcd9ba84a allow storage backends to implement custom permission management 13 years ago
Robin Appelman fedff3eafe add cache updater 13 years ago
Robin Appelman 15b8a3f987 move correctFolderSize from Scanner to Cache 13 years ago
Robin Appelman 8a6bb7965d add Cache::move 13 years ago
Robin Appelman fba7be1194 add filesystem watcher to detect updates 13 years ago