52 Commits

Author SHA1 Message Date
68d7d5e883
fix decay test 2022-02-16 11:51:32 +01:00
Alexander Friedland
912e35090a
Merge branch 'master' into static_decay_block 2022-02-16 11:51:01 +01:00
ee94c655ef
fix elopage buys not using repository but entity 2022-02-08 15:59:59 +01:00
elweyn
d502b3d052 yarn lint --fix. 2022-02-07 13:05:06 +01:00
ogerly
9d79e35f36 Refactor hasElopageBuys method to a utility method. 2022-02-07 10:34:54 +01:00
736310f5d5
fix build error - type errors 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
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
Moriz Wahl
b95eb902e9 move mailer functions into own folder 2022-01-12 09:54:34 +01:00
Moriz Wahl
055a9c9d80 try to test send verification email 2022-01-04 19:18:05 +01:00
Moriz Wahl
b7186209f1 sendAccountActivationEmail as imprted function 2022-01-04 18:37:59 +01:00
Moriz Wahl
3ef4d94aae feat: Test Send Email 2022-01-04 18:04:06 +01:00
61786d9e5d
another (unrelated) lint fix 2021-11-10 23:52:44 +01:00
4e118b65ee
- make sendEMails external (utils)
- replace fromHex from libsodium-wrapper
2021-11-06 00:57:05 +01:00
elweyn
557ccf5da3 Merge master into this branch, comment out the protobuf encryption module to see if the structure would work without it. 2021-10-22 14:55:06 +02:00
Einhornimmond
fedaa8d679 fix lint 2021-10-10 16:30:39 +02:00
Einhornimmond
79061d19f0 add test for increasing coverage 2021-10-10 16:23:01 +02:00
Einhornimmond
ecb0fe287d fix test and more checks 2021-10-10 16:17:10 +02:00
Einhornimmond
f6cba24c00 merge with master 2021-10-10 15:44:11 +02:00
Einhornimmond
865403e0fa fix double transaction entry 2021-10-10 13:24:50 +02:00
Einhornimmond
bfa0e9481c fix problems with transaction 2021-10-08 18:20:52 +02:00
einhornimmond
8911bf761c implement more of create send coin transaction 2021-10-06 20:07:50 +02:00
einhorn_b
6699b4d6eb first steps for send coins 2021-10-06 12:41:05 +02:00
einhornimmond
a531b4671f Merge branch 'master' into apollo_saveUserOnCreate 2021-10-06 12:15:20 +02:00
cdd336cfbb Decay Model + Utils 2021-10-06 11:57:22 +02:00
Moriz Wahl
592a095544 try to get the backend building again 2021-10-06 11:57:22 +02:00
Moriz Wahl
f0ddb3e3f9 get the tests working again (skipped) 2021-10-06 11:57:22 +02:00
einhornimmond
de15dac786 Update backend/src/util/decay.ts
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2021-10-06 11:57:21 +02:00
einhorn_b
db028d1d78 fixed decay and missing user data bugs 2021-10-06 11:57:21 +02:00
einhorn_b
f72164be13 change datatype for timestamps to string 2021-10-06 11:57:21 +02:00
Einhornimmond
68fb3ec653 debugging stuff 2021-10-06 11:53:28 +02:00
Einhornimmond
68a3056177 fix what don't work 2021-10-06 11:53:27 +02:00
Einhornimmond
11d61dde2e implement listTransactions and neccessary changes for it 2021-10-06 11:53:25 +02:00
Moriz Wahl
c7a5d2456a Add coverage report 2021-10-06 11:52:48 +02:00
Moriz Wahl
cd2b6257f6 feat: Setup Unit Tests for Backend 2021-10-06 11:52:43 +02:00
338a2e8f6c
Update backend/src/util/decay.test.ts
Co-authored-by: Hannes Heine <heine.hannes@gmail.com>
2021-10-04 10:28:04 +02:00
a673a5f11e
missing change 2021-10-03 13:41:20 +02:00
Einhornimmond
6c42d20edd
merge with master 2021-10-02 13:52:38 +02:00
42f66221a1
Decay Model + Utils 2021-10-01 20:15:39 +02:00
Einhornimmond
e963a34b36 add settings as key value approach 2021-10-01 18:42:48 +02:00
Moriz Wahl
e7213611eb try to get the backend building again 2021-10-01 13:16:00 +02:00
Moriz Wahl
99ce2b2b2e get the tests working again (skipped) 2021-10-01 13:11:58 +02:00
Moriz Wahl
855e1652fb Merge branch 'master' into setup-backend-unit-tests 2021-10-01 13:10:15 +02:00
einhornimmond
d4d19b7801
Update backend/src/util/decay.ts
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2021-09-30 18:52:12 +02:00
Moriz Wahl
be1cd15093 Add coverage report 2021-09-29 21:00:11 +02:00
Moriz Wahl
fc0cf9d63e feat: Setup Unit Tests for Backend 2021-09-29 20:34:40 +02:00
einhorn_b
bf8bd24abf fixed decay and missing user data bugs 2021-09-29 14:37:26 +02:00
einhorn_b
dba6a1b8d6 change datatype for timestamps to string 2021-09-29 12:02:16 +02:00
Einhornimmond
aa2565d294 debugging stuff 2021-09-28 13:11:22 +02:00
Einhornimmond
0d33202946 fix what don't work 2021-09-27 19:52:46 +02:00