Commit Graph

447 Commits (adff34cb8a7c2e2a6046e4fe28da3a77cd6492ca)

Author SHA1 Message Date
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
Robin Appelman a1d4eb1f95 files: when filtering search results, ensure results are children of the fakeroot not just path starting the same 13 years ago
Andreas Fischer 2a17025d53 Move bool to int conversion to buildParts(), so it also happens for update(). 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
Thomas Müller 0f4e214a90 adding null check on a mount's storage 13 years ago
Robin Appelman 2e5ce091f0 add storage backend interface to public namespace 13 years ago
Robin Appelman 9ad7891b4e improve phpdoc for the public files interface 13 years ago
Robin Appelman e271a55783 move filesystem expceptions to global namespace 13 years ago
Robin Appelman 46a57a9f05 change View->deleteAll to an alias of View->rmdir since rmdir works recursive 13 years ago
Robin Appelman 0131a32025 extract interfaces from fileapi for public namespace 13 years ago
Robin Appelman 1cfd03771f use === 13 years ago
Arthur Schiwon c01675de5d more is_resource checks before readdir 13 years ago
Arthur Schiwon ec3639dc7a Always check variable type before using readdir to avoid surprises 13 years ago
Robin Appelman a22f9ff301 Provide an implementation of the fileapi for oc6 build on top of the old api 13 years ago
Robin Appelman 1fa29b4c11 also emmit create hook when creating new files using touch() 13 years ago
Thomas Müller f1eec74f70 additional readdir check in mappedlocal 13 years ago
Robin Appelman c5402f4575 use strict equals in readdir loops to prevent issues with '0' files 13 years ago
kondou 9e8a6b704d Add _many_ newlines at the end of files 13 years ago
Robin Appelman d43b4c52ae also emit hooks for views that are a subfolder of the user folder 13 years ago
Robin Appelman 8f10c9571f fix quota wrapper reporting negative free_space, breaking user interface 13 years ago
Robin Appelman f22719b1ee Scanner: correctly pass trough reuse options when doing a recursive scan 13 years ago
Robin Appelman a0243e03ef use === 13 years ago
Robin Appelman 9321eceed6 add the option to have templates for newly created files 13 years ago
Robin Appelman fc332acf8a split of mimetype detection code from OC_Helper, adding the option for apps to register additional mimetype mappings 13 years ago
Robin Appelman 3e7a86c6ec remove deleted files while scanning 13 years ago
Thomas Müller 464afb5eca use isset to prevent undefined index 13 years ago
Robin Appelman 74c54587ec better variable naming 13 years ago
Thomas Mueller e2d3225e5a implement a platform independent version of basename 13 years ago
Robin Appelman dea3472ad7 remove unneeded 'use' 13 years ago
Robin Appelman 64774f30ba dont need to explicitly pass by reference 13 years ago
Michael Gapczynski 1faac6108c Use query to calculate folder size 13 years ago
Michael Gapczynski dd4e33fe6b Fix calculating size for empty folders 13 years ago
Michael Gapczynski c8e60900fc Move check so the variable will never be undefined 13 years ago
Robin Appelman e1e7b6a940 Cache: don't check if the parent exists in the cache if we are already sure it does 13 years ago
Robin Appelman 59bdba9bac fix scanner hooks, cant use inside closures in php 5.3 13 years ago
Robin Appelman 5209cff371 add conveince function to wrap all storages 13 years ago
Robin Appelman f4b6a8aa08 add option to wrap existing mounts 13 years ago
Robin Appelman 4e490b0688 fix getPermissionsCache for storage wrapper 13 years ago
Robin Appelman cd8f0c21ce add quota storage wrapper 13 years ago
Robin Appelman 10d3e63ce5 add quota streamwrapper that limits the amount of data that can be written to a stream 13 years ago
Robin Appelman 94560c68ba rename constants 13 years ago
Robin Appelman 2b89b7c880 Split scanning logic from ajax file 13 years ago
Robin Appelman b397df2022 add option to get the mountmanager from the filesystem 13 years ago
Robin Appelman 02cdd52fb0 Make Cache\Scanner an emitter 13 years ago
kondou d9c697534d Fix some typos 13 years ago