1861 Commits

Author SHA1 Message Date
elweyn
7d23be6901 Add query for listContributions. 2022-07-01 12:54:04 +02:00
Claus-Peter Hübner
7f5995d2fa add enable-check to EventProtocol configurable as CONFIG-Property 2022-07-01 00:40:10 +02:00
elweyn
3ce80fc081 Remove unused imports. 2022-06-30 16:47:44 +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
Claus-Peter Hübner
38fcb0e9cf next try writing event_protocol 2022-06-30 01:28:27 +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
Claus-Peter Hübner
60fde3f688 rework EventProtocol 2022-06-29 02:07:58 +02:00
Claus-Peter Hübner
1d02795562 rework EventProtocol 2022-06-29 02:06:44 +02:00
Claus-Peter Hübner
1edea38fbb move EventProtocolType in event package 2022-06-29 02:06:16 +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
Claus-Peter Hübner
55f491694a lintting 2022-06-28 04:23:43 +02:00
Claus-Peter Hübner
0dbce63910 emit some first events 2022-06-28 04:13:26 +02:00
Claus-Peter Hübner
522233913e define EventEmitter with an EventHandler for each EventProtocolType 2022-06-28 04:08:25 +02:00
Claus-Peter Hübner
c706e0c292 Merge remote-tracking branch 'origin/master' into 1794-feature-event-protocol-1-implement-the-basics-of-the-business-event-protocol 2022-06-27 18:29:27 +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
elweyn
d062a10a34 Fix linting. 2022-06-27 13:37:03 +02:00
Alexander Friedland
94b866c84d
Merge branch 'master' into 1736-When-session-is-expired-redeem-link-is-not-transported 2022-06-24 13:28:50 +02:00
elweyn
2d90fdd64e New Resolver for Contribution, createContribution method. 2022-06-24 12:19:02 +02:00
elweyn
5ebd0993d9 New Args definition for CreateContribution. 2022-06-24 12:18:18 +02:00
elweyn
b95a8081fc Refactored getUserCreation & isContributionValid method to own files. 2022-06-24 12:17:28 +02:00
clauspeterhuebner
e1fd44a295
Merge branch 'master' into origin/1921-rebase_from_master 2022-06-23 02:45:49 +02:00
Claus-Peter Hübner
47772a37b2 rework PR-comments 2022-06-23 02:42:20 +02:00
Claus-Peter Hübner
ecd38bd184 mutation createEventProtocol 2022-06-23 00:26:43 +02:00
ogerly
fae0685509 step 1 automatic logout of session after 10 minutes, last 60 seconds warning modal 2022-06-22 22:41:26 +02:00
Moriz Wahl
bab867a1bd add global event handler middleware 2022-06-22 16:02:28 +02:00
Wolfgang Huß
4c420ecbf4
Merge branch 'master' into 1880-no-throw-when-register-with-existing-email 2022-06-21 11:11:56 +02:00
Claus-Peter Hübner
0dd17da89b create event protocol tables, entities and enums 2022-06-21 04:30:31 +02:00
Claus-Peter Hübner
56baf51ccd add Tests for parameter checks of createContributionLink 2022-06-20 23:50:21 +02:00
Claus-Peter Hübner
0edd295dbb rework PR-Comments 2022-06-20 23:47:41 +02:00
Claus-Peter Hübner
a9b84088f9 Merge remote-tracking branch 'origin/master' into 1921-rebase_from_master 2022-06-20 20:39:36 +02:00
Wolfgang Huß
91959aea28 Fulfill Moriz suggestions 2022-06-20 16:08:35 +02:00
Wolfgang Huß
50f5667288 Merge branch 'master' of github.com:gradido/gradido into 1880-no-throw-when-register-with-existing-email
# Conflicts:
#	backend/src/graphql/resolver/UserResolver.ts
2022-06-20 13:56:25 +02:00
Wolfgang Huß
a0a9eda0b4 Merge branch '1881-set-role-in-admin-interface' of github.com:gradido/gradido into 1881-set-role-in-admin-interface 2022-06-20 12:15:26 +02:00