Commit Graph

674 Commits (b2e13229fa6d31116168caee053694bf515a4ba6)

Author SHA1 Message Date
Björn Schießle 77944cf7b8 fix typo in var name 13 years ago
Björn Schießle c78a90fd54 use number of manipulated rows as idicator if it was possible to enter the migration mode 13 years ago
Björn Schießle 3ec6b19cdf use constants for different migration status 13 years ago
Björn Schießle 5fafd55108 make sure that only one process can enter the migration mode 13 years ago
Jörn Friedrich Dreyer 124f34422c add missing backticks all over the place 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 46e5e9bd73 cleanup unused method legacyKeyRecryptKeyfile 13 years ago
Florin Peter a134ffcf2c code optimized and cleaned up unused vars 13 years ago
Florin Peter e9d1ea712c allow the user to login but do not allow upload and show error message on the web 13 years ago
Florin Peter 2e3bfdb12c check if the decrypted private key is valid on login and on read/write files 13 years ago
Florin Peter 96ef926161 normalize path to prevent following split to fail 13 years ago
Florin Peter 8e324aad38 fix re-encrypt legacy files 13 years ago
Florin Peter 986e9dd362 use legacyDecrypt to decrypt key file like the previous files_encryption 13 years ago
Florin Peter eaa4f92275 added our own file extension .part will not work here if we use file_get_contents so we used our own extension '.etmp' 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 d265264542 fix for share folder on external storage 13 years ago
Björn Schießle b44192f366 check list of users with access to the file from the bottom to the top. This way we avoid calling getFileInfo() on every dir, which creates a lot of overhead, especially for external storages 13 years ago
Florin Peter efd629462e changes after review 13 years ago
Florin Peter 71a532fc4d fixed if fopen returns false typically on external storage 13 years ago
Florin Peter 4b4b447e2a fixed missing convert to new session handler 13 years ago
Florin Peter 6ae7bde788 fixed encryption session namespace to avoid problems 13 years ago
Florin Peter 0041711fe3 fix for undefined index 13 years ago
Florin Peter 6f9e425939 fix for losing private key while being logged in and accessing a public link 13 years ago
Robin Appelman 9c99048429 fix syntax error 13 years ago
Robin Appelman 44f9af5a7f Use the new session wrapper 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
Björn Schießle 4c05259ccf legacyBlockDecryprt() needs to be public 13 years ago
Björn Schießle df22a7c495 make legacyDecrypt() private als always call legacyBlockDecrypt() from other classes 13 years ago
Björn Schießle 8b35578833 fix migration from old to new encryption 13 years ago
Florin Peter 5d32e214b7 reformat code 13 years ago
Björn Schießle 1a3f7891ea remove unused varaibles 13 years ago
Florin Peter 89f0c8f39d added check by numRows() 13 years ago
Florin Peter 788c5940f0 fixed error rising from fetchRow 13 years ago
Florin Peter 9a6cd89a69 added OC_DB::isError and logging 13 years ago
Björn Schießle f56802a437 no use the recoveryPassword var instead of accessing the POST array 13 years ago
Björn Schießle 5ce4149e75 fix first time encryption after app was enabled 13 years ago
Florin Peter 6c8de5ae6d fixes after review from @DeepDiver1975 13 years ago
Björn Schießle 7b07168c46 code clean up; nicer solution to solve the public link share problem if a user is logged in 13 years ago
Björn Schießle a9ebf2aabe fix public link share if a user is logged in 13 years ago
Florin Peter c6722581f9 fix pgsql error 13 years ago
Florin Peter afbfa742d7 improved tests 13 years ago
Florin Peter 9ca9a22c6a fixed finding encrypted files in subfolders and removed unused code 13 years ago
Florin Peter 1deeec93b7 fixed postFileSize 13 years ago
Björn Schießle 9d324db054 fix path to 3rdparty apps 13 years ago
Björn Schießle 4c27c7e199 fix path, needs to be relative to data/ 13 years ago