Commit Graph

67 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
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
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 7f2bdb0e97 typo fixed 12 years ago
Bjoern Schiessle 7f3b178d73 some small changes according to the review comments 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 c5cb4206f5 [wip] make encryption work with public gallery sharing 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 77429c28fd rename fixPartialFilePath() to stripPartialFileExtension(), this name describes better what the method actually does 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
Bjoern Schiessle eb348b776c set the init status to "NOT_INITIALIZED" if the encryption app gets enabled 12 years ago
Bjoern Schiessle 39d710e737 block file access if share keys are missing 12 years ago
Bjoern Schiessle fb462e83cc no longer enforce log out, but provide useful errors/warnings instead 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 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
Bjoern Schiessle b39d2d1938 more error messages which might be useful for the user to debug his server config 13 years ago
Bjoern Schiessle 7aeb0068be also write error message to the log 13 years ago
Bjoern Schiessle cfbdad9cdb catch broken server config and disable encryption app. 13 years ago
Bjoern Schiessle a212c98125 handle error if we can't handle the given path 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
Björn Schießle 87063918f2 remove wrong closing bracket 13 years ago
Björn Schießle 9575c2f37c added helper function to escape glob pattern 13 years ago
Thomas Müller a7f2563990 typo 13 years ago
Björn Schießle d5c4854708 cast result to bool 13 years ago
Björn Schießle 16a719173f add correct php version 13 years ago
Björn Schießle adcee5b695 check php version, the encryption app needs php >= 5.3.3 13 years ago
Björn Schießle 2e6ebe1ab4 fix function documentation 13 years ago
Björn Schießle c4aef89278 introduce pre-disable-app hook and use it for the encryption app to reset migration status if the app was disabled 13 years ago
Björn Schießle d7a9852f7b use pre_setPassword hook to update the encryption keys if the back-end doesn't support password change; improved output to let the admin know what happened 13 years ago
Florin Peter 14ac4fab05 better handling for http post 13 years ago
Florin Peter ef97481a0d changed redirect handling 13 years ago
Florin Peter dc8bcf0688 reformat code 13 years ago
Björn Schießle 471d2b732c introduce decryptPrivateKey() method which also checks if the result is a valid private key to avoid additional checks on various places 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 6f9e425939 fix for losing private key while being logged in and accessing a public link 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
Florin Peter 5d32e214b7 reformat code 13 years ago
Björn Schießle f56802a437 no use the recoveryPassword var instead of accessing the POST array 13 years ago
Florin Peter 6c8de5ae6d fixes after review from @DeepDiver1975 13 years ago
Florin Peter 4bf840e2ca cleanup unused code optimize tests 13 years ago