Commit Graph

471 Commits (3ad546002f11b4e252890fa65ea64d3fd9682b9d)

Author SHA1 Message Date
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
Bjoern Schiessle 6bfd8bdf63 revert last changes 13 years ago
Bjoern Schiessle 0811d2e304 added another test, if unencrypted size and encrypted size are equal we can also assume that something is wrong 13 years ago
Bjoern Schiessle d3af7a9aa4 check if we are writing to user/files, otherwise skip encryption 13 years ago
Bjoern Schiessle 58196304b8 fix array key 13 years ago
Bjoern Schiessle 4151fd3ed9 try to fix unencrypted file size if it doesn't look plausible 13 years ago
Bjoern Schiessle 39d710e737 block file access if share keys are missing 13 years ago
Bjoern Schiessle 909af2b62e don't cache if the encryption is enabled, this can lead to problems during unit testing 13 years ago
Bjoern Schiessle 38e5da05af only encrypt file to users with encryption keys 13 years ago
Bjoern Schiessle 62b8c36a40 check if encryption app is enabled before trying to calculate file size 13 years ago
Bjoern Schiessle 663009f895 fix check if app is enabled 13 years ago
Bjoern Schiessle 4d2dfa98c0 check if key exists before reading it 13 years ago
Bjoern Schiessle 0b98427536 fix check if app is enabled 13 years ago
Bjoern Schiessle 71bbb2ea8b check if key exists before reading it 13 years ago
Bjoern Schiessle 96c27ead92 check if encryption app is enabled 13 years ago
Bjoern Schiessle b2dde14dbc coding style fixes 13 years ago
Bjoern Schiessle 93f4dec798 fix part file handling and real size calculation, this should also solve #4581 13 years ago
Bjoern Schiessle f6830e7462 check shares for the real file and not for the .part file 13 years ago
Bjoern Schiessle 404e36323a first check if a extension exists before comparing it 13 years ago
Bjoern Schiessle 597a3cf1ad handle part files correctly 13 years ago
Bjoern Schiessle 1558cb860c remove test code 13 years ago
Bjoern Schiessle fb462e83cc no longer enforce log out, but provide useful errors/warnings instead 13 years ago
Arthur Schiwon c01675de5d more is_resource checks before readdir 13 years ago
Bjoern Schiessle 3d49631b8d make sure that initial encryption also starts for a fresh installation 13 years ago
ringmaster 39f4538e0f This function doesn't cache anymore. Adjusted PHPDoc to suit. 13 years ago
ringmaster df7bfa4bf0 Don't cache the pkey, skip generation if the keyfile exists 13 years ago
Owen Winkler 9a263a500a Employ config option for OpenSSL config file, if provided. 13 years ago
Owen Winkler fb34f49913 Start a branch for easier OpenSSL configuration. 13 years ago
Bjoern Schiessle 5e508f1ccb improved documentation of the methods 13 years ago
Bjoern Schiessle bab63c22ee encryption error messages, distinguish between a re-enabled encryption app and a password change from outside 13 years ago
Bjoern Schiessle d7dca966a2 improved error messaging, initial commit 13 years ago
Andreas Fischer 83afb46205 Use __DIR__ instead of dirname(__FILE__). 13 years ago
Andreas Fischer 9753e44ac2 Do not use realpath() on includes. 13 years ago
Bjoern Schiessle 1be11bb03d don't change the etags if a file gets encrypted/decrypted to avoid that the sync client downloads all files again 13 years ago
kondou 9e8a6b704d Add _many_ newlines at the end of files 13 years ago
Bjoern Schiessle 7adfc27caf remove whitespaces and some leftover code from testing 13 years ago
Bjoern Schiessle 7b1067c2a0 change decryptUnknownKeyfile() to decryptKeyfile(), we always use openssl_seal 13 years ago
Bjoern Schiessle 0bab8935c9 preserve mtime if file gets encrypted/decrypted 13 years ago
Bjoern Schiessle b982868c14 fix array declaration 13 years ago
Bjoern Schiessle 5ba8d38b7f remove old comments, TODos, etc. 13 years ago
Thomas Müller c458e785a1 fixing typos and PHPDoc 13 years ago