1828 Commits

Author SHA1 Message Date
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
Moriz Wahl
2ceb29edde
Merge branch 'master' into add-creations-to-user 2022-07-12 15:53:16 +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
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
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
Moriz Wahl
25b9a5a622
Merge branch 'master' into 2000-contribution-resolver 2022-07-04 15:20:31 +02:00
elweyn
58a350155b Add tests that confirmed contribution are found and no unconfirmed contributions are found. 2022-07-01 12:54:46 +02:00
elweyn
7d23be6901 Add query for listContributions. 2022-07-01 12:54:04 +02:00
elweyn
3ce80fc081 Remove unused imports. 2022-06-30 16:47:44 +02:00
Moriz Wahl
9c98087874 release: 1.10.1 2022-06-30 15:55:23 +02:00
elweyn
f19a6f1d15 Create model for Contribution and create function to query listContributions. 2022-06-30 13:58:21 +02:00
elweyn
f8b0d52afd Add ROLES and RIGHTS for users to query listContributions. 2022-06-30 13:57:30 +02:00
ogerly
0e3f6a4d73 change JWT_EXPIRES_IN to 10m 2022-06-30 13:51:40 +02:00
elweyn
ba88599ca7 Change mutation to query amount and memo, check in test that amount and memo have the right values. 2022-06-29 13:31:57 +02:00
elweyn
70b22f3dbe Remove unused import of FULL_CREATION_AVAILABLE const. 2022-06-29 12:00:35 +02:00
elweyn
c7ea879e36 Change return value of createContribution from Boolean to UnconfirmedContribution, add constructor to UnconfirmedContribution. 2022-06-29 11:56:18 +02:00
elweyn
6a9b4f7b9a Remove unused import. 2022-06-29 11:24:12 +02:00
elweyn
790b6fb906 Remove unused variable. 2022-06-29 11:23:12 +02:00
elweyn
329a6c5500 Fix linting. 2022-06-29 11:21:03 +02:00
elweyn
55cf4ffc5a Change method description to => notation. 2022-06-29 11:09:06 +02:00
elweyn
6a55a27f88 Removed tests with deleted user and user with unchecked email, add describe block for input not valid as well as valid input. 2022-06-29 11:06:25 +02:00
elweyn
001117527c Change import of getUserCreation in isContributionValid. 2022-06-29 10:52:36 +02:00
elweyn
6e5540b863 Move all util methods to isContributionValid file, add const file for Resolvers. 2022-06-29 10:49:53 +02:00
elweyn
237c01af1b Refactor CreateContributionArgs to ContributionArgs so that it can be used for updateContribution. 2022-06-29 10:13:08 +02:00
elweyn
0c819522a1 Merge changes from master and this branch. 2022-06-28 11:17:06 +02:00
elweyn
5a51207895 Remove unused imports. 2022-06-28 09:59:25 +02:00
elweyn
457016a7a7 Withdrew if contribution not valid statement since the method throws an exception if not valid. 2022-06-27 17:43:10 +02:00
elweyn
a56908b8f5 Adding some test for the ContributionToken. 2022-06-27 17:13:30 +02:00
elweyn
38e04b4979 Remove checks on users since the authorization token handels it. 2022-06-27 17:12:59 +02:00
elweyn
4d4f6979da Change moderator so that it can be null. 2022-06-27 13:41:11 +02:00
elweyn
c03509c525 Change response value to boolean, add RIGHTS for createContribution, add new RIGHT in ROLES. 2022-06-27 13:40:36 +02:00
elweyn
6ac0106470 Change import for refactored methods. 2022-06-27 13:37:47 +02:00