Commit Graph

237 Commits (a7ae2e874a28aed2c190840634db50a19ab1d2e7)

Author SHA1 Message Date
Bjoern Schiessle a9ac11718e backup the encryption key after the encryption was disabled so that the user 12 years ago
Thomas Müller e0dd69e4e6 remove legacy aka deprecated code: OC_FilesystemView 12 years ago
Thomas Müller 4dd1a49a68 remove legacy aka deprecated code: OC_Filesystem 12 years ago
Bjoern Schiessle fb88aba8f4 some fixes to make the gallery work, this made it necessary to adjust some tests and the encryption code 12 years ago
Bjoern Schiessle a86d97295e fix encryption tests after the removal of the shared folder 12 years ago
Bjoern Schiessle 8e34812393 always encrypt files to owner 12 years ago
Bjoern Schiessle 8ebb1f15d3 move check if a file should be encrypted to the pre hook 12 years ago
Bjoern Schiessle fbd8c00a89 don't create files folder, let ownCloud core handle it 12 years ago
Bjoern Schiessle 86b3cdc132 close encryption session after decryption was finished 12 years ago
Bjoern Schiessle f2f5769df7 catch errors during decryption 12 years ago
Bjoern Schiessle 2ab062193a catch errors during initial encryption 12 years ago
Robin Appelman 181bbd4325 Remove usage of legacy OC_Appconfig 12 years ago
Jörn Friedrich Dreyer 2a6a9a8cef polish documentation based on scrutinizer patches 12 years ago
Bjoern Schiessle bef58f5361 don't expect OC_FilesystemView, this is depreciated 12 years ago
Bjoern Schiessle b489d6b0af fix infinite loop if folder and subfolder has the same name 12 years ago
Vincent Petry 963ee31efb Removed numRows usage from encryption app 12 years ago
Bjoern Schiessle 4f8ae789ae extend the encryption stream wrapper to handle local files and add a fall back for file size calculation if the storage doesn't support fseek 12 years ago
Bjoern Schiessle 9a94c07553 remove unused method tail() 12 years ago
Bjoern Schiessle c955381d56 fall back to getLocalFile if storage doesn't support fseek 12 years ago
Bjoern Schiessle 69b89454a4 reliable detect encrypted files 12 years ago
Bart Visscher 40f148cc6c Don't try to encrypt a file when the temp file isn't created 12 years ago
Bjoern Schiessle 9ff231590c set unencrypted_size to 0 after decryption... so that the unencrypted_size gets re-calculated if encryption was enabled again 12 years ago
Bjoern Schiessle 9371944e43 fix typo 12 years ago
Bjoern Schiessle 85467b973a add method to check if users private/public key exists 12 years ago
Bjoern Schiessle 060e0ad0cd with the latest changes in master $this-userID is always the correct ID, so we no longer need the extra parameter 12 years ago
Bjoern Schiessle 7f3b178d73 some small changes according to the review comments 12 years ago
Bjoern Schiessle 35a6ad255d fix typo in var name 12 years ago
Bjoern Schiessle d6fb2afa85 show a message at the log-in screen if inital encryption take place 12 years ago
Bjoern Schiessle c7dc6dc2c2 fix getFileKey() call 12 years ago
Bjoern Schiessle 2b361ea085 better distinction between userID and keyId 12 years ago
Bjoern Schiessle b27fc42e1f public upload now also works with encryption enabled 12 years ago
Bjoern Schiessle b9c18d16fe make sure that we always use the correct user id 12 years ago
Bjoern Schiessle e11afd3066 fix some getShareKey() and getFileKey() calls 12 years ago
Bjoern Schiessle c5cb4206f5 [wip] make encryption work with public gallery sharing 12 years ago
Bjoern Schiessle f3e2a63712 check if it is a cached file or a version to resolve the correct path to the file key 12 years ago
Bjoern Schiessle 0c24c7c420 only check if the key file exists to decide if it is an encrypted file or not. 12 years ago
Bjoern Schiessle b823505bd1 make sure that the owners home is mounted correctly 12 years ago
Bjoern Schiessle 77429c28fd rename fixPartialFilePath() to stripPartialFileExtension(), this name describes better what the method actually does 12 years ago
Bjoern Schiessle 894856ce01 make sure that we keep the correct timestamp and etag after encryoption/decryption 12 years ago
Bjoern Schiessle 802213f7ec let encryption app detect transfer id in path and handle it correctly 12 years ago
Vincent Petry e246e2b669 Fixed encryption migration when entry is missing in DB 12 years ago
Markus Goetz af58360434 files_encryption: Fix getFileSize() 12 years ago
Bjoern Schiessle eb348b776c set the init status to "NOT_INITIALIZED" if the encryption app gets enabled 12 years ago
Bjoern Schiessle b2dde14dbc coding style fixes 12 years ago
Bjoern Schiessle 93f4dec798 fix part file handling and real size calculation, this should also solve #4581 12 years ago
Bjoern Schiessle f6830e7462 check shares for the real file and not for the .part file 12 years ago
Bjoern Schiessle 404e36323a first check if a extension exists before comparing it 12 years ago
Bjoern Schiessle 597a3cf1ad handle part files correctly 12 years ago
Bjoern Schiessle fb462e83cc no longer enforce log out, but provide useful errors/warnings instead 13 years ago
Arthur Schiwon c01675de5d more is_resource checks before readdir 13 years ago