Commit Graph

235 Commits (fac288a4ad8f6db907c0a2ddfeb0b772fe616db5)

Author SHA1 Message Date
Florin Peter fac288a4ad added unencrypted file size to file cache 12 years ago
Florin Peter 170d09203f fixed file_proxy handling 12 years ago
Florin Peter baa6fd639f improved file size handling 12 years ago
Sam Tuke b7d8da87d0 Development snapshot 12 years ago
Sam Tuke c6bfc7315b Stream writing improved: working with dolphin + kate, gedit & nautilus give errors, suspect those issues are clientside 12 years ago
Sam Tuke a1d241783e Updated buglist 12 years ago
Florin Peter 8ab9433fdf fix wrong file path in proxy 12 years ago
Florin Peter 37c7205941 fix wrong file path in util 12 years ago
Björn Schießle a4364a93d0 delete all share keys if a file gets deleted 12 years ago
Björn Schießle b5cb5dab51 fix encryption to owncloud user for public link shares 12 years ago
Björn Schießle b57478fa27 fix comment, remove unused variable 12 years ago
Björn Schießle 1705938848 removed some leftover code; use already existing var for path to users file folder 12 years ago
Florin Peter f6ac34afea improved handling for getSharingUsersArray 12 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 12 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 12 years ago
Florin Peter 6b47da10be improved rename and file size support 12 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 12 years ago
Florin Peter 0e1970438b fixed incorrect filesize, download via web is now possible 12 years ago
Björn Schießle 2bd338c49f getUsersSharingFile() no longer needed, use getSharingUsersArray() instead; fix filterShareReadyUsers() to return the correct results 12 years ago
Björn Schießle 935d039860 necessary changes in util.php after the changes in \OCP\Share::getUsersSharingFile() (fe58e4b1a6) 12 years ago
Björn Schießle 39c717b24c some fixes to the keymanager class to identify the file owner and the owner path correctly. 12 years ago
Björn Schießle 1df36e0c88 rename $shareFilePath to $path to avoid confusions, it is not about paths to share files but about general path to files stored in ownCloud 12 years ago
Björn Schießle 40905c8941 fix file sharing, sharing files works now; moved the identification of file owner and the owner path in the keymanager functions so that other functions doesn't have to deal with it 12 years ago
Björn Schießle 7892fddcb9 remove ToDo, every time the file key gets encrypted new share keys are generated and a new encrypted filekey. We always need to use the latest share-keys and encrypted keyfiles 12 years ago
Björn Schießle bd3024242f always save key file, the key doesn't change but the encrypted keyfile change always the same way like the share-keys change 12 years ago
Björn Schießle a646a1169f return filename relative to users file dir and not relative to data dir 12 years ago
Florin Peter 2434739d69 fix for trashbin 12 years ago
Sam Tuke 6dd8c79461 Development snapshot 12 years ago
Sam Tuke f89a3604aa Working on stream{} writing 12 years ago
Sam Tuke 770dcbf663 Fixed stream{} reading of encrypted files (stream_read()) 12 years ago
Sam Tuke f378a7f572 Fixed proxy class handing of read / write files 12 years ago
Björn Schießle 854b920787 fix some more paths 12 years ago
Björn Schießle 02d1f86a53 fix some confusion about paths relative to the files dir and to the data dir 12 years ago
Björn Schießle f87229ddaf fix stream wrapper to make initial encryption work 12 years ago
Florin Peter 8f0bbdc5cb fix performance issues 12 years ago
Björn Schießle c3a284569b make sure that public-keys dir exists 12 years ago
Björn Schießle fff979a590 add $view as parameter for getFileKey() call 12 years ago
Björn Schießle 98de385b8a add $view as parameter for session constructor 12 years ago
Sam Tuke 400cf5beb3 Fixed naming bug of public owncloud key dir, which caused new keypair to be generated on each pageload 12 years ago
Sam Tuke 14451bdaf0 Development snapshot; 12 years ago
Björn Schießle e717f7150e check for dir in deleteFileKey() and delShareKey(), to always handle all share keys and file keys on delete 12 years ago
Björn Schießle 73157133e8 reuse function provided in util.php 12 years ago
Björn Schießle 6beeb2466f also delete share keys if a different user than the owner deletes a shared file 12 years ago
Björn Schießle b1d620300e delete share keys if file gets deleted 12 years ago
Björn Schießle 5f233ee814 get the correct paths and owner to access shared files 12 years ago
Björn Schießle a65d741a3f move getUidAndFilename() tu util.php 12 years ago
Björn Schießle 890f0142a2 get shared keys from new location 12 years ago
Björn Schießle 5995b6996b always call stripUserFilesPath(), we need to keep the Shared/ to find the correct owner of the file later 12 years ago
Björn Schießle f10be4ea17 new file structure for share keys; sub-folder need to be generated each by one (we don't have a recursive mkdir) 12 years ago
Sam Tuke fd4e59b748 Added method for setting user keyfile recovery preference 12 years ago