397 Commits

Author SHA1 Message Date
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
ogerly
4de667067d fix lint 2021-10-26 17:50:59 +02:00
ogerly
9a7bc97777 change getCustomRepository to createUser function 2021-10-26 17:37:28 +02: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
elweyn
3fdb503ea6 Merge branch 'master' into 804-elopage-registration 2021-10-12 17:08:06 +02:00
einhornimmond
29de8e224f
Merge pull request #960 from gradido/add_autocorrect_keys
Add autocorrect keys
2021-10-12 17:00:36 +02:00
elweyn
d3198b037e Fixe model for User and adding hasElopage to User Object. 2021-10-12 16:50:07 +02:00
einhornimmond
3ecf960ab6 fix lint 2021-10-12 15:56:02 +02:00
einhornimmond
0640eb24d5 remove copy user disabled field 2021-10-12 15:42:48 +02:00
einhornimmond
1486476571 add auto correct keys to apollo, copy also disabled field of user 2021-10-12 15:24:14 +02:00
einhornimmond
909c7e3a9a fix lint 2021-10-10 15:31:28 +02:00
einhornimmond
546d371139 check always for hasElopage
- put check into async task to let it run at the same time as the password check
2021-10-10 15:25:01 +02:00
einhornimmond
93532004d5 add option in login call to check also for elopage account 2021-10-08 10:26:09 +02:00
einhornimmond
e6c8fbed59 fix linting 2021-10-07 16:32:17 +02:00
einhornimmond
cc8a4fcd5b add api call to check is user has an elopage account to login-server and to apollo-server 2021-10-07 16:08:14 +02:00
einhornimmond
a5bb75f702 fix linting 2021-10-06 12:35:25 +02:00
einhornimmond
a531b4671f Merge branch 'master' into apollo_saveUserOnCreate 2021-10-06 12:15:20 +02:00
3487a2e232
renamed args folder to singular arg 2021-10-04 10:04:58 +02:00
084561e5fb
resolver in singulat folder 2021-10-03 11:13:21 +02:00