47 Commits

Author SHA1 Message Date
d391aa3491
resolvers 2021-10-01 21:59:34 +02:00
Moriz Wahl
d86a3dee42 refactor: Provide pubKey in context to avoid API calls 2021-09-27 19:04:27 +02:00
Moriz Wahl
5ded9f60be createUser as Mutation 2021-09-20 12:02:17 +02:00
Moriz Wahl
e6d386c598 refactor: Queries to Mutations 2021-09-20 11:22:00 +02:00
einhornimmond
c8386e588b fix linting 2021-09-17 13:46:45 +02:00
einhornimmond
8ecd7a634b add publisher id to backend 2021-09-17 13:36:13 +02:00
elweyn
cd6af30258 SpellCheck was wrong success instead of sucess. 2021-09-16 11:13:30 +02:00
elweyn
ad1aa402f4 KlickTipp subscribe and unsubscribe, merge master. 2021-09-16 10:38:08 +02:00
elweyn
e60c38819f WIP: Adding newsletterState to the user when login is called over a middleware. 2021-09-15 09:59:07 +02:00
Moriz Wahl
12a5f58376 no token in login response. token is inside response header 2021-09-13 13:30:53 +02:00
elweyn
c5a65da94c Implementation of signup to Klicktipp. 2021-09-10 11:45:41 +02:00
elweyn
7f91e5b937 Added a query checkEmail, that sends the data to the login_server, added a middleware call to the query that calls the KlicktippAPI after checkEmail. 2021-09-09 11:47:57 +02:00
Moriz Wahl
6811f45a1c feat: New JWT in Every Authenticated Response 2021-09-09 11:43:14 +02:00
elweyn
492bfd32d4 Renamed KlicktippAPI to KlicktippConnector, KlicktippController that contains the logic behind the KlicktippConnector calls, change import in auth of loginAPI to new name HttpRequest. 2021-09-08 14:18:25 +02:00
Hannes Heine
935dc295de
Merge branch 'master' into apollo-clicktipp-connector 2021-09-06 10:46:42 +02:00
elweyn
021952831f Merge master in the branch. 2021-09-05 10:45:50 +02:00
elweyn
18cf5ac1b4 Merge of the middleware change to the branch 2021-09-05 10:40:36 +02:00
elweyn
b376c5639f Added the language to the graphql create query, Implemented a KlicktippController that has every methode to communicate with Klicktipp, added a Klicktipp config block. 2021-09-05 10:38:44 +02:00
Moriz Wahl
c7d044b532 middleware for register a new user 2021-08-30 19:46:20 +02:00
Moriz Wahl
5ff9842c0b change user data without sessionId 2021-08-30 16:54:37 +02:00
Moriz Wahl
6ae5f6e23d logout without sessionId 2021-08-30 16:39:10 +02:00
Moriz Wahl
d1cd8fe724 login response is JWT as string 2021-08-24 17:17:23 +02:00
elweyn
c4345489c5 Klicktipp has two single optin apikeys one for en and one for de so we need to get the information of the language in the creation query. 2021-08-23 11:25:53 +02:00
elweyn
037bf1815d Added some variables to the config file, translation of the KlicktippAPI to a ts file, send a API call to Klicktipp on creation method. 2021-08-20 11:15:32 +02:00
Moriz Wahl
8ad64d85a0 remove remains of GetUserInfo 2021-08-04 11:58:15 +02:00
Moriz Wahl
403826a6d9 final changes before merge 2021-08-04 11:51:50 +02:00
Moriz Wahl
729aa02035 fix update user infos 2021-08-03 18:54:31 +02:00
Moriz Wahl
800e4e04fd remove eom directives 2021-08-03 13:59:22 +02:00
Moriz Wahl
68d46edcf6 transaction lists are working 2021-08-03 13:16:29 +02:00
Hannes Heine
f757cd2b76 Withdrew state and errors from the UpdateUserInfosResponse object. 2021-08-03 10:47:21 +02:00
Hannes Heine
99a37ddb0a Implementation of the Response classes, and logic for the update user prozess. 2021-08-03 10:28:49 +02:00
Hannes Heine
aa22d9154d Changed structure of the models, now they are not all in one file. 2021-08-02 16:03:33 +02:00
Moriz Wahl
f77364e053 merge changes from HH 2021-08-02 15:46:40 +02:00
Moriz Wahl
2a258319e7 changePAssword query 2021-08-02 14:13:49 +02:00
Hannes Heine
bb5b70d5f6 Implementation of the Arguments and the Response classes for the loginAPIs. Implementation of the used API calls in Apollo. 2021-07-29 17:34:07 +02:00
Moriz Wahl
9e15575855 api calls for sendEmail and loginViaEmailVerificationCode 2021-07-21 16:45:59 +02:00
Moriz Wahl
2ab92d1a53 send email for password reset 2021-07-14 20:22:15 +02:00
Moriz Wahl
ae4edf4605 clean up, use inputs 2021-07-13 19:18:17 +02:00
Moriz Wahl
a2f932f040 fix linting, I need to learn more TS 2021-07-13 18:44:04 +02:00
Moriz Wahl
8443888e96 login resolver returns data that the frontend could use without major changes 2021-07-13 18:34:50 +02:00
Moriz Wahl
b7cb158369 logs for debug 2021-07-13 16:26:08 +02:00
e1596ad78b
switched to apollo 2021-07-02 10:49:08 +02:00
81afd9d78f
jwt thoughts and fixes 2021-06-29 13:07:04 +02:00
fd54febd24
started login functionality & graphql schema 2021-06-29 12:27:02 +02:00
05be9a79d5
implement config options for graphiql & port
separate graphiql from graphql interface
disabled api calls for user & group - we are not yet that far
ignore .env, adjust .env.dist accordingly
2021-06-29 12:25:41 +02:00
einhornimmond
8e96aa02df
try to login user 2021-06-29 12:25:40 +02:00
einhornimmond
9cd14d1304
add User Model and Resolver 2021-06-29 12:25:38 +02:00