Commit Graph

47 Commits (f4182d2dc9380015a1dadc6be40a731b8092c971)

Author SHA1 Message Date
Robin Appelman 9df18ffe75 only read permissions once 12 years ago
Robin Appelman 9bbfeada6b Only try to scan the children of directories 12 years ago
Robin Appelman 4242dd0d9d Reuse cache data of existing files during scan 12 years ago
Morris Jobke 7746ac519f drop dead code - ref #13301 12 years ago
Morris Jobke 9b49b52fc6 drop useless "!!! No reuse of etag" - fixes #13187 12 years ago
Jörn Friedrich Dreyer 0f17486c1d make path absolute 12 years ago
Robin Appelman 16b0d52031 Default to reusing etags in the scanner 12 years ago
Robin Appelman f88021dbbc Don't keep the full info of all children in memory 12 years ago
Lukas Reschke fa718d2e2c Fix typo 12 years ago
Robin Appelman 644755df66 Use bigger transactions when doing explicit file system scans 12 years ago
Martin d975012ae6 Improved scanner error message 12 years ago
Robin Appelman 6b1d8a56bb remove unused argument 12 years ago
Robin Appelman 054083b9cd add some comments 12 years ago
Robin Appelman 21cfd1014a Repair broken parent link in the scanner 12 years ago
Robin Appelman 3e73251750 Don't update the mtime if the storage mtime hasn't changed 12 years ago
Thomas Müller da3974bcb2 - drop permissions table and related code 12 years ago
Robin Appelman a6bb1e1bf8 Fix size calculation during recursive scan 12 years ago
Robin Appelman 6689d67a5b Fix recursive scanning 12 years ago
Robin Appelman e002ff6065 propagate changes in the scanner 12 years ago
Robin Appelman 0158788a2a Split of cache writes in the scanner to their own methods 12 years ago
ringmaster 19f0c47842 Missed one. 12 years ago
ringmaster 16ae63bdfd Updates per comments on PR: 12 years ago
ringmaster f79948f519 Prevent apps from affecting the scanner via hook. 12 years ago
ringmaster 3d1ba574e4 Change visibility of scanner internals 12 years ago
ringmaster 26d169b27c Use 'filesystem_check_enable' as a config option. 12 years ago
ringmaster 3b287f8274 Allow the default behavior to come from the config. 12 years ago
ringmaster fdf26c5a3f Rename variable to something more appropriate. 12 years ago
ringmaster 645e7035a4 Allow apps to control via a hook to skip adding/removing a file during filescan 12 years ago
Morris Jobke dc36d30953 Remove all occurences of @brief and @returns from PHPDoc 12 years ago
Robin McCorkell 87b548ed91 Fix all PHPDoc types and variable names, in /lib 12 years ago
Robin McCorkell b5bc37d2e4 Fix @return array PHPDocs, in /lib 12 years ago
Robin Appelman b42ce6c30a Prevent error if previously cached data doesn't have an etag 12 years ago
Robin Appelman 06c6163265 Check if fields we need are actually set to prevent errors 13 years ago
Robin Appelman da386aad59 Allow re-using already known fileinfo when calculating folder sizes 13 years ago
Robin Appelman 203d5d01ca Use storage_mtime when determining if we can reuse cached data while scanning 13 years ago
Robin Appelman 01ab15a2b0 reuse etags when doing a background scan 13 years ago
Robin Appelman d6845babd6 Add post hooks for filesystem scanner 13 years ago
Thomas Müller 0f266d0f62 set log level to DEBUG 13 years ago
Thomas Müller 8253994262 using array_diff_assoc to detect diffs in values as well 13 years ago
Thomas Müller c5b8963b18 log the data arrays 13 years ago
Thomas Müller 88d1e20d56 some logging added .... 13 years ago
Vincent Petry a542c57a7b Catch duplicate insertion errors while scanning files 13 years ago
Thomas Müller 9c9dc276b7 move the private namespace OC into lib/private - OCP will stay in lib/public 13 years ago
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 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