Commit Graph

570 Commits (a252f59cd436d2c005755955bc93ab44544df766)

Author SHA1 Message Date
Bjoern Schiessle 57b671ebec only update the values which really changed 12 years ago
Bjoern Schiessle 73a2d87ab4 fix shouldEncrypt() method and improved decryptAll() unit tests 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 c578ab68fe there is no need to re-calculate the shares after a touch 12 years ago
Bjoern Schiessle 8e34812393 always encrypt files to owner 12 years ago
Bjoern Schiessle aa867ad647 don't call getFileInfo() to avoid to open the same file twice 12 years ago
Bjoern Schiessle 8ebb1f15d3 move check if a file should be encrypted to the pre hook 12 years ago
Bjoern Schiessle b9100bc2de don't write file if opening a stream to encrypt the data fails 12 years ago
Scott Arciszewski 09cc020535 Update crypt.php 12 years ago
Scott Arciszewski 36da3bc359 Update crypt.php 12 years ago
Thomas Müller bbbbb033f3 in case of phpunit executions calling header() and exit() is too bad 12 years ago
Vincent Petry 022d76c7bb Fixed warning when browsing Shared folder 12 years ago
Vincent Petry 48d63a6278 Return unencrypted_size of folder when queried 12 years ago
Bjoern Schiessle fbd8c00a89 don't create files folder, let ownCloud core handle it 12 years ago
Vincent Petry fefd724858 Fixed wrong field name 12 years ago
Bjoern Schiessle 4ace1a273d remember original fopen access type in pre-proxy because sometimes they change 12 years ago
Bjoern Schiessle 86b3cdc132 close encryption session after decryption was finished 12 years ago
Scrutinizer Auto-Fixer adaee6a5a1 Scrutinizer Auto-Fixes 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
Bart Visscher 1fb5f96c37 Style fixes 12 years ago
Joas Schilling b330d07b51 Fix more documentation failes 12 years ago
Jörn Friedrich Dreyer 2a6a9a8cef polish documentation based on scrutinizer patches 12 years ago
Bjoern Schiessle 97921d0c25 add function to extract filename from sharekey name + tests 12 years ago
Bjoern Schiessle bef58f5361 don't expect OC_FilesystemView, this is depreciated 12 years ago
Bjoern Schiessle 4d1086c35f better error detection and don't use glob() 12 years ago
Bjoern Schiessle 5610842e56 move unlink proxy to a hook which handles pre and post conditions 12 years ago
Bjoern Schiessle 83878b9a7d only update file cache with the unenecrypted size when the file was written 12 years ago
Bjoern Schiessle b489d6b0af fix infinite loop if folder and subfolder has the same name 12 years ago
Robin Appelman 299bb4d99d remove more is_array from encryption 12 years ago
Robin Appelman ec7c339930 Don't use is_array on FileInfo 12 years ago
Bjoern Schiessle f4179a3f5a don't try to encrypt/decrypt cache chunks or files in the trash bin 12 years ago
Bjoern Schiessle 517a55a437 tests added 12 years ago
Bjoern Schiessle 165542f27d fix rename of shared files 12 years ago
Bjoern Schiessle fe7fb66ef8 we can also have a path user/cache/... 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 d9668977cd implement ftell stream wrapper and fix return value from fseek stream wrapper 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
Bjoern Schiessle 83417d69be remove duplicated code 12 years ago
Bjoern Schiessle 95892c8be9 update file cache for target file 12 years ago
Bjoern Schiessle cdd816c930 only remove encryption keys if a real file gets deleted, skip this method if a file outside of /data/user/files was deleted 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