157 Commits

Author SHA1 Message Date
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
364efbe495 add further testing before try to write into tb to fix this error with not matching parameter count 2020-07-14 13:49:01 +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
3d6aac8ebe add updated field to email verification in db to able to prevent repeated email sending wit verification code 2020-07-10 10:23:35 +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
89195fbcd7 mini changes hoping don't crash on staging anymore 2020-07-05 11:09:18 +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
326b5805d8 add tryLoadPassphraseUserBackup function to choose between multiple user backups if more exist throw errors 2020-06-30 12:39:05 +02:00
Dario
045971e919 add function to detect correct mnemonic type if incorrect type in db (for example after db update) 2020-06-30 12:28:02 +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
beb869460b Finish updating CheckTransactionPage with new layout from christine 2020-06-29 14:23:55 +02:00
Dario
b35cab768c add get name with email as one string from new user model to prevent double code 2020-06-29 14:23:19 +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
9e5bc624d9 Use controller::User in TransactionTransfer 2020-06-26 11:45:44 +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
b2dc53c899 add mnemonic type field to user_backups to allow using multiple mnemonic word lists with some same words 2020-06-24 14:41:01 +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
c0c88b6838 fix to bugs with verification email resend 2020-06-18 08:09:37 +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
1573b1f70c add email for verification with duration in text (for example: you have registered for 10 days), 2020-06-15 17:23:44 +02:00
Dario
5f9ec065af Add resend_count in db Model and refactor mutex use in model/table/ModelBase until no I hadn't expected concurrency in running db functions 2020-06-15 15:42:20 +02:00
Dario
582aba5bcd remove not used class, add header and footer for christines design, start changing checkTransaction in new design 2020-06-11 17:56:20 +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
c44184f823 update code to work together for setting new password and update encrypted privkey and password hash in db 2020-06-08 18:30:29 +02:00
Dario
d08ab28394 update doc 2020-06-08 13:40:48 +02:00
Dario
1aeb506cd3 make it more modular 2020-06-01 19:13:38 +02:00
Dario
f01cf73302 Update texte password reset, remove check new password is same, release session after password reset 2020-05-29 21:02:34 +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
64657c96a0 update check transaction page for added target date in creation transaction 2020-05-06 10:46:51 +02:00
Dario
6f1a4617f6 adding reset transactions in session if someone forget signing his transaction 2020-05-04 11:58:38 +02:00
Dario
9f9bc0c1ef adding admin user password reset 2020-04-22 15:05:08 +02:00
Dario
12a8a34656 little fix 2020-04-13 17:09:12 +02:00
Dario
d1003e2c61 adding jsonCreateUser and email for register accounts throw old elopage transaction 2020-04-13 13:30:11 +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
4be461f5a7 adding not finished passphrasedTransaction, now maded on community server, added get user pubkey via json request 2020-04-03 16:01:36 +02:00
Dario
9c067ae8d8 add page for creating new passphrase and transfer funds 2020-03-29 19:11:28 +02:00
Dario
458c99958f Admin Email Verification resend via json hinzugefügt 2020-03-19 22:08:14 +01:00
Dario
0e0d4bd336 fix auto correction if privkey was saved wrong, working while passphrase is saved unencrpyted 2020-03-18 09:24:33 +01:00
Dario
dd5379fef6 important change to get register working again 2020-03-16 17:50:56 +01:00