199 Commits

Author SHA1 Message Date
Hannes Heine
53adaf49ee Change Query select 2021-11-24 13:51:45 +01:00
Hannes Heine
16aef73adc Addawait 2021-11-24 13:49:35 +01:00
Hannes Heine
1112b538ea Addawait to get the datas 2021-11-24 13:45:07 +01:00
Hannes Heine
00abbb4413 Add console log of query and id 2021-11-24 13:43:01 +01:00
Hannes Heine
cadec27c9a Reintroduced table name 2021-11-24 13:38:30 +01:00
Hannes Heine
db609d1d78 Change query to query bui. 2021-11-24 13:36:42 +01:00
Hannes Heine
7a27bf52bf Change query to query builder withdrew table name. 2021-11-24 13:35:31 +01:00
Hannes Heine
76b372fb64 Change query to query builder. to get many 2021-11-24 13:34:08 +01:00
Hannes Heine
6a152a8791 Change query to query builder. 2021-11-24 13:31:27 +01:00
Hannes Heine
1a0c0907c4 Corrected. 2021-11-24 13:09:30 +01:00
ogerly
b5baa9d883 Added PendingCreationRepository and added find all pending creations. 2021-11-24 12:29:49 +01:00
ogerly
367122fb1b Search db for transactions. 2021-11-24 12:08:38 +01:00
ogerly
ed5baeccc0 Implementation of the TransactionCreationRepository. 2021-11-24 11:46:12 +01:00
ogerly
c68386be85 Test log. 2021-11-24 11:27:22 +01:00
ogerly
4544d701fb Withdrew Promise 2021-11-24 11:23:21 +01:00
ogerly
0dcceb682e add function getUserCreations 2021-11-24 11:11:48 +01:00
ogerly
048d75f167 Added a default random value for the last three creations. 2021-11-24 11:09:53 +01:00
ogerly
cd12d621fe Methode to get user creations. 2021-11-24 10:51:40 +01:00
ogerly
5f8235c7af Added last todo before sending success. 2021-11-24 10:42:05 +01:00
ogerly
f3cd722e9f User creations logic in comments. 2021-11-24 10:41:34 +01:00
ogerly
c2c03d1032 implementation of createPendingCreation search for the state_user. 2021-11-24 10:40:49 +01:00
dc1715eea0
Merge branch 'master' into ADMINBEREICH-first-step 2021-11-24 08:50:54 +01:00
ogerly
52aa7e437e Added creation to useradmin model, adding call to apollo in backend. 2021-11-23 13:12:11 +01:00
ogerly
dc1cf1fbcb Implemented the graphql AdminResolver method getUsers. 2021-11-23 12:15:24 +01:00
ogerly
1697c69e8c WiP getUsers for Admin. 2021-11-23 11:20:50 +01:00
elweyn
8479975425 Since we don't make a request to the login_server we need to catch if user email has been activated. 2021-11-23 08:05:52 +01:00
635c7b6e51
Merge branch 'master' into bugfix_coinanimation_update_only_send_for_true 2021-11-22 23:48:53 +01:00
Hannes Heine
ed01bca12b
Update backend/src/graphql/resolver/UserResolver.ts 2021-11-22 23:35:02 +01:00
elweyn
fccc7b4434 Changed the Auto increment so that it is done after the rollback and not in the finally block. 2021-11-22 23:17:11 +01:00
6dab777005
use correct pubKey, use hex instead of buffer 2021-11-22 22:00:57 +01:00
Hannes Heine
1d9042ca4b
Update backend/src/graphql/resolver/UserResolver.ts
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2021-11-22 21:42:09 +01:00
0fd2110fa1
removed duplicate import 2021-11-22 16:06:48 +01:00
8eb5c74ba8
encode buffer to hex when decoding the jwt, not everytime we use it 2021-11-22 15:55:57 +01:00
0341ae0d13
Merge branch 'master' into login_call_unsecureLogin 2021-11-22 15:54:37 +01:00
elweyn
d8def24e0c Their was an error in the UserResolver due to a check undefined and false would fall out of the update change it to !== undefined. 2021-11-18 10:28:54 +01:00
68fc7bab1b
Merge branch 'master' into login_call_updateUserInfos 2021-11-17 17:02:35 +01:00
Moriz Wahl
be937680cc Merge branch 'master' into await-backaned-tests 2021-11-17 13:33:18 +01:00
415b9254e4
Merge branch 'login_call_getUserInfos' into login_call_updateUserInfos
# Conflicts:
#	backend/src/graphql/resolver/TransactionResolver.ts
2021-11-17 00:50:18 +01:00
f09c3b4964
replace implementation of getPublicKey to no longer require the sessionId. Furthermore the call now no longer calls getUserInfos on the login_server but just queries the database itself 2021-11-17 00:40:16 +01:00
540cbd0e1f
reimplement publisherId on updateUserInfos 2021-11-17 00:20:43 +01:00
4fccc19b68
missing import 2021-11-17 00:13:44 +01:00
f0bfe7a7a1
Merge branch 'apollo_jwt_withdrawSessionId' into login_call_updateUserInfos 2021-11-17 00:12:12 +01:00
c9f167d07b
Update backend/src/graphql/resolver/UserResolver.ts
Co-authored-by: Hannes Heine <heine.hannes@gmail.com>
2021-11-17 00:10:16 +01:00
eb06b9a528
Update backend/src/graphql/resolver/UserResolver.ts
Co-authored-by: Hannes Heine <heine.hannes@gmail.com>
2021-11-17 00:09:30 +01:00
1f5c740359
Merge branch 'master' into apollo_jwt_withdrawSessionId 2021-11-17 00:06:09 +01:00
elweyn
cbc6570d65 Encode doesn't need sessionId anymore. 2021-11-11 12:32:37 +01:00
elweyn
a73a36b971 Withdrew the JWT changes and store the Buffer again instead of the hex key. 2021-11-11 10:09:08 +01:00
elweyn
e97798d73c Withdrew comments. 2021-11-11 06:42:27 +01:00
elweyn
e976c6854d Adding hasElopage and publisherId logic, hasElopage is called and checks if in ElopageBuys their is a user with this email, if hasElopage and publisherId is filled store it in the user table. 2021-11-11 06:41:56 +01:00
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