223 Commits

Author SHA1 Message Date
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
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
elweyn
10abf45e15 Merge dissolve_admin_resolver to local branch. 2022-12-14 11:04:16 +01:00
elweyn
ca01e34394 Get adminUser and find contribution with specific id. 2022-12-13 10:17:35 +01:00
elweyn
30c72bb734 Setup rejecctContribution method. 2022-12-13 10:10:42 +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