228 Commits

Author SHA1 Message Date
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
3fef891073
fixed rounding error on send amount 2022-02-24 23:27:00 +01:00
0bf40ecdf0
lint fix 2022-02-24 19:27:03 +01:00
89cb88e84e
trunc balance before writing to db 2022-02-24 13:55:20 +01:00
f6f8572a82
removed duplicate calculation, removed unnecessary checks therefore 2022-02-24 13:32:30 +01:00
c5486156cc
remove duplicate Transaction[] variable 2022-02-24 12:56:34 +01:00
32d5eacd13
lint fixes 2022-02-24 00:52:54 +01:00
3a35cbfee5
fixed backend for new migration
properly write linked Transactions when sendCoin
2022-02-24 00:41:44 +01:00
950beeaebc
last spelling 2022-02-23 23:33:55 +01:00
70c70f45d4
sendCoins and listTransactions are now properly working 2022-02-23 23:23:51 +01:00
0a1bcac450
remove more unused code 2022-02-23 22:58:22 +01:00
4ada6ea182
Merge branch 'master' into combine_transaction_tables2 2022-02-23 22:35:57 +01:00
c113e75edd
removed unused include 2022-02-23 22:35:31 +01:00
b02076fa49
combined functions 2022-02-23 22:20:20 +01:00
6f36906723
removed unnecessary code 2022-02-23 22:17:56 +01:00
f10029441c
refactor as transaction type as switch 2022-02-23 22:01:43 +01:00
7a837be7b2
backend is building 2022-02-23 21:46:40 +01:00
Alexander Friedland
b4d756d941
Merge branch 'master' into test-softdeleted 2022-02-23 13:02:33 +01:00
a054c0ce26
disallow lint warnings on backend, fix warning 2022-02-23 00:41:25 +01:00
ogerly
510ee8a8df yarn lint --fix 2022-02-22 20:23:57 +01:00