76 Commits

Author SHA1 Message Date
einhornimmond - MarkX
7d7e2c5441
merge updated production code with grpc code 2021-03-17 20:39:06 +01:00
Dario
3263b0ed64
Iroha-ed25519, old user-implementation and key pair removed. libSodium seems to be compatible with Hedera now after all 2021-03-17 20:36:22 +01:00
Dario
d0b4a5f2c2
Add email_hash to user db, model::table::user and a json interface to search for publickey by email hash 2021-03-17 20:09:16 +01:00
Dario via Pythagoras
b8b289f793
changes in cmake, working in progess 2021-03-17 20:04:32 +01:00
Dario
3df0d461b1
fix errors, now consensus get topic info work :) 2021-03-17 19:57:52 +01:00
Dario
e8612bbb49
query for consensus get topic info, currently a invalid account id error is happen 2021-03-17 19:57:52 +01:00
Dario
a41ea1a6ae
update Hedera Topics Page to show existing topics 2021-03-17 19:57:52 +01:00
Dario
5182953d0f
fix mysql error, cast enum to int before using in poco data use 2021-03-17 19:57:52 +01:00
Dario
995c693252
Update code for sending transaction over hedera 2021-03-17 19:57:52 +01:00
Dario
5862a61d59
change encryption state of crypto_keys 2021-03-17 19:51:52 +01:00
Dario
155f394500
fix compile error (missing }) 2021-03-17 19:51:52 +01:00
Dario
266ef2c92a
updates for hedera transactions and saving crypto keys also clear un-encrypted 2021-03-17 19:51:51 +01:00
Dario
73d10f7773
hedera query get balance now working =D 2021-03-17 19:51:51 +01:00
Dario
2130cea286
use protobuf from inside grpc, even for parsing protofiles for easy version switch, fix html error 2021-03-17 19:42:13 +01:00
Dario
82605d89df
fix error only occuring in linux 2021-03-17 19:42:13 +01:00
Dario
761155fa8f
add some missing files 2021-03-17 19:42:13 +01:00
Dario
2881d33fed
update grpc to new version, update some things they don't work for create the first query to hedera 2021-03-17 19:42:13 +01:00
Dario
2e842fab0d
compose hedera query to get balance, update CMakeLists.txt for adding missing libs for grpc 2021-03-17 19:42:13 +01:00
Dario
a06cfebd60
add function to crypto key controller to get directly a KeyPairHedera 2021-03-17 19:41:05 +01:00
Dario
3d4f0d7b64
show and add node server and hedera accounts, model, controller and page 2021-03-17 19:41:05 +01:00
Dario
87431e8a70
save entry of hedera account in db 2021-03-17 19:41:05 +01:00
Dario
d8766f8d2d
add controller classes for new db tables crypto_keys and hedera_ids, update model tables for them 2021-03-17 19:41:05 +01:00
Dario
71837dbe61
Add hedera account page files and classes needed for this 2021-03-17 19:38:25 +01:00
Dario
cb86ed9422
add groups page for listing and add groups (only for admins) 2021-03-17 19:38:25 +01:00
Dario
03cce00710
Rename table models to singular 2021-03-17 19:38:25 +01:00
Dario
99846b0c61
rename AuthenticatedEncryption to SecretKeyCryptography 2021-03-17 19:31:45 +01:00
einhornimmond
3ed94b8a9c
add unsecure options, add unsecure login, update create user to use it in unsecure mode with password 2021-03-17 18:36:49 +01: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