96 Commits

Author SHA1 Message Date
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
a344011403
lint fix 2022-02-21 13:02:15 +01:00
bf64de06b1
reverse is destructing 2022-02-21 13:00:20 +01:00
314a1b1ed4
add todo 2022-02-21 12:08:37 +01:00
d715fd9c2f
also set user.id as involved User on a creation 2022-02-21 01:49:53 +01:00
acc49581cb
more refactors, fixed some todos and simplified things 2022-02-21 01:16:15 +01:00
2d0d02c7f6
lots of refacoting in TransactionResolver 2022-02-21 01:01:57 +01:00
9574af9278
removed balance & transaction repository since its no longer needed 2022-02-21 00:38:39 +01:00
e1034cb1fd
fixed data conversion error on sendCoins 2022-02-21 00:18:08 +01:00
70a0a2664b
properly use js array operators (find) 2022-02-20 13:21:12 +01:00
0c15bed74e
backend is buildable 2022-02-20 04:46:36 +01:00
8eaed23af4
transactionResolver
- remove unnecessary function
- use of the enity model directly
- corrected spelling
- show specific error when sending to a deleted user
2022-02-18 12:47:33 +01:00
0683ff1999
fixed backend deletedAt instead of disabled 2022-02-17 10:53:49 +01:00
a37b479158
fixed sendCoins 2022-02-16 12:29:16 +01:00
Alexander Friedland
912e35090a
Merge branch 'master' into static_decay_block 2022-02-16 11:51:01 +01:00
Moriz Wahl
58ee714e17 allow gdtSum to be null 2022-02-16 09:05:42 +01:00
Moriz Wahl
22c408f633 fix: Catch GDT Server Errors 2022-02-14 14:34:43 +01:00
ogerly
5319f6de1e remove string 'recipiant not known' to 'recipiant not known' 2022-02-11 12:10:00 +01:00
a334c916fd
fixed business logic with only one user 2022-02-03 21:35:15 +01:00
7baf05cf14
corrected field pubKey rename 2022-02-03 21:35:15 +01:00
ab38a66c84
Update backend/src/graphql/resolver/TransactionResolver.ts 2022-02-03 00:48:15 +01:00
bec09fc7f4
Update backend/src/graphql/resolver/TransactionResolver.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
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
07299299a7
remove explicit write on removed column blockchainTypeId
removed test result comment from code
2022-02-02 17:18:28 +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
a6bcd5d796
Merge branch 'master' into import_production_data 2022-01-25 13:57:47 +01:00
ogerly
c51758e597 remove division / 100 for GDT 2022-01-25 10:38:47 +01:00
707d4ea489
removed console logs 2022-01-25 00:49:54 +01:00
1110a6fdef
minor changes + console logs for sending to debug the stage2 instance 2022-01-25 00:49:54 +01:00
Moriz Wahl
ce9d4b2ca8 extract sendTransactionReceivedEmail 2022-01-12 12:05:44 +01:00
Moriz Wahl
c6863d6e64 sendAccountActivationEmail in separate file 2022-01-12 11:02:49 +01:00
Moriz Wahl
b95eb902e9 move mailer functions into own folder 2022-01-12 09:54:34 +01:00
elweyn
09a1b05ca0 Backend gave the gdtSum with cents include in the number, now divided by 100. 2022-01-10 11:03:10 +01:00