109 Commits

Author SHA1 Message Date
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
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
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
Moriz Wahl
7eec6faace authorization with JWT seems to work 2021-08-26 22:49:33 +02:00
Moriz Wahl
6eea07d669 Merge branch 'master' into jwt-setup 2021-08-26 13:54:36 +02:00
elweyn
2e85c84cb5 Changed Keys. 2021-08-25 08:40:39 +02:00
996202a6bd
if the old migration table is present selecting fileName will result in an SQL error 2021-08-24 17:56:29 +02:00
Moriz Wahl
088f61c6ac remove model for LoginResponse 2021-08-24 17:18:19 +02:00
Moriz Wahl
d1cd8fe724 login response is JWT as string 2021-08-24 17:17:23 +02:00
41482aab1a
Merge pull request #770 from gradido/database_migrations
database_migrations
2021-08-23 17:04:15 +02:00
elweyn
e749db1a65 Merge branch 'master' into apollo-clicktipp-connector 2021-08-23 14:40:32 +02:00
65fdc75a1f
database version check backend,
connect "singleton" for mysql
docker-compose backend depends on mariadb and restarts till the correct database version is found
2021-08-23 14:03:02 +02:00
8cf8cc0751
added dotenv package requirement
removed typeorm package + orm config file
added mysql2 package
new config options for the database
cleaned .env.dist
2021-08-23 13:59:00 +02:00
elweyn
b3c33674d7 Changed the loginAPI name to HttpRequest since it only has two methods apiPost and apiGet. 2021-08-23 11:52:51 +02:00
elweyn
332729b361 Generic values for the klicktipp user and password. 2021-08-23 11:31:58 +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
89064e750d
updated changelog & backend package.json 2021-08-20 16:59:02 +02:00
ogerly
a507f250c5 change default value of communty url 2021-08-20 14:00:19 +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
1571a8ba9c remove transactionId field 2021-08-16 18:25:02 +02:00
Moriz Wahl
3a40b5104f gdt transaction list is working 2021-08-16 18:23:38 +02:00
Moriz Wahl
6bf2c286a9 another try to get GDT transactions working 2021-08-16 18:11:09 +02:00
Moriz Wahl
b633c7006c try to get gdt transactionlist working 2021-08-16 17:36:10 +02:00
elweyn
594030eb9a Changes to the graphql query and the datas needed for the gdtTransactions. 2021-08-16 16:13:18 +02:00
Hannes Heine
a1697f1b79 Withdrew change that destroyed the gdd transaction list. Changed the Gdtinputs to Int instead of Number, Changed the test description to the reviewed fixes. 2021-08-16 12:30:35 +02:00
Hannes Heine
f93e62e412 Withdrew the community gdt call in apollo server and client definitions. 2021-08-13 14:52:07 +02:00
Hannes Heine
8b28177f11 Withdrew console.log 2021-08-12 21:30:24 +02:00
Hannes Heine
d82eb9f081 Merged master into apollo-client branch. Withdrew the communityAPI call for the gdtTransactionList and replaced it with the apollo query. 2021-08-12 21:00:31 +02:00