Commit Graph

5190 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 2bd338c49f getUsersSharingFile() no longer needed, use getSharingUsersArray() instead; fix filterShareReadyUsers() to return the correct results 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
Björn Schießle 935d039860 necessary changes in util.php after the changes in \OCP\Share::getUsersSharingFile() (fe58e4b1a6) 14 years ago
Björn Schießle 39c717b24c some fixes to the keymanager class to identify the file owner and the owner path correctly. 14 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 14 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 14 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 14 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 14 years ago
Björn Schießle a646a1169f return filename relative to users file dir and not relative to data dir 14 years ago
Sam Tuke 6dd8c79461 Development snapshot 14 years ago
Sam Tuke f89a3604aa Working on stream{} writing 14 years ago
Sam Tuke 770dcbf663 Fixed stream{} reading of encrypted files (stream_read()) 14 years ago
Sam Tuke f378a7f572 Fixed proxy class handing of read / write files 14 years ago
Björn Schießle 854b920787 fix some more paths 14 years ago
Björn Schießle 02d1f86a53 fix some confusion about paths relative to the files dir and to the data dir 14 years ago
Björn Schießle f87229ddaf fix stream wrapper to make initial encryption work 14 years ago
Florin Peter 8f0bbdc5cb fix performance issues 14 years ago
Björn Schießle c3a284569b make sure that public-keys dir exists 14 years ago
Björn Schießle 4303d6318e Session expect OC_FilesystemView() 14 years ago
Björn Schießle fff979a590 add $view as parameter for getFileKey() call 14 years ago
Björn Schießle 98de385b8a add $view as parameter for session constructor 14 years ago
Sam Tuke 109fe198c3 Added info about filesystem method access conventions 14 years ago
Sam Tuke 400cf5beb3 Fixed naming bug of public owncloud key dir, which caused new keypair to be generated on each pageload 14 years ago
Sam Tuke 14451bdaf0 Development snapshot; 14 years ago
Sam Tuke 9ecfd07f23 Added ajax scripts for setting pwd recovery preferences 14 years ago
Arthur Schiwon 599778b153 Files External: show display names instead of internal user names in Settings UI 14 years ago
Jenkins for ownCloud 0c666cb764 [tx-robot] updated from transifex 14 years ago
Thomas Mueller 586a47b186 fixes #1463 - file size is now displayed correctly in IE8 14 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 14 years ago
Thomas Mueller cf50e67e1b prevent to fire delete ajax a second time. 14 years ago
Björn Schießle 73157133e8 reuse function provided in util.php 14 years ago
Björn Schießle 6beeb2466f also delete share keys if a different user than the owner deletes a shared file 14 years ago
Björn Schießle b1d620300e delete share keys if file gets deleted 14 years ago
Thomas Mueller e0e5cb73bf fixes #1461 14 years ago
Björn Schießle 5f233ee814 get the correct paths and owner to access shared files 14 years ago
Björn Schießle a65d741a3f move getUidAndFilename() tu util.php 14 years ago
Björn Schießle 890f0142a2 get shared keys from new location 14 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 14 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) 14 years ago
Björn Schießle c2a49b5c1f the old path no longer exists after rename, update the parent folder instead 14 years ago
Arthur Schiwon 8b3dd87846 LDAP: fix wrong return value 14 years ago
Björn Schießle abd48496d2 fix indention 14 years ago
Björn Schießle 102120f105 skip update if the recipient is the same user as the owner, otherwise we run in a infinite loop for group shares 14 years ago
Björn Schießle 5924d1d95c add backticks around table names 14 years ago
Jenkins for ownCloud 4f6e13e673 [tx-robot] updated from transifex 14 years ago
Jenkins for ownCloud 3b1c7de459 [tx-robot] updated from transifex 14 years ago
Sam Tuke fd4e59b748 Added method for setting user keyfile recovery preference 14 years ago
Jenkins for ownCloud 63e3f978ab [tx-robot] updated from transifex 14 years ago