* 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.8 KiB
PHP
139 lines
5.8 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
return [
|
|
'title' => 'Webhooks',
|
|
'description' => 'Erhalte Echtzeit-Benachrichtigungen, wenn Beiträge erstellt, geplant, deren Planung aufgehoben, veröffentlicht werden oder fehlschlagen.',
|
|
'new' => 'Webhook erstellen',
|
|
'empty_title' => 'Noch keine Webhooks',
|
|
'empty_description' => 'Erstelle einen Webhook, um Ereignisbenachrichtigungen in Echtzeit zu empfangen.',
|
|
'table' => [
|
|
'endpoint' => 'Endpoint',
|
|
'events' => 'Hört auf',
|
|
'status' => 'Status',
|
|
'last_sent' => 'Zuletzt gesendet',
|
|
],
|
|
'events_count' => '{1} :count Ereignis|[2,*] :count Ereignisse',
|
|
'never' => 'Nie',
|
|
'status' => [
|
|
'enabled' => 'Aktiv',
|
|
'disabled' => 'Deaktiviert',
|
|
'paused' => 'Pausiert',
|
|
],
|
|
'actions' => [
|
|
'view' => 'Details anzeigen',
|
|
'copy_id' => 'Webhook-ID kopieren',
|
|
'delete' => 'Löschen',
|
|
'edit' => 'Endpoint bearbeiten',
|
|
'enable' => 'Endpoint aktivieren',
|
|
'disable' => 'Endpoint deaktivieren',
|
|
'rotate' => 'Signatur-Secret rotieren',
|
|
'send_test' => 'Test-Ereignis senden',
|
|
'replay' => 'Erneut senden',
|
|
'reveal_secret' => 'Secret anzeigen',
|
|
'hide_secret' => 'Secret ausblenden',
|
|
'copy_secret' => 'Secret kopieren',
|
|
],
|
|
'create' => [
|
|
'title' => 'Webhook erstellen',
|
|
'description' => 'Konfiguriere einen Endpoint, um Webhook-Benachrichtigungen zu empfangen.',
|
|
'endpoint' => 'Endpoint-URL',
|
|
'endpoint_placeholder' => 'https://example.com/webhooks',
|
|
'events' => 'Ereignisse',
|
|
'events_placeholder' => 'Ereignisse auswählen...',
|
|
'events_selected' => '{1} :count Ereignis ausgewählt|[2,*] :count Ereignisse ausgewählt',
|
|
'search_events' => 'Ereignisse suchen...',
|
|
'no_events' => 'Keine Ereignisse gefunden',
|
|
'submit' => 'Webhook erstellen',
|
|
'cancel' => 'Abbrechen',
|
|
],
|
|
'edit' => [
|
|
'title' => 'Endpoint bearbeiten',
|
|
'description' => 'Aktualisiere die Endpoint-URL und die Ereignisse, auf die gehört wird.',
|
|
'submit' => 'Änderungen speichern',
|
|
'cancel' => 'Abbrechen',
|
|
],
|
|
'delete' => [
|
|
'title' => 'Webhook löschen',
|
|
'description' => 'Möchtest du diesen Webhook wirklich löschen? Du erhältst an diesem Endpoint keine Ereignisbenachrichtigungen mehr.',
|
|
'confirm' => 'Webhook löschen',
|
|
'cancel' => 'Abbrechen',
|
|
],
|
|
'rotate' => [
|
|
'title' => 'Signatur-Secret rotieren',
|
|
'description' => 'Dadurch wird ein neues Signatur-Secret erzeugt. Das aktuelle Secret funktioniert sofort nicht mehr. Aktualisiere deinen Endpoint auf das neue Secret.',
|
|
'submit' => 'Secret rotieren',
|
|
'cancel' => 'Abbrechen',
|
|
],
|
|
'show' => [
|
|
'signing_secret' => 'Signatur-Secret',
|
|
'last_sent' => 'Zuletzt gesendet :time',
|
|
'listening_for' => 'Hört auf',
|
|
'http_status' => 'HTTP-Status',
|
|
'status_code' => ':code - :reason',
|
|
'attempts' => 'Versuche',
|
|
'delivered_at' => 'Zugestellt um',
|
|
'response_body' => 'Antworttext',
|
|
'response' => 'Antwort',
|
|
'no_response_body' => 'Kein Antworttext',
|
|
'no_response' => 'Keine Antwort',
|
|
'payload' => 'Nachrichten-Payload',
|
|
'empty_title' => 'Noch keine Webhook-Ereignisse',
|
|
'empty_description' => 'Sobald Beiträge erstellt, geplant, deren Planung aufgehoben oder veröffentlicht werden, siehst du die Webhook-Ereignisse hier.',
|
|
],
|
|
'events' => [
|
|
'group_posts' => 'Beiträge',
|
|
'post_created' => 'Beitrag erstellt',
|
|
'post_scheduled' => 'Beitrag geplant',
|
|
'post_unscheduled' => 'Planung aufgehoben',
|
|
'post_published' => 'Beitrag veröffentlicht',
|
|
'post_partially_published' => 'Beitrag teilweise veröffentlicht',
|
|
'post_failed' => 'Beitrag fehlgeschlagen',
|
|
'post_deleted' => 'Beitrag gelöscht',
|
|
],
|
|
'http_reasons' => [
|
|
'unknown' => 'Unbekannt',
|
|
'200' => 'OK',
|
|
'201' => 'Erstellt',
|
|
'202' => 'Akzeptiert',
|
|
'204' => 'Kein Inhalt',
|
|
'400' => 'Ungültige Anfrage',
|
|
'401' => 'Nicht autorisiert',
|
|
'403' => 'Verboten',
|
|
'404' => 'Nicht gefunden',
|
|
'408' => 'Zeitüberschreitung',
|
|
'422' => 'Nicht verarbeitbar',
|
|
'429' => 'Zu viele Anfragen',
|
|
'500' => 'Interner Serverfehler',
|
|
'502' => 'Ungültiges Gateway',
|
|
'503' => 'Dienst nicht verfügbar',
|
|
'504' => 'Gateway-Zeitüberschreitung',
|
|
],
|
|
'copied' => [
|
|
'id' => 'Webhook-ID in die Zwischenablage kopiert',
|
|
'secret' => 'Signatur-Secret in die Zwischenablage kopiert',
|
|
'response' => 'Antworttext kopiert',
|
|
'payload' => 'Payload kopiert',
|
|
],
|
|
'errors' => [
|
|
'endpoint_not_allowed' => 'Dieser Endpoint ist nicht erlaubt.',
|
|
'endpoint_unreachable' => 'Der Endpoint ist nicht erreichbar.',
|
|
'endpoint_http_status' => 'Der Endpoint hat HTTP :status zurückgegeben.',
|
|
],
|
|
'flash' => [
|
|
'created' => 'Webhook erstellt.',
|
|
'updated' => 'Webhook aktualisiert.',
|
|
'deleted' => 'Webhook gelöscht.',
|
|
'secret_rotated' => 'Signatur-Secret rotiert.',
|
|
'replayed' => 'Webhook-Ereignis erneut gesendet.',
|
|
'tested' => 'Test-Ereignis gesendet.',
|
|
],
|
|
'mail' => [
|
|
'paused_subject' => 'Webhook pausiert: :endpoint',
|
|
'paused_title' => 'Webhook nach wiederholten Fehlern pausiert',
|
|
'paused_preview' => 'Wir haben einen Webhook nach 5 aufeinanderfolgenden Zustellfehlern pausiert.',
|
|
'paused_body' => 'Wir haben den Webhook unter :endpoint nach 5 aufeinanderfolgenden Zustellfehlern pausiert. Prüfe den Endpoint und aktiviere ihn wieder auf der Webhook-Detailseite.',
|
|
'paused_cta' => 'Webhook anzeigen',
|
|
],
|
|
];
|