474 Commits

Author SHA1 Message Date
elweyn
1baf756c08 HasElopage has been called, search loginUser catch instead of if no user, context get's the pubKey at the end of the login call instead of the start. 2021-11-11 06:31:00 +01:00
elweyn
7655a647fe Implementation of the LoginElopageBuys repository. 2021-11-11 06:15:21 +01:00
elweyn
3b79bae488 Merge branch 'master' into login_call_unsecureLogin 2021-11-11 06:06:27 +01:00
1865e42f83
just some cleanups, mostly to trigger another build 2021-11-10 18:20:47 +01:00
248622f3be
hasElopage is now implemented on apollo
- requires authorization now
2021-11-10 18:20:47 +01:00
elweyn
5d886a9360 LoginUserRepository import has droped out put it in again. 2021-11-10 11:28:35 +01:00
elweyn
fabcbca5a5 Merge master in this branch. 2021-11-10 10:38:15 +01:00
elweyn
6a85017406 PubKey decoded has to be cast to buffer and back to hex string, changed the coinanimation. 2021-11-10 10:30:35 +01:00
elweyn
a16b7ad47a Changed the decode of context.pubKey so that it is stored in a buffer and transformed after in a Hex string. 2021-11-10 10:28:31 +01:00
elweyn
74cc9522c2 Added method to find User with their email & find User with a PubKey Buffer. 2021-11-10 10:27:05 +01:00
elweyn
30ef78ddde Withdrew sessionId from the jwt token. 2021-11-10 10:25:41 +01:00
elweyn
75d7ff3905 Withdrew the comments. 2021-11-10 06:15:58 +01:00
elweyn
4af3c6ed8c Filling the returned model so that we get the same result as before. 2021-11-10 06:14:38 +01:00
elweyn
8730bc898c We don't use the login_server to fill this model anymore. 2021-11-10 06:14:02 +01:00
elweyn
e8b9765a34 Withdrew the check on the sessionId when is authorized is called. 2021-11-10 06:13:29 +01:00
elweyn
8a61f73c56 Added the load or store of the state_users. 2021-11-10 06:01:25 +01:00
elweyn
5400967142 Get LoginUser from the DB, checkPassword. 2021-11-08 14:27:07 +01:00
elweyn
f2d8d400ac Add libsodium. 2021-11-08 14:26:32 +01:00
elweyn
195ea5ad89 Merge login_call_createUser to implementation of login. 2021-11-08 13:51:25 +01:00
elweyn
a375e6ecc9 WIP: Change the login so that the unsecureLogin logic is implemented. 2021-11-08 13:27:32 +01:00
elweyn
01707674d2 Added LoginUserRepository to get login_users. 2021-11-08 13:27:03 +01:00
348075ab38
Update backend/src/graphql/resolver/UserResolver.ts
Co-authored-by: Hannes Heine <heine.hannes@gmail.com>
2021-11-06 18:55:16 +01:00
d73728bf86
Update backend/src/graphql/resolver/UserResolver.ts
Co-authored-by: Hannes Heine <heine.hannes@gmail.com>
2021-11-06 18:55:04 +01:00
70fa4f49d0
cleanup 2021-11-06 02:10:35 +01:00
0f89cf1c96
send emails to activate account 2021-11-06 01:56:47 +01:00
9894b4a91f
fixed email for transactions 2021-11-06 01:56:30 +01:00
4e118b65ee
- make sendEMails external (utils)
- replace fromHex from libsodium-wrapper
2021-11-06 00:57:05 +01:00
95265fe989
removed @types/libsodium-wrapper package 2021-11-06 00:55:27 +01:00
f915bd4013
removed unused includes 2021-11-06 00:45:36 +01:00
854ce12d62
removed dangerous code 2021-11-06 00:41:22 +01:00
d15b9a7e3c
- do not send error email
- return after finally block due to unknown behaviour?!
2021-11-06 00:41:22 +01:00
elweyn
45e82c1aff
Merge branch 'master' into login_call_createUser 2021-11-06 00:41:21 +01:00
5791124c28
- test results
- minor fixes for test instructions
2021-11-05 23:36:43 +01:00
2573ee8c9b
reintroduce autoincrement fix for transactions 2021-11-05 12:48:33 +01:00
88f0a14b61
more test instructions 2021-11-05 02:39:17 +01:00
6bc0915a9a
finish test 2021-11-05 02:23:52 +01:00
e68227f8e1
test protocol 2021-11-05 02:11:14 +01:00
0990799d74
Merge remote-tracking branch 'origin/bugfix-saveUserEntity-getCustomRepository' into apollo_createTransactions_without_signation 2021-11-05 00:29:14 +01:00
8f2506eeca
ordered transaction commit 2021-11-05 00:08:15 +01:00
95d6884b0b
cleanup 2021-11-04 23:56:52 +01:00
elweyn
97d08c95a3 Merge branch 'master' into login_call_createUser 2021-11-04 14:15:08 +01:00
elweyn
66e4d86ae0 Merge branch 'master' into apollo_createTransactions_without_signation 2021-11-04 14:13:41 +01:00
Moriz Wahl
ee12eb15a4 Merge branch 'master' into apollo_createTransactions_without_signation 2021-11-04 13:57:19 +01:00
Moriz Wahl
ddaf149450 Merge branch 'master' into bugfix-saveUserEntity-getCustomRepository 2021-11-04 13:54:02 +01:00
bf6d6a50de
Merge pull request #1037 from gradido/login_call_checkUsername
login_call_check_username
2021-11-04 13:53:49 +01:00
elweyn
c7f0e2440b Change so that the new entity is recognized by the queryRunner. 2021-11-04 13:50:09 +01:00
elweyn
8bfc538824 Added random-bigint library for verificationCode, store EmailOptIn data in DB. 2021-11-04 12:57:28 +01:00
elweyn
137d683351 Update and adding some packages.updated: typeorm, imported: sodium-native, node-gyp-build & module-alias. 2021-11-04 12:20:09 +01:00
elweyn
dcdcb1c977 Added rollback of auto increment index for state_users, login_users & login_user_backups 2021-11-04 12:17:30 +01:00
elweyn
1142f7359a Change the commit strategy so that the query runner store the commits and roll them back if their is an error. 2021-11-04 10:50:47 +01:00