trypost/lang/uk/webhooks.php
Paulo Castellano 58d8e066b5
Add workspace webhooks and drop the unused automation webhook node (#326)
* 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.
2026-09-04 09:43:29 -03:00

139 lines
7.3 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
declare(strict_types=1);
return [
'title' => 'Webhooks',
'description' => 'Отримуйте сповіщення в реальному часі, коли пости створюються, плануються, знімаються з плану, публікуються або завершуються помилкою.',
'new' => 'Створити вебхук',
'empty_title' => 'Вебхуків ще немає',
'empty_description' => 'Створіть вебхук, щоб отримувати сповіщення про події в реальному часі.',
'table' => [
'endpoint' => 'Endpoint',
'events' => 'Слухає',
'status' => 'Статус',
'last_sent' => 'Остання відправка',
],
'events_count' => '{1} :count подія|[2,*] :count подій',
'never' => 'Ніколи',
'status' => [
'enabled' => 'Увімкнено',
'disabled' => 'Вимкнено',
'paused' => 'Призупинено',
],
'actions' => [
'view' => 'Переглянути деталі',
'copy_id' => 'Скопіювати ID вебхука',
'delete' => 'Видалити',
'edit' => 'Редагувати endpoint',
'enable' => 'Увімкнути endpoint',
'disable' => 'Вимкнути endpoint',
'rotate' => 'Змінити секрет підпису',
'send_test' => 'Надіслати тестову подію',
'replay' => 'Надіслати знову',
'reveal_secret' => 'Показати секрет',
'hide_secret' => 'Приховати секрет',
'copy_secret' => 'Скопіювати секрет',
],
'create' => [
'title' => 'Створити вебхук',
'description' => 'Налаштуйте endpoint, щоб отримувати сповіщення вебхука.',
'endpoint' => 'URL endpoint',
'endpoint_placeholder' => 'https://example.com/webhooks',
'events' => 'Події',
'events_placeholder' => 'Виберіть події...',
'events_selected' => '{1} :count подію вибрано|[2,*] :count подій вибрано',
'search_events' => 'Шукати події...',
'no_events' => 'Подій не знайдено',
'submit' => 'Створити вебхук',
'cancel' => 'Скасувати',
],
'edit' => [
'title' => 'Редагувати endpoint',
'description' => 'Оновіть URL endpoint і події для прослуховування.',
'submit' => 'Зберегти зміни',
'cancel' => 'Скасувати',
],
'delete' => [
'title' => 'Видалити вебхук',
'description' => 'Видалити цей вебхук? Ви більше не отримуватимете сповіщення про події на цьому endpoint.',
'confirm' => 'Видалити вебхук',
'cancel' => 'Скасувати',
],
'rotate' => [
'title' => 'Змінити секрет підпису',
'description' => 'Буде створено новий секрет підпису. Поточний секрет одразу перестане працювати. Оновіть endpoint, щоб використовувати новий секрет.',
'submit' => 'Змінити секрет',
'cancel' => 'Скасувати',
],
'show' => [
'signing_secret' => 'Секрет підпису',
'last_sent' => 'Остання відправка :time',
'listening_for' => 'Слухає',
'http_status' => 'Статус HTTP',
'status_code' => ':code - :reason',
'attempts' => 'Спроби',
'delivered_at' => 'Доставлено',
'response_body' => 'Тіло відповіді',
'response' => 'Відповідь',
'no_response_body' => 'Немає тіла відповіді',
'no_response' => 'Немає відповіді',
'payload' => 'Payload повідомлення',
'empty_title' => 'Подій ще немає',
'empty_description' => 'Коли пости створюються, плануються, знімаються з плану або публікуються, події вебхука з\'являться тут.',
],
'events' => [
'group_posts' => 'Пости',
'post_created' => 'Пост створено',
'post_scheduled' => 'Пост заплановано',
'post_unscheduled' => 'Планування скасовано',
'post_published' => 'Пост опубліковано',
'post_partially_published' => 'Пост частково опубліковано',
'post_failed' => 'Помилка публікації',
'post_deleted' => 'Пост видалено',
],
'http_reasons' => [
'unknown' => 'Невідомо',
'200' => 'OK',
'201' => 'Створено',
'202' => 'Прийнято',
'204' => 'Немає вмісту',
'400' => 'Неправильний запит',
'401' => 'Не авторизовано',
'403' => 'Заборонено',
'404' => 'Не знайдено',
'408' => 'Час очікування минув',
'422' => 'Необроблювана сутність',
'429' => 'Забагато запитів',
'500' => 'Внутрішня помилка сервера',
'502' => 'Помилковий шлюз',
'503' => 'Сервіс недоступний',
'504' => 'Час очікування шлюзу минув',
],
'copied' => [
'id' => 'ID вебхука скопійовано в буфер обміну',
'secret' => 'Секрет підпису скопійовано в буфер обміну',
'response' => 'Тіло відповіді скопійовано',
'payload' => 'Payload скопійовано',
],
'errors' => [
'endpoint_not_allowed' => 'Цей endpoint не дозволений.',
'endpoint_unreachable' => 'Endpoint недоступний.',
'endpoint_http_status' => 'Endpoint повернув HTTP :status.',
],
'flash' => [
'created' => 'Вебхук створено.',
'updated' => 'Вебхук оновлено.',
'deleted' => 'Вебхук видалено.',
'secret_rotated' => 'Секрет підпису змінено.',
'replayed' => 'Подію вебхука надіслано знову.',
'tested' => 'Тестову подію надіслано.',
],
'mail' => [
'paused_subject' => 'Вебхук призупинено: :endpoint',
'paused_title' => 'Вебхук призупинено після повторних помилок',
'paused_preview' => 'Ми призупинили вебхук після 5 підряд невдалих доставок.',
'paused_body' => 'Ми призупинили вебхук на :endpoint після 5 підряд невдалих доставок. Перевірте endpoint і ввімкніть його знову на сторінці вебхука.',
'paused_cta' => 'Відкрити вебхук',
],
];