Commit Graph

215 Commits (12f4494de02457d51004ca6a82c1b2160189819f)

Author SHA1 Message Date
Bjoern Schiessle 9253627327 cancel sharing if some users doesn't have a working encryption set-up. 13 years ago
Thomas Müller 17c36b5074 fixes #4026 13 years ago
Michael Gapczynski 4feff3456b Only emit permissions hook for files and and include path 13 years ago
Michael Gapczynski 5c2a0325ba Add update permissions hook to sharing 13 years ago
Thomas Müller 98da4bf704 removing unused getSharedItem() 13 years ago
Thomas Müller e159cbf527 on reshares we now recursively move to the root of all reshares - therefore some code has been refactured and added as a new public function 13 years ago
Thomas Müller 352c1415be proper fix for getting the shared item if no user is logged in 13 years ago
Bart Visscher 6ad7a0336f Oracle doesn't know & as bitwise AND 13 years ago
Jörn Friedrich Dreyer 77dc3964f8 check item id is set 13 years ago
Bart Visscher 3b31afb2a7 Oracle doesn't know & as bitwise AND 13 years ago
Jörn Friedrich Dreyer 5d51118cb2 fix type of numeric columns 13 years ago
Jörn Friedrich Dreyer bf49edde6b check item id is set 13 years ago
Jörn Friedrich Dreyer b32d6d8487 for oracle use BITAND() instead of & in sharing permissions sql 13 years ago
Jörn Friedrich Dreyer 961a001af3 add missing backticks, use executeAudited in post_deleteGroup and post_removeFromGroup 13 years ago
Jörn Friedrich Dreyer 124f34422c add missing backticks all over the place 13 years ago
Florin Peter 1337f48d64 fixes for pgsql 13 years ago
Florin Peter f1b884aa5d changed deprecated class 13 years ago
Florin Peter 353d19d183 fixes if cache returns false 13 years ago
Florin Peter c8d1cd224d fix $parent/$source typo 13 years ago
Björn Schießle ae0f37e9e2 fix indention 13 years ago
Björn Schießle 8587f565d2 remove unnecessary variable 13 years ago
Björn Schießle 63a2bec6e5 use public API for error handling; improved while condition 13 years ago
Björn Schießle 893a1ed6f5 for external storages we never reach the path 'files', instead we need to leave the loop if no further parent exists 13 years ago
Björn Schießle 672811c103 if one public link share was found, we don't have to check it for the other folders 13 years ago
Björn Schießle b44192f366 check list of users with access to the file from the bottom to the top. This way we avoid calling getFileInfo() on every dir, which creates a lot of overhead, especially for external storages 13 years ago
Michael Gapczynski 7a0c592f93 Fix undefined index for share mount point retrieval 13 years ago
Florin Peter d7dc710c8b revert changes 13 years ago
Florin Peter 469d6028ad revert changes 13 years ago
Björn Schießle 95297c2469 add pre-shared hooks 13 years ago
Florin Peter 68059b1ec3 fix for SQLite3Result::fetchArray(): The SQLite3Result object has not been correctly initialised in post_addToGroup 13 years ago
Florin Peter 0916769f67 fix for SQLite3Result::fetchArray(): The SQLite3Result object has not been correctly initialised in post_addToGroup 13 years ago
Florin Peter 751487ded7 merge changes for files_encryption 13 years ago
Björn Schießle aa3eb6bb5b don't handle public share keys in lib/public/share.php but in apps/files_encryption/lib/util.php instead 13 years ago
Björn Schießle d1e2e47592 generate random key name for share key to avoid name conflicts 13 years ago
Florin Peter dc8164a3f0 fix for accessing non object 13 years ago
Florin Peter 1f464a7113 fix for accessing non object 13 years ago
Sam Tuke 28866de44b Added pre_share hook 13 years ago
Florin Peter ee083c20e6 improved pre_unshare and post_unshare hook 13 years ago
Michael Gapczynski 73d7cae6df One more mount point fix 13 years ago
Florin Peter 3c100af132 revert changes to fbbc76f281 because master is very unstable right now 13 years ago
Robin Appelman 809b5f81f6 Further seperation of mount management logic 13 years ago
Björn Schießle b5cb5dab51 fix encryption to owncloud user for public link shares 13 years ago
Björn Schießle b24a673714 the owner uid is not interesting. We want to get all users who have access to the given item source, no matter from whom it was shared 13 years ago
Björn Schießle fe58e4b1a6 we need to add the owner of the file as parameter in case someone else like the owner edits the file; if $includeOwner is set than add owner also if no other recipient was found. This changes enable all user with write access to the file to edit it and to encrypt it to the right list of users again 13 years ago
Michael Gapczynski d51a94161e Initialize collectionTypes variable as false 13 years ago
Michael Gapczynski e704bcd96e Correct undefined variable in post_shared hook, fixes #2592 13 years ago
Björn Schießle 2d00d13a5d use pre_unshare hook, otherwise the share is already removed. Which means that we have no chance to determine which folder has to be updated 13 years ago
Michael Gapczynski 6e5e8c6b46 Fix #2080 and fix #2141 13 years ago
Michael Gapczynski a5cab28bea Fix fetching source path of shared files 13 years ago
Michael Gapczynski ee0c38bb51 Fix group post_shared hook 13 years ago