247 Commits

Author SHA1 Message Date
Wolfgang Huß
ea5589a840 Add wallet link to transaction mail, first approach 2022-04-12 12:18:04 +02:00
Moriz Wahl
d7bec83d25 use Context interface in Transaction resolver 2022-04-11 16:22:32 +02:00
Moriz Wahl
69dae586d8 check that recipient user has activated account in send coins 2022-04-05 15:12:36 +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
a9ba92f67b
Transaction Resolver: transmit Redeem Link to calculateBalance 2022-03-31 12:32:35 +02:00
592e16e260
virtual decay transaction is based on full sum not including the link values 2022-03-31 12:09:00 +02:00
Moriz Wahl
0ab4f73f3b subtract the hold available amount from last transaction balance for virtual decay transaction 2022-03-30 15:10:36 +02:00
Moriz Wahl
90e6798a7d rename context.count to context.transactionCount 2022-03-29 16:10:06 +02:00
Moriz Wahl
27ad1d2e22 transaction list model contains balance, user balance resolver to create transacton list result 2022-03-29 01:54:13 +02:00
Moriz Wahl
e9e97549a7 rename right to GDT_BALANCE, rename query to gdtBalance, ensure gdtBalance is null when API call fails 2022-03-29 01:12:07 +02:00
Moriz Wahl
a26aaae71a Merge branch 'master' into refactor-balance-resolver 2022-03-29 01:03:52 +02:00
Moriz Wahl
30543942d8 check for valid min/max length of memeo before executing transaction 2022-03-24 14:36:16 +01:00
Moriz Wahl
a1ac6600b7 refactor resolvers to use balance resolver and model 2022-03-23 19:06:12 +01:00
Moriz Wahl
243058ee5a get GDT sum via GDT resolver 2022-03-23 18:18:07 +01:00
Moriz Wahl
9ed400f511 add sender email to transaction received email 2022-03-23 17:27:47 +01:00
Moriz Wahl
577ca00c46 refactor transaction list query, do not allow user id an only creations as args any more. this query only return the transactions of the logged in user 2022-03-17 10:46:29 +01:00
Moriz Wahl
b44ef71756 no double DB calls to get user from db in resolvers 2022-03-17 10:05:07 +01:00
Moriz Wahl
bb14c07747 sum of hold available and hold available decay is negative 2022-03-14 08:56:26 +01:00
Moriz Wahl
7f89fb5452 transactionList query includes the total count of the pending transaction links 2022-03-14 08:23:08 +01:00
Moriz Wahl
e79a583ee2 insert transactionLinkId in transaction made by redeemed link, update transaction link within commit transaction 2022-03-11 16:29:54 +01:00
Moriz Wahl
df7406b145 Merge branch 'master' into redeem-transaction-link-mutation 2022-03-11 15:25:24 +01:00
Moriz Wahl
13fe4300d2 extract transaction process in function 2022-03-11 15:19:01 +01:00
Moriz Wahl
4affd35a44
Update backend/src/graphql/resolver/TransactionResolver.ts
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2022-03-11 14:01:35 +01:00
Moriz Wahl
81cd858eb4 call transaction resolver to redeem transactoin link. Optional senderId parameter for sendCoins to redeem links 2022-03-11 13:47:04 +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
120ce948cd
Update backend/src/graphql/resolver/TransactionResolver.ts
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2022-03-11 10:38:37 +01:00
Moriz Wahl
df94fa8e37 improved query 2022-03-11 10:21:07 +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
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
0136a22f0c resolve relative paths in resolvers 2022-03-07 21:35:50 +01:00
Alexander Friedland
651bb725d9
Merge branch 'master' into adminarea-creation-transactionlist-show 2022-03-07 16:09:09 +01:00
ogerly
25b1a5a83e admin area creation transaction list 2022-03-06 11:52:29 +01:00
433000e536
allow sending to user without transactions 2022-03-06 10:50:14 +01:00
1840878513
write negative values in database when sending GDD 2022-03-04 13:39:23 +01:00
ca3c07b0d8
use forEach instead of for loop in transactions,
simplified code
2022-03-04 12:51:30 +01:00
e69437cb9f
include decay in balance 2022-03-04 12:48:38 +01:00
2ef0fd18fc
fix involvedUserIds calculation 2022-03-04 12:44:09 +01:00
29b1d44cdd
implement KISS on transaction list length - first page contains 26 instead of 25 transactions now due to virtual decay transaction 2022-03-04 12:41:10 +01:00
3af5ee13b9
properly return a result when querying an empty transaction list 2022-03-04 12:38:17 +01:00
b1e6f50f44
lint fix 2022-03-01 13:27:05 +01:00
5f0cb6dbfe
fixed sendcoins 2022-02-28 01:29:53 +01:00
003090ed6c
fix user query 2022-02-27 03:09:30 +01:00
b2288e1adc
missing comment 2022-02-26 17:21:00 +01:00
31c5f02344
lint fixes 2022-02-26 17:19:59 +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