Commit Graph

99 Commits (e6e673d7c0b5cf9476aa394d35e24ca65d07d24a)

Author SHA1 Message Date
Michael Gapczynski e6e673d7c0 Use SUBSTR instead of LIKE in queries, should now work with SQLite 14 years ago
Robin Appelman 101c6d151e fix resizing images in image viewer 14 years ago
Robin Appelman 38f1cffab3 import media app 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
Robin Appelman 6230001a3c show expire dates of public links as date and not as datetime 14 years ago
Robin Appelman 9bc3991c23 serveral small fixes to the openid server 14 years ago
Michael Gapczynski 61837428ba Add post_delete and post_rename hooks and fix the constructor 14 years ago
Robin Appelman 24e81ce4d5 fix some ldap errors 14 years ago
Robin Appelman f4121339af Fix expiring of public links 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
Robin Appelman 7362f103ed only use ldap user backend when it is configured 14 years ago
Michael Gapczynski 9deab8302f Fix bugs in getSource() and implement new target path standard 14 years ago
Dominik Schmidt 7f0dc638ae Hopefully fix errors if ldap plugin is not configured 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
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