Commit Graph

533 Commits (e34d00a95863fb76e6003b8675fe15f37e5ec4fe)

Author SHA1 Message Date
Bjoern Schiessle 027de54558 don't write file if opening a stream to encrypt the data fails 13 years ago
Vincent Petry b10b8a470b Fixed warning when browsing Shared folder 13 years ago
Vincent Petry eacb4b3f3e Return unencrypted_size of folder when queried 13 years ago
Bjoern Schiessle c02c815603 don't create files folder, let ownCloud core handle it 13 years ago
Bjoern Schiessle 9661001af1 remember original fopen access type in pre-proxy because sometimes they change 13 years ago
Vincent Petry 4756d18a14 Fixed wrong field name 13 years ago
Bjoern Schiessle 6455722f29 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 13 years ago
Bjoern Schiessle 8b3d99308c implement ftell stream wrapper and fix return value from fseek stream wrapper 13 years ago
Bjoern Schiessle f87319f834 fall back to getLocalFile if storage doesn't support fseek 13 years ago
Bjoern Schiessle 9a0c78b831 close encryption session after decryption was finished 13 years ago
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