2551 Commits

Author SHA1 Message Date
Claus-Peter Hübner
642a3e647c increase CONFIG_VERSION after adding Event-Protocol Switch 2022-07-07 02:53:04 +02:00
Claus-Peter Hübner
d6fe798545 replace event emitting with event writing 2022-07-07 01:49:16 +02:00
Claus-Peter Hübner
46e2473a88 remove EventEmitter from events-modul and replace it with
writeEvent-Methode
2022-07-07 01:48:33 +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
Hannes Heine
e2b7c9dece
Merge branch 'master' into 2000-contribution-delete 2022-07-06 10:15:03 +02:00
Claus-Peter Hübner
4fb135cc36 new switch for event protocol enabling 2022-07-06 03:05:05 +02:00
Claus-Peter Hübner
127faf45cd Merge remote-tracking branch 'origin/master' into
1794-feature-event-protocol-1-implement-the-basics-of-the-business-event-protocol

linting
2022-07-06 03:04:11 +02:00
Claus-Peter Hübner
5251571ca9 Merge remote-tracking branch 'origin/master' into 1794-feature-event-protocol-1-implement-the-basics-of-the-business-event-protocol 2022-07-06 02:33:07 +02:00
Claus-Peter Hübner
575453fd54 modify event emitting on new event type specific usage 2022-07-06 02:31:37 +02:00
Claus-Peter Hübner
314e211a4f modify EventEmitter to new Eventtype specific handling 2022-07-06 02:30:52 +02:00
Claus-Peter Hübner
3f706dc5f0 add EventType specific handling 2022-07-06 02:30:04 +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
9bd5710933 Add check if user is owner of the contribution before deleting. 2022-07-05 09:37:41 +02:00
elweyn
62e7abe76e Add mutation to soft delete a contribution. 2022-07-05 09:22:32 +02:00
elweyn
9867bb6a6f Add RIGHT for DELETE_CONTRIBUTION. 2022-07-05 09:21:29 +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
Claus-Peter Hübner
a99a568f39 emit Redeem-Events 2022-07-05 04:20:54 +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
Moriz Wahl
e4fc2cce6d
Merge branch 'master' into 1794-feature-event-protocol-1-implement-the-basics-of-the-business-event-protocol 2022-07-01 17:27:14 +02:00
Moriz Wahl
2e2a84f535 remove unused mutation 2022-07-01 17:26:20 +02:00
Moriz Wahl
9816adc745 remove unused global middleware 2022-07-01 17:24:51 +02:00
Moriz Wahl
d9034b1bdb changes after session with claus peter 2022-07-01 17:20:26 +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
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
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
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