65 Commits

Author SHA1 Message Date
dc8091b60b
lint fix 2021-11-10 23:50:58 +01:00
8b0c1feb3e
change password and reencrypt private key when doing so. 2021-11-10 23:47:37 +01:00
7205eb2fae
transaction for coinanimation 2021-11-10 20:34:14 +01:00
f797017c9a
have language check for changing language 2021-11-10 20:23:47 +01:00
4ffa2b4ee1
we will not implement disable here - it does not make sense that an user disables himself 2021-11-10 20:18:49 +01:00
fe7d7dc5f8
implemented most of updateUserInfos on Apollo
also removed publisherId from updateUserInfos since this is now part of the login call.
2021-11-10 20:18:49 +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
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
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
8bfc538824 Added random-bigint library for verificationCode, store EmailOptIn data in DB. 2021-11-04 12:57:28 +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
2bd63985b2
externalize login server secrets, now configurable 2021-11-04 02:18:19 +01:00
ab64185275
test results 2021-11-03 21:36:47 +01:00
3fcedaec41
encrypt private key 2021-11-03 20:52:30 +01:00
elweyn
f7f0d98219 Optimise code, withdrew loop and integrated the logic in the second loop. 2021-11-03 09:41:57 +01:00
02ce432dc5
lint, removed console, removed todo 2021-11-03 05:08:05 +01:00
86fbe1d11c
generate email hash 2021-11-03 04:59:25 +01:00
8ed4ade3fe
finished todo 2021-11-03 04:44:42 +01:00
2381c3dd7a
generate password hash 2021-11-03 04:39:57 +01:00
30455fd220
missing todo 2021-11-03 03:08:53 +01:00
ff0388c82c
typo 2021-11-03 02:57:25 +01:00
d4e0815d00
cleaned the whole thing 2021-11-03 02:51:34 +01:00
5736d3ba0b
removed bigint-conversion,
fixed keygeneration to be aligned 100% with login_server
trailing space on passphrase
bigint to hash conversion
2021-11-03 02:08:10 +01:00
2473f450c3
- require sodium because else problems occur
- fix key generation
2021-11-03 00:51:55 +01:00
7a36d97835
lint fixes,
disabled console lint, removed email todo since its logged - should be adequat
2021-11-02 21:17:00 +01:00
elweyn
20c440c258 Changed the save methods used on entities to repository save entity methods. 2021-11-02 17:21:57 +01:00
2a764eef3b
optimization: additional check for passphrase to actually have enought words, various other stuff 2021-11-01 00:16:40 +01:00
d4dd8e5e21
optimization: always save passphrase 2021-11-01 00:12:09 +01:00
c4df818456
optimization: dont assign unused variable 2021-11-01 00:10:39 +01:00
c2ffc9b5f4
todo 2021-11-01 00:10:02 +01:00
d642bff683
optimization: save private key always 2021-11-01 00:08:53 +01:00
a9e16708a4
implemented:
- PassphraseGenerate
- KeyPairEd25519Create
- generateKeys
for createUser in order to generate the privateKeys
(unoptimized)
2021-10-31 23:59:39 +01:00
77d89d55db
implemented create user in apollo
- Pubkey generation still missing
2021-10-31 04:59:07 +01:00
472391a8d2
corrected typescript type (not graphql) 2021-10-31 02:13:29 +01:00
9540ab3208
reduced checkUsername response to a boolean 2021-10-31 02:01:02 +01:00
af2a77c30f
implemented checkUsername resolver 2021-10-31 02:01:02 +01:00
dd21918b0b
corrected all entity imports 2021-10-18 15:38:42 +02:00
einhornimmond
72b45ce5b3 move in correct branch 2021-10-15 11:49:58 +02:00
einhornimmond
33796181d6 update first name, last name and username in community server db on change 2021-10-15 11:40:25 +02:00
Moriz Wahl
96564394d8
Update backend/src/graphql/resolver/UserResolver.ts
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2021-10-13 20:02:25 +02:00
Moriz Wahl
0e75826b28
Update backend/src/graphql/resolver/UserResolver.ts
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2021-10-13 20:02:13 +02:00
elweyn
58182d73c6 Added the publisherId to the login & createUser calls, adjusted the tests to the new code. 2021-10-13 13:26:46 +02:00
elweyn
5a14161284 Adding the publisherId to the login call and that it stores it to the user profile. 2021-10-13 12:07:23 +02:00