Commit Graph

78 Commits (33e0dfeecbcfba7c3caa6765f156cd06d7dfdb13)

Author SHA1 Message Date
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 13 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 13 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 13 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 13 years ago
Björn Schießle 5a7a64df08 Session needs filesystem view as parameter; use getSharingUsersArray(), this function also adds the owner to the list 13 years ago
Sam Tuke f378a7f572 Fixed proxy class handing of read / write files 13 years ago
Björn Schießle 98de385b8a add $view as parameter for session constructor 13 years ago
Sam Tuke 14451bdaf0 Development snapshot; 13 years ago
Sam Tuke fd4e59b748 Added method for setting user keyfile recovery preference 13 years ago
Sam Tuke c89fd49870 Improved folder creation code 13 years ago
Sam Tuke 69bc42f920 Deleting encrypted files with missing keyfiles/shareKeys now succeeds 13 years ago
Sam Tuke 14eae441eb Unsharing a single file now works 13 years ago
Sam Tuke aae9b0b1bf Started work on post unshare hook 13 years ago
Sam Tuke 2d267501a1 Development snapshot 13 years ago
Sam Tuke 1b880f2f96 Moved dependencies out of Crypt methods (encKeyfileToMultipleUsers)(DI) 13 years ago
Björn Schießle 109fee7673 remove todo, it is already solved 13 years ago
Björn Schießle 9356f9a6bf add post_unshareALll hook, update recursively all keyfiles if a folder was shared/unshared 13 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 13 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 13 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 13 years ago
Björn Schießle 1e5d03da80 use right location of the file is the source and not the target it is shared to 13 years ago
Björn Schießle 8eef919a75 take group shares into account if we retrieve the list a all recipients 13 years ago
Björn Schießle 5a64c96d06 go back to preUnshare hooks since sharing doesn't trigger post unshare hooks 13 years ago
Björn Schießle 9b49832090 unshare all should work the same like unshare single users 13 years ago
Björn Schießle 3e3cee98c8 - moved the enrcyption of the filekey ifg file gets shared from the post shared hook to 13 years ago
Björn Schießle 2787aafae6 added some TODOs 13 years ago
Sam Tuke 92f06243be Implementing sharing support 13 years ago
Robin Appelman ad360296b9 Update tests and apps to the new \OC\Files\Filesystem::init signature 13 years ago
Sam Tuke b3e59ca1e3 Work on post_share hook for files_encryption 13 years ago
Thomas Müller 7f58e27495 cleanup - more to come after 13 years ago
Sam Tuke 2b07afc8ab Removed debugging code 13 years ago
Sam Tuke 6870add18f Development snapshot 13 years ago
Sam Tuke 16a5ace434 Fixed bug causing encrypted files to be doubly encrypted at login 13 years ago
Sam Tuke 221b69dd0e Fixed bug relating to Filesystem{} that prevented webdav logins with files_encryption 13 years ago
Sam Tuke 06847f609b Improved support for detecting and recrypting legacy files. Bugs remain. 13 years ago
Sam Tuke c1f20fe37a Made encyrption keyfiles be deleted when their parents are 13 years ago