Commit Graph

46 Commits (4e553480540a36cf14a107e65e2bc4d4d9f1a2e6)

Author SHA1 Message Date
Björn Schießle d8137fdf66 return both, count and result if the operation succeeded or failed. Maybe in some cases it is useful to know how much bytes where copied 14 years ago
Björn Schießle 5b94959686 using the number of writen bytes as indicator if streamCopy() was successfully. Instead check if fwrite returns the number of bytes or false 14 years ago
Bart Visscher ffae6f4b84 Style-fix: Breakup long lines 14 years ago
Thomas Müller ddc7af9a53 know your libraries ;-) 14 years ago
Robin Appelman 7c33d0a5a7 Cache: fix copy-paste errors 14 years ago
Robin Appelman 80dd8d7802 Cache: check for invalid paths in getFileInfo/getDirectoryContent 14 years ago
Michael Gapczynski 6093d961a0 Add getOwner to Filesystem and View classes 14 years ago
Robin Appelman 3e59a87153 Filesystem: use the updated Mount::findById in getPath to ensure we get the correct path if the storage is also mounted outside the view 14 years ago
Robin Appelman 17bcea1585 Filesystem: add View->getPath to the cache api 14 years ago
Michael Gapczynski 03b947e3ec Don't check for updates for sub storages, these scans should be done in the background 14 years ago
Robin Appelman 7330fcf5e8 Cache: make mounts overwrite existing folders, prevents duplicate entries 14 years ago
Michael Gapczynski 4835525c46 Switch scan to scanFile for root of mount points 14 years ago
Michael Gapczynski aa15fcf22f Scan mount points in root before adding a entry 14 years ago
Michael Gapczynski 5174eda232 Fix permissions for mount point 14 years ago
Robin Appelman d0377b1951 Cache: normalize mimetypes 14 years ago
Robin Appelman 439578288f Cache: split permission cache scanning and cache scanning 14 years ago
Michael Gapczynski a068ddff64 Use the sub storage's permission cache for retrieving the correct permission 14 years ago
Robin Appelman a164fd160f Cache: provide path hints to getCache/etc where available 14 years ago
Robin Appelman b41189de44 Cache: allow storage backends to overwrite Watcher 14 years ago
Michael Gapczynski 83064aca51 Remove old etag code 14 years ago
Michael Gapczynski 8951769cae Check sub storage isn't null or false 14 years ago
Robin Appelman cf3665057c make sure folders that are not fully scanned are at least shallow scanned when we open them 14 years ago
Robin Appelman 8635699db9 fix cache behaviour for non existing files 14 years ago
Michael Gapczynski c47bf9bbce Add checks for storage object 14 years ago
Robin Appelman cbcd9ba84a allow storage backends to implement custom permission management 14 years ago
Robin Appelman 706bb3ccd6 move ETag generation to storage backends 14 years ago
Robin Appelman 72c3868644 add resolvePath to filesystem view api 14 years ago
Robin Appelman b07672821b check for changes when using the cache api 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 7d6da68d53 prove some compatibility with the old cache api 14 years ago
Robin Appelman 6db81afab9 move some stuff to the new api 14 years ago
Robin Appelman 8bce661e4d add search to the filecache api 14 years ago
Robin Appelman 7ef0ffe8ad add View->putFileInfo 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 56c7ee799c use strtotime on non-nummeric times in oc_filesystem::touch 14 years ago
Robin Appelman 1901ac8b17 drop depricated is_readable and is_writable 14 years ago
Robin Appelman cfa036eaa9 drop filectime from the filesystem api's 14 years ago
Robin Appelman 5c6e9518ed drop Filesystem::getInternalPath and Filesystem::getStorage in favor of Filesystem::resolvePath 14 years ago
Robin Appelman 07c5384189 fix namespaces in filesystem and filesystemview 14 years ago
Robin Appelman 9df60d27bd move some code around 14 years ago
Björn Schießle 35357f3afb etag has to be removed after version rollback to enable the sync client to detect the changes (bug #1829) 14 years ago
Björn Schießle a7292e897a The mtime in the file cache has to be updated after version rollback (copy from outside of the regular files root) (fixes bug #1720) 14 years ago
Robin Appelman 82ffefb99b dont trigger filesystem hooks when not using the default view 14 years ago
Bart Visscher e3e4a2bec2 Enable post_write trigger 14 years ago
Georg Ehrke 463b48b2e1 fix file upload 14 years ago
Robin Appelman bd83422095 put filestorages in a namespace 14 years ago
Thomas Mueller 3829460ab8 adding space between) and { 14 years ago
Bart Visscher 52f2e7112e Whitespace fixes in lib 14 years ago