148 Commits

Author SHA1 Message Date
9101c3f74d
save moderator & user_id for EVENT_ADMIN_CONTRIBUTION_DENY 2023-02-14 15:39:41 +01:00
2a1cb037c7
log moderator who denies contribution instead of user 2023-02-14 01:47:07 +01:00
9aa5da5c8f
Merge branch 'master' into event_protocol_rework 2023-02-13 13:24:58 +01:00
f9b6b887e0
things are working properly 2023-02-10 03:37:48 +01:00
2ac133c41a
rework - initial work 2023-02-10 02:06:39 +01:00
Hannes Heine
def51614d4
Merge branch 'master' into logger_contributionResolver 2023-02-09 17:20:52 +01:00
894cf7f3ab
Merge branch 'master' into 2624-bug-emails-for-deny-and-delete-contribution 2023-02-09 15:31:23 +01:00
c1b126296d
Merge branch 'master' into logger_contributionResolver 2023-02-09 14:07:29 +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
741d0c2b97
choose todo over coverage 2023-02-06 22:38:45 +01:00
bf24d15d96
unify checks on adminCreateContribution and adminUpdateContribution 2023-02-06 22:37:38 +01:00
225652ecc7
refactor adminCreateContribution to check for deleted users 2023-02-06 22:30:23 +01:00
Moriz Wahl
cb748d8c50 refactor(backend): get last transaction by only one function 2023-02-06 18:47:58 +01:00
a8c6534347
fix logger on contributionResolver 2023-02-03 01:17:15 +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