82 Commits

Author SHA1 Message Date
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
a054c0ce26
disallow lint warnings on backend, fix warning 2022-02-23 00:41:25 +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
elweyn
13642133c1 Moved the filter on creation to the query. 2021-12-22 08:25:08 +01:00
elweyn
9138a6e407 Remove console.log 2021-12-21 12:44:39 +01:00
elweyn
75cbea2321 Change the transactionList query so we can get only creation and get the list for specific users. 2021-12-20 15:15:51 +01:00
elweyn
9eb4e8603a Withdrew * 10000 and / 10000 since we need to store the full value. 2021-12-10 09:08:54 +01:00
ogerly
b8854f9365 Change the lastUserTransaction.balance and multiplied it by 10000 2021-12-04 10:38:25 +01:00
a24c6119a6
check rights on all resolvers 2021-11-24 19:41:26 +01:00
elweyn
fccc7b4434 Changed the Auto increment so that it is done after the rollback and not in the finally block. 2021-11-22 23:17:11 +01:00
f09c3b4964
replace implementation of getPublicKey to no longer require the sessionId. Furthermore the call now no longer calls getUserInfos on the login_server but just queries the database itself 2021-11-17 00:40:16 +01:00
9894b4a91f
fixed email for transactions 2021-11-06 01:56:30 +01:00
4e118b65ee
- make sendEMails external (utils)
- replace fromHex from libsodium-wrapper
2021-11-06 00:57:05 +01:00
5791124c28
- test results
- minor fixes for test instructions
2021-11-05 23:36:43 +01:00
2573ee8c9b
reintroduce autoincrement fix for transactions 2021-11-05 12:48:33 +01:00
88f0a14b61
more test instructions 2021-11-05 02:39:17 +01:00
6bc0915a9a
finish test 2021-11-05 02:23:52 +01:00