Commit Graph

110 Commits (cb91e27ab33d4e2b2d13b26cdc8d965d1607201e)

Author SHA1 Message Date
Björn Schießle 003241e847 fix for bug #1942: Allow user to share with every group if "allow users to share with anyone" is set 14 years ago
Björn Schießle 8357754ff1 added "uid_owner" to select statement 14 years ago
Michael Gapczynski 5f462ec6f7 Fix - "Correct checking item source for share from same owner when generating item target" 14 years ago
Michael Gapczynski 68c8faf39c Correct checking item source for share from same owner when generating item target 14 years ago
Björn Schießle 431d92e7b2 we are sharing the same file again if item_source of the already shared file and the newly shared file is the same. Therefore we can use the same target name 14 years ago
Björn Schießle db954f5aba remove unnecessary code and add missing items to select statement 14 years ago
Björn Schießle 3e3038cafc merge all possible conflicts into on array 14 years ago
Björn Schießle c6c0fcc7c8 We can't rely on the assumption that if the matching target is from the same owner that the share type will be different. 14 years ago
Michael Gapczynski b4e40b1c21 Fix unsetting share expiration date 14 years ago
Michael Gapczynski f967bfc956 Properly format the share expiration time for the database, fixes bug oc-1779 14 years ago
Michael Gapczynski 8f0354bcdd Temporarily disable sharing with contacts and emails, will come in next release 14 years ago
Michael Gapczynski 37f0b85d3f Fix problem with non share collection item types being treated as collections 14 years ago
Michael Gapczynski 6c17a4cb77 Don't display actions for children in shared collections, show the parent collection the child is shared in 14 years ago
Michael Gapczynski 13d513c17c Fix shared collection item searching 14 years ago
Michael Gapczynski 3e7951e1e6 Normalize the file path for shared children as a precaution 14 years ago
Michael Gapczynski fe7f095b08 Insert id for unique user group share rows 14 years ago
Michael Gapczynski b163bd514f Fix fetching shared children items, fixes problem with displaying owner of a shared file inside a shared folder 14 years ago
Michael Gapczynski f23f719d99 Fix unsharing from self for group shares and add test for it 14 years ago
Michael Gapczynski 73d726d1b2 Support for unshare from self, with a bunch of temporary fixes to overcome configuration problems with file actions 14 years ago
Michael Gapczynski 4c065deb55 Listen to post_deleteGroup hook in Share API 14 years ago
Michael Gapczynski dc569ea300 Fix some warnings from Jenkins in the Share API 14 years ago
Michael Gapczynski db37a454b3 Add parameter documentation 14 years ago
Michael Gapczynski f0f2d93908 Restructure generateTarget for the post_addToGroup hook 14 years ago
Michael Gapczynski a77c16371f Make item targets be based off of the parent item target for reshares 14 years ago
Michael Gapczynski 6c29334b48 Add support for share expiration 14 years ago
Bart Visscher 0365f8fd01 Remove php close at end of file 14 years ago
Michael Gapczynski 26501a0bc8 Delete old link if user sets a password 14 years ago
Michael Gapczynski 9cd55508c3 Add Share API settings to admin page 14 years ago
Michael Gapczynski 0ad16e84c5 Fix share collection query 14 years ago
Michael Gapczynski 0a9d1ed3a6 Initial previewer for public links 14 years ago
Michael Gapczynski 18517f6adb Fix share getItems() limit 14 years ago
jfd 9822cd30c0 fix sharing bug introduced with oracle support 14 years ago
Jörn Friedrich Dreyer fa3497f6ed add backticks to SQL, use limit parameter instead of LIMIT SQL 14 years ago
Michael Gapczynski 36487246ed Switch to using file cache ids instead of paths for file sharing 14 years ago
Thomas Tanghus c90c358f0d Only load js and css once. 14 years ago
Michael Gapczynski 3debb67458 Move share CSS to core, add script and style from inside Share API 14 years ago
Michael Gapczynski 9699ff03bd Revert using item name, no longer allowing the same item source exist for a user 14 years ago
Michael Gapczynski 09e851a9c4 Fix share ajax calls to use itemName/itemSource, show who shared a file with you 14 years ago
Michael Gapczynski 5eca531f99 Refactor again so we can tell what item is being reshared in case the same source shows up. This is the end of the share_api branch, moving to master. 14 years ago
Michael Gapczynski f987e22d85 Large refactoring to allow for the same item to be shared to a group and again with a user in the group with different permissions 14 years ago
Michael Gapczynski df8a2e5361 File sharing cleanup, works perfectly I think :) 14 years ago
Michael Gapczynski 9cb3113f42 Fix problems exposed by tests 14 years ago
Michael Gapczynski ddfa760a5e Change to correct function call getItemSharedWithBySource() 14 years ago
Michael Gapczynski b440dfc67e Remove setTarget() function, changing target names only leads to confusion 14 years ago
Michael Gapczynski 9661a63a72 Ensure permissions can't be escalated during a reshare 14 years ago
Michael Gapczynski 028c79fc9d Use if instead of switch for detecting share type and throw exceptions when setting permissions 14 years ago
Michael Gapczynski 937d1b29d8 Retrieve all file dependent items when looking for file item type 14 years ago
Michael Gapczynski 64ef1e2181 Change name of share function to shareItem, silly PHP 5.3.1 thinking it is a constructor... 14 years ago
Michael Gapczynski b830b3e24b Start adding permission checks for addressbooks 14 years ago
Michael Gapczynski 2c5744f16c Add back getItemSharedWithBySource(), some situtations require this ability 14 years ago