110 Commits

Author SHA1 Message Date
elweyn
96fd4cb14c Merge branch 'master' into 2285-mark-creation-via-link 2022-12-01 12:07:52 +01:00
elweyn
46014adc6d Database join contribution to transaction table, add new join to query. 2022-12-01 12:07:25 +01:00
Moriz Wahl
aa1a88bc11
Merge branch 'master' into fix-wrong-balance 2022-11-25 14:44:39 +01:00
Moriz Wahl
9253706513 remove comment 2022-11-25 14:32:23 +01:00
Moriz Wahl
b3e880d45f undo refactoring 2022-11-24 13:03:50 +01:00
joseji
60e3f62832 enum use on community user initialization 2022-11-23 11:32:27 +01:00
joseji
47d8469eb3 new password implementation set up and test 2022-11-17 13:38:16 +01:00
joseji
107cc016ba set up completed and working 2022-11-15 20:30:09 +01:00
jjimenezgarcia
902222b9c8
Update backend/src/util/validate.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2022-10-24 08:05:37 +02:00
joseji
259475755c fixed wrong responsabilities of exception throwing and implementation of calculateBalance() 2022-10-18 23:24:43 +02:00
joseji
2fd37a7503 fixed tests and negative numbers are now detected 2022-10-14 13:59:41 +02:00
Claus-Peter Hübner
68ba6def14 now find users including emailContact 2022-09-12 18:41:17 +02:00
Claus-Peter Hübner
94f15f7475 Merge remote-tracking branch 'origin/master' into
1798-feature-gradidoid-1-adapt-and-migrate-database-schema
2022-09-12 18:18:46 +02:00
elweyn
ed0900b735 Add lint command to ignore console.log statement. 2022-09-07 11:34:08 +02:00
elweyn
e50b80997b Fix imports. 2022-09-07 10:38:34 +02:00
elweyn
0fb1dcdb3e Moved klicktipp.ts to src/util 2022-09-07 10:34:09 +02:00
Claus-Peter Hübner
228451574d adapt backend on database migration of UserContacts 2022-08-26 02:28:04 +02:00
Claus-Peter Hübner
14bd9aae81 linting 2022-08-18 19:09:20 +02:00
Claus-Peter Hübner
e946d96efe Merge remote-tracking branch 'origin/master' into
1798-feature-gradidoid-1-adapt-and-migrate-database-schema
2022-08-18 19:07:33 +02:00
Claus-Peter Hübner
35da60c572 change User to create a gradidoID as uuidv4 during createUser 2022-08-09 23:36:00 +02:00
Claus-Peter Hübner
fadbc7068e start adaptions of users changes in backend 2022-08-09 03:56:22 +02:00
Claus-Peter Hübner
86a0ab731f adapt UserResolver and Test to database changes 2022-07-21 23:18:31 +02:00
Wolfgang Huß
6abb399ab9 Removed UserSetting from backend 2022-06-07 11:33:47 +02:00
Wolfgang Huß
35b47844b7 Rename convertObjValuesToArray to objectValuesToArray 2022-05-23 07:02:32 +02:00
Wolfgang Huß
cde9b171af Writing resolver tests 2022-05-19 10:45:02 +02:00
Moriz Wahl
1d48c12573
Merge branch 'master' into fix-decay-rounding-with-transaction-links 2022-04-25 16:04:38 +02:00
Moriz Wahl
a4ae002693 round balance down before subtracting hold available amount 2022-04-25 16:01:26 +02:00
Moriz Wahl
fa6fbe38c8 User.isAdmin as nullable Date 2022-04-21 11:05:51 +02:00
Moriz Wahl
e3a807ed95
Merge branch 'master' into eliminate-server-user-table 2022-04-20 13:08:43 +02:00
Moriz Wahl
324de93814 update/remove comments 2022-04-20 12:51:34 +02:00
Moriz Wahl
5c6aa5d4ce new db version for isAdmin in user db model 2022-04-20 11:20:28 +02:00
Moriz Wahl
55ff0ee964 add roundedDecay field to Decay Model. This is used to calibrate the decay since the last transaction 2022-04-12 22:52:51 +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
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
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
761de3f636
corrected name of transaction link summary to differentiate between a link and the summary transaction 2022-03-19 10:43:17 +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
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
923b886baf create virtual transaction for transaction links 2022-03-10 21:04:36 +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
9879c4550e path to models 2022-03-07 21:58:30 +01:00
8429d884c8
fix test 2022-03-04 13:10:55 +01:00