137 Commits

Author SHA1 Message Date
894cf7f3ab
Merge branch 'master' into 2624-bug-emails-for-deny-and-delete-contribution 2023-02-09 15:31:23 +01:00
Moriz Wahl
036d335426
Merge branch 'master' into refactor-last-transaction 2023-02-08 15:51:05 +01:00
Moriz Wahl
f5d9866644 remove accessLayer folder 2023-02-08 10:33:53 +01:00
mahula
01cca65dea finish denyContribution method in contribution resolver 2023-02-08 08:46:36 +01:00
mahula
2fc2ecf5af WIP add elements to get contribution denying working in backend 2023-02-07 21:46:44 +01:00
1dd2a369e2
Merge branch 'master' into refactor_event_protocol 2023-02-06 23:48:39 +01:00
Moriz Wahl
cb748d8c50 refactor(backend): get last transaction by only one function 2023-02-06 18:47:58 +01:00
elweyn
471685bbd7 Change statusFilters to statusFilter. 2023-02-02 11:22:47 +01:00
ab2535abea
simplify writeEvent 2023-02-02 03:55:47 +01:00
elweyn
681a23a113 Change the definition of statusFilter remove 2023-01-31 11:50:25 +01:00
elweyn
a1ece2f171 Change definition of the parameter statusFilter so that the ContributionStatus item can't be null. 2023-01-31 11:39:44 +01:00
elweyn
70649b968f Change statusFilter from default null to optional. 2023-01-31 11:11:18 +01:00
elweyn
311fb97467 Refactor filter method. 2023-01-28 08:10:50 +01:00
elweyn
12703a33f9 Remove unused i18n import. 2023-01-26 07:06:57 +01:00
elweyn
8b3423b91b Remove i18n, change state to status. 2023-01-25 16:40:32 +01:00
Hannes Heine
14c546627a
Merge branch 'master' into 2594-filter-query-all-contributions 2023-01-24 16:14:21 +01:00
elweyn
57222d07c4 Change rejected to deny, add error test for denyContribution & remove TODO comment. 2023-01-24 15:56:58 +01:00
elweyn
da652e6745 Rename reject to deny and rejected to denied. 2023-01-24 15:22:37 +01:00
elweyn
b940400e5b Remove unused import. 2023-01-24 14:26:43 +01:00
elweyn
d42804acfb Change type of filterState from string[] to ContributionStatus[]. 2023-01-24 12:10:53 +01:00
elweyn
1554a7d454 Remove test loggings. 2023-01-24 12:04:09 +01:00
elweyn
f4c743f7b4 Add localization, change filterState from string to array of string. 2023-01-24 11:33:29 +01:00
elweyn
574906eb76 Add filterState parameter to listAllContributions query, can be a string or null and checks in the DB for the ContributionStatus. 2023-01-24 10:27:46 +01:00
Hannes Heine
c84fa68132
Merge branch 'master' into 2332-mark-contribution-as-rejected 2023-01-19 07:50:22 +01:00
Moriz Wahl
52f9da5c0d fix(backend): admin cannot delete confirmed contribution 2023-01-18 15:06:18 +01:00
elweyn
b8b6753677 Reviewed change requests. 2023-01-17 14:44:18 +01:00
466e59a550
typo 2023-01-16 11:27:30 +01:00
c3f7f15420
refactor all semaphore-locks 2023-01-16 11:21:38 +01:00
elweyn
51abaf8a22 Last changes to make it work. 2023-01-13 13:20:00 +01:00
elweyn
7a7246cde5 Add error for already confirmed contribution. 2023-01-13 11:37:48 +01:00
elweyn
9d8c026617 Move contribution, user and moderator search in the first try block to lock the database. 2023-01-13 11:35:33 +01:00
elweyn
df4e2b419a Merge master in here. 2023-01-13 11:24:11 +01:00
elweyn
605812d777 Add error to confirmContribution mutation in case where contributionState is 'DENIED' 2023-01-13 11:15:14 +01:00
elweyn
79220ced79 Add deleted Contribution to the Contribution list in the admin interface. 2023-01-13 11:05:56 +01:00
mahula
0c65d8c4ab
Merge branch 'master' into open-creations-call 2023-01-12 20:58:15 +01:00
elweyn
493aa32011 Deny contribution sends rejected contribution email. 2023-01-12 15:05:41 +01:00
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
Moriz Wahl
dc33427cd0 add openCreation graphqlModel and resolver 2023-01-11 15:15:26 +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
Hannes Heine
447d252e58
Merge branch 'master' into 2332-mark-contribution-as-rejected 2023-01-10 14:41:10 +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
elweyn
853bfabd57 Finish denie logic, add deniedAt IsNull() to queries. 2022-12-20 12:09:59 +01:00
elweyn
dabef05dc0 Change name of user to moderatorUser. 2022-12-20 10:24:27 +01:00