Commit Graph

11 Commits (1d3da8b0eda0b7f01f8bb6157e223ccc8aa876a7)

Author SHA1 Message Date
Robin Appelman 3d6d8d1bb6 Reuse the data retrieved from the cache in checkUpdate 11 years ago
Vincent Petry f642ad3961 Prevent deleting storage root 11 years ago
Robin Appelman 64bfcbee0a check if a directory exists before we try to remove it 11 years ago
Vincent Petry 614e4d485c External storage space is now not counted in total space 12 years ago
Vincent Petry 5f249e1a54 Prevent renaming/deleting mount points 12 years ago
Thomas Müller bc6e352ccd the path need to be normalized before putting it into resolvePath() 12 years ago
Robin Appelman 7f8eeb0474 ensure the view's root is a subfolder of the the default root, not only starting the same 12 years ago
Robin Appelman 38c563dcdc don't trigger the create hooks when if the file already exists for file_put_contents 12 years ago
Thomas Müller 9c9dc276b7 move the private namespace OC into lib/private - OCP will stay in lib/public 12 years ago
Robin Appelman a1d4eb1f95 files: when filtering search results, ensure results are children of the fakeroot not just path starting the same 12 years ago
Robin Appelman 46a57a9f05 change View->deleteAll to an alias of View->rmdir since rmdir works recursive 12 years ago
Arthur Schiwon ec3639dc7a Always check variable type before using readdir to avoid surprises 12 years ago
Robin Appelman a22f9ff301 Provide an implementation of the fileapi for oc6 build on top of the old api 12 years ago
Robin Appelman 1fa29b4c11 also emmit create hook when creating new files using touch() 12 years ago
Robin Appelman c5402f4575 use strict equals in readdir loops to prevent issues with '0' files 12 years ago
Robin Appelman d43b4c52ae also emit hooks for views that are a subfolder of the user folder 12 years ago
Björn Schießle 690323092e don't run hooks for .part files 12 years ago
Björn Schießle 04e4d9580f if a part file gets renamed to a real file, that this was the second step of a write operation, hence emit a write signal 12 years ago
Roman Geber ddb0ff346d Public upload feature 12 years ago
Thomas Mueller 74a170f2a5 [Fixing unit tests in Windows] 12 years ago
Michael Gapczynski dbbf195727 Only retrieve the current user's permissions 12 years ago
Robin Appelman 44d217c425 Cache: provide a function to get the permissions of all files in a folder with one query 12 years ago
Michael Gapczynski 3b6d850e59 Switch to calling deleteAll via storage to avoid emitting delete hook 12 years ago
Michael Gapczynski fc5bce1f76 Fix undefined variable for copying empty folders 12 years ago
Michael Gapczynski 41e2d64c86 Add support for copying/moving folders between storages, move isIgnoredDir() to Filesystem 12 years ago
Jörn Friedrich Dreyer 9134395b43 don't emit rename hooks on partial file renames 12 years ago
Jörn Friedrich Dreyer c3b0d3d38c rename isIgnoredFile to isPartialFile, remove check of blacklisted files in isPartialFile, correct usage of isPartialFile and isFileBlacklisted 12 years ago
Florin Peter 3c100af132 revert changes to fbbc76f281 because master is very unstable right now 12 years ago
Florin Peter d32bf993fa removed previous added post rename FileProxy hook 12 years ago
Robin Appelman 809b5f81f6 Further seperation of mount management logic 12 years ago
Florin Peter 672d177f10 added post rename proxy 12 years ago
Florin Peter 25ff32db6b Added post proxy for getFileInfo. 12 years ago
Robin Appelman 3c90625ef1 Files: also check if the source path is valid when doing a rename or copy operation 12 years ago
Michael Gapczynski 9ead7c4776 Don't unlink old renamed file if stream copy failed 12 years ago
Michael Gapczynski 4f6f6456aa Check if operation worked before sending post hooks, fixes #2484 12 years ago
Bart Visscher a07a8794b8 Add mimetype filter to getDirectoryContent function 12 years ago
Jörn Friedrich Dreyer aa103bd5b3 supress write hook for .part files 12 years ago
Björn Schießle 8d26400cb5 remove some debug output; move code to the right function 12 years ago
Michael Gapczynski a5cab28bea Fix fetching source path of shared files 12 years ago
Björn Schießle 48bb53030c distinguish between touch and write 12 years ago
Michael Gapczynski 71bdccf347 Chunk size comment should say kB, not MB 12 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 12 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 12 years ago
Bart Visscher ffae6f4b84 Style-fix: Breakup long lines 12 years ago
Robin Appelman 9738fae3cf Emulate touch() for backends that don't support it 12 years ago
Thomas Müller ddc7af9a53 know your libraries ;-) 12 years ago
Robin Appelman 7c33d0a5a7 Cache: fix copy-paste errors 12 years ago
Robin Appelman 80dd8d7802 Cache: check for invalid paths in getFileInfo/getDirectoryContent 12 years ago
Michael Gapczynski 6093d961a0 Add getOwner to Filesystem and View classes 12 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 12 years ago