182 Commits

Author SHA1 Message Date
einhornimmond
fc363a1ef1
check that amount in creation and transfer isn't negative 2021-03-17 18:43:19 +01:00
einhornimmond
b0d413c1e2
update docker for more efficiency build and allow cookie readed from js 2021-03-17 18:43:18 +01:00
einhornimmond
483d3dc444
add option for auto-sign in json request to able to use both versions 2021-03-17 18:43:18 +01:00
einhornimmond
55922753a7
Add auto-sign Transaction functionality 2021-03-17 18:43:18 +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
d3ea9d41bf
wait on signing transaction and show result 2021-03-17 18:36:49 +01:00
Dario
b2f0545f06 update code for ensuring session stay alive to prevent crash 2020-10-07 11:17:58 +02:00
Dario
a16ff6625f adding links to whitepaper on login page 2020-09-30 13:29:57 +02:00
Dario
daca50286d more logs and check task observer for other running password creation tasks 2020-09-29 09:07:55 +02:00
Dario
d54bdcafd0 more debug messages 2020-09-29 08:40:12 +02:00
Dario
d9132e1f98 more debug logs 2020-09-23 16:44:43 +02:00
Dario
4e553c81b6 more debug printf 2020-09-23 08:37:59 +02:00
Dario
2532d16f5d add more user login debug messages 2020-09-22 18:28:07 +02:00
Dario
ebf2cf79d6 found only some small things as possibility for hang 2020-09-22 16:20:16 +02:00
einhornimmond - MarkX
f4e55f78c1 update session management, hopefully at least report every session dead lock, maybe even prevent any session dead lock 2020-09-21 11:53:57 +02:00
Dario
de11450c90 send errors to community server from prepare transaction 2020-08-21 17:02:17 +02:00
Dario
946b951080 update email log, use not longer html string 2020-07-30 15:35:04 +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
c74f27b458 add logging every sended email and which email should be sended if email was enabled 2020-07-20 15:38:07 +02:00
Dario
3820fb947f !db Update!, add disabled field for user for disabling accounts, check field by login and don't login if user account is disabled 2020-07-16 13:19:59 +02:00
Dario
4e1b74ca9d ignore error by creating user direct, because it can be healed automaticly 2020-07-15 15:27:40 +02:00
Dario
af340f95de update logging to better nail down mysql errors 2020-07-15 13:45:50 +02:00
Dario
48d53626c2 remove skipping CheckEmailPage by some session states, because this don't work with current register process 2020-07-15 12:18:33 +02:00
Dario
92de466261 add profiling messages for password hash, if it last to long 2020-07-14 20:41:59 +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
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