Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

feat(web): manage instance webhooks and delivery history

Tin354dcf9317de
diff --git a/apps/docs/core/operations/administration.mdx b/apps/docs/core/operations/administration.mdx
index 03f0f2316..da36c4613 100644
--- a/apps/docs/core/operations/administration.mdx
+++ b/apps/docs/core/operations/administration.mdx
@@ -186,3 +186,19 @@ The button is disabled until `SMTP_HOST` and `SMTP_FROM` are set. See [SMTP conf
Every administration action is available under `/api/admin` to signed-in sessions with the matching permission, for example `POST /api/admin/users` to create a user with `users:create`, or `POST /api/admin/roles` to create a role as an admin. `GET /api/admin/access` lists the caller's own permissions. API keys are rejected. See the API reference for every endpoint.
better-auth's own `/api/auth/admin/*` endpoints remain available to built-in admins only. When they set a role, it must be `admin`, `user`, or an existing custom role.
+
+## Instance webhooks
+
+Open **Settings → Administration → Webhooks** to send administrative events to another system. The page and every `/api/admin/webhooks` endpoint require `instance:settings` and a signed-in session; API keys are rejected.
+
+Set `NOTIFICATION_SECRET_ENCRYPTION_KEY` before creating a webhook. Kaneo uses it to encrypt signing secrets, as it does for notification secrets. Keep the key stable and use the same value on all API instances. Add an HTTPS destination, choose event categories, and save. The generated signing secret appears once; save it in the receiver. **Rotate secret** replaces it and shows the replacement once. Queued deliveries use the current destination and signing secret.
+
+Categories match the audit log: users, sessions, API keys, workspaces, roles, instance settings, email, and webhooks. Webhook creation, updates, deletion, and secret rotation are also audited. Payloads contain the audit entry's `id`, `action`, `actorUserId`, `actorName`, `actorEmail`, `targetType`, `targetId`, `targetLabel`, `metadata`, `ipAddress`, and UTC `createdAt`. They do not include the user agent or signing secret. **Send test** queues a `webhook.test` event regardless of selected categories.
+
+Kaneo queues deliveries in PostgreSQL in the audit transaction and sends them only after commit. A receiver being down does not fail the administrative action. Redis is not needed. API instances claim deliveries with database leases, so only one instance sends a queued attempt. Each request times out after five seconds. Connection failures, timeouts, HTTP 408, 429, and 5xx responses get up to three attempts, waiting five seconds and then thirty seconds. Other failures stop immediately. An interrupted attempt is retried after its one-minute lease expires, within the same three-attempt limit.
+
+Receivers should use `X-Kaneo-Delivery` to deduplicate retries. A crash after the receiver accepted a request but before Kaneo saved its result can cause a duplicate; webhook delivery cannot guarantee exactly-once processing across an HTTP connection. Verify `X-Kaneo-Signature`, which is `sha256=` followed by the hex HMAC-SHA256 of `X-Kaneo-Timestamp + "." + rawRequestBody`, using the signing secret. The timestamp is Unix seconds. Reject old timestamps and compare signatures in constant time. A retry keeps its delivery id and audit event id, with a fresh timestamp and signature.
+
+**Recent deliveries** shows the newest twenty deliveries with their attempt count, HTTP status, and error category. Kaneo retains twenty finished deliveries per webhook in addition to queued work. It discards response bodies. Disabling a webhook stops new deliveries and cancels its queued work; an in-flight request may finish. Deleting a webhook removes its queue and delivery history.
+
+Destinations are checked when saved and again at connection time to prevent access to private or loopback addresses and DNS rebinding. Redirects are not followed. Production requires HTTPS. For a deliberately private receiver on a self-hosted network, the existing `KANEO_ALLOW_PRIVATE_WEBHOOK_DESTINATIONS=true` setting permits private destinations; HTTP is only accepted outside production.
diff --git a/apps/web/src/components/admin/admin-page-access.test.ts b/apps/web/src/components/admin/admin-page-access.test.ts
index ebc796935..f8f0371d6 100644
--- a/apps/web/src/components/admin/admin-page-access.test.ts
+++ b/apps/web/src/components/admin/admin-page-access.test.ts
@@ -21,12 +21,22 @@ describe("admin page redirects", () => {
"audit-log",
"system",
"settings",
+ "webhooks",
])("redirects a support role away from %s", (page) => {
expect(getAdminPageRedirect(`${root}/${page}`, ["users:read"])).toBe(
`${root}/users`,
);
});
+ it("requires instance settings permission for webhooks", () => {
+ expect(
+ getAdminPageRedirect(`${root}/webhooks`, ["instance:settings"]),
+ ).toBeNull();
+ expect(getAdminPageRedirect(`${root}/webhooks`, [])).toBe(
+ "/dashboard/settings/account/information",
+ );
+ });
+
it("keeps allowed pages and sends accounts without a page to account settings", () => {
expect(getAdminPageRedirect(`${root}/users`, ["users:read"])).toBeNull();
expect(
diff --git a/apps/web/src/components/admin/admin-page-access.ts b/apps/web/src/components/admin/admin-page-access.ts
index 5b42c3250..580758d31 100644
--- a/apps/web/src/components/admin/admin-page-access.ts
+++ b/apps/web/src/components/admin/admin-page-access.ts
@@ -13,6 +13,7 @@ export const ADMIN_PAGE_PERMISSIONS = {
"/dashboard/settings/admin/audit-log": ["audit:read"],
"/dashboard/settings/admin/system": ["system:read"],
"/dashboard/settings/admin/settings": ["instance:settings"],
+ "/dashboard/settings/admin/webhooks": ["instance:settings"],
} as const satisfies Record<string, readonly InstancePermission[]>;
export type AdminPage = keyof typeof ADMIN_PAGE_PERMISSIONS;
diff --git a/apps/web/src/components/admin/audit-log/audit-log-categories.ts b/apps/web/src/components/admin/audit-log/audit-log-categories.ts
index 9ce9e5701..e4bce0221 100644
--- a/apps/web/src/components/admin/audit-log/audit-log-categories.ts
+++ b/apps/web/src/components/admin/audit-log/audit-log-categories.ts
@@ -14,4 +14,5 @@ export const AUDIT_LOG_CATEGORIES = [
value: "instance",
labelKey: "settings:adminAuditLog.categories.instance",
},
+ { value: "webhook", labelKey: "settings:adminAuditLog.categories.webhook" },
] as const;
diff --git a/apps/web/src/components/admin/audit-log/get-audit-action-label.ts b/apps/web/src/components/admin/audit-log/get-audit-action-label.ts
index 510fb05bf..649526804 100644
--- a/apps/web/src/components/admin/audit-log/get-audit-action-label.ts
+++ b/apps/web/src/components/admin/audit-log/get-audit-action-label.ts
@@ -1,4 +1,12 @@
const ACTION_LABEL_KEYS = new Map([
+ ["webhook.created", "settings:adminAuditLog.actions.webhookCreated"],
+ ["webhook.updated", "settings:adminAuditLog.actions.webhookUpdated"],
+ ["webhook.deleted", "settings:adminAuditLog.actions.webhookDeleted"],
+ [
+ "webhook.secret_rotated",
+ "settings:adminAuditLog.actions.webhookSecretRotated",
+ ],
+ ["webhook.test", "settings:adminWebhooks.testEvent"],
["email.test_sent", "settings:adminAuditLog.actions.emailTestSent"],
["user.created", "settings:adminAuditLog.actions.userCreated"],
["user.updated", "settings:adminAuditLog.actions.userUpdated"],
diff --git a/apps/web/src/components/admin/audit-log/get-audit-target-type-label.ts b/apps/web/src/components/admin/audit-log/get-audit-target-type-label.ts
index 2a42d750a..2936e30a2 100644
--- a/apps/web/src/components/admin/audit-log/get-audit-target-type-label.ts
+++ b/apps/web/src/components/admin/audit-log/get-audit-target-type-label.ts
@@ -1,4 +1,5 @@
const TARGET_TYPE_LABEL_KEYS = new Map([
+ ["webhook", "settings:adminAuditLog.targetTypes.webhook"],
["user", "settings:adminAuditLog.targetTypes.user"],
["workspace", "settings:adminAuditLog.targetTypes.workspace"],
["role", "settings:adminAuditLog.targetTypes.role"],
diff --git a/apps/web/src/components/admin/webhooks/get-webhook-error-label.ts b/apps/web/src/components/admin/webhooks/get-webhook-error-label.ts
new file mode 100644
index 000000000..4eac0e8dc
--- /dev/null
+++ b/apps/web/src/components/admin/webhooks/get-webhook-error-label.ts
@@ -0,0 +1,13 @@
+const ERROR_KEYS: Record<string, string> = {
+ network: "settings:adminWebhooks.errors.network",
+ timeout: "settings:adminWebhooks.errors.timeout",
+ http: "settings:adminWebhooks.errors.http",
+ destination: "settings:adminWebhooks.errors.destination",
+ signing: "settings:adminWebhooks.errors.signing",
+ disabled: "settings:adminWebhooks.errors.disabled",
+ interrupted: "settings:adminWebhooks.errors.interrupted",
+ response: "settings:adminWebhooks.errors.response",
+};
+export function getWebhookErrorLabel(code: string, t: (key: string) => string) {
+ return t(ERROR_KEYS[code] ?? "settings:adminWebhooks.failed");
+}
diff --git a/apps/web/src/components/admin/webhooks/webhook-deliveries-dialog.tsx b/apps/web/src/components/admin/webhooks/webhook-deliveries-dialog.tsx
new file mode 100644
index 000000000..2ccabe334
--- /dev/null
+++ b/apps/web/src/components/admin/webhooks/webhook-deliveries-dialog.tsx
@@ -0,0 +1,119 @@
+import { getWebhookErrorLabel } from "./get-webhook-error-label";
+import { useTranslation } from "react-i18next";
+import { DirectoryErrorRow } from "@/components/admin/directory/directory-error-row";
+import { getAuditActionLabel } from "@/components/admin/audit-log/get-audit-action-label";
+import { Button } from "@/components/ui/button";
+import { Badge } from "@/components/ui/badge";
+import {
+ Dialog,
+ DialogClose,
+ DialogFooter,
+ DialogHeader,
+ DialogPanel,
+ DialogPopup,
+ DialogTitle,
+} from "@/components/ui/dialog";
+import useAdminWebhookDeliveries from "@/hooks/queries/admin/use-admin-webhook-deliveries";
+import { SettingsRowsSkeleton } from "@/components/settings/settings-rows-skeleton";
+
+export function WebhookDeliveriesDialog({
+ webhookId,
+ onClose,
+}: {
+ webhookId: string;
+ onClose: () => void;
+}) {
+ const { t, i18n } = useTranslation();
+ const { data, isLoading, isError, refetch } = useAdminWebhookDeliveries(
+ webhookId,
+ true,
+ );
+ return (
+ <Dialog
+ open
+ onOpenChange={(open) => {
+ if (!open) onClose();
+ }}
+ >
+ <DialogPopup className="sm:max-w-xl">
+ <DialogHeader>
+ <DialogTitle>{t("settings:adminWebhooks.deliveries")}</DialogTitle>
+ </DialogHeader>
+ <DialogPanel>
+ {isLoading ? <SettingsRowsSkeleton rows={3} /> : null}
+ {isError ? (
+ <DirectoryErrorRow
+ message={t("settings:adminWebhooks.loadError")}
+ retryLabel={t("settings:adminUsers.retry")}
+ onRetry={() => refetch()}
+ />
+ ) : null}
+ {data?.length === 0 ? (
+ <p className="py-6 text-center text-sm text-muted-foreground">
+ {t("settings:adminWebhooks.noDeliveries")}
+ </p>
+ ) : null}
+ <ul className="divide-y divide-border">
+ {data?.map((delivery) => (
+ <li
+ key={delivery.id}
+ className="flex items-start justify-between gap-4 py-3"
+ >
+ <div className="min-w-0 space-y-1">
+ <p className="text-sm font-medium">
+ {getAuditActionLabel(delivery.action, t)}
+ </p>
+ <time
+ dateTime={delivery.createdAt}
+ className="text-xs text-muted-foreground"
+ >
+ {new Date(delivery.createdAt).toLocaleString(i18n.language)}
+ </time>
+ <p className="text-xs text-muted-foreground">
+ {t("settings:adminWebhooks.attempts", {
+ count: delivery.attempts,
+ })}
+ </p>
+ </div>
+ <div className="flex flex-col items-end gap-1">
+ <Badge
+ variant={
+ delivery.state === "succeeded"
+ ? "success"
+ : delivery.state === "failed"
+ ? "error"
+ : "secondary"
+ }
+ >
+ {delivery.state === "succeeded"
+ ? t("settings:adminWebhooks.succeeded")
+ : delivery.state === "failed"
+ ? t("settings:adminWebhooks.failed")
+ : t("settings:adminWebhooks.pending")}
+ </Badge>
+ {delivery.statusCode ? (
+ <span className="font-mono text-xs">
+ {t("settings:adminWebhooks.httpStatus", {
+ status: delivery.statusCode,
+ })}
+ </span>
+ ) : null}
+ {delivery.errorCode ? (
+ <span className="text-xs text-muted-foreground">
+ {getWebhookErrorLabel(delivery.errorCode, t)}
+ </span>
+ ) : null}
+ </div>
+ </li>
+ ))}
+ </ul>
+ </DialogPanel>
+ <DialogFooter>
+ <DialogClose render={<Button type="button" variant="outline" />}>
+ {t("common:actions.close")}
+ </DialogClose>
+ </DialogFooter>
+ </DialogPopup>
+ </Dialog>
+ );
+}
diff --git a/apps/web/src/components/admin/webhooks/webhook-dialog.test.tsx b/apps/web/src/components/admin/webhooks/webhook-dialog.test.tsx
new file mode 100644
index 000000000..a001b518c
--- /dev/null
+++ b/apps/web/src/components/admin/webhooks/webhook-dialog.test.tsx
@@ -0,0 +1,67 @@
+import {
+ cleanup,
+ fireEvent,
+ render,
+ screen,
+ waitFor,
+} from "@testing-library/react";
+import { afterEach, describe, expect, it, vi } from "vite-plus/test";
+import enUS from "@i18n/en-US.json";
+import type { AdminWebhook } from "@/fetchers/admin/webhook-types";
+import { WebhookDialog } from "./webhook-dialog";
+
+const mutation = vi.hoisted(() => ({
+ mutateAsync: vi.fn().mockResolvedValue({}),
+ reset: vi.fn(),
+ isPending: false,
+}));
+vi.mock("@/hooks/mutations/admin/use-admin-webhook-mutation", () => ({
+ default: () => mutation,
+}));
+vi.mock("react-i18next", () => ({
+ initReactI18next: { type: "3rdParty", init: () => {} },
+ useTranslation: () => ({
+ t: (key: string) => {
+ const [namespace, path] = key.split(":");
+ let value: unknown = enUS[namespace as keyof typeof enUS];
+ for (const part of path!.split("."))
+ value = (value as Record<string, unknown>)?.[part];
+ return value ?? key;
+ },
+ }),
+}));
+afterEach(() => {
+ cleanup();
+ vi.clearAllMocks();
+});
+
+const webhook: AdminWebhook = {
+ id: "w1",
+ url: "https://example.com/events",
+ categories: ["user"],
+ enabled: true,
+ createdAt: "2026-10-27T12:00:00Z",
+};
+
+describe("WebhookDialog", () => {
+ it("labels Save and submits the edited enabled state without displaying a secret", async () => {
+ const onClose = vi.fn();
+ const onSecret = vi.fn();
+ render(
+ <WebhookDialog webhook={webhook} onClose={onClose} onSecret={onSecret} />,
+ );
+ expect(screen.getByLabelText("URL")).toHaveValue(webhook.url);
+ expect(screen.queryByLabelText("Signing secret")).toBeNull();
+ fireEvent.click(screen.getByRole("switch", { name: "Enabled" }));
+ fireEvent.click(screen.getByRole("button", { name: "Save" }));
+ await waitFor(() => expect(onClose).toHaveBeenCalledOnce());
+ expect(mutation.mutateAsync).toHaveBeenCalledWith(
+ expect.objectContaining({
+ webhookId: "w1",
+ enabled: false,
+ categories: ["user"],
+ }),
+ );
+ expect(onSecret).not.toHaveBeenCalled();
+ });
+});
diff --git a/apps/web/src/components/admin/webhooks/webhook-dialog.tsx b/apps/web/src/components/admin/webhooks/webhook-dialog.tsx
new file mode 100644
index 000000000..0112467c9
--- /dev/null
+++ b/apps/web/src/components/admin/webhooks/webhook-dialog.tsx
@@ -0,0 +1,154 @@
+import { type FormEvent, useState } from "react";
+import { useTranslation } from "react-i18next";
+import { AUDIT_LOG_CATEGORIES } from "@/components/admin/audit-log/audit-log-categories";
+import { Button } from "@/components/ui/button";
+import { Checkbox } from "@/components/ui/checkbox";
+import {
+ Dialog,
+ DialogClose,
+ DialogFooter,
+ DialogHeader,
+ DialogPanel,
+ DialogPopup,
+ DialogTitle,
+} from "@/components/ui/dialog";
+import { Field, FieldLabel } from "@/components/ui/field";
+import { Input } from "@/components/ui/input";
+import { Switch } from "@/components/ui/switch";
+import { createAdminWebhook } from "@/fetchers/admin/create-admin-webhook";
+import { updateAdminWebhook } from "@/fetchers/admin/update-admin-webhook";
+import type {
+ AdminWebhook,
+ AdminWebhookValues,
+} from "@/fetchers/admin/webhook-types";
+import useAdminWebhookMutation from "@/hooks/mutations/admin/use-admin-webhook-mutation";
+
+type Props = {
+ webhook: AdminWebhook | null;
+ onClose: () => void;
+ onSecret: (secret: string) => void;
+};
+export function WebhookDialog({ webhook, onClose, onSecret }: Props) {
+ const { t } = useTranslation();
+ const [values, setValues] = useState<AdminWebhookValues>(
+ webhook ?? { url: "", categories: [], enabled: true },
+ );
+ const create = useAdminWebhookMutation(createAdminWebhook);
+ const update = useAdminWebhookMutation(updateAdminWebhook);
+ const pending = create.isPending || update.isPending;
+ const submit = async (event: FormEvent<HTMLFormElement>) => {
+ event.preventDefault();
+ if (!values.categories.length) return;
+ try {
+ if (webhook)
+ await update.mutateAsync({ ...values, webhookId: webhook.id });
+ else {
+ const result = await create.mutateAsync(values);
+ onSecret(result.secret);
+ create.reset();
+ }
+ onClose();
+ } catch {
+ return;
+ }
+ };
+ return (
+ <Dialog
+ open
+ onOpenChange={(open) => {
+ if (!open && !pending) onClose();
+ }}
+ >
+ <DialogPopup className="sm:max-w-md">
+ <form className="contents" onSubmit={submit}>
+ <DialogHeader>
+ <DialogTitle>
+ {webhook
+ ? t("settings:adminWebhooks.edit")
+ : t("settings:adminWebhooks.add")}
+ </DialogTitle>
+ </DialogHeader>
+ <DialogPanel>
+ <div className="space-y-5">
+ <Field>
+ <FieldLabel htmlFor="webhook-url">
+ {t("settings:adminWebhooks.url")}
+ </FieldLabel>
+ <Input
+ id="webhook-url"
+ type="url"
+ required
+ maxLength={2048}
+ autoComplete="off"
+ placeholder="https://"
+ value={values.url}
+ disabled={pending}
+ onChange={(e) =>
+ setValues({ ...values, url: e.target.value })
+ }
+ />
+ </Field>
+ <fieldset className="space-y-3" disabled={pending}>
+ <legend className="mb-3 text-sm font-medium">
+ {t("settings:adminWebhooks.categories")}
+ </legend>
+ <div className="grid grid-cols-2 gap-3">
+ {AUDIT_LOG_CATEGORIES.filter(
+ (category) => category.value !== "",
+ ).map(({ value, labelKey }) => (
+ <label
+ key={value}
+ className="flex items-center gap-2 text-sm"
+ >
+ <Checkbox
+ checked={values.categories.includes(value)}
+ disabled={pending}
+ onCheckedChange={(checked) =>
+ setValues({
+ ...values,
+ categories: checked
+ ? [...values.categories, value]
+ : values.categories.filter(
+ (category) => category !== value,
+ ),
+ })
+ }
+ />
+ {t(labelKey)}
+ </label>
+ ))}
+ </div>
+ </fieldset>
+ <label className="flex items-center justify-between gap-4 text-sm font-medium">
+ {t("settings:adminWebhooks.enabled")}
+ <Switch
+ checked={values.enabled}
+ disabled={pending}
+ onCheckedChange={(enabled) =>
+ setValues({ ...values, enabled })
+ }
+ />
+ </label>
+ </div>
+ </DialogPanel>
+ <DialogFooter>
+ <DialogClose
+ render={<Button type="button" variant="outline" />}
+ disabled={pending}
+ >
+ {t("common:actions.cancel")}
+ </DialogClose>
+ <Button
+ type="submit"
+ disabled={pending || !values.categories.length || !values.url}
+ >
+ {webhook
+ ? t("settings:adminWebhooks.save")
+ : t("settings:adminWebhooks.add")}
+ </Button>
+ </DialogFooter>
+ </form>
+ </DialogPopup>
+ </Dialog>
+ );
+}
diff --git a/apps/web/src/components/admin/webhooks/webhook-row.tsx b/apps/web/src/components/admin/webhooks/webhook-row.tsx
new file mode 100644
index 000000000..32a58b1dd
--- /dev/null
+++ b/apps/web/src/components/admin/webhooks/webhook-row.tsx
@@ -0,0 +1,102 @@
+import {
+ HistoryIcon,
+ KeyRoundIcon,
+ PencilIcon,
+ SendIcon,
+ Trash2Icon,
+} from "lucide-react";
+import { useTranslation } from "react-i18next";
+import { AUDIT_LOG_CATEGORIES } from "@/components/admin/audit-log/audit-log-categories";
+import { RowActionsMenu } from "@/components/settings/row-actions-menu";
+import { Badge } from "@/components/ui/badge";
+import type { AdminWebhook } from "@/fetchers/admin/webhook-types";
+
+type Props = {
+ webhook: AdminWebhook;
+ signingConfigured: boolean;
+ pending: boolean;
+ onEdit: () => void;
+ onDelete: () => void;
+ onRotate: () => void;
+ onTest: () => void;
+ onHistory: () => void;
+};
+export function WebhookRow({
+ webhook,
+ signingConfigured,
+ pending,
+ onEdit,
+ onDelete,
+ onRotate,
+ onTest,
+ onHistory,
+}: Props) {
+ const { t } = useTranslation();
+ return (
+ <div role="listitem" className="flex items-center gap-4 px-4 py-4">
+ <div className="min-w-0 flex-1 space-y-2">
+ <div className="flex min-w-0 items-center gap-2">
+ <span className="truncate text-sm font-medium" title={webhook.url}>
+ {webhook.url}
+ </span>
+ <Badge variant={webhook.enabled ? "success" : "secondary"}>
+ {webhook.enabled
+ ? t("settings:adminWebhooks.enabled")
+ : t("settings:adminWebhooks.disabled")}
+ </Badge>
+ </div>
+ <div className="flex flex-wrap gap-1">
+ {AUDIT_LOG_CATEGORIES.filter(
+ (category) =>
+ category.value !== "" &&
+ webhook.categories.includes(category.value),
+ ).map((category) => (
+ <Badge key={category.value} variant="outline">
+ {t(category.labelKey)}
+ </Badge>
+ ))}
+ </div>
+ </div>
+ <RowActionsMenu
+ label={t("settings:adminWebhooks.actions", { url: webhook.url })}
+ actions={[
+ {
+ id: "edit",
+ label: t("settings:adminWebhooks.edit"),
+ icon: PencilIcon,
+ onSelect: onEdit,
+ disabled: pending,
+ },
+ {
+ id: "history",
+ label: t("settings:adminWebhooks.deliveries"),
+ icon: HistoryIcon,
+ onSelect: onHistory,
+ },
+ {
+ id: "test",
+ label: t("settings:adminWebhooks.sendTest"),
+ icon: SendIcon,
+ onSelect: onTest,
+ disabled: pending || !webhook.enabled,
+ },
+ {
+ id: "rotate",
+ label: t("settings:adminWebhooks.rotate"),
+ icon: KeyRoundIcon,
+ onSelect: onRotate,
+ disabled: pending || !signingConfigured,
+ },
+ {
+ id: "delete",
+ label: t("common:actions.delete"),
+ icon: Trash2Icon,
+ onSelect: onDelete,
+ destructive: true,
+ disabled: pending,
+ },
+ ]}
+ />
+ </div>
+ );
+}
diff --git a/apps/web/src/components/admin/webhooks/webhook-secret-dialog.tsx b/apps/web/src/components/admin/webhooks/webhook-secret-dialog.tsx
new file mode 100644
index 000000000..b5ce91730
--- /dev/null
+++ b/apps/web/src/components/admin/webhooks/webhook-secret-dialog.tsx
@@ -0,0 +1,50 @@
+import { useTranslation } from "react-i18next";
+import { Button } from "@/components/ui/button";
+import {
+ Dialog,
+ DialogClose,
+ DialogFooter,
+ DialogHeader,
+ DialogPanel,
+ DialogPopup,
+ DialogTitle,
+} from "@/components/ui/dialog";
+import { Input } from "@/components/ui/input";
+
+export function WebhookSecretDialog({
+ secret,
+ onClose,
+}: {
+ secret: string;
+ onClose: () => void;
+}) {
+ const { t } = useTranslation();
+ return (
+ <Dialog
+ open
+ onOpenChange={(open) => {
+ if (!open) onClose();
+ }}
+ >
+ <DialogPopup>
+ <DialogHeader>
+ <DialogTitle>{t("settings:adminWebhooks.secretTitle")}</DialogTitle>
+ </DialogHeader>
+ <DialogPanel>
+ <Input
+ aria-label={t("settings:adminWebhooks.signingSecret")}
+ readOnly
+ value={secret}
+ className="font-mono text-xs"
+ onFocus={(e) => e.target.select()}
+ />
+ </DialogPanel>
+ <DialogFooter>
+ <DialogClose render={<Button type="button" />}>
+ {t("common:actions.close")}
+ </DialogClose>
+ </DialogFooter>
+ </DialogPopup>
+ </Dialog>
+ );
+}
diff --git a/apps/web/src/components/admin/webhooks/webhooks-panel.tsx b/apps/web/src/components/admin/webhooks/webhooks-panel.tsx
new file mode 100644
index 000000000..9eb43a75e
--- /dev/null
+++ b/apps/web/src/components/admin/webhooks/webhooks-panel.tsx
@@ -0,0 +1,157 @@
+import { PlusIcon } from "lucide-react";
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { DirectoryErrorRow } from "@/components/admin/directory/directory-error-row";
+import { ConfirmDialog } from "@/components/settings/confirm-dialog";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsPage } from "@/components/settings/settings-page";
+import { SettingsRowsSkeleton } from "@/components/settings/settings-rows-skeleton";
+import { Button } from "@/components/ui/button";
+import { deleteAdminWebhook } from "@/fetchers/admin/delete-admin-webhook";
+import { rotateAdminWebhookSecret } from "@/fetchers/admin/rotate-admin-webhook-secret";
+import { sendAdminWebhookTest } from "@/fetchers/admin/send-admin-webhook-test";
+import type { AdminWebhook } from "@/fetchers/admin/webhook-types";
+import useAdminWebhookMutation from "@/hooks/mutations/admin/use-admin-webhook-mutation";
+import useAdminWebhooks from "@/hooks/queries/admin/use-admin-webhooks";
+import { toast } from "@/lib/toast";
+import { WebhookDialog } from "./webhook-dialog";
+import { WebhookDeliveriesDialog } from "./webhook-deliveries-dialog";
+import { WebhookRow } from "./webhook-row";
+import { WebhookSecretDialog } from "./webhook-secret-dialog";
+
+type Confirmation = { kind: "delete" | "rotate"; webhook: AdminWebhook };
+export default function WebhooksPanel() {
+ const { t } = useTranslation();
+ const { data, isLoading, isError, refetch } = useAdminWebhooks();
+ const [editing, setEditing] = useState<AdminWebhook | null | undefined>(
+ undefined,
+ );
+ const [secret, setSecret] = useState<string | null>(null);
+ const [history, setHistory] = useState<string | null>(null);
+ const [confirmation, setConfirmation] = useState<Confirmation | null>(null);
+ const remove = useAdminWebhookMutation(deleteAdminWebhook);
+ const rotate = useAdminWebhookMutation(rotateAdminWebhookSecret);
+ const test = useAdminWebhookMutation(sendAdminWebhookTest);
+ const pending = remove.isPending || rotate.isPending || test.isPending;
+ const confirm = async () => {
+ if (!confirmation) return;
+ try {
+ if (confirmation.kind === "delete")
+ await remove.mutateAsync(confirmation.webhook.id);
+ else {
+ const result = await rotate.mutateAsync(confirmation.webhook.id);
+ setSecret(result.secret);
+ rotate.reset();
+ }
+ setConfirmation(null);
+ } catch {
+ return;
+ }
+ };
+ const sendTest = async (id: string) => {
+ try {
+ await test.mutateAsync(id);
+ toast.success(t("settings:adminWebhooks.testQueued"));
+ setHistory(id);
+ } catch {
+ return;
+ }
+ };
+ return (
+ <SettingsPage
+ title={t("settings:adminWebhooks.title")}
+ actions={
+ <Button
+ type="button"
+ size="sm"
+ disabled={!data?.signingConfigured}
+ onClick={() => setEditing(null)}
+ >
+ <PlusIcon aria-hidden="true" />
+ {t("settings:adminWebhooks.add")}
+ </Button>
+ }
+ >
+ {data && !data.signingConfigured ? (
+ <p className="text-sm text-muted-foreground">
+ {t("settings:adminWebhooks.setup")}
+ </p>
+ ) : null}
+ <SettingsCard>
+ {isLoading ? <SettingsRowsSkeleton rows={3} /> : null}
+ {isError ? (
+ <DirectoryErrorRow
+ message={t("settings:adminWebhooks.loadError")}
+ retryLabel={t("settings:adminUsers.retry")}
+ onRetry={() => refetch()}
+ />
+ ) : null}
+ {data?.webhooks.length === 0 ? (
+ <p className="px-4 py-8 text-center text-sm text-muted-foreground">
+ {t("settings:adminWebhooks.empty")}
+ </p>
+ ) : null}
+ {data ? (
+ <div
+ role="list"
+ aria-label={t("settings:adminWebhooks.title")}
+ className="divide-y divide-border"
+ >
+ {data.webhooks.map((webhook) => (
+ <WebhookRow
+ key={webhook.id}
+ webhook={webhook}
+ signingConfigured={data.signingConfigured}
+ pending={pending}
+ onEdit={() => setEditing(webhook)}
+ onDelete={() => setConfirmation({ kind: "delete", webhook })}
+ onRotate={() => setConfirmation({ kind: "rotate", webhook })}
+ onTest={() => {
+ void sendTest(webhook.id);
+ }}
+ onHistory={() => setHistory(webhook.id)}
+ />
+ ))}
+ </div>
+ ) : null}
+ </SettingsCard>
+ {editing !== undefined ? (
+ <WebhookDialog
+ webhook={editing}
+ onClose={() => setEditing(undefined)}
+ onSecret={setSecret}
+ />
+ ) : null}
+ {secret ? (
+ <WebhookSecretDialog secret={secret} onClose={() => setSecret(null)} />
+ ) : null}
+ {history ? (
+ <WebhookDeliveriesDialog
+ webhookId={history}
+ onClose={() => setHistory(null)}
+ />
+ ) : null}
+ <ConfirmDialog
+ open={confirmation !== null}
+ title={
+ confirmation?.kind === "rotate"
+ ? t("settings:adminWebhooks.rotateTitle")
+ : t("settings:adminWebhooks.deleteTitle")
+ }
+ confirmLabel={
+ confirmation?.kind === "rotate"
+ ? t("settings:adminWebhooks.rotate")
+ : t("common:actions.delete")
+ }
+ pending={remove.isPending || rotate.isPending}
+ onConfirm={() => {
+ void confirm();
+ }}
+ onOpenChange={(open) => {
+ if (!open && !remove.isPending && !rotate.isPending)
+ setConfirmation(null);
+ }}
+ />
+ </SettingsPage>
+ );
+}
diff --git a/apps/web/src/components/settings/nav/build-settings-nav.test.ts b/apps/web/src/components/settings/nav/build-settings-nav.test.ts
index a746f2bae..564212f5f 100644
--- a/apps/web/src/components/settings/nav/build-settings-nav.test.ts
+++ b/apps/web/src/components/settings/nav/build-settings-nav.test.ts
@@ -79,6 +79,17 @@ describe("buildSettingsNav", () => {
).toEqual(["/dashboard/settings/admin/audit-log"]);
});
+ it("shows webhooks alongside instance settings", () => {
+ expect(
+ build({ adminPermissions: ["instance:settings"] }).admin?.links.map(
+ (link) => link.to,
+ ),
+ ).toEqual([
+ "/dashboard/settings/admin/settings",
+ "/dashboard/settings/admin/webhooks",
+ ]);
+ });
+
it.each([
"users:read",
"workspaces:read",
diff --git a/apps/web/src/components/settings/nav/build-settings-nav.ts b/apps/web/src/components/settings/nav/build-settings-nav.ts
index 4a341c710..f46565523 100644
--- a/apps/web/src/components/settings/nav/build-settings-nav.ts
+++ b/apps/web/src/components/settings/nav/build-settings-nav.ts
@@ -16,6 +16,7 @@ import {
SlidersHorizontal,
Tag,
User,
+ Webhook,
} from "lucide-react";
import type { InstancePermission } from "@kaneo/permissions";
import {
@@ -83,6 +84,12 @@ const ADMIN_LINKS = [
to: "/dashboard/settings/admin/settings",
icon: Settings2,
},
+ {
+ id: "admin-webhooks",
+ labelKey: "settings:adminWebhooks.title",
+ to: "/dashboard/settings/admin/webhooks",
+ icon: Webhook,
+ },
] as const satisfies readonly {
id: string;
labelKey: string;
diff --git a/apps/web/src/fetchers/admin/create-admin-webhook.ts b/apps/web/src/fetchers/admin/create-admin-webhook.ts
new file mode 100644
index 000000000..080a60a3f
--- /dev/null
+++ b/apps/web/src/fetchers/admin/create-admin-webhook.ts
@@ -0,0 +1,9 @@
+import { client } from "@kaneo/libs";
+import { HttpError } from "@/lib/http-error";
+import type { AdminWebhookValues } from "./webhook-types";
+
+export async function createAdminWebhook(json: AdminWebhookValues) {
+ const response = await client.admin.webhooks.$post({ json });
+ if (!response.ok) throw await HttpError.fromResponse(response);
+ return response.json();
+}
diff --git a/apps/web/src/fetchers/admin/delete-admin-webhook.ts b/apps/web/src/fetchers/admin/delete-admin-webhook.ts
new file mode 100644
index 000000000..09f481a02
--- /dev/null
+++ b/apps/web/src/fetchers/admin/delete-admin-webhook.ts
@@ -0,0 +1,10 @@
+import { client } from "@kaneo/libs";
+import { HttpError } from "@/lib/http-error";
+
+export async function deleteAdminWebhook(webhookId: string) {
+ const response = await client.admin.webhooks[":webhookId"].$delete({
+ param: { webhookId },
+ });
+ if (!response.ok) throw await HttpError.fromResponse(response);
+ return response.json();
+}
diff --git a/apps/web/src/fetchers/admin/get-admin-webhook-deliveries.ts b/apps/web/src/fetchers/admin/get-admin-webhook-deliveries.ts
new file mode 100644
index 000000000..3d1834128
--- /dev/null
+++ b/apps/web/src/fetchers/admin/get-admin-webhook-deliveries.ts
@@ -0,0 +1,10 @@
+import { client } from "@kaneo/libs";
+import { HttpError } from "@/lib/http-error";
+
+export async function getAdminWebhookDeliveries(webhookId: string) {
+ const response = await client.admin.webhooks[":webhookId"].deliveries.$get({
+ param: { webhookId },
+ });
+ if (!response.ok) throw await HttpError.fromResponse(response);
+ return response.json();
+}
diff --git a/apps/web/src/fetchers/admin/get-admin-webhooks.ts b/apps/web/src/fetchers/admin/get-admin-webhooks.ts
new file mode 100644
index 000000000..1160f8c9b
--- /dev/null
+++ b/apps/web/src/fetchers/admin/get-admin-webhooks.ts
@@ -0,0 +1,8 @@
+import { client } from "@kaneo/libs";
+import { HttpError } from "@/lib/http-error";
+
+export async function getAdminWebhooks() {
+ const response = await client.admin.webhooks.$get();
+ if (!response.ok) throw await HttpError.fromResponse(response);
+ return response.json();
+}
diff --git a/apps/web/src/fetchers/admin/rotate-admin-webhook-secret.ts b/apps/web/src/fetchers/admin/rotate-admin-webhook-secret.ts
new file mode 100644
index 000000000..01c12b0cc
--- /dev/null
+++ b/apps/web/src/fetchers/admin/rotate-admin-webhook-secret.ts
@@ -0,0 +1,10 @@
+import { client } from "@kaneo/libs";
+import { HttpError } from "@/lib/http-error";
+
+export async function rotateAdminWebhookSecret(webhookId: string) {
+ const response = await client.admin.webhooks[":webhookId"][
+ "rotate-secret"
+ ].$post({ param: { webhookId } });
+ if (!response.ok) throw await HttpError.fromResponse(response);
+ return response.json();
+}
diff --git a/apps/web/src/fetchers/admin/send-admin-webhook-test.ts b/apps/web/src/fetchers/admin/send-admin-webhook-test.ts
new file mode 100644
index 000000000..228fd67f6
--- /dev/null
+++ b/apps/web/src/fetchers/admin/send-admin-webhook-test.ts
@@ -0,0 +1,10 @@
+import { client } from "@kaneo/libs";
+import { HttpError } from "@/lib/http-error";
+
+export async function sendAdminWebhookTest(webhookId: string) {
+ const response = await client.admin.webhooks[":webhookId"].test.$post({
+ param: { webhookId },
+ });
+ if (!response.ok) throw await HttpError.fromResponse(response);
+ return response.json();
+}
diff --git a/apps/web/src/fetchers/admin/update-admin-webhook.ts b/apps/web/src/fetchers/admin/update-admin-webhook.ts
new file mode 100644
index 000000000..538bb74cc
--- /dev/null
+++ b/apps/web/src/fetchers/admin/update-admin-webhook.ts
@@ -0,0 +1,15 @@
+import { client } from "@kaneo/libs";
+import { HttpError } from "@/lib/http-error";
+import type { AdminWebhookValues } from "./webhook-types";
+
+export async function updateAdminWebhook({
+ webhookId,
+ ...json
+}: AdminWebhookValues & { webhookId: string }) {
+ const response = await client.admin.webhooks[":webhookId"].$put({
+ param: { webhookId },
+ json,
+ });
+ if (!response.ok) throw await HttpError.fromResponse(response);
+ return response.json();
+}
diff --git a/apps/web/src/fetchers/admin/webhook-types.ts b/apps/web/src/fetchers/admin/webhook-types.ts
new file mode 100644
index 000000000..5497737e3
--- /dev/null
+++ b/apps/web/src/fetchers/admin/webhook-types.ts
@@ -0,0 +1,8 @@
+import type { getAdminWebhooks } from "./get-admin-webhooks";
+export type AdminWebhook = Awaited<
+ ReturnType<typeof getAdminWebhooks>
+>["webhooks"][number];
+export type AdminWebhookValues = Pick<
+ AdminWebhook,
+ "url" | "categories" | "enabled"
+>;
diff --git a/apps/web/src/hooks/mutations/admin/use-admin-webhook-mutation.ts b/apps/web/src/hooks/mutations/admin/use-admin-webhook-mutation.ts
new file mode 100644
index 000000000..00b1953b7
--- /dev/null
+++ b/apps/web/src/hooks/mutations/admin/use-admin-webhook-mutation.ts
@@ -0,0 +1,25 @@
+import { useMutation, useQueryClient } from "@tanstack/react-query";
+import { useTranslation } from "react-i18next";
+import { ADMIN_WEBHOOKS_QUERY_KEY } from "@/hooks/queries/admin/use-admin-webhooks";
+import { toast } from "@/lib/toast";
+export default function useAdminWebhookMutation<T, R>(
+ mutationFn: (input: T) => Promise<R>,
+) {
+ const queryClient = useQueryClient();
+ const { t } = useTranslation();
+ return useMutation({
+ mutationFn,
+ gcTime: 0,
+ onSuccess: () => {
+ queryClient.invalidateQueries({ queryKey: ADMIN_WEBHOOKS_QUERY_KEY });
+ queryClient.invalidateQueries({ queryKey: ["admin", "audit-log"] });
+ queryClient.invalidateQueries({ queryKey: ["admin", "overview"] });
+ },
+ onError: (error) =>
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:adminWebhooks.saveError"),
+ ),
+ });
+}
diff --git a/apps/web/src/hooks/queries/admin/use-admin-webhook-deliveries.ts b/apps/web/src/hooks/queries/admin/use-admin-webhook-deliveries.ts
new file mode 100644
index 000000000..357e78693
--- /dev/null
+++ b/apps/web/src/hooks/queries/admin/use-admin-webhook-deliveries.ts
@@ -0,0 +1,16 @@
+import { useQuery } from "@tanstack/react-query";
+import useAuth from "@/components/providers/auth-provider/hooks/use-auth";
+import { getAdminWebhookDeliveries } from "@/fetchers/admin/get-admin-webhook-deliveries";
+import { ADMIN_WEBHOOKS_QUERY_KEY } from "./use-admin-webhooks";
+export default function useAdminWebhookDeliveries(
+ webhookId: string,
+ open: boolean,
+) {
+ const { user } = useAuth();
+ return useQuery({
+ queryKey: [...ADMIN_WEBHOOKS_QUERY_KEY, user?.id, webhookId, "deliveries"],
+ queryFn: () => getAdminWebhookDeliveries(webhookId),
+ enabled: Boolean(user?.id) && open,
+ refetchInterval: open ? 2000 : false,
+ });
+}
diff --git a/apps/web/src/hooks/queries/admin/use-admin-webhooks.ts b/apps/web/src/hooks/queries/admin/use-admin-webhooks.ts
new file mode 100644
index 000000000..90ad17628
--- /dev/null
+++ b/apps/web/src/hooks/queries/admin/use-admin-webhooks.ts
@@ -0,0 +1,12 @@
+import { useQuery } from "@tanstack/react-query";
+import useAuth from "@/components/providers/auth-provider/hooks/use-auth";
+import { getAdminWebhooks } from "@/fetchers/admin/get-admin-webhooks";
+export const ADMIN_WEBHOOKS_QUERY_KEY = ["admin", "webhooks"] as const;
+export default function useAdminWebhooks() {
+ const { user } = useAuth();
+ return useQuery({
+ queryKey: [...ADMIN_WEBHOOKS_QUERY_KEY, user?.id],
+ queryFn: getAdminWebhooks,
+ enabled: Boolean(user?.id),
+ });
+}
diff --git a/apps/web/src/routeTree.gen.ts b/apps/web/src/routeTree.gen.ts
index 014e32b2b..ceaab4b30 100644
--- a/apps/web/src/routeTree.gen.ts
+++ b/apps/web/src/routeTree.gen.ts
@@ -52,6 +52,7 @@ import { Route as LayoutAuthenticatedDashboardSettingsAdminRolesRouteImport } fr
import { Route as LayoutAuthenticatedDashboardSettingsAdminSettingsRouteImport } from './routes/_layout/_authenticated/dashboard/settings/admin/settings'
import { Route as LayoutAuthenticatedDashboardSettingsAdminSystemRouteImport } from './routes/_layout/_authenticated/dashboard/settings/admin/system'
import { Route as LayoutAuthenticatedDashboardSettingsAdminUsersRouteImport } from './routes/_layout/_authenticated/dashboard/settings/admin/users'
+import { Route as LayoutAuthenticatedDashboardSettingsAdminWebhooksRouteImport } from './routes/_layout/_authenticated/dashboard/settings/admin/webhooks'
import { Route as LayoutAuthenticatedDashboardSettingsAdminWorkspacesRouteImport } from './routes/_layout/_authenticated/dashboard/settings/admin/workspaces'
import { Route as LayoutAuthenticatedDashboardSettingsWorkspaceBillingRouteImport } from './routes/_layout/_authenticated/dashboard/settings/workspace/billing'
import { Route as LayoutAuthenticatedDashboardSettingsWorkspaceGeneralRouteImport } from './routes/_layout/_authenticated/dashboard/settings/workspace/general'
@@ -319,6 +320,12 @@ const LayoutAuthenticatedDashboardSettingsAdminUsersRoute =
path: '/users',
getParentRoute: () => LayoutAuthenticatedDashboardSettingsAdminRoute,
} as any)
+const LayoutAuthenticatedDashboardSettingsAdminWebhooksRoute =
+ LayoutAuthenticatedDashboardSettingsAdminWebhooksRouteImport.update({
+ id: '/webhooks',
+ path: '/webhooks',
+ getParentRoute: () => LayoutAuthenticatedDashboardSettingsAdminRoute,
+ } as any)
const LayoutAuthenticatedDashboardSettingsAdminWorkspacesRoute =
LayoutAuthenticatedDashboardSettingsAdminWorkspacesRouteImport.update({
id: '/workspaces',
@@ -535,6 +542,7 @@ export interface FileRoutesByFullPath {
'/dashboard/settings/admin/settings': typeof LayoutAuthenticatedDashboardSettingsAdminSettingsRoute
'/dashboard/settings/admin/system': typeof LayoutAuthenticatedDashboardSettingsAdminSystemRoute
'/dashboard/settings/admin/users': typeof LayoutAuthenticatedDashboardSettingsAdminUsersRoute
+ '/dashboard/settings/admin/webhooks': typeof LayoutAuthenticatedDashboardSettingsAdminWebhooksRoute
'/dashboard/settings/admin/workspaces': typeof LayoutAuthenticatedDashboardSettingsAdminWorkspacesRoute
'/dashboard/settings/workspace/billing': typeof LayoutAuthenticatedDashboardSettingsWorkspaceBillingRoute
'/dashboard/settings/workspace/general': typeof LayoutAuthenticatedDashboardSettingsWorkspaceGeneralRoute
@@ -598,6 +606,7 @@ export interface FileRoutesByTo {
'/dashboard/settings/admin/settings': typeof LayoutAuthenticatedDashboardSettingsAdminSettingsRoute
'/dashboard/settings/admin/system': typeof LayoutAuthenticatedDashboardSettingsAdminSystemRoute
'/dashboard/settings/admin/users': typeof LayoutAuthenticatedDashboardSettingsAdminUsersRoute
+ '/dashboard/settings/admin/webhooks': typeof LayoutAuthenticatedDashboardSettingsAdminWebhooksRoute
'/dashboard/settings/admin/workspaces': typeof LayoutAuthenticatedDashboardSettingsAdminWorkspacesRoute
'/dashboard/settings/workspace/billing': typeof LayoutAuthenticatedDashboardSettingsWorkspaceBillingRoute
'/dashboard/settings/workspace/general': typeof LayoutAuthenticatedDashboardSettingsWorkspaceGeneralRoute
@@ -668,6 +677,7 @@ export interface FileRoutesById {
'/_layout/_authenticated/dashboard/settings/admin/settings': typeof LayoutAuthenticatedDashboardSettingsAdminSettingsRoute
'/_layout/_authenticated/dashboard/settings/admin/system': typeof LayoutAuthenticatedDashboardSettingsAdminSystemRoute
'/_layout/_authenticated/dashboard/settings/admin/users': typeof LayoutAuthenticatedDashboardSettingsAdminUsersRoute
+ '/_layout/_authenticated/dashboard/settings/admin/webhooks': typeof LayoutAuthenticatedDashboardSettingsAdminWebhooksRoute
'/_layout/_authenticated/dashboard/settings/admin/workspaces': typeof LayoutAuthenticatedDashboardSettingsAdminWorkspacesRoute
'/_layout/_authenticated/dashboard/settings/workspace/billing': typeof LayoutAuthenticatedDashboardSettingsWorkspaceBillingRoute
'/_layout/_authenticated/dashboard/settings/workspace/general': typeof LayoutAuthenticatedDashboardSettingsWorkspaceGeneralRoute
@@ -737,6 +747,7 @@ export interface FileRouteTypes {
| '/dashboard/settings/admin/settings'
| '/dashboard/settings/admin/system'
| '/dashboard/settings/admin/users'
+ | '/dashboard/settings/admin/webhooks'
| '/dashboard/settings/admin/workspaces'
| '/dashboard/settings/workspace/billing'
| '/dashboard/settings/workspace/general'
@@ -800,6 +811,7 @@ export interface FileRouteTypes {
| '/dashboard/settings/admin/settings'
| '/dashboard/settings/admin/system'
| '/dashboard/settings/admin/users'
+ | '/dashboard/settings/admin/webhooks'
| '/dashboard/settings/admin/workspaces'
| '/dashboard/settings/workspace/billing'
| '/dashboard/settings/workspace/general'
@@ -869,6 +881,7 @@ export interface FileRouteTypes {
| '/_layout/_authenticated/dashboard/settings/admin/settings'
| '/_layout/_authenticated/dashboard/settings/admin/system'
| '/_layout/_authenticated/dashboard/settings/admin/users'
+ | '/_layout/_authenticated/dashboard/settings/admin/webhooks'
| '/_layout/_authenticated/dashboard/settings/admin/workspaces'
| '/_layout/_authenticated/dashboard/settings/workspace/billing'
| '/_layout/_authenticated/dashboard/settings/workspace/general'
@@ -1210,6 +1223,13 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsAdminUsersRouteImport
parentRoute: typeof LayoutAuthenticatedDashboardSettingsAdminRoute
}
+ '/_layout/_authenticated/dashboard/settings/admin/webhooks': {
+ id: '/_layout/_authenticated/dashboard/settings/admin/webhooks'
+ path: '/webhooks'
+ fullPath: '/dashboard/settings/admin/webhooks'
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsAdminWebhooksRouteImport
+ parentRoute: typeof LayoutAuthenticatedDashboardSettingsAdminRoute
+ }
'/_layout/_authenticated/dashboard/settings/admin/workspaces': {
id: '/_layout/_authenticated/dashboard/settings/admin/workspaces'
path: '/workspaces'
@@ -1415,6 +1435,7 @@ interface LayoutAuthenticatedDashboardSettingsAdminRouteChildren {
LayoutAuthenticatedDashboardSettingsAdminSettingsRoute: typeof LayoutAuthenticatedDashboardSettingsAdminSettingsRoute
LayoutAuthenticatedDashboardSettingsAdminSystemRoute: typeof LayoutAuthenticatedDashboardSettingsAdminSystemRoute
LayoutAuthenticatedDashboardSettingsAdminUsersRoute: typeof LayoutAuthenticatedDashboardSettingsAdminUsersRoute
+ LayoutAuthenticatedDashboardSettingsAdminWebhooksRoute: typeof LayoutAuthenticatedDashboardSettingsAdminWebhooksRoute
LayoutAuthenticatedDashboardSettingsAdminWorkspacesRoute: typeof LayoutAuthenticatedDashboardSettingsAdminWorkspacesRoute
LayoutAuthenticatedDashboardSettingsAdminIndexRoute: typeof LayoutAuthenticatedDashboardSettingsAdminIndexRoute
}
@@ -1433,6 +1454,8 @@ const LayoutAuthenticatedDashboardSettingsAdminRouteChildren: LayoutAuthenticate
LayoutAuthenticatedDashboardSettingsAdminSystemRoute,
LayoutAuthenticatedDashboardSettingsAdminUsersRoute:
LayoutAuthenticatedDashboardSettingsAdminUsersRoute,
+ LayoutAuthenticatedDashboardSettingsAdminWebhooksRoute:
+ LayoutAuthenticatedDashboardSettingsAdminWebhooksRoute,
LayoutAuthenticatedDashboardSettingsAdminWorkspacesRoute:
LayoutAuthenticatedDashboardSettingsAdminWorkspacesRoute,
LayoutAuthenticatedDashboardSettingsAdminIndexRoute:
diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/admin/webhooks.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/admin/webhooks.tsx
new file mode 100644
index 000000000..d3635c050
--- /dev/null
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/admin/webhooks.tsx
@@ -0,0 +1,17 @@
+import { createFileRoute } from "@tanstack/react-router";
+import { useTranslation } from "react-i18next";
+import WebhooksPanel from "@/components/admin/webhooks/webhooks-panel";
+import PageTitle from "@/components/page-title";
+
+export const Route = createFileRoute(
+ "/_layout/_authenticated/dashboard/settings/admin/webhooks",
+)({ component: RouteComponent });
+function RouteComponent() {
+ const { t } = useTranslation();
+ return (
+ <>
+ <PageTitle title={t("settings:adminWebhooks.title")} />
+ <WebhooksPanel />
+ </>
+ );
+}
diff --git a/i18n/az-AZ.json b/i18n/az-AZ.json
index 542942633..4a6a41b5d 100644
--- a/i18n/az-AZ.json
+++ b/i18n/az-AZ.json
@@ -2523,7 +2523,11 @@
"roleCreated": "Role created",
"roleDeleted": "Role deleted",
"roleUpdated": "Role updated",
- "instanceSettingsUpdated": "Updated instance settings"
+ "instanceSettingsUpdated": "Updated instance settings",
+ "webhookCreated": "Created webhook",
+ "webhookDeleted": "Deleted webhook",
+ "webhookSecretRotated": "Rotated webhook secret",
+ "webhookUpdated": "Updated webhook"
},
"categories": {
"all": "All actions",
@@ -2533,7 +2537,8 @@
"apiKey": "API keys",
"email": "Email",
"role": "Roles",
- "instance": "Instance settings"
+ "instance": "Instance settings",
+ "webhook": "Webhooks"
},
"categoryLabel": "Filter by category",
"clearFilter": "Show all actions",
@@ -2576,7 +2581,8 @@
"user": "User",
"workspace": "Workspace",
"role": "Role",
- "instance": "Instance"
+ "instance": "Instance",
+ "webhook": "Webhook"
},
"title": "Audit log",
"unknownActor": "Unknown"
@@ -2793,6 +2799,47 @@
"workspaceCreationRestricted": "Only administrators can create workspaces",
"workspaces": "Workspaces",
"save": "Save"
+ },
+ "adminWebhooks": {
+ "actions": "Actions for {{url}}",
+ "add": "Add webhook",
+ "attempts_one": "{{count}} attempt",
+ "attempts_other": "{{count}} attempts",
+ "categories": "Events",
+ "deleteTitle": "Delete webhook?",
+ "deliveries": "Recent deliveries",
+ "disabled": "Disabled",
+ "edit": "Edit webhook",
+ "empty": "No webhooks",
+ "enabled": "Enabled",
+ "errors": {
+ "destination": "Destination blocked",
+ "disabled": "Webhook disabled",
+ "http": "HTTP error",
+ "interrupted": "Delivery interrupted",
+ "network": "Connection failed",
+ "response": "Invalid response",
+ "signing": "Signing failed",
+ "timeout": "Timed out"
+ },
+ "failed": "Failed",
+ "httpStatus": "HTTP {{status}}",
+ "loadError": "Webhooks could not be loaded.",
+ "noDeliveries": "No deliveries",
+ "pending": "Pending",
+ "rotate": "Rotate secret",
+ "rotateTitle": "Rotate signing secret?",
+ "saveError": "The webhook could not be saved.",
+ "secretTitle": "Signing secret — save it now",
+ "sendTest": "Send test",
+ "setup": "Set NOTIFICATION_SECRET_ENCRYPTION_KEY to create webhooks.",
+ "signingSecret": "Signing secret",
+ "succeeded": "Delivered",
+ "testEvent": "Test event",
+ "testQueued": "Test event queued.",
+ "title": "Webhooks",
+ "url": "URL",
+ "save": "Save"
}
},
"navigation": {
diff --git a/i18n/de-DE.json b/i18n/de-DE.json
index e235692fd..384c074a4 100644
--- a/i18n/de-DE.json
+++ b/i18n/de-DE.json
@@ -2523,7 +2523,11 @@
"roleCreated": "Role created",
"roleDeleted": "Role deleted",
"roleUpdated": "Role updated",
- "instanceSettingsUpdated": "Updated instance settings"
+ "instanceSettingsUpdated": "Updated instance settings",
+ "webhookCreated": "Created webhook",
+ "webhookDeleted": "Deleted webhook",
+ "webhookSecretRotated": "Rotated webhook secret",
+ "webhookUpdated": "Updated webhook"
},
"categories": {
"all": "All actions",
@@ -2533,7 +2537,8 @@
"apiKey": "API keys",
"email": "Email",
"role": "Roles",
- "instance": "Instance settings"
+ "instance": "Instance settings",
+ "webhook": "Webhooks"
},
"categoryLabel": "Filter by category",
"clearFilter": "Show all actions",
@@ -2576,7 +2581,8 @@
"user": "User",
"workspace": "Workspace",
"role": "Role",
- "instance": "Instance"
+ "instance": "Instance",
+ "webhook": "Webhook"
},
"title": "Audit log",
"unknownActor": "Unknown"
@@ -2793,6 +2799,47 @@
"workspaceCreationRestricted": "Only administrators can create workspaces",
"workspaces": "Workspaces",
"save": "Save"
+ },
+ "adminWebhooks": {
+ "actions": "Actions for {{url}}",
+ "add": "Add webhook",
+ "attempts_one": "{{count}} attempt",
+ "attempts_other": "{{count}} attempts",
+ "categories": "Events",
+ "deleteTitle": "Delete webhook?",
+ "deliveries": "Recent deliveries",
+ "disabled": "Disabled",
+ "edit": "Edit webhook",
+ "empty": "No webhooks",
+ "enabled": "Enabled",
+ "errors": {
+ "destination": "Destination blocked",
+ "disabled": "Webhook disabled",
+ "http": "HTTP error",
+ "interrupted": "Delivery interrupted",
+ "network": "Connection failed",
+ "response": "Invalid response",
+ "signing": "Signing failed",
+ "timeout": "Timed out"
+ },
+ "failed": "Failed",
+ "httpStatus": "HTTP {{status}}",
+ "loadError": "Webhooks could not be loaded.",
+ "noDeliveries": "No deliveries",
+ "pending": "Pending",
+ "rotate": "Rotate secret",
+ "rotateTitle": "Rotate signing secret?",
+ "saveError": "The webhook could not be saved.",
+ "secretTitle": "Signing secret — save it now",
+ "sendTest": "Send test",
+ "setup": "Set NOTIFICATION_SECRET_ENCRYPTION_KEY to create webhooks.",
+ "signingSecret": "Signing secret",
+ "succeeded": "Delivered",
+ "testEvent": "Test event",
+ "testQueued": "Test event queued.",
+ "title": "Webhooks",
+ "url": "URL",
+ "save": "Save"
}
},
"navigation": {
diff --git a/i18n/el-GR.json b/i18n/el-GR.json
index b15cbb837..98229e2c2 100644
--- a/i18n/el-GR.json
+++ b/i18n/el-GR.json
@@ -2523,7 +2523,11 @@
"roleCreated": "Role created",
"roleDeleted": "Role deleted",
"roleUpdated": "Role updated",
- "instanceSettingsUpdated": "Updated instance settings"
+ "instanceSettingsUpdated": "Updated instance settings",
+ "webhookCreated": "Created webhook",
+ "webhookDeleted": "Deleted webhook",
+ "webhookSecretRotated": "Rotated webhook secret",
+ "webhookUpdated": "Updated webhook"
},
"categories": {
"all": "All actions",
@@ -2533,7 +2537,8 @@
"apiKey": "API keys",
"email": "Email",
"role": "Roles",
- "instance": "Instance settings"
+ "instance": "Instance settings",
+ "webhook": "Webhooks"
},
"categoryLabel": "Filter by category",
"clearFilter": "Show all actions",
@@ -2576,7 +2581,8 @@
"user": "User",
"workspace": "Workspace",
"role": "Role",
- "instance": "Instance"
+ "instance": "Instance",
+ "webhook": "Webhook"
},
"title": "Audit log",
"unknownActor": "Unknown"
@@ -2793,6 +2799,47 @@
"workspaceCreationRestricted": "Only administrators can create workspaces",
"workspaces": "Workspaces",
"save": "Save"
+ },
+ "adminWebhooks": {
+ "actions": "Actions for {{url}}",
+ "add": "Add webhook",
+ "attempts_one": "{{count}} attempt",
+ "attempts_other": "{{count}} attempts",
+ "categories": "Events",
+ "deleteTitle": "Delete webhook?",
+ "deliveries": "Recent deliveries",
+ "disabled": "Disabled",
+ "edit": "Edit webhook",
+ "empty": "No webhooks",
+ "enabled": "Enabled",
+ "errors": {
+ "destination": "Destination blocked",
+ "disabled": "Webhook disabled",
+ "http": "HTTP error",
+ "interrupted": "Delivery interrupted",
+ "network": "Connection failed",
+ "response": "Invalid response",
+ "signing": "Signing failed",
+ "timeout": "Timed out"
+ },
+ "failed": "Failed",
+ "httpStatus": "HTTP {{status}}",
+ "loadError": "Webhooks could not be loaded.",
+ "noDeliveries": "No deliveries",
+ "pending": "Pending",
+ "rotate": "Rotate secret",
+ "rotateTitle": "Rotate signing secret?",
+ "saveError": "The webhook could not be saved.",
+ "secretTitle": "Signing secret — save it now",
+ "sendTest": "Send test",
+ "setup": "Set NOTIFICATION_SECRET_ENCRYPTION_KEY to create webhooks.",
+ "signingSecret": "Signing secret",
+ "succeeded": "Delivered",
+ "testEvent": "Test event",
+ "testQueued": "Test event queued.",
+ "title": "Webhooks",
+ "url": "URL",
+ "save": "Save"
}
},
"navigation": {
diff --git a/i18n/en-US.json b/i18n/en-US.json
index 49ecbe158..bd9d07807 100644
--- a/i18n/en-US.json
+++ b/i18n/en-US.json
@@ -923,7 +923,8 @@
"workspace": "Workspaces",
"apiKey": "API keys",
"role": "Roles",
- "instance": "Instance settings"
+ "instance": "Instance settings",
+ "webhook": "Webhooks"
},
"loadError": "The audit log could not be loaded.",
"retry": "Retry",
@@ -945,7 +946,8 @@
"user": "User",
"workspace": "Workspace",
"role": "Role",
- "instance": "Instance"
+ "instance": "Instance",
+ "webhook": "Webhook"
},
"actions": {
"emailTestSent": "Sent test email",
@@ -975,7 +977,11 @@
"roleCreated": "Role created",
"roleUpdated": "Role updated",
"roleDeleted": "Role deleted",
- "instanceSettingsUpdated": "Updated instance settings"
+ "instanceSettingsUpdated": "Updated instance settings",
+ "webhookCreated": "Created webhook",
+ "webhookUpdated": "Updated webhook",
+ "webhookDeleted": "Deleted webhook",
+ "webhookSecretRotated": "Rotated webhook secret"
},
"fields": {
"name": "name",
@@ -2793,6 +2799,47 @@
"saved": "Settings saved",
"error": "Couldn't save settings"
}
+ },
+ "adminWebhooks": {
+ "title": "Webhooks",
+ "add": "Add webhook",
+ "edit": "Edit webhook",
+ "url": "URL",
+ "categories": "Events",
+ "enabled": "Enabled",
+ "disabled": "Disabled",
+ "actions": "Actions for {{url}}",
+ "deliveries": "Recent deliveries",
+ "sendTest": "Send test",
+ "rotate": "Rotate secret",
+ "rotateTitle": "Rotate signing secret?",
+ "deleteTitle": "Delete webhook?",
+ "secretTitle": "Signing secret — save it now",
+ "signingSecret": "Signing secret",
+ "setup": "Set NOTIFICATION_SECRET_ENCRYPTION_KEY to create webhooks.",
+ "loadError": "Webhooks could not be loaded.",
+ "saveError": "The webhook could not be saved.",
+ "empty": "No webhooks",
+ "noDeliveries": "No deliveries",
+ "testQueued": "Test event queued.",
+ "testEvent": "Test event",
+ "pending": "Pending",
+ "succeeded": "Delivered",
+ "failed": "Failed",
+ "attempts_one": "{{count}} attempt",
+ "attempts_other": "{{count}} attempts",
+ "httpStatus": "HTTP {{status}}",
+ "errors": {
+ "network": "Connection failed",
+ "timeout": "Timed out",
+ "http": "HTTP error",
+ "destination": "Destination blocked",
+ "signing": "Signing failed",
+ "disabled": "Webhook disabled",
+ "interrupted": "Delivery interrupted",
+ "response": "Invalid response"
+ },
+ "save": "Save"
}
},
"navigation": {
diff --git a/i18n/es-ES.json b/i18n/es-ES.json
index 756267dcb..1e1c3f41d 100644
--- a/i18n/es-ES.json
+++ b/i18n/es-ES.json
@@ -2565,7 +2565,11 @@
"roleCreated": "Role created",
"roleDeleted": "Role deleted",
"roleUpdated": "Role updated",
- "instanceSettingsUpdated": "Updated instance settings"
+ "instanceSettingsUpdated": "Updated instance settings",
+ "webhookCreated": "Created webhook",
+ "webhookDeleted": "Deleted webhook",
+ "webhookSecretRotated": "Rotated webhook secret",
+ "webhookUpdated": "Updated webhook"
},
"categories": {
"all": "All actions",
@@ -2575,7 +2579,8 @@
"apiKey": "API keys",
"email": "Email",
"role": "Roles",
- "instance": "Instance settings"
+ "instance": "Instance settings",
+ "webhook": "Webhooks"
},
"categoryLabel": "Filter by category",
"clearFilter": "Show all actions",
@@ -2619,7 +2624,8 @@
"user": "User",
"workspace": "Workspace",
"role": "Role",
- "instance": "Instance"
+ "instance": "Instance",
+ "webhook": "Webhook"
},
"title": "Audit log",
"unknownActor": "Unknown"
@@ -2841,6 +2847,48 @@
"workspaceCreationRestricted": "Only administrators can create workspaces",
"workspaces": "Workspaces",
"save": "Save"
+ },
+ "adminWebhooks": {
+ "actions": "Actions for {{url}}",
+ "add": "Add webhook",
+ "attempts_many": "{{count}} attempts",
+ "attempts_one": "{{count}} attempt",
+ "attempts_other": "{{count}} attempts",
+ "categories": "Events",
+ "deleteTitle": "Delete webhook?",
+ "deliveries": "Recent deliveries",
+ "disabled": "Disabled",
+ "edit": "Edit webhook",
+ "empty": "No webhooks",
+ "enabled": "Enabled",
+ "errors": {
+ "destination": "Destination blocked",
+ "disabled": "Webhook disabled",
+ "http": "HTTP error",
+ "interrupted": "Delivery interrupted",
+ "network": "Connection failed",
+ "response": "Invalid response",
+ "signing": "Signing failed",
+ "timeout": "Timed out"
+ },
+ "failed": "Failed",
+ "httpStatus": "HTTP {{status}}",
+ "loadError": "Webhooks could not be loaded.",
+ "noDeliveries": "No deliveries",
+ "pending": "Pending",
+ "rotate": "Rotate secret",
+ "rotateTitle": "Rotate signing secret?",
+ "saveError": "The webhook could not be saved.",
+ "secretTitle": "Signing secret — save it now",
+ "sendTest": "Send test",
+ "setup": "Set NOTIFICATION_SECRET_ENCRYPTION_KEY to create webhooks.",
+ "signingSecret": "Signing secret",
+ "succeeded": "Delivered",
+ "testEvent": "Test event",
+ "testQueued": "Test event queued.",
+ "title": "Webhooks",
+ "url": "URL",
+ "save": "Save"
}
},
"navigation": {
diff --git a/i18n/fr-FR.json b/i18n/fr-FR.json
index 917234bd6..13b477de0 100644
--- a/i18n/fr-FR.json
+++ b/i18n/fr-FR.json
@@ -2565,7 +2565,11 @@
"roleCreated": "Role created",
"roleDeleted": "Role deleted",
"roleUpdated": "Role updated",
- "instanceSettingsUpdated": "Updated instance settings"
+ "instanceSettingsUpdated": "Updated instance settings",
+ "webhookCreated": "Created webhook",
+ "webhookDeleted": "Deleted webhook",
+ "webhookSecretRotated": "Rotated webhook secret",
+ "webhookUpdated": "Updated webhook"
},
"categories": {
"all": "All actions",
@@ -2575,7 +2579,8 @@
"apiKey": "API keys",
"email": "Email",
"role": "Roles",
- "instance": "Instance settings"
+ "instance": "Instance settings",
+ "webhook": "Webhooks"
},
"categoryLabel": "Filter by category",
"clearFilter": "Show all actions",
@@ -2619,7 +2624,8 @@
"user": "User",
"workspace": "Workspace",
"role": "Role",
- "instance": "Instance"
+ "instance": "Instance",
+ "webhook": "Webhook"
},
"title": "Audit log",
"unknownActor": "Unknown"
@@ -2841,6 +2847,48 @@
"workspaceCreationRestricted": "Only administrators can create workspaces",
"workspaces": "Workspaces",
"save": "Save"
+ },
+ "adminWebhooks": {
+ "actions": "Actions for {{url}}",
+ "add": "Add webhook",
+ "attempts_many": "{{count}} attempts",
+ "attempts_one": "{{count}} attempt",
+ "attempts_other": "{{count}} attempts",
+ "categories": "Events",
+ "deleteTitle": "Delete webhook?",
+ "deliveries": "Recent deliveries",
+ "disabled": "Disabled",
+ "edit": "Edit webhook",
+ "empty": "No webhooks",
+ "enabled": "Enabled",
+ "errors": {
+ "destination": "Destination blocked",
+ "disabled": "Webhook disabled",
+ "http": "HTTP error",
+ "interrupted": "Delivery interrupted",
+ "network": "Connection failed",
+ "response": "Invalid response",
+ "signing": "Signing failed",
+ "timeout": "Timed out"
+ },
+ "failed": "Failed",
+ "httpStatus": "HTTP {{status}}",
+ "loadError": "Webhooks could not be loaded.",
+ "noDeliveries": "No deliveries",
+ "pending": "Pending",
+ "rotate": "Rotate secret",
+ "rotateTitle": "Rotate signing secret?",
+ "saveError": "The webhook could not be saved.",
+ "secretTitle": "Signing secret — save it now",
+ "sendTest": "Send test",
+ "setup": "Set NOTIFICATION_SECRET_ENCRYPTION_KEY to create webhooks.",
+ "signingSecret": "Signing secret",
+ "succeeded": "Delivered",
+ "testEvent": "Test event",
+ "testQueued": "Test event queued.",
+ "title": "Webhooks",
+ "url": "URL",
+ "save": "Save"
}
},
"navigation": {
diff --git a/i18n/hi-IN.json b/i18n/hi-IN.json
index 57490296f..e5ddf7424 100644
--- a/i18n/hi-IN.json
+++ b/i18n/hi-IN.json
@@ -2523,7 +2523,11 @@
"roleCreated": "Role created",
"roleDeleted": "Role deleted",
"roleUpdated": "Role updated",
- "instanceSettingsUpdated": "Updated instance settings"
+ "instanceSettingsUpdated": "Updated instance settings",
+ "webhookCreated": "Created webhook",
+ "webhookDeleted": "Deleted webhook",
+ "webhookSecretRotated": "Rotated webhook secret",
+ "webhookUpdated": "Updated webhook"
},
"categories": {
"all": "All actions",
@@ -2533,7 +2537,8 @@
"apiKey": "API keys",
"email": "Email",
"role": "Roles",
- "instance": "Instance settings"
+ "instance": "Instance settings",
+ "webhook": "Webhooks"
},
"categoryLabel": "Filter by category",
"clearFilter": "Show all actions",
@@ -2576,7 +2581,8 @@
"user": "User",
"workspace": "Workspace",
"role": "Role",
- "instance": "Instance"
+ "instance": "Instance",
+ "webhook": "Webhook"
},
"title": "Audit log",
"unknownActor": "Unknown"
@@ -2793,6 +2799,47 @@
"workspaceCreationRestricted": "Only administrators can create workspaces",
"workspaces": "Workspaces",
"save": "Save"
+ },
+ "adminWebhooks": {
+ "actions": "Actions for {{url}}",
+ "add": "Add webhook",
+ "attempts_one": "{{count}} attempt",
+ "attempts_other": "{{count}} attempts",
+ "categories": "Events",
+ "deleteTitle": "Delete webhook?",
+ "deliveries": "Recent deliveries",
+ "disabled": "Disabled",
+ "edit": "Edit webhook",
+ "empty": "No webhooks",
+ "enabled": "Enabled",
+ "errors": {
+ "destination": "Destination blocked",
+ "disabled": "Webhook disabled",
+ "http": "HTTP error",
+ "interrupted": "Delivery interrupted",
+ "network": "Connection failed",
+ "response": "Invalid response",
+ "signing": "Signing failed",
+ "timeout": "Timed out"
+ },
+ "failed": "Failed",
+ "httpStatus": "HTTP {{status}}",
+ "loadError": "Webhooks could not be loaded.",
+ "noDeliveries": "No deliveries",
+ "pending": "Pending",
+ "rotate": "Rotate secret",
+ "rotateTitle": "Rotate signing secret?",
+ "saveError": "The webhook could not be saved.",
+ "secretTitle": "Signing secret — save it now",
+ "sendTest": "Send test",
+ "setup": "Set NOTIFICATION_SECRET_ENCRYPTION_KEY to create webhooks.",
+ "signingSecret": "Signing secret",
+ "succeeded": "Delivered",
+ "testEvent": "Test event",
+ "testQueued": "Test event queued.",
+ "title": "Webhooks",
+ "url": "URL",
+ "save": "Save"
}
},
"navigation": {
diff --git a/i18n/id-ID.json b/i18n/id-ID.json
index 89652bc47..08c662aeb 100644
--- a/i18n/id-ID.json
+++ b/i18n/id-ID.json
@@ -2481,7 +2481,11 @@
"roleCreated": "Role created",
"roleDeleted": "Role deleted",
"roleUpdated": "Role updated",
- "instanceSettingsUpdated": "Updated instance settings"
+ "instanceSettingsUpdated": "Updated instance settings",
+ "webhookCreated": "Created webhook",
+ "webhookDeleted": "Deleted webhook",
+ "webhookSecretRotated": "Rotated webhook secret",
+ "webhookUpdated": "Updated webhook"
},
"categories": {
"all": "All actions",
@@ -2491,7 +2495,8 @@
"apiKey": "API keys",
"email": "Email",
"role": "Roles",
- "instance": "Instance settings"
+ "instance": "Instance settings",
+ "webhook": "Webhooks"
},
"categoryLabel": "Filter by category",
"clearFilter": "Show all actions",
@@ -2533,7 +2538,8 @@
"user": "User",
"workspace": "Workspace",
"role": "Role",
- "instance": "Instance"
+ "instance": "Instance",
+ "webhook": "Webhook"
},
"title": "Audit log",
"unknownActor": "Unknown"
@@ -2745,6 +2751,46 @@
"workspaceCreationRestricted": "Only administrators can create workspaces",
"workspaces": "Workspaces",
"save": "Save"
+ },
+ "adminWebhooks": {
+ "actions": "Actions for {{url}}",
+ "add": "Add webhook",
+ "attempts_other": "{{count}} attempts",
+ "categories": "Events",
+ "deleteTitle": "Delete webhook?",
+ "deliveries": "Recent deliveries",
+ "disabled": "Disabled",
+ "edit": "Edit webhook",
+ "empty": "No webhooks",
+ "enabled": "Enabled",
+ "errors": {
+ "destination": "Destination blocked",
+ "disabled": "Webhook disabled",
+ "http": "HTTP error",
+ "interrupted": "Delivery interrupted",
+ "network": "Connection failed",
+ "response": "Invalid response",
+ "signing": "Signing failed",
+ "timeout": "Timed out"
+ },
+ "failed": "Failed",
+ "httpStatus": "HTTP {{status}}",
+ "loadError": "Webhooks could not be loaded.",
+ "noDeliveries": "No deliveries",
+ "pending": "Pending",
+ "rotate": "Rotate secret",
+ "rotateTitle": "Rotate signing secret?",
+ "saveError": "The webhook could not be saved.",
+ "secretTitle": "Signing secret — save it now",
+ "sendTest": "Send test",
+ "setup": "Set NOTIFICATION_SECRET_ENCRYPTION_KEY to create webhooks.",
+ "signingSecret": "Signing secret",
+ "succeeded": "Delivered",
+ "testEvent": "Test event",
+ "testQueued": "Test event queued.",
+ "title": "Webhooks",
+ "url": "URL",
+ "save": "Save"
}
},
"navigation": {
diff --git a/i18n/it-IT.json b/i18n/it-IT.json
index b686bffe5..63783e216 100644
--- a/i18n/it-IT.json
+++ b/i18n/it-IT.json
@@ -2565,7 +2565,11 @@
"roleCreated": "Role created",
"roleDeleted": "Role deleted",
"roleUpdated": "Role updated",
- "instanceSettingsUpdated": "Updated instance settings"
+ "instanceSettingsUpdated": "Updated instance settings",
+ "webhookCreated": "Created webhook",
+ "webhookDeleted": "Deleted webhook",
+ "webhookSecretRotated": "Rotated webhook secret",
+ "webhookUpdated": "Updated webhook"
},
"categories": {
"all": "All actions",
@@ -2575,7 +2579,8 @@
"apiKey": "API keys",
"email": "Email",
"role": "Roles",
- "instance": "Instance settings"
+ "instance": "Instance settings",
+ "webhook": "Webhooks"
},
"categoryLabel": "Filter by category",
"clearFilter": "Show all actions",
@@ -2619,7 +2624,8 @@
"user": "User",
"workspace": "Workspace",
"role": "Role",
- "instance": "Instance"
+ "instance": "Instance",
+ "webhook": "Webhook"
},
"title": "Audit log",
"unknownActor": "Unknown"
@@ -2841,6 +2847,48 @@
"workspaceCreationRestricted": "Only administrators can create workspaces",
"workspaces": "Workspaces",
"save": "Save"
+ },
+ "adminWebhooks": {
+ "actions": "Actions for {{url}}",
+ "add": "Add webhook",
+ "attempts_many": "{{count}} attempts",
+ "attempts_one": "{{count}} attempt",
+ "attempts_other": "{{count}} attempts",
+ "categories": "Events",
+ "deleteTitle": "Delete webhook?",
+ "deliveries": "Recent deliveries",
+ "disabled": "Disabled",
+ "edit": "Edit webhook",
+ "empty": "No webhooks",
+ "enabled": "Enabled",
+ "errors": {
+ "destination": "Destination blocked",
+ "disabled": "Webhook disabled",
+ "http": "HTTP error",
+ "interrupted": "Delivery interrupted",
+ "network": "Connection failed",
+ "response": "Invalid response",
+ "signing": "Signing failed",
+ "timeout": "Timed out"
+ },
+ "failed": "Failed",
+ "httpStatus": "HTTP {{status}}",
+ "loadError": "Webhooks could not be loaded.",
+ "noDeliveries": "No deliveries",
+ "pending": "Pending",
+ "rotate": "Rotate secret",
+ "rotateTitle": "Rotate signing secret?",
+ "saveError": "The webhook could not be saved.",
+ "secretTitle": "Signing secret — save it now",
+ "sendTest": "Send test",
+ "setup": "Set NOTIFICATION_SECRET_ENCRYPTION_KEY to create webhooks.",
+ "signingSecret": "Signing secret",
+ "succeeded": "Delivered",
+ "testEvent": "Test event",
+ "testQueued": "Test event queued.",
+ "title": "Webhooks",
+ "url": "URL",
+ "save": "Save"
}
},
"navigation": {
diff --git a/i18n/ja-JP.json b/i18n/ja-JP.json
index 821d5ffdb..9e3ae176f 100644
--- a/i18n/ja-JP.json
+++ b/i18n/ja-JP.json
@@ -2481,7 +2481,11 @@
"roleCreated": "Role created",
"roleDeleted": "Role deleted",
"roleUpdated": "Role updated",
- "instanceSettingsUpdated": "Updated instance settings"
+ "instanceSettingsUpdated": "Updated instance settings",
+ "webhookCreated": "Created webhook",
+ "webhookDeleted": "Deleted webhook",
+ "webhookSecretRotated": "Rotated webhook secret",
+ "webhookUpdated": "Updated webhook"
},
"categories": {
"all": "All actions",
@@ -2491,7 +2495,8 @@
"apiKey": "API keys",
"email": "Email",
"role": "Roles",
- "instance": "Instance settings"
+ "instance": "Instance settings",
+ "webhook": "Webhooks"
},
"categoryLabel": "Filter by category",
"clearFilter": "Show all actions",
@@ -2533,7 +2538,8 @@
"user": "User",
"workspace": "Workspace",
"role": "Role",
- "instance": "Instance"
+ "instance": "Instance",
+ "webhook": "Webhook"
},
"title": "Audit log",
"unknownActor": "Unknown"
@@ -2745,6 +2751,46 @@
"workspaceCreationRestricted": "Only administrators can create workspaces",
"workspaces": "Workspaces",
"save": "Save"
+ },
+ "adminWebhooks": {
+ "actions": "Actions for {{url}}",
+ "add": "Add webhook",
+ "attempts_other": "{{count}} attempts",
+ "categories": "Events",
+ "deleteTitle": "Delete webhook?",
+ "deliveries": "Recent deliveries",
+ "disabled": "Disabled",
+ "edit": "Edit webhook",
+ "empty": "No webhooks",
+ "enabled": "Enabled",
+ "errors": {
+ "destination": "Destination blocked",
+ "disabled": "Webhook disabled",
+ "http": "HTTP error",
+ "interrupted": "Delivery interrupted",
+ "network": "Connection failed",
+ "response": "Invalid response",
+ "signing": "Signing failed",
+ "timeout": "Timed out"
+ },
+ "failed": "Failed",
+ "httpStatus": "HTTP {{status}}",
+ "loadError": "Webhooks could not be loaded.",
+ "noDeliveries": "No deliveries",
+ "pending": "Pending",
+ "rotate": "Rotate secret",
+ "rotateTitle": "Rotate signing secret?",
+ "saveError": "The webhook could not be saved.",
+ "secretTitle": "Signing secret — save it now",
+ "sendTest": "Send test",
+ "setup": "Set NOTIFICATION_SECRET_ENCRYPTION_KEY to create webhooks.",
+ "signingSecret": "Signing secret",
+ "succeeded": "Delivered",
+ "testEvent": "Test event",
+ "testQueued": "Test event queued.",
+ "title": "Webhooks",
+ "url": "URL",
+ "save": "Save"
}
},
"navigation": {
diff --git a/i18n/ko-KR.json b/i18n/ko-KR.json
index 54c7cfa1f..62af05a87 100644
--- a/i18n/ko-KR.json
+++ b/i18n/ko-KR.json
@@ -2481,7 +2481,11 @@
"roleCreated": "Role created",
"roleDeleted": "Role deleted",
"roleUpdated": "Role updated",
- "instanceSettingsUpdated": "Updated instance settings"
+ "instanceSettingsUpdated": "Updated instance settings",
+ "webhookCreated": "Created webhook",
+ "webhookDeleted": "Deleted webhook",
+ "webhookSecretRotated": "Rotated webhook secret",
+ "webhookUpdated": "Updated webhook"
},
"categories": {
"all": "All actions",
@@ -2491,7 +2495,8 @@
"apiKey": "API keys",
"email": "Email",
"role": "Roles",
- "instance": "Instance settings"
+ "instance": "Instance settings",
+ "webhook": "Webhooks"
},
"categoryLabel": "Filter by category",
"clearFilter": "Show all actions",
@@ -2533,7 +2538,8 @@
"user": "User",
"workspace": "Workspace",
"role": "Role",
- "instance": "Instance"
+ "instance": "Instance",
+ "webhook": "Webhook"
},
"title": "Audit log",
"unknownActor": "Unknown"
@@ -2745,6 +2751,46 @@
"workspaceCreationRestricted": "Only administrators can create workspaces",
"workspaces": "Workspaces",
"save": "Save"
+ },
+ "adminWebhooks": {
+ "actions": "Actions for {{url}}",
+ "add": "Add webhook",
+ "attempts_other": "{{count}} attempts",
+ "categories": "Events",
+ "deleteTitle": "Delete webhook?",
+ "deliveries": "Recent deliveries",
+ "disabled": "Disabled",
+ "edit": "Edit webhook",
+ "empty": "No webhooks",
+ "enabled": "Enabled",
+ "errors": {
+ "destination": "Destination blocked",
+ "disabled": "Webhook disabled",
+ "http": "HTTP error",
+ "interrupted": "Delivery interrupted",
+ "network": "Connection failed",
+ "response": "Invalid response",
+ "signing": "Signing failed",
+ "timeout": "Timed out"
+ },
+ "failed": "Failed",
+ "httpStatus": "HTTP {{status}}",
+ "loadError": "Webhooks could not be loaded.",
+ "noDeliveries": "No deliveries",
+ "pending": "Pending",
+ "rotate": "Rotate secret",
+ "rotateTitle": "Rotate signing secret?",
+ "saveError": "The webhook could not be saved.",
+ "secretTitle": "Signing secret — save it now",
+ "sendTest": "Send test",
+ "setup": "Set NOTIFICATION_SECRET_ENCRYPTION_KEY to create webhooks.",
+ "signingSecret": "Signing secret",
+ "succeeded": "Delivered",
+ "testEvent": "Test event",
+ "testQueued": "Test event queued.",
+ "title": "Webhooks",
+ "url": "URL",
+ "save": "Save"
}
},
"navigation": {
diff --git a/i18n/mk-MK.json b/i18n/mk-MK.json
index 07abe1f8a..f23ecf684 100644
--- a/i18n/mk-MK.json
+++ b/i18n/mk-MK.json
@@ -2523,7 +2523,11 @@
"roleCreated": "Role created",
"roleDeleted": "Role deleted",
"roleUpdated": "Role updated",
- "instanceSettingsUpdated": "Updated instance settings"
+ "instanceSettingsUpdated": "Updated instance settings",
+ "webhookCreated": "Created webhook",
+ "webhookDeleted": "Deleted webhook",
+ "webhookSecretRotated": "Rotated webhook secret",
+ "webhookUpdated": "Updated webhook"
},
"categories": {
"all": "All actions",
@@ -2533,7 +2537,8 @@
"apiKey": "API keys",
"email": "Email",
"role": "Roles",
- "instance": "Instance settings"
+ "instance": "Instance settings",
+ "webhook": "Webhooks"
},
"categoryLabel": "Filter by category",
"clearFilter": "Show all actions",
@@ -2576,7 +2581,8 @@
"user": "User",
"workspace": "Workspace",
"role": "Role",
- "instance": "Instance"
+ "instance": "Instance",
+ "webhook": "Webhook"
},
"title": "Audit log",
"unknownActor": "Unknown"
@@ -2793,6 +2799,47 @@
"workspaceCreationRestricted": "Only administrators can create workspaces",
"workspaces": "Workspaces",
"save": "Save"
+ },
+ "adminWebhooks": {
+ "actions": "Actions for {{url}}",
+ "add": "Add webhook",
+ "attempts_one": "{{count}} attempt",
+ "attempts_other": "{{count}} attempts",
+ "categories": "Events",
+ "deleteTitle": "Delete webhook?",
+ "deliveries": "Recent deliveries",
+ "disabled": "Disabled",
+ "edit": "Edit webhook",
+ "empty": "No webhooks",
+ "enabled": "Enabled",
+ "errors": {
+ "destination": "Destination blocked",
+ "disabled": "Webhook disabled",
+ "http": "HTTP error",
+ "interrupted": "Delivery interrupted",
+ "network": "Connection failed",
+ "response": "Invalid response",
+ "signing": "Signing failed",
+ "timeout": "Timed out"
+ },
+ "failed": "Failed",
+ "httpStatus": "HTTP {{status}}",
+ "loadError": "Webhooks could not be loaded.",
+ "noDeliveries": "No deliveries",
+ "pending": "Pending",
+ "rotate": "Rotate secret",
+ "rotateTitle": "Rotate signing secret?",
+ "saveError": "The webhook could not be saved.",
+ "secretTitle": "Signing secret — save it now",
+ "sendTest": "Send test",
+ "setup": "Set NOTIFICATION_SECRET_ENCRYPTION_KEY to create webhooks.",
+ "signingSecret": "Signing secret",
+ "succeeded": "Delivered",
+ "testEvent": "Test event",
+ "testQueued": "Test event queued.",
+ "title": "Webhooks",
+ "url": "URL",
+ "save": "Save"
}
},
"navigation": {
diff --git a/i18n/nl-NL.json b/i18n/nl-NL.json
index e89dd0988..1242da791 100644
--- a/i18n/nl-NL.json
+++ b/i18n/nl-NL.json
@@ -2523,7 +2523,11 @@
"roleCreated": "Role created",
"roleDeleted": "Role deleted",
"roleUpdated": "Role updated",
- "instanceSettingsUpdated": "Updated instance settings"
+ "instanceSettingsUpdated": "Updated instance settings",
+ "webhookCreated": "Created webhook",
+ "webhookDeleted": "Deleted webhook",
+ "webhookSecretRotated": "Rotated webhook secret",
+ "webhookUpdated": "Updated webhook"
},
"categories": {
"all": "All actions",
@@ -2533,7 +2537,8 @@
"apiKey": "API keys",
"email": "Email",
"role": "Roles",
- "instance": "Instance settings"
+ "instance": "Instance settings",
+ "webhook": "Webhooks"
},
"categoryLabel": "Filter by category",
"clearFilter": "Show all actions",
@@ -2576,7 +2581,8 @@
"user": "User",
"workspace": "Workspace",
"role": "Role",
- "instance": "Instance"
+ "instance": "Instance",
+ "webhook": "Webhook"
},
"title": "Audit log",
"unknownActor": "Unknown"
@@ -2793,6 +2799,47 @@
"workspaceCreationRestricted": "Only administrators can create workspaces",
"workspaces": "Workspaces",
"save": "Save"
+ },
+ "adminWebhooks": {
+ "actions": "Actions for {{url}}",
+ "add": "Add webhook",
+ "attempts_one": "{{count}} attempt",
+ "attempts_other": "{{count}} attempts",
+ "categories": "Events",
+ "deleteTitle": "Delete webhook?",
+ "deliveries": "Recent deliveries",
+ "disabled": "Disabled",
+ "edit": "Edit webhook",
+ "empty": "No webhooks",
+ "enabled": "Enabled",
+ "errors": {
+ "destination": "Destination blocked",
+ "disabled": "Webhook disabled",
+ "http": "HTTP error",
+ "interrupted": "Delivery interrupted",
+ "network": "Connection failed",
+ "response": "Invalid response",
+ "signing": "Signing failed",
+ "timeout": "Timed out"
+ },
+ "failed": "Failed",
+ "httpStatus": "HTTP {{status}}",
+ "loadError": "Webhooks could not be loaded.",
+ "noDeliveries": "No deliveries",
+ "pending": "Pending",
+ "rotate": "Rotate secret",
+ "rotateTitle": "Rotate signing secret?",
+ "saveError": "The webhook could not be saved.",
+ "secretTitle": "Signing secret — save it now",
+ "sendTest": "Send test",
+ "setup": "Set NOTIFICATION_SECRET_ENCRYPTION_KEY to create webhooks.",
+ "signingSecret": "Signing secret",
+ "succeeded": "Delivered",
+ "testEvent": "Test event",
+ "testQueued": "Test event queued.",
+ "title": "Webhooks",
+ "url": "URL",
+ "save": "Save"
}
},
"navigation": {
diff --git a/i18n/pl-PL.json b/i18n/pl-PL.json
index 0bbe00a17..e9b2e03a1 100644
--- a/i18n/pl-PL.json
+++ b/i18n/pl-PL.json
@@ -3298,7 +3298,11 @@
"roleCreated": "Role created",
"roleDeleted": "Role deleted",
"roleUpdated": "Role updated",
- "instanceSettingsUpdated": "Updated instance settings"
+ "instanceSettingsUpdated": "Updated instance settings",
+ "webhookCreated": "Created webhook",
+ "webhookDeleted": "Deleted webhook",
+ "webhookSecretRotated": "Rotated webhook secret",
+ "webhookUpdated": "Updated webhook"
},
"categories": {
"all": "All actions",
@@ -3308,7 +3312,8 @@
"apiKey": "API keys",
"email": "Email",
"role": "Roles",
- "instance": "Instance settings"
+ "instance": "Instance settings",
+ "webhook": "Webhooks"
},
"categoryLabel": "Filter by category",
"clearFilter": "Show all actions",
@@ -3353,7 +3358,8 @@
"user": "User",
"workspace": "Workspace",
"role": "Role",
- "instance": "Instance"
+ "instance": "Instance",
+ "webhook": "Webhook"
},
"title": "Audit log",
"unknownActor": "Unknown"
@@ -3580,6 +3586,49 @@
"workspaceCreationRestricted": "Only administrators can create workspaces",
"workspaces": "Workspaces",
"save": "Save"
+ },
+ "adminWebhooks": {
+ "actions": "Actions for {{url}}",
+ "add": "Add webhook",
+ "attempts_few": "{{count}} attempts",
+ "attempts_many": "{{count}} attempts",
+ "attempts_one": "{{count}} attempt",
+ "attempts_other": "{{count}} attempts",
+ "categories": "Events",
+ "deleteTitle": "Delete webhook?",
+ "deliveries": "Recent deliveries",
+ "disabled": "Disabled",
+ "edit": "Edit webhook",
+ "empty": "No webhooks",
+ "enabled": "Enabled",
+ "errors": {
+ "destination": "Destination blocked",
+ "disabled": "Webhook disabled",
+ "http": "HTTP error",
+ "interrupted": "Delivery interrupted",
+ "network": "Connection failed",
+ "response": "Invalid response",
+ "signing": "Signing failed",
+ "timeout": "Timed out"
+ },
+ "failed": "Failed",
+ "httpStatus": "HTTP {{status}}",
+ "loadError": "Webhooks could not be loaded.",
+ "noDeliveries": "No deliveries",
+ "pending": "Pending",
+ "rotate": "Rotate secret",
+ "rotateTitle": "Rotate signing secret?",
+ "saveError": "The webhook could not be saved.",
+ "secretTitle": "Signing secret — save it now",
+ "sendTest": "Send test",
+ "setup": "Set NOTIFICATION_SECRET_ENCRYPTION_KEY to create webhooks.",
+ "signingSecret": "Signing secret",
+ "succeeded": "Delivered",
+ "testEvent": "Test event",
+ "testQueued": "Test event queued.",
+ "title": "Webhooks",
+ "url": "URL",
+ "save": "Save"
}
},
"tasks": {
diff --git a/i18n/pt-BR.json b/i18n/pt-BR.json
index 2d6cf1fde..21a19fbbf 100644
--- a/i18n/pt-BR.json
+++ b/i18n/pt-BR.json
@@ -2565,7 +2565,11 @@
"roleCreated": "Role created",
"roleDeleted": "Role deleted",
"roleUpdated": "Role updated",
- "instanceSettingsUpdated": "Updated instance settings"
+ "instanceSettingsUpdated": "Updated instance settings",
+ "webhookCreated": "Created webhook",
+ "webhookDeleted": "Deleted webhook",
+ "webhookSecretRotated": "Rotated webhook secret",
+ "webhookUpdated": "Updated webhook"
},
"categories": {
"all": "All actions",
@@ -2575,7 +2579,8 @@
"apiKey": "API keys",
"email": "Email",
"role": "Roles",
- "instance": "Instance settings"
+ "instance": "Instance settings",
+ "webhook": "Webhooks"
},
"categoryLabel": "Filter by category",
"clearFilter": "Show all actions",
@@ -2619,7 +2624,8 @@
"user": "User",
"workspace": "Workspace",
"role": "Role",
- "instance": "Instance"
+ "instance": "Instance",
+ "webhook": "Webhook"
},
"title": "Audit log",
"unknownActor": "Unknown"
@@ -2841,6 +2847,48 @@
"workspaceCreationRestricted": "Only administrators can create workspaces",
"workspaces": "Workspaces",
"save": "Save"
+ },
+ "adminWebhooks": {
+ "actions": "Actions for {{url}}",
+ "add": "Add webhook",
+ "attempts_many": "{{count}} attempts",
+ "attempts_one": "{{count}} attempt",
+ "attempts_other": "{{count}} attempts",
+ "categories": "Events",
+ "deleteTitle": "Delete webhook?",
+ "deliveries": "Recent deliveries",
+ "disabled": "Disabled",
+ "edit": "Edit webhook",
+ "empty": "No webhooks",
+ "enabled": "Enabled",
+ "errors": {
+ "destination": "Destination blocked",
+ "disabled": "Webhook disabled",
+ "http": "HTTP error",
+ "interrupted": "Delivery interrupted",
+ "network": "Connection failed",
+ "response": "Invalid response",
+ "signing": "Signing failed",
+ "timeout": "Timed out"
+ },
+ "failed": "Failed",
+ "httpStatus": "HTTP {{status}}",
+ "loadError": "Webhooks could not be loaded.",
+ "noDeliveries": "No deliveries",
+ "pending": "Pending",
+ "rotate": "Rotate secret",
+ "rotateTitle": "Rotate signing secret?",
+ "saveError": "The webhook could not be saved.",
+ "secretTitle": "Signing secret — save it now",
+ "sendTest": "Send test",
+ "setup": "Set NOTIFICATION_SECRET_ENCRYPTION_KEY to create webhooks.",
+ "signingSecret": "Signing secret",
+ "succeeded": "Delivered",
+ "testEvent": "Test event",
+ "testQueued": "Test event queued.",
+ "title": "Webhooks",
+ "url": "URL",
+ "save": "Save"
}
},
"navigation": {
diff --git a/i18n/ru-RU.json b/i18n/ru-RU.json
index bfc9738ae..1914f163b 100644
--- a/i18n/ru-RU.json
+++ b/i18n/ru-RU.json
@@ -2615,7 +2615,11 @@
"roleCreated": "Role created",
"roleDeleted": "Role deleted",
"roleUpdated": "Role updated",
- "instanceSettingsUpdated": "Updated instance settings"
+ "instanceSettingsUpdated": "Updated instance settings",
+ "webhookCreated": "Created webhook",
+ "webhookDeleted": "Deleted webhook",
+ "webhookSecretRotated": "Rotated webhook secret",
+ "webhookUpdated": "Updated webhook"
},
"categories": {
"all": "All actions",
@@ -2625,7 +2629,8 @@
"apiKey": "API keys",
"email": "Email",
"role": "Roles",
- "instance": "Instance settings"
+ "instance": "Instance settings",
+ "webhook": "Webhooks"
},
"categoryLabel": "Filter by category",
"clearFilter": "Show all actions",
@@ -2670,7 +2675,8 @@
"user": "User",
"workspace": "Workspace",
"role": "Role",
- "instance": "Instance"
+ "instance": "Instance",
+ "webhook": "Webhook"
},
"title": "Audit log",
"unknownActor": "Unknown"
@@ -2897,6 +2903,49 @@
"workspaceCreationRestricted": "Only administrators can create workspaces",
"workspaces": "Workspaces",
"save": "Save"
+ },
+ "adminWebhooks": {
+ "actions": "Actions for {{url}}",
+ "add": "Add webhook",
+ "attempts_few": "{{count}} attempts",
+ "attempts_many": "{{count}} attempts",
+ "attempts_one": "{{count}} attempt",
+ "attempts_other": "{{count}} attempts",
+ "categories": "Events",
+ "deleteTitle": "Delete webhook?",
+ "deliveries": "Recent deliveries",
+ "disabled": "Disabled",
+ "edit": "Edit webhook",
+ "empty": "No webhooks",
+ "enabled": "Enabled",
+ "errors": {
+ "destination": "Destination blocked",
+ "disabled": "Webhook disabled",
+ "http": "HTTP error",
+ "interrupted": "Delivery interrupted",
+ "network": "Connection failed",
+ "response": "Invalid response",
+ "signing": "Signing failed",
+ "timeout": "Timed out"
+ },
+ "failed": "Failed",
+ "httpStatus": "HTTP {{status}}",
+ "loadError": "Webhooks could not be loaded.",
+ "noDeliveries": "No deliveries",
+ "pending": "Pending",
+ "rotate": "Rotate secret",
+ "rotateTitle": "Rotate signing secret?",
+ "saveError": "The webhook could not be saved.",
+ "secretTitle": "Signing secret — save it now",
+ "sendTest": "Send test",
+ "setup": "Set NOTIFICATION_SECRET_ENCRYPTION_KEY to create webhooks.",
+ "signingSecret": "Signing secret",
+ "succeeded": "Delivered",
+ "testEvent": "Test event",
+ "testQueued": "Test event queued.",
+ "title": "Webhooks",
+ "url": "URL",
+ "save": "Save"
}
},
"navigation": {
diff --git a/i18n/tr-TR.json b/i18n/tr-TR.json
index f59ff77a2..673b6c1a0 100644
--- a/i18n/tr-TR.json
+++ b/i18n/tr-TR.json
@@ -2523,7 +2523,11 @@
"roleCreated": "Role created",
"roleDeleted": "Role deleted",
"roleUpdated": "Role updated",
- "instanceSettingsUpdated": "Updated instance settings"
+ "instanceSettingsUpdated": "Updated instance settings",
+ "webhookCreated": "Created webhook",
+ "webhookDeleted": "Deleted webhook",
+ "webhookSecretRotated": "Rotated webhook secret",
+ "webhookUpdated": "Updated webhook"
},
"categories": {
"all": "All actions",
@@ -2533,7 +2537,8 @@
"apiKey": "API keys",
"email": "Email",
"role": "Roles",
- "instance": "Instance settings"
+ "instance": "Instance settings",
+ "webhook": "Webhooks"
},
"categoryLabel": "Filter by category",
"clearFilter": "Show all actions",
@@ -2576,7 +2581,8 @@
"user": "User",
"workspace": "Workspace",
"role": "Role",
- "instance": "Instance"
+ "instance": "Instance",
+ "webhook": "Webhook"
},
"title": "Audit log",
"unknownActor": "Unknown"
@@ -2793,6 +2799,47 @@
"workspaceCreationRestricted": "Only administrators can create workspaces",
"workspaces": "Workspaces",
"save": "Save"
+ },
+ "adminWebhooks": {
+ "actions": "Actions for {{url}}",
+ "add": "Add webhook",
+ "attempts_one": "{{count}} attempt",
+ "attempts_other": "{{count}} attempts",
+ "categories": "Events",
+ "deleteTitle": "Delete webhook?",
+ "deliveries": "Recent deliveries",
+ "disabled": "Disabled",
+ "edit": "Edit webhook",
+ "empty": "No webhooks",
+ "enabled": "Enabled",
+ "errors": {
+ "destination": "Destination blocked",
+ "disabled": "Webhook disabled",
+ "http": "HTTP error",
+ "interrupted": "Delivery interrupted",
+ "network": "Connection failed",
+ "response": "Invalid response",
+ "signing": "Signing failed",
+ "timeout": "Timed out"
+ },
+ "failed": "Failed",
+ "httpStatus": "HTTP {{status}}",
+ "loadError": "Webhooks could not be loaded.",
+ "noDeliveries": "No deliveries",
+ "pending": "Pending",
+ "rotate": "Rotate secret",
+ "rotateTitle": "Rotate signing secret?",
+ "saveError": "The webhook could not be saved.",
+ "secretTitle": "Signing secret — save it now",
+ "sendTest": "Send test",
+ "setup": "Set NOTIFICATION_SECRET_ENCRYPTION_KEY to create webhooks.",
+ "signingSecret": "Signing secret",
+ "succeeded": "Delivered",
+ "testEvent": "Test event",
+ "testQueued": "Test event queued.",
+ "title": "Webhooks",
+ "url": "URL",
+ "save": "Save"
}
},
"navigation": {
diff --git a/i18n/uk-UA.json b/i18n/uk-UA.json
index 479d3276f..2275b6bbe 100644
--- a/i18n/uk-UA.json
+++ b/i18n/uk-UA.json
@@ -2607,7 +2607,11 @@
"roleCreated": "Role created",
"roleDeleted": "Role deleted",
"roleUpdated": "Role updated",
- "instanceSettingsUpdated": "Updated instance settings"
+ "instanceSettingsUpdated": "Updated instance settings",
+ "webhookCreated": "Created webhook",
+ "webhookDeleted": "Deleted webhook",
+ "webhookSecretRotated": "Rotated webhook secret",
+ "webhookUpdated": "Updated webhook"
},
"categories": {
"all": "All actions",
@@ -2617,7 +2621,8 @@
"apiKey": "API keys",
"email": "Email",
"role": "Roles",
- "instance": "Instance settings"
+ "instance": "Instance settings",
+ "webhook": "Webhooks"
},
"categoryLabel": "Filter by category",
"clearFilter": "Show all actions",
@@ -2662,7 +2667,8 @@
"user": "User",
"workspace": "Workspace",
"role": "Role",
- "instance": "Instance"
+ "instance": "Instance",
+ "webhook": "Webhook"
},
"title": "Audit log",
"unknownActor": "Unknown"
@@ -2889,6 +2895,49 @@
"workspaceCreationRestricted": "Only administrators can create workspaces",
"workspaces": "Workspaces",
"save": "Save"
+ },
+ "adminWebhooks": {
+ "actions": "Actions for {{url}}",
+ "add": "Add webhook",
+ "attempts_few": "{{count}} attempts",
+ "attempts_many": "{{count}} attempts",
+ "attempts_one": "{{count}} attempt",
+ "attempts_other": "{{count}} attempts",
+ "categories": "Events",
+ "deleteTitle": "Delete webhook?",
+ "deliveries": "Recent deliveries",
+ "disabled": "Disabled",
+ "edit": "Edit webhook",
+ "empty": "No webhooks",
+ "enabled": "Enabled",
+ "errors": {
+ "destination": "Destination blocked",
+ "disabled": "Webhook disabled",
+ "http": "HTTP error",
+ "interrupted": "Delivery interrupted",
+ "network": "Connection failed",
+ "response": "Invalid response",
+ "signing": "Signing failed",
+ "timeout": "Timed out"
+ },
+ "failed": "Failed",
+ "httpStatus": "HTTP {{status}}",
+ "loadError": "Webhooks could not be loaded.",
+ "noDeliveries": "No deliveries",
+ "pending": "Pending",
+ "rotate": "Rotate secret",
+ "rotateTitle": "Rotate signing secret?",
+ "saveError": "The webhook could not be saved.",
+ "secretTitle": "Signing secret — save it now",
+ "sendTest": "Send test",
+ "setup": "Set NOTIFICATION_SECRET_ENCRYPTION_KEY to create webhooks.",
+ "signingSecret": "Signing secret",
+ "succeeded": "Delivered",
+ "testEvent": "Test event",
+ "testQueued": "Test event queued.",
+ "title": "Webhooks",
+ "url": "URL",
+ "save": "Save"
}
},
"navigation": {
diff --git a/i18n/vi-VN.json b/i18n/vi-VN.json
index 49094453d..d6c88427f 100644
--- a/i18n/vi-VN.json
+++ b/i18n/vi-VN.json
@@ -2481,7 +2481,11 @@
"roleCreated": "Role created",
"roleDeleted": "Role deleted",
"roleUpdated": "Role updated",
- "instanceSettingsUpdated": "Updated instance settings"
+ "instanceSettingsUpdated": "Updated instance settings",
+ "webhookCreated": "Created webhook",
+ "webhookDeleted": "Deleted webhook",
+ "webhookSecretRotated": "Rotated webhook secret",
+ "webhookUpdated": "Updated webhook"
},
"categories": {
"all": "All actions",
@@ -2491,7 +2495,8 @@
"apiKey": "API keys",
"email": "Email",
"role": "Roles",
- "instance": "Instance settings"
+ "instance": "Instance settings",
+ "webhook": "Webhooks"
},
"categoryLabel": "Filter by category",
"clearFilter": "Show all actions",
@@ -2533,7 +2538,8 @@
"user": "User",
"workspace": "Workspace",
"role": "Role",
- "instance": "Instance"
+ "instance": "Instance",
+ "webhook": "Webhook"
},
"title": "Audit log",
"unknownActor": "Unknown"
@@ -2745,6 +2751,46 @@
"workspaceCreationRestricted": "Only administrators can create workspaces",
"workspaces": "Workspaces",
"save": "Save"
+ },
+ "adminWebhooks": {
+ "actions": "Actions for {{url}}",
+ "add": "Add webhook",
+ "attempts_other": "{{count}} attempts",
+ "categories": "Events",
+ "deleteTitle": "Delete webhook?",
+ "deliveries": "Recent deliveries",
+ "disabled": "Disabled",
+ "edit": "Edit webhook",
+ "empty": "No webhooks",
+ "enabled": "Enabled",
+ "errors": {
+ "destination": "Destination blocked",
+ "disabled": "Webhook disabled",
+ "http": "HTTP error",
+ "interrupted": "Delivery interrupted",
+ "network": "Connection failed",
+ "response": "Invalid response",
+ "signing": "Signing failed",
+ "timeout": "Timed out"
+ },
+ "failed": "Failed",
+ "httpStatus": "HTTP {{status}}",
+ "loadError": "Webhooks could not be loaded.",
+ "noDeliveries": "No deliveries",
+ "pending": "Pending",
+ "rotate": "Rotate secret",
+ "rotateTitle": "Rotate signing secret?",
+ "saveError": "The webhook could not be saved.",
+ "secretTitle": "Signing secret — save it now",
+ "sendTest": "Send test",
+ "setup": "Set NOTIFICATION_SECRET_ENCRYPTION_KEY to create webhooks.",
+ "signingSecret": "Signing secret",
+ "succeeded": "Delivered",
+ "testEvent": "Test event",
+ "testQueued": "Test event queued.",
+ "title": "Webhooks",
+ "url": "URL",
+ "save": "Save"
}
},
"navigation": {
diff --git a/i18n/zh-CN.json b/i18n/zh-CN.json
index 573ecc2e9..69ae5df93 100644
--- a/i18n/zh-CN.json
+++ b/i18n/zh-CN.json
@@ -2481,7 +2481,11 @@
"roleCreated": "Role created",
"roleDeleted": "Role deleted",
"roleUpdated": "Role updated",
- "instanceSettingsUpdated": "Updated instance settings"
+ "instanceSettingsUpdated": "Updated instance settings",
+ "webhookCreated": "Created webhook",
+ "webhookDeleted": "Deleted webhook",
+ "webhookSecretRotated": "Rotated webhook secret",
+ "webhookUpdated": "Updated webhook"
},
"categories": {
"all": "All actions",
@@ -2491,7 +2495,8 @@
"apiKey": "API keys",
"email": "Email",
"role": "Roles",
- "instance": "Instance settings"
+ "instance": "Instance settings",
+ "webhook": "Webhooks"
},
"categoryLabel": "Filter by category",
"clearFilter": "Show all actions",
@@ -2533,7 +2538,8 @@
"user": "User",
"workspace": "Workspace",
"role": "Role",
- "instance": "Instance"
+ "instance": "Instance",
+ "webhook": "Webhook"
},
"title": "Audit log",
"unknownActor": "Unknown"
@@ -2745,6 +2751,46 @@
"workspaceCreationRestricted": "Only administrators can create workspaces",
"workspaces": "Workspaces",
"save": "Save"
+ },
+ "adminWebhooks": {
+ "actions": "Actions for {{url}}",
+ "add": "Add webhook",
+ "attempts_other": "{{count}} attempts",
+ "categories": "Events",
+ "deleteTitle": "Delete webhook?",
+ "deliveries": "Recent deliveries",
+ "disabled": "Disabled",
+ "edit": "Edit webhook",
+ "empty": "No webhooks",
+ "enabled": "Enabled",
+ "errors": {
+ "destination": "Destination blocked",
+ "disabled": "Webhook disabled",
+ "http": "HTTP error",
+ "interrupted": "Delivery interrupted",
+ "network": "Connection failed",
+ "response": "Invalid response",
+ "signing": "Signing failed",
+ "timeout": "Timed out"
+ },
+ "failed": "Failed",
+ "httpStatus": "HTTP {{status}}",
+ "loadError": "Webhooks could not be loaded.",
+ "noDeliveries": "No deliveries",
+ "pending": "Pending",
+ "rotate": "Rotate secret",
+ "rotateTitle": "Rotate signing secret?",
+ "saveError": "The webhook could not be saved.",
+ "secretTitle": "Signing secret — save it now",
+ "sendTest": "Send test",
+ "setup": "Set NOTIFICATION_SECRET_ENCRYPTION_KEY to create webhooks.",
+ "signingSecret": "Signing secret",
+ "succeeded": "Delivered",
+ "testEvent": "Test event",
+ "testQueued": "Test event queued.",
+ "title": "Webhooks",
+ "url": "URL",
+ "save": "Save"
}
},
"navigation": {
diff --git a/i18n/zh-TW.json b/i18n/zh-TW.json
index 08ff66212..77bd62513 100644
--- a/i18n/zh-TW.json
+++ b/i18n/zh-TW.json
@@ -2481,7 +2481,11 @@
"roleCreated": "Role created",
"roleDeleted": "Role deleted",
"roleUpdated": "Role updated",
- "instanceSettingsUpdated": "Updated instance settings"
+ "instanceSettingsUpdated": "Updated instance settings",
+ "webhookCreated": "Created webhook",
+ "webhookDeleted": "Deleted webhook",
+ "webhookSecretRotated": "Rotated webhook secret",
+ "webhookUpdated": "Updated webhook"
},
"categories": {
"all": "All actions",
@@ -2491,7 +2495,8 @@
"apiKey": "API keys",
"email": "Email",
"role": "Roles",
- "instance": "Instance settings"
+ "instance": "Instance settings",
+ "webhook": "Webhooks"
},
"categoryLabel": "Filter by category",
"clearFilter": "Show all actions",
@@ -2533,7 +2538,8 @@
"user": "User",
"workspace": "Workspace",
"role": "Role",
- "instance": "Instance"
+ "instance": "Instance",
+ "webhook": "Webhook"
},
"title": "Audit log",
"unknownActor": "Unknown"
@@ -2745,6 +2751,46 @@
"workspaceCreationRestricted": "Only administrators can create workspaces",
"workspaces": "Workspaces",
"save": "Save"
+ },
+ "adminWebhooks": {
+ "actions": "Actions for {{url}}",
+ "add": "Add webhook",
+ "attempts_other": "{{count}} attempts",
+ "categories": "Events",
+ "deleteTitle": "Delete webhook?",
+ "deliveries": "Recent deliveries",
+ "disabled": "Disabled",
+ "edit": "Edit webhook",
+ "empty": "No webhooks",
+ "enabled": "Enabled",
+ "errors": {
+ "destination": "Destination blocked",
+ "disabled": "Webhook disabled",
+ "http": "HTTP error",
+ "interrupted": "Delivery interrupted",
+ "network": "Connection failed",
+ "response": "Invalid response",
+ "signing": "Signing failed",
+ "timeout": "Timed out"
+ },
+ "failed": "Failed",
+ "httpStatus": "HTTP {{status}}",
+ "loadError": "Webhooks could not be loaded.",
+ "noDeliveries": "No deliveries",
+ "pending": "Pending",
+ "rotate": "Rotate secret",
+ "rotateTitle": "Rotate signing secret?",
+ "saveError": "The webhook could not be saved.",
+ "secretTitle": "Signing secret — save it now",
+ "sendTest": "Send test",
+ "setup": "Set NOTIFICATION_SECRET_ENCRYPTION_KEY to create webhooks.",
+ "signingSecret": "Signing secret",
+ "succeeded": "Delivered",
+ "testEvent": "Test event",
+ "testQueued": "Test event queued.",
+ "title": "Webhooks",
+ "url": "URL",
+ "save": "Save"
}
},
"navigation": {