Commit Graph

88 Commits (c0c4fe5fd3cd575656ed30b4464bb6bc3c6d4f40)

Author SHA1 Message Date
Florin Peter ec2e193a44 removed unused code 13 years ago
Florin Peter 63a790b415 fix for broken tests 13 years ago
Björn Schießle 5b160edebb check if the user knows the correct recovery password before changing the recovery key settings 13 years ago
Florin Peter 8776000754 fix for move file to an empty folder 13 years ago
Florin Peter a4e9e2fc79 added post_deleteUser hook for cleanup public key 13 years ago
Florin Peter b2d021b2a5 added post_createUser hook 13 years ago
Björn Schießle 2f4ba9d1e8 if file was shared to user than userIds is just the users Id 13 years ago
Björn Schießle d1e2e47592 generate random key name for share key to avoid name conflicts 13 years ago
Björn Schießle a6ef25ba08 use preShare hook only to check if all pub keys are available and the postShare hook to finaly update the shareKeys if the file was shared successfully 13 years ago
Florin Peter 8e004cc3e1 added handling for sharing with link 13 years ago
Florin Peter 33e0dfeecb sharing with group should work now 13 years ago
Sam Tuke 101e037529 Fixed bugs with pre_share hook usage 13 years ago
Sam Tuke 28866de44b Added pre_share hook 13 years ago
Sam Tuke 763c8f78ed Made code formatting of new methods more consistent 13 years ago
Florin Peter 5610429a02 handling for re-share and re-unshare should work now 13 years ago
Sam Tuke c8946ea608 Added support for user-specified password for adminRecovery account in admin settings page 13 years ago
Florin Peter 9605d14a17 fixed re-share problems 13 years ago
Florin Peter d3db4ee103 fixed re-share problems 13 years ago
Florin Peter 06a5cf70f7 fix duplicate login behavior if user not setup 13 years ago
Florin Peter 3c100af132 revert changes to fbbc76f281 because master is very unstable right now 13 years ago
Florin Peter 5deba29bdf fixed public-keys mount point error 13 years ago
Florin Peter c52fe12537 fixed missing parameter 13 years ago
Florin Peter d40ffc5aac added filesystem post rename hook 13 years ago
Florin Peter 11d0eef8cc fixed webdav errors, now webdav up - and downloads are full working 13 years ago
Björn Schießle bcb2e87846 check if the item source was shared to me to decide if it is a re-share or not. Re-sharing of encrypted files should work now, we might still need to test some corner cases 14 years ago
Björn Schießle 8a46e809f0 remove util::getPaths(), this function was broken and is replaced my util::getAllFiles(). When unsharing a folder only remove the share key for sub files if the user really no longer have access to the file. Can happen that a sub-file/-folder is shared to a group the user is a member of or explicitly once more to the same user 14 years ago
Björn Schießle a2ba3c8a43 fix sharing of folders. First we need to collect all files. Than we need to find all users with access to the file because this can vary from file to file and than we can encrypt it for all recipients 14 years ago
Björn Schießle 12785b93f1 make sure that all share keys get deleted if a file/folder gets unshared from a user/group 14 years ago
Björn Schießle 5a7a64df08 Session needs filesystem view as parameter; use getSharingUsersArray(), this function also adds the owner to the list 14 years ago
Sam Tuke f378a7f572 Fixed proxy class handing of read / write files 14 years ago
Björn Schießle 98de385b8a add $view as parameter for session constructor 14 years ago
Sam Tuke 14451bdaf0 Development snapshot; 14 years ago
Sam Tuke fd4e59b748 Added method for setting user keyfile recovery preference 14 years ago
Sam Tuke c89fd49870 Improved folder creation code 14 years ago
Sam Tuke 69bc42f920 Deleting encrypted files with missing keyfiles/shareKeys now succeeds 14 years ago
Sam Tuke 14eae441eb Unsharing a single file now works 14 years ago
Sam Tuke aae9b0b1bf Started work on post unshare hook 14 years ago
Sam Tuke 2d267501a1 Development snapshot 14 years ago
Sam Tuke 1b880f2f96 Moved dependencies out of Crypt methods (encKeyfileToMultipleUsers)(DI) 14 years ago
Björn Schießle 109fee7673 remove todo, it is already solved 14 years ago
Björn Schießle 9356f9a6bf add post_unshareALll hook, update recursively all keyfiles if a folder was shared/unshared 14 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 14 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 14 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 14 years ago
Björn Schießle 1e5d03da80 use right location of the file is the source and not the target it is shared to 14 years ago
Björn Schießle 8eef919a75 take group shares into account if we retrieve the list a all recipients 14 years ago
Björn Schießle 5a64c96d06 go back to preUnshare hooks since sharing doesn't trigger post unshare hooks 14 years ago
Björn Schießle 9b49832090 unshare all should work the same like unshare single users 14 years ago
Björn Schießle 3e3cee98c8 - moved the enrcyption of the filekey ifg file gets shared from the post shared hook to 14 years ago
Björn Schießle 2787aafae6 added some TODOs 14 years ago