Commit Graph

62 Commits (a2ba3c8a43780eab5ad8a4d96db33c584e7ae2ec)

Author SHA1 Message Date
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
Sam Tuke 92f06243be Implementing sharing support 14 years ago
Robin Appelman ad360296b9 Update tests and apps to the new \OC\Files\Filesystem::init signature 14 years ago
Sam Tuke b3e59ca1e3 Work on post_share hook for files_encryption 14 years ago
Thomas Müller 7f58e27495 cleanup - more to come after 14 years ago
Sam Tuke 2b07afc8ab Removed debugging code 14 years ago
Sam Tuke 6870add18f Development snapshot 14 years ago
Sam Tuke 16a5ace434 Fixed bug causing encrypted files to be doubly encrypted at login 14 years ago
Sam Tuke 221b69dd0e Fixed bug relating to Filesystem{} that prevented webdav logins with files_encryption 14 years ago
Sam Tuke 06847f609b Improved support for detecting and recrypting legacy files. Bugs remain. 14 years ago
Sam Tuke c1f20fe37a Made encyrption keyfiles be deleted when their parents are 14 years ago
Sam Tuke 094213e231 Fixed many coding guidelines issues 14 years ago
Sam Tuke d95fc4e1e3 Adding sharing support: added new method in Keymanager setShareKey() 14 years ago
Sam Tuke 015787fbb3 All in-use unit tests now passing after merge 14 years ago
Sam Tuke 7fe9245636 Development snapshot 14 years ago
Sam Tuke 1fc5b1d02d Replaced phpseclib calls with symmetric re-encryption of user private key 14 years ago
Sam Tuke a00dd2d5d6 Revert "Revert "Development snapshot"" 14 years ago
Sam Tuke b66d38ecae Revert "Development snapshot" 14 years ago
Sam Tuke aabef796a0 Added library phpseclib 14 years ago
Sam Tuke c56fb905d1 Development snapshot 14 years ago
Sam Tuke bc3550b37b Development Snapshot 14 years ago
Sam Tuke bfd47cd2df Development snapshot 14 years ago
Sam Tuke 637891b771 Development snapshot, lots of fixes 14 years ago
Sam Tuke 265f3654af all unit files_encryption crypt unit tests now passing after merge 14 years ago
Sam Tuke ed980674a6 Development snapshot 14 years ago
Sam Tuke f11f524dfa working on streaming decrypted content 14 years ago
Sam Tuke 6ce315fe58 added wrapper method in crypt class for encrypting asymmetric and symmetric simultaneously 14 years ago