Commit Graph

523 Commits (92969052d7f4f008205bbfdf3e5437f3deca1d6b)

Author SHA1 Message Date
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
Morris Jobke 36bc6b871f Revert "Adjust files_encryption requirements to the new core requirement (PHP 5.3.8)." 12 years ago
Andreas Fischer efbf18652c Adjust files_encryption requirements to the new core requirement (PHP 5.3.8). 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 7f2bdb0e97 typo fixed 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 9c4b8ae54c fix typo in comment 12 years ago
Bjoern Schiessle d2e6f7d979 check HTTP Referer to check if we come from public.php or from a internal page. 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
Vincent Petry fe44024868 Fix for extstorage + encryption where unencrypted size is not kept 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 82f30d37ca call error page with session as parameter 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 dd0ebcede2 fixPartialFilePath() is now stripPartialFileExtension() 12 years ago
Bjoern Schiessle 77429c28fd rename fixPartialFilePath() to stripPartialFileExtension(), this name describes better what the method actually does 12 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 12 years ago
Bjoern Schiessle 894856ce01 make sure that we keep the correct timestamp and etag after encryoption/decryption 12 years ago
Bjoern Schiessle 9f10f15fd4 fixing tests for the new part file handling 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 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