Add webhook code and rebuild.

This commit is contained in:
James Cole
2022-09-18 10:45:38 +02:00
parent c4c178b39d
commit 67126e46b9
46 changed files with 905 additions and 96 deletions

View File

@@ -41,6 +41,7 @@ return [
//'date_time' => '%B %e, %Y, @ %T',
'date_time_js' => 'MMMM Do, YYYY, @ HH:mm:ss',
'date_time_fns' => 'MMMM do, yyyy @ HH:mm:ss',
//'specific_day' => '%e %B %Y',
'specific_day_js' => 'D MMMM YYYY',

View File

@@ -229,11 +229,12 @@ return [
// Webhooks
'webhooks' => 'Webhooks',
'webhooks_breadcrumb' => 'Webhooks',
'no_webhook_messages' => 'There are no webhook messages',
'webhook_trigger_STORE_TRANSACTION' => 'After transaction creation',
'webhook_trigger_UPDATE_TRANSACTION' => 'After transaction update',
'webhook_trigger_DESTROY_TRANSACTION' => 'After transaction delete',
'webhook_response_TRANSACTIONS' => 'Account details',
'webhook_response_ACCOUNTS' => 'Transaction details',
'webhook_response_TRANSACTIONS' => 'Transaction details',
'webhook_response_ACCOUNTS' => 'Account details',
'webhook_response_none_NONE' => 'No details',
'webhook_delivery_JSON' => 'JSON',
'inspect' => 'Inspect',
@@ -247,8 +248,21 @@ return [
'delete_webhook' => 'Delete webhook',
'deleted_webhook' => 'Deleted webhook ":title"',
'edit_webhook' => 'Edit webhook ":title"',
'updated_webhook' => 'Updated webhook ":title"',
'edit_webhook_js' => 'Edit webhook "{title}"',
'show_webhook' => 'Webhook ":title"',
'webhook_was_triggered' => 'The webhook was triggered on the indicated transaction. You can refresh this page to see the results.',
'webhook_messages' => 'Webhook message',
'view_message' => 'View message',
'view_attempts' => 'View failed attempts',
'message_content_title' => 'Webhook message content',
'message_content_help' => 'This is the content of the message that was sent (or tried) using this webhook.',
'attempt_content_title' => 'Webhook attempts',
'attempt_content_help' => 'These are all the unsuccessful attempts of this webhook message to submit to the configured URL. After some time, Firefly III will stop trying.',
'no_attempts' => 'There are no unsuccessful attempts. That\'s a good thing!',
'webhook_attempt_at' => 'Attempt at {moment}',
'logs' => 'Logs',
'response' => 'Response',
// API access
'authorization_request' => 'Firefly III v:version Authorization Request',