Commit Graph

11 Commits (a44aab11f726dfe9bacb38339e2da59cdeb8f467)

Author SHA1 Message Date
Joas Schilling c07720de77
Use query builder instead of OC_DB in OC\Files\* 5 years ago
Christoph Wurst 1584c9ae9c
Add visibility to all methods and position of static keyword 6 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Ari Selseng d16cfb519e Avoid calculating folder size for parent that needs scan. 7 years ago
Michael Weimann d855c38e07
Moves the logo files to logo 7 years ago
Joas Schilling 4652d203e3
Make sure we don't scan files that can not be accessed 9 years ago
Robin Appelman eca57be336 Only recurse into incomplete folders during background scans 10 years ago
Joas Schilling 94ad54ec9b Move tests/ to PSR-4 (#24731) 10 years ago
Robin Appelman 62d383e1ba fix tests 10 years ago
Thomas Müller 3bb6dcea64 Apply DB group annotation ... 10 years ago
Bjoern Schiessle 8185eaa6dd also detect files in a .part folder as part file 10 years ago
Joas Schilling bb540722cd Use base class to reset the file mapper 11 years ago
Robin Appelman 21cfd1014a Repair broken parent link in the scanner 12 years ago
Thomas Müller da3974bcb2 - drop permissions table and related code 12 years ago
Robin Appelman 3bcdad62fb Fix unit tests 12 years ago
Robin Appelman 1302602173 fix illegal usage of unlink in test case 12 years ago
Jörn Friedrich Dreyer 131c12ad8d use assertInternalType for typechecking 12 years ago
Jörn Friedrich Dreyer 39f2f564a9 use assertSame and assertNotSame for etag checks 12 years ago
Robin Appelman 16b898ddb8 update another test 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 13 years ago
Robin Appelman 3e7a86c6ec remove deleted files while scanning 13 years ago
Robin Appelman 3f5eb762b6 Scanner test: ensure mtime in the cache is the same as on the storage to prevent random failures 13 years ago
Jörn Friedrich Dreyer 7a7b54c4a2 skip teardown if cache has not been set up 13 years ago
Thomas Mueller 5d0a3f981c adding unit test for folder remove: testRemovedFolder() 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 177537dbcc Cache: port test cases to PHPUnit 13 years ago
Robin Appelman 8687e0d346 add Scanner->backgroundScan 13 years ago
Robin Appelman cbcd9ba84a allow storage backends to implement custom permission management 13 years ago
Robin Appelman 15b8a3f987 move correctFolderSize from Scanner to Cache 13 years ago
Robin Appelman 79d0ac21cc delete child entries when a folder gets removed from cache 13 years ago
Robin Appelman 695405dfeb add permissions data to the results of the cache api 13 years ago
Robin Appelman a2785f57d2 fix cache scanner test case 13 years ago
Robin Appelman 08bb5dbe3a few more test cases for scanning folders 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
Robin Appelman e415e90c6d make filestorage scanner non-static and add a simple test case 13 years ago