91 Commits

Author SHA1 Message Date
Dario
4e1b74ca9d ignore error by creating user direct, because it can be healed automaticly 2020-07-15 15:27:40 +02:00
Dario
c37eff474a replace double call of password hashing for old user model with new function, copy values from new user 2020-07-14 20:13:46 +02:00
Dario
42c6c5c82e add assert to find null pointer exception in checkEmail 2020-07-14 19:33:44 +02:00
Dario
8d6c2ada49 Convert to utf8-bom to let gettext working correctly 2020-07-14 14:02:40 +02:00
Dario
31e00d9081 bring everything together to complete direct register :) 2020-07-13 12:23:41 +02:00
Dario
875632e892 update session manager get session by email verification code to work with better new email verification object 2020-07-10 11:22:52 +02:00
Dario
8801d91ee7 check more detailed for email verification code resend, fix double send on register, fix double send in case of multiple email verification codes for user in db 2020-07-10 09:47:31 +02:00
Dario
9ade4f71cb Merge branch 'register_direct' of ssh://**REDACTED**/~/_C++/gradido_login_server into register_direct 2020-07-02 19:03:01 +02:00
Dario
a897ac6c8b fix problems with new user in new register process 2020-07-02 19:02:10 +02:00
MarkX
5feb8eef0c code update 2020-06-30 13:07:10 +02:00
Dario
cb5ab57158 set every new mnemonic to English mnemonic because german contains to many "bad" words 2020-06-30 10:50:26 +02:00
Dario
1cf5d8fb2b fix case if user has invalid saved private key, now reencrpyt take place and sign is working 2020-06-26 11:46:24 +02:00
Dario
30ba3d7f78 use controller::User for login in Session, for direct register without showing passphrase direct and using new KeyPairEd25519, AuthenticatedEncryption and Passphrase classes 2020-06-25 15:58:05 +02:00
Dario
5934f7c69e rework login and setPassword, fix bugs, update to use AuthenticatedEncryption as Poco::AutoPtr 2020-06-24 14:17:25 +02:00
Dario
a0f88c548b Fix errors with login without pubkey 2020-06-20 11:26:04 +02:00
Dario
939e1dd9d0 update session generate keys, move call into function 2020-06-18 07:48:46 +02:00
Dario
57cada7252 Handle new direct register after check email, instead forward to show passphrase, only success message and link to dashboard 2020-06-16 11:34:43 +02:00
Dario
f414ca8ddb add function to search for verification emails to resend at startup and by register direct 2020-06-15 17:37:02 +02:00
Dario
c925984ded add create and save user backup and email verification code for new register direct 2020-06-10 17:07:55 +02:00
Dario
c009a12f45 add createUserDirect and missing functions for that in related classes 2020-06-09 20:34:27 +02:00
Dario
7d826fcacd use new user in login 2020-06-09 12:14:51 +02:00
Dario
2d78b30f62 Add check if password exist in login, to show correct error message if account isn't activated yet 2020-05-19 09:22:34 +02:00
Dario
773bc116c8 fix missing namespace 2020-05-12 10:51:49 +02:00
Dario
9eee922a16 adding server config variable to config if server is test (without ssl), staging or production, disable ssl force by login cookie in test server builds 2020-05-12 10:48:13 +02:00
Dario
6f1a4617f6 adding reset transactions in session if someone forget signing his transaction 2020-05-04 11:58:38 +02:00
Dario
d9769d95a1 update reset password, creating email verification code also for user without memorized passphrase 2020-04-07 12:14:23 +02:00
Dario
dd5379fef6 important change to get register working again 2020-03-16 17:50:56 +01:00
Dario
d76946aa15 change because lost of data possible 2020-03-16 12:24:00 +01:00
Dario
c9d1a0f268 update Session::detectSessionState and User::sign with temp code using as readable text saved passphrase for check and retrieve privkey if decrypt failed 2020-03-16 11:15:04 +01:00
Dario
3a36059519 fix passphrase error 2020-02-28 13:27:17 +01:00
Dario
95f5460112 adding passphrase generation check 2020-02-27 12:06:57 +01:00
Dario
a7a1758db8 new passphrase generate code 2020-02-26 16:39:49 +01:00
Dario
8a0bafcffc update german passphrase, adding texte for passphrase page, update style and translation system 2020-02-25 13:31:51 +01:00
Dario
35d762541e add admin register 2020-01-27 14:02:28 +01:00
Dario
3b21cad114 fix bug with pubkeys and new accounts 2020-01-22 15:43:54 +01:00
Dario
1c5159930e debugging, fixing 2020-01-15 16:33:19 +01:00
Dario
28900e04fe adding code for loading user role 2020-01-15 09:16:59 +01:00
Dario
beb91e1296 check password encryption in process in login 2020-01-10 17:46:20 +01:00
Dario
33927473ad implement task observer 2020-01-10 17:29:31 +01:00
Dario
c2c4071180 remove errors, restructure 2020-01-08 14:49:58 +01:00
Dario
5842f21e89 adding missing files, reset Password check if already an email was send and show link for support email 2020-01-06 17:12:22 +01:00
Dario
abef0b1ef1 update cmake for using multiprocessor build with visual studio, work on reset password and new db access classes 2020-01-06 15:12:18 +01:00
Dario
27bf842e6c update email content type, using new email system for register and errors 2020-01-03 17:19:58 +01:00
Dario
feb3067f3a adding new email system, work in progress 2020-01-02 12:47:32 +01:00
Dario
a8c4acd81d restructure 2019-12-30 17:17:55 +01:00
Dario
f890cac00d update model structure 2019-12-30 13:12:23 +01:00
Dario
2910d85729 auto recover from corrupted mnemonic words by calling User::generateNewPassphrase 2019-12-13 14:17:45 +01:00
Dario
eb1391f003 adding json request (currently not used), removing cakephp cookie by login, adding no email option in properties for testing 2019-12-13 11:11:50 +01:00
Dario
f849abc386 find missing unlock 2019-12-07 08:45:04 +01:00
Dario
75038be86a update threading lock to find dead lock trigger 2019-12-06 15:29:46 +01:00