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.

fix: notification preferences secrets and locale strings

Tin4f349ec8101e
diff --git a/apps/api/drizzle/0023_encrypt_notification_preference_secrets.sql b/apps/api/drizzle/0023_encrypt_notification_preference_secrets.sql
new file mode 100644
index 000000000..e86260620
--- /dev/null
+++ b/apps/api/drizzle/0023_encrypt_notification_preference_secrets.sql
@@ -0,0 +1,14 @@
+UPDATE "user_notification_preference"
+SET "ntfy_token" = NULL
+WHERE "ntfy_token" IS NOT NULL
+ AND "ntfy_token" NOT LIKE 'enc:v1:%';
+--> statement-breakpoint
+UPDATE "user_notification_preference"
+SET "gotify_token" = NULL
+WHERE "gotify_token" IS NOT NULL
+ AND "gotify_token" NOT LIKE 'enc:v1:%';
+--> statement-breakpoint
+UPDATE "user_notification_preference"
+SET "webhook_secret" = NULL
+WHERE "webhook_secret" IS NOT NULL
+ AND "webhook_secret" NOT LIKE 'enc:v1:%';
diff --git a/apps/api/drizzle/meta/_journal.json b/apps/api/drizzle/meta/_journal.json
index 6111ff5f7..2efc87210 100644
--- a/apps/api/drizzle/meta/_journal.json
+++ b/apps/api/drizzle/meta/_journal.json
@@ -162,6 +162,13 @@
"when": 1775039833883,
"tag": "0022_real_deathstrike",
"breakpoints": true
+ },
+ {
+ "idx": 23,
+ "version": "7",
+ "when": 1775102400000,
+ "tag": "0023_encrypt_notification_preference_secrets",
+ "breakpoints": true
}
]
}
diff --git a/apps/api/src/database/relations.ts b/apps/api/src/database/relations.ts
index 9c46209f9..92a146af6 100644
--- a/apps/api/src/database/relations.ts
+++ b/apps/api/src/database/relations.ts
@@ -29,7 +29,7 @@ import {
workspaceUserTable,
} from "./schema";
-export const userTableRelations = relations(userTable, ({ many }) => ({
+export const userTableRelations = relations(userTable, ({ many, one }) => ({
sessions: many(sessionTable),
accounts: many(accountTable),
teamMembers: many(teamMemberTable),
@@ -41,7 +41,7 @@ export const userTableRelations = relations(userTable, ({ many }) => ({
comments: many(commentTable),
assets: many(assetTable),
notifications: many(notificationTable),
- notificationPreference: many(userNotificationPreferenceTable),
+ notificationPreference: one(userNotificationPreferenceTable),
notificationWorkspaceRules: many(userNotificationWorkspaceRuleTable),
sentInvitations: many(invitationTable),
apikeys: many(apikeyTable),
diff --git a/apps/api/src/notification-preferences/delivery.ts b/apps/api/src/notification-preferences/delivery.ts
index 5bbae0d62..a33914490 100644
--- a/apps/api/src/notification-preferences/delivery.ts
+++ b/apps/api/src/notification-preferences/delivery.ts
@@ -12,6 +12,7 @@ import {
workspaceTable,
} from "../database/schema";
import { assertPublicWebhookDestination } from "../plugins/generic-webhook/config";
+import { decryptSecret } from "./secrets";
const DEFAULT_OUTBOUND_FETCH_TIMEOUT_MS = 15_000;
@@ -354,6 +355,13 @@ export async function deliverNotification(
return;
}
+ const decryptedPreference = {
+ ...preference,
+ ntfyToken: decryptSecret(preference.ntfyToken),
+ gotifyToken: decryptSecret(preference.gotifyToken),
+ webhookSecret: decryptSecret(preference.webhookSecret),
+ };
+
const rule = await db.query.userNotificationWorkspaceRuleTable.findFirst({
where: and(
eq(userNotificationWorkspaceRuleTable.userId, notification.userId),
@@ -369,11 +377,11 @@ export async function deliverNotification(
}
if (
- context.projectId &&
rule.projectMode === "selected" &&
- !rule.selectedProjects.some(
- (project) => project.projectId === context.projectId,
- )
+ (!context.projectId ||
+ !rule.selectedProjects.some(
+ (project) => project.projectId === context.projectId,
+ ))
) {
return;
}
@@ -425,7 +433,7 @@ export async function deliverNotification(
const deliveries: Array<Promise<void>> = [];
- if (preference.emailEnabled && rule.emailEnabled && user.email) {
+ if (decryptedPreference.emailEnabled && rule.emailEnabled && user.email) {
deliveries.push(
sendNotificationEmail(user.email, content.title, {
title: content.title,
@@ -438,16 +446,16 @@ export async function deliverNotification(
}
if (
- preference.ntfyEnabled &&
- preference.ntfyServerUrl &&
- preference.ntfyTopic &&
+ decryptedPreference.ntfyEnabled &&
+ decryptedPreference.ntfyServerUrl &&
+ decryptedPreference.ntfyTopic &&
rule.ntfyEnabled
) {
deliveries.push(
sendNtfyNotification({
- serverUrl: preference.ntfyServerUrl,
- topic: preference.ntfyTopic,
- token: preference.ntfyToken,
+ serverUrl: decryptedPreference.ntfyServerUrl,
+ topic: decryptedPreference.ntfyTopic,
+ token: decryptedPreference.ntfyToken,
title: content.title,
body: content.body,
clickUrl: context.taskUrl,
@@ -456,15 +464,15 @@ export async function deliverNotification(
}
if (
- preference.gotifyEnabled &&
- preference.gotifyServerUrl &&
- preference.gotifyToken &&
+ decryptedPreference.gotifyEnabled &&
+ decryptedPreference.gotifyServerUrl &&
+ decryptedPreference.gotifyToken &&
rule.gotifyEnabled
) {
deliveries.push(
sendGotifyNotification({
- serverUrl: preference.gotifyServerUrl,
- token: preference.gotifyToken,
+ serverUrl: decryptedPreference.gotifyServerUrl,
+ token: decryptedPreference.gotifyToken,
title: content.title,
body: content.body,
clickUrl: context.taskUrl,
@@ -473,14 +481,14 @@ export async function deliverNotification(
}
if (
- preference.webhookEnabled &&
- preference.webhookUrl &&
+ decryptedPreference.webhookEnabled &&
+ decryptedPreference.webhookUrl &&
rule.webhookEnabled
) {
deliveries.push(
sendWebhookNotification({
- webhookUrl: preference.webhookUrl,
- secret: preference.webhookSecret,
+ webhookUrl: decryptedPreference.webhookUrl,
+ secret: decryptedPreference.webhookSecret,
payload: webhookPayload,
}),
);
diff --git a/apps/api/src/notification-preferences/secrets.ts b/apps/api/src/notification-preferences/secrets.ts
new file mode 100644
index 000000000..04cb88c83
--- /dev/null
+++ b/apps/api/src/notification-preferences/secrets.ts
@@ -0,0 +1,95 @@
+import {
+ createCipheriv,
+ createDecipheriv,
+ createHash,
+ randomBytes,
+} from "node:crypto";
+
+const SECRET_PREFIX = "enc:v1:";
+const SECRET_ALGORITHM = "aes-256-gcm";
+const SECRET_IV_BYTES = 12;
+
+function getSecretEncryptionKey() {
+ const rawKey = process.env.NOTIFICATION_SECRET_ENCRYPTION_KEY?.trim();
+ if (!rawKey) {
+ return null;
+ }
+
+ return createHash("sha256").update(rawKey).digest();
+}
+
+function requireSecretEncryptionKey() {
+ const key = getSecretEncryptionKey();
+ if (!key) {
+ throw new Error(
+ "NOTIFICATION_SECRET_ENCRYPTION_KEY is required to store encrypted notification secrets",
+ );
+ }
+
+ return key;
+}
+
+function encodePart(value: Buffer) {
+ return value.toString("base64url");
+}
+
+function decodePart(value: string) {
+ return Buffer.from(value, "base64url");
+}
+
+export function isEncryptedSecret(value: string | null | undefined): boolean {
+ return typeof value === "string" && value.startsWith(SECRET_PREFIX);
+}
+
+export function encryptSecret(
+ value: string | null | undefined,
+): string | null | undefined {
+ if (value === undefined || value === null) {
+ return value;
+ }
+
+ if (isEncryptedSecret(value)) {
+ return value;
+ }
+
+ const iv = randomBytes(SECRET_IV_BYTES);
+ const cipher = createCipheriv(
+ SECRET_ALGORITHM,
+ requireSecretEncryptionKey(),
+ iv,
+ );
+ const encrypted = Buffer.concat([
+ cipher.update(value, "utf8"),
+ cipher.final(),
+ ]);
+ const authTag = cipher.getAuthTag();
+
+ return `${SECRET_PREFIX}${encodePart(iv)}.${encodePart(authTag)}.${encodePart(encrypted)}`;
+}
+
+export function decryptSecret(
+ value: string | null | undefined,
+): string | null | undefined {
+ if (value === undefined || value === null || !isEncryptedSecret(value)) {
+ return value;
+ }
+
+ const payload = value.slice(SECRET_PREFIX.length);
+ const [iv, authTag, encrypted] = payload.split(".");
+
+ if (!iv || !authTag || !encrypted) {
+ throw new Error("Invalid encrypted notification secret payload");
+ }
+
+ const decipher = createDecipheriv(
+ SECRET_ALGORITHM,
+ requireSecretEncryptionKey(),
+ decodePart(iv),
+ );
+ decipher.setAuthTag(decodePart(authTag));
+
+ return Buffer.concat([
+ decipher.update(decodePart(encrypted)),
+ decipher.final(),
+ ]).toString("utf8");
+}
diff --git a/apps/api/src/notification-preferences/service.ts b/apps/api/src/notification-preferences/service.ts
index bf8564d7f..554541646 100644
--- a/apps/api/src/notification-preferences/service.ts
+++ b/apps/api/src/notification-preferences/service.ts
@@ -9,6 +9,7 @@ import {
workspaceUserTable,
} from "../database/schema";
import { assertPublicWebhookDestination } from "../plugins/generic-webhook/config";
+import { decryptSecret, encryptSecret } from "./secrets";
export type NotificationPreferenceProjectMode = "all" | "selected";
@@ -87,6 +88,17 @@ function maskValue(value: string | undefined | null): string | null {
return value.length > 8 ? `${value.slice(0, 4)}…${value.slice(-4)}` : "••••";
}
+function normalizeSecretInput(
+ inputValue: string | null | undefined,
+ existingValue: string | null | undefined,
+) {
+ if (inputValue === undefined) {
+ return normalizeOptionalString(existingValue ?? undefined);
+ }
+
+ return normalizeOptionalString(inputValue);
+}
+
async function assertWorkspaceMembership(userId: string, workspaceId: string) {
const [membership] = await db
.select({ workspaceId: workspaceUserTable.workspaceId })
@@ -141,6 +153,15 @@ export async function getNotificationPreferences(
where: eq(userNotificationPreferenceTable.userId, userId),
});
+ const decryptedPreference = preference
+ ? {
+ ...preference,
+ ntfyToken: decryptSecret(preference.ntfyToken),
+ gotifyToken: decryptSecret(preference.gotifyToken),
+ webhookSecret: decryptSecret(preference.webhookSecret),
+ }
+ : null;
+
const rules = await db.query.userNotificationWorkspaceRuleTable.findMany({
where: eq(userNotificationWorkspaceRuleTable.userId, userId),
with: {
@@ -152,25 +173,27 @@ export async function getNotificationPreferences(
return {
emailAddress,
- emailEnabled: preference?.emailEnabled ?? false,
- ntfyEnabled: preference?.ntfyEnabled ?? false,
- ntfyConfigured: Boolean(preference?.ntfyServerUrl && preference?.ntfyTopic),
- ntfyServerUrl: preference?.ntfyServerUrl ?? null,
- ntfyTopic: preference?.ntfyTopic ?? null,
- ntfyTokenConfigured: Boolean(preference?.ntfyToken),
- maskedNtfyToken: maskValue(preference?.ntfyToken),
- gotifyEnabled: preference?.gotifyEnabled ?? false,
+ emailEnabled: decryptedPreference?.emailEnabled ?? false,
+ ntfyEnabled: decryptedPreference?.ntfyEnabled ?? false,
+ ntfyConfigured: Boolean(
+ decryptedPreference?.ntfyServerUrl && decryptedPreference?.ntfyTopic,
+ ),
+ ntfyServerUrl: decryptedPreference?.ntfyServerUrl ?? null,
+ ntfyTopic: decryptedPreference?.ntfyTopic ?? null,
+ ntfyTokenConfigured: Boolean(decryptedPreference?.ntfyToken),
+ maskedNtfyToken: maskValue(decryptedPreference?.ntfyToken),
+ gotifyEnabled: decryptedPreference?.gotifyEnabled ?? false,
gotifyConfigured: Boolean(
- preference?.gotifyServerUrl && preference?.gotifyToken,
+ decryptedPreference?.gotifyServerUrl && decryptedPreference?.gotifyToken,
),
- gotifyServerUrl: preference?.gotifyServerUrl ?? null,
- gotifyTokenConfigured: Boolean(preference?.gotifyToken),
- maskedGotifyToken: maskValue(preference?.gotifyToken),
- webhookEnabled: preference?.webhookEnabled ?? false,
- webhookConfigured: Boolean(preference?.webhookUrl),
- webhookUrl: preference?.webhookUrl ?? null,
- webhookSecretConfigured: Boolean(preference?.webhookSecret),
- maskedWebhookSecret: maskValue(preference?.webhookSecret),
+ gotifyServerUrl: decryptedPreference?.gotifyServerUrl ?? null,
+ gotifyTokenConfigured: Boolean(decryptedPreference?.gotifyToken),
+ maskedGotifyToken: maskValue(decryptedPreference?.gotifyToken),
+ webhookEnabled: decryptedPreference?.webhookEnabled ?? false,
+ webhookConfigured: Boolean(decryptedPreference?.webhookUrl),
+ webhookUrl: decryptedPreference?.webhookUrl ?? null,
+ webhookSecretConfigured: Boolean(decryptedPreference?.webhookSecret),
+ maskedWebhookSecret: maskValue(decryptedPreference?.webhookSecret),
workspaces: rules.map((rule) => ({
id: rule.id,
workspaceId: rule.workspaceId,
@@ -202,29 +225,64 @@ export async function updateNotificationPreferences(
where: eq(userNotificationPreferenceTable.userId, userId),
});
+ const decryptedExisting = existing
+ ? {
+ ...existing,
+ ntfyToken: decryptSecret(existing.ntfyToken),
+ gotifyToken: decryptSecret(existing.gotifyToken),
+ webhookSecret: decryptSecret(existing.webhookSecret),
+ }
+ : null;
+
const ntfyServerUrl = normalizeOptionalString(
- input.ntfyServerUrl ?? existing?.ntfyServerUrl,
+ input.ntfyServerUrl ?? decryptedExisting?.ntfyServerUrl,
);
const ntfyTopic = normalizeOptionalString(
- input.ntfyTopic ?? existing?.ntfyTopic,
+ input.ntfyTopic ?? decryptedExisting?.ntfyTopic,
+ );
+ const ntfyToken = normalizeSecretInput(
+ input.ntfyToken,
+ decryptedExisting?.ntfyToken,
);
- const ntfyToken = normalizeOptionalString(input.ntfyToken ?? undefined);
const gotifyServerUrl = normalizeOptionalString(
- input.gotifyServerUrl ?? existing?.gotifyServerUrl,
+ input.gotifyServerUrl ?? decryptedExisting?.gotifyServerUrl,
+ );
+ const gotifyToken = normalizeSecretInput(
+ input.gotifyToken,
+ decryptedExisting?.gotifyToken,
);
- const gotifyToken = normalizeOptionalString(input.gotifyToken ?? undefined);
const webhookUrl = normalizeOptionalString(
- input.webhookUrl ?? existing?.webhookUrl,
+ input.webhookUrl ?? decryptedExisting?.webhookUrl,
);
- const webhookSecret = normalizeOptionalString(
- input.webhookSecret ?? undefined,
+ const webhookSecret = normalizeSecretInput(
+ input.webhookSecret,
+ decryptedExisting?.webhookSecret,
);
- const emailEnabled = input.emailEnabled ?? existing?.emailEnabled ?? false;
- const ntfyEnabled = input.ntfyEnabled ?? existing?.ntfyEnabled ?? false;
- const gotifyEnabled = input.gotifyEnabled ?? existing?.gotifyEnabled ?? false;
+ const emailEnabled =
+ input.emailEnabled ?? decryptedExisting?.emailEnabled ?? false;
+ const ntfyEnabled =
+ input.ntfyEnabled ?? decryptedExisting?.ntfyEnabled ?? false;
+ const gotifyEnabled =
+ input.gotifyEnabled ?? decryptedExisting?.gotifyEnabled ?? false;
const webhookEnabled =
- input.webhookEnabled ?? existing?.webhookEnabled ?? false;
+ input.webhookEnabled ?? decryptedExisting?.webhookEnabled ?? false;
+
+ const shouldValidateNtfy =
+ ntfyEnabled ||
+ input.ntfyServerUrl !== undefined ||
+ input.ntfyTopic !== undefined ||
+ input.ntfyToken !== undefined;
+
+ const shouldValidateGotify =
+ gotifyEnabled ||
+ input.gotifyServerUrl !== undefined ||
+ input.gotifyToken !== undefined;
+
+ const shouldValidateWebhook =
+ webhookEnabled ||
+ input.webhookUrl !== undefined ||
+ input.webhookSecret !== undefined;
if (emailEnabled && !emailAddress) {
throw new HTTPException(400, {
@@ -232,7 +290,7 @@ export async function updateNotificationPreferences(
});
}
- if (ntfyEnabled || ntfyServerUrl || ntfyTopic || ntfyToken !== undefined) {
+ if (shouldValidateNtfy) {
if (!ntfyServerUrl || !ntfyTopic) {
throw new HTTPException(400, {
message: "ntfy requires a server URL and topic",
@@ -250,7 +308,7 @@ export async function updateNotificationPreferences(
}
}
- if (gotifyEnabled || gotifyServerUrl || gotifyToken !== undefined) {
+ if (shouldValidateGotify) {
if (!gotifyServerUrl || !gotifyToken) {
throw new HTTPException(400, {
message: "Gotify requires a server URL and app token",
@@ -268,7 +326,7 @@ export async function updateNotificationPreferences(
}
}
- if (webhookEnabled || webhookUrl || webhookSecret !== undefined) {
+ if (shouldValidateWebhook) {
if (!webhookUrl) {
throw new HTTPException(400, {
message: "Webhook notifications require an endpoint URL",
@@ -292,17 +350,21 @@ export async function updateNotificationPreferences(
ntfyServerUrl,
ntfyTopic,
ntfyToken:
- ntfyToken === undefined ? (existing?.ntfyToken ?? null) : ntfyToken,
+ input.ntfyToken === undefined
+ ? (existing?.ntfyToken ?? null)
+ : (encryptSecret(ntfyToken) ?? null),
gotifyEnabled,
gotifyServerUrl,
gotifyToken:
- gotifyToken === undefined ? (existing?.gotifyToken ?? null) : gotifyToken,
+ input.gotifyToken === undefined
+ ? (existing?.gotifyToken ?? null)
+ : (encryptSecret(gotifyToken) ?? null),
webhookEnabled,
webhookUrl,
webhookSecret:
- webhookSecret === undefined
+ input.webhookSecret === undefined
? (existing?.webhookSecret ?? null)
- : webhookSecret,
+ : (encryptSecret(webhookSecret) ?? null),
};
if (existing) {
diff --git a/apps/docs/core/functional/account-notifications.mdx b/apps/docs/core/functional/account-notifications.mdx
index f48b1bce7..40e278187 100644
--- a/apps/docs/core/functional/account-notifications.mdx
+++ b/apps/docs/core/functional/account-notifications.mdx
@@ -62,6 +62,20 @@ ntfy requires:
- a topic
- optionally, a bearer token
+### Gotify
+
+Gotify requires:
+
+- a server URL
+- an application token (bearer token)
+
+Setup notes:
+
+- create an application in your Gotify server before connecting Kaneo
+- paste the base server URL, for example `https://gotify.example.com`
+- no extra topic or path is required because Kaneo sends directly to the Gotify message API using the application token
+- if your Gotify server uses a custom port or TLS, include that in the server URL
+
### Custom webhook
Custom webhook requires:
diff --git a/i18n/el-GR.json b/i18n/el-GR.json
index b9efd4ba5..0ba53d41e 100644
--- a/i18n/el-GR.json
+++ b/i18n/el-GR.json
@@ -403,10 +403,10 @@
"toastRuleSaveFailed": "Αποτυχία αποθήκευσης κανόνα ειδοποίησης χώρου εργασίας",
"toastRuleRemoved": "Αφαιρέθηκε ο κανόνας ειδοποίησης για {{workspaceName}}",
"toastRuleRemoveFailed": "Αποτυχία αφαίρεσης κανόνα ειδοποίησης χώρου εργασίας",
- "toastPreferencesSaved": "Notification preferences saved",
- "toastPreferencesSaveFailed": "Failed to save notification preferences",
- "toastRuleRemovedGeneric": "Workspace notification rule removed",
- "toastRuleSavedGeneric": "Workspace notification rule saved"
+ "toastPreferencesSaved": "Οι προτιμήσεις ειδοποιήσεων αποθηκεύτηκαν",
+ "toastPreferencesSaveFailed": "Αποτυχία αποθήκευσης των προτιμήσεων ειδοποιήσεων",
+ "toastRuleRemovedGeneric": "Ο κανόνας ειδοποίησης του χώρου εργασίας αφαιρέθηκε",
+ "toastRuleSavedGeneric": "Ο κανόνας ειδοποίησης του χώρου εργασίας αποθηκεύτηκε"
},
"preferencesPage": {
"title": "Προτιμήσεις",
@@ -582,12 +582,12 @@
"subtitle": "Συνδέστε το έργο σας με εξωτερικά εργαλεία και υπηρεσίες για πιο ομαλή ροή εργασίας.",
"githubSectionTitle": "Ενσωμάτωση GitHub",
"githubSectionSubtitle": "Συγχρονίστε εργασίες με GitHub issues και ενεργοποιήστε αμφίδρομο συγχρονισμό.",
- "discordSectionSubtitle": "Send project task updates into a Discord channel with a webhook.",
- "discordSectionTitle": "Discord Integration",
- "genericWebhookSectionSubtitle": "Send project task events to any HTTP endpoint as JSON.",
- "genericWebhookSectionTitle": "Generic Webhooks",
- "slackSectionSubtitle": "Send project task updates into a Slack channel with an incoming webhook.",
- "slackSectionTitle": "Slack Integration"
+ "discordSectionSubtitle": "Στείλτε ενημερώσεις εργασιών έργου σε κανάλι Discord μέσω webhook.",
+ "discordSectionTitle": "Ενσωμάτωση Discord",
+ "genericWebhookSectionSubtitle": "Στείλτε γεγονότα εργασιών έργου σε οποιοδήποτε HTTP endpoint ως JSON.",
+ "genericWebhookSectionTitle": "Γενικά Webhooks",
+ "slackSectionSubtitle": "Στείλτε ενημερώσεις εργασιών έργου σε κανάλι Slack μέσω εισερχόμενου webhook.",
+ "slackSectionTitle": "Ενσωμάτωση Slack"
},
"projectVisibility": {
"pageTitle": "Ορατότητα έργου",
@@ -760,117 +760,117 @@
"open": "Ανοιχτό"
},
"discordIntegration": {
- "channelHint": "Optional label for your reference. Discord controls the actual destination channel from the webhook setup.",
- "channelLabel": "Channel name",
+ "channelHint": "Προαιρετική ετικέτα για τη δική σας αναφορά. Το Discord ελέγχει το πραγματικό κανάλι προορισμού από τη ρύθμιση του webhook.",
+ "channelLabel": "Όνομα καναλιού",
"channelPlaceholder": "#team-updates",
- "connect": "Connect Discord",
- "connected": "Connected",
- "connectionHint": "Paste a Discord webhook URL and choose which task events should be posted.",
- "connectionTitle": "Discord webhook connection",
- "disconnect": "Disconnect",
+ "connect": "Σύνδεση Discord",
+ "connected": "Συνδεδεμένο",
+ "connectionHint": "Επικολλήστε ένα URL webhook του Discord και επιλέξτε ποια γεγονότα εργασιών θα δημοσιεύονται.",
+ "connectionTitle": "Σύνδεση webhook Discord",
+ "disconnect": "Αποσύνδεση",
"events": {
- "taskCommentCreated": "New comments",
- "taskCreated": "New tasks",
- "taskDescriptionChanged": "Description changes",
- "taskPriorityChanged": "Priority changes",
- "taskStatusChanged": "Status changes",
- "taskTitleChanged": "Title changes"
+ "taskCommentCreated": "Νέα σχόλια",
+ "taskCreated": "Νέες εργασίες",
+ "taskDescriptionChanged": "Αλλαγές περιγραφής",
+ "taskPriorityChanged": "Αλλαγές προτεραιότητας",
+ "taskStatusChanged": "Αλλαγές κατάστασης",
+ "taskTitleChanged": "Αλλαγές τίτλου"
},
- "eventsHint": "Choose which project changes should post to Discord.",
- "eventsTitle": "Event notifications",
- "paused": "Paused",
- "saveChanges": "Save changes",
+ "eventsHint": "Επιλέξτε ποιες αλλαγές έργου θα δημοσιεύονται στο Discord.",
+ "eventsTitle": "Ειδοποιήσεις γεγονότων",
+ "paused": "Σε παύση",
+ "saveChanges": "Αποθήκευση αλλαγών",
"toast": {
- "disabled": "Discord notifications paused",
- "enabled": "Discord notifications enabled",
- "removed": "Discord integration removed successfully",
- "removeError": "Failed to remove Discord integration",
- "saved": "Discord integration saved successfully",
- "saveError": "Failed to save Discord integration",
- "updateError": "Failed to update Discord integration"
+ "disabled": "Οι ειδοποιήσεις Discord τέθηκαν σε παύση",
+ "enabled": "Οι ειδοποιήσεις Discord ενεργοποιήθηκαν",
+ "removed": "Η ενσωμάτωση Discord αφαιρέθηκε με επιτυχία",
+ "removeError": "Αποτυχία αφαίρεσης της ενσωμάτωσης Discord",
+ "saved": "Η ενσωμάτωση Discord αποθηκεύτηκε με επιτυχία",
+ "saveError": "Αποτυχία αποθήκευσης της ενσωμάτωσης Discord",
+ "updateError": "Αποτυχία ενημέρωσης της ενσωμάτωσης Discord"
},
- "update": "Update Discord",
+ "update": "Ενημέρωση Discord",
"validation": {
- "webhookInvalid": "Enter a valid Discord webhook URL"
+ "webhookInvalid": "Εισαγάγετε ένα έγκυρο URL webhook Discord"
},
- "webhookHint": "Create a Discord channel webhook and paste the generated URL here.",
- "webhookLabel": "Webhook URL",
+ "webhookHint": "Δημιουργήστε ένα webhook καναλιού Discord και επικολλήστε εδώ το παραγόμενο URL.",
+ "webhookLabel": "URL webhook",
"webhookPlaceholder": "https://discord.com/api/webhooks/..."
},
"genericWebhookIntegration": {
- "connect": "Connect webhook",
- "connected": "Connected",
- "connectionHint": "Send task events to your own endpoint as JSON. A signed X-Kaneo-Signature header is included when a secret is configured.",
- "connectionTitle": "Outgoing webhook connection",
- "disconnect": "Disconnect",
+ "connect": "Σύνδεση webhook",
+ "connected": "Συνδεδεμένο",
+ "connectionHint": "Στείλτε γεγονότα εργασιών στο δικό σας endpoint ως JSON. Περιλαμβάνεται υπογεγραμμένη κεφαλίδα X-Kaneo-Signature όταν έχει ρυθμιστεί μυστικό.",
+ "connectionTitle": "Σύνδεση εξερχόμενου webhook",
+ "disconnect": "Αποσύνδεση",
"events": {
- "taskCommentCreated": "New comments",
- "taskCreated": "New tasks",
- "taskDescriptionChanged": "Description changes",
- "taskPriorityChanged": "Priority changes",
- "taskStatusChanged": "Status changes",
- "taskTitleChanged": "Title changes"
+ "taskCommentCreated": "Νέα σχόλια",
+ "taskCreated": "Νέες εργασίες",
+ "taskDescriptionChanged": "Αλλαγές περιγραφής",
+ "taskPriorityChanged": "Αλλαγές προτεραιότητας",
+ "taskStatusChanged": "Αλλαγές κατάστασης",
+ "taskTitleChanged": "Αλλαγές τίτλου"
},
- "eventsHint": "Choose which project changes should trigger outgoing webhooks.",
- "eventsTitle": "Event notifications",
- "paused": "Paused",
- "saveChanges": "Save changes",
- "secretHint": "Optional. If provided, Kaneo signs the request body and sends the hex digest in the X-Kaneo-Signature header.",
- "secretHintConfigured": "A signing secret is already configured ({{secret}}). Enter a new one to replace it.",
- "secretLabel": "Signing secret",
- "secretPlaceholder": "Optional shared secret",
+ "eventsHint": "Επιλέξτε ποιες αλλαγές έργου θα ενεργοποιούν εξερχόμενα webhooks.",
+ "eventsTitle": "Ειδοποιήσεις γεγονότων",
+ "paused": "Σε παύση",
+ "saveChanges": "Αποθήκευση αλλαγών",
+ "secretHint": "Προαιρετικό. Αν δοθεί, το Kaneo υπογράφει το σώμα του αιτήματος και στέλνει το hex digest στην κεφαλίδα X-Kaneo-Signature.",
+ "secretHintConfigured": "Έχει ήδη ρυθμιστεί ένα μυστικό υπογραφής ({{secret}}). Εισαγάγετε ένα νέο για να το αντικαταστήσετε.",
+ "secretLabel": "Μυστικό υπογραφής",
+ "secretPlaceholder": "Προαιρετικό κοινόχρηστο μυστικό",
"toast": {
- "disabled": "Generic webhook notifications paused",
- "enabled": "Generic webhook notifications enabled",
- "removed": "Generic webhook integration removed successfully",
- "removeError": "Failed to remove generic webhook integration",
- "saved": "Generic webhook integration saved successfully",
- "saveError": "Failed to save generic webhook integration",
- "updateError": "Failed to update generic webhook integration"
+ "disabled": "Οι ειδοποιήσεις γενικού webhook τέθηκαν σε παύση",
+ "enabled": "Οι ειδοποιήσεις γενικού webhook ενεργοποιήθηκαν",
+ "removed": "Η ενσωμάτωση γενικού webhook αφαιρέθηκε με επιτυχία",
+ "removeError": "Αποτυχία αφαίρεσης της ενσωμάτωσης γενικού webhook",
+ "saved": "Η ενσωμάτωση γενικού webhook αποθηκεύτηκε με επιτυχία",
+ "saveError": "Αποτυχία αποθήκευσης της ενσωμάτωσης γενικού webhook",
+ "updateError": "Αποτυχία ενημέρωσης της ενσωμάτωσης γενικού webhook"
},
"validation": {
- "webhookInvalid": "Enter a valid webhook URL"
+ "webhookInvalid": "Εισαγάγετε ένα έγκυρο URL webhook"
},
- "webhookHint": "Kaneo sends POST requests with a JSON payload for each enabled event.",
- "webhookLabel": "Endpoint URL",
+ "webhookHint": "Το Kaneo στέλνει αιτήματα POST με JSON payload για κάθε ενεργοποιημένο γεγονός.",
+ "webhookLabel": "URL endpoint",
"webhookPlaceholder": "https://example.com/webhooks/kaneo"
},
"slackIntegration": {
- "channelHint": "Optional label for your reference. Slack controls the actual destination channel from the webhook setup.",
- "channelLabel": "Channel name",
+ "channelHint": "Προαιρετική ετικέτα για τη δική σας αναφορά. Το Slack ελέγχει το πραγματικό κανάλι προορισμού από τη ρύθμιση του webhook.",
+ "channelLabel": "Όνομα καναλιού",
"channelPlaceholder": "#team-updates",
- "connect": "Connect Slack",
- "connected": "Connected",
- "connectionHint": "Paste a Slack incoming webhook URL and choose which task events should be posted.",
- "connectionTitle": "Slack webhook connection",
- "disconnect": "Disconnect",
+ "connect": "Σύνδεση Slack",
+ "connected": "Συνδεδεμένο",
+ "connectionHint": "Επικολλήστε ένα URL εισερχόμενου webhook του Slack και επιλέξτε ποια γεγονότα εργασιών θα δημοσιεύονται.",
+ "connectionTitle": "Σύνδεση webhook Slack",
+ "disconnect": "Αποσύνδεση",
"events": {
- "taskCommentCreated": "New comments",
- "taskCreated": "New tasks",
- "taskDescriptionChanged": "Description changes",
- "taskPriorityChanged": "Priority changes",
- "taskStatusChanged": "Status changes",
- "taskTitleChanged": "Title changes"
+ "taskCommentCreated": "Νέα σχόλια",
+ "taskCreated": "Νέες εργασίες",
+ "taskDescriptionChanged": "Αλλαγές περιγραφής",
+ "taskPriorityChanged": "Αλλαγές προτεραιότητας",
+ "taskStatusChanged": "Αλλαγές κατάστασης",
+ "taskTitleChanged": "Αλλαγές τίτλου"
},
- "eventsHint": "Choose which project changes should post to Slack.",
- "eventsTitle": "Event notifications",
- "paused": "Paused",
- "saveChanges": "Save changes",
+ "eventsHint": "Επιλέξτε ποιες αλλαγές έργου θα δημοσιεύονται στο Slack.",
+ "eventsTitle": "Ειδοποιήσεις γεγονότων",
+ "paused": "Σε παύση",
+ "saveChanges": "Αποθήκευση αλλαγών",
"toast": {
- "disabled": "Slack notifications paused",
- "enabled": "Slack notifications enabled",
- "removed": "Slack integration removed successfully",
- "removeError": "Failed to remove Slack integration",
- "saved": "Slack integration saved successfully",
- "saveError": "Failed to save Slack integration",
- "updateError": "Failed to update Slack integration"
+ "disabled": "Οι ειδοποιήσεις Slack τέθηκαν σε παύση",
+ "enabled": "Οι ειδοποιήσεις Slack ενεργοποιήθηκαν",
+ "removed": "Η ενσωμάτωση Slack αφαιρέθηκε με επιτυχία",
+ "removeError": "Αποτυχία αφαίρεσης της ενσωμάτωσης Slack",
+ "saved": "Η ενσωμάτωση Slack αποθηκεύτηκε με επιτυχία",
+ "saveError": "Αποτυχία αποθήκευσης της ενσωμάτωσης Slack",
+ "updateError": "Αποτυχία ενημέρωσης της ενσωμάτωσης Slack"
},
- "update": "Update Slack",
+ "update": "Ενημέρωση Slack",
"validation": {
- "webhookInvalid": "Enter a valid Slack webhook URL"
+ "webhookInvalid": "Εισαγάγετε ένα έγκυρο URL webhook Slack"
},
- "webhookHint": "Create an Incoming Webhook in Slack and paste the generated URL here.",
- "webhookLabel": "Incoming webhook URL",
+ "webhookHint": "Δημιουργήστε ένα Incoming Webhook στο Slack και επικολλήστε εδώ το παραγόμενο URL.",
+ "webhookLabel": "URL εισερχόμενου webhook",
"webhookPlaceholder": "https://hooks.slack.com/services/..."
}
},