Commit Graph

56 Commits (deaeab3d92ed8f536789a142828549957130dc1c)

Author SHA1 Message Date
Michael Gapczynski 8c8490b28e Show users shared with in the drop down for reshared files 14 years ago
Michael Gapczynski 4c4b1e4c2d Clear the folder size cache for the 'Shared' folder when a new item is shared 14 years ago
Michael Gapczynski 96ad8a15b4 Register OC_Share for autoloading and cleanup hooks 14 years ago
Michael Gapczynski 1b64b7395c Update documentation for unshareFromMySelf() 14 years ago
Michael Gapczynski 498356fcb8 Copy get.php into files_sharing, public links now use files templates 14 years ago
Michael Gapczynski 4078e0a242 -1 is now a class constant (UNSHARED), for unsharing files from self 14 years ago
Michael Gapczynski 5b8658ca10 New system of unsharing files from self, and a small bug fix when all files inside a shared folder are unshared from self 14 years ago
Michael Gapczynski 5925697374 Fix bug in getPermissions() and clean-up unlink() and rename() 14 years ago
Michael Gapczynski b7b3a49203 Functions to get the token of a public link now stored by OC_Share, remove no longer needed ajax call to getlink.php 14 years ago
Michael Gapczynski 582dca4d91 Initial merging of files_sharing and files_publiclink 14 years ago
Robin Appelman 42ed3c6b7e fix problem with building the IN query 14 years ago
Michael Gapczynski 5fbed936bf Automatic creation of 'Shared' directory, bug fixes for an empty 'Shared' directory 14 years ago
Michael Gapczynski 5b09aef166 Additional user group sharing support and more clean-up in the constructor 14 years ago
Michael Gapczynski 5cb687d168 Refactor getUserAndGroups() for new user group sharing standard - user@group 14 years ago
Michael Gapczynski 3c517499bb OC_Share constructor refactored for user group sharing 14 years ago
Michael Gapczynski 497789cdd8 Clean up constructor for OC_Share, add some error handling for sharing files 14 years ago
Michael Gapczynski 0d79560e94 New implementation of share dialog 14 years ago
Michael Gapczynski d13ba0ee2d Revise permissions system to support read, write, and delete 14 years ago
Michael Gapczynski 67fe835f03 Add a function for removing any duplicate or trailing '/' from the paths 14 years ago
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 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 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 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 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 d393ccfe2c Fix bug in getSource(), return false if target isn't in database 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 58e8312b1c Fix setIsWriteable() and setTarget() 14 years ago
Michael Gapczynski 2212b5b5d7 Add wildcard to database query in unshareFromSelf() 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 fe178310f3 Use php functions dirname() and basename() instead of manipulating strings in getSource() 14 years ago
Michael Gapczynski 12c168b6dd Add function setTarget(), implement recursion in getSource() for folders 14 years ago
Michael Gapczynski c8781b1caf Add error handling for getSource() 14 years ago