Commit Graph

365 Commits (d2652645425777c1a97f8421e51aad9bdcf39684)

Author SHA1 Message Date
Björn Schießle ae0f37e9e2 fix indention 12 years ago
Björn Schießle 8587f565d2 remove unnecessary variable 12 years ago
Björn Schießle 63a2bec6e5 use public API for error handling; improved while condition 12 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 12 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 12 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 12 years ago
Florin Peter d7dc710c8b revert changes 12 years ago
Florin Peter 469d6028ad revert changes 12 years ago
Björn Schießle 95297c2469 add pre-shared hooks 12 years ago
Florin Peter 68059b1ec3 fix for SQLite3Result::fetchArray(): The SQLite3Result object has not been correctly initialised in post_addToGroup 12 years ago
Florin Peter 0916769f67 fix for SQLite3Result::fetchArray(): The SQLite3Result object has not been correctly initialised in post_addToGroup 12 years ago
Florin Peter 751487ded7 merge changes for files_encryption 12 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 12 years ago
Björn Schießle d1e2e47592 generate random key name for share key to avoid name conflicts 12 years ago
Florin Peter dc8164a3f0 fix for accessing non object 12 years ago
Florin Peter 1f464a7113 fix for accessing non object 12 years ago
Sam Tuke 28866de44b Added pre_share hook 12 years ago
Florin Peter ee083c20e6 improved pre_unshare and post_unshare hook 12 years ago
Michael Gapczynski 73d7cae6df One more mount point fix 12 years ago
Florin Peter 3c100af132 revert changes to fbbc76f281 because master is very unstable right now 12 years ago
Robin Appelman 809b5f81f6 Further seperation of mount management logic 12 years ago
Björn Schießle b5cb5dab51 fix encryption to owncloud user for public link shares 12 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 12 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 12 years ago
Michael Gapczynski d51a94161e Initialize collectionTypes variable as false 12 years ago
Michael Gapczynski e704bcd96e Correct undefined variable in post_shared hook, fixes #2592 12 years ago
itheiss 568c256aff Fix #2499 12 years ago
Frank Karlitschek 3cb016d478 add a searchbymime to the public api. Please all remember that access to internal oc classes will be disabled for all app for ownCloud 6. So please port yur stuff to the public api :-) 12 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 12 years ago
Michael Gapczynski 6e5e8c6b46 Fix #2080 and fix #2141 12 years ago
Michael Gapczynski a5cab28bea Fix fetching source path of shared files 12 years ago
Michael Gapczynski ee0c38bb51 Fix group post_shared hook 12 years ago
Thomas Mueller 6019cdd5bd adding test case for getDefaultEmailAddress() + fixing #1844 again 12 years ago
Thomas Mueller 6c304fa5c0 validate the generated email address and fall back to localhost.localdomain in case it is not valid 12 years ago
Michael Gapczynski 9a2ca0ae64 Check resharing setting 12 years ago
Michael Gapczynski 8983465210 Correct parent folders' ETags for all users with access to a shared file 12 years ago
Bart Visscher bb75dfc021 Whitespace fixes 12 years ago
Björn Schießle d8137fdf66 return both, count and result if the operation succeeded or failed. Maybe in some cases it is useful to know how much bytes where copied 12 years ago
Björn Schießle 40efeb9187 isSharedFile() doesn't detect all shares, just use getUsersSharingFile() directly either you get a list of users or not 12 years ago
Bart Visscher ffae6f4b84 Style-fix: Breakup long lines 12 years ago
Bart Visscher 2d6d0a4ad4 Whitespace indent fixes 12 years ago
Bart Visscher cd35d257bb Fix NoSpaceAfterComma and SpaceBeforeComma 12 years ago
Bart Visscher d3ef967993 Fix indentation style 12 years ago
Björn Schießle 5005195db0 create keypair for ownCloud with empty passphrase, will be used for public link shares 12 years ago
Björn Schießle 9356f9a6bf add post_unshareALll hook, update recursively all keyfiles if a folder was shared/unshared 12 years ago
Björn Schießle 4952dfe956 add post_unshare hook, also add public link shares to the list of user with access to a file 12 years ago
Björn Schießle a692264fa4 add option to keep duplicates in the list of users with access to a file, e.g. for the unshare operation we need to know if access was granted more than once, for example as group share and as individual share 12 years ago
Björn Schießle d1bbb30385 also find users with access to the file if a folder above the actual file was already shared 12 years ago
Björn Schießle 8eef919a75 take group shares into account if we retrieve the list a all recipients 12 years ago
Sam Tuke 92f06243be Implementing sharing support 12 years ago