feat: webhook form finisher for generic post requests
addresses #869cupm97
This commit is contained in:
@@ -23,6 +23,8 @@ TYPO3:
|
||||
finishersDefinition:
|
||||
BpnApiFinisher:
|
||||
implementationClassName: 'EP\EpTheme\Form\BpnApiFinisher'
|
||||
WebhookFinisher:
|
||||
implementationClassName: 'EP\EpTheme\Form\WebhookFinisher'
|
||||
AddReferrerFinisher:
|
||||
implementationClassName: 'EP\EpTheme\Form\AddReferrerFinisher'
|
||||
|
||||
|
||||
@@ -12,6 +12,9 @@ TYPO3:
|
||||
1000:
|
||||
value: 'BpnApiFinisher'
|
||||
label: 'BusPro Finisher'
|
||||
1050:
|
||||
value: 'WebhookFinisher'
|
||||
label: 'Webhook Finisher'
|
||||
1100:
|
||||
value: 'AddReferrerFinisher'
|
||||
label: 'Referrer Finisher'
|
||||
@@ -31,6 +34,27 @@ TYPO3:
|
||||
propertyPath: 'options.mapping'
|
||||
propertyValidators:
|
||||
10: 'NotEmpty'
|
||||
1050:
|
||||
identifier: 'WebhookFinisher'
|
||||
editors:
|
||||
__inheritances:
|
||||
10: 'TYPO3.CMS.Form.mixins.formElementMixins.BaseCollectionEditorsMixin'
|
||||
100:
|
||||
label: 'Webhook Finisher'
|
||||
110:
|
||||
identifier: 'mapping'
|
||||
templateName: 'Inspector-TextEditor'
|
||||
label: 'Mapping'
|
||||
propertyPath: 'options.mapping'
|
||||
propertyValidators:
|
||||
10: 'NotEmpty'
|
||||
120:
|
||||
identifier: 'url'
|
||||
templateName: 'Inspector-TextEditor'
|
||||
label: 'URL'
|
||||
propertyPath: 'options.url'
|
||||
propertyValidators:
|
||||
10: 'NotEmpty'
|
||||
1100:
|
||||
identifier: 'AddReferrerFinisher'
|
||||
editors:
|
||||
@@ -46,6 +70,13 @@ TYPO3:
|
||||
predefinedDefaults:
|
||||
options:
|
||||
mapping: 'lastName:text-1,firstName:text-2,gender:singleselect-1,email:email-1,phone:telephone-1'
|
||||
WebhookFinisher:
|
||||
formEditor:
|
||||
iconIdentifier: 'form-finisher'
|
||||
predefinedDefaults:
|
||||
options:
|
||||
mapping: 'lastName:text-1,firstName:text-2,gender:singleselect-1,email:email-1,phone:telephone-1'
|
||||
url: ''
|
||||
AddReferrerFinisher:
|
||||
formEditor:
|
||||
iconIdentifier: 'form-finisher'
|
||||
|
||||
@@ -11,6 +11,14 @@ TYPO3:
|
||||
options:
|
||||
identifier: 'BpnApiFinisher'
|
||||
mapping: 'lastName:text-1,firstName:text-2,gender:singleselect-1,email:email-1,phone:telephone-1'
|
||||
WebhookFinisher:
|
||||
implementationClassName: 'EP\EpTheme\Form\WebhookFinisher'
|
||||
formEditor:
|
||||
label: 'Webhook Finisher'
|
||||
options:
|
||||
identifier: 'WebhookFinisher'
|
||||
mapping: 'lastName:text-1,firstName:text-2,gender:singleselect-1,email:email-1,phone:telephone-1'
|
||||
url: ''
|
||||
AddReferrerFinisher:
|
||||
implementationClassName: 'EP\EpTheme\Form\AddReferrerFinisher'
|
||||
formEditor:
|
||||
|
||||
Reference in New Issue
Block a user