115 Commits

Author SHA1 Message Date
Dario
941d66fc6a fix compile error (missing }) 2020-09-10 11:11:37 +02:00
Dario
db8c694723 updates for hedera transactions and saving crypto keys also clear un-encrypted 2020-09-09 19:34:00 +02:00
Dario
43f7038af7 hedera query get balance now working =D 2020-09-03 12:43:32 +02:00
Dario
72b4389be4 use protobuf from inside grpc, even for parsing protofiles for easy version switch, fix html error 2020-09-02 14:06:23 +02:00
Dario
3e3bd6d012 fix error only occuring in linux 2020-09-01 11:47:19 +02:00
Dario
c968a58cfa add some missing files 2020-09-01 11:36:50 +02:00
Dario
43dd1a5082 update grpc to new version, update some things they don't work for create the first query to hedera 2020-09-01 11:06:20 +02:00
Dario
71edd964ac compose hedera query to get balance, update CMakeLists.txt for adding missing libs for grpc 2020-08-31 19:55:56 +02:00
Dario
5b899366d9 add function to crypto key controller to get directly a KeyPairHedera 2020-08-31 15:05:54 +02:00
Dario
41d8649d7a show and add node server and hedera accounts, model, controller and page 2020-08-31 11:23:58 +02:00
Dario
48b46e6345 save entry of hedera account in db 2020-08-28 18:06:29 +02:00
Dario
e3cea5968b add controller classes for new db tables crypto_keys and hedera_ids, update model tables for them 2020-08-28 13:14:33 +02:00
Dario
fc11929fc1 Add hedera account page files and classes needed for this 2020-08-28 12:37:13 +02:00
Dario
f817374c46 add groups page for listing and add groups (only for admins) 2020-08-27 08:35:18 +02:00
Dario
db87207bc0 Rename table models to singular 2020-08-25 18:02:08 +02:00
Dario
5d3fbcfdfa rename AuthenticatedEncryption to SecretKeyCryptography 2020-08-25 16:17:28 +02:00
Dario via Pythagoras
b3e12aaaa7 skip email verification resend for now 2020-08-07 09:56:46 +02:00
einhornimmond - MarkX
7049642bc8 add shared mutex to model::table::User to better support changes from community server 2020-07-30 15:08:58 +02:00
Dario
105b884699 enable back check account if email verification can resend by startup 2020-07-20 16:57:29 +02:00
Dario
197ea6f78b disable email verification resend for now 2020-07-17 13:44:48 +02:00
Dario
8b8f1e84b8 get earlier code changes to work 2020-07-15 14:46:44 +02:00
Dario
da72e46a15 fix syntax error 2020-07-15 14:28:17 +02:00
Dario
1b3cd9701c try to recover priv key from user backup in SigningTransaction if private key is missing 2020-07-15 14:26:29 +02:00
Dario
ddaad461d1 react on missing public key by login, if private key exist 2020-07-14 19:14:21 +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
89195fbcd7 mini changes hoping don't crash on staging anymore 2020-07-05 11:09:18 +02:00
Dario
064fe5fbad update function to get clearer debug picture 2020-07-05 10:50:46 +02:00
Dario
a897ac6c8b fix problems with new user in new register process 2020-07-02 19:02: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
07ff9be91e add balance also to new User, for replacing old user model in CheckTransactionPage 2020-06-29 14:22:01 +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
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
b6c2cc94a5 fix crash with sessions with empty user, skip elopage webhook logic 2020-06-20 12:47:46 +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
5439aaf259 prevent crash in login if user hasn't privkey 2020-06-15 18:12:13 +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
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
e7624382ae use KeyPairEd25519 and AuthenticatedEncryption in controller/User 2020-06-08 13:42:37 +02:00
Dario
7518832bf4 Add GoogleTest via conan and first tests 2020-06-02 12:54:55 +02:00
Dario
8b9614cb00 finish format of email in admin user password reset 2020-04-22 15:40:40 +02:00
Dario
9f9bc0c1ef adding admin user password reset 2020-04-22 15:05:08 +02:00