* Add workspace webhooks and drop the unused automation webhook node. Give workspaces HMAC-signed outgoing webhooks for the post lifecycle, with retry, auto-pause, replay, and live logs, and keep HTTP Request as the only outbound automation node. * Tighten webhook controller and validation after review. Drop the redundant workspace redirects, prune logs without counting, and validate events/status with Rule::enum. * Move leftover webhook UI copy behind i18n. HTTP status phrases, delete-cancel, and validation attribute names were still English literals. * Build the webhook-paused email through Maizzle. The hand-written Blade skipped the shared layout, header, and footer used by the other mail templates. * Cover real webhook dispatch paths and restyle the webhook pages. * Ask for the shared delete keyword when confirming a webhook delete. The endpoint URL is a poor confirm string; posts and assets already use the common "delete" keyword. * Fix webhook review blockers so CI can go green. Drop leftover French automation keys, stop mutating Inertia log props, and show delivered_at instead of created_at. * Close the remaining webhook review gaps. Keep Echo log updates across infinite scroll, align the channel with the policy, persist log ids across retries, and fail unknown automation nodes without throwing. * Stop webhook delivery after disable and record last sent only on success. Queued jobs now skip paused or disabled endpoints unless the user replays, and changing the URL re-pings it first. * Limit webhooks to owners and admins, and encrypt signing secrets. Members can no longer create or inspect outgoing integrations, and secrets stay encrypted at rest. * Cover webhook secret hiding, skip-ping, and failed-delivery edges. * Send the full post on webhooks after labels and platforms are saved. * Fix webhook payloads for integer media ids and type webhook status. * Split the webhook show page into focused components. * Reset live webhook logs when switching endpoints. * Keep the newest webhook logs at the top after live merges. * Cast media item ids to string without the extra scalar check. * Add post.unscheduled webhooks and put the log id on the envelope. Unscheduling is now a first-class event, and receivers can send the delivery id back so we can find the matching log. * Translate webhook event names in the UI. * Make the webhook show page full-width and stop stacking flash toasts. * Translate remaining webhook UI copy in every locale. * Sign webhook pings and drop author email from the payload. * Send signed webhook tests after create instead of pinging on save. Create and update only block private URLs so the receiver can copy the secret first. The show page then sends a signed webhook.test with an object data envelope. * Polish webhook test UX and always mint the dispatch log id in the job. Keep send-test in the actions menu (its own group) and drop the leftover constructor param so retries reuse the serialized id instead of a caller-supplied one.
139 lines
5.7 KiB
PHP
139 lines
5.7 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
return [
|
|
'title' => 'Webhooks',
|
|
'description' => 'Ontvang realtime meldingen wanneer posts worden aangemaakt, gepland, ontpland, gepubliceerd of mislukken.',
|
|
'new' => 'Webhook maken',
|
|
'empty_title' => 'Nog geen webhooks',
|
|
'empty_description' => 'Maak een webhook om realtime gebeurtenismeldingen te ontvangen.',
|
|
'table' => [
|
|
'endpoint' => 'Endpoint',
|
|
'events' => 'Luistert naar',
|
|
'status' => 'Status',
|
|
'last_sent' => 'Laatst verzonden',
|
|
],
|
|
'events_count' => '{1} :count gebeurtenis|[2,*] :count gebeurtenissen',
|
|
'never' => 'Nooit',
|
|
'status' => [
|
|
'enabled' => 'Actief',
|
|
'disabled' => 'Uitgeschakeld',
|
|
'paused' => 'Gepauzeerd',
|
|
],
|
|
'actions' => [
|
|
'view' => 'Details bekijken',
|
|
'copy_id' => 'Webhook-ID kopiëren',
|
|
'delete' => 'Verwijderen',
|
|
'edit' => 'Endpoint bewerken',
|
|
'enable' => 'Endpoint inschakelen',
|
|
'disable' => 'Endpoint uitschakelen',
|
|
'rotate' => 'Ondertekeningssecret roteren',
|
|
'send_test' => 'Testgebeurtenis versturen',
|
|
'replay' => 'Opnieuw versturen',
|
|
'reveal_secret' => 'Secret tonen',
|
|
'hide_secret' => 'Secret verbergen',
|
|
'copy_secret' => 'Secret kopiëren',
|
|
],
|
|
'create' => [
|
|
'title' => 'Webhook maken',
|
|
'description' => 'Stel een endpoint in om webhookmeldingen te ontvangen.',
|
|
'endpoint' => 'Endpoint-URL',
|
|
'endpoint_placeholder' => 'https://example.com/webhooks',
|
|
'events' => 'Gebeurtenissen',
|
|
'events_placeholder' => 'Gebeurtenissen selecteren...',
|
|
'events_selected' => '{1} :count gebeurtenis geselecteerd|[2,*] :count gebeurtenissen geselecteerd',
|
|
'search_events' => 'Gebeurtenissen zoeken...',
|
|
'no_events' => 'Geen gebeurtenissen gevonden',
|
|
'submit' => 'Webhook maken',
|
|
'cancel' => 'Annuleren',
|
|
],
|
|
'edit' => [
|
|
'title' => 'Endpoint bewerken',
|
|
'description' => 'Werk de endpoint-URL en de gebeurtenissen om naar te luisteren bij.',
|
|
'submit' => 'Wijzigingen opslaan',
|
|
'cancel' => 'Annuleren',
|
|
],
|
|
'delete' => [
|
|
'title' => 'Webhook verwijderen',
|
|
'description' => 'Weet je zeker dat je deze webhook wilt verwijderen? Je ontvangt geen gebeurtenismeldingen meer op dit endpoint.',
|
|
'confirm' => 'Webhook verwijderen',
|
|
'cancel' => 'Annuleren',
|
|
],
|
|
'rotate' => [
|
|
'title' => 'Ondertekeningssecret roteren',
|
|
'description' => 'Dit genereert een nieuw ondertekeningssecret. Het huidige secret stopt meteen met werken. Werk je endpoint bij om het nieuwe secret te gebruiken.',
|
|
'submit' => 'Secret roteren',
|
|
'cancel' => 'Annuleren',
|
|
],
|
|
'show' => [
|
|
'signing_secret' => 'Ondertekeningssecret',
|
|
'last_sent' => 'Laatst verzonden :time',
|
|
'listening_for' => 'Luistert naar',
|
|
'http_status' => 'HTTP-status',
|
|
'status_code' => ':code - :reason',
|
|
'attempts' => 'Pogingen',
|
|
'delivered_at' => 'Afgeleverd om',
|
|
'response_body' => 'Antwoordtekst',
|
|
'response' => 'Antwoord',
|
|
'no_response_body' => 'Geen antwoordtekst',
|
|
'no_response' => 'Geen antwoord',
|
|
'payload' => 'Berichtpayload',
|
|
'empty_title' => 'Nog geen webhookgebeurtenissen',
|
|
'empty_description' => 'Zodra posts worden aangemaakt, gepland, ontpland of gepubliceerd, zie je de webhookgebeurtenissen hier.',
|
|
],
|
|
'events' => [
|
|
'group_posts' => 'Posts',
|
|
'post_created' => 'Post aangemaakt',
|
|
'post_scheduled' => 'Post gepland',
|
|
'post_unscheduled' => 'Planning opgeheven',
|
|
'post_published' => 'Post gepubliceerd',
|
|
'post_partially_published' => 'Post gedeeltelijk gepubliceerd',
|
|
'post_failed' => 'Post mislukt',
|
|
'post_deleted' => 'Post verwijderd',
|
|
],
|
|
'http_reasons' => [
|
|
'unknown' => 'Onbekend',
|
|
'200' => 'OK',
|
|
'201' => 'Aangemaakt',
|
|
'202' => 'Geaccepteerd',
|
|
'204' => 'Geen inhoud',
|
|
'400' => 'Ongeldige aanvraag',
|
|
'401' => 'Niet geautoriseerd',
|
|
'403' => 'Verboden',
|
|
'404' => 'Niet gevonden',
|
|
'408' => 'Time-out',
|
|
'422' => 'Niet verwerkbaar',
|
|
'429' => 'Te veel verzoeken',
|
|
'500' => 'Interne serverfout',
|
|
'502' => 'Ongeldige gateway',
|
|
'503' => 'Dienst niet beschikbaar',
|
|
'504' => 'Gateway-time-out',
|
|
],
|
|
'copied' => [
|
|
'id' => 'Webhook-ID naar klembord gekopieerd',
|
|
'secret' => 'Ondertekeningssecret naar klembord gekopieerd',
|
|
'response' => 'Antwoordtekst gekopieerd',
|
|
'payload' => 'Payload gekopieerd',
|
|
],
|
|
'errors' => [
|
|
'endpoint_not_allowed' => 'Dit endpoint is niet toegestaan.',
|
|
'endpoint_unreachable' => 'Het endpoint is niet bereikbaar.',
|
|
'endpoint_http_status' => 'Het endpoint gaf HTTP :status terug.',
|
|
],
|
|
'flash' => [
|
|
'created' => 'Webhook gemaakt.',
|
|
'updated' => 'Webhook bijgewerkt.',
|
|
'deleted' => 'Webhook verwijderd.',
|
|
'secret_rotated' => 'Ondertekeningssecret geroteerd.',
|
|
'replayed' => 'Webhookgebeurtenis opnieuw verstuurd.',
|
|
'tested' => 'Testgebeurtenis verstuurd.',
|
|
],
|
|
'mail' => [
|
|
'paused_subject' => 'Webhook gepauzeerd: :endpoint',
|
|
'paused_title' => 'Webhook gepauzeerd na herhaalde fouten',
|
|
'paused_preview' => 'We hebben een webhook gepauzeerd na 5 opeenvolgende afleverfouten.',
|
|
'paused_body' => 'We hebben de webhook op :endpoint gepauzeerd na 5 opeenvolgende afleverfouten. Controleer het endpoint en schakel het weer in op de webhookdetailpagina.',
|
|
'paused_cta' => 'Webhook bekijken',
|
|
],
|
|
];
|