89 Commits

Author SHA1 Message Date
Claus-Peter Hübner
35da60c572 change User to create a gradidoID as uuidv4 during createUser 2022-08-09 23:36:00 +02:00
Wolfgang Huß
6abb399ab9 Removed UserSetting from backend 2022-06-07 11:33:47 +02:00
Wolfgang Huß
35b47844b7 Rename convertObjValuesToArray to objectValuesToArray 2022-05-23 07:02:32 +02:00
Wolfgang Huß
cde9b171af Writing resolver tests 2022-05-19 10:45:02 +02:00
Moriz Wahl
1d48c12573
Merge branch 'master' into fix-decay-rounding-with-transaction-links 2022-04-25 16:04:38 +02:00
Moriz Wahl
a4ae002693 round balance down before subtracting hold available amount 2022-04-25 16:01:26 +02:00
Moriz Wahl
fa6fbe38c8 User.isAdmin as nullable Date 2022-04-21 11:05:51 +02:00
Moriz Wahl
e3a807ed95
Merge branch 'master' into eliminate-server-user-table 2022-04-20 13:08:43 +02:00
Moriz Wahl
324de93814 update/remove comments 2022-04-20 12:51:34 +02:00
Moriz Wahl
5c6aa5d4ce new db version for isAdmin in user db model 2022-04-20 11:20:28 +02:00
Moriz Wahl
55ff0ee964 add roundedDecay field to Decay Model. This is used to calibrate the decay since the last transaction 2022-04-12 22:52:51 +02:00
Moriz Wahl
15e3aeb7e6 round virtual transaction link transaction 2022-04-01 13:57:25 +02:00
Moriz Wahl
447fdb6057
Merge branch 'master' into fix_decay 2022-03-31 22:30:52 +02:00
Moriz Wahl
681d34b1dc rounding in virtual decay transaction, pass hold available amount to virtual decay creation 2022-03-31 22:17:36 +02:00
3ef0074d33
free not only the link value but also the decay amount withheld 2022-03-31 21:47:55 +02:00
ef675980a8
lint fixes 2022-03-31 21:04:16 +02:00
b53aef90f8
Update backend/src/util/validate.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2022-03-31 20:52:59 +02:00
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