93 Commits

Author SHA1 Message Date
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
Moriz Wahl
6811f45a1c feat: New JWT in Every Authenticated Response 2021-09-09 11:43:14 +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
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
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
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
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
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
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
Moriz Wahl
0371c911cb fix linting 2021-08-06 18:48:58 +02:00
Moriz Wahl
572abb9e3f transaction list query in graphql, include decayStartBlock in model, transactionId optional 2021-08-06 18:28:12 +02:00
einhornimmond
4d2eb5b216
Merge pull request #699 from gradido/apollo_community_calls
Apollo sendCoins via Login-Server
2021-08-06 10:43:57 +02:00
einhornimmond
57a1a39a80
Merge pull request #686 from gradido/apollo_gdt
Apollo gdt
2021-08-05 15:51:43 +02:00
einhornimmond
dbd509cfe9 login-server expects amount in GDD Cent form (10,00 GDD => 100000) 2021-08-05 15:50:20 +02:00
einhornimmond
afdf112a9c call createTransaction directly from login-server 2021-08-05 14:54:40 +02:00
einhornimmond
69cb870444 optimize 2021-08-05 14:31:17 +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
einhornimmond
46eb857629 fix 2021-08-03 15:14:13 +02:00
einhornimmond
3834871071 Merge remote-tracking branch 'origin/backend_setup' into apollo_gdt 2021-08-03 15:12:00 +02:00
einhornimmond
d2b4254015 fix bugs 2021-08-03 14:22:44 +02:00
Moriz Wahl
800e4e04fd remove eom directives 2021-08-03 13:59:22 +02:00
Moriz Wahl
628f0a541f sendCoins implemented 2021-08-03 13:35:44 +02:00
Moriz Wahl
68d46edcf6 transaction lists are working 2021-08-03 13:16:29 +02:00