1450 Commits

Author SHA1 Message Date
Moriz Wahl
263d0ab812
Merge branch 'master' into define-context-object 2022-04-12 19:45:19 +02:00
Moriz Wahl
51a95132c4
Merge branch 'master' into fix-elopage-status 2022-04-12 19:33:51 +02:00
Moriz Wahl
de6421201d use getUser helper to get moderator form context 2022-04-12 19:04:29 +02:00
87aed30cfd
good catch 2022-04-12 14:57:46 +02:00
Moriz Wahl
f752d8d045 type ExpressContext 2022-04-11 17:25:59 +02:00
Moriz Wahl
71d1701102 undo apollo log plugin hack 2022-04-11 16:31:21 +02:00
Moriz Wahl
902dce6390 Context interface in balance resolver 2022-04-11 16:24:38 +02:00
Moriz Wahl
d7bec83d25 use Context interface in Transaction resolver 2022-04-11 16:22:32 +02:00
Moriz Wahl
00bba07b11 define hack to pass already queried data to balance resolver 2022-04-11 16:22:09 +02:00
Moriz Wahl
6cc8410720 helper function to get user from context 2022-04-11 16:15:57 +02:00
Moriz Wahl
b0606424d4 Context interface in transaction link resolver 2022-04-11 16:08:39 +02:00
Moriz Wahl
71cb56db0e no unused lint instruction 2022-04-11 16:04:04 +02:00
Moriz Wahl
8900592b90 use Context interface in GDT resolver 2022-04-11 16:03:12 +02:00
Moriz Wahl
e430ceefa3 remove unused lint rule 2022-04-11 15:59:23 +02:00
Moriz Wahl
9a390c11db use Context interface in admin resolver 2022-04-11 15:57:59 +02:00
Moriz Wahl
4d09123b0e remove global no explicit any lint rule 2022-04-11 15:55:05 +02:00
Moriz Wahl
e183a9bde0 remove unused modules 2022-04-11 15:53:00 +02:00
Moriz Wahl
97ee572c3a Merge branch 'fix-elopage-status' into define-context-object 2022-04-11 15:50:52 +02:00
Moriz Wahl
57298a4d3a use Context interface in user resolver 2022-04-11 15:50:46 +02:00
Moriz Wahl
7ec35bbfb2 define context interface 2022-04-11 15:50:02 +02:00
Moriz Wahl
f57f67846e reconstruct context object 2022-04-11 14:58:00 +02:00
2826f970fb
Merge branch 'master' into frontend_decay_start_block_as_static 2022-04-07 13:02:06 +02:00
Moriz Wahl
01b615d9c1
Merge branch 'master' into fix-elopage-status 2022-04-07 12:27:40 +02:00
97b7ba9db0
Merge branch 'master' into jwt_duration_30m 2022-04-06 19:29:25 +02:00
bccc5d1ddb
backend remove startblock from balance object 2022-04-06 15:22:32 +02:00
Moriz Wahl
37122ee604
Merge branch 'master' into fix-elopage-status 2022-04-06 14:08:51 +02:00
Moriz Wahl
04774300d5
Merge branch 'master' into fix-sending-to-inactivated-user 2022-04-06 13:56:27 +02:00
Moriz Wahl
39e40f68ae
Merge branch 'master' into fix-elopage-status 2022-04-06 13:56:16 +02:00
0565c0c255
default value for JWT expire is 30m instead of 10m
Read value for JWT expire in `.env.template`
new config version v4
2022-04-06 13:55:49 +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
f3948b39be pass context object to hasElopage query 2022-04-05 14:50:45 +02:00
Moriz Wahl
affd8a6859 update browser list for unit tests 2022-04-05 14:50:08 +02:00
79013f3aa8
fixed config dist version to properly reflect new password reset url 2022-04-05 12:22:52 +02:00
f76a85baee
v1.7.1 2022-04-01 15:04:02 +02:00
Moriz Wahl
8923cda341 fix copy and paste mess 2022-04-01 14:35:42 +02:00
Moriz Wahl
cc86a81117 round decay values in transaction graphql model 2022-04-01 14:13:49 +02:00
Moriz Wahl
ff04cf0cb5 do not round in decay model as it is used in utils on creation 2022-04-01 14:08:55 +02:00
Moriz Wahl
a32e0a9d43 round down decay amount and balance 2022-04-01 14:04:01 +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
Moriz Wahl
cbd7cc6ab9
Merge branch 'master' into fix_send_more_then_half_via_link 2022-03-31 21:54:55 +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
Moriz Wahl
06dcb2380e seed creations months ago from now 2022-03-31 13:48:15 +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
a9ba92f67b
Transaction Resolver: transmit Redeem Link to calculateBalance 2022-03-31 12:32:35 +02:00
9ed00edc52
code order & comment 2022-03-31 12:14:38 +02:00