94 Commits

Author SHA1 Message Date
b2f9c499dd
use try finally to release lock 2023-01-11 22:47:55 +01:00
Moriz Wahl
29479bafec release lock after each error 2023-01-11 21:29:11 +01:00
Moriz Wahl
6389697bd6 reset unit tests 2023-01-11 21:13:38 +01:00
340554b815
skipped alot of test due to unknown timeout errors 2023-01-11 15:39:33 +01:00
8628a05a21
properly use findOne where 2023-01-11 13:14:50 +01:00
c9488c8b81
try to minimize changeset 2023-01-11 13:11:40 +01:00
c585b2c234
check for confirmed transaction within semaphore lock 2023-01-11 13:08:47 +01:00
dcd2ec708d
include logger for error when creation is not successful 2022-12-22 15:56:37 +01:00
Moriz Wahl
6a36d9afb2 remove console logs 2022-12-22 14:08:32 +01:00
32cea45bbf
move timestamp into semaphore transaction lock 2022-12-21 00:24:54 +01:00
f306dddfaf
console logs, fix order by id instead of date 2022-12-15 23:06:29 +01:00
9537910413
lock also on contributions 2022-12-15 13:07:53 +01:00
7638d29052
merge 2022-12-09 14:09:43 +01:00
4554b01b89
order and correct imports of resolvers 2022-11-22 13:01:38 +01:00
db1a11a2b5
seperate admin resolver into existing resolvers 2022-11-22 12:41:08 +01:00
Moriz Wahl
ef79580387 required argument client time zone offset for utils in creation 2022-11-15 14:20:33 +01:00
Moriz Wahl
d36fee0302 change order off arguements, implement changes for admin and contribution resolver 2022-11-15 14:10:18 +01:00
jjimenezgarcia
5606c80057
Merge branch 'master' into logger-error-cleaning-history 2022-11-08 13:25:16 +01:00
elweyn
c79d186a45 Log error when contribution is in the wrong state. Write full content in changeMessage. 2022-11-07 10:32:26 +01:00
elweyn
b3fd53ab7a Change the display of the history message. 2022-11-03 08:35:26 +01:00
joseji
16699e19ad small details 2022-10-31 14:46:52 +01:00
joseji
f69abcd04c small tests modified 2022-10-28 11:46:18 +02:00
elweyn
0d304f9d71 Remove TODO comments and change the written message to only the old values no prefix. 2022-10-26 12:05:27 +02:00
elweyn
53d315749d Change import from ../enum to @enum 2022-10-24 16:01:48 +02:00
elweyn
68aa0a5d07 Withdrew createdAt = new Date() and use updatedAt or createdAt from the contribution. 2022-10-24 16:00:08 +02:00
elweyn
ce73e2c447 Change value from new to old value. 2022-10-24 13:40:28 +02:00
elweyn
94e9039c86 Add changed values to the new contribution message. 2022-10-24 13:23:42 +02:00
elweyn
e29c9a111d Add a contribution message when things are changed. 2022-10-24 12:15:54 +02:00
elweyn
43705b3a40 Merge master into this branch, resolve merge conflicts 2022-10-24 12:03:27 +02:00
Hannes Heine
2827f30d08
Merge branch 'master' into 2139-add-deleted-by-to-contributions 2022-10-20 13:36:43 +02:00
elweyn
1e25bde9c5 Change database version for the feature, resolve merge conflicts. 2022-10-20 13:36:25 +02:00
ogerly
2d7bef3e7e dleted contributions are displayed to the user 2022-10-20 10:00:53 +02:00
joseji
7d17735d7f decimals from db tested propperly and merged master 2022-10-14 13:05:00 +02:00
Hannes Heine
4cf2297d93
Merge branch 'master' into 2140-add-updated-at-to-contributions 2022-10-13 17:48:32 +02:00
elweyn
eb18bb8e7c Add deletedBy value on deleteContribution mutation. 2022-10-13 17:18:56 +02:00
Moriz Wahl
bc2889a9f8 fix: Disable Change of Month for Update Contribution (wallet and admin) 2022-10-11 20:44:41 +02:00
joseji
bb3d1caa73 fixed amount not being initialized in databsae while storing events 2022-10-04 20:33:50 +02:00
elweyn
ea234add11 Add message after updateContribution. 2022-09-27 13:37:45 +02:00
joseji
79f7ebce57 updated event working, deletion is not working properly (deeper than the event itself) 2022-09-22 17:35:41 +02:00
joseji
0176131c39 errors are now logged, and events are checked 2022-09-22 12:07:12 +02:00
joseji
c08aac58a9 events and half log tests 2022-09-22 11:44:30 +02:00
elweyn
423989777b Remove leftJoin on user, changed ContributionMessage array to count of ContributionMessage. 2022-08-29 12:19:25 +02:00
elweyn
894140b418 Remove unused imports. 2022-08-26 08:50:08 +02:00
elweyn
84ee364051 Revert "Fix imports."
This reverts commit f3f0c27063053bed076e76442f98cfc10973a18d.
2022-08-25 15:00:21 +02:00
elweyn
f3f0c27063 Fix imports. 2022-08-25 09:12:49 +02:00
elweyn
4dbcabf96d Add where clause. 2022-08-24 16:52:42 +02:00
elweyn
057816e4c0 Change innerJoin to leftJoin, so that every contribution is shown not only the one with messages. 2022-08-24 16:43:32 +02:00
elweyn
59df924e1d Add User to Contribution link, query the messages user in the listContributions query. 2022-08-24 16:27:28 +02:00
elweyn
0271a42741 Use user entity instead of user model. 2022-08-24 10:56:19 +02:00
Moriz Wahl
f2f8989746 save contribution when setting status DELETED before softDelete 2022-08-15 19:06:59 +02:00