Send a webhook for every change a person makes to a record
Some checks failed
Tests / lint (push) Has been cancelled
Tests / test (push) Has been cancelled
Tests / test-postgres (push) Has been cancelled
Tests / mcp (push) Has been cancelled

Events are {resource}.created, .updated, .deleted and .restored for content,
the inbox, redirects, repositories and media, taken from the audit log so the
two agree on what happened. Subscriptions take wildcards. Users, tokens,
webhooks and settings are never sent, nor what the application does by
itself; the inbox's own words only with personal data enabled.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-01 14:32:54 +02:00
parent d4cf4a66b7
commit 9390db18c2
15 changed files with 499 additions and 22 deletions

View File

@@ -148,6 +148,36 @@ return [
'webhooks' => [
'label' => 'Webhook',
'events_hint' => 'Pots triar-ne diversos. «Tot de…» inclou qualsevol canvi en aquest tipus de fitxa.',
'any_record' => 'Qualsevol fitxa · :action',
'all_of' => 'Tot de :resource',
'groups' => [
'everything' => 'General',
'notices' => 'Avisos',
],
'actions_on' => [
'created' => 'Creada',
'updated' => 'Editada',
'deleted' => 'Esborrada',
'restored' => 'Recuperada',
],
'resources' => [
'pages' => 'Pàgines',
'categories' => 'Categories',
'tags' => 'Etiquetes',
'projects' => 'Projectes',
'members' => 'Membres',
'services' => 'Serveis',
'clients' => 'Clients',
'testimonials' => 'Testimonis',
'talks' => 'Xerrades',
'technologies' => 'Tecnologies',
'calls' => 'Convocatòries',
'redirects' => 'Redireccions',
'repositories' => 'Repositoris',
'media' => 'Mitjans',
'applications' => 'Bústia',
],
'plural' => 'Webhooks',
'fields' => [
'name' => 'Nom',

View File

@@ -44,6 +44,10 @@ return [
'too_many' => 'Com a molt :max files per importació.',
],
'webhooks' => [
'event' => '«:event» no és un esdeveniment al qual subscriure\'s.',
],
'tokens' => [
'ability' => '«:ability» no és un permís que tinguis, així que un token teu no el pot tenir.',
'machine' => 'Els tokens els gestiona una persona, no un altre token.',