184 Commits

Author SHA1 Message Date
einhorn_b
c96ac68eca remove package-lock.json from git repository 2021-09-23 14:02:10 +02:00
einhorn_b
1ac53d0d03 add missing npm to package.json 2021-09-23 13:46:11 +02:00
einhorn_b
97fc638775 remove unnecessary call 2021-09-23 13:39:41 +02:00
Einhornimmond
3102082dbe fix merge conflict 2021-09-21 12:37:27 +02:00
Einhornimmond
8b3653016b get balance working with apollo 2021-09-20 18:42:04 +02:00
Moriz Wahl
62142710f8 send coins as Mutations 2021-09-20 12:25:04 +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
0c7bb13b4e change state_users table to user and rename colums in camelCase, adapt 2021-09-17 21:13:14 +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
Moriz Wahl
4cdbea7f99 feat: Release 1.4.0 2021-09-16 15:53:25 +02:00
elweyn
29bd6620d0 Default KlickTipp configuration empty, possibility to set a develop mode on klickTipp so that we get a correct user even without response. 2021-09-16 15:42:47 +02:00
elweyn
7084bcb9c0 Changed the error handling when klicktipp not accessible. 2021-09-16 14:10:57 +02:00
elweyn
52529e65f3 Removed klicktipp-api repository. 2021-09-16 13:09:06 +02:00
elweyn
d5317c258a Refactor of method name, adding Authorized in before response Type, KlickTipp check on Subscribed instead of not Unsubscribed. 2021-09-16 13:01:53 +02:00
elweyn
26bd34f2b4 Refactoring of names. 2021-09-16 12:17:39 +02:00
elweyn
551869f767 Withdrew unused import, withdrew console.log. 2021-09-16 11:14:02 +02:00
elweyn
cd6af30258 SpellCheck was wrong success instead of sucess. 2021-09-16 11:13:30 +02:00
elweyn
a73a32e733 A user must be logged in for every klicktipp communication. 2021-09-16 11:13:00 +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
elweyn
e931b394ec Withdrew the console.log entries. 2021-09-15 08:13:16 +02:00
elweyn
4e1d5524a4 If method don't give back right information then throws an Error. 2021-09-14 14:12:18 +02:00
elweyn
9d62777a0e Changed the KlickTipp API so that the function that need a KlickTipp User logged in sets it in the header. 2021-09-14 14:11:31 +02:00
elweyn
8e3f942bcb Added a Resolver for KlickTipp so we get UserInformations, TagInformations and Subscribing over this. 2021-09-14 14:07:58 +02:00
Moriz Wahl
4f4cdb6fe5 remove email from decoding 2021-09-13 13:39:55 +02:00
Moriz Wahl
12a5f58376 no token in login response. token is inside response header 2021-09-13 13:30:53 +02:00
Moriz Wahl
02a962c83b JWT is updated in frontend from response header 2021-09-13 13:04:09 +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
8c729c1723
Merge pull request #777 from gradido/jwt-setup
feat: JSON Web Token for Authentification
2021-09-01 14:50:07 +02:00
einhornimmond
eda7a19ee1
Merge pull request #782 from gradido/fix_apollo_gdt
Fix missing gdt id
2021-08-31 13:00:49 +02:00
einhornimmond
9b2afaafe5 add id to gdt entry 2021-08-31 12:11:17 +02:00
Moriz Wahl
c7d044b532 middleware for register a new user 2021-08-30 19:46:20 +02:00
Moriz Wahl
0146da98d5 return in try block on success 2021-08-30 18:48:46 +02:00
Moriz Wahl
277ce515f9 balance query without sessionID 2021-08-30 18:46:03 +02:00
Moriz Wahl
73aaada658 validation of sessionID via API call to login server 2021-08-30 18:40:28 +02:00
Moriz Wahl
02a70c5acf Gdt List without session ID 2021-08-30 17:47:59 +02:00
Moriz Wahl
60fa39c7e8 send coins without sessionId 2021-08-30 17:20:24 +02:00
elweyn
0ef60ab92c Merge mutation from master. 2021-08-30 17:17:31 +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
b2cdc69716 sessionId from JWT into context for resolver 2021-08-30 16:29:11 +02:00