1499 Commits

Author SHA1 Message Date
09ac97faba
do not expose so much error information 2023-02-02 02:01:44 +01:00
4300b10df7
Update backend/src/graphql/resolver/UserResolver.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2023-02-02 01:59:34 +01:00
de4ee4f614
Update backend/src/graphql/resolver/UserResolver.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2023-02-02 01:56:39 +01:00
9fa9bb127b
error message start with upper case consistency 2023-02-02 01:54:35 +01:00
0f7f38e2cd
corrected error message to not expose too much info 2023-02-02 01:52:58 +01:00
fbec0d44b5
corrected error message create user 2023-02-02 01:51:17 +01:00
b6b57677f2
Merge branch 'master' into log-error 2023-02-01 13:52:46 +01:00
mahula
f83666cae6
Merge branch 'master' into fix-error-message-in-user-resolver 2023-02-01 10:01:06 +01:00
7845ffd8e4
fix another test 2023-01-31 23:02:17 +01:00
5de22d46e6
fix another test 2023-01-31 22:58:14 +01:00
477d301049
Merge branch 'master' into log-error 2023-01-31 22:54:44 +01:00
945295bb41
lint fixes 2023-01-31 22:18:43 +01:00
6e663f6093
even tho skipped have the correct error message in test 2023-01-31 22:13:13 +01:00
d0d45aaf6a
more tests and a potential bug 2023-01-31 22:11:58 +01:00
702a39af9a
test case deleted User 2023-01-31 21:34:30 +01:00
45a92e637a
deleted old commented code 2023-01-31 21:07:07 +01:00
412499d5f2
fix unit tests for UserResolver 2023-01-31 21:04:39 +01:00
Moriz Wahl
d7fca05bc8 clean db after tests again 2023-01-31 14:04:19 +01:00
Moriz Wahl
84a1cfcf77 fix(backend): unit tests creations for day 31 2023-01-31 13:53:40 +01:00
25e03c35b2
refactor UserResolver to use LogError, clean comments 2023-01-31 13:31:10 +01:00
mahula
fab5946631 adapt unit tests to changes in user resolver's error message 2023-01-30 16:41:44 +01:00
mahula
cbd8895acf refactor error message in user resolver 2023-01-30 16:40:43 +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
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
Moriz Wahl
d3a78e4369
Merge branch 'master' into statistics-with-field-resolvers 2023-01-17 16:52:59 +01:00
elweyn
b8b6753677 Reviewed change requests. 2023-01-17 14:44:18 +01:00
cd203ab2c2
removed if possible comment 2023-01-17 12:31:55 +01:00
a3a69bc012
removed comment 2023-01-17 12:29:28 +01:00
82fd6a9c5b
implement moriz requirements for test 2023-01-17 12:24:41 +01:00
Moriz Wahl
b66372bd90 change name of dynamic statitics fields 2023-01-16 19:42:01 +01:00
3bf69814ca
test error cases for semaphore 2023-01-16 16:47:33 +01:00
Moriz Wahl
7781011b1a refactor(backend): field resolvers in statistics 2023-01-16 15:22:45 +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
fd2563f171
Merge branch 'master' into fix-semaphore-deadlock-on-error 2023-01-16 11:16:45 +01:00
dab7fe584a
try catch around semaphore lock 2023-01-16 11:04:14 +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
3a63e2721d remove creations from graphql user object 2023-01-11 22:32:50 +01:00
Moriz Wahl
8f9e77a9c1 add test: confirming a confirmed contribution throws 2023-01-11 21:40:11 +01:00
Moriz Wahl
29479bafec release lock after each error 2023-01-11 21:29:11 +01:00