122 Commits

Author SHA1 Message Date
04807bd225
corrected comment 2022-03-31 12:34:09 +02:00
fa7f2b9d87
calculateBalance: If we redeem a link, make sure we do not consider its amount as blocked when calculating the balance 2022-03-31 12:33:29 +02:00
761de3f636
corrected name of transaction link summary to differentiate between a link and the summary transaction 2022-03-19 10:43:17 +01:00
Moriz Wahl
e42c91f6e0 rename summary query 2022-03-11 11:07:15 +01:00
Moriz Wahl
80944978ac only one file for virtual transactions 2022-03-11 10:58:14 +01:00
Moriz Wahl
24a0c2d1e4 no calculation in virtual link transaction 2022-03-11 10:46:24 +01:00
Moriz Wahl
3aa3ead86e refactor transaction link sum query, add virtual transaction for transaction links to transaction list 2022-03-10 21:06:09 +01:00
Moriz Wahl
923b886baf create virtual transaction for transaction links 2022-03-10 21:04:36 +01:00
Moriz Wahl
3436253bbe transaction link repository, use raw query to get sum of hold available amount 2022-03-10 15:33:26 +01:00
Moriz Wahl
8107066d2b balance includes transactions to hold available, calculateBalance checks for pending transaction links 2022-03-09 18:18:22 +01:00
Moriz Wahl
9879c4550e path to models 2022-03-07 21:58:30 +01:00
8429d884c8
fix test 2022-03-04 13:10:55 +01:00
5f0cb6dbfe
fixed sendcoins 2022-02-28 01:29:53 +01:00
81b7a4915d
fix frontend decay 2022-02-27 13:08:44 +01:00
e988cf9371
defining precision in config seems to work properly afterall 2022-02-27 13:05:27 +01:00
64c01e8fee
missing file 2022-02-27 03:50:59 +01:00
371d7921fe
the decay values seems to have problems - maybe because its out of scope of numeric. Use string instead 2022-02-27 03:12:07 +01:00
9c27568f77
include decimal with precision definition 2022-02-27 03:09:18 +01:00
97b4e16f40
new graphql interface,
things build
2022-02-26 17:17:43 +01:00
7644bf1834
backend compiles 2022-02-26 03:42:20 +01:00
68d7d5e883
fix decay test 2022-02-16 11:51:32 +01:00
Alexander Friedland
912e35090a
Merge branch 'master' into static_decay_block 2022-02-16 11:51:01 +01:00
ee94c655ef
fix elopage buys not using repository but entity 2022-02-08 15:59:59 +01:00
elweyn
d502b3d052 yarn lint --fix. 2022-02-07 13:05:06 +01:00
ogerly
9d79e35f36 Refactor hasElopageBuys method to a utility method. 2022-02-07 10:34:54 +01:00
736310f5d5
fix build error - type errors 2022-02-02 19:48:20 +01:00
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
Moriz Wahl
b95eb902e9 move mailer functions into own folder 2022-01-12 09:54:34 +01:00
Moriz Wahl
055a9c9d80 try to test send verification email 2022-01-04 19:18:05 +01:00
Moriz Wahl
b7186209f1 sendAccountActivationEmail as imprted function 2022-01-04 18:37:59 +01:00
Moriz Wahl
3ef4d94aae feat: Test Send Email 2022-01-04 18:04:06 +01:00
61786d9e5d
another (unrelated) lint fix 2021-11-10 23:52:44 +01:00
4e118b65ee
- make sendEMails external (utils)
- replace fromHex from libsodium-wrapper
2021-11-06 00:57:05 +01:00
elweyn
557ccf5da3 Merge master into this branch, comment out the protobuf encryption module to see if the structure would work without it. 2021-10-22 14:55:06 +02:00
Einhornimmond
fedaa8d679 fix lint 2021-10-10 16:30:39 +02:00
Einhornimmond
79061d19f0 add test for increasing coverage 2021-10-10 16:23:01 +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
8911bf761c implement more of create send coin transaction 2021-10-06 20:07:50 +02:00
einhorn_b
6699b4d6eb first steps for send coins 2021-10-06 12:41:05 +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