Commit Graph

521 Commits (9183ade655d5b77ed4300a73f068685c2260fd8a)

Author SHA1 Message Date
Bjoern Schiessle 78b10de7d6 catch errors during decryption 13 years ago
Bjoern Schiessle 37db8a13d4 catch errors during initial encryption 13 years ago
Bjoern Schiessle f824986742 add function to extract filename from sharekey name + tests 13 years ago
Bjoern Schiessle 78b390da31 don't expect OC_FilesystemView, this is depreciated 13 years ago
Bjoern Schiessle b3257a315d better error detection and don't use glob() 13 years ago
Bjoern Schiessle fc1763dc6b move unlink proxy to a hook which handles pre and post conditions 13 years ago
Bjoern Schiessle 33801c311e only update file cache with the unenecrypted size when the file was written 13 years ago
Bjoern Schiessle 2e8418b362 fix infinite loop if folder and subfolder has the same name 13 years ago
Bjoern Schiessle 3c7541e97c don't try to encrypt/decrypt cache chunks or files in the trash bin 13 years ago
Bjoern Schiessle 13461698e4 tests added 13 years ago
Bjoern Schiessle eaa5dd0282 we can also have a path user/cache/... 13 years ago
Bjoern Schiessle 2f568c9766 fix rename of shared files 13 years ago
Vincent Petry 1f93b4e842 Removed numRows usage from encryption app 13 years ago
Bjoern Schiessle 2f0ec8256f reliable detect encrypted files 13 years ago
Bjoern Schiessle 3160b23291 update file cache for target file 13 years ago
Bjoern Schiessle 73a0b690e9 only remove encryption keys if a real file gets deleted, skip this method if a file outside of /data/user/files was deleted 13 years ago
Bart Visscher 281bbf4bd4 Don't try to encrypt a file when the temp file isn't created 13 years ago
Bjoern Schiessle 01de6c565a set unencrypted_size to 0 after decryption... so that the unencrypted_size gets re-calculated if encryption was enabled again 13 years ago
Bjoern Schiessle 91ca1cf985 fix typo 13 years ago
Bjoern Schiessle d0afd774b7 add method to check if users private/public key exists 13 years ago
Morris Jobke dffc2a8b1c Revert "Adjust files_encryption requirements to the new core requirement (PHP 5.3.8)." 13 years ago
Andreas Fischer efbf18652c Adjust files_encryption requirements to the new core requirement (PHP 5.3.8). 13 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 13 years ago
Bjoern Schiessle 7f2bdb0e97 typo fixed 13 years ago
Bjoern Schiessle 7f3b178d73 some small changes according to the review comments 13 years ago
Bjoern Schiessle 35a6ad255d fix typo in var name 13 years ago
Bjoern Schiessle d6fb2afa85 show a message at the log-in screen if inital encryption take place 13 years ago
Bjoern Schiessle 9c4b8ae54c fix typo in comment 13 years ago
Bjoern Schiessle d2e6f7d979 check HTTP Referer to check if we come from public.php or from a internal page. 13 years ago
Bjoern Schiessle c7dc6dc2c2 fix getFileKey() call 13 years ago
Bjoern Schiessle 2b361ea085 better distinction between userID and keyId 13 years ago
Bjoern Schiessle b27fc42e1f public upload now also works with encryption enabled 13 years ago
Bjoern Schiessle b9c18d16fe make sure that we always use the correct user id 13 years ago
Bjoern Schiessle e11afd3066 fix some getShareKey() and getFileKey() calls 13 years ago
Bjoern Schiessle c5cb4206f5 [wip] make encryption work with public gallery sharing 13 years ago
Vincent Petry fe44024868 Fix for extstorage + encryption where unencrypted size is not kept 13 years ago
Bjoern Schiessle f3e2a63712 check if it is a cached file or a version to resolve the correct path to the file key 13 years ago
Bjoern Schiessle 0c24c7c420 only check if the key file exists to decide if it is an encrypted file or not. 13 years ago
Bjoern Schiessle b823505bd1 make sure that the owners home is mounted correctly 13 years ago
Bjoern Schiessle 82f30d37ca call error page with session as parameter 13 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 13 years ago
Bjoern Schiessle dd0ebcede2 fixPartialFilePath() is now stripPartialFileExtension() 13 years ago
Bjoern Schiessle 77429c28fd rename fixPartialFilePath() to stripPartialFileExtension(), this name describes better what the method actually does 13 years ago
Bjoern Schiessle e2fb8d7128 only update file cache if the file is already indexed to avoid that we create a incomplete file cache entry 13 years ago
Bjoern Schiessle 894856ce01 make sure that we keep the correct timestamp and etag after encryoption/decryption 13 years ago
Bjoern Schiessle 9f10f15fd4 fixing tests for the new part file handling 13 years ago
Bjoern Schiessle 802213f7ec let encryption app detect transfer id in path and handle it correctly 13 years ago
Vincent Petry e246e2b669 Fixed encryption migration when entry is missing in DB 13 years ago
Markus Goetz af58360434 files_encryption: Fix getFileSize() 13 years ago
Bjoern Schiessle eb348b776c set the init status to "NOT_INITIALIZED" if the encryption app gets enabled 13 years ago