Commit Graph

53 Commits (c50dfd725142abdbad93dbcf01fe13193445386a)

Author SHA1 Message Date
Bart Visscher a07a8794b8 Add mimetype filter to getDirectoryContent function 13 years ago
Jörn Friedrich Dreyer aa103bd5b3 supress write hook for .part files 13 years ago
Björn Schießle 8d26400cb5 remove some debug output; move code to the right function 13 years ago
Michael Gapczynski a5cab28bea Fix fetching source path of shared files 13 years ago
Björn Schießle 48bb53030c distinguish between touch and write 13 years ago
Michael Gapczynski 71bdccf347 Chunk size comment should say kB, not MB 13 years ago
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 13 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 13 years ago
Bart Visscher ffae6f4b84 Style-fix: Breakup long lines 13 years ago
Thomas Müller ddc7af9a53 know your libraries ;-) 13 years ago
Robin Appelman 7c33d0a5a7 Cache: fix copy-paste errors 13 years ago
Robin Appelman 80dd8d7802 Cache: check for invalid paths in getFileInfo/getDirectoryContent 13 years ago
Michael Gapczynski 6093d961a0 Add getOwner to Filesystem and View classes 13 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 13 years ago
Robin Appelman 17bcea1585 Filesystem: add View->getPath to the cache api 13 years ago
Michael Gapczynski 03b947e3ec Don't check for updates for sub storages, these scans should be done in the background 13 years ago
Robin Appelman 7330fcf5e8 Cache: make mounts overwrite existing folders, prevents duplicate entries 13 years ago
Michael Gapczynski 4835525c46 Switch scan to scanFile for root of mount points 13 years ago
Michael Gapczynski aa15fcf22f Scan mount points in root before adding a entry 13 years ago
Michael Gapczynski 5174eda232 Fix permissions for mount point 13 years ago
Robin Appelman d0377b1951 Cache: normalize mimetypes 13 years ago
Robin Appelman 439578288f Cache: split permission cache scanning and cache scanning 13 years ago
Michael Gapczynski a068ddff64 Use the sub storage's permission cache for retrieving the correct permission 13 years ago
Robin Appelman a164fd160f Cache: provide path hints to getCache/etc where available 13 years ago
Robin Appelman b41189de44 Cache: allow storage backends to overwrite Watcher 13 years ago
Michael Gapczynski 83064aca51 Remove old etag code 13 years ago
Michael Gapczynski 8951769cae Check sub storage isn't null or false 13 years ago
Robin Appelman cf3665057c make sure folders that are not fully scanned are at least shallow scanned when we open them 13 years ago
Robin Appelman 8635699db9 fix cache behaviour for non existing files 13 years ago
Michael Gapczynski c47bf9bbce Add checks for storage object 13 years ago
Robin Appelman cbcd9ba84a allow storage backends to implement custom permission management 13 years ago
Robin Appelman 706bb3ccd6 move ETag generation to storage backends 13 years ago
Robin Appelman 72c3868644 add resolvePath to filesystem view api 13 years ago
Robin Appelman b07672821b check for changes when using the cache api 13 years ago
Robin Appelman 5bfff6c56e use absolute paths when resolving mount points 13 years ago
Robin Appelman fcc92a9f43 add searchByMime to new cache api 13 years ago
Robin Appelman 695405dfeb add permissions data to the results of the cache api 13 years ago
Robin Appelman 7d6da68d53 prove some compatibility with the old cache api 13 years ago
Robin Appelman 6db81afab9 move some stuff to the new api 13 years ago
Robin Appelman 8bce661e4d add search to the filecache api 13 years ago
Robin Appelman 7ef0ffe8ad add View->putFileInfo to the filecache api 13 years ago
Robin Appelman 39adadd3e3 move the cache api from OC_Files to filesystem(view) 13 years ago
Robin Appelman 56c7ee799c use strtotime on non-nummeric times in oc_filesystem::touch 13 years ago
Robin Appelman 1901ac8b17 drop depricated is_readable and is_writable 13 years ago
Robin Appelman cfa036eaa9 drop filectime from the filesystem api's 13 years ago
Robin Appelman 5c6e9518ed drop Filesystem::getInternalPath and Filesystem::getStorage in favor of Filesystem::resolvePath 13 years ago
Robin Appelman 07c5384189 fix namespaces in filesystem and filesystemview 13 years ago
Robin Appelman 9df60d27bd move some code around 13 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) 13 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) 13 years ago