Commit Graph

179 Commits (a7ae2e874a28aed2c190840634db50a19ab1d2e7)

Author SHA1 Message Date
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 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 c578ab68fe there is no need to re-calculate the shares after a touch 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
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
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
Bart Visscher 1fb5f96c37 Style fixes 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
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 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
Bjoern Schiessle 7f3b178d73 some small changes according to the review comments 12 years ago
Bjoern Schiessle b27fc42e1f public upload now also works with encryption enabled 12 years ago
Bjoern Schiessle c5cb4206f5 [wip] make encryption work with public gallery sharing 12 years ago
Vincent Petry fe44024868 Fix for extstorage + encryption where unencrypted size is not kept 12 years ago
Bjoern Schiessle faa08da944 instead of writing etmp files we write the dummy file to data/user/cache to avoid that etmp files show up in the users files list 12 years ago
Bjoern Schiessle 9f10f15fd4 fixing tests for the new part file handling 12 years ago
Bjoern Schiessle 6bfd8bdf63 revert last changes 12 years ago
Bjoern Schiessle 0811d2e304 added another test, if unencrypted size and encrypted size are equal we can also assume that something is wrong 12 years ago
Bjoern Schiessle d3af7a9aa4 check if we are writing to user/files, otherwise skip encryption 12 years ago
Bjoern Schiessle 58196304b8 fix array key 12 years ago
Bjoern Schiessle 4151fd3ed9 try to fix unencrypted file size if it doesn't look plausible 12 years ago
Bjoern Schiessle 909af2b62e don't cache if the encryption is enabled, this can lead to problems during unit testing 12 years ago
Bjoern Schiessle 62b8c36a40 check if encryption app is enabled before trying to calculate file size 12 years ago
Bjoern Schiessle 663009f895 fix check if app is enabled 12 years ago
Bjoern Schiessle 0b98427536 fix check if app is enabled 12 years ago
Bjoern Schiessle 96c27ead92 check if encryption app is enabled 12 years ago
Bjoern Schiessle 223d3c91d6 use path relative to data/ 13 years ago
Björn Schießle 2c8e5ec84f user interface to allow user to decrypt all his files once the encryption app was disabled 13 years ago
Florin Peter 96ef926161 normalize path to prevent following split to fail 13 years ago
Florin Peter eaa4f92275 added our own file extension .part will not work here if we use file_get_contents so we used our own extension '.etmp' 13 years ago
Florin Peter 8c17f26226 fixed problems with file_get_contents and file_put_contents this problem was related to text editor with big text files 13 years ago
Florin Peter 6ae7bde788 fixed encryption session namespace to avoid problems 13 years ago
Robin Appelman 44f9af5a7f Use the new session wrapper 13 years ago
Florin Peter e1e1c58969 changed to public log api 13 years ago
Florin Peter 7224fc98b2 replace == with === and replace != with !== 13 years ago
Björn Schießle df22a7c495 make legacyDecrypt() private als always call legacyBlockDecrypt() from other classes 13 years ago
Florin Peter 5d32e214b7 reformat code 13 years ago
Florin Peter 6c8de5ae6d fixes after review from @DeepDiver1975 13 years ago
Florin Peter afbfa742d7 improved tests 13 years ago
Florin Peter 9ca9a22c6a fixed finding encrypted files in subfolders and removed unused code 13 years ago