391 Commits

Author SHA1 Message Date
MarkX
5feb8eef0c code update 2020-06-30 13:07:10 +02:00
Dario
e15c4fd4e0 Merge branch 'register_direct' of ssh://**REDACTED**/~/_C++/gradido_login_server into register_direct 2020-06-30 12:40:43 +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
60885ae99b add tryLoadPassphraseUserBackup function to choose between multiple user backups if more exist throw errors 2020-06-30 12:29:15 +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
07ff9be91e add balance also to new User, for replacing old user model in CheckTransactionPage 2020-06-29 14:22:01 +02:00
Dario
ed0aa38813 replace hard coded support email with admin receiver from server config 2020-06-29 14:04:42 +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
ecae855fc0 Update pages for using depracted getOldPassphrase function from session, or use new Passphrase class 2020-06-25 15:58:55 +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
9f010cc5df use controller::User in RepairDefectPassphrase 2020-06-25 12:06:46 +02:00
Dario
75c5b4c063 doc 2020-06-25 12:06:00 +02:00
Dario
7a9e32912b fix header to work with Poco::AutoPtr 2020-06-25 12:05:44 +02:00
Dario
371d02a800 Use controller::User instead of old User Model in SigningTransaction and add some needed functions for that in other objects 2020-06-25 09:59:19 +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
39e85a959e fix compile errors with AuthenticatedEncryption as Poco::AutoPtr 2020-06-24 14:15:48 +02:00
Dario
b8e93e8142 change AuthenticatedEncryption to use auto ptr, if password will be calculated (changed password) and use to decrpyt it could be lead to an error 2020-06-24 10:34:00 +02:00
Dario
337bf554f5 use only one implementation of decryption, call from all input parameter variants via inline functions 2020-06-24 10:20:10 +02:00
Dario
dcfed9bb12 add compare function with private key as parameter for comparing private keys in controller::user::login to skip calculating public key from private key 2020-06-24 10:18:30 +02:00
Dario
910e2ac5e9 Prevent calling login page by them self, also if it was called by / 2020-06-24 08:19:13 +02:00
Dario
8b4b5f6fc7 add missing files 2020-06-21 10:13:51 +02:00
Dario
b6c2cc94a5 fix crash with sessions with empty user, skip elopage webhook logic 2020-06-20 12:47:46 +02:00
Dario
b4c0d6b062 clean up things from old register process 2020-06-20 12:21:07 +02:00
Dario
a0f88c548b Fix errors with login without pubkey 2020-06-20 11:26:04 +02:00
Dario
3188b03868 clean for direct register not needed code 2020-06-18 08:09:59 +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
5439aaf259 prevent crash in login if user hasn't privkey 2020-06-15 18:12:13 +02:00
Dario
fc91ba219e Merge branch 'master' of ssh://**REDACTED**/~/_C++/gradido_login_server 2020-06-15 17:37:17 +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 via Pythagoras
0c8b0333a1 important! add default value 2020-06-15 15:06:54 +02:00
Dario via Pythagoras
7c186ad1e6 Add field to count how often verification email was send 2020-06-15 15:05:35 +02:00
Dario via Pythagoras
4f04a98740 add field for new diret register process 2020-06-15 14:21:28 +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
fc526934bf exclude generated code for hedera protobuf files, because there are many and we don't really need them all, only the Consensus Stuff 2020-06-11 12:56:42 +02:00
Dario
2cb7c27bf9 Merge branch 'master' of ssh://**REDACTED**/~/_C++/gradido_login_server 2020-06-10 17:08:05 +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 via Pythagoras
3d071f3517 Merge branch 'master' of ssh://**REDACTED**/~/_C++/gradido_login_server 2020-06-10 16:54:15 +02:00
Dario via Pythagoras
95a892c760 add db tables as sql file via skeema 2020-06-10 16:53:48 +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
2078705a80 fix typo, add controller/TestUser 2020-06-09 10:11:38 +02:00