Commit Graph

68 Commits (7e3b796de82f24f91930e96866c6c5f15ec04096)

Author SHA1 Message Date
Michael Gapczynski 7e3b796de8 More elegant solution for preparing IN ?s, thanks icewind 14 years ago
Michael Gapczynski 5bc0619234 Add support for sharing files with user groups 14 years ago
Michael Gapczynski 31a067b5a3 Add support for sharing multiple files from share dialog, move loops outside of OC_SHARE 14 years ago
Michael Gapczynski d36850f0f2 Close sharing dialog box on share success 14 years ago
Michael Gapczynski 64b5332f33 Make file sharing dialog work - only works for one file/folder and user 14 years ago
Michael Gapczynski 1ec0b6ecc1 jQuery dialog for sharing files from within file browser - Not functional yet 14 years ago
Michael Gapczynski 5148eb9121 Include groups in user autocomplete 14 years ago
Michael Gapczynski 4282a42b3f Add support for user autocomplete 14 years ago
Michael Gapczynski 17b5bcb24f Bug fixes for unshare() and opendir(), thanks darkh 14 years ago
Michael Gapczynski 4993fb4665 Filter out files you unshare from yourself in opendir() 14 years ago
Michael Gapczynski e6e673d7c0 Use SUBSTR instead of LIKE in queries, should now work with SQLite 14 years ago
Michael Gapczynski 302527c2d6 Remove shared items check, it prevents sharing items if there aren't already any. 14 years ago
Michael Gapczynski 4abefde290 Remove admin page, administration is not needed at this time for sharing 14 years ago
Michael Gapczynski 6af4c465b8 Change all occurences of ['user_id'] to OC_USER::getUser() 14 years ago
Michael Gapczynski fcda3a338c Fix bug in constructor for appending numbers to already existing targets 14 years ago
Michael Gapczynski 3e6037659e Change permissions to is_writeable 14 years ago
Michael Gapczynski 22f8415045 Remove accidental kate swap file 14 years ago
Michael Gapczynski 1cfa911ce3 Update database.xml to current database fields, remove hard coded MTGap when mounting shared storage provider 14 years ago
Michael Gapczynski c9082d5b0d Append number to name if target file already exists 14 years ago
Michael Gapczynski 029b21bf54 First implementation of sharing user interface 14 years ago
Michael Gapczynski 61837428ba Add post_delete and post_rename hooks and fix the constructor 14 years ago
Michael Gapczynski 1a6718c979 Add extra check for opendir() so it only adds the file to fakedirs if it has a different name than the source 14 years ago
Michael Gapczynski f3f8a96c6d Add return true to unlink() and rename(), a return is expected by OC_FILESYSTEM 14 years ago
Michael Gapczynski 5aaacf3241 Fix bug in rename() so files in a folder that is in a shared folder also get their targets updated 14 years ago
Michael Gapczynski dbcb35655e Fix bugs in opendir() and add extra checks to ensure functionality in all cases 14 years ago
Michael Gapczynski 8ad4a44171 Fix bugs in unlink(), rename(), pullOutOfFolders(), and getItemsInFolder() 14 years ago
Michael Gapczynski 8ed0223bd6 Add pullOutOfFolder() function for use by unlink() and rename() 14 years ago
Michael Gapczynski 7920e706ea Refactoring of OC_SHARE, added more documentation for functions 14 years ago
Michael Gapczynski 2fb1481613 Bug fix for setTarget() - append fetchAll() to query 14 years ago
Michael Gapczynski 24e24f1b65 Add support for copying files between shared folders, add check to fromTmpFile() to confirm path is writeable 14 years ago
Michael Gapczynski d393ccfe2c Fix bug in getSource(), return false if target isn't in database 14 years ago
Michael Gapczynski b2b7d99302 Add checks in opendir() to prevent including the current directory or parent 14 years ago
Michael Gapczynski 6b303ee64b Fix bug in opendir() and remove getStorageMountPoint(), now using datadir argument instead 14 years ago
Michael Gapczynski 163c490c92 Remove duplicate '/' from target when searching for source 14 years ago
Michael Gapczynski 010920ad08 Add support for files inside of shared folders having different names than the source file 14 years ago
Michael Gapczynski 73bab46758 Prevent searching for user directory in getParentFolders() 14 years ago
Michael Gapczynski f1cac00396 Add wildcard to source for database query in unshare() 14 years ago
Michael Gapczynski d91d2178b8 Fix unshare() to remove database entries of files within a shared folder 14 years ago
Michael Gapczynski 35d6051e9d Fix bug in mkdir(), was passing the wrong path 14 years ago
Michael Gapczynski b7c45ba240 mkdir() now checks isWriteable() to see if it has permission, rmdir unshares the folder from the user 14 years ago
Michael Gapczynski 58e8312b1c Fix setIsWriteable() and setTarget() 14 years ago
Michael Gapczynski 2212b5b5d7 Add wildcard to database query in unshareFromSelf() 14 years ago
Michael Gapczynski 2908145b94 Fix bug in is_writeable(), was passing the wrong path 14 years ago
Michael Gapczynski 732ad7f6c1 Add support for renaming, moving, and deleting shared files 14 years ago
Michael Gapczynski cf33995892 Refactor OC_SHARE to allow for renaming and write permissions 14 years ago
Michael Gapczynski 9deab8302f Fix bugs in getSource() and implement new target path standard 14 years ago
Michael Gapczynski e24e2d0e16 Append LIMIT 1 to getSource queries to improve performance 14 years ago
Michael Gapczynski b03083b881 Fix check for parentDir and fix the return for a nonexistent target in the database 14 years ago
Michael Gapczynski 053edde780 Improvements to caching for shared folders 14 years ago
Michael Gapczynski a402c8ffe1 Implement caching for source paths in OC_FILESTORAGE_SHARED 14 years ago