186 Commits

Author SHA1 Message Date
562ad9ae31 resolvers 2021-10-06 11:57:23 +02:00
d791c0da03 models 2021-10-06 11:57:23 +02:00
8ab542a28a deleted inputs (now args) 2021-10-06 11:57:23 +02:00
32372fe4b5 enums 2021-10-06 11:57:23 +02:00
3ba38f09b7 args types 2021-10-06 11:57:23 +02:00
6ba5bc790e resolvers 2021-10-06 11:57:23 +02:00
cdd336cfbb Decay Model + Utils 2021-10-06 11:57:22 +02:00
e49b17f2ad removed group model 2021-10-06 11:57:22 +02:00
ab202824e1 UserTransaction Model 2021-10-06 11:57:22 +02:00
62a28f0a57 Transaction Model 2021-10-06 11:57:22 +02:00
00871b97da User model 2021-10-06 11:57:22 +02:00
ffb7334eae Balance Model 2021-10-06 11:57:22 +02:00
Moriz Wahl
592a095544 try to get the backend building again 2021-10-06 11:57:22 +02:00
Moriz Wahl
f0ddb3e3f9 get the tests working again (skipped) 2021-10-06 11:57:22 +02:00
einhornimmond
de15dac786 Update backend/src/util/decay.ts
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2021-10-06 11:57:21 +02:00
einhorn_b
db028d1d78 fixed decay and missing user data bugs 2021-10-06 11:57:21 +02:00
einhorn_b
f72164be13 change datatype for timestamps to string 2021-10-06 11:57:21 +02:00
einhorn_b
4e01d64126 fix linting 2021-10-06 11:57:18 +02:00
Einhornimmond
68fb3ec653 debugging stuff 2021-10-06 11:53:28 +02:00
Einhornimmond
68a3056177 fix what don't work 2021-10-06 11:53:27 +02:00
Einhornimmond
11d61dde2e implement listTransactions and neccessary changes for it 2021-10-06 11:53:25 +02:00
Einhornimmond
b02c38d635 work on implementing 2021-10-06 11:52:48 +02:00
Einhornimmond
a42fce5e1f add more typeorm models 2021-10-06 11:52:48 +02:00
Einhornimmond
aa0e84fbf6 linting and use db for db Models 2021-10-06 11:52:48 +02:00
Einhornimmond
7613db5060 listTransactions in apollo
;
2021-10-06 11:52:48 +02:00
Moriz Wahl
4ab08460a3 throw errors instead of returning them, define interface for jwt payload 2021-10-06 11:52:48 +02:00
Moriz Wahl
96def721ff refactor: Provide pubKey in context to avoid API calls 2021-10-06 11:52:48 +02:00
Moriz Wahl
c7a5d2456a Add coverage report 2021-10-06 11:52:48 +02:00
Moriz Wahl
cd2b6257f6 feat: Setup Unit Tests for Backend 2021-10-06 11:52:43 +02:00
Einhornimmond
92179fc558 change from datamapper to active pattern (we mix it now) 2021-10-06 11:51:41 +02:00
einhorn_b
e6c3974748 fix linting 2021-10-06 11:51:41 +02:00
einhorn_b
02ad383930 update login-server to return user object on user create 2021-10-06 11:51:41 +02:00
einhorn_b
1177c69217 save user on create user in community server db 2021-10-06 11:51:41 +02:00
einhornimmond
dfab363f35
Merge branch 'master' into bugfix_apollo 2021-09-24 16:51:05 +02:00
Dario Rekowski on RockPI
fb39441f41 fix for working alos with build 2021-09-24 14:48:05 +00:00
31c2bb3990
Merge pull request #894 from gradido/db_check_with_typeorm
Db check with typeorm
2021-09-24 16:18:51 +02:00
e092af22e3
removed some logic from index 2021-09-24 14:44:18 +02:00
66324fe1ca
fix connection error for case database not running 2021-09-24 14:42:07 +02:00
8326eaac95
removed dead code 2021-09-24 14:32:33 +02:00
255244fbec
have schema extern
have cors extern
have plugins exter
have context extern
2021-09-24 14:21:14 +02:00
4601c3df34
build schema in graphql folder not in index 2021-09-24 14:10:54 +02:00
91849b5130
externalize resolver import 2021-09-24 14:02:01 +02:00
d6dbc50c92
check db version with typeORM 2021-09-24 13:46:09 +02:00
Einhornimmond
2d1a0d8c4e now in the correct file 2021-09-24 13:08:01 +02:00
Einhornimmond
1f99be5eec exchange t for typeorm with db for db model.. it's more clear 2021-09-24 12:29:41 +02:00
Einhornimmond
1830b277f8 Merge branch 'master' into apollo_listGDTTransactions 2021-09-24 11:43:11 +02:00
einhornimmond
9f632399b7
Merge pull request #831 from gradido/apollo_updateBalance
Implement getBalance in Apollo
2021-09-24 11:42:23 +02:00
Moriz Wahl
f792d8e02b
Merge pull request #889 from gradido/hadnle-expired-jwt
feat: Redirect to Login when JWT has expired
2021-09-24 11:17:53 +02:00
Einhornimmond
1315c5e1b1 use gdt call direct 2021-09-24 09:45:52 +02:00
einhorn_b
c9e04d1e6f remove migration, update typeorm 2021-09-23 16:44:55 +02:00