1854 Commits

Author SHA1 Message Date
Moriz Wahl
07093c466d
Merge branch 'master' into do-not-log-IntrospectionQuery 2022-07-15 13:47:11 +02:00
Moriz Wahl
175bc514be feat: Do not log IntrospectionQuery from Query Browser 2022-07-15 13:36:31 +02:00
Alexander Friedland
8f742ce1d1
Merge branch 'master' into 2051-list-contribution-add-deleted 2022-07-15 07:37:37 +02:00
Hannes Heine
8d727f5e5c
Merge branch 'master' into 2000-contribution-update 2022-07-13 14:42:02 +02:00
elweyn
99c4e83670 Add deleted contribution to the list of contribution. 2022-07-13 11:26:18 +02:00
elweyn
9d9d1a78f1 Add confirmedBy and confirmedAt for the contribution query. 2022-07-13 11:01:44 +02:00
elweyn
e1d50cacb5 Fix linting. 2022-07-13 09:55:21 +02:00
elweyn
801e223cfd Implement that adminUpdateContribution is not allowed when moderator is null. 2022-07-13 08:27:05 +02:00
elweyn
c6bab99a2c Add Test that adminUpdateContribution is not allowed on creation made by createContribution mutation. 2022-07-13 08:26:30 +02:00
Moriz Wahl
2ceb29edde
Merge branch 'master' into add-creations-to-user 2022-07-12 15:53:16 +02:00
elweyn
32d79bb61c Corrected the spelling errors and withdrew admin creation on update scenario. 2022-07-12 13:01:46 +02:00
Hannes Heine
90d2ffbff3
Update backend/src/graphql/resolver/ContributionResolver.test.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2022-07-12 12:54:55 +02:00
Hannes Heine
0380609dee
Update backend/src/graphql/resolver/ContributionResolver.test.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2022-07-12 12:54:46 +02:00
einhornimmond
b50acc1a10
Merge branch 'master' into archive_transform_valid_transactions 2022-07-12 10:49:34 +02:00
Moriz Wahl
8a3c825371 feat: Login Returns Open Creations for User 2022-07-12 10:27:52 +02:00
elweyn
b991bb0467 Delete datas after all listContributions and updateContribution Tests. 2022-07-12 10:11:28 +02:00
elweyn
46206c4752 Handled the merge conflict so that we can continue to work. 2022-07-12 10:01:26 +02:00
elweyn
c6ae5760c3 Test that the updateContribution mutation updates the contribution with the right values. 2022-07-12 09:55:03 +02:00
elweyn
9ee40767bb Change test so that only the date is to old and the amount could be right. 2022-07-12 09:45:48 +02:00
elweyn
9e355f9202 Test that the updateContribution mutation can not update contribution to a date that is older than 3 month. 2022-07-12 09:43:47 +02:00
elweyn
6348756ab3 Test that the updateContribution mutation can not update more gdd's than allowed in the month. 2022-07-12 09:39:24 +02:00
elweyn
86433478ec Test that only the user that created the contribution can update it with the updateContribution mutation. 2022-07-12 09:38:19 +02:00
elweyn
5369aced43 Change mutation to include id in the result, write test to update contribution with inexistent id. 2022-07-12 09:37:06 +02:00
Hannes Heine
773d40e1c5
Merge branch 'master' into 2000-contribution-list 2022-07-12 09:32:33 +02:00
elweyn
0e13c7c2e1 Remove spaces. 2022-07-12 08:47:15 +02:00
elweyn
b6f1b0730a Change the orders and structure from the tests for listContributions. 2022-07-12 08:44:36 +02:00
elweyn
339b32a02f Change FindOperator<any> to <number> 2022-07-11 17:16:31 +02:00
Einhornimmond
6d4d030136 exchanged order with other migration 2022-07-11 15:08:41 +02:00
Einhornimmond
eeafe2ddab change order with other migration 2022-07-11 15:07:07 +02:00
elweyn
70db65044c Fix linting. 2022-07-11 14:09:40 +02:00
elweyn
f8cdad7e58 Change the where clause to a defined object. 2022-07-11 14:07:57 +02:00
elweyn
2113061629 Change the imports to the standard. 2022-07-11 14:05:57 +02:00
elweyn
caf4e9ae3e Change the test name to filterConfirmed is false. 2022-07-11 14:04:38 +02:00
elweyn
9239f93096 Add no non nullable assertion to admin Creation. 2022-07-11 12:21:51 +02:00
elweyn
ae52b520dd Withdrew where clause to an variable with inline condition. 2022-07-11 12:04:46 +02:00
elweyn
a2eccb12ed Change the variable name contribution to contributions. 2022-07-11 11:42:39 +02:00
elweyn
3718f0dc56 Change the test so that we can test if the contribution list finds only created but not confirmed contribution 2022-07-11 11:42:24 +02:00
Einhornimmond
1841d9969d finalize 2022-07-10 08:39:25 +02:00
Einhornimmond
d9c6836f89 finalize, merge with current master 2022-07-10 08:10:26 +02:00
elweyn
18ff51aacf Merge master into this branch. 2022-07-06 10:51:35 +02:00
Hannes Heine
e834d06704
Merge branch 'master' into 2000-contribution-list 2022-07-06 10:48:28 +02:00
elweyn
103928518c Change utils file isContributionValid to contributions and changed method isContributionValid to validateContribution. 2022-07-05 11:35:50 +02:00
elweyn
61d4c138e1 Remove unused import. 2022-07-05 09:17:48 +02:00
elweyn
8e7476ecb0 Refactor return value so that their is only one return value. 2022-07-05 09:07:29 +02:00
elweyn
60aae29cff Merge branch '2000-contribution-list' into 2000-contribution-update 2022-07-05 08:53:49 +02:00
Moriz Wahl
25b9a5a622
Merge branch 'master' into 2000-contribution-resolver 2022-07-04 15:20:31 +02:00
elweyn
7b38fe7f93 Function for updateContribution. 2022-07-04 07:41:41 +02:00
elweyn
03db4ed125 Add mutation to updateContribution. 2022-07-04 07:41:21 +02:00
elweyn
b580f8755d Refactor updateCreations. 2022-07-04 07:40:10 +02:00
elweyn
78195612c2 Add ROLES and RIGHTS to updateContribution. 2022-07-04 07:39:11 +02:00