Commit Graph

79 Commits (8374a49cc19cf43489a415388fd782ba1574ee82)

Author SHA1 Message Date
Michael Gapczynski 18517f6adb Fix share getItems() limit 13 years ago
jfd 9822cd30c0 fix sharing bug introduced with oracle support 13 years ago
Jörn Friedrich Dreyer fa3497f6ed add backticks to SQL, use limit parameter instead of LIMIT SQL 13 years ago
Michael Gapczynski 36487246ed Switch to using file cache ids instead of paths for file sharing 13 years ago
Thomas Tanghus c90c358f0d Only load js and css once. 13 years ago
Michael Gapczynski 3debb67458 Move share CSS to core, add script and style from inside Share API 13 years ago
Michael Gapczynski 9699ff03bd Revert using item name, no longer allowing the same item source exist for a user 13 years ago
Michael Gapczynski 09e851a9c4 Fix share ajax calls to use itemName/itemSource, show who shared a file with you 13 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. 13 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 13 years ago
Michael Gapczynski df8a2e5361 File sharing cleanup, works perfectly I think :) 13 years ago
Michael Gapczynski 9cb3113f42 Fix problems exposed by tests 13 years ago
Michael Gapczynski ddfa760a5e Change to correct function call getItemSharedWithBySource() 13 years ago
Michael Gapczynski b440dfc67e Remove setTarget() function, changing target names only leads to confusion 13 years ago
Michael Gapczynski 9661a63a72 Ensure permissions can't be escalated during a reshare 13 years ago
Michael Gapczynski 028c79fc9d Use if instead of switch for detecting share type and throw exceptions when setting permissions 13 years ago
Michael Gapczynski 937d1b29d8 Retrieve all file dependent items when looking for file item type 13 years ago
Michael Gapczynski 64ef1e2181 Change name of share function to shareItem, silly PHP 5.3.1 thinking it is a constructor... 13 years ago
Michael Gapczynski b830b3e24b Start adding permission checks for addressbooks 13 years ago
Michael Gapczynski 2c5744f16c Add back getItemSharedWithBySource(), some situtations require this ability 13 years ago
Bart Visscher b287b11ff2 adjust the query generation in getItems, to use placeholders 13 years ago
Michael Gapczynski b6bbbb4c47 Remove undefined return variable 13 years ago
Michael Gapczynski a96a75c263 Select the correct column when searching for similar targets 13 years ago
Michael Gapczynski 5e95e2a131 Set filePath variable 13 years ago
Michael Gapczynski 1b21cde2b3 Throw more exceptions 13 years ago
Michael Gapczynski 14d13a740f Load icons for addressbooks, fix statuses for types other than files 13 years ago
Michael Gapczynski e954de6030 Make the file source path relative earlier 13 years ago
Michael Gapczynski e280e3ecc9 Throw more exceptions 13 years ago
Michael Gapczynski 1db1d40414 Add additional check for post_deleteUser so we don't delete any non-user shares with the same name 13 years ago
Michael Gapczynski 3b2c853916 Lots of refactoring to share API 13 years ago
Michael Gapczynski 09bb3bfaf8 Preparing for proper collection implementation 13 years ago
Michael Gapczynski 6c7baacf89 Throw exception for items already shared in a collection 13 years ago
Michael Gapczynski 92d683587a Fix contact email share type redirection 13 years ago
Michael Gapczynski 4933128850 Throw exceptions in share API for UI to display 13 years ago
Michael Gapczynski 2201074e1f Basic setup for sharing with contacts 13 years ago
Michael Gapczynski b6aa5d2875 Include contacts in share with search 13 years ago
Michael Gapczynski 9e4c3b8342 Remove break, it broke the statuses :) 13 years ago
Michael Gapczynski 1ff2dd8f63 Listen to post_deleteUser, post_addToGroup, and post_removeFromGroup hooks 13 years ago
Michael Gapczynski cc6c940b9a Implement post_removeFromGroup() 13 years ago
Michael Gapczynski 82dea705d4 Add option to delete() to check the owner of the first search of reshares 13 years ago
Michael Gapczynski 0e9ab5cf2a Fix post_deleteUser(), column name changed and item_source is no longer needed 13 years ago
Michael Gapczynski 459bcd8d5e Update documentation 13 years ago
Michael Gapczynski bbbfc2c565 Fix delete(), it was going in an infinite loop 13 years ago
Michael Gapczynski 8de69fcb18 Update documentation 13 years ago
Michael Gapczynski 51a4518396 Add support for CRUDS permissions 13 years ago
Michael Gapczynski f638340d1f Add check for folder item type as well 13 years ago
Michael Gapczynski 63b6f20e05 Move already shared with check out of user and group cases, and add check for already shared with inside a collection 13 years ago
Michael Gapczynski ecae3ea430 Rename parents to collectionTypes, getCollectionItemTypes() shouldn't include the original item type 13 years ago
Michael Gapczynski bdcfa4bb63 Add check if file is found in file cache 13 years ago
Michael Gapczynski ccb5e99395 Generate random token for private links (more entropy than past private links) 13 years ago