27 Commits

Author SHA1 Message Date
378bae4323
made decay block static
removed duplicate implementation of decay calculation
2022-02-02 19:48:20 +01:00
5bc23a4857
remove typeorm from backend project and reference the one installed in database. This way the default connection of the enteties can be used - this was not possible before since the connection waa created in the backend typeorm, but the entities are defined in the database installation.
We now remove the typeorm from backend and rely solely on the database typeorm. We now can use both activeRecord and dataMapper pattern.
2022-02-01 04:14:54 +01:00
Einhornimmond
fedaa8d679 fix lint 2021-10-10 16:30:39 +02:00
Einhornimmond
ecb0fe287d fix test and more checks 2021-10-10 16:17:10 +02:00
Einhornimmond
f6cba24c00 merge with master 2021-10-10 15:44:11 +02:00
Einhornimmond
865403e0fa fix double transaction entry 2021-10-10 13:24:50 +02:00
Einhornimmond
bfa0e9481c fix problems with transaction 2021-10-08 18:20:52 +02:00
einhornimmond
a531b4671f Merge branch 'master' into apollo_saveUserOnCreate 2021-10-06 12:15:20 +02:00
cdd336cfbb Decay Model + Utils 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
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
Moriz Wahl
cd2b6257f6 feat: Setup Unit Tests for Backend 2021-10-06 11:52:43 +02:00
a673a5f11e
missing change 2021-10-03 13:41:20 +02:00
42f66221a1
Decay Model + Utils 2021-10-01 20:15:39 +02:00
einhornimmond
d4d19b7801
Update backend/src/util/decay.ts
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2021-09-30 18:52:12 +02:00
einhorn_b
bf8bd24abf fixed decay and missing user data bugs 2021-09-29 14:37:26 +02:00
einhorn_b
dba6a1b8d6 change datatype for timestamps to string 2021-09-29 12:02:16 +02:00
Einhornimmond
aa2565d294 debugging stuff 2021-09-28 13:11:22 +02:00
Einhornimmond
0d33202946 fix what don't work 2021-09-27 19:52:46 +02:00
Einhornimmond
06c80ebdfd implement listTransactions and neccessary changes for it 2021-09-27 18:57:36 +02:00
Einhornimmond
8b3653016b get balance working with apollo 2021-09-20 18:42:04 +02:00