Commit Graph

55 Commits (49038545f8d658b75865413444aebddedf178dec)

Author SHA1 Message Date
Bjoern Schiessle 9c4b8ae54c fix typo in comment 13 years ago
Bjoern Schiessle c5cb4206f5 [wip] make encryption work with public gallery sharing 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 77429c28fd rename fixPartialFilePath() to stripPartialFileExtension(), this name describes better what the method actually does 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
Bjoern Schiessle eb348b776c set the init status to "NOT_INITIALIZED" if the encryption app gets enabled 13 years ago
Bjoern Schiessle 39d710e737 block file access if share keys are missing 13 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
Florin Peter 3b850a2524 reformat code added and changed phpdoc 13 years ago
Florin Peter 42b4963dd0 moved enable and disable recovery to Helper class for unit tests 13 years ago
Björn Schießle 9d1e60325c allow admin to recover users files in case of password lost 13 years ago
Florin Peter ec2e193a44 removed unused code 13 years ago
Florin Peter a4e9e2fc79 added post_deleteUser hook for cleanup public key 13 years ago
Florin Peter b2d021b2a5 added post_createUser hook 13 years ago
Björn Schießle a6ef25ba08 use preShare hook only to check if all pub keys are available and the postShare hook to finaly update the shareKeys if the file was shared successfully 13 years ago
Florin Peter e25aa78caf added helper class and moved hook registration to it 13 years ago