⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
fix: enforce GitLab import permissions and preserve local labels
Tin2a1b10b57b09
diff --cc apps/api/src/gitlab-integration/index.tsindex e58449076,000000000..851a75d61mode 100644,000000..100644--- a/apps/api/src/gitlab-integration/index.ts+++ b/apps/api/src/gitlab-integration/index.ts@@@ -1,363 -1,0 +1,363 @@@+import { and, eq } from "drizzle-orm";+import type { Context } from "hono";+import { HTTPException } from "hono/http-exception";+import db from "../database";+import { integrationTable } from "../database/schema";+import { scopeToProjectFromBody } from "../integrations/middleware";+import { projectIdBody, projectIdParam } from "../integrations/schema";+import {+ apiRouter,+ type BaseVariables,+ createRoute,+ errorResponse,+ jsonResponse,+} from "../openapi";+import {+ type GitlabConfig,+ validateGitlabConfig,+} from "../plugins/gitlab/config";+import { tokenTypeOf } from "../plugins/gitlab/utils/gitlab-api";+import { handleGitlabWebhookRequest } from "../plugins/gitlab/webhook-handler";+import {+ hasWorkspacePermission,+ requireWorkspacePermission,+} from "../utils/require-workspace-permission";+import { workspaceAccess } from "../utils/workspace-access-middleware";+import createGitlabIntegration from "./controllers/create-gitlab-integration";+import deleteGitlabIntegration from "./controllers/delete-gitlab-integration";+import getGitlabIntegration from "./controllers/get-gitlab-integration";+import { importGitlabIssues } from "./controllers/import-gitlab-issues";+import listGitlabProjects from "./controllers/list-gitlab-projects";+import verifyGitlabAccess from "./controllers/verify-gitlab-access";+import {+ gitlabDeleteResultSchema,+ gitlabImportResultSchema,+ gitlabIntegrationSchema,+ gitlabProjectListSchema,+ gitlabVerificationResultSchema,+ integrationNotFoundSchema,+} from "./response";+import {+ createGitlabBody,+ listGitlabProjectsBody,+ updateGitlabBody,+ verifyGitlabBody,+} from "./schema";++const manageAccess = [+ workspaceAccess.fromProject("projectId"),+ requireWorkspacePermission({ workspace: ["manage_settings"] }),+];++const listProjectsRoute = createRoute({+ method: "post",+ operationId: "listGitlabProjects",+ path: "/projects",+ tags: ["GitLab"],+ summary: "List GitLab projects",+ description:+ "List the projects a GitLab token is a member of, for picking one to link. Sent as a POST because the token travels in the body rather than the URL.",+ middleware: manageAccess,+ request: {+ body: {+ required: true,+ content: { "application/json": { schema: listGitlabProjectsBody } },+ },+ },+ responses: {+ 200: jsonResponse("Accessible projects", gitlabProjectListSchema),+ 400: errorResponse("Invalid body, or unknown project"),+ 401: errorResponse(+ "GitLab rejected the token, or the instance is unreachable",+ ),+ 403: errorResponse(+ "No workspace access, or missing workspace:manage_settings",+ ),+ },+});++const verifyRoute = createRoute({+ method: "post",+ operationId: "verifyGitlabAccess",+ path: "/verify",+ tags: ["GitLab"],+ summary: "Verify GitLab access",+ description:+ "Check that the base URL is a GitLab instance and that the token can reach the project with the permissions Kaneo needs. An unreachable instance, a missing project, or insufficient permissions are reported in a 200 body so the form can explain them; a token GitLab rejects outright is a 401.",+ middleware: manageAccess,+ request: {+ body: {+ required: true,+ content: { "application/json": { schema: verifyGitlabBody } },+ },+ },+ responses: {+ 200: jsonResponse("Verification result", gitlabVerificationResultSchema),+ 400: errorResponse("Invalid body, or unknown project"),+ 401: errorResponse("GitLab rejected the token"),+ 403: errorResponse(+ "No workspace access, or missing workspace:manage_settings",+ ),+ },+});++const getIntegrationRoute = createRoute({+ method: "get",+ operationId: "getGitlabIntegration",+ path: "/project/{projectId}",+ tags: ["GitLab"],+ summary: "Get GitLab integration",+ description:+ "Get the GitLab integration for a project, or null when none is configured. The masked access token and the webhook secret are included only for callers with workspace:manage_settings.",+ middleware: [workspaceAccess.fromProject("projectId")] as const,+ request: { params: projectIdParam },+ responses: {+ 200: jsonResponse(+ "GitLab integration details, or null",+ gitlabIntegrationSchema.nullable(),+ ),+ 400: errorResponse(+ "Unknown project, or its workspace could not be determined",+ ),+ 403: errorResponse("No access to the project's workspace"),+ },+});++const createIntegrationRoute = createRoute({+ method: "post",+ operationId: "createGitlabIntegration",+ path: "/project/{projectId}",+ tags: ["GitLab"],+ summary: "Create GitLab integration",+ description:+ "Link a project to a GitLab project. Kaneo generates the secret GitLab must send with each webhook; add the webhook in GitLab afterwards. Use the verify route first to confirm the token really reaches the project.",+ middleware: manageAccess,+ request: {+ params: projectIdParam,+ body: {+ required: true,+ content: { "application/json": { schema: createGitlabBody } },+ },+ },+ responses: {+ 200: jsonResponse("The stored integration", gitlabIntegrationSchema),+ 400: errorResponse("Invalid body, or unknown project"),+ 403: errorResponse(+ "No workspace access, or missing workspace:manage_settings",+ ),+ 409: errorResponse(+ "That GitLab project is already linked to another Kaneo project",+ ),+ },+});++const updateIntegrationRoute = createRoute({+ method: "patch",+ operationId: "updateGitlabIntegration",+ path: "/project/{projectId}",+ tags: ["GitLab"],+ summary: "Update GitLab integration",+ description:+ "Update the GitLab integration. Omitted fields keep their current value.",+ middleware: manageAccess,+ request: {+ params: projectIdParam,+ body: {+ required: true,+ content: { "application/json": { schema: updateGitlabBody } },+ },+ },+ responses: {+ 200: jsonResponse("The updated integration", gitlabIntegrationSchema),+ 400: errorResponse("The resulting config failed validation"),+ 403: errorResponse(+ "No workspace access, or missing workspace:manage_settings",+ ),+ 404: jsonResponse("Integration not found", integrationNotFoundSchema),+ },+});++const deleteIntegrationRoute = createRoute({+ method: "delete",+ operationId: "deleteGitlabIntegration",+ path: "/project/{projectId}",+ tags: ["GitLab"],+ summary: "Delete GitLab integration",+ description: "Unlink a project from its GitLab project.",+ middleware: manageAccess,+ request: { params: projectIdParam },+ responses: {+ 200: jsonResponse("The integration was removed", gitlabDeleteResultSchema),+ 400: errorResponse(+ "Unknown project, or its workspace could not be determined",+ ),+ 403: errorResponse(+ "No workspace access, or missing workspace:manage_settings",+ ),+ 404: errorResponse("GitLab integration not found"),+ },+});++const importIssuesRoute = createRoute({+ method: "post",+ operationId: "importGitlabIssues",+ path: "/import-issues",+ tags: ["GitLab"],+ summary: "Import GitLab issues",+ description:- "Import the linked project's open issues as tasks. Issues that already have a task are refreshed rather than duplicated.",++ "Import the linked project's open issues as tasks. Issues that already have a task are refreshed rather than duplicated. Requires task:create and task:update permissions.",+ middleware: [+ scopeToProjectFromBody,- requireWorkspacePermission({ task: ["create"] }),++ requireWorkspacePermission({ task: ["create", "update"] }),+ ] as const,+ request: {+ body: {+ required: true,+ content: { "application/json": { schema: projectIdBody } },+ },+ },+ responses: {+ 200: jsonResponse("Import summary", gitlabImportResultSchema),+ 400: errorResponse("projectId is required"),+ 403: errorResponse(- "No workspace access, or missing task:create permission",++ "No workspace access, or missing task:create or task:update permission",+ ),+ 404: errorResponse("Project not found"),+ },+});++const gitlabIntegration = apiRouter<BaseVariables & { workspaceId: string }>()+ .openapi(listProjectsRoute, async (c) => {+ const { baseUrl, accessToken, tokenType } = c.req.valid("json");+ const result = await listGitlabProjects({+ baseUrl,+ accessToken,+ tokenType: tokenTypeOf({ tokenType }),+ });+ return c.json(result, 200);+ })+ .openapi(verifyRoute, async (c) => {+ const body = c.req.valid("json");+ const result = await verifyGitlabAccess({+ ...body,+ tokenType: tokenTypeOf(body),+ });+ return c.json(result, 200);+ })+ .openapi(getIntegrationRoute, async (c) => {+ const { projectId } = c.req.valid("param");+ const includeSecrets = await hasWorkspacePermission(c, {+ workspace: ["manage_settings"],+ });+ const integration = await getGitlabIntegration(projectId, includeSecrets);+ if (!integration) {+ return c.json(null, 200);+ }+ return c.json(integration, 200);+ })+ .openapi(createIntegrationRoute, async (c) => {+ const { projectId } = c.req.valid("param");+ const body = c.req.valid("json");+ await createGitlabIntegration({+ projectId,+ baseUrl: body.baseUrl,+ accessToken: body.accessToken,+ tokenType: tokenTypeOf(body),+ projectPath: body.projectPath,+ });+ const integration = await getGitlabIntegration(projectId, true);+ if (!integration) {+ throw new HTTPException(500, { message: "Failed to load integration" });+ }+ return c.json(integration, 200);+ })+ .openapi(updateIntegrationRoute, async (c) => {+ const { projectId } = c.req.valid("param");+ const body = c.req.valid("json");++ const row = await db.query.integrationTable.findFirst({+ where: and(+ eq(integrationTable.projectId, projectId),+ eq(integrationTable.type, "gitlab"),+ ),+ });++ if (!row) {+ return c.json({ error: "Integration not found" }, 404);+ }++ let config: GitlabConfig;+ try {+ config = JSON.parse(row.config) as GitlabConfig;+ } catch {+ throw new HTTPException(500, { message: "Invalid integration config" });+ }++ if (body.commentTaskLinkOnGitlabIssue !== undefined) {+ config = {+ ...config,+ commentTaskLinkOnGitlabIssue: body.commentTaskLinkOnGitlabIssue,+ };+ }++ const validation = await validateGitlabConfig(config);+ if (!validation.valid) {+ throw new HTTPException(400, {+ message: validation.errors?.join(", ") ?? "Invalid config",+ });+ }++ await db+ .update(integrationTable)+ .set({+ config: JSON.stringify(config),+ isActive:+ body.isActive !== undefined ? body.isActive : (row.isActive ?? true),+ updatedAt: new Date(),+ })+ .where(+ and(+ eq(integrationTable.projectId, projectId),+ eq(integrationTable.type, "gitlab"),+ ),+ );++ const updated = await getGitlabIntegration(projectId, true);+ if (!updated) {+ throw new HTTPException(500, { message: "Failed to load integration" });+ }+ return c.json(updated, 200);+ })+ .openapi(deleteIntegrationRoute, async (c) => {+ const { projectId } = c.req.valid("param");+ const result = await deleteGitlabIntegration(projectId);+ return c.json(result, 200);+ })+ .openapi(importIssuesRoute, async (c) => {+ const { projectId } = c.req.valid("json");+ const result = await importGitlabIssues(projectId);+ return c.json(result, 200);+ });++export async function handleGitlabWebhookRoute(c: Context) {+ const integrationId = c.req.param("integrationId");+ if (!integrationId) {+ return c.json({ error: "Missing integration id" }, 400);+ }++ const arrayBuffer = await c.req.arrayBuffer();+ const body = Buffer.from(arrayBuffer).toString("utf8");++ const token =+ c.req.header("x-gitlab-token") || c.req.header("X-Gitlab-Token");++ const result = await handleGitlabWebhookRequest(integrationId, body, token);++ if (!result.success) {+ return c.json({ error: result.error }, result.status ?? 400);+ }++ return c.json({ status: "success" });+}++export default gitlabIntegration;diff --cc apps/api/src/label/controllers/delete-label.tsindex d0ec87ac9,4c9550260..32bbb19ab--- a/apps/api/src/label/controllers/delete-label.ts+++ b/apps/api/src/label/controllers/delete-label.ts@@@ -5,142 -5,126 +5,131 @@@ import { labelTable, projectTable, taskimport { publishEvent } from "../../events";import { removeLabelFromGitea } from "../../plugins/gitea/utils/sync-label-to-gitea";import { removeLabelFromGitHub } from "../../plugins/github/utils/sync-label-to-github";+import { removeLabelFromGitlab } from "../../plugins/gitlab/utils/sync-label-to-gitlab";+ import { withLabelDeletionLock } from "../deletion-lock";- async function deleteLabel(id: string, userId: string) {- const label = await db.query.labelTable.findFirst({- where: (label, { eq }) => eq(label.id, id),- });-- if (!label) {- throw new HTTPException(404, {- message: "Label not found",- });- }-- if (label.taskId) {- // Task-level label: fetch task, delete with event + GitHub sync- const [task] = await db- .select({- id: taskTable.id,- projectId: taskTable.projectId,- workspaceId: projectTable.workspaceId,- })- .from(taskTable)- .innerJoin(projectTable, eq(taskTable.projectId, projectTable.id))- .where(eq(taskTable.id, label.taskId))- .limit(1);-- if (!task) {- throw new HTTPException(404, {- message: "Task not found",- });- }-- const [deletedLabel] = await db- .delete(labelTable)- .where(eq(labelTable.id, id))- .returning();-- if (!deletedLabel) {- throw new HTTPException(404, {- message: "Label not found",- });- }-- if (deletedLabel.taskId) {- removeLabelFromGitHub(deletedLabel.taskId, deletedLabel.name).catch(- (error) => {- console.error("Failed to remove label from GitHub:", error);- },- );- }-- await publishEvent("task.label_deleted", {- label: deletedLabel,- task,- projectId: task.projectId,- taskId: task.id,- userId,- type: "label_deleted",- });-- return deletedLabel;- }-- // Workspace-level label: delete the label and cascade to all task-level copies- const [deletedLabel] = await db- .delete(labelTable)- .where(eq(labelTable.id, id))- .returning();-- if (!deletedLabel) {- throw new HTTPException(404, {- message: "Label not found",- });- }+ export const LABEL_DELETE_BATCH_SIZE = 25;+ type Label = typeof labelTable.$inferSelect;- // Label without a workspace: the cascade filter below could never match- if (label.workspaceId === null) {- return deletedLabel;- }-- // Capture affected task-level labels before cascading so we have data- // for events and provider sync- const affectedLabels = await db+ async function notifyDeletion(label: Label, userId: string) {+ if (!label.taskId) return;+ const [task] = await db.select({- label: labelTable,- taskId: taskTable.id,- projectId: projectTable.id,+ id: taskTable.id,+ projectId: taskTable.projectId,workspaceId: projectTable.workspaceId,})- .from(labelTable)- .innerJoin(taskTable, eq(labelTable.taskId, taskTable.id))+ .from(taskTable).innerJoin(projectTable, eq(taskTable.projectId, projectTable.id)).where(and(- eq(labelTable.workspaceId, label.workspaceId),- eq(labelTable.name, label.name),- isNotNull(labelTable.taskId),- ),- );-- // Cascade: delete all task-level copies of this label so existing tasks lose it- await db- .delete(labelTable)- .where(- and(- eq(labelTable.workspaceId, label.workspaceId),- eq(labelTable.name, label.name),- isNotNull(labelTable.taskId),+ eq(taskTable.id, label.taskId),+ eq(projectTable.workspaceId, label.workspaceId ?? ""),),- );-- // Emit events and sync providers for each affected task- for (const { label: l, taskId, projectId } of affectedLabels) {- if (l.taskId) {- removeLabelFromGitHub(l.taskId, l.name).catch((error) => {- console.error("Failed to remove label from GitHub:", error);- });- removeLabelFromGitea(l.taskId, l.name).catch((error) => {- console.error("Failed to remove label from Gitea:", error);- });- removeLabelFromGitlab(l.taskId, l.name).catch((error) => {- console.error("Failed to remove label from GitLab:", error);- });+ )+ .limit(1);+ // Legacy inconsistent rows may be cleaned up, but never emit foreign events.+ if (!task) return;- for (const remove of [removeLabelFromGitHub, removeLabelFromGitea]) {++ for (const remove of [++ removeLabelFromGitHub,++ removeLabelFromGitea,++ removeLabelFromGitlab,++ ]) {+ try {+ await remove(task.id, label.name);+ } catch {+ console.error(+ "Failed to synchronize a label removal with an external provider",+ );}-- await publishEvent("task.label_deleted", {- label: l,- task: { id: taskId, projectId },- projectId,- taskId,+ }+ await publishEvent(+ "task.label_deleted",+ {+ label,+ task,+ projectId: task.projectId,+ taskId: task.id,userId,type: "label_deleted",+ },+ { waitForHandlers: true },+ );+ }++ async function deleteLabel(+ id: string,+ userId: string,+ ): Promise<Label & { pendingDeletion?: true }> {+ return withLabelDeletionLock(id, async () => {+ const label = await db.query.labelTable.findFirst({+ where: eq(labelTable.id, id),});- }+ if (!label) throw new HTTPException(404, { message: "Label not found" });++ if (label.taskId) {+ const [task] = await db+ .select({ workspaceId: projectTable.workspaceId })+ .from(taskTable)+ .innerJoin(projectTable, eq(taskTable.projectId, projectTable.id))+ .where(eq(taskTable.id, label.taskId))+ .limit(1);+ if (!task || task.workspaceId !== label.workspaceId)+ throw new HTTPException(404, { message: "Task not found" });+ const [deleted] = await db+ .delete(labelTable)+ .where(eq(labelTable.id, id))+ .returning();+ if (!deleted)+ throw new HTTPException(404, { message: "Label not found" });+ await notifyDeletion(deleted, userId);+ return deleted;+ }- return deletedLabel;+ // Persist the snapshot boundary before the first batch. A disconnect or+ // restart leaves this root available for the same DELETE request to resume.+ const [root] = await db+ .update(labelTable)+ .set({+ deletionStartedAt: sql`coalesce(${labelTable.deletionStartedAt}, clock_timestamp())`,+ })+ .where(eq(labelTable.id, id))+ .returning();+ if (!root) throw new HTTPException(404, { message: "Label not found" });+ if (root.workspaceId) {+ const predicate = and(+ eq(labelTable.workspaceId, root.workspaceId),+ eq(labelTable.name, root.name),+ isNotNull(labelTable.taskId),+ lte(+ labelTable.createdAt,+ sql`(select deletion_started_at from label where id = ${id})`,+ ),+ );+ const rows = await db+ .select({ id: labelTable.id })+ .from(labelTable)+ .where(predicate)+ .orderBy(asc(labelTable.createdAt), asc(labelTable.id))+ .limit(LABEL_DELETE_BATCH_SIZE + 1);+ for (const row of rows.slice(0, LABEL_DELETE_BATCH_SIZE)) {+ // Recheck the snapshot/name if a concurrent edit changed this copy.+ const [deleted] = await db+ .delete(labelTable)+ .where(and(eq(labelTable.id, row.id), predicate))+ .returning();+ if (deleted) await notifyDeletion(deleted, userId);+ }+ if (rows.length > LABEL_DELETE_BATCH_SIZE)+ return { ...root, pendingDeletion: true };+ }+ const [deleted] = await db+ .delete(labelTable)+ .where(eq(labelTable.id, id))+ .returning();+ if (!deleted) throw new HTTPException(404, { message: "Label not found" });+ return deleted;+ });}export default deleteLabel;diff --cc apps/api/src/plugins/gitlab/webhooks/issue-updated.tsindex 6b165eb00,000000000..b5d38bfd7mode 100644,000000..100644--- a/apps/api/src/plugins/gitlab/webhooks/issue-updated.ts+++ b/apps/api/src/plugins/gitlab/webhooks/issue-updated.ts@@@ -1,268 -1,0 +1,273 @@@+import { eq, inArray } from "drizzle-orm";+import db from "../../../database";+import { labelTable, taskTable } from "../../../database/schema";+import { publishEvent } from "../../../events";+import {+ findExternalLink,+ updateExternalLink,+} from "../../github/services/link-manager";+import { updateTaskStatus } from "../../github/services/task-service";+import {+ extractIssuePriority,+ extractIssueStatus,+} from "../../github/utils/extract-priority";+import { findAllIntegrationsByGitlabProject } from "../services/integration-lookup";+import { taskDescriptionFromIssue } from "../utils/issue-description";+import {+ isEchoOf,+ type LinkMetadata,+ parseLinkSyncMetadata,+} from "../utils/link-sync";+import type {+ GitlabWebhookLabel,+ GitlabWebhookProject,+} from "../utils/payload";+import { labelColor, labelTitles } from "../utils/payload";+import { isSystemLabelName } from "../utils/system-labels";+import { baseUrlFromProjectWebUrl } from "../utils/webhook-project";++// Edits and label changes arrive together as one "update" action.+type IssueUpdatedPayload = {+ object_attributes: {+ iid: number;+ title: string;+ description: string | null;+ url: string;+ action?: string;+ };+ labels?: GitlabWebhookLabel[];+ changes?: {+ title?: { previous?: string | null; current?: string | null };+ description?: { previous?: string | null; current?: string | null };+ labels?: {+ previous?: GitlabWebhookLabel[];+ current?: GitlabWebhookLabel[];+ };+ };+ project: GitlabWebhookProject;+};++function nonSystemLabels(+ labels: GitlabWebhookLabel[] | undefined,+): Array<{ name: string; color: string }> {+ const out: Array<{ name: string; color: string }> = [];+ for (const label of labels ?? []) {+ if (!label.title || isSystemLabelName(label.title)) continue;+ out.push({ name: label.title, color: labelColor(label) });+ }+ return out;+}++async function syncGitlabLabelsToTask(+ taskId: string,+ workspaceId: string,+ gitlabLabels: Array<{ name: string; color: string }>,++ previousLabels: GitlabWebhookLabel[] | undefined,+) {+ const desiredNames = new Set(gitlabLabels.map((l) => l.name));+ const existingRows = await db.query.labelTable.findMany({+ where: eq(labelTable.taskId, taskId),+ });++ const labelsToInsert = gitlabLabels+ .filter((g) => !existingRows.some((row) => row.name === g.name))+ .map((g) => ({+ name: g.name,+ color: g.color,+ taskId,+ workspaceId,+ }));++ const colorToIds = new Map<string, string[]>();+ for (const g of gitlabLabels) {+ const row = existingRows.find((r) => r.name === g.name);+ if (!row) continue;+ const have = row.color ? `#${row.color.replace(/^#/, "")}` : "#6B7280";+ if (have === g.color) continue;+ const list = colorToIds.get(g.color) ?? [];+ list.push(row.id);+ colorToIds.set(g.color, list);+ }++ for (const [color, ids] of colorToIds) {+ await db+ .update(labelTable)+ .set({ color })+ .where(inArray(labelTable.id, ids));+ }++ if (labelsToInsert.length > 0) {+ await db+ .insert(labelTable)+ .values(labelsToInsert)+ .onConflictDoNothing({+ target: [labelTable.taskId, labelTable.name],+ });+ }+++ // Absence from GitLab alone does not imply removal: local labels may not++ // have synced yet. Only delete names explicitly removed by this event.++ const previousNames = new Set(++ nonSystemLabels(previousLabels).map((label) => label.name),++ );+ const labelsToDelete = existingRows- .filter(- (row) => !desiredNames.has(row.name) && !isSystemLabelName(row.name),- )++ .filter((row) => previousNames.has(row.name) && !desiredNames.has(row.name))+ .map((row) => row.id);++ if (labelsToDelete.length > 0) {+ await db.delete(labelTable).where(inArray(labelTable.id, labelsToDelete));+ }+}++export async function handleGitlabIssueUpdated(+ payload: IssueUpdatedPayload,+ integrationId?: string,+) {+ const issue = payload.object_attributes;+ const { project, changes } = payload;++ const touchedText = Boolean(changes?.title || changes?.description);+ const touchedLabels = Boolean(changes?.labels);++ if (!touchedText && !touchedLabels) {+ return;+ }++ const baseUrl = baseUrlFromProjectWebUrl(+ project.web_url,+ project.path_with_namespace,+ );+ if (!baseUrl) return;++ const integrations = await findAllIntegrationsByGitlabProject(+ baseUrl,+ project.path_with_namespace,+ integrationId,+ );++ const currentLabels = changes?.labels?.current ?? payload.labels;++ for (const integration of integrations) {+ try {+ const externalLink = await findExternalLink(+ integration.id,+ "issue",+ issue.iid.toString(),+ );++ if (!externalLink) {+ continue;+ }++ const task = await db.query.taskTable.findFirst({+ where: eq(taskTable.id, externalLink.taskId),+ with: { project: true },+ });++ if (!task) {+ continue;+ }++ let metadata: LinkMetadata = parseLinkSyncMetadata(+ externalLink.metadata,+ { externalLinkId: externalLink.id, field: "issue" },+ );++ if (touchedText) {+ const updateData: Record<string, unknown> = {};+ const lastSync = { ...(metadata.lastSync ?? {}) };+ const now = new Date().toISOString();++ if (+ changes?.title &&+ !isEchoOf(metadata.lastSync?.title, "kaneo", issue.title)+ ) {+ updateData.title = issue.title;+ lastSync.title = {+ timestamp: now,+ source: "gitlab",+ value: issue.title,+ };+ }++ if (changes?.description) {+ // Kaneo recorded the body with its footer, so compare the raw body.+ const issueBody = issue.description ?? "";+ if (!isEchoOf(metadata.lastSync?.description, "kaneo", issueBody)) {+ const description = taskDescriptionFromIssue(issue.description);+ updateData.description = description;+ lastSync.description = {+ timestamp: now,+ source: "gitlab",+ value: description,+ };+ }+ }++ if (Object.keys(updateData).length > 0) {+ await db+ .update(taskTable)+ .set(updateData)+ .where(eq(taskTable.id, task.id));++ metadata = { ...metadata, lastSync };++ await updateExternalLink(externalLink.id, {+ title: issue.title,+ metadata,+ });+ }+ }+- if (!touchedLabels) {++ if (!touchedLabels || !currentLabels) {+ continue;+ }++ const titles = labelTitles(currentLabels);+ const priority = extractIssuePriority(titles);+ const status = extractIssueStatus(titles);++ if (priority) {+ await db+ .update(taskTable)+ .set({ priority })+ .where(eq(taskTable.id, task.id));+ }++ if (status) {+ const statusResult = await updateTaskStatus(task.id, status);+ if (+ statusResult.applied &&+ statusResult.before.status !== statusResult.after.status+ ) {+ await publishEvent("task.status_changed", {+ taskId: statusResult.after.id,+ projectId: statusResult.after.projectId,+ userId: null,+ oldStatus: statusResult.before.status,+ newStatus: statusResult.after.status,+ title: statusResult.after.title,+ assigneeId: statusResult.after.userId,+ type: "status_changed",+ });+ }+ }++ if (task.project?.workspaceId) {+ await syncGitlabLabelsToTask(+ task.id,+ task.project.workspaceId,+ nonSystemLabels(currentLabels),++ changes?.labels?.previous,+ );+ }+ } catch (error) {+ console.error("GitLab issue update handler failed for integration", {+ integrationId: integration.id,+ issueIid: issue.iid,+ project: project.path_with_namespace,+ error,+ });+ }+ }+}diff --cc apps/docs/openapi.jsonindex bd81c2998,c025064ae..2cfbd9aa5--- a/apps/docs/openapi.json+++ b/apps/docs/openapi.json@@@ -11458,561 -12473,6 +12696,561 @@@"description": "No workspace access, or missing task:create permission","content": {"text/plain": {+ "schema": {+ "type": "string"+ }+ }+ }+ },+ "404": {+ "description": "Project not found",+ "content": {+ "text/plain": {+ "schema": {+ "type": "string"+ }+ }+ }+ }+ }+ }+ },+ "/gitlab-integration/projects": {+ "post": {+ "operationId": "listGitlabProjects",+ "tags": [+ "GitLab"+ ],+ "summary": "List GitLab projects",+ "description": "List the projects a GitLab token is a member of, for picking one to link. Sent as a POST because the token travels in the body rather than the URL.",+ "requestBody": {+ "required": true,+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "projectId": {+ "type": "string",+ "minLength": 1+ },+ "baseUrl": {+ "type": "string",+ "format": "uri"+ },+ "accessToken": {+ "type": "string",+ "minLength": 1+ },+ "tokenType": {+ "type": "string",+ "enum": [+ "private",+ "bearer"+ ],+ "description": "`private` sends the token in PRIVATE-TOKEN, which is what personal, project and group access tokens expect. `bearer` sends it in Authorization, for an OAuth2 token you already hold. Defaults to `private`."+ }+ },+ "required": [+ "projectId",+ "baseUrl",+ "accessToken"+ ]+ }+ }+ }+ },+ "responses": {+ "200": {+ "description": "Accessible projects",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/GitlabProjectList"+ }+ }+ }+ },+ "400": {+ "description": "Invalid body, or unknown project",+ "content": {+ "text/plain": {+ "schema": {+ "type": "string"+ }+ }+ }+ },+ "401": {+ "description": "GitLab rejected the token, or the instance is unreachable",+ "content": {+ "text/plain": {+ "schema": {+ "type": "string"+ }+ }+ }+ },+ "403": {+ "description": "No workspace access, or missing workspace:manage_settings",+ "content": {+ "text/plain": {+ "schema": {+ "type": "string"+ }+ }+ }+ }+ }+ }+ },+ "/gitlab-integration/verify": {+ "post": {+ "operationId": "verifyGitlabAccess",+ "tags": [+ "GitLab"+ ],+ "summary": "Verify GitLab access",+ "description": "Check that the base URL is a GitLab instance and that the token can reach the project with the permissions Kaneo needs. An unreachable instance, a missing project, or insufficient permissions are reported in a 200 body so the form can explain them; a token GitLab rejects outright is a 401.",+ "requestBody": {+ "required": true,+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "projectId": {+ "type": "string",+ "minLength": 1+ },+ "baseUrl": {+ "type": "string",+ "format": "uri"+ },+ "accessToken": {+ "type": "string",+ "minLength": 1+ },+ "tokenType": {+ "type": "string",+ "enum": [+ "private",+ "bearer"+ ],+ "description": "`private` sends the token in PRIVATE-TOKEN, which is what personal, project and group access tokens expect. `bearer` sends it in Authorization, for an OAuth2 token you already hold. Defaults to `private`."+ },+ "projectPath": {+ "type": "string",+ "minLength": 1,+ "description": "Full path of the GitLab project, including any nested groups, for example acme/platform/web."+ }+ },+ "required": [+ "projectId",+ "baseUrl",+ "accessToken",+ "projectPath"+ ]+ }+ }+ }+ },+ "responses": {+ "200": {+ "description": "Verification result",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/GitlabVerificationResult"+ }+ }+ }+ },+ "400": {+ "description": "Invalid body, or unknown project",+ "content": {+ "text/plain": {+ "schema": {+ "type": "string"+ }+ }+ }+ },+ "401": {+ "description": "GitLab rejected the token",+ "content": {+ "text/plain": {+ "schema": {+ "type": "string"+ }+ }+ }+ },+ "403": {+ "description": "No workspace access, or missing workspace:manage_settings",+ "content": {+ "text/plain": {+ "schema": {+ "type": "string"+ }+ }+ }+ }+ }+ }+ },+ "/gitlab-integration/project/{projectId}": {+ "get": {+ "operationId": "getGitlabIntegration",+ "tags": [+ "GitLab"+ ],+ "summary": "Get GitLab integration",+ "description": "Get the GitLab integration for a project, or null when none is configured. The masked access token and the webhook secret are included only for callers with workspace:manage_settings.",+ "parameters": [+ {+ "schema": {+ "type": "string"+ },+ "required": true,+ "name": "projectId",+ "in": "path"+ }+ ],+ "responses": {+ "200": {+ "description": "GitLab integration details, or null",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/GitlabIntegration"+ }+ }+ }+ },+ "400": {+ "description": "Unknown project, or its workspace could not be determined",+ "content": {+ "text/plain": {+ "schema": {+ "type": "string"+ }+ }+ }+ },+ "401": {+ "description": "Missing or invalid credentials"+ },+ "403": {+ "description": "No access to the project's workspace",+ "content": {+ "text/plain": {+ "schema": {+ "type": "string"+ }+ }+ }+ }+ }+ },+ "post": {+ "operationId": "createGitlabIntegration",+ "tags": [+ "GitLab"+ ],+ "summary": "Create GitLab integration",+ "description": "Link a project to a GitLab project. Kaneo generates the secret GitLab must send with each webhook; add the webhook in GitLab afterwards. Use the verify route first to confirm the token really reaches the project.",+ "parameters": [+ {+ "schema": {+ "type": "string"+ },+ "required": true,+ "name": "projectId",+ "in": "path"+ }+ ],+ "requestBody": {+ "required": true,+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "baseUrl": {+ "type": "string",+ "format": "uri"+ },+ "accessToken": {+ "type": "string",+ "description": "Omit to keep the token already stored for this project."+ },+ "tokenType": {+ "type": "string",+ "enum": [+ "private",+ "bearer"+ ],+ "description": "`private` sends the token in PRIVATE-TOKEN, which is what personal, project and group access tokens expect. `bearer` sends it in Authorization, for an OAuth2 token you already hold. Defaults to `private`."+ },+ "projectPath": {+ "type": "string",+ "minLength": 1+ }+ },+ "required": [+ "baseUrl",+ "projectPath"+ ]+ }+ }+ }+ },+ "responses": {+ "200": {+ "description": "The stored integration",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/GitlabIntegration"+ }+ }+ }+ },+ "400": {+ "description": "Invalid body, or unknown project",+ "content": {+ "text/plain": {+ "schema": {+ "type": "string"+ }+ }+ }+ },+ "401": {+ "description": "Missing or invalid credentials"+ },+ "403": {+ "description": "No workspace access, or missing workspace:manage_settings",+ "content": {+ "text/plain": {+ "schema": {+ "type": "string"+ }+ }+ }+ },+ "409": {+ "description": "That GitLab project is already linked to another Kaneo project",+ "content": {+ "text/plain": {+ "schema": {+ "type": "string"+ }+ }+ }+ }+ }+ },+ "patch": {+ "operationId": "updateGitlabIntegration",+ "tags": [+ "GitLab"+ ],+ "summary": "Update GitLab integration",+ "description": "Update the GitLab integration. Omitted fields keep their current value.",+ "parameters": [+ {+ "schema": {+ "type": "string"+ },+ "required": true,+ "name": "projectId",+ "in": "path"+ }+ ],+ "requestBody": {+ "required": true,+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "isActive": {+ "type": "boolean"+ },+ "commentTaskLinkOnGitlabIssue": {+ "type": "boolean"+ }+ }+ }+ }+ }+ },+ "responses": {+ "200": {+ "description": "The updated integration",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/GitlabIntegration"+ }+ }+ }+ },+ "400": {+ "description": "The resulting config failed validation",+ "content": {+ "text/plain": {+ "schema": {+ "type": "string"+ }+ }+ }+ },+ "401": {+ "description": "Missing or invalid credentials"+ },+ "403": {+ "description": "No workspace access, or missing workspace:manage_settings",+ "content": {+ "text/plain": {+ "schema": {+ "type": "string"+ }+ }+ }+ },+ "404": {+ "description": "Integration not found",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/GitlabIntegrationNotFound"+ }+ }+ }+ }+ }+ },+ "delete": {+ "operationId": "deleteGitlabIntegration",+ "tags": [+ "GitLab"+ ],+ "summary": "Delete GitLab integration",+ "description": "Unlink a project from its GitLab project.",+ "parameters": [+ {+ "schema": {+ "type": "string"+ },+ "required": true,+ "name": "projectId",+ "in": "path"+ }+ ],+ "responses": {+ "200": {+ "description": "The integration was removed",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/GitlabDeleteResult"+ }+ }+ }+ },+ "400": {+ "description": "Unknown project, or its workspace could not be determined",+ "content": {+ "text/plain": {+ "schema": {+ "type": "string"+ }+ }+ }+ },+ "401": {+ "description": "Missing or invalid credentials"+ },+ "403": {+ "description": "No workspace access, or missing workspace:manage_settings",+ "content": {+ "text/plain": {+ "schema": {+ "type": "string"+ }+ }+ }+ },+ "404": {+ "description": "GitLab integration not found",+ "content": {+ "text/plain": {+ "schema": {+ "type": "string"+ }+ }+ }+ }+ }+ }+ },+ "/gitlab-integration/import-issues": {+ "post": {+ "operationId": "importGitlabIssues",+ "tags": [+ "GitLab"+ ],+ "summary": "Import GitLab issues",- "description": "Import the linked project's open issues as tasks. Issues that already have a task are refreshed rather than duplicated.",++ "description": "Import the linked project's open issues as tasks. Issues that already have a task are refreshed rather than duplicated. Requires task:create and task:update permissions.",+ "requestBody": {+ "required": true,+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "projectId": {+ "type": "string"+ }+ },+ "required": [+ "projectId"+ ]+ }+ }+ }+ },+ "responses": {+ "200": {+ "description": "Import summary",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/GitlabImportResult"+ }+ }+ }+ },+ "400": {+ "description": "projectId is required",+ "content": {+ "text/plain": {+ "schema": {+ "type": "string"+ }+ }+ }+ },+ "401": {+ "description": "Missing or invalid credentials"+ },+ "403": {- "description": "No workspace access, or missing task:create permission",++ "description": "No workspace access, or missing task:create or task:update permission",+ "content": {+ "text/plain": {"schema": {"type": "string"}diff --cc apps/web/src/components/activity/comment-card.tsxindex 3956268db,8a665c5f3..d4b61cb9f--- a/apps/web/src/components/activity/comment-card.tsx+++ b/apps/web/src/components/activity/comment-card.tsx@@@ -72,12 -60,19 +74,21 @@@ export default function CommentCard(const queryClient = useQueryClient();const canEdit = currentUser?.id === user?.id;- const sourceName =- externalSource === "github"- ? "GitHub"- : externalSource === "planka"- ? "Planka"- : externalSource === "trello"- ? "Trello"- : externalSource === "jira"- ? "Jira"- : externalSource;- const isFromGitHub = externalSource === "github";+ const forge = forgeOf(externalSource);++ const sourceName = forge++ ? forge.name++ : externalSource === "planka"++ ? "Planka"++ : externalSource === "trello"++ ? "Trello"++ : externalSource === "jira"++ ? "Jira"++ : externalSource;+ // Gitea and GitLab profile URLs depend on the instance.const githubProfileUrl =- isFromGitHub && user?.name ? `https://github.com/${user.name}` : null;+ forge?.name === "GitHub" && user?.name+ ? `https://github.com/${user.name}`+ : null;const commentUrl = externalUrl || null;const fullTimestamp = formatDateTime(createdAt);diff --cc apps/web/src/components/external-links/external-links-accordion.tsxindex 9d8c8ea1e,4431b0def..4770fd6c3--- a/apps/web/src/components/external-links/external-links-accordion.tsx+++ b/apps/web/src/components/external-links/external-links-accordion.tsx@@@ -30,15 -46,8 +47,16 @@@ function isGiteaResourceLink(link: Extereturn from === "gitea" || from === "gitea-import";}+function isGitlabResourceLink(link: ExternalLink) {+ if (link.integration?.type === "gitlab") {+ return true;+ }+ const from = link.metadata?.createdFrom;+ return from === "gitlab" || from === "gitlab-import";+}+export function ExternalLinksAccordion({+ taskId,externalLinks,isLoading,}: ExternalLinksAccordionProps) {@@@ -111,53 -158,162 +167,164 @@@};return (- <Collapsible open={isOpen} onOpenChange={setIsOpen} className="w-full">- <CollapsibleTrigger asChild>- <Button- variant="ghost"- size="sm"- className="w-full justify-start gap-1 px-0 h-8 hover:bg-transparent"- >- {isOpen ? (- <ChevronDown className="size-4 text-muted-foreground" />- ) : (- <ChevronRight className="size-4 text-muted-foreground" />- )}- <span className="text-sm text-muted-foreground">- {t("settings:externalLinks.resources")}- </span>- </Button>- </CollapsibleTrigger>- <CollapsibleContent>- <div className="flex flex-col gap-2 mt-2">- {linksWithoutRedundantBranches.map((link) => (- <a- key={link.id}- href={link.url}- target="_blank"- rel="noopener noreferrer"- className="group flex items-center gap-3 py-2 px-3 rounded-md hover:bg-accent/50 transition-colors"+ <>+ <Collapsible open={isOpen} onOpenChange={setIsOpen} className="w-full">+ <div className="flex items-center justify-between">+ <CollapsibleTrigger asChild>+ <Button+ variant="ghost"+ size="sm"+ className="justify-start gap-1 px-0 h-8 hover:bg-transparent">- {isGiteaResourceLink(link) ? (- <FolderGit className="size-4 flex-shrink-0 text-muted-foreground" />- ) : isGitlabResourceLink(link) ? (- <GitlabIcon className="size-4 flex-shrink-0 text-muted-foreground" />+ {isOpen ? (+ <ChevronDown className="size-4 text-muted-foreground" />) : (- <GithubIcon className="size-4 flex-shrink-0 text-muted-foreground" />+ <ChevronRight className="size-4 text-muted-foreground" />)}- <span className="text-sm truncate flex-1 text-foreground/90 group-hover:text-foreground">- {link.title || link.externalId}- {link.resourceType !== "branch" && (- <span className="text-muted-foreground ml-2">- #{link.externalId}- </span>- )}+ <span className="text-sm text-muted-foreground">+ {t("settings:externalLinks.resources")}</span>- {getStatusBadge(link)}- </a>- ))}+ </Button>+ </CollapsibleTrigger>++ {canAddResource && (+ <Button+ type="button"+ variant="ghost"+ size="sm"+ className="gap-1 h-8"+ onClick={() => setIsDialogOpen(true)}+ >+ <Plus className="size-4" />+ {t("settings:externalLinks.addResource")}+ </Button>+ )}</div>- </CollapsibleContent>- </Collapsible>++ <CollapsibleContent>+ {isLoading ? null : linksWithoutRedundantBranches.length > 0 ? (+ <div className="flex flex-col gap-2 mt-2">+ {linksWithoutRedundantBranches.map((link) => (+ <div key={link.id} className="flex items-center gap-1">+ <a+ href={link.url}+ target="_blank"+ rel="noopener noreferrer"+ className="group flex min-w-0 flex-1 items-center gap-3 py-2 px-3 rounded-md hover:bg-accent/50 transition-colors"+ >+ {isGiteaResourceLink(link) ? (+ <FolderGit className="size-4 flex-shrink-0 text-muted-foreground" />++ ) : isGitlabResourceLink(link) ? (++ <GitlabIcon className="size-4 flex-shrink-0 text-muted-foreground" />+ ) : link.resourceType === "url" ? (+ <Link className="size-4 flex-shrink-0 text-muted-foreground" />+ ) : (+ <GithubIcon className="size-4 flex-shrink-0 text-muted-foreground" />+ )}++ <span className="text-sm truncate flex-1 text-foreground/90 group-hover:text-foreground">+ {link.title || link.externalId}+ {link.resourceType !== "branch" &&+ link.resourceType !== "url" && (+ <span className="text-muted-foreground ml-2">+ #{link.externalId}+ </span>+ )}+ </span>++ {getStatusBadge(link)}+ </a>+ {canAddResource &&+ link.integrationId === null &&+ link.resourceType === "url" && (+ <Button+ type="button"+ variant="ghost"+ size="icon-sm"+ aria-label={t("settings:externalLinks.remove", {+ title: link.title || link.url,+ })}+ disabled={deleteExternalLink.isPending}+ onClick={() =>+ deleteExternalLink.mutate({ taskId, id: link.id })+ }+ >+ <X aria-hidden="true" />+ </Button>+ )}+ </div>+ ))}+ </div>+ ) : (+ <p className="mt-2 px-3 text-sm text-muted-foreground">+ {t("settings:externalLinks.empty")}+ </p>+ )}+ </CollapsibleContent>+ </Collapsible>++ <Dialog+ open={isDialogOpen && canAddResource}+ onOpenChange={handleDialogChange}+ >+ <DialogContent>+ <form onSubmit={handleSubmit}>+ <DialogHeader>+ <DialogTitle>+ {t("settings:externalLinks.addResource")}+ </DialogTitle>+ </DialogHeader>++ <div className="grid gap-4 py-4">+ <div className="grid gap-2">+ <Label htmlFor="external-resource-url">+ {t("settings:externalLinks.url")}+ </Label>+ <Input+ id="external-resource-url"+ type="url"+ value={url}+ onChange={(event) => setUrl(event.target.value)}+ required+ autoFocus+ />+ </div>++ <div className="grid gap-2">+ <Label htmlFor="external-resource-title">+ {t("settings:externalLinks.titleOptional")}+ </Label>+ <Input+ id="external-resource-title"+ value={title}+ onChange={(event) => setTitle(event.target.value)}+ maxLength={200}+ />+ </div>+ </div>++ <DialogFooter>+ <Button+ type="button"+ variant="outline"+ onClick={() => handleDialogChange(false)}+ disabled={createExternalLink.isPending}+ >+ {t("settings:externalLinks.cancel")}+ </Button>++ <Button+ type="submit"+ disabled={createExternalLink.isPending || !url.trim()}+ >+ {createExternalLink.isPending+ ? t("settings:externalLinks.adding")+ : t("settings:externalLinks.addResource")}+ </Button>+ </DialogFooter>+ </form>+ </DialogContent>+ </Dialog>+ </>);}diff --cc apps/web/src/components/project/gitlab-integration-settings.tsxindex 83403ab77,000000000..caf370838mode 100644,000000..100644--- a/apps/web/src/components/project/gitlab-integration-settings.tsx+++ b/apps/web/src/components/project/gitlab-integration-settings.tsx@@@ -1,908 -1,0 +1,914 @@@+import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";+import {+ AlertTriangle,+ CheckCircle,+ ExternalLink,+ GitBranch,+ Import,+ Link,+ RefreshCw,+ Unlink,+ XCircle,+} from "lucide-react";+import React from "react";+import { useForm } from "react-hook-form";+import { useTranslation } from "react-i18next";+import { z } from "zod/v4";+import { GitlabProjectBrowserModal } from "@/components/project/gitlab-project-browser-modal";+import { Badge } from "@/components/ui/badge";+import { Button } from "@/components/ui/button";+import {+ Form,+ FormControl,+ FormField,+ FormItem,+ FormLabel,+ FormMessage,+} from "@/components/ui/form";+import { Input } from "@/components/ui/input";+import {+ Select,+ SelectContent,+ SelectItem,+ SelectTrigger,+ SelectValue,+} from "@/components/ui/select";+import { Separator } from "@/components/ui/separator";+import { Switch } from "@/components/ui/switch";+import type { VerifyGitlabAccessResponse } from "@/fetchers/gitlab-integration/verify-gitlab-access";+import {+ useCreateGitlabIntegration,+ useDeleteGitlabIntegration,+ useVerifyGitlabAccess,+} from "@/hooks/mutations/gitlab-integration/use-create-gitlab-integration";+import useImportGitlabIssues from "@/hooks/mutations/gitlab-integration/use-import-gitlab-issues";+import { useUpdateGitlabIntegration } from "@/hooks/mutations/gitlab-integration/use-update-gitlab-integration";+import useGetGitlabIntegration from "@/hooks/queries/gitlab-integration/use-get-gitlab-integration";++import { useWorkspacePermission } from "@/hooks/use-workspace-permission";+import { cn } from "@/lib/cn";+import { toast } from "@/lib/toast";++const GITLAB_CLOUD_URL = "https://gitlab.com";++type GitlabTokenType = "private" | "bearer";++type GitlabIntegrationFormValues = {+ baseUrl: string;+ accessToken: string;+ tokenType: GitlabTokenType;+ projectPath: string;+};++type GitlabVerificationSnapshot = {+ baseUrl: string;+ accessToken: string;+ tokenType: GitlabTokenType;+ projectPath: string;+};++type GitlabVerificationState = {+ result: VerifyGitlabAccessResponse;+ verified: GitlabVerificationSnapshot;+};++function createVerificationSnapshot(+ values: GitlabIntegrationFormValues,+): GitlabVerificationSnapshot {+ return {+ baseUrl: values.baseUrl.trim(),+ accessToken: values.accessToken.trim(),+ tokenType: values.tokenType,+ projectPath: values.projectPath.trim().replace(/^\/+|\/+$/g, ""),+ };+}++function snapshotsMatch(+ a: GitlabVerificationSnapshot,+ b: GitlabVerificationSnapshot,+): boolean {+ return (+ a.baseUrl === b.baseUrl &&+ a.accessToken === b.accessToken &&+ a.tokenType === b.tokenType &&+ a.projectPath === b.projectPath+ );+}++export function GitlabIntegrationSettings({+ projectId,+}: {+ projectId: string;+}) {+ const { t } = useTranslation();++ const { canCreateTasks, canUpdateTasks } = useWorkspacePermission();++ const gitlabIntegrationSchema = React.useMemo(+ () =>+ z.object({+ baseUrl: z+ .string()+ .min(1, t("settings:gitlabIntegration.validation.baseUrlRequired"))+ .refine((s) => {+ try {+ new URL(s);+ return true;+ } catch {+ return false;+ }+ }, t("settings:gitlabIntegration.validation.baseUrlInvalid")),+ accessToken: z.string(),+ tokenType: z.enum(["private", "bearer"]),+ projectPath: z+ .string()+ .min(1, t("settings:gitlabIntegration.validation.pathRequired"))+ .refine(+ (s) => /^[a-zA-Z0-9._-]+(?:\/[a-zA-Z0-9._-]+)+$/.test(s.trim()),+ t("settings:gitlabIntegration.validation.pathInvalid"),+ ),+ }),+ [t],+ );++ const {+ data: integration,+ isLoading,+ error: integrationError,+ refetch: refetchIntegration,+ } = useGetGitlabIntegration(projectId);+ const { mutateAsync: createIntegration, isPending: isCreating } =+ useCreateGitlabIntegration();+ const { mutateAsync: deleteIntegration, isPending: isDeleting } =+ useDeleteGitlabIntegration();+ const { mutateAsync: verifyAccess, isPending: isVerifying } =+ useVerifyGitlabAccess();+ const { mutateAsync: importIssues, isPending: isImporting } =+ useImportGitlabIssues();+ const { mutateAsync: updateGitlabSettings, isPending: isUpdatingSettings } =+ useUpdateGitlabIntegration();++ const [verificationResult, setVerificationResult] =+ React.useState<GitlabVerificationState | null>(null);+ const [showProjectBrowser, setShowProjectBrowser] = React.useState(false);+ const [showWebhookSecret, setShowWebhookSecret] = React.useState(false);++ const form = useForm<GitlabIntegrationFormValues>({+ resolver: standardSchemaResolver(gitlabIntegrationSchema),+ defaultValues: {+ baseUrl: GITLAB_CLOUD_URL,+ accessToken: "",+ tokenType: "private",+ projectPath: "",+ },+ });++ const resetIntegrationForm = React.useCallback(() => {+ if (!integration?.baseUrl) {+ return;+ }++ form.reset({+ baseUrl: integration.baseUrl,+ accessToken: "",+ tokenType: integration.tokenType,+ projectPath: integration.projectPath,+ });+ // Clear verify state when the form reloads so import cannot run against+ // stale credentials.+ setVerificationResult(null);+ setShowWebhookSecret(false);+ }, [+ form.reset,+ integration?.baseUrl,+ integration?.projectPath,+ integration?.tokenType,+ ]);++ React.useEffect(() => {+ resetIntegrationForm();+ }, [resetIntegrationForm]);++ const runVerify = React.useCallback(+ async (data: GitlabIntegrationFormValues, showToast = true) => {+ const token = data.accessToken.trim();+ if (!token && integration) {+ return;+ }+ if (!token && !integration) {+ if (showToast) {+ toast.error(+ t("settings:gitlabIntegration.toast.tokenRequiredVerify"),+ );+ }+ setVerificationResult(null);+ return;+ }+ try {+ const snapshot = createVerificationSnapshot(data);+ const result = await verifyAccess({+ projectId,+ baseUrl: snapshot.baseUrl,+ accessToken: snapshot.accessToken,+ tokenType: snapshot.tokenType,+ projectPath: snapshot.projectPath,+ });+ setVerificationResult({+ result,+ verified: snapshot,+ });+ if (showToast) {+ if (result.isInstalled && result.hasRequiredPermissions) {+ toast.success(t("settings:gitlabIntegration.toast.verifyOk"));+ } else if (result.failureReason === "redirected") {+ toast.error(t("settings:gitlabIntegration.toast.redirected"));+ } else if (result.failureReason === "not_a_gitlab_instance") {+ toast.error(+ t("settings:gitlabIntegration.toast.notGitlabInstance"),+ );+ } else if (result.failureReason === "project_not_found") {+ toast.error(t("settings:gitlabIntegration.toast.projectNotFound"));+ } else {+ toast.warning(t("settings:gitlabIntegration.toast.verifyWarning"));+ }+ }+ } catch (error) {+ if (showToast) {+ toast.error(+ error instanceof Error+ ? error.message+ : t("settings:gitlabIntegration.toast.verifyError"),+ );+ }+ setVerificationResult(null);+ }+ },+ [verifyAccess, integration, projectId, t],+ );++ const baseUrl = form.watch("baseUrl");+ const accessToken = form.watch("accessToken");+ const tokenType = form.watch("tokenType");+ const projectPath = form.watch("projectPath");+ const currentVerificationSnapshot = React.useMemo(+ () =>+ createVerificationSnapshot({+ baseUrl,+ accessToken,+ tokenType,+ projectPath,+ }),+ [baseUrl, accessToken, tokenType, projectPath],+ );++ React.useEffect(() => {+ setVerificationResult((current) => {+ if (!current) {+ return current;+ }+ return snapshotsMatch(current.verified, currentVerificationSnapshot)+ ? current+ : null;+ });+ }, [currentVerificationSnapshot]);++ React.useEffect(() => {+ if (!baseUrl || !projectPath || !form.formState.isValid) {+ return;+ }+ if (!accessToken.trim()) {+ return;+ }+ const timeoutId = window.setTimeout(() => {+ runVerify({ baseUrl, accessToken, tokenType, projectPath }, false);+ }, 400);++ return () => {+ window.clearTimeout(timeoutId);+ };+ }, [+ baseUrl,+ projectPath,+ accessToken,+ tokenType,+ form.formState.isValid,+ runVerify,+ ]);++ const onSubmit = async (data: GitlabIntegrationFormValues) => {+ try {+ if (!data.accessToken.trim() && !integration) {+ toast.error(t("settings:gitlabIntegration.toast.tokenRequired"));+ return;+ }++ const snapshot = createVerificationSnapshot(data);+ const hasMatchingVerification =+ verificationResult?.result.isInstalled &&+ verificationResult.result.hasRequiredPermissions &&+ snapshotsMatch(verificationResult.verified, snapshot);++ if (data.accessToken.trim() && !hasMatchingVerification) {+ const verification = await verifyAccess({+ projectId,+ baseUrl: snapshot.baseUrl,+ accessToken: snapshot.accessToken,+ tokenType: snapshot.tokenType,+ projectPath: snapshot.projectPath,+ });++ if (!verification.isInstalled || !verification.hasRequiredPermissions) {+ toast.error(t("settings:gitlabIntegration.toast.verifyFirst"));+ return;+ }+ }++ await createIntegration({+ projectId,+ data: {+ baseUrl: snapshot.baseUrl,+ ...(snapshot.accessToken+ ? { accessToken: snapshot.accessToken }+ : {}),+ tokenType: snapshot.tokenType,+ projectPath: snapshot.projectPath,+ },+ });+ form.setValue("accessToken", "");+ toast.success(t("settings:gitlabIntegration.toast.updated"));+ } catch (error) {+ toast.error(+ error instanceof Error+ ? error.message+ : t("settings:gitlabIntegration.toast.updateError"),+ );+ }+ };++ const handleDelete = async () => {+ try {+ await deleteIntegration(projectId);+ form.reset({+ baseUrl: GITLAB_CLOUD_URL,+ accessToken: "",+ tokenType: "private",+ projectPath: "",+ });+ setVerificationResult(null);+ toast.success(t("settings:gitlabIntegration.toast.removed"));+ } catch (error) {+ toast.error(+ error instanceof Error+ ? error.message+ : t("settings:gitlabIntegration.toast.removeError"),+ );+ }+ };++ const handleImportIssues = async () => {+ try {+ await importIssues(projectId);+ toast.success(t("settings:gitlabIntegration.toast.issuesImported"));+ } catch (error) {+ toast.error(+ error instanceof Error+ ? error.message+ : t("settings:gitlabIntegration.toast.importError"),+ );+ }+ };++ const handleProjectSelect = (selectedPath: string) => {+ form.setValue("projectPath", selectedPath, {+ shouldValidate: true,+ shouldDirty: true,+ shouldTouch: true,+ });+ setShowProjectBrowser(false);+ setVerificationResult(null);+ };++ const handleCopyWebhookSecret = React.useCallback(async () => {+ if (!integration?.webhookSecret) {+ return;+ }++ try {+ await navigator.clipboard.writeText(integration.webhookSecret);+ toast.success(t("settings:gitlabIntegration.toast.secretCopied"));+ } catch (error) {+ toast.error(+ error instanceof Error+ ? error.message+ : t("settings:gitlabIntegration.toast.unableToCopySecret"),+ );+ }+ }, [integration?.webhookSecret, t]);++ if (isLoading) {+ return (+ <div className="space-y-4">+ <div className="h-10 bg-muted rounded animate-pulse w-full" />+ </div>+ );+ }++ if (integrationError) {+ return (+ <div className="space-y-4 border border-destructive/25 rounded-md p-4 bg-sidebar">+ <div className="flex items-start justify-between gap-4">+ <div className="space-y-1">+ <p className="text-sm font-medium text-destructive">+ {t("common:error.title")}+ </p>+ <p className="text-sm text-muted-foreground">+ {integrationError instanceof Error+ ? integrationError.message+ : t("settings:gitlabIntegration.toast.updateError")}+ </p>+ </div>+ <Button+ type="button"+ variant="outline"+ size="sm"+ onClick={() => refetchIntegration()}+ >+ {t("settings:gitlabIntegration.retry")}+ </Button>+ </div>+ </div>+ );+ }++ const isConnected = !!integration && integration.isActive;+ // Import stays disabled until the user verifies again after changing+ // connection details, so it cannot run with an unverified token.+ const hasVerifiedCurrentValues =+ verificationResult?.result.isInstalled &&+ verificationResult.result.hasRequiredPermissions &&+ snapshotsMatch(verificationResult.verified, currentVerificationSnapshot);- const canImport = isConnected && Boolean(hasVerifiedCurrentValues);++ const hasImportPermission = canCreateTasks() && canUpdateTasks();++ const canImport =++ isConnected && Boolean(hasVerifiedCurrentValues) && hasImportPermission;++ const gitlabProjectUrl = integration?.baseUrl+ ? `${integration.baseUrl.replace(/\/$/, "")}/${integration.projectPath}`+ : null;++ return (+ <div className="space-y-4">+ <div className="space-y-4 border border-border rounded-md p-4 bg-sidebar">+ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <p className="text-sm font-medium">+ {t("settings:gitlabIntegration.connectionStatus")}+ </p>+ {isConnected ? (+ <p className="text-xs text-muted-foreground">+ {t("settings:gitlabIntegration.connectedActive")}+ </p>+ ) : (+ <p className="text-xs text-muted-foreground">+ {t("settings:gitlabIntegration.notConnectedHint")}+ </p>+ )}+ </div>+ {isConnected ? (+ <Badge variant="secondary" className="gap-1">+ <CheckCircle className="w-3 h-3" />+ {t("settings:gitlabIntegration.badgeConnected")}+ </Badge>+ ) : (+ <Badge variant="outline" className="gap-1">+ <XCircle className="w-3 h-3" />+ {t("settings:gitlabIntegration.badgeNotConnected")}+ </Badge>+ )}+ </div>++ {isConnected && integration && (+ <>+ <Separator />+ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <p className="text-sm font-medium">+ {t("settings:gitlabIntegration.project")}+ </p>+ <p className="text-xs text-muted-foreground">+ {t("settings:gitlabIntegration.projectHint")}+ </p>+ </div>+ <div className="flex items-center gap-2 text-sm">+ <span className="font-medium">{integration.projectPath}</span>+ {gitlabProjectUrl && (+ <a+ href={gitlabProjectUrl}+ target="_blank"+ rel="noopener noreferrer"+ aria-label={t("settings:gitlabIntegration.openInGitlab", {+ project: integration.projectPath,+ })}+ className="text-primary hover:text-primary/80 transition-colors"+ >+ <ExternalLink className="w-3 h-3" />+ </a>+ )}+ </div>+ </div>++ <Separator />+ <div className="flex items-center justify-between gap-4">+ <div className="min-w-0 flex-1 space-y-0.5">+ <p className="text-sm font-medium">+ {t("settings:gitlabIntegration.commentTaskLinkTitle")}+ </p>+ <p className="text-xs text-muted-foreground">+ {t("settings:gitlabIntegration.commentTaskLinkHint")}+ </p>+ </div>+ <Switch+ checked={integration.commentTaskLinkOnGitlabIssue ?? true}+ onCheckedChange={async (checked) => {+ try {+ await updateGitlabSettings({+ projectId,+ json: { commentTaskLinkOnGitlabIssue: checked },+ });+ toast.success(+ checked+ ? t("settings:gitlabIntegration.toast.commentOnEnabled")+ : t(+ "settings:gitlabIntegration.toast.commentOnDisabled",+ ),+ );+ } catch (error) {+ toast.error(+ error instanceof Error+ ? error.message+ : t(+ "settings:gitlabIntegration.toast.settingsUpdateError",+ ),+ );+ }+ }}+ disabled={isUpdatingSettings}+ />+ </div>++ {integration.webhookUrl && (+ <>+ <Separator />+ <div className="space-y-2 text-xs">+ <p className="font-medium text-sm">+ {t("settings:gitlabIntegration.webhookTitle")}+ </p>+ <p className="text-muted-foreground">+ {t("settings:gitlabIntegration.webhookHint")}+ </p>+ <code className="block break-all rounded bg-muted px-2 py-1 text-[11px]">+ {integration.webhookUrl}+ </code>+ <p className="text-muted-foreground mt-2">+ {t("settings:gitlabIntegration.webhookSecretLabel")}+ </p>+ <div className="flex items-start gap-2">+ <code className="block flex-1 break-all rounded bg-muted px-2 py-1 text-[11px]">+ {showWebhookSecret+ ? integration.webhookSecret+ : "••••••••••••••••••••••••••••••••"}+ </code>+ <Button+ type="button"+ variant="outline"+ size="sm"+ onClick={() =>+ setShowWebhookSecret((current) => !current)+ }+ >+ {showWebhookSecret+ ? t("settings:gitlabIntegration.webhookHide")+ : t("settings:gitlabIntegration.webhookShow")}+ </Button>+ <Button+ type="button"+ variant="outline"+ size="sm"+ onClick={handleCopyWebhookSecret}+ >+ {t("settings:gitlabIntegration.webhookCopy")}+ </Button>+ </div>+ </div>+ </>+ )}+ </>+ )}+ </div>++ <div className="space-y-4 border border-border rounded-md p-4 bg-sidebar">+ <Form {...form}>+ <form onSubmit={form.handleSubmit(onSubmit)} className="space-y-4">+ <FormField+ control={form.control}+ name="baseUrl"+ render={({ field }) => (+ <FormItem>+ <div className="flex items-center justify-between gap-4">+ <div className="space-y-0.5">+ <FormLabel className="text-sm font-medium">+ {t("settings:gitlabIntegration.baseUrlLabel")}+ </FormLabel>+ <p className="text-xs text-muted-foreground">+ {t("settings:gitlabIntegration.baseUrlHint")}+ </p>+ </div>+ <FormControl>+ <Input+ className="w-72"+ placeholder={GITLAB_CLOUD_URL}+ {...field}+ disabled={isCreating || isDeleting}+ />+ </FormControl>+ </div>+ <FormMessage />+ </FormItem>+ )}+ />++ <Separator />++ <FormField+ control={form.control}+ name="tokenType"+ render={({ field }) => (+ <FormItem>+ <div className="flex items-center justify-between gap-4">+ <div className="space-y-0.5">+ <FormLabel className="text-sm font-medium">+ {t("settings:gitlabIntegration.tokenTypeLabel")}+ </FormLabel>+ <p className="text-xs text-muted-foreground">+ {t("settings:gitlabIntegration.tokenTypeHint")}+ </p>+ </div>+ <Select+ value={field.value}+ onValueChange={(value) =>+ field.onChange(value as GitlabTokenType)+ }+ >+ <SelectTrigger className="w-72">+ <SelectValue>+ {field.value === "bearer"+ ? t("settings:gitlabIntegration.tokenTypeBearer")+ : t("settings:gitlabIntegration.tokenTypePrivate")}+ </SelectValue>+ </SelectTrigger>+ <SelectContent>+ <SelectItem value="private">+ {t("settings:gitlabIntegration.tokenTypePrivate")}+ </SelectItem>+ <SelectItem value="bearer">+ {t("settings:gitlabIntegration.tokenTypeBearer")}+ </SelectItem>+ </SelectContent>+ </Select>+ </div>+ <FormMessage />+ </FormItem>+ )}+ />++ <Separator />++ <FormField+ control={form.control}+ name="accessToken"+ render={({ field }) => (+ <FormItem>+ <div className="flex items-center justify-between gap-4">+ <div className="space-y-0.5">+ <FormLabel className="text-sm font-medium">+ {t("settings:gitlabIntegration.tokenLabel")}+ </FormLabel>+ <p className="text-xs text-muted-foreground">+ {t("settings:gitlabIntegration.tokenHint")}+ {integration?.maskedAccessToken+ ? ` (${t("settings:gitlabIntegration.currentToken")}: ${integration.maskedAccessToken})`+ : null}+ </p>+ </div>+ <FormControl>+ <Input+ className="w-72"+ type="password"+ autoComplete="off"+ placeholder={+ integration+ ? t(+ "settings:gitlabIntegration.tokenPlaceholderUpdate",+ )+ : t("settings:gitlabIntegration.tokenPlaceholder")+ }+ {...field}+ disabled={isCreating || isDeleting}+ />+ </FormControl>+ </div>+ <FormMessage />+ </FormItem>+ )}+ />++ <Separator />++ <FormField+ control={form.control}+ name="projectPath"+ render={({ field }) => (+ <FormItem>+ <div className="flex items-center justify-between gap-4">+ <div className="space-y-0.5">+ <FormLabel className="text-sm font-medium">+ {t("settings:gitlabIntegration.projectPathLabel")}+ </FormLabel>+ <p className="text-xs text-muted-foreground">+ {t("settings:gitlabIntegration.projectPathHint")}+ </p>+ </div>+ <FormControl>+ <Input+ className="w-72"+ placeholder="group/subgroup/project"+ {...field}+ disabled={isCreating || isDeleting}+ />+ </FormControl>+ </div>+ <FormMessage />+ </FormItem>+ )}+ />++ <Separator />++ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <p className="text-sm font-medium">+ {t("settings:gitlabIntegration.actionsTitle")}+ </p>+ <p className="text-xs text-muted-foreground">+ {t("settings:gitlabIntegration.actionsHint")}+ </p>+ </div>+ <div className="flex flex-wrap gap-2">+ <Button+ type="button"+ variant="outline"+ size="sm"+ onClick={() => setShowProjectBrowser(true)}+ className="gap-2"+ disabled={!baseUrl || !accessToken.trim()}+ >+ <GitBranch className="size-3" />+ {t("settings:gitlabIntegration.browse")}+ </Button>++ <Button+ type="button"+ variant="outline"+ size="sm"+ onClick={() => runVerify(form.getValues())}+ disabled={+ isVerifying ||+ !form.formState.isValid ||+ (!accessToken.trim() && !integration)+ }+ className="gap-2"+ >+ <RefreshCw+ className={cn("size-3", isVerifying && "animate-spin")}+ />+ {t("settings:gitlabIntegration.verify")}+ </Button>++ <Button+ type="submit"+ size="sm"+ disabled={+ isCreating ||+ isDeleting ||+ !form.formState.isValid ||+ (verificationResult ? !hasVerifiedCurrentValues : false)+ }+ className="gap-2"+ >+ <Link className="size-3" />+ {isConnected+ ? t("settings:gitlabIntegration.update")+ : t("settings:gitlabIntegration.connect")}+ </Button>++ {isConnected && (+ <Button+ type="button"+ variant="destructive"+ size="sm"+ onClick={handleDelete}+ disabled={isCreating || isDeleting}+ className="gap-2"+ >+ <Unlink className="size-3" />+ {t("settings:gitlabIntegration.disconnect")}+ </Button>+ )}+ </div>+ </div>+ </form>+ </Form>++ {verificationResult && (+ <>+ <Separator />+ <div+ className={cn(+ "flex items-start gap-3 p-3 border rounded-md text-sm",+ verificationResult.result.isInstalled &&+ verificationResult.result.hasRequiredPermissions+ ? "border-success/25 bg-success/10"+ : verificationResult.result.failureReason+ ? "border-destructive/25 bg-destructive/10"+ : "border-warning/25 bg-warning/10",+ )}+ >+ {verificationResult.result.isInstalled &&+ verificationResult.result.hasRequiredPermissions ? (+ <CheckCircle className="mt-0.5 h-4 w-4 flex-shrink-0 text-success-foreground" />+ ) : verificationResult.result.failureReason ? (+ <XCircle className="mt-0.5 h-4 w-4 flex-shrink-0 text-destructive-foreground" />+ ) : (+ <AlertTriangle className="mt-0.5 h-4 w-4 flex-shrink-0 text-warning-foreground" />+ )}+ <div className="flex-1">+ <p className="font-medium">+ {verificationResult.result.message}+ </p>+ </div>+ </div>+ </>+ )}+ </div>++ {isConnected && (+ <div className="space-y-4 border border-border rounded-md p-4 bg-sidebar">+ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <p className="text-sm font-medium">+ {t("settings:gitlabIntegration.importSectionTitle")}+ </p>+ <p className="text-xs text-muted-foreground">+ {t("settings:gitlabIntegration.importSectionHint")}+ </p>+ </div>+ <Button+ onClick={handleImportIssues}+ disabled={isImporting || !canImport}+ className="gap-2"+ size="sm"+ variant="outline"+ >+ {isImporting ? (+ <RefreshCw className="size-3 animate-spin" />+ ) : (+ <Import className="size-3" />+ )}+ {isImporting+ ? t("settings:gitlabIntegration.importing")+ : t("settings:gitlabIntegration.importIssues")}+ </Button>+ </div>+ {!canImport && (+ <>+ <Separator />+ <p className="text-xs text-muted-foreground">- {t("settings:gitlabIntegration.importDisabledHint")}++ {hasImportPermission++ ? t("settings:gitlabIntegration.importDisabledHint")++ : t("settings:gitlabIntegration.importPermissionHint")}+ </p>+ </>+ )}+ </div>+ )}++ <GitlabProjectBrowserModal+ open={showProjectBrowser}+ projectId={projectId}+ onOpenChange={setShowProjectBrowser}+ onSelectProject={handleProjectSelect}+ selectedProjectPath={projectPath || undefined}+ baseUrl={baseUrl}+ accessToken={accessToken}+ tokenType={tokenType}+ />+ </div>+ );+}diff --cc i18n/az-AZ.jsonindex 1f81b035a,03055aba5..508f0c3e7--- a/i18n/az-AZ.json+++ b/i18n/az-AZ.json@@@ -1351,83 -1472,114 +1476,193 @@@"text": "Text"}},+ "administration": "Administration",+ "adminUsers": {+ "actions": {+ "deactivate": "Deactivate account",+ "edit": "Edit account",+ "open": "Actions for {{name}}",+ "reactivate": "Reactivate account"+ },+ "clearSearch": "Clear search",+ "columns": {+ "actions": "Actions",+ "joined": "Joined",+ "role": "Global role",+ "status": "Status",+ "user": "User"+ },+ "confirm": {+ "deactivate": {+ "action": "Deactivate account",+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",+ "title": "Deactivate this account?"+ },+ "delete": {+ "action": "Delete permanently",+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",+ "title": "Permanently delete this account?"+ },+ "reactivate": {+ "action": "Reactivate account",+ "description": "{{name}} will be able to sign in and access their workspaces again.",+ "title": "Reactivate this account?"+ },+ "working": "Working…"+ },+ "directoryTitle": "User directory",+ "edit": {+ "description": "Update this account's identity and instance-wide access.",+ "email": "Email address",+ "name": "Full name",+ "role": "Global role",+ "save": "Save changes",+ "saving": "Saving…",+ "selfRoleHint": "You cannot change your own global role.",+ "title": "Edit user"+ },+ "emptyDescription": "Try another name or email address.",+ "emptyTitle": "No users found",+ "instanceBadge": "Instance",+ "loadError": "Users could not be loaded.",+ "next": "Next",+ "pagination": "Page {{current}} of {{total}}",+ "previous": "Previous",+ "refreshing": "Refreshing users",+ "retry": "Retry",+ "roles": {+ "admin": "Instance admin",+ "user": "User"+ },+ "searchCount_one": "{{count}} matching user",+ "searchCount_other": "{{count}} matching users",+ "searchLabel": "Search users",+ "searchPlaceholder": "Search name or email…",+ "status": {+ "active": "Active",+ "deactivated": "Deactivated"+ },+ "subtitle": "Manage every account registered on this Kaneo instance.",+ "title": "User management",+ "toast": {+ "actionError": "Failed to update user status",+ "deactivated": "User deactivated",+ "deleted": "User deleted",+ "reactivated": "User reactivated",+ "updated": "User updated",+ "updateError": "Failed to update user"+ },+ "userCount_one": "{{count}} registered user",+ "userCount_other": "{{count}} registered users",+ "you": "(you)"+ },+ "security": "Security",+ "securityPage": {+ "confirmPassword": "Confirm new password",+ "confirmPasswordPlaceholder": "Re-enter your new password",+ "currentPassword": "Current password",+ "currentPasswordPlaceholder": "Enter your current password",+ "newPassword": "New password",+ "newPasswordPlaceholder": "Enter a new password",+ "noPassword": {+ "description": "Your account signs in with a different method, so there is no password to change.",+ "title": "Password change isn't available"+ },+ "pageTitle": "Security",+ "sectionSubtitle": "Change the password you use to sign in.",+ "sectionTitle": "Password",+ "submit": "Update password",+ "submitting": "Updating...",+ "subtitle": "Manage your password and account security.",+ "title": "Security",+ "updateError": "Failed to update password.",+ "updateSuccess": "Password updated.",+ "validation": {+ "confirmRequired": "Confirm your new password.",+ "currentRequired": "Enter your current password.",+ "mismatch": "Passwords do not match.",+ "tooShort": "New password must be at least 8 characters.",+ "sameAsCurrent": "New password must be different from your current password."+ }++ },+ "gitlabIntegration": {+ "actionsHint": "Verify access and connect",+ "actionsTitle": "Actions",+ "badgeConnected": "Connected",+ "badgeNotConnected": "Not connected",+ "baseUrlHint": "https://gitlab.com, or the root URL of your instance",+ "baseUrlLabel": "GitLab URL",+ "browse": "Browse",+ "browseModalHint": "Projects your token is a member of",+ "browseModalTitle": "Your projects",+ "browseNeedsCredentials": "Enter GitLab URL and token to browse",+ "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",+ "commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",+ "connect": "Connect",+ "connectedActive": "Project connected and active",+ "connectionStatus": "Connection status",+ "currentToken": "stored",+ "disconnect": "Disconnect",+ "importDisabledHint": "Verify the project above to enable importing",+ "importing": "Importing…",+ "importIssues": "Import issues",+ "importSectionHint": "Import open issues and merge requests from the project",+ "importSectionTitle": "Import GitLab issues",+ "loadingProjects": "Loading projects…",+ "notConnectedHint": "No GitLab project connected",+ "openInGitlab": "Open {{project}} in GitLab",+ "project": "Project",+ "projectHint": "Linked GitLab project",+ "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",+ "projectPathLabel": "Project path",+ "retry": "Retry",+ "searchProjects": "Search…",+ "toast": {+ "commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",+ "commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",+ "importError": "Failed to import issues",+ "issuesImported": "Issues imported successfully",+ "notGitlabInstance": "The URL does not point to a GitLab instance",+ "projectNotFound": "Project not found or not accessible",+ "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",+ "removed": "GitLab integration removed",+ "removeError": "Failed to remove GitLab integration",+ "secretCopied": "Copied",+ "settingsUpdateError": "Failed to update GitLab integration",+ "tokenRequired": "Access token is required",+ "tokenRequiredVerify": "Enter a token to verify",+ "unableToCopySecret": "Unable to copy secret",+ "updated": "GitLab integration saved",+ "updateError": "Failed to save GitLab integration",+ "verifyError": "Failed to verify GitLab access",+ "verifyFirst": "Verify access failed. Check URL, token, and project path",+ "verifyOk": "GitLab token can access this project",+ "verifyWarning": "Check token permissions or project access"+ },+ "tokenHint": "Token with api scope and at least Developer on the project",+ "tokenLabel": "Access token",+ "tokenPlaceholder": "Paste token",+ "tokenPlaceholderUpdate": "Paste new token to rotate",+ "tokenTypeBearer": "OAuth2 token",+ "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",+ "tokenTypeLabel": "Token type",+ "tokenTypePrivate": "Personal, project or group access token",+ "update": "Update",+ "validation": {+ "baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",+ "baseUrlRequired": "GitLab base URL is required",+ "pathInvalid": "Enter the full path, e.g. group/project",+ "pathRequired": "Project path is required"+ },+ "verify": "Verify",+ "webhookCopy": "Copy",+ "webhookHide": "Hide",+ "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",+ "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",+ "webhookShow": "Show",+ "webhookTitle": "Webhook",- "loadProjectsError": "Failed to load projects"++ "loadProjectsError": "Failed to load projects",++ "importPermissionHint": "Importing requires permission to create and update tasks."}},"navigation": {@@@ -1712,7 -1866,8 +1947,9 @@@"renderFailed": "Mermaid diaqramını göstərmək mümkün olmadı"}},+ "importedFrom": "Imported from {{source}}",- "importedBy": "Imported by {{name}}"++ "importedBy": "Imported by {{name}}",+ "commentedOnForge": "{{forge}}-da şərh yazdı"}},"tasks": {diff --cc i18n/de-DE.jsonindex 4a7c12a3c,6156dc047..6edc6d866--- a/i18n/de-DE.json+++ b/i18n/de-DE.json@@@ -1351,83 -1552,34 +1556,113 @@@"text": "Text"}},+ "security": "Security",+ "securityPage": {+ "confirmPassword": "Confirm new password",+ "confirmPasswordPlaceholder": "Re-enter your new password",+ "currentPassword": "Current password",+ "currentPasswordPlaceholder": "Enter your current password",+ "newPassword": "New password",+ "newPasswordPlaceholder": "Enter a new password",+ "noPassword": {+ "description": "Your account signs in with a different method, so there is no password to change.",+ "title": "Password change isn't available"+ },+ "pageTitle": "Security",+ "sectionSubtitle": "Change the password you use to sign in.",+ "sectionTitle": "Password",+ "submit": "Update password",+ "submitting": "Updating...",+ "subtitle": "Manage your password and account security.",+ "title": "Security",+ "updateError": "Failed to update password.",+ "updateSuccess": "Password updated.",+ "validation": {+ "confirmRequired": "Confirm your new password.",+ "currentRequired": "Enter your current password.",+ "mismatch": "Passwords do not match.",+ "tooShort": "New password must be at least 8 characters.",+ "sameAsCurrent": "New password must be different from your current password."+ }++ },+ "gitlabIntegration": {+ "actionsHint": "Verify access and connect",+ "actionsTitle": "Actions",+ "badgeConnected": "Connected",+ "badgeNotConnected": "Not connected",+ "baseUrlHint": "https://gitlab.com, or the root URL of your instance",+ "baseUrlLabel": "GitLab URL",+ "browse": "Browse",+ "browseModalHint": "Projects your token is a member of",+ "browseModalTitle": "Your projects",+ "browseNeedsCredentials": "Enter GitLab URL and token to browse",+ "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",+ "commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",+ "connect": "Connect",+ "connectedActive": "Project connected and active",+ "connectionStatus": "Connection status",+ "currentToken": "stored",+ "disconnect": "Disconnect",+ "importDisabledHint": "Verify the project above to enable importing",+ "importing": "Importing…",+ "importIssues": "Import issues",+ "importSectionHint": "Import open issues and merge requests from the project",+ "importSectionTitle": "Import GitLab issues",+ "loadingProjects": "Loading projects…",+ "notConnectedHint": "No GitLab project connected",+ "openInGitlab": "Open {{project}} in GitLab",+ "project": "Project",+ "projectHint": "Linked GitLab project",+ "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",+ "projectPathLabel": "Project path",+ "retry": "Retry",+ "searchProjects": "Search…",+ "toast": {+ "commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",+ "commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",+ "importError": "Failed to import issues",+ "issuesImported": "Issues imported successfully",+ "notGitlabInstance": "The URL does not point to a GitLab instance",+ "projectNotFound": "Project not found or not accessible",+ "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",+ "removed": "GitLab integration removed",+ "removeError": "Failed to remove GitLab integration",+ "secretCopied": "Copied",+ "settingsUpdateError": "Failed to update GitLab integration",+ "tokenRequired": "Access token is required",+ "tokenRequiredVerify": "Enter a token to verify",+ "unableToCopySecret": "Unable to copy secret",+ "updated": "GitLab integration saved",+ "updateError": "Failed to save GitLab integration",+ "verifyError": "Failed to verify GitLab access",+ "verifyFirst": "Verify access failed. Check URL, token, and project path",+ "verifyOk": "GitLab token can access this project",+ "verifyWarning": "Check token permissions or project access"+ },+ "tokenHint": "Token with api scope and at least Developer on the project",+ "tokenLabel": "Access token",+ "tokenPlaceholder": "Paste token",+ "tokenPlaceholderUpdate": "Paste new token to rotate",+ "tokenTypeBearer": "OAuth2 token",+ "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",+ "tokenTypeLabel": "Token type",+ "tokenTypePrivate": "Personal, project or group access token",+ "update": "Update",+ "validation": {+ "baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",+ "baseUrlRequired": "GitLab base URL is required",+ "pathInvalid": "Enter the full path, e.g. group/project",+ "pathRequired": "Project path is required"+ },+ "verify": "Verify",+ "webhookCopy": "Copy",+ "webhookHide": "Hide",+ "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",+ "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",+ "webhookShow": "Show",+ "webhookTitle": "Webhook",- "loadProjectsError": "Failed to load projects"++ "loadProjectsError": "Failed to load projects",++ "importPermissionHint": "Importing requires permission to create and update tasks."}},"navigation": {@@@ -1712,7 -1866,8 +1947,9 @@@"renderFailed": "Mermaid-Diagramm konnte nicht gerendert werden"}},+ "importedFrom": "Importiert aus {{source}}",- "importedBy": "Importiert von {{name}}"++ "importedBy": "Importiert von {{name}}",+ "commentedOnForge": "hat auf {{forge}} kommentiert"}},"tasks": {diff --cc i18n/el-GR.jsonindex a4fbae308,c1a019779..0290ba0b0--- a/i18n/el-GR.json+++ b/i18n/el-GR.json@@@ -1351,83 -1472,114 +1476,193 @@@"text": "Text"}},+ "administration": "Administration",+ "adminUsers": {+ "actions": {+ "deactivate": "Deactivate account",+ "edit": "Edit account",+ "open": "Actions for {{name}}",+ "reactivate": "Reactivate account"+ },+ "clearSearch": "Clear search",+ "columns": {+ "actions": "Actions",+ "joined": "Joined",+ "role": "Global role",+ "status": "Status",+ "user": "User"+ },+ "confirm": {+ "deactivate": {+ "action": "Deactivate account",+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",+ "title": "Deactivate this account?"+ },+ "delete": {+ "action": "Delete permanently",+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",+ "title": "Permanently delete this account?"+ },+ "reactivate": {+ "action": "Reactivate account",+ "description": "{{name}} will be able to sign in and access their workspaces again.",+ "title": "Reactivate this account?"+ },+ "working": "Working…"+ },+ "directoryTitle": "User directory",+ "edit": {+ "description": "Update this account's identity and instance-wide access.",+ "email": "Email address",+ "name": "Full name",+ "role": "Global role",+ "save": "Save changes",+ "saving": "Saving…",+ "selfRoleHint": "You cannot change your own global role.",+ "title": "Edit user"+ },+ "emptyDescription": "Try another name or email address.",+ "emptyTitle": "No users found",+ "instanceBadge": "Instance",+ "loadError": "Users could not be loaded.",+ "next": "Next",+ "pagination": "Page {{current}} of {{total}}",+ "previous": "Previous",+ "refreshing": "Refreshing users",+ "retry": "Retry",+ "roles": {+ "admin": "Instance admin",+ "user": "User"+ },+ "searchCount_one": "{{count}} matching user",+ "searchCount_other": "{{count}} matching users",+ "searchLabel": "Search users",+ "searchPlaceholder": "Search name or email…",+ "status": {+ "active": "Active",+ "deactivated": "Deactivated"+ },+ "subtitle": "Manage every account registered on this Kaneo instance.",+ "title": "User management",+ "toast": {+ "actionError": "Failed to update user status",+ "deactivated": "User deactivated",+ "deleted": "User deleted",+ "reactivated": "User reactivated",+ "updated": "User updated",+ "updateError": "Failed to update user"+ },+ "userCount_one": "{{count}} registered user",+ "userCount_other": "{{count}} registered users",+ "you": "(you)"+ },+ "security": "Security",+ "securityPage": {+ "confirmPassword": "Confirm new password",+ "confirmPasswordPlaceholder": "Re-enter your new password",+ "currentPassword": "Current password",+ "currentPasswordPlaceholder": "Enter your current password",+ "newPassword": "New password",+ "newPasswordPlaceholder": "Enter a new password",+ "noPassword": {+ "description": "Your account signs in with a different method, so there is no password to change.",+ "title": "Password change isn't available"+ },+ "pageTitle": "Security",+ "sectionSubtitle": "Change the password you use to sign in.",+ "sectionTitle": "Password",+ "submit": "Update password",+ "submitting": "Updating...",+ "subtitle": "Manage your password and account security.",+ "title": "Security",+ "updateError": "Failed to update password.",+ "updateSuccess": "Password updated.",+ "validation": {+ "confirmRequired": "Confirm your new password.",+ "currentRequired": "Enter your current password.",+ "mismatch": "Passwords do not match.",+ "tooShort": "New password must be at least 8 characters.",+ "sameAsCurrent": "New password must be different from your current password."+ }++ },+ "gitlabIntegration": {+ "actionsHint": "Verify access and connect",+ "actionsTitle": "Actions",+ "badgeConnected": "Connected",+ "badgeNotConnected": "Not connected",+ "baseUrlHint": "https://gitlab.com, or the root URL of your instance",+ "baseUrlLabel": "GitLab URL",+ "browse": "Browse",+ "browseModalHint": "Projects your token is a member of",+ "browseModalTitle": "Your projects",+ "browseNeedsCredentials": "Enter GitLab URL and token to browse",+ "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",+ "commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",+ "connect": "Connect",+ "connectedActive": "Project connected and active",+ "connectionStatus": "Connection status",+ "currentToken": "stored",+ "disconnect": "Disconnect",+ "importDisabledHint": "Verify the project above to enable importing",+ "importing": "Importing…",+ "importIssues": "Import issues",+ "importSectionHint": "Import open issues and merge requests from the project",+ "importSectionTitle": "Import GitLab issues",+ "loadingProjects": "Loading projects…",+ "notConnectedHint": "No GitLab project connected",+ "openInGitlab": "Open {{project}} in GitLab",+ "project": "Project",+ "projectHint": "Linked GitLab project",+ "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",+ "projectPathLabel": "Project path",+ "retry": "Retry",+ "searchProjects": "Search…",+ "toast": {+ "commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",+ "commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",+ "importError": "Failed to import issues",+ "issuesImported": "Issues imported successfully",+ "notGitlabInstance": "The URL does not point to a GitLab instance",+ "projectNotFound": "Project not found or not accessible",+ "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",+ "removed": "GitLab integration removed",+ "removeError": "Failed to remove GitLab integration",+ "secretCopied": "Copied",+ "settingsUpdateError": "Failed to update GitLab integration",+ "tokenRequired": "Access token is required",+ "tokenRequiredVerify": "Enter a token to verify",+ "unableToCopySecret": "Unable to copy secret",+ "updated": "GitLab integration saved",+ "updateError": "Failed to save GitLab integration",+ "verifyError": "Failed to verify GitLab access",+ "verifyFirst": "Verify access failed. Check URL, token, and project path",+ "verifyOk": "GitLab token can access this project",+ "verifyWarning": "Check token permissions or project access"+ },+ "tokenHint": "Token with api scope and at least Developer on the project",+ "tokenLabel": "Access token",+ "tokenPlaceholder": "Paste token",+ "tokenPlaceholderUpdate": "Paste new token to rotate",+ "tokenTypeBearer": "OAuth2 token",+ "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",+ "tokenTypeLabel": "Token type",+ "tokenTypePrivate": "Personal, project or group access token",+ "update": "Update",+ "validation": {+ "baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",+ "baseUrlRequired": "GitLab base URL is required",+ "pathInvalid": "Enter the full path, e.g. group/project",+ "pathRequired": "Project path is required"+ },+ "verify": "Verify",+ "webhookCopy": "Copy",+ "webhookHide": "Hide",+ "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",+ "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",+ "webhookShow": "Show",+ "webhookTitle": "Webhook",- "loadProjectsError": "Failed to load projects"++ "loadProjectsError": "Failed to load projects",++ "importPermissionHint": "Importing requires permission to create and update tasks."}},"navigation": {@@@ -1712,7 -1866,8 +1947,9 @@@"renderFailed": "Δεν ήταν δυνατή η απόδοση του διαγράμματος Mermaid"}},+ "importedFrom": "Imported from {{source}}",- "importedBy": "Imported by {{name}}"++ "importedBy": "Imported by {{name}}",+ "commentedOnForge": "σχολίασε στο {{forge}}"}},"tasks": {diff --cc i18n/en-US.jsonindex 935882a03,5672ea913..e84353a36--- a/i18n/en-US.json+++ b/i18n/en-US.json@@@ -1080,84 -1275,6 +1277,85 @@@"loadingRepos": "Loading repositories…","retry": "Retry"},+ "gitlabIntegration": {+ "validation": {+ "baseUrlRequired": "GitLab base URL is required",+ "baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",+ "pathRequired": "Project path is required",+ "pathInvalid": "Enter the full path, e.g. group/project"+ },+ "toast": {+ "verifyOk": "GitLab token can access this project",+ "verifyWarning": "Check token permissions or project access",+ "projectNotFound": "Project not found or not accessible",+ "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",+ "notGitlabInstance": "The URL does not point to a GitLab instance",+ "verifyError": "Failed to verify GitLab access",+ "tokenRequired": "Access token is required",+ "tokenRequiredVerify": "Enter a token to verify",+ "verifyFirst": "Verify access failed. Check URL, token, and project path",+ "updated": "GitLab integration saved",+ "updateError": "Failed to save GitLab integration",+ "removed": "GitLab integration removed",+ "removeError": "Failed to remove GitLab integration",+ "issuesImported": "Issues imported successfully",+ "importError": "Failed to import issues",+ "commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",+ "commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",+ "settingsUpdateError": "Failed to update GitLab integration",+ "secretCopied": "Copied",+ "unableToCopySecret": "Unable to copy secret"+ },+ "webhookShow": "Show",+ "webhookHide": "Hide",+ "webhookCopy": "Copy",+ "connectionStatus": "Connection status",+ "connectedActive": "Project connected and active",+ "notConnectedHint": "No GitLab project connected",+ "badgeConnected": "Connected",+ "badgeNotConnected": "Not connected",+ "project": "Project",+ "projectHint": "Linked GitLab project",+ "commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",+ "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",+ "webhookTitle": "Webhook",+ "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",+ "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",+ "baseUrlLabel": "GitLab URL",+ "baseUrlHint": "https://gitlab.com, or the root URL of your instance",+ "tokenTypeLabel": "Token type",+ "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",+ "tokenTypePrivate": "Personal, project or group access token",+ "tokenTypeBearer": "OAuth2 token",+ "tokenLabel": "Access token",+ "tokenHint": "Token with api scope and at least Developer on the project",+ "tokenPlaceholder": "Paste token",+ "tokenPlaceholderUpdate": "Paste new token to rotate",+ "currentToken": "stored",+ "projectPathLabel": "Project path",+ "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",+ "actionsTitle": "Actions",+ "actionsHint": "Verify access and connect",+ "browse": "Browse",+ "verify": "Verify",+ "update": "Update",+ "connect": "Connect",+ "disconnect": "Disconnect",+ "importSectionTitle": "Import GitLab issues",+ "importSectionHint": "Import open issues and merge requests from the project",+ "importing": "Importing…",+ "importIssues": "Import issues",+ "importDisabledHint": "Verify the project above to enable importing",+ "browseModalTitle": "Your projects",+ "browseModalHint": "Projects your token is a member of",+ "searchProjects": "Search…",+ "browseNeedsCredentials": "Enter GitLab URL and token to browse",+ "loadingProjects": "Loading projects…",+ "loadProjectsError": "Failed to load projects",+ "openInGitlab": "Open {{project}} in GitLab",- "retry": "Retry"++ "retry": "Retry",++ "importPermissionHint": "Importing requires permission to create and update tasks."+ },"slackIntegration": {"validation": {"webhookInvalid": "Enter a valid Slack webhook URL"diff --cc i18n/es-ES.jsonindex 1e6fecfc7,3a0324bc8..cddb32e79--- a/i18n/es-ES.json+++ b/i18n/es-ES.json@@@ -1352,83 -1473,116 +1477,195 @@@"text": "Text"}},+ "administration": "Administration",+ "adminUsers": {+ "actions": {+ "deactivate": "Deactivate account",+ "edit": "Edit account",+ "open": "Actions for {{name}}",+ "reactivate": "Reactivate account"+ },+ "clearSearch": "Clear search",+ "columns": {+ "actions": "Actions",+ "joined": "Joined",+ "role": "Global role",+ "status": "Status",+ "user": "User"+ },+ "confirm": {+ "deactivate": {+ "action": "Deactivate account",+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",+ "title": "Deactivate this account?"+ },+ "delete": {+ "action": "Delete permanently",+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",+ "title": "Permanently delete this account?"+ },+ "reactivate": {+ "action": "Reactivate account",+ "description": "{{name}} will be able to sign in and access their workspaces again.",+ "title": "Reactivate this account?"+ },+ "working": "Working…"+ },+ "directoryTitle": "User directory",+ "edit": {+ "description": "Update this account's identity and instance-wide access.",+ "email": "Email address",+ "name": "Full name",+ "role": "Global role",+ "save": "Save changes",+ "saving": "Saving…",+ "selfRoleHint": "You cannot change your own global role.",+ "title": "Edit user"+ },+ "emptyDescription": "Try another name or email address.",+ "emptyTitle": "No users found",+ "instanceBadge": "Instance",+ "loadError": "Users could not be loaded.",+ "next": "Next",+ "pagination": "Page {{current}} of {{total}}",+ "previous": "Previous",+ "refreshing": "Refreshing users",+ "retry": "Retry",+ "roles": {+ "admin": "Instance admin",+ "user": "User"+ },+ "searchCount_many": "{{count}} matching users",+ "searchCount_one": "{{count}} matching user",+ "searchCount_other": "{{count}} matching users",+ "searchLabel": "Search users",+ "searchPlaceholder": "Search name or email…",+ "status": {+ "active": "Active",+ "deactivated": "Deactivated"+ },+ "subtitle": "Manage every account registered on this Kaneo instance.",+ "title": "User management",+ "toast": {+ "actionError": "Failed to update user status",+ "deactivated": "User deactivated",+ "deleted": "User deleted",+ "reactivated": "User reactivated",+ "updated": "User updated",+ "updateError": "Failed to update user"+ },+ "userCount_many": "{{count}} registered users",+ "userCount_one": "{{count}} registered user",+ "userCount_other": "{{count}} registered users",+ "you": "(you)"+ },+ "security": "Security",+ "securityPage": {+ "confirmPassword": "Confirm new password",+ "confirmPasswordPlaceholder": "Re-enter your new password",+ "currentPassword": "Current password",+ "currentPasswordPlaceholder": "Enter your current password",+ "newPassword": "New password",+ "newPasswordPlaceholder": "Enter a new password",+ "noPassword": {+ "description": "Your account signs in with a different method, so there is no password to change.",+ "title": "Password change isn't available"+ },+ "pageTitle": "Security",+ "sectionSubtitle": "Change the password you use to sign in.",+ "sectionTitle": "Password",+ "submit": "Update password",+ "submitting": "Updating...",+ "subtitle": "Manage your password and account security.",+ "title": "Security",+ "updateError": "Failed to update password.",+ "updateSuccess": "Password updated.",+ "validation": {+ "confirmRequired": "Confirm your new password.",+ "currentRequired": "Enter your current password.",+ "mismatch": "Passwords do not match.",+ "tooShort": "New password must be at least 8 characters.",+ "sameAsCurrent": "New password must be different from your current password."+ }++ },+ "gitlabIntegration": {+ "actionsHint": "Verify access and connect",+ "actionsTitle": "Actions",+ "badgeConnected": "Connected",+ "badgeNotConnected": "Not connected",+ "baseUrlHint": "https://gitlab.com, or the root URL of your instance",+ "baseUrlLabel": "GitLab URL",+ "browse": "Browse",+ "browseModalHint": "Projects your token is a member of",+ "browseModalTitle": "Your projects",+ "browseNeedsCredentials": "Enter GitLab URL and token to browse",+ "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",+ "commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",+ "connect": "Connect",+ "connectedActive": "Project connected and active",+ "connectionStatus": "Connection status",+ "currentToken": "stored",+ "disconnect": "Disconnect",+ "importDisabledHint": "Verify the project above to enable importing",+ "importing": "Importing…",+ "importIssues": "Import issues",+ "importSectionHint": "Import open issues and merge requests from the project",+ "importSectionTitle": "Import GitLab issues",+ "loadingProjects": "Loading projects…",+ "notConnectedHint": "No GitLab project connected",+ "openInGitlab": "Open {{project}} in GitLab",+ "project": "Project",+ "projectHint": "Linked GitLab project",+ "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",+ "projectPathLabel": "Project path",+ "retry": "Retry",+ "searchProjects": "Search…",+ "toast": {+ "commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",+ "commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",+ "importError": "Failed to import issues",+ "issuesImported": "Issues imported successfully",+ "notGitlabInstance": "The URL does not point to a GitLab instance",+ "projectNotFound": "Project not found or not accessible",+ "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",+ "removed": "GitLab integration removed",+ "removeError": "Failed to remove GitLab integration",+ "secretCopied": "Copied",+ "settingsUpdateError": "Failed to update GitLab integration",+ "tokenRequired": "Access token is required",+ "tokenRequiredVerify": "Enter a token to verify",+ "unableToCopySecret": "Unable to copy secret",+ "updated": "GitLab integration saved",+ "updateError": "Failed to save GitLab integration",+ "verifyError": "Failed to verify GitLab access",+ "verifyFirst": "Verify access failed. Check URL, token, and project path",+ "verifyOk": "GitLab token can access this project",+ "verifyWarning": "Check token permissions or project access"+ },+ "tokenHint": "Token with api scope and at least Developer on the project",+ "tokenLabel": "Access token",+ "tokenPlaceholder": "Paste token",+ "tokenPlaceholderUpdate": "Paste new token to rotate",+ "tokenTypeBearer": "OAuth2 token",+ "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",+ "tokenTypeLabel": "Token type",+ "tokenTypePrivate": "Personal, project or group access token",+ "update": "Update",+ "validation": {+ "baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",+ "baseUrlRequired": "GitLab base URL is required",+ "pathInvalid": "Enter the full path, e.g. group/project",+ "pathRequired": "Project path is required"+ },+ "verify": "Verify",+ "webhookCopy": "Copy",+ "webhookHide": "Hide",+ "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",+ "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",+ "webhookShow": "Show",+ "webhookTitle": "Webhook",- "loadProjectsError": "Failed to load projects"++ "loadProjectsError": "Failed to load projects",++ "importPermissionHint": "Importing requires permission to create and update tasks."}},"navigation": {@@@ -1717,7 -1873,8 +1954,9 @@@"renderFailed": "No se pudo renderizar el diagrama de Mermaid"}},+ "importedFrom": "Imported from {{source}}",- "importedBy": "Imported by {{name}}"++ "importedBy": "Imported by {{name}}",+ "commentedOnForge": "comentado en {{forge}}"}},"tasks": {diff --cc i18n/fr-FR.jsonindex d8b7e3561,65b9ce5f2..b85d12110--- a/i18n/fr-FR.json+++ b/i18n/fr-FR.json@@@ -1352,83 -1473,116 +1477,195 @@@"text": "Text"}},+ "administration": "Administration",+ "adminUsers": {+ "actions": {+ "deactivate": "Deactivate account",+ "edit": "Edit account",+ "open": "Actions for {{name}}",+ "reactivate": "Reactivate account"+ },+ "clearSearch": "Clear search",+ "columns": {+ "actions": "Actions",+ "joined": "Joined",+ "role": "Global role",+ "status": "Status",+ "user": "User"+ },+ "confirm": {+ "deactivate": {+ "action": "Deactivate account",+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",+ "title": "Deactivate this account?"+ },+ "delete": {+ "action": "Delete permanently",+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",+ "title": "Permanently delete this account?"+ },+ "reactivate": {+ "action": "Reactivate account",+ "description": "{{name}} will be able to sign in and access their workspaces again.",+ "title": "Reactivate this account?"+ },+ "working": "Working…"+ },+ "directoryTitle": "User directory",+ "edit": {+ "description": "Update this account's identity and instance-wide access.",+ "email": "Email address",+ "name": "Full name",+ "role": "Global role",+ "save": "Save changes",+ "saving": "Saving…",+ "selfRoleHint": "You cannot change your own global role.",+ "title": "Edit user"+ },+ "emptyDescription": "Try another name or email address.",+ "emptyTitle": "No users found",+ "instanceBadge": "Instance",+ "loadError": "Users could not be loaded.",+ "next": "Next",+ "pagination": "Page {{current}} of {{total}}",+ "previous": "Previous",+ "refreshing": "Refreshing users",+ "retry": "Retry",+ "roles": {+ "admin": "Instance admin",+ "user": "User"+ },+ "searchCount_many": "{{count}} matching users",+ "searchCount_one": "{{count}} matching user",+ "searchCount_other": "{{count}} matching users",+ "searchLabel": "Search users",+ "searchPlaceholder": "Search name or email…",+ "status": {+ "active": "Active",+ "deactivated": "Deactivated"+ },+ "subtitle": "Manage every account registered on this Kaneo instance.",+ "title": "User management",+ "toast": {+ "actionError": "Failed to update user status",+ "deactivated": "User deactivated",+ "deleted": "User deleted",+ "reactivated": "User reactivated",+ "updated": "User updated",+ "updateError": "Failed to update user"+ },+ "userCount_many": "{{count}} registered users",+ "userCount_one": "{{count}} registered user",+ "userCount_other": "{{count}} registered users",+ "you": "(you)"+ },+ "security": "Security",+ "securityPage": {+ "confirmPassword": "Confirm new password",+ "confirmPasswordPlaceholder": "Re-enter your new password",+ "currentPassword": "Current password",+ "currentPasswordPlaceholder": "Enter your current password",+ "newPassword": "New password",+ "newPasswordPlaceholder": "Enter a new password",+ "noPassword": {+ "description": "Your account signs in with a different method, so there is no password to change.",+ "title": "Password change isn't available"+ },+ "pageTitle": "Security",+ "sectionSubtitle": "Change the password you use to sign in.",+ "sectionTitle": "Password",+ "submit": "Update password",+ "submitting": "Updating...",+ "subtitle": "Manage your password and account security.",+ "title": "Security",+ "updateError": "Failed to update password.",+ "updateSuccess": "Password updated.",+ "validation": {+ "confirmRequired": "Confirm your new password.",+ "currentRequired": "Enter your current password.",+ "mismatch": "Passwords do not match.",+ "tooShort": "New password must be at least 8 characters.",+ "sameAsCurrent": "New password must be different from your current password."+ }++ },+ "gitlabIntegration": {+ "actionsHint": "Verify access and connect",+ "actionsTitle": "Actions",+ "badgeConnected": "Connected",+ "badgeNotConnected": "Not connected",+ "baseUrlHint": "https://gitlab.com, or the root URL of your instance",+ "baseUrlLabel": "GitLab URL",+ "browse": "Browse",+ "browseModalHint": "Projects your token is a member of",+ "browseModalTitle": "Your projects",+ "browseNeedsCredentials": "Enter GitLab URL and token to browse",+ "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",+ "commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",+ "connect": "Connect",+ "connectedActive": "Project connected and active",+ "connectionStatus": "Connection status",+ "currentToken": "stored",+ "disconnect": "Disconnect",+ "importDisabledHint": "Verify the project above to enable importing",+ "importing": "Importing…",+ "importIssues": "Import issues",+ "importSectionHint": "Import open issues and merge requests from the project",+ "importSectionTitle": "Import GitLab issues",+ "loadingProjects": "Loading projects…",+ "notConnectedHint": "No GitLab project connected",+ "openInGitlab": "Open {{project}} in GitLab",+ "project": "Project",+ "projectHint": "Linked GitLab project",+ "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",+ "projectPathLabel": "Project path",+ "retry": "Retry",+ "searchProjects": "Search…",+ "toast": {+ "commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",+ "commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",+ "importError": "Failed to import issues",+ "issuesImported": "Issues imported successfully",+ "notGitlabInstance": "The URL does not point to a GitLab instance",+ "projectNotFound": "Project not found or not accessible",+ "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",+ "removed": "GitLab integration removed",+ "removeError": "Failed to remove GitLab integration",+ "secretCopied": "Copied",+ "settingsUpdateError": "Failed to update GitLab integration",+ "tokenRequired": "Access token is required",+ "tokenRequiredVerify": "Enter a token to verify",+ "unableToCopySecret": "Unable to copy secret",+ "updated": "GitLab integration saved",+ "updateError": "Failed to save GitLab integration",+ "verifyError": "Failed to verify GitLab access",+ "verifyFirst": "Verify access failed. Check URL, token, and project path",+ "verifyOk": "GitLab token can access this project",+ "verifyWarning": "Check token permissions or project access"+ },+ "tokenHint": "Token with api scope and at least Developer on the project",+ "tokenLabel": "Access token",+ "tokenPlaceholder": "Paste token",+ "tokenPlaceholderUpdate": "Paste new token to rotate",+ "tokenTypeBearer": "OAuth2 token",+ "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",+ "tokenTypeLabel": "Token type",+ "tokenTypePrivate": "Personal, project or group access token",+ "update": "Update",+ "validation": {+ "baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",+ "baseUrlRequired": "GitLab base URL is required",+ "pathInvalid": "Enter the full path, e.g. group/project",+ "pathRequired": "Project path is required"+ },+ "verify": "Verify",+ "webhookCopy": "Copy",+ "webhookHide": "Hide",+ "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",+ "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",+ "webhookShow": "Show",+ "webhookTitle": "Webhook",- "loadProjectsError": "Failed to load projects"++ "loadProjectsError": "Failed to load projects",++ "importPermissionHint": "Importing requires permission to create and update tasks."}},"navigation": {@@@ -1717,7 -1873,8 +1954,9 @@@"renderFailed": "Impossible d'afficher le diagramme Mermaid"}},+ "importedFrom": "Imported from {{source}}",- "importedBy": "Imported by {{name}}"++ "importedBy": "Imported by {{name}}",+ "commentedOnForge": "a commenté sur {{forge}}"}},"tasks": {diff --cc i18n/hi-IN.jsonindex 0517b1f8a,fef994b0b..00aa4ded0--- a/i18n/hi-IN.json+++ b/i18n/hi-IN.json@@@ -1351,83 -1472,114 +1476,193 @@@"text": "Text"}},+ "administration": "Administration",+ "adminUsers": {+ "actions": {+ "deactivate": "Deactivate account",+ "edit": "Edit account",+ "open": "Actions for {{name}}",+ "reactivate": "Reactivate account"+ },+ "clearSearch": "Clear search",+ "columns": {+ "actions": "Actions",+ "joined": "Joined",+ "role": "Global role",+ "status": "Status",+ "user": "User"+ },+ "confirm": {+ "deactivate": {+ "action": "Deactivate account",+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",+ "title": "Deactivate this account?"+ },+ "delete": {+ "action": "Delete permanently",+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",+ "title": "Permanently delete this account?"+ },+ "reactivate": {+ "action": "Reactivate account",+ "description": "{{name}} will be able to sign in and access their workspaces again.",+ "title": "Reactivate this account?"+ },+ "working": "Working…"+ },+ "directoryTitle": "User directory",+ "edit": {+ "description": "Update this account's identity and instance-wide access.",+ "email": "Email address",+ "name": "Full name",+ "role": "Global role",+ "save": "Save changes",+ "saving": "Saving…",+ "selfRoleHint": "You cannot change your own global role.",+ "title": "Edit user"+ },+ "emptyDescription": "Try another name or email address.",+ "emptyTitle": "No users found",+ "instanceBadge": "Instance",+ "loadError": "Users could not be loaded.",+ "next": "Next",+ "pagination": "Page {{current}} of {{total}}",+ "previous": "Previous",+ "refreshing": "Refreshing users",+ "retry": "Retry",+ "roles": {+ "admin": "Instance admin",+ "user": "User"+ },+ "searchCount_one": "{{count}} matching user",+ "searchCount_other": "{{count}} matching users",+ "searchLabel": "Search users",+ "searchPlaceholder": "Search name or email…",+ "status": {+ "active": "Active",+ "deactivated": "Deactivated"+ },+ "subtitle": "Manage every account registered on this Kaneo instance.",+ "title": "User management",+ "toast": {+ "actionError": "Failed to update user status",+ "deactivated": "User deactivated",+ "deleted": "User deleted",+ "reactivated": "User reactivated",+ "updated": "User updated",+ "updateError": "Failed to update user"+ },+ "userCount_one": "{{count}} registered user",+ "userCount_other": "{{count}} registered users",+ "you": "(you)"+ },+ "security": "Security",+ "securityPage": {+ "confirmPassword": "Confirm new password",+ "confirmPasswordPlaceholder": "Re-enter your new password",+ "currentPassword": "Current password",+ "currentPasswordPlaceholder": "Enter your current password",+ "newPassword": "New password",+ "newPasswordPlaceholder": "Enter a new password",+ "noPassword": {+ "description": "Your account signs in with a different method, so there is no password to change.",+ "title": "Password change isn't available"+ },+ "pageTitle": "Security",+ "sectionSubtitle": "Change the password you use to sign in.",+ "sectionTitle": "Password",+ "submit": "Update password",+ "submitting": "Updating...",+ "subtitle": "Manage your password and account security.",+ "title": "Security",+ "updateError": "Failed to update password.",+ "updateSuccess": "Password updated.",+ "validation": {+ "confirmRequired": "Confirm your new password.",+ "currentRequired": "Enter your current password.",+ "mismatch": "Passwords do not match.",+ "tooShort": "New password must be at least 8 characters.",+ "sameAsCurrent": "New password must be different from your current password."+ }++ },+ "gitlabIntegration": {+ "actionsHint": "Verify access and connect",+ "actionsTitle": "Actions",+ "badgeConnected": "Connected",+ "badgeNotConnected": "Not connected",+ "baseUrlHint": "https://gitlab.com, or the root URL of your instance",+ "baseUrlLabel": "GitLab URL",+ "browse": "Browse",+ "browseModalHint": "Projects your token is a member of",+ "browseModalTitle": "Your projects",+ "browseNeedsCredentials": "Enter GitLab URL and token to browse",+ "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",+ "commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",+ "connect": "Connect",+ "connectedActive": "Project connected and active",+ "connectionStatus": "Connection status",+ "currentToken": "stored",+ "disconnect": "Disconnect",+ "importDisabledHint": "Verify the project above to enable importing",+ "importing": "Importing…",+ "importIssues": "Import issues",+ "importSectionHint": "Import open issues and merge requests from the project",+ "importSectionTitle": "Import GitLab issues",+ "loadingProjects": "Loading projects…",+ "notConnectedHint": "No GitLab project connected",+ "openInGitlab": "Open {{project}} in GitLab",+ "project": "Project",+ "projectHint": "Linked GitLab project",+ "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",+ "projectPathLabel": "Project path",+ "retry": "Retry",+ "searchProjects": "Search…",+ "toast": {+ "commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",+ "commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",+ "importError": "Failed to import issues",+ "issuesImported": "Issues imported successfully",+ "notGitlabInstance": "The URL does not point to a GitLab instance",+ "projectNotFound": "Project not found or not accessible",+ "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",+ "removed": "GitLab integration removed",+ "removeError": "Failed to remove GitLab integration",+ "secretCopied": "Copied",+ "settingsUpdateError": "Failed to update GitLab integration",+ "tokenRequired": "Access token is required",+ "tokenRequiredVerify": "Enter a token to verify",+ "unableToCopySecret": "Unable to copy secret",+ "updated": "GitLab integration saved",+ "updateError": "Failed to save GitLab integration",+ "verifyError": "Failed to verify GitLab access",+ "verifyFirst": "Verify access failed. Check URL, token, and project path",+ "verifyOk": "GitLab token can access this project",+ "verifyWarning": "Check token permissions or project access"+ },+ "tokenHint": "Token with api scope and at least Developer on the project",+ "tokenLabel": "Access token",+ "tokenPlaceholder": "Paste token",+ "tokenPlaceholderUpdate": "Paste new token to rotate",+ "tokenTypeBearer": "OAuth2 token",+ "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",+ "tokenTypeLabel": "Token type",+ "tokenTypePrivate": "Personal, project or group access token",+ "update": "Update",+ "validation": {+ "baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",+ "baseUrlRequired": "GitLab base URL is required",+ "pathInvalid": "Enter the full path, e.g. group/project",+ "pathRequired": "Project path is required"+ },+ "verify": "Verify",+ "webhookCopy": "Copy",+ "webhookHide": "Hide",+ "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",+ "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",+ "webhookShow": "Show",+ "webhookTitle": "Webhook",- "loadProjectsError": "Failed to load projects"++ "loadProjectsError": "Failed to load projects",++ "importPermissionHint": "Importing requires permission to create and update tasks."}},"navigation": {@@@ -1712,7 -1866,8 +1947,9 @@@"renderFailed": "Mermaid डायग्राम प्रस्तुत नहीं किया जा सका"}},+ "importedFrom": "Imported from {{source}}",- "importedBy": "Imported by {{name}}"++ "importedBy": "Imported by {{name}}",+ "commentedOnForge": "{{forge}} पर टिप्पणी की"}},"tasks": {diff --cc i18n/id-ID.jsonindex 395c1cb13,bf264756a..183dbb998--- a/i18n/id-ID.json+++ b/i18n/id-ID.json@@@ -1350,83 -1471,112 +1475,191 @@@"text": "Text"}},+ "administration": "Administration",+ "adminUsers": {+ "actions": {+ "deactivate": "Deactivate account",+ "edit": "Edit account",+ "open": "Actions for {{name}}",+ "reactivate": "Reactivate account"+ },+ "clearSearch": "Clear search",+ "columns": {+ "actions": "Actions",+ "joined": "Joined",+ "role": "Global role",+ "status": "Status",+ "user": "User"+ },+ "confirm": {+ "deactivate": {+ "action": "Deactivate account",+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",+ "title": "Deactivate this account?"+ },+ "delete": {+ "action": "Delete permanently",+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",+ "title": "Permanently delete this account?"+ },+ "reactivate": {+ "action": "Reactivate account",+ "description": "{{name}} will be able to sign in and access their workspaces again.",+ "title": "Reactivate this account?"+ },+ "working": "Working…"+ },+ "directoryTitle": "User directory",+ "edit": {+ "description": "Update this account's identity and instance-wide access.",+ "email": "Email address",+ "name": "Full name",+ "role": "Global role",+ "save": "Save changes",+ "saving": "Saving…",+ "selfRoleHint": "You cannot change your own global role.",+ "title": "Edit user"+ },+ "emptyDescription": "Try another name or email address.",+ "emptyTitle": "No users found",+ "instanceBadge": "Instance",+ "loadError": "Users could not be loaded.",+ "next": "Next",+ "pagination": "Page {{current}} of {{total}}",+ "previous": "Previous",+ "refreshing": "Refreshing users",+ "retry": "Retry",+ "roles": {+ "admin": "Instance admin",+ "user": "User"+ },+ "searchCount_other": "{{count}} matching users",+ "searchLabel": "Search users",+ "searchPlaceholder": "Search name or email…",+ "status": {+ "active": "Active",+ "deactivated": "Deactivated"+ },+ "subtitle": "Manage every account registered on this Kaneo instance.",+ "title": "User management",+ "toast": {+ "actionError": "Failed to update user status",+ "deactivated": "User deactivated",+ "deleted": "User deleted",+ "reactivated": "User reactivated",+ "updated": "User updated",+ "updateError": "Failed to update user"+ },+ "userCount_other": "{{count}} registered users",+ "you": "(you)"+ },+ "security": "Security",+ "securityPage": {+ "confirmPassword": "Confirm new password",+ "confirmPasswordPlaceholder": "Re-enter your new password",+ "currentPassword": "Current password",+ "currentPasswordPlaceholder": "Enter your current password",+ "newPassword": "New password",+ "newPasswordPlaceholder": "Enter a new password",+ "noPassword": {+ "description": "Your account signs in with a different method, so there is no password to change.",+ "title": "Password change isn't available"+ },+ "pageTitle": "Security",+ "sectionSubtitle": "Change the password you use to sign in.",+ "sectionTitle": "Password",+ "submit": "Update password",+ "submitting": "Updating...",+ "subtitle": "Manage your password and account security.",+ "title": "Security",+ "updateError": "Failed to update password.",+ "updateSuccess": "Password updated.",+ "validation": {+ "confirmRequired": "Confirm your new password.",+ "currentRequired": "Enter your current password.",+ "mismatch": "Passwords do not match.",+ "tooShort": "New password must be at least 8 characters.",+ "sameAsCurrent": "New password must be different from your current password."+ }++ },+ "gitlabIntegration": {+ "actionsHint": "Verify access and connect",+ "actionsTitle": "Actions",+ "badgeConnected": "Connected",+ "badgeNotConnected": "Not connected",+ "baseUrlHint": "https://gitlab.com, or the root URL of your instance",+ "baseUrlLabel": "GitLab URL",+ "browse": "Browse",+ "browseModalHint": "Projects your token is a member of",+ "browseModalTitle": "Your projects",+ "browseNeedsCredentials": "Enter GitLab URL and token to browse",+ "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",+ "commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",+ "connect": "Connect",+ "connectedActive": "Project connected and active",+ "connectionStatus": "Connection status",+ "currentToken": "stored",+ "disconnect": "Disconnect",+ "importDisabledHint": "Verify the project above to enable importing",+ "importing": "Importing…",+ "importIssues": "Import issues",+ "importSectionHint": "Import open issues and merge requests from the project",+ "importSectionTitle": "Import GitLab issues",+ "loadingProjects": "Loading projects…",+ "notConnectedHint": "No GitLab project connected",+ "openInGitlab": "Open {{project}} in GitLab",+ "project": "Project",+ "projectHint": "Linked GitLab project",+ "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",+ "projectPathLabel": "Project path",+ "retry": "Retry",+ "searchProjects": "Search…",+ "toast": {+ "commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",+ "commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",+ "importError": "Failed to import issues",+ "issuesImported": "Issues imported successfully",+ "notGitlabInstance": "The URL does not point to a GitLab instance",+ "projectNotFound": "Project not found or not accessible",+ "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",+ "removed": "GitLab integration removed",+ "removeError": "Failed to remove GitLab integration",+ "secretCopied": "Copied",+ "settingsUpdateError": "Failed to update GitLab integration",+ "tokenRequired": "Access token is required",+ "tokenRequiredVerify": "Enter a token to verify",+ "unableToCopySecret": "Unable to copy secret",+ "updated": "GitLab integration saved",+ "updateError": "Failed to save GitLab integration",+ "verifyError": "Failed to verify GitLab access",+ "verifyFirst": "Verify access failed. Check URL, token, and project path",+ "verifyOk": "GitLab token can access this project",+ "verifyWarning": "Check token permissions or project access"+ },+ "tokenHint": "Token with api scope and at least Developer on the project",+ "tokenLabel": "Access token",+ "tokenPlaceholder": "Paste token",+ "tokenPlaceholderUpdate": "Paste new token to rotate",+ "tokenTypeBearer": "OAuth2 token",+ "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",+ "tokenTypeLabel": "Token type",+ "tokenTypePrivate": "Personal, project or group access token",+ "update": "Update",+ "validation": {+ "baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",+ "baseUrlRequired": "GitLab base URL is required",+ "pathInvalid": "Enter the full path, e.g. group/project",+ "pathRequired": "Project path is required"+ },+ "verify": "Verify",+ "webhookCopy": "Copy",+ "webhookHide": "Hide",+ "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",+ "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",+ "webhookShow": "Show",+ "webhookTitle": "Webhook",- "loadProjectsError": "Failed to load projects"++ "loadProjectsError": "Failed to load projects",++ "importPermissionHint": "Importing requires permission to create and update tasks."}},"navigation": {@@@ -1707,7 -1859,8 +1940,9 @@@"renderFailed": "Diagram Mermaid tidak dapat dirender"}},+ "importedFrom": "Imported from {{source}}",- "importedBy": "Imported by {{name}}"++ "importedBy": "Imported by {{name}}",+ "commentedOnForge": "berkomentar di {{forge}}"}},"tasks": {diff --cc i18n/it-IT.jsonindex 65b4ba630,869a9c5dc..2914b0a32--- a/i18n/it-IT.json+++ b/i18n/it-IT.json@@@ -1352,83 -1473,116 +1477,195 @@@"text": "Text"}},+ "administration": "Administration",+ "adminUsers": {+ "actions": {+ "deactivate": "Deactivate account",+ "edit": "Edit account",+ "open": "Actions for {{name}}",+ "reactivate": "Reactivate account"+ },+ "clearSearch": "Clear search",+ "columns": {+ "actions": "Actions",+ "joined": "Joined",+ "role": "Global role",+ "status": "Status",+ "user": "User"+ },+ "confirm": {+ "deactivate": {+ "action": "Deactivate account",+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",+ "title": "Deactivate this account?"+ },+ "delete": {+ "action": "Delete permanently",+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",+ "title": "Permanently delete this account?"+ },+ "reactivate": {+ "action": "Reactivate account",+ "description": "{{name}} will be able to sign in and access their workspaces again.",+ "title": "Reactivate this account?"+ },+ "working": "Working…"+ },+ "directoryTitle": "User directory",+ "edit": {+ "description": "Update this account's identity and instance-wide access.",+ "email": "Email address",+ "name": "Full name",+ "role": "Global role",+ "save": "Save changes",+ "saving": "Saving…",+ "selfRoleHint": "You cannot change your own global role.",+ "title": "Edit user"+ },+ "emptyDescription": "Try another name or email address.",+ "emptyTitle": "No users found",+ "instanceBadge": "Instance",+ "loadError": "Users could not be loaded.",+ "next": "Next",+ "pagination": "Page {{current}} of {{total}}",+ "previous": "Previous",+ "refreshing": "Refreshing users",+ "retry": "Retry",+ "roles": {+ "admin": "Instance admin",+ "user": "User"+ },+ "searchCount_many": "{{count}} matching users",+ "searchCount_one": "{{count}} matching user",+ "searchCount_other": "{{count}} matching users",+ "searchLabel": "Search users",+ "searchPlaceholder": "Search name or email…",+ "status": {+ "active": "Active",+ "deactivated": "Deactivated"+ },+ "subtitle": "Manage every account registered on this Kaneo instance.",+ "title": "User management",+ "toast": {+ "actionError": "Failed to update user status",+ "deactivated": "User deactivated",+ "deleted": "User deleted",+ "reactivated": "User reactivated",+ "updated": "User updated",+ "updateError": "Failed to update user"+ },+ "userCount_many": "{{count}} registered users",+ "userCount_one": "{{count}} registered user",+ "userCount_other": "{{count}} registered users",+ "you": "(you)"+ },+ "security": "Security",+ "securityPage": {+ "confirmPassword": "Confirm new password",+ "confirmPasswordPlaceholder": "Re-enter your new password",+ "currentPassword": "Current password",+ "currentPasswordPlaceholder": "Enter your current password",+ "newPassword": "New password",+ "newPasswordPlaceholder": "Enter a new password",+ "noPassword": {+ "description": "Your account signs in with a different method, so there is no password to change.",+ "title": "Password change isn't available"+ },+ "pageTitle": "Security",+ "sectionSubtitle": "Change the password you use to sign in.",+ "sectionTitle": "Password",+ "submit": "Update password",+ "submitting": "Updating...",+ "subtitle": "Manage your password and account security.",+ "title": "Security",+ "updateError": "Failed to update password.",+ "updateSuccess": "Password updated.",+ "validation": {+ "confirmRequired": "Confirm your new password.",+ "currentRequired": "Enter your current password.",+ "mismatch": "Passwords do not match.",+ "tooShort": "New password must be at least 8 characters.",+ "sameAsCurrent": "New password must be different from your current password."+ }++ },+ "gitlabIntegration": {+ "actionsHint": "Verify access and connect",+ "actionsTitle": "Actions",+ "badgeConnected": "Connected",+ "badgeNotConnected": "Not connected",+ "baseUrlHint": "https://gitlab.com, or the root URL of your instance",+ "baseUrlLabel": "GitLab URL",+ "browse": "Browse",+ "browseModalHint": "Projects your token is a member of",+ "browseModalTitle": "Your projects",+ "browseNeedsCredentials": "Enter GitLab URL and token to browse",+ "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",+ "commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",+ "connect": "Connect",+ "connectedActive": "Project connected and active",+ "connectionStatus": "Connection status",+ "currentToken": "stored",+ "disconnect": "Disconnect",+ "importDisabledHint": "Verify the project above to enable importing",+ "importing": "Importing…",+ "importIssues": "Import issues",+ "importSectionHint": "Import open issues and merge requests from the project",+ "importSectionTitle": "Import GitLab issues",+ "loadingProjects": "Loading projects…",+ "notConnectedHint": "No GitLab project connected",+ "openInGitlab": "Open {{project}} in GitLab",+ "project": "Project",+ "projectHint": "Linked GitLab project",+ "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",+ "projectPathLabel": "Project path",+ "retry": "Retry",+ "searchProjects": "Search…",+ "toast": {+ "commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",+ "commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",+ "importError": "Failed to import issues",+ "issuesImported": "Issues imported successfully",+ "notGitlabInstance": "The URL does not point to a GitLab instance",+ "projectNotFound": "Project not found or not accessible",+ "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",+ "removed": "GitLab integration removed",+ "removeError": "Failed to remove GitLab integration",+ "secretCopied": "Copied",+ "settingsUpdateError": "Failed to update GitLab integration",+ "tokenRequired": "Access token is required",+ "tokenRequiredVerify": "Enter a token to verify",+ "unableToCopySecret": "Unable to copy secret",+ "updated": "GitLab integration saved",+ "updateError": "Failed to save GitLab integration",+ "verifyError": "Failed to verify GitLab access",+ "verifyFirst": "Verify access failed. Check URL, token, and project path",+ "verifyOk": "GitLab token can access this project",+ "verifyWarning": "Check token permissions or project access"+ },+ "tokenHint": "Token with api scope and at least Developer on the project",+ "tokenLabel": "Access token",+ "tokenPlaceholder": "Paste token",+ "tokenPlaceholderUpdate": "Paste new token to rotate",+ "tokenTypeBearer": "OAuth2 token",+ "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",+ "tokenTypeLabel": "Token type",+ "tokenTypePrivate": "Personal, project or group access token",+ "update": "Update",+ "validation": {+ "baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",+ "baseUrlRequired": "GitLab base URL is required",+ "pathInvalid": "Enter the full path, e.g. group/project",+ "pathRequired": "Project path is required"+ },+ "verify": "Verify",+ "webhookCopy": "Copy",+ "webhookHide": "Hide",+ "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",+ "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",+ "webhookShow": "Show",+ "webhookTitle": "Webhook",- "loadProjectsError": "Failed to load projects"++ "loadProjectsError": "Failed to load projects",++ "importPermissionHint": "Importing requires permission to create and update tasks."}},"navigation": {@@@ -1717,7 -1873,8 +1954,9 @@@"renderFailed": "Impossibile eseguire il rendering del diagramma Mermaid"}},+ "importedFrom": "Imported from {{source}}",- "importedBy": "Imported by {{name}}"++ "importedBy": "Imported by {{name}}",+ "commentedOnForge": "ha commentato su {{forge}}"}},"tasks": {diff --cc i18n/ja-JP.jsonindex 4f9d9e356,1ffcf22ed..34f1a0f48--- a/i18n/ja-JP.json+++ b/i18n/ja-JP.json@@@ -1350,83 -1471,112 +1475,191 @@@"text": "Text"}},+ "administration": "Administration",+ "adminUsers": {+ "actions": {+ "deactivate": "Deactivate account",+ "edit": "Edit account",+ "open": "Actions for {{name}}",+ "reactivate": "Reactivate account"+ },+ "clearSearch": "Clear search",+ "columns": {+ "actions": "Actions",+ "joined": "Joined",+ "role": "Global role",+ "status": "Status",+ "user": "User"+ },+ "confirm": {+ "deactivate": {+ "action": "Deactivate account",+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",+ "title": "Deactivate this account?"+ },+ "delete": {+ "action": "Delete permanently",+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",+ "title": "Permanently delete this account?"+ },+ "reactivate": {+ "action": "Reactivate account",+ "description": "{{name}} will be able to sign in and access their workspaces again.",+ "title": "Reactivate this account?"+ },+ "working": "Working…"+ },+ "directoryTitle": "User directory",+ "edit": {+ "description": "Update this account's identity and instance-wide access.",+ "email": "Email address",+ "name": "Full name",+ "role": "Global role",+ "save": "Save changes",+ "saving": "Saving…",+ "selfRoleHint": "You cannot change your own global role.",+ "title": "Edit user"+ },+ "emptyDescription": "Try another name or email address.",+ "emptyTitle": "No users found",+ "instanceBadge": "Instance",+ "loadError": "Users could not be loaded.",+ "next": "Next",+ "pagination": "Page {{current}} of {{total}}",+ "previous": "Previous",+ "refreshing": "Refreshing users",+ "retry": "Retry",+ "roles": {+ "admin": "Instance admin",+ "user": "User"+ },+ "searchCount_other": "{{count}} matching users",+ "searchLabel": "Search users",+ "searchPlaceholder": "Search name or email…",+ "status": {+ "active": "Active",+ "deactivated": "Deactivated"+ },+ "subtitle": "Manage every account registered on this Kaneo instance.",+ "title": "User management",+ "toast": {+ "actionError": "Failed to update user status",+ "deactivated": "User deactivated",+ "deleted": "User deleted",+ "reactivated": "User reactivated",+ "updated": "User updated",+ "updateError": "Failed to update user"+ },+ "userCount_other": "{{count}} registered users",+ "you": "(you)"+ },+ "security": "Security",+ "securityPage": {+ "confirmPassword": "Confirm new password",+ "confirmPasswordPlaceholder": "Re-enter your new password",+ "currentPassword": "Current password",+ "currentPasswordPlaceholder": "Enter your current password",+ "newPassword": "New password",+ "newPasswordPlaceholder": "Enter a new password",+ "noPassword": {+ "description": "Your account signs in with a different method, so there is no password to change.",+ "title": "Password change isn't available"+ },+ "pageTitle": "Security",+ "sectionSubtitle": "Change the password you use to sign in.",+ "sectionTitle": "Password",+ "submit": "Update password",+ "submitting": "Updating...",+ "subtitle": "Manage your password and account security.",+ "title": "Security",+ "updateError": "Failed to update password.",+ "updateSuccess": "Password updated.",+ "validation": {+ "confirmRequired": "Confirm your new password.",+ "currentRequired": "Enter your current password.",+ "mismatch": "Passwords do not match.",+ "tooShort": "New password must be at least 8 characters.",+ "sameAsCurrent": "New password must be different from your current password."+ }++ },+ "gitlabIntegration": {+ "actionsHint": "Verify access and connect",+ "actionsTitle": "Actions",+ "badgeConnected": "Connected",+ "badgeNotConnected": "Not connected",+ "baseUrlHint": "https://gitlab.com, or the root URL of your instance",+ "baseUrlLabel": "GitLab URL",+ "browse": "Browse",+ "browseModalHint": "Projects your token is a member of",+ "browseModalTitle": "Your projects",+ "browseNeedsCredentials": "Enter GitLab URL and token to browse",+ "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",+ "commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",+ "connect": "Connect",+ "connectedActive": "Project connected and active",+ "connectionStatus": "Connection status",+ "currentToken": "stored",+ "disconnect": "Disconnect",+ "importDisabledHint": "Verify the project above to enable importing",+ "importing": "Importing…",+ "importIssues": "Import issues",+ "importSectionHint": "Import open issues and merge requests from the project",+ "importSectionTitle": "Import GitLab issues",+ "loadingProjects": "Loading projects…",+ "notConnectedHint": "No GitLab project connected",+ "openInGitlab": "Open {{project}} in GitLab",+ "project": "Project",+ "projectHint": "Linked GitLab project",+ "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",+ "projectPathLabel": "Project path",+ "retry": "Retry",+ "searchProjects": "Search…",+ "toast": {+ "commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",+ "commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",+ "importError": "Failed to import issues",+ "issuesImported": "Issues imported successfully",+ "notGitlabInstance": "The URL does not point to a GitLab instance",+ "projectNotFound": "Project not found or not accessible",+ "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",+ "removed": "GitLab integration removed",+ "removeError": "Failed to remove GitLab integration",+ "secretCopied": "Copied",+ "settingsUpdateError": "Failed to update GitLab integration",+ "tokenRequired": "Access token is required",+ "tokenRequiredVerify": "Enter a token to verify",+ "unableToCopySecret": "Unable to copy secret",+ "updated": "GitLab integration saved",+ "updateError": "Failed to save GitLab integration",+ "verifyError": "Failed to verify GitLab access",+ "verifyFirst": "Verify access failed. Check URL, token, and project path",+ "verifyOk": "GitLab token can access this project",+ "verifyWarning": "Check token permissions or project access"+ },+ "tokenHint": "Token with api scope and at least Developer on the project",+ "tokenLabel": "Access token",+ "tokenPlaceholder": "Paste token",+ "tokenPlaceholderUpdate": "Paste new token to rotate",+ "tokenTypeBearer": "OAuth2 token",+ "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",+ "tokenTypeLabel": "Token type",+ "tokenTypePrivate": "Personal, project or group access token",+ "update": "Update",+ "validation": {+ "baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",+ "baseUrlRequired": "GitLab base URL is required",+ "pathInvalid": "Enter the full path, e.g. group/project",+ "pathRequired": "Project path is required"+ },+ "verify": "Verify",+ "webhookCopy": "Copy",+ "webhookHide": "Hide",+ "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",+ "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",+ "webhookShow": "Show",+ "webhookTitle": "Webhook",- "loadProjectsError": "Failed to load projects"++ "loadProjectsError": "Failed to load projects",++ "importPermissionHint": "Importing requires permission to create and update tasks."}},"navigation": {@@@ -1707,7 -1859,8 +1940,9 @@@"renderFailed": "Mermaid ダイアグラムを描画できませんでした"}},+ "importedFrom": "Imported from {{source}}",- "importedBy": "Imported by {{name}}"++ "importedBy": "Imported by {{name}}",+ "commentedOnForge": "{{forge}} でコメント"}},"tasks": {diff --cc i18n/ko-KR.jsonindex 34dcc4a8f,99372dac8..587286013--- a/i18n/ko-KR.json+++ b/i18n/ko-KR.json@@@ -1350,83 -1471,112 +1475,191 @@@"text": "Text"}},+ "administration": "Administration",+ "adminUsers": {+ "actions": {+ "deactivate": "Deactivate account",+ "edit": "Edit account",+ "open": "Actions for {{name}}",+ "reactivate": "Reactivate account"+ },+ "clearSearch": "Clear search",+ "columns": {+ "actions": "Actions",+ "joined": "Joined",+ "role": "Global role",+ "status": "Status",+ "user": "User"+ },+ "confirm": {+ "deactivate": {+ "action": "Deactivate account",+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",+ "title": "Deactivate this account?"+ },+ "delete": {+ "action": "Delete permanently",+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",+ "title": "Permanently delete this account?"+ },+ "reactivate": {+ "action": "Reactivate account",+ "description": "{{name}} will be able to sign in and access their workspaces again.",+ "title": "Reactivate this account?"+ },+ "working": "Working…"+ },+ "directoryTitle": "User directory",+ "edit": {+ "description": "Update this account's identity and instance-wide access.",+ "email": "Email address",+ "name": "Full name",+ "role": "Global role",+ "save": "Save changes",+ "saving": "Saving…",+ "selfRoleHint": "You cannot change your own global role.",+ "title": "Edit user"+ },+ "emptyDescription": "Try another name or email address.",+ "emptyTitle": "No users found",+ "instanceBadge": "Instance",+ "loadError": "Users could not be loaded.",+ "next": "Next",+ "pagination": "Page {{current}} of {{total}}",+ "previous": "Previous",+ "refreshing": "Refreshing users",+ "retry": "Retry",+ "roles": {+ "admin": "Instance admin",+ "user": "User"+ },+ "searchCount_other": "{{count}} matching users",+ "searchLabel": "Search users",+ "searchPlaceholder": "Search name or email…",+ "status": {+ "active": "Active",+ "deactivated": "Deactivated"+ },+ "subtitle": "Manage every account registered on this Kaneo instance.",+ "title": "User management",+ "toast": {+ "actionError": "Failed to update user status",+ "deactivated": "User deactivated",+ "deleted": "User deleted",+ "reactivated": "User reactivated",+ "updated": "User updated",+ "updateError": "Failed to update user"+ },+ "userCount_other": "{{count}} registered users",+ "you": "(you)"+ },+ "security": "Security",+ "securityPage": {+ "confirmPassword": "Confirm new password",+ "confirmPasswordPlaceholder": "Re-enter your new password",+ "currentPassword": "Current password",+ "currentPasswordPlaceholder": "Enter your current password",+ "newPassword": "New password",+ "newPasswordPlaceholder": "Enter a new password",+ "noPassword": {+ "description": "Your account signs in with a different method, so there is no password to change.",+ "title": "Password change isn't available"+ },+ "pageTitle": "Security",+ "sectionSubtitle": "Change the password you use to sign in.",+ "sectionTitle": "Password",+ "submit": "Update password",+ "submitting": "Updating...",+ "subtitle": "Manage your password and account security.",+ "title": "Security",+ "updateError": "Failed to update password.",+ "updateSuccess": "Password updated.",+ "validation": {+ "confirmRequired": "Confirm your new password.",+ "currentRequired": "Enter your current password.",+ "mismatch": "Passwords do not match.",+ "tooShort": "New password must be at least 8 characters.",+ "sameAsCurrent": "New password must be different from your current password."+ }++ },+ "gitlabIntegration": {+ "actionsHint": "Verify access and connect",+ "actionsTitle": "Actions",+ "badgeConnected": "Connected",+ "badgeNotConnected": "Not connected",+ "baseUrlHint": "https://gitlab.com, or the root URL of your instance",+ "baseUrlLabel": "GitLab URL",+ "browse": "Browse",+ "browseModalHint": "Projects your token is a member of",+ "browseModalTitle": "Your projects",+ "browseNeedsCredentials": "Enter GitLab URL and token to browse",+ "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",+ "commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",+ "connect": "Connect",+ "connectedActive": "Project connected and active",+ "connectionStatus": "Connection status",+ "currentToken": "stored",+ "disconnect": "Disconnect",+ "importDisabledHint": "Verify the project above to enable importing",+ "importing": "Importing…",+ "importIssues": "Import issues",+ "importSectionHint": "Import open issues and merge requests from the project",+ "importSectionTitle": "Import GitLab issues",+ "loadingProjects": "Loading projects…",+ "notConnectedHint": "No GitLab project connected",+ "openInGitlab": "Open {{project}} in GitLab",+ "project": "Project",+ "projectHint": "Linked GitLab project",+ "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",+ "projectPathLabel": "Project path",+ "retry": "Retry",+ "searchProjects": "Search…",+ "toast": {+ "commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",+ "commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",+ "importError": "Failed to import issues",+ "issuesImported": "Issues imported successfully",+ "notGitlabInstance": "The URL does not point to a GitLab instance",+ "projectNotFound": "Project not found or not accessible",+ "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",+ "removed": "GitLab integration removed",+ "removeError": "Failed to remove GitLab integration",+ "secretCopied": "Copied",+ "settingsUpdateError": "Failed to update GitLab integration",+ "tokenRequired": "Access token is required",+ "tokenRequiredVerify": "Enter a token to verify",+ "unableToCopySecret": "Unable to copy secret",+ "updated": "GitLab integration saved",+ "updateError": "Failed to save GitLab integration",+ "verifyError": "Failed to verify GitLab access",+ "verifyFirst": "Verify access failed. Check URL, token, and project path",+ "verifyOk": "GitLab token can access this project",+ "verifyWarning": "Check token permissions or project access"+ },+ "tokenHint": "Token with api scope and at least Developer on the project",+ "tokenLabel": "Access token",+ "tokenPlaceholder": "Paste token",+ "tokenPlaceholderUpdate": "Paste new token to rotate",+ "tokenTypeBearer": "OAuth2 token",+ "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",+ "tokenTypeLabel": "Token type",+ "tokenTypePrivate": "Personal, project or group access token",+ "update": "Update",+ "validation": {+ "baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",+ "baseUrlRequired": "GitLab base URL is required",+ "pathInvalid": "Enter the full path, e.g. group/project",+ "pathRequired": "Project path is required"+ },+ "verify": "Verify",+ "webhookCopy": "Copy",+ "webhookHide": "Hide",+ "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",+ "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",+ "webhookShow": "Show",+ "webhookTitle": "Webhook",- "loadProjectsError": "Failed to load projects"++ "loadProjectsError": "Failed to load projects",++ "importPermissionHint": "Importing requires permission to create and update tasks."}},"navigation": {@@@ -1707,7 -1859,8 +1940,9 @@@"renderFailed": "Mermaid 다이어그램을 렌더링할 수 없습니다"}},+ "importedFrom": "Imported from {{source}}",- "importedBy": "Imported by {{name}}"++ "importedBy": "Imported by {{name}}",+ "commentedOnForge": "{{forge}}에 댓글을 남김"}},"tasks": {diff --cc i18n/mk-MK.jsonindex 70c2e5d35,66136e7f8..5d40c056e--- a/i18n/mk-MK.json+++ b/i18n/mk-MK.json@@@ -1351,83 -1472,114 +1476,193 @@@"text": "Text"}},+ "administration": "Administration",+ "adminUsers": {+ "actions": {+ "deactivate": "Deactivate account",+ "edit": "Edit account",+ "open": "Actions for {{name}}",+ "reactivate": "Reactivate account"+ },+ "clearSearch": "Clear search",+ "columns": {+ "actions": "Actions",+ "joined": "Joined",+ "role": "Global role",+ "status": "Status",+ "user": "User"+ },+ "confirm": {+ "deactivate": {+ "action": "Deactivate account",+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",+ "title": "Deactivate this account?"+ },+ "delete": {+ "action": "Delete permanently",+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",+ "title": "Permanently delete this account?"+ },+ "reactivate": {+ "action": "Reactivate account",+ "description": "{{name}} will be able to sign in and access their workspaces again.",+ "title": "Reactivate this account?"+ },+ "working": "Working…"+ },+ "directoryTitle": "User directory",+ "edit": {+ "description": "Update this account's identity and instance-wide access.",+ "email": "Email address",+ "name": "Full name",+ "role": "Global role",+ "save": "Save changes",+ "saving": "Saving…",+ "selfRoleHint": "You cannot change your own global role.",+ "title": "Edit user"+ },+ "emptyDescription": "Try another name or email address.",+ "emptyTitle": "No users found",+ "instanceBadge": "Instance",+ "loadError": "Users could not be loaded.",+ "next": "Next",+ "pagination": "Page {{current}} of {{total}}",+ "previous": "Previous",+ "refreshing": "Refreshing users",+ "retry": "Retry",+ "roles": {+ "admin": "Instance admin",+ "user": "User"+ },+ "searchCount_one": "{{count}} matching user",+ "searchCount_other": "{{count}} matching users",+ "searchLabel": "Search users",+ "searchPlaceholder": "Search name or email…",+ "status": {+ "active": "Active",+ "deactivated": "Deactivated"+ },+ "subtitle": "Manage every account registered on this Kaneo instance.",+ "title": "User management",+ "toast": {+ "actionError": "Failed to update user status",+ "deactivated": "User deactivated",+ "deleted": "User deleted",+ "reactivated": "User reactivated",+ "updated": "User updated",+ "updateError": "Failed to update user"+ },+ "userCount_one": "{{count}} registered user",+ "userCount_other": "{{count}} registered users",+ "you": "(you)"+ },+ "security": "Security",+ "securityPage": {+ "confirmPassword": "Confirm new password",+ "confirmPasswordPlaceholder": "Re-enter your new password",+ "currentPassword": "Current password",+ "currentPasswordPlaceholder": "Enter your current password",+ "newPassword": "New password",+ "newPasswordPlaceholder": "Enter a new password",+ "noPassword": {+ "description": "Your account signs in with a different method, so there is no password to change.",+ "title": "Password change isn't available"+ },+ "pageTitle": "Security",+ "sectionSubtitle": "Change the password you use to sign in.",+ "sectionTitle": "Password",+ "submit": "Update password",+ "submitting": "Updating...",+ "subtitle": "Manage your password and account security.",+ "title": "Security",+ "updateError": "Failed to update password.",+ "updateSuccess": "Password updated.",+ "validation": {+ "confirmRequired": "Confirm your new password.",+ "currentRequired": "Enter your current password.",+ "mismatch": "Passwords do not match.",+ "tooShort": "New password must be at least 8 characters.",+ "sameAsCurrent": "New password must be different from your current password."+ }++ },+ "gitlabIntegration": {+ "actionsHint": "Verify access and connect",+ "actionsTitle": "Actions",+ "badgeConnected": "Connected",+ "badgeNotConnected": "Not connected",+ "baseUrlHint": "https://gitlab.com, or the root URL of your instance",+ "baseUrlLabel": "GitLab URL",+ "browse": "Browse",+ "browseModalHint": "Projects your token is a member of",+ "browseModalTitle": "Your projects",+ "browseNeedsCredentials": "Enter GitLab URL and token to browse",+ "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",+ "commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",+ "connect": "Connect",+ "connectedActive": "Project connected and active",+ "connectionStatus": "Connection status",+ "currentToken": "stored",+ "disconnect": "Disconnect",+ "importDisabledHint": "Verify the project above to enable importing",+ "importing": "Importing…",+ "importIssues": "Import issues",+ "importSectionHint": "Import open issues and merge requests from the project",+ "importSectionTitle": "Import GitLab issues",+ "loadingProjects": "Loading projects…",+ "notConnectedHint": "No GitLab project connected",+ "openInGitlab": "Open {{project}} in GitLab",+ "project": "Project",+ "projectHint": "Linked GitLab project",+ "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",+ "projectPathLabel": "Project path",+ "retry": "Retry",+ "searchProjects": "Search…",+ "toast": {+ "commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",+ "commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",+ "importError": "Failed to import issues",+ "issuesImported": "Issues imported successfully",+ "notGitlabInstance": "The URL does not point to a GitLab instance",+ "projectNotFound": "Project not found or not accessible",+ "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",+ "removed": "GitLab integration removed",+ "removeError": "Failed to remove GitLab integration",+ "secretCopied": "Copied",+ "settingsUpdateError": "Failed to update GitLab integration",+ "tokenRequired": "Access token is required",+ "tokenRequiredVerify": "Enter a token to verify",+ "unableToCopySecret": "Unable to copy secret",+ "updated": "GitLab integration saved",+ "updateError": "Failed to save GitLab integration",+ "verifyError": "Failed to verify GitLab access",+ "verifyFirst": "Verify access failed. Check URL, token, and project path",+ "verifyOk": "GitLab token can access this project",+ "verifyWarning": "Check token permissions or project access"+ },+ "tokenHint": "Token with api scope and at least Developer on the project",+ "tokenLabel": "Access token",+ "tokenPlaceholder": "Paste token",+ "tokenPlaceholderUpdate": "Paste new token to rotate",+ "tokenTypeBearer": "OAuth2 token",+ "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",+ "tokenTypeLabel": "Token type",+ "tokenTypePrivate": "Personal, project or group access token",+ "update": "Update",+ "validation": {+ "baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",+ "baseUrlRequired": "GitLab base URL is required",+ "pathInvalid": "Enter the full path, e.g. group/project",+ "pathRequired": "Project path is required"+ },+ "verify": "Verify",+ "webhookCopy": "Copy",+ "webhookHide": "Hide",+ "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",+ "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",+ "webhookShow": "Show",+ "webhookTitle": "Webhook",- "loadProjectsError": "Failed to load projects"++ "loadProjectsError": "Failed to load projects",++ "importPermissionHint": "Importing requires permission to create and update tasks."}},"navigation": {@@@ -1712,7 -1866,8 +1947,9 @@@"renderFailed": "Mermaid дијаграмот не можеше да се прикаже"}},+ "importedFrom": "Imported from {{source}}",- "importedBy": "Imported by {{name}}"++ "importedBy": "Imported by {{name}}",+ "commentedOnForge": "коментираше на {{forge}}"}},"tasks": {diff --cc i18n/nl-NL.jsonindex 4bc72a05e,d5526b3c8..cbfa5ba80--- a/i18n/nl-NL.json+++ b/i18n/nl-NL.json@@@ -1351,83 -1472,114 +1476,193 @@@"text": "Text"}},+ "administration": "Administration",+ "adminUsers": {+ "actions": {+ "deactivate": "Deactivate account",+ "edit": "Edit account",+ "open": "Actions for {{name}}",+ "reactivate": "Reactivate account"+ },+ "clearSearch": "Clear search",+ "columns": {+ "actions": "Actions",+ "joined": "Joined",+ "role": "Global role",+ "status": "Status",+ "user": "User"+ },+ "confirm": {+ "deactivate": {+ "action": "Deactivate account",+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",+ "title": "Deactivate this account?"+ },+ "delete": {+ "action": "Delete permanently",+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",+ "title": "Permanently delete this account?"+ },+ "reactivate": {+ "action": "Reactivate account",+ "description": "{{name}} will be able to sign in and access their workspaces again.",+ "title": "Reactivate this account?"+ },+ "working": "Working…"+ },+ "directoryTitle": "User directory",+ "edit": {+ "description": "Update this account's identity and instance-wide access.",+ "email": "Email address",+ "name": "Full name",+ "role": "Global role",+ "save": "Save changes",+ "saving": "Saving…",+ "selfRoleHint": "You cannot change your own global role.",+ "title": "Edit user"+ },+ "emptyDescription": "Try another name or email address.",+ "emptyTitle": "No users found",+ "instanceBadge": "Instance",+ "loadError": "Users could not be loaded.",+ "next": "Next",+ "pagination": "Page {{current}} of {{total}}",+ "previous": "Previous",+ "refreshing": "Refreshing users",+ "retry": "Retry",+ "roles": {+ "admin": "Instance admin",+ "user": "User"+ },+ "searchCount_one": "{{count}} matching user",+ "searchCount_other": "{{count}} matching users",+ "searchLabel": "Search users",+ "searchPlaceholder": "Search name or email…",+ "status": {+ "active": "Active",+ "deactivated": "Deactivated"+ },+ "subtitle": "Manage every account registered on this Kaneo instance.",+ "title": "User management",+ "toast": {+ "actionError": "Failed to update user status",+ "deactivated": "User deactivated",+ "deleted": "User deleted",+ "reactivated": "User reactivated",+ "updated": "User updated",+ "updateError": "Failed to update user"+ },+ "userCount_one": "{{count}} registered user",+ "userCount_other": "{{count}} registered users",+ "you": "(you)"+ },+ "security": "Security",+ "securityPage": {+ "confirmPassword": "Confirm new password",+ "confirmPasswordPlaceholder": "Re-enter your new password",+ "currentPassword": "Current password",+ "currentPasswordPlaceholder": "Enter your current password",+ "newPassword": "New password",+ "newPasswordPlaceholder": "Enter a new password",+ "noPassword": {+ "description": "Your account signs in with a different method, so there is no password to change.",+ "title": "Password change isn't available"+ },+ "pageTitle": "Security",+ "sectionSubtitle": "Change the password you use to sign in.",+ "sectionTitle": "Password",+ "submit": "Update password",+ "submitting": "Updating...",+ "subtitle": "Manage your password and account security.",+ "title": "Security",+ "updateError": "Failed to update password.",+ "updateSuccess": "Password updated.",+ "validation": {+ "confirmRequired": "Confirm your new password.",+ "currentRequired": "Enter your current password.",+ "mismatch": "Passwords do not match.",+ "tooShort": "New password must be at least 8 characters.",+ "sameAsCurrent": "New password must be different from your current password."+ }++ },+ "gitlabIntegration": {+ "actionsHint": "Verify access and connect",+ "actionsTitle": "Actions",+ "badgeConnected": "Connected",+ "badgeNotConnected": "Not connected",+ "baseUrlHint": "https://gitlab.com, or the root URL of your instance",+ "baseUrlLabel": "GitLab URL",+ "browse": "Browse",+ "browseModalHint": "Projects your token is a member of",+ "browseModalTitle": "Your projects",+ "browseNeedsCredentials": "Enter GitLab URL and token to browse",+ "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",+ "commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",+ "connect": "Connect",+ "connectedActive": "Project connected and active",+ "connectionStatus": "Connection status",+ "currentToken": "stored",+ "disconnect": "Disconnect",+ "importDisabledHint": "Verify the project above to enable importing",+ "importing": "Importing…",+ "importIssues": "Import issues",+ "importSectionHint": "Import open issues and merge requests from the project",+ "importSectionTitle": "Import GitLab issues",+ "loadingProjects": "Loading projects…",+ "notConnectedHint": "No GitLab project connected",+ "openInGitlab": "Open {{project}} in GitLab",+ "project": "Project",+ "projectHint": "Linked GitLab project",+ "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",+ "projectPathLabel": "Project path",+ "retry": "Retry",+ "searchProjects": "Search…",+ "toast": {+ "commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",+ "commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",+ "importError": "Failed to import issues",+ "issuesImported": "Issues imported successfully",+ "notGitlabInstance": "The URL does not point to a GitLab instance",+ "projectNotFound": "Project not found or not accessible",+ "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",+ "removed": "GitLab integration removed",+ "removeError": "Failed to remove GitLab integration",+ "secretCopied": "Copied",+ "settingsUpdateError": "Failed to update GitLab integration",+ "tokenRequired": "Access token is required",+ "tokenRequiredVerify": "Enter a token to verify",+ "unableToCopySecret": "Unable to copy secret",+ "updated": "GitLab integration saved",+ "updateError": "Failed to save GitLab integration",+ "verifyError": "Failed to verify GitLab access",+ "verifyFirst": "Verify access failed. Check URL, token, and project path",+ "verifyOk": "GitLab token can access this project",+ "verifyWarning": "Check token permissions or project access"+ },+ "tokenHint": "Token with api scope and at least Developer on the project",+ "tokenLabel": "Access token",+ "tokenPlaceholder": "Paste token",+ "tokenPlaceholderUpdate": "Paste new token to rotate",+ "tokenTypeBearer": "OAuth2 token",+ "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",+ "tokenTypeLabel": "Token type",+ "tokenTypePrivate": "Personal, project or group access token",+ "update": "Update",+ "validation": {+ "baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",+ "baseUrlRequired": "GitLab base URL is required",+ "pathInvalid": "Enter the full path, e.g. group/project",+ "pathRequired": "Project path is required"+ },+ "verify": "Verify",+ "webhookCopy": "Copy",+ "webhookHide": "Hide",+ "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",+ "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",+ "webhookShow": "Show",+ "webhookTitle": "Webhook",- "loadProjectsError": "Failed to load projects"++ "loadProjectsError": "Failed to load projects",++ "importPermissionHint": "Importing requires permission to create and update tasks."}},"navigation": {@@@ -1712,7 -1866,8 +1947,9 @@@"renderFailed": "Mermaid-diagram kon niet worden weergegeven"}},+ "importedFrom": "Imported from {{source}}",- "importedBy": "Imported by {{name}}"++ "importedBy": "Imported by {{name}}",+ "commentedOnForge": "heeft gereageerd op {{forge}}"}},"tasks": {diff --cc i18n/pl-PL.jsonindex cbf14d4d5,721138f58..8ba7bdb44--- a/i18n/pl-PL.json+++ b/i18n/pl-PL.json@@@ -809,7 -838,8 +836,9 @@@"submitShortcut": "Wyślij komentarz","updated": "Zaktualizowano komentarz","viewGithubProfile": "Wyświetl profil GitHub",+ "importedFrom": "Imported from {{source}}",- "importedBy": "Imported by {{name}}"++ "importedBy": "Imported by {{name}}",+ "commentedOnForge": "commented on {{forge}}"},"created": "utworzył(a) to zadanie","githubUser": "Użytkownik GitHub",@@@ -1828,83 -1952,118 +1955,197 @@@"text": "Text"}},+ "administration": "Administration",+ "adminUsers": {+ "actions": {+ "deactivate": "Deactivate account",+ "edit": "Edit account",+ "open": "Actions for {{name}}",+ "reactivate": "Reactivate account"+ },+ "clearSearch": "Clear search",+ "columns": {+ "actions": "Actions",+ "joined": "Joined",+ "role": "Global role",+ "status": "Status",+ "user": "User"+ },+ "confirm": {+ "deactivate": {+ "action": "Deactivate account",+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",+ "title": "Deactivate this account?"+ },+ "delete": {+ "action": "Delete permanently",+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",+ "title": "Permanently delete this account?"+ },+ "reactivate": {+ "action": "Reactivate account",+ "description": "{{name}} will be able to sign in and access their workspaces again.",+ "title": "Reactivate this account?"+ },+ "working": "Working…"+ },+ "directoryTitle": "User directory",+ "edit": {+ "description": "Update this account's identity and instance-wide access.",+ "email": "Email address",+ "name": "Full name",+ "role": "Global role",+ "save": "Save changes",+ "saving": "Saving…",+ "selfRoleHint": "You cannot change your own global role.",+ "title": "Edit user"+ },+ "emptyDescription": "Try another name or email address.",+ "emptyTitle": "No users found",+ "instanceBadge": "Instance",+ "loadError": "Users could not be loaded.",+ "next": "Next",+ "pagination": "Page {{current}} of {{total}}",+ "previous": "Previous",+ "refreshing": "Refreshing users",+ "retry": "Retry",+ "roles": {+ "admin": "Instance admin",+ "user": "User"+ },+ "searchCount_few": "{{count}} matching users",+ "searchCount_many": "{{count}} matching users",+ "searchCount_one": "{{count}} matching user",+ "searchCount_other": "{{count}} matching users",+ "searchLabel": "Search users",+ "searchPlaceholder": "Search name or email…",+ "status": {+ "active": "Active",+ "deactivated": "Deactivated"+ },+ "subtitle": "Manage every account registered on this Kaneo instance.",+ "title": "User management",+ "toast": {+ "actionError": "Failed to update user status",+ "deactivated": "User deactivated",+ "deleted": "User deleted",+ "reactivated": "User reactivated",+ "updated": "User updated",+ "updateError": "Failed to update user"+ },+ "userCount_few": "{{count}} registered users",+ "userCount_many": "{{count}} registered users",+ "userCount_one": "{{count}} registered user",+ "userCount_other": "{{count}} registered users",+ "you": "(you)"+ },+ "security": "Security",+ "securityPage": {+ "confirmPassword": "Confirm new password",+ "confirmPasswordPlaceholder": "Re-enter your new password",+ "currentPassword": "Current password",+ "currentPasswordPlaceholder": "Enter your current password",+ "newPassword": "New password",+ "newPasswordPlaceholder": "Enter a new password",+ "noPassword": {+ "description": "Your account signs in with a different method, so there is no password to change.",+ "title": "Password change isn't available"+ },+ "pageTitle": "Security",+ "sectionSubtitle": "Change the password you use to sign in.",+ "sectionTitle": "Password",+ "submit": "Update password",+ "submitting": "Updating...",+ "subtitle": "Manage your password and account security.",+ "title": "Security",+ "updateError": "Failed to update password.",+ "updateSuccess": "Password updated.",+ "validation": {+ "confirmRequired": "Confirm your new password.",+ "currentRequired": "Enter your current password.",+ "mismatch": "Passwords do not match.",+ "tooShort": "New password must be at least 8 characters.",+ "sameAsCurrent": "New password must be different from your current password."+ }++ },+ "gitlabIntegration": {+ "actionsHint": "Verify access and connect",+ "actionsTitle": "Actions",+ "badgeConnected": "Connected",+ "badgeNotConnected": "Not connected",+ "baseUrlHint": "https://gitlab.com, or the root URL of your instance",+ "baseUrlLabel": "GitLab URL",+ "browse": "Browse",+ "browseModalHint": "Projects your token is a member of",+ "browseModalTitle": "Your projects",+ "browseNeedsCredentials": "Enter GitLab URL and token to browse",+ "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",+ "commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",+ "connect": "Connect",+ "connectedActive": "Project connected and active",+ "connectionStatus": "Connection status",+ "currentToken": "stored",+ "disconnect": "Disconnect",+ "importDisabledHint": "Verify the project above to enable importing",+ "importing": "Importing…",+ "importIssues": "Import issues",+ "importSectionHint": "Import open issues and merge requests from the project",+ "importSectionTitle": "Import GitLab issues",+ "loadingProjects": "Loading projects…",+ "notConnectedHint": "No GitLab project connected",+ "openInGitlab": "Open {{project}} in GitLab",+ "project": "Project",+ "projectHint": "Linked GitLab project",+ "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",+ "projectPathLabel": "Project path",+ "retry": "Retry",+ "searchProjects": "Search…",+ "toast": {+ "commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",+ "commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",+ "importError": "Failed to import issues",+ "issuesImported": "Issues imported successfully",+ "notGitlabInstance": "The URL does not point to a GitLab instance",+ "projectNotFound": "Project not found or not accessible",+ "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",+ "removed": "GitLab integration removed",+ "removeError": "Failed to remove GitLab integration",+ "secretCopied": "Copied",+ "settingsUpdateError": "Failed to update GitLab integration",+ "tokenRequired": "Access token is required",+ "tokenRequiredVerify": "Enter a token to verify",+ "unableToCopySecret": "Unable to copy secret",+ "updated": "GitLab integration saved",+ "updateError": "Failed to save GitLab integration",+ "verifyError": "Failed to verify GitLab access",+ "verifyFirst": "Verify access failed. Check URL, token, and project path",+ "verifyOk": "GitLab token can access this project",+ "verifyWarning": "Check token permissions or project access"+ },+ "tokenHint": "Token with api scope and at least Developer on the project",+ "tokenLabel": "Access token",+ "tokenPlaceholder": "Paste token",+ "tokenPlaceholderUpdate": "Paste new token to rotate",+ "tokenTypeBearer": "OAuth2 token",+ "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",+ "tokenTypeLabel": "Token type",+ "tokenTypePrivate": "Personal, project or group access token",+ "update": "Update",+ "validation": {+ "baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",+ "baseUrlRequired": "GitLab base URL is required",+ "pathInvalid": "Enter the full path, e.g. group/project",+ "pathRequired": "Project path is required"+ },+ "verify": "Verify",+ "webhookCopy": "Copy",+ "webhookHide": "Hide",+ "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",+ "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",+ "webhookShow": "Show",+ "webhookTitle": "Webhook",- "loadProjectsError": "Failed to load projects"++ "loadProjectsError": "Failed to load projects",++ "importPermissionHint": "Importing requires permission to create and update tasks."}},"tasks": {diff --cc i18n/pt-BR.jsonindex 85c73d2f2,e155315d5..d768b1edc--- a/i18n/pt-BR.json+++ b/i18n/pt-BR.json@@@ -1352,83 -1473,116 +1477,195 @@@"text": "Text"}},+ "administration": "Administration",+ "adminUsers": {+ "actions": {+ "deactivate": "Deactivate account",+ "edit": "Edit account",+ "open": "Actions for {{name}}",+ "reactivate": "Reactivate account"+ },+ "clearSearch": "Clear search",+ "columns": {+ "actions": "Actions",+ "joined": "Joined",+ "role": "Global role",+ "status": "Status",+ "user": "User"+ },+ "confirm": {+ "deactivate": {+ "action": "Deactivate account",+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",+ "title": "Deactivate this account?"+ },+ "delete": {+ "action": "Delete permanently",+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",+ "title": "Permanently delete this account?"+ },+ "reactivate": {+ "action": "Reactivate account",+ "description": "{{name}} will be able to sign in and access their workspaces again.",+ "title": "Reactivate this account?"+ },+ "working": "Working…"+ },+ "directoryTitle": "User directory",+ "edit": {+ "description": "Update this account's identity and instance-wide access.",+ "email": "Email address",+ "name": "Full name",+ "role": "Global role",+ "save": "Save changes",+ "saving": "Saving…",+ "selfRoleHint": "You cannot change your own global role.",+ "title": "Edit user"+ },+ "emptyDescription": "Try another name or email address.",+ "emptyTitle": "No users found",+ "instanceBadge": "Instance",+ "loadError": "Users could not be loaded.",+ "next": "Next",+ "pagination": "Page {{current}} of {{total}}",+ "previous": "Previous",+ "refreshing": "Refreshing users",+ "retry": "Retry",+ "roles": {+ "admin": "Instance admin",+ "user": "User"+ },+ "searchCount_many": "{{count}} matching users",+ "searchCount_one": "{{count}} matching user",+ "searchCount_other": "{{count}} matching users",+ "searchLabel": "Search users",+ "searchPlaceholder": "Search name or email…",+ "status": {+ "active": "Active",+ "deactivated": "Deactivated"+ },+ "subtitle": "Manage every account registered on this Kaneo instance.",+ "title": "User management",+ "toast": {+ "actionError": "Failed to update user status",+ "deactivated": "User deactivated",+ "deleted": "User deleted",+ "reactivated": "User reactivated",+ "updated": "User updated",+ "updateError": "Failed to update user"+ },+ "userCount_many": "{{count}} registered users",+ "userCount_one": "{{count}} registered user",+ "userCount_other": "{{count}} registered users",+ "you": "(you)"+ },+ "security": "Security",+ "securityPage": {+ "confirmPassword": "Confirm new password",+ "confirmPasswordPlaceholder": "Re-enter your new password",+ "currentPassword": "Current password",+ "currentPasswordPlaceholder": "Enter your current password",+ "newPassword": "New password",+ "newPasswordPlaceholder": "Enter a new password",+ "noPassword": {+ "description": "Your account signs in with a different method, so there is no password to change.",+ "title": "Password change isn't available"+ },+ "pageTitle": "Security",+ "sectionSubtitle": "Change the password you use to sign in.",+ "sectionTitle": "Password",+ "submit": "Update password",+ "submitting": "Updating...",+ "subtitle": "Manage your password and account security.",+ "title": "Security",+ "updateError": "Failed to update password.",+ "updateSuccess": "Password updated.",+ "validation": {+ "confirmRequired": "Confirm your new password.",+ "currentRequired": "Enter your current password.",+ "mismatch": "Passwords do not match.",+ "tooShort": "New password must be at least 8 characters.",+ "sameAsCurrent": "New password must be different from your current password."+ }++ },+ "gitlabIntegration": {+ "actionsHint": "Verify access and connect",+ "actionsTitle": "Actions",+ "badgeConnected": "Connected",+ "badgeNotConnected": "Not connected",+ "baseUrlHint": "https://gitlab.com, or the root URL of your instance",+ "baseUrlLabel": "GitLab URL",+ "browse": "Browse",+ "browseModalHint": "Projects your token is a member of",+ "browseModalTitle": "Your projects",+ "browseNeedsCredentials": "Enter GitLab URL and token to browse",+ "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",+ "commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",+ "connect": "Connect",+ "connectedActive": "Project connected and active",+ "connectionStatus": "Connection status",+ "currentToken": "stored",+ "disconnect": "Disconnect",+ "importDisabledHint": "Verify the project above to enable importing",+ "importing": "Importing…",+ "importIssues": "Import issues",+ "importSectionHint": "Import open issues and merge requests from the project",+ "importSectionTitle": "Import GitLab issues",+ "loadingProjects": "Loading projects…",+ "notConnectedHint": "No GitLab project connected",+ "openInGitlab": "Open {{project}} in GitLab",+ "project": "Project",+ "projectHint": "Linked GitLab project",+ "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",+ "projectPathLabel": "Project path",+ "retry": "Retry",+ "searchProjects": "Search…",+ "toast": {+ "commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",+ "commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",+ "importError": "Failed to import issues",+ "issuesImported": "Issues imported successfully",+ "notGitlabInstance": "The URL does not point to a GitLab instance",+ "projectNotFound": "Project not found or not accessible",+ "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",+ "removed": "GitLab integration removed",+ "removeError": "Failed to remove GitLab integration",+ "secretCopied": "Copied",+ "settingsUpdateError": "Failed to update GitLab integration",+ "tokenRequired": "Access token is required",+ "tokenRequiredVerify": "Enter a token to verify",+ "unableToCopySecret": "Unable to copy secret",+ "updated": "GitLab integration saved",+ "updateError": "Failed to save GitLab integration",+ "verifyError": "Failed to verify GitLab access",+ "verifyFirst": "Verify access failed. Check URL, token, and project path",+ "verifyOk": "GitLab token can access this project",+ "verifyWarning": "Check token permissions or project access"+ },+ "tokenHint": "Token with api scope and at least Developer on the project",+ "tokenLabel": "Access token",+ "tokenPlaceholder": "Paste token",+ "tokenPlaceholderUpdate": "Paste new token to rotate",+ "tokenTypeBearer": "OAuth2 token",+ "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",+ "tokenTypeLabel": "Token type",+ "tokenTypePrivate": "Personal, project or group access token",+ "update": "Update",+ "validation": {+ "baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",+ "baseUrlRequired": "GitLab base URL is required",+ "pathInvalid": "Enter the full path, e.g. group/project",+ "pathRequired": "Project path is required"+ },+ "verify": "Verify",+ "webhookCopy": "Copy",+ "webhookHide": "Hide",+ "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",+ "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",+ "webhookShow": "Show",+ "webhookTitle": "Webhook",- "loadProjectsError": "Failed to load projects"++ "loadProjectsError": "Failed to load projects",++ "importPermissionHint": "Importing requires permission to create and update tasks."}},"navigation": {@@@ -1717,7 -1873,8 +1954,9 @@@"renderFailed": "Mermaid diagram couldn't be rendered"}},+ "importedFrom": "Imported from {{source}}",- "importedBy": "Imported by {{name}}"++ "importedBy": "Imported by {{name}}",+ "commentedOnForge": "comentou no {{forge}}"}},"tasks": {diff --cc i18n/ru-RU.jsonindex 6d0ab21c5,ddbf8353b..c1e9f9446--- a/i18n/ru-RU.json+++ b/i18n/ru-RU.json@@@ -1361,83 -1482,118 +1486,197 @@@"text": "Text"}},+ "administration": "Administration",+ "adminUsers": {+ "actions": {+ "deactivate": "Deactivate account",+ "edit": "Edit account",+ "open": "Actions for {{name}}",+ "reactivate": "Reactivate account"+ },+ "clearSearch": "Clear search",+ "columns": {+ "actions": "Actions",+ "joined": "Joined",+ "role": "Global role",+ "status": "Status",+ "user": "User"+ },+ "confirm": {+ "deactivate": {+ "action": "Deactivate account",+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",+ "title": "Deactivate this account?"+ },+ "delete": {+ "action": "Delete permanently",+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",+ "title": "Permanently delete this account?"+ },+ "reactivate": {+ "action": "Reactivate account",+ "description": "{{name}} will be able to sign in and access their workspaces again.",+ "title": "Reactivate this account?"+ },+ "working": "Working…"+ },+ "directoryTitle": "User directory",+ "edit": {+ "description": "Update this account's identity and instance-wide access.",+ "email": "Email address",+ "name": "Full name",+ "role": "Global role",+ "save": "Save changes",+ "saving": "Saving…",+ "selfRoleHint": "You cannot change your own global role.",+ "title": "Edit user"+ },+ "emptyDescription": "Try another name or email address.",+ "emptyTitle": "No users found",+ "instanceBadge": "Instance",+ "loadError": "Users could not be loaded.",+ "next": "Next",+ "pagination": "Page {{current}} of {{total}}",+ "previous": "Previous",+ "refreshing": "Refreshing users",+ "retry": "Retry",+ "roles": {+ "admin": "Instance admin",+ "user": "User"+ },+ "searchCount_few": "{{count}} matching users",+ "searchCount_many": "{{count}} matching users",+ "searchCount_one": "{{count}} matching user",+ "searchCount_other": "{{count}} matching users",+ "searchLabel": "Search users",+ "searchPlaceholder": "Search name or email…",+ "status": {+ "active": "Active",+ "deactivated": "Deactivated"+ },+ "subtitle": "Manage every account registered on this Kaneo instance.",+ "title": "User management",+ "toast": {+ "actionError": "Failed to update user status",+ "deactivated": "User deactivated",+ "deleted": "User deleted",+ "reactivated": "User reactivated",+ "updated": "User updated",+ "updateError": "Failed to update user"+ },+ "userCount_few": "{{count}} registered users",+ "userCount_many": "{{count}} registered users",+ "userCount_one": "{{count}} registered user",+ "userCount_other": "{{count}} registered users",+ "you": "(you)"+ },+ "security": "Security",+ "securityPage": {+ "confirmPassword": "Confirm new password",+ "confirmPasswordPlaceholder": "Re-enter your new password",+ "currentPassword": "Current password",+ "currentPasswordPlaceholder": "Enter your current password",+ "newPassword": "New password",+ "newPasswordPlaceholder": "Enter a new password",+ "noPassword": {+ "description": "Your account signs in with a different method, so there is no password to change.",+ "title": "Password change isn't available"+ },+ "pageTitle": "Security",+ "sectionSubtitle": "Change the password you use to sign in.",+ "sectionTitle": "Password",+ "submit": "Update password",+ "submitting": "Updating...",+ "subtitle": "Manage your password and account security.",+ "title": "Security",+ "updateError": "Failed to update password.",+ "updateSuccess": "Password updated.",+ "validation": {+ "confirmRequired": "Confirm your new password.",+ "currentRequired": "Enter your current password.",+ "mismatch": "Passwords do not match.",+ "tooShort": "New password must be at least 8 characters.",+ "sameAsCurrent": "New password must be different from your current password."+ }++ },+ "gitlabIntegration": {+ "actionsHint": "Проверьте доступ и подключите",+ "actionsTitle": "Действия",+ "badgeConnected": "Подключено",+ "badgeNotConnected": "Не подключено",+ "baseUrlHint": "https://gitlab.com или корневой URL вашего экземпляра",+ "baseUrlLabel": "URL GitLab",+ "browse": "Обзор",+ "browseModalHint": "Проекты, участником которых является владелец токена",+ "browseModalTitle": "Ваши проекты",+ "browseNeedsCredentials": "Введите URL GitLab и токен для просмотра",+ "commentTaskLinkHint": "Когда включено, Kaneo оставляет ссылку на задачу в каждом issue, созданном в GitLab.",+ "commentTaskLinkTitle": "Комментировать ссылкой Kaneo issues, созданные в GitLab",+ "connect": "Подключить",+ "connectedActive": "Проект подключён и активен",+ "connectionStatus": "Статус подключения",+ "currentToken": "сохранён",+ "disconnect": "Отключить",+ "importDisabledHint": "Проверьте проект выше, чтобы включить импорт",+ "importing": "Импорт…",+ "importIssues": "Импортировать issues",+ "importSectionHint": "Импортировать открытые issues и merge requests из проекта",+ "importSectionTitle": "Импорт issues из GitLab",+ "loadingProjects": "Загрузка проектов…",+ "loadProjectsError": "Не удалось загрузить проекты",+ "notConnectedHint": "Проект GitLab не подключён",+ "openInGitlab": "Открыть {{project}} в GitLab",+ "project": "Проект",+ "projectHint": "Подключённый проект GitLab",+ "projectPathHint": "Полный путь со всеми группами, например group/subgroup/project",+ "projectPathLabel": "Путь проекта",+ "retry": "Повторить",+ "searchProjects": "Поиск…",+ "toast": {+ "commentOnDisabled": "Комментарии со ссылкой на задачу в issues из GitLab отключены",+ "commentOnEnabled": "Kaneo будет оставлять ссылку на задачу в issues, созданных в GitLab",+ "importError": "Не удалось импортировать issues",+ "issuesImported": "Issues успешно импортированы",+ "notGitlabInstance": "URL не указывает на экземпляр GitLab",+ "projectNotFound": "Проект не найден или недоступен",+ "redirected": "URL GitLab перенаправлен (обычно на HTTPS). Укажите конечный URL напрямую.",+ "removed": "Интеграция с GitLab удалена",+ "removeError": "Не удалось удалить интеграцию с GitLab",+ "secretCopied": "Скопировано",+ "settingsUpdateError": "Не удалось обновить интеграцию с GitLab",+ "tokenRequired": "Требуется токен доступа",+ "tokenRequiredVerify": "Введите токен для проверки",+ "unableToCopySecret": "Не удалось скопировать секрет",+ "updated": "Интеграция с GitLab сохранена",+ "updateError": "Не удалось сохранить интеграцию с GitLab",+ "verifyError": "Не удалось проверить доступ к GitLab",+ "verifyFirst": "Проверка доступа не удалась. Проверьте URL, токен и путь проекта",+ "verifyOk": "Токен GitLab имеет доступ к этому проекту",+ "verifyWarning": "Проверьте права токена или доступ к проекту"+ },+ "tokenHint": "Токен со скоупом api и правами не ниже Developer в проекте",+ "tokenLabel": "Токен доступа",+ "tokenPlaceholder": "Вставьте токен",+ "tokenPlaceholderUpdate": "Вставьте новый токен для замены",+ "tokenTypeBearer": "Токен OAuth2",+ "tokenTypeHint": "Как передаётся токен. Токены доступа идут в PRIVATE-TOKEN, токен OAuth2 — в Authorization.",+ "tokenTypeLabel": "Тип токена",+ "tokenTypePrivate": "Персональный, проектный или групповой токен доступа",+ "update": "Обновить",+ "validation": {+ "baseUrlInvalid": "Введите корректный URL (например, https://gitlab.com)",+ "baseUrlRequired": "URL GitLab обязателен",+ "pathInvalid": "Введите полный путь, например group/project",+ "pathRequired": "Путь проекта обязателен"+ },+ "verify": "Проверить",+ "webhookCopy": "Копировать",+ "webhookHide": "Скрыть",+ "webhookHint": "В своём проекте GitLab добавьте вебхук с этим URL и секретным токеном. Включите события push, issues, комментарии и merge request.",+ "webhookSecretLabel": "Секретный токен (должен совпадать с указанным в вебхуке GitLab)",+ "webhookShow": "Показать",- "webhookTitle": "Вебхук"++ "webhookTitle": "Вебхук",++ "importPermissionHint": "Importing requires permission to create and update tasks."}},"navigation": {@@@ -1728,7 -1886,8 +1967,9 @@@"renderFailed": "Не удалось отобразить диаграмму Mermaid"}},+ "importedFrom": "Imported from {{source}}",- "importedBy": "Imported by {{name}}"++ "importedBy": "Imported by {{name}}",+ "commentedOnForge": "прокомментировал на {{forge}}"},"moved": "переместил задачу из «{{from}}» в «{{to}}»","created": "создал эту задачу"diff --cc i18n/tr-TR.jsonindex 7b692ed28,c8461e639..b7a91886a--- a/i18n/tr-TR.json+++ b/i18n/tr-TR.json@@@ -1351,83 -1472,114 +1476,193 @@@"text": "Text"}},+ "administration": "Administration",+ "adminUsers": {+ "actions": {+ "deactivate": "Deactivate account",+ "edit": "Edit account",+ "open": "Actions for {{name}}",+ "reactivate": "Reactivate account"+ },+ "clearSearch": "Clear search",+ "columns": {+ "actions": "Actions",+ "joined": "Joined",+ "role": "Global role",+ "status": "Status",+ "user": "User"+ },+ "confirm": {+ "deactivate": {+ "action": "Deactivate account",+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",+ "title": "Deactivate this account?"+ },+ "delete": {+ "action": "Delete permanently",+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",+ "title": "Permanently delete this account?"+ },+ "reactivate": {+ "action": "Reactivate account",+ "description": "{{name}} will be able to sign in and access their workspaces again.",+ "title": "Reactivate this account?"+ },+ "working": "Working…"+ },+ "directoryTitle": "User directory",+ "edit": {+ "description": "Update this account's identity and instance-wide access.",+ "email": "Email address",+ "name": "Full name",+ "role": "Global role",+ "save": "Save changes",+ "saving": "Saving…",+ "selfRoleHint": "You cannot change your own global role.",+ "title": "Edit user"+ },+ "emptyDescription": "Try another name or email address.",+ "emptyTitle": "No users found",+ "instanceBadge": "Instance",+ "loadError": "Users could not be loaded.",+ "next": "Next",+ "pagination": "Page {{current}} of {{total}}",+ "previous": "Previous",+ "refreshing": "Refreshing users",+ "retry": "Retry",+ "roles": {+ "admin": "Instance admin",+ "user": "User"+ },+ "searchCount_one": "{{count}} matching user",+ "searchCount_other": "{{count}} matching users",+ "searchLabel": "Search users",+ "searchPlaceholder": "Search name or email…",+ "status": {+ "active": "Active",+ "deactivated": "Deactivated"+ },+ "subtitle": "Manage every account registered on this Kaneo instance.",+ "title": "User management",+ "toast": {+ "actionError": "Failed to update user status",+ "deactivated": "User deactivated",+ "deleted": "User deleted",+ "reactivated": "User reactivated",+ "updated": "User updated",+ "updateError": "Failed to update user"+ },+ "userCount_one": "{{count}} registered user",+ "userCount_other": "{{count}} registered users",+ "you": "(you)"+ },+ "security": "Security",+ "securityPage": {+ "confirmPassword": "Confirm new password",+ "confirmPasswordPlaceholder": "Re-enter your new password",+ "currentPassword": "Current password",+ "currentPasswordPlaceholder": "Enter your current password",+ "newPassword": "New password",+ "newPasswordPlaceholder": "Enter a new password",+ "noPassword": {+ "description": "Your account signs in with a different method, so there is no password to change.",+ "title": "Password change isn't available"+ },+ "pageTitle": "Security",+ "sectionSubtitle": "Change the password you use to sign in.",+ "sectionTitle": "Password",+ "submit": "Update password",+ "submitting": "Updating...",+ "subtitle": "Manage your password and account security.",+ "title": "Security",+ "updateError": "Failed to update password.",+ "updateSuccess": "Password updated.",+ "validation": {+ "confirmRequired": "Confirm your new password.",+ "currentRequired": "Enter your current password.",+ "mismatch": "Passwords do not match.",+ "tooShort": "New password must be at least 8 characters.",+ "sameAsCurrent": "New password must be different from your current password."+ }++ },+ "gitlabIntegration": {+ "actionsHint": "Verify access and connect",+ "actionsTitle": "Actions",+ "badgeConnected": "Connected",+ "badgeNotConnected": "Not connected",+ "baseUrlHint": "https://gitlab.com, or the root URL of your instance",+ "baseUrlLabel": "GitLab URL",+ "browse": "Browse",+ "browseModalHint": "Projects your token is a member of",+ "browseModalTitle": "Your projects",+ "browseNeedsCredentials": "Enter GitLab URL and token to browse",+ "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",+ "commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",+ "connect": "Connect",+ "connectedActive": "Project connected and active",+ "connectionStatus": "Connection status",+ "currentToken": "stored",+ "disconnect": "Disconnect",+ "importDisabledHint": "Verify the project above to enable importing",+ "importing": "Importing…",+ "importIssues": "Import issues",+ "importSectionHint": "Import open issues and merge requests from the project",+ "importSectionTitle": "Import GitLab issues",+ "loadingProjects": "Loading projects…",+ "notConnectedHint": "No GitLab project connected",+ "openInGitlab": "Open {{project}} in GitLab",+ "project": "Project",+ "projectHint": "Linked GitLab project",+ "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",+ "projectPathLabel": "Project path",+ "retry": "Retry",+ "searchProjects": "Search…",+ "toast": {+ "commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",+ "commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",+ "importError": "Failed to import issues",+ "issuesImported": "Issues imported successfully",+ "notGitlabInstance": "The URL does not point to a GitLab instance",+ "projectNotFound": "Project not found or not accessible",+ "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",+ "removed": "GitLab integration removed",+ "removeError": "Failed to remove GitLab integration",+ "secretCopied": "Copied",+ "settingsUpdateError": "Failed to update GitLab integration",+ "tokenRequired": "Access token is required",+ "tokenRequiredVerify": "Enter a token to verify",+ "unableToCopySecret": "Unable to copy secret",+ "updated": "GitLab integration saved",+ "updateError": "Failed to save GitLab integration",+ "verifyError": "Failed to verify GitLab access",+ "verifyFirst": "Verify access failed. Check URL, token, and project path",+ "verifyOk": "GitLab token can access this project",+ "verifyWarning": "Check token permissions or project access"+ },+ "tokenHint": "Token with api scope and at least Developer on the project",+ "tokenLabel": "Access token",+ "tokenPlaceholder": "Paste token",+ "tokenPlaceholderUpdate": "Paste new token to rotate",+ "tokenTypeBearer": "OAuth2 token",+ "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",+ "tokenTypeLabel": "Token type",+ "tokenTypePrivate": "Personal, project or group access token",+ "update": "Update",+ "validation": {+ "baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",+ "baseUrlRequired": "GitLab base URL is required",+ "pathInvalid": "Enter the full path, e.g. group/project",+ "pathRequired": "Project path is required"+ },+ "verify": "Verify",+ "webhookCopy": "Copy",+ "webhookHide": "Hide",+ "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",+ "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",+ "webhookShow": "Show",+ "webhookTitle": "Webhook",- "loadProjectsError": "Failed to load projects"++ "loadProjectsError": "Failed to load projects",++ "importPermissionHint": "Importing requires permission to create and update tasks."}},"navigation": {@@@ -1712,7 -1866,8 +1947,9 @@@"renderFailed": "Mermaid diyagramı oluşturulamadı"}},+ "importedFrom": "Imported from {{source}}",- "importedBy": "Imported by {{name}}"++ "importedBy": "Imported by {{name}}",+ "commentedOnForge": "{{forge}}'da yorum yaptı"}},"tasks": {diff --cc i18n/uk-UA.jsonindex f84321eab,4ee7b6639..57618592b--- a/i18n/uk-UA.json+++ b/i18n/uk-UA.json@@@ -1353,83 -1474,118 +1478,197 @@@"text": "Text"}},+ "administration": "Administration",+ "adminUsers": {+ "actions": {+ "deactivate": "Deactivate account",+ "edit": "Edit account",+ "open": "Actions for {{name}}",+ "reactivate": "Reactivate account"+ },+ "clearSearch": "Clear search",+ "columns": {+ "actions": "Actions",+ "joined": "Joined",+ "role": "Global role",+ "status": "Status",+ "user": "User"+ },+ "confirm": {+ "deactivate": {+ "action": "Deactivate account",+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",+ "title": "Deactivate this account?"+ },+ "delete": {+ "action": "Delete permanently",+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",+ "title": "Permanently delete this account?"+ },+ "reactivate": {+ "action": "Reactivate account",+ "description": "{{name}} will be able to sign in and access their workspaces again.",+ "title": "Reactivate this account?"+ },+ "working": "Working…"+ },+ "directoryTitle": "User directory",+ "edit": {+ "description": "Update this account's identity and instance-wide access.",+ "email": "Email address",+ "name": "Full name",+ "role": "Global role",+ "save": "Save changes",+ "saving": "Saving…",+ "selfRoleHint": "You cannot change your own global role.",+ "title": "Edit user"+ },+ "emptyDescription": "Try another name or email address.",+ "emptyTitle": "No users found",+ "instanceBadge": "Instance",+ "loadError": "Users could not be loaded.",+ "next": "Next",+ "pagination": "Page {{current}} of {{total}}",+ "previous": "Previous",+ "refreshing": "Refreshing users",+ "retry": "Retry",+ "roles": {+ "admin": "Instance admin",+ "user": "User"+ },+ "searchCount_few": "{{count}} matching users",+ "searchCount_many": "{{count}} matching users",+ "searchCount_one": "{{count}} matching user",+ "searchCount_other": "{{count}} matching users",+ "searchLabel": "Search users",+ "searchPlaceholder": "Search name or email…",+ "status": {+ "active": "Active",+ "deactivated": "Deactivated"+ },+ "subtitle": "Manage every account registered on this Kaneo instance.",+ "title": "User management",+ "toast": {+ "actionError": "Failed to update user status",+ "deactivated": "User deactivated",+ "deleted": "User deleted",+ "reactivated": "User reactivated",+ "updated": "User updated",+ "updateError": "Failed to update user"+ },+ "userCount_few": "{{count}} registered users",+ "userCount_many": "{{count}} registered users",+ "userCount_one": "{{count}} registered user",+ "userCount_other": "{{count}} registered users",+ "you": "(you)"+ },+ "security": "Security",+ "securityPage": {+ "confirmPassword": "Confirm new password",+ "confirmPasswordPlaceholder": "Re-enter your new password",+ "currentPassword": "Current password",+ "currentPasswordPlaceholder": "Enter your current password",+ "newPassword": "New password",+ "newPasswordPlaceholder": "Enter a new password",+ "noPassword": {+ "description": "Your account signs in with a different method, so there is no password to change.",+ "title": "Password change isn't available"+ },+ "pageTitle": "Security",+ "sectionSubtitle": "Change the password you use to sign in.",+ "sectionTitle": "Password",+ "submit": "Update password",+ "submitting": "Updating...",+ "subtitle": "Manage your password and account security.",+ "title": "Security",+ "updateError": "Failed to update password.",+ "updateSuccess": "Password updated.",+ "validation": {+ "confirmRequired": "Confirm your new password.",+ "currentRequired": "Enter your current password.",+ "mismatch": "Passwords do not match.",+ "tooShort": "New password must be at least 8 characters.",+ "sameAsCurrent": "New password must be different from your current password."+ }++ },+ "gitlabIntegration": {+ "actionsHint": "Verify access and connect",+ "actionsTitle": "Actions",+ "badgeConnected": "Connected",+ "badgeNotConnected": "Not connected",+ "baseUrlHint": "https://gitlab.com, or the root URL of your instance",+ "baseUrlLabel": "GitLab URL",+ "browse": "Browse",+ "browseModalHint": "Projects your token is a member of",+ "browseModalTitle": "Your projects",+ "browseNeedsCredentials": "Enter GitLab URL and token to browse",+ "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",+ "commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",+ "connect": "Connect",+ "connectedActive": "Project connected and active",+ "connectionStatus": "Connection status",+ "currentToken": "stored",+ "disconnect": "Disconnect",+ "importDisabledHint": "Verify the project above to enable importing",+ "importing": "Importing…",+ "importIssues": "Import issues",+ "importSectionHint": "Import open issues and merge requests from the project",+ "importSectionTitle": "Import GitLab issues",+ "loadingProjects": "Loading projects…",+ "notConnectedHint": "No GitLab project connected",+ "openInGitlab": "Open {{project}} in GitLab",+ "project": "Project",+ "projectHint": "Linked GitLab project",+ "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",+ "projectPathLabel": "Project path",+ "retry": "Retry",+ "searchProjects": "Search…",+ "toast": {+ "commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",+ "commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",+ "importError": "Failed to import issues",+ "issuesImported": "Issues imported successfully",+ "notGitlabInstance": "The URL does not point to a GitLab instance",+ "projectNotFound": "Project not found or not accessible",+ "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",+ "removed": "GitLab integration removed",+ "removeError": "Failed to remove GitLab integration",+ "secretCopied": "Copied",+ "settingsUpdateError": "Failed to update GitLab integration",+ "tokenRequired": "Access token is required",+ "tokenRequiredVerify": "Enter a token to verify",+ "unableToCopySecret": "Unable to copy secret",+ "updated": "GitLab integration saved",+ "updateError": "Failed to save GitLab integration",+ "verifyError": "Failed to verify GitLab access",+ "verifyFirst": "Verify access failed. Check URL, token, and project path",+ "verifyOk": "GitLab token can access this project",+ "verifyWarning": "Check token permissions or project access"+ },+ "tokenHint": "Token with api scope and at least Developer on the project",+ "tokenLabel": "Access token",+ "tokenPlaceholder": "Paste token",+ "tokenPlaceholderUpdate": "Paste new token to rotate",+ "tokenTypeBearer": "OAuth2 token",+ "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",+ "tokenTypeLabel": "Token type",+ "tokenTypePrivate": "Personal, project or group access token",+ "update": "Update",+ "validation": {+ "baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",+ "baseUrlRequired": "GitLab base URL is required",+ "pathInvalid": "Enter the full path, e.g. group/project",+ "pathRequired": "Project path is required"+ },+ "verify": "Verify",+ "webhookCopy": "Copy",+ "webhookHide": "Hide",+ "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",+ "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",+ "webhookShow": "Show",+ "webhookTitle": "Webhook",- "loadProjectsError": "Failed to load projects"++ "loadProjectsError": "Failed to load projects",++ "importPermissionHint": "Importing requires permission to create and update tasks."}},"navigation": {@@@ -1720,7 -1878,8 +1959,9 @@@"renderFailed": "Не вдалося відобразити діаграму Mermaid"}},+ "importedFrom": "Imported from {{source}}",- "importedBy": "Imported by {{name}}"++ "importedBy": "Imported by {{name}}",+ "commentedOnForge": "прокоментував на {{forge}}"},"moved": "перемістив завдання з «{{from}}» до «{{to}}»","created": "створив це завдання"diff --cc i18n/vi-VN.jsonindex 88a038d18,73562f867..04cfd48ad--- a/i18n/vi-VN.json+++ b/i18n/vi-VN.json@@@ -1350,83 -1471,112 +1475,191 @@@"text": "Text"}},+ "administration": "Administration",+ "adminUsers": {+ "actions": {+ "deactivate": "Deactivate account",+ "edit": "Edit account",+ "open": "Actions for {{name}}",+ "reactivate": "Reactivate account"+ },+ "clearSearch": "Clear search",+ "columns": {+ "actions": "Actions",+ "joined": "Joined",+ "role": "Global role",+ "status": "Status",+ "user": "User"+ },+ "confirm": {+ "deactivate": {+ "action": "Deactivate account",+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",+ "title": "Deactivate this account?"+ },+ "delete": {+ "action": "Delete permanently",+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",+ "title": "Permanently delete this account?"+ },+ "reactivate": {+ "action": "Reactivate account",+ "description": "{{name}} will be able to sign in and access their workspaces again.",+ "title": "Reactivate this account?"+ },+ "working": "Working…"+ },+ "directoryTitle": "User directory",+ "edit": {+ "description": "Update this account's identity and instance-wide access.",+ "email": "Email address",+ "name": "Full name",+ "role": "Global role",+ "save": "Save changes",+ "saving": "Saving…",+ "selfRoleHint": "You cannot change your own global role.",+ "title": "Edit user"+ },+ "emptyDescription": "Try another name or email address.",+ "emptyTitle": "No users found",+ "instanceBadge": "Instance",+ "loadError": "Users could not be loaded.",+ "next": "Next",+ "pagination": "Page {{current}} of {{total}}",+ "previous": "Previous",+ "refreshing": "Refreshing users",+ "retry": "Retry",+ "roles": {+ "admin": "Instance admin",+ "user": "User"+ },+ "searchCount_other": "{{count}} matching users",+ "searchLabel": "Search users",+ "searchPlaceholder": "Search name or email…",+ "status": {+ "active": "Active",+ "deactivated": "Deactivated"+ },+ "subtitle": "Manage every account registered on this Kaneo instance.",+ "title": "User management",+ "toast": {+ "actionError": "Failed to update user status",+ "deactivated": "User deactivated",+ "deleted": "User deleted",+ "reactivated": "User reactivated",+ "updated": "User updated",+ "updateError": "Failed to update user"+ },+ "userCount_other": "{{count}} registered users",+ "you": "(you)"+ },+ "security": "Security",+ "securityPage": {+ "confirmPassword": "Confirm new password",+ "confirmPasswordPlaceholder": "Re-enter your new password",+ "currentPassword": "Current password",+ "currentPasswordPlaceholder": "Enter your current password",+ "newPassword": "New password",+ "newPasswordPlaceholder": "Enter a new password",+ "noPassword": {+ "description": "Your account signs in with a different method, so there is no password to change.",+ "title": "Password change isn't available"+ },+ "pageTitle": "Security",+ "sectionSubtitle": "Change the password you use to sign in.",+ "sectionTitle": "Password",+ "submit": "Update password",+ "submitting": "Updating...",+ "subtitle": "Manage your password and account security.",+ "title": "Security",+ "updateError": "Failed to update password.",+ "updateSuccess": "Password updated.",+ "validation": {+ "confirmRequired": "Confirm your new password.",+ "currentRequired": "Enter your current password.",+ "mismatch": "Passwords do not match.",+ "tooShort": "New password must be at least 8 characters.",+ "sameAsCurrent": "New password must be different from your current password."+ }++ },+ "gitlabIntegration": {+ "actionsHint": "Verify access and connect",+ "actionsTitle": "Actions",+ "badgeConnected": "Connected",+ "badgeNotConnected": "Not connected",+ "baseUrlHint": "https://gitlab.com, or the root URL of your instance",+ "baseUrlLabel": "GitLab URL",+ "browse": "Browse",+ "browseModalHint": "Projects your token is a member of",+ "browseModalTitle": "Your projects",+ "browseNeedsCredentials": "Enter GitLab URL and token to browse",+ "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",+ "commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",+ "connect": "Connect",+ "connectedActive": "Project connected and active",+ "connectionStatus": "Connection status",+ "currentToken": "stored",+ "disconnect": "Disconnect",+ "importDisabledHint": "Verify the project above to enable importing",+ "importing": "Importing…",+ "importIssues": "Import issues",+ "importSectionHint": "Import open issues and merge requests from the project",+ "importSectionTitle": "Import GitLab issues",+ "loadingProjects": "Loading projects…",+ "notConnectedHint": "No GitLab project connected",+ "openInGitlab": "Open {{project}} in GitLab",+ "project": "Project",+ "projectHint": "Linked GitLab project",+ "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",+ "projectPathLabel": "Project path",+ "retry": "Retry",+ "searchProjects": "Search…",+ "toast": {+ "commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",+ "commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",+ "importError": "Failed to import issues",+ "issuesImported": "Issues imported successfully",+ "notGitlabInstance": "The URL does not point to a GitLab instance",+ "projectNotFound": "Project not found or not accessible",+ "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",+ "removed": "GitLab integration removed",+ "removeError": "Failed to remove GitLab integration",+ "secretCopied": "Copied",+ "settingsUpdateError": "Failed to update GitLab integration",+ "tokenRequired": "Access token is required",+ "tokenRequiredVerify": "Enter a token to verify",+ "unableToCopySecret": "Unable to copy secret",+ "updated": "GitLab integration saved",+ "updateError": "Failed to save GitLab integration",+ "verifyError": "Failed to verify GitLab access",+ "verifyFirst": "Verify access failed. Check URL, token, and project path",+ "verifyOk": "GitLab token can access this project",+ "verifyWarning": "Check token permissions or project access"+ },+ "tokenHint": "Token with api scope and at least Developer on the project",+ "tokenLabel": "Access token",+ "tokenPlaceholder": "Paste token",+ "tokenPlaceholderUpdate": "Paste new token to rotate",+ "tokenTypeBearer": "OAuth2 token",+ "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",+ "tokenTypeLabel": "Token type",+ "tokenTypePrivate": "Personal, project or group access token",+ "update": "Update",+ "validation": {+ "baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",+ "baseUrlRequired": "GitLab base URL is required",+ "pathInvalid": "Enter the full path, e.g. group/project",+ "pathRequired": "Project path is required"+ },+ "verify": "Verify",+ "webhookCopy": "Copy",+ "webhookHide": "Hide",+ "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",+ "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",+ "webhookShow": "Show",+ "webhookTitle": "Webhook",- "loadProjectsError": "Failed to load projects"++ "loadProjectsError": "Failed to load projects",++ "importPermissionHint": "Importing requires permission to create and update tasks."}},"navigation": {@@@ -1707,7 -1859,8 +1940,9 @@@"renderFailed": "Mermaid diagram couldn't be rendered"}},+ "importedFrom": "Imported from {{source}}",- "importedBy": "Imported by {{name}}"++ "importedBy": "Imported by {{name}}",+ "commentedOnForge": "đã bình luận trên {{forge}}"}},"tasks": {diff --cc i18n/zh-CN.jsonindex 2d97b3a9e,d4416d550..019d0e511--- a/i18n/zh-CN.json+++ b/i18n/zh-CN.json@@@ -1350,83 -1471,112 +1475,191 @@@"text": "Text"}},+ "administration": "Administration",+ "adminUsers": {+ "actions": {+ "deactivate": "Deactivate account",+ "edit": "Edit account",+ "open": "Actions for {{name}}",+ "reactivate": "Reactivate account"+ },+ "clearSearch": "Clear search",+ "columns": {+ "actions": "Actions",+ "joined": "Joined",+ "role": "Global role",+ "status": "Status",+ "user": "User"+ },+ "confirm": {+ "deactivate": {+ "action": "Deactivate account",+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",+ "title": "Deactivate this account?"+ },+ "delete": {+ "action": "Delete permanently",+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",+ "title": "Permanently delete this account?"+ },+ "reactivate": {+ "action": "Reactivate account",+ "description": "{{name}} will be able to sign in and access their workspaces again.",+ "title": "Reactivate this account?"+ },+ "working": "Working…"+ },+ "directoryTitle": "User directory",+ "edit": {+ "description": "Update this account's identity and instance-wide access.",+ "email": "Email address",+ "name": "Full name",+ "role": "Global role",+ "save": "Save changes",+ "saving": "Saving…",+ "selfRoleHint": "You cannot change your own global role.",+ "title": "Edit user"+ },+ "emptyDescription": "Try another name or email address.",+ "emptyTitle": "No users found",+ "instanceBadge": "Instance",+ "loadError": "Users could not be loaded.",+ "next": "Next",+ "pagination": "Page {{current}} of {{total}}",+ "previous": "Previous",+ "refreshing": "Refreshing users",+ "retry": "Retry",+ "roles": {+ "admin": "Instance admin",+ "user": "User"+ },+ "searchCount_other": "{{count}} matching users",+ "searchLabel": "Search users",+ "searchPlaceholder": "Search name or email…",+ "status": {+ "active": "Active",+ "deactivated": "Deactivated"+ },+ "subtitle": "Manage every account registered on this Kaneo instance.",+ "title": "User management",+ "toast": {+ "actionError": "Failed to update user status",+ "deactivated": "User deactivated",+ "deleted": "User deleted",+ "reactivated": "User reactivated",+ "updated": "User updated",+ "updateError": "Failed to update user"+ },+ "userCount_other": "{{count}} registered users",+ "you": "(you)"+ },+ "security": "Security",+ "securityPage": {+ "confirmPassword": "Confirm new password",+ "confirmPasswordPlaceholder": "Re-enter your new password",+ "currentPassword": "Current password",+ "currentPasswordPlaceholder": "Enter your current password",+ "newPassword": "New password",+ "newPasswordPlaceholder": "Enter a new password",+ "noPassword": {+ "description": "Your account signs in with a different method, so there is no password to change.",+ "title": "Password change isn't available"+ },+ "pageTitle": "Security",+ "sectionSubtitle": "Change the password you use to sign in.",+ "sectionTitle": "Password",+ "submit": "Update password",+ "submitting": "Updating...",+ "subtitle": "Manage your password and account security.",+ "title": "Security",+ "updateError": "Failed to update password.",+ "updateSuccess": "Password updated.",+ "validation": {+ "confirmRequired": "Confirm your new password.",+ "currentRequired": "Enter your current password.",+ "mismatch": "Passwords do not match.",+ "tooShort": "New password must be at least 8 characters.",+ "sameAsCurrent": "New password must be different from your current password."+ }++ },+ "gitlabIntegration": {+ "actionsHint": "Verify access and connect",+ "actionsTitle": "Actions",+ "badgeConnected": "Connected",+ "badgeNotConnected": "Not connected",+ "baseUrlHint": "https://gitlab.com, or the root URL of your instance",+ "baseUrlLabel": "GitLab URL",+ "browse": "Browse",+ "browseModalHint": "Projects your token is a member of",+ "browseModalTitle": "Your projects",+ "browseNeedsCredentials": "Enter GitLab URL and token to browse",+ "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",+ "commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",+ "connect": "Connect",+ "connectedActive": "Project connected and active",+ "connectionStatus": "Connection status",+ "currentToken": "stored",+ "disconnect": "Disconnect",+ "importDisabledHint": "Verify the project above to enable importing",+ "importing": "Importing…",+ "importIssues": "Import issues",+ "importSectionHint": "Import open issues and merge requests from the project",+ "importSectionTitle": "Import GitLab issues",+ "loadingProjects": "Loading projects…",+ "notConnectedHint": "No GitLab project connected",+ "openInGitlab": "Open {{project}} in GitLab",+ "project": "Project",+ "projectHint": "Linked GitLab project",+ "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",+ "projectPathLabel": "Project path",+ "retry": "Retry",+ "searchProjects": "Search…",+ "toast": {+ "commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",+ "commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",+ "importError": "Failed to import issues",+ "issuesImported": "Issues imported successfully",+ "notGitlabInstance": "The URL does not point to a GitLab instance",+ "projectNotFound": "Project not found or not accessible",+ "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",+ "removed": "GitLab integration removed",+ "removeError": "Failed to remove GitLab integration",+ "secretCopied": "Copied",+ "settingsUpdateError": "Failed to update GitLab integration",+ "tokenRequired": "Access token is required",+ "tokenRequiredVerify": "Enter a token to verify",+ "unableToCopySecret": "Unable to copy secret",+ "updated": "GitLab integration saved",+ "updateError": "Failed to save GitLab integration",+ "verifyError": "Failed to verify GitLab access",+ "verifyFirst": "Verify access failed. Check URL, token, and project path",+ "verifyOk": "GitLab token can access this project",+ "verifyWarning": "Check token permissions or project access"+ },+ "tokenHint": "Token with api scope and at least Developer on the project",+ "tokenLabel": "Access token",+ "tokenPlaceholder": "Paste token",+ "tokenPlaceholderUpdate": "Paste new token to rotate",+ "tokenTypeBearer": "OAuth2 token",+ "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",+ "tokenTypeLabel": "Token type",+ "tokenTypePrivate": "Personal, project or group access token",+ "update": "Update",+ "validation": {+ "baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",+ "baseUrlRequired": "GitLab base URL is required",+ "pathInvalid": "Enter the full path, e.g. group/project",+ "pathRequired": "Project path is required"+ },+ "verify": "Verify",+ "webhookCopy": "Copy",+ "webhookHide": "Hide",+ "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",+ "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",+ "webhookShow": "Show",+ "webhookTitle": "Webhook",- "loadProjectsError": "Failed to load projects"++ "loadProjectsError": "Failed to load projects",++ "importPermissionHint": "Importing requires permission to create and update tasks."}},"navigation": {@@@ -1707,7 -1859,8 +1940,9 @@@"renderFailed": "Mermaid 图渲染失败"}},+ "importedFrom": "Imported from {{source}}",- "importedBy": "Imported by {{name}}"++ "importedBy": "Imported by {{name}}",+ "commentedOnForge": "在 {{forge}} 上评论"}},"tasks": {diff --cc tests/api-integration/gitlab-sync-boundaries.test.tsindex 000000000,000000000..7ef153965new file mode 100644--- /dev/null+++ b/tests/api-integration/gitlab-sync-boundaries.test.ts@@@ -1,0 -1,0 +1,184 @@@++import { eq } from "drizzle-orm";++import { beforeEach, describe, expect, it, vi } from "vitest";++import db, { schema } from "../../apps/api/src/database";++import { createApp } from "../../apps/api/src/index";++import { handleGitlabIssueUpdated } from "../../apps/api/src/plugins/gitlab/webhooks/issue-updated";++import { mockAuthenticatedSession } from "./helpers/auth";++import { resetTestDatabase } from "./helpers/database";++import {++ createProjectFixture,++ createWorkspaceMember,++} from "./helpers/fixtures";++++const mocks = vi.hoisted(() => ({++ listIssues: vi.fn(),++ listIssueNotes: vi.fn(async () => []),++ listMergeRequests: vi.fn(async () => []),++}));++vi.mock(++ "../../apps/api/src/plugins/gitlab/utils/gitlab-api",++ async (importOriginal) => ({++ ...(await importOriginal<++ typeof import("../../apps/api/src/plugins/gitlab/utils/gitlab-api")++ >()),++ createGitlabClient: () => mocks,++ }),++);++const remoteIssue = {++ id: 10,++ iid: 1,++ title: "Remote title",++ description: "Remote description",++ web_url: "https://gitlab.example/group/project/-/issues/1",++ state: "opened",++ labels: [],++};++beforeEach(async () => {++ await resetTestDatabase();++ vi.clearAllMocks();++ mocks.listIssues.mockResolvedValue([remoteIssue]);++});++async function setup(actions: string[] = ["create", "update"]) {++ const member = await createWorkspaceMember({ role: "gitlab-importer" });++ await db.insert(schema.workspaceRoleTable).values({++ workspaceId: member.workspace.id,++ role: "gitlab-importer",++ permission: JSON.stringify({ task: actions }),++ });++ const { project } = await createProjectFixture({++ workspaceId: member.workspace.id,++ });++ const [integration] = await db++ .insert(schema.integrationTable)++ .values({++ projectId: project.id,++ type: "gitlab",++ isActive: true,++ config: JSON.stringify({++ baseUrl: "https://gitlab.example",++ projectPath: "group/project",++ accessToken: "fake-test-token",++ }),++ })++ .returning();++ const [task] = await db++ .insert(schema.taskTable)++ .values({++ projectId: project.id,++ title: "Local title",++ description: "Local description",++ number: 1,++ })++ .returning();++ await db.insert(schema.externalLinkTable).values({++ taskId: task.id,++ integrationId: integration.id,++ resourceType: "issue",++ externalId: "1",++ url: remoteIssue.web_url,++ });++ mockAuthenticatedSession(member.user);++ const { app } = createApp();++ const request = () =>++ app.request("/api/gitlab-integration/import-issues", {++ method: "POST",++ headers: { "Content-Type": "application/json" },++ body: JSON.stringify({ projectId: project.id }),++ });++ return { ...member, project, task, integration, request };++}++describe("GitLab import authorization", () => {++ it.each([{ actions: ["create"] }, { actions: ["update"] }, { actions: [] }])(++ "rejects incomplete task permissions $actions before calling GitLab",++ async ({ actions }) => {++ const { task, request } = await setup(actions);++ const response = await request();++ expect(response.status).toBe(403);++ expect(mocks.listIssues).not.toHaveBeenCalled();++ expect(++ await db.query.taskTable.findFirst({++ where: eq(schema.taskTable.id, task.id),++ }),++ ).toMatchObject({++ title: "Local title",++ description: "Local description",++ });++ },++ );++ it("allows a custom role with both permissions to refresh an existing task", async () => {++ const { task, request } = await setup();++ const response = await request();++ expect(response.status).toBe(200);++ expect(await response.json()).toMatchObject({ updated: 1, imported: 0 });++ expect(++ await db.query.taskTable.findFirst({++ where: eq(schema.taskTable.id, task.id),++ }),++ ).toMatchObject({++ title: remoteIssue.title,++ description: remoteIssue.description,++ });++ });++});++const label = (title: string) => ({ title, color: "#123456" });++describe("GitLab label reconciliation", () => {++ it.each([++ {++ name: "remote removal and addition",++ previous: [label("removed")],++ current: [label("added")],++ expected: ["added", "local"],++ },++ {++ name: "removing the last remote label",++ previous: [label("removed")],++ current: [],++ expected: ["local"],++ },++ {++ name: "missing previous labels",++ previous: undefined,++ current: [label("added")],++ expected: ["added", "local", "removed"],++ },++ {++ name: "missing current labels",++ previous: [label("removed")],++ current: undefined,++ expected: ["local", "removed"],++ },++ ])(++ "preserves local labels when $name",++ async ({ previous, current, expected }) => {++ const { task, workspace, integration } = await setup();++ await db.insert(schema.labelTable).values(++ ["local", "removed"].map((name) => ({++ name,++ taskId: task.id,++ workspaceId: workspace.id,++ color: "#123456",++ })),++ );++ const payload = {++ object_attributes: {++ ...remoteIssue,++ url: remoteIssue.web_url,++ action: "update",++ },++ project: {++ name: "project",++ path_with_namespace: "group/project",++ web_url: "https://gitlab.example/group/project",++ },++ changes: { labels: { previous, current } },++ };++ await handleGitlabIssueUpdated(payload, integration.id);++ // Redelivery must preserve the same result.++ await handleGitlabIssueUpdated(payload, integration.id);++ const saved = await db.query.labelTable.findMany({++ where: eq(schema.labelTable.taskId, task.id),++ });++ expect(saved.map((row) => row.name).sort()).toEqual(expected);++ },++ );++});diff --cc tests/api-integration/label-deletion-bounds.test.tsindex 000000000,0eb75b309..ec3feea63mode 000000,100644..100644--- a/tests/api-integration/label-deletion-bounds.test.ts+++ b/tests/api-integration/label-deletion-bounds.test.ts@@@ -1,0 -1,325 +1,338 @@@+ import { and, eq } from "drizzle-orm";+ import { beforeEach, describe, expect, it, vi } from "vitest";+ import db, { getDatabasePool, schema } from "../../apps/api/src/database";+ import { subscribeToEvent } from "../../apps/api/src/events";+ import { createApp } from "../../apps/api/src/index";+ import deleteLabel, {+ LABEL_DELETE_BATCH_SIZE,+ } from "../../apps/api/src/label/controllers/delete-label";+ import {+ MAX_LABEL_DELETIONS_IN_FLIGHT,+ withLabelDeletionLock,+ } from "../../apps/api/src/label/deletion-lock";+ import { mockAuthenticatedSession } from "./helpers/auth";+ import { resetTestDatabase } from "./helpers/database";+ import {+ createProjectFixture,+ createWorkspaceMember,+ } from "./helpers/fixtures";+-const { github, gitea } = vi.hoisted(() => ({++const { github, gitea, gitlab } = vi.hoisted(() => ({+ github: vi.fn(async (_id: string, _name: string) => {}),+ gitea: vi.fn(async (_id: string, _name: string) => {}),++ gitlab: vi.fn(async (_id: string, _name: string) => {}),+ }));+ vi.mock("../../apps/api/src/plugins/github/utils/sync-label-to-github", () => ({+ removeLabelFromGitHub: github,+ syncLabelToGitHub: vi.fn(),+ }));+ vi.mock("../../apps/api/src/plugins/gitea/utils/sync-label-to-gitea", () => ({+ removeLabelFromGitea: gitea,+ syncLabelToGitea: vi.fn(),+ }));+++vi.mock("../../apps/api/src/plugins/gitlab/utils/sync-label-to-gitlab", () => ({++ removeLabelFromGitlab: gitlab,++ syncLabelToGitlab: vi.fn(),++}));+++ let eventGate: Promise<void> | undefined;+ let eventCalls: string[] = [];+ await subscribeToEvent<{ taskId: string }>(+ "task.label_deleted",+ async (data) => {+ eventCalls.push(data.taskId);+ await eventGate;+ },+ );+ function deferred() {+ let resolve!: () => void;+ const promise = new Promise<void>((r) => {+ resolve = r;+ });+ return { promise, resolve };+ }+ beforeEach(async () => {+ await resetTestDatabase();+ github.mockReset().mockResolvedValue();+ gitea.mockReset().mockResolvedValue();++ gitlab.mockReset().mockResolvedValue();+ eventGate = undefined;+ eventCalls = [];+ });+ async function fixture(count: number) {+ const member = await createWorkspaceMember({ role: "admin" });+ const { project } = await createProjectFixture({+ workspaceId: member.workspace.id,+ });+ const [root] = await db+ .insert(schema.labelTable)+ .values({ workspaceId: member.workspace.id, name: "bug", color: "red" })+ .returning();+ const tasks = count+ ? await db+ .insert(schema.taskTable)+ .values(+ Array.from({ length: count }, (_, i) => ({+ projectId: project.id,+ title: `Task ${i}`,+ status: "to-do",+ number: i + 1,+ })),+ )+ .returning()+ : [];+ if (tasks.length)+ await db.insert(schema.labelTable).values(+ tasks.map((task) => ({+ workspaceId: member.workspace.id,+ taskId: task.id,+ name: "bug",+ color: "red",+ })),+ );+ mockAuthenticatedSession(member.user);+ const { app } = createApp();+ return { member, project, root, tasks, app };+ }+ async function labelsFor(workspaceId: string) {+ return db+ .select()+ .from(schema.labelTable)+ .where(eq(schema.labelTable.workspaceId, workspaceId));+ }++ describe("bounded, resumable label deletion", () => {+ it("finishes all copies through bounded HTTP steps and keeps the root until completion", async () => {+ const { app, member, root } = await fixture(+ LABEL_DELETE_BATCH_SIZE * 2 + 3,+ );+ const first = await app.request(`/api/label/${root.id}`, {+ method: "DELETE",+ });+ expect(first.status).toBe(202);+ expect(await first.json()).toMatchObject({+ id: root.id,+ pendingDeletion: true,+ });+ expect(github).toHaveBeenCalledTimes(LABEL_DELETE_BATCH_SIZE);+ expect(gitea).toHaveBeenCalledTimes(LABEL_DELETE_BATCH_SIZE);++ expect(gitlab).toHaveBeenCalledTimes(LABEL_DELETE_BATCH_SIZE);+ expect(eventCalls).toHaveLength(LABEL_DELETE_BATCH_SIZE);+ const remaining = await labelsFor(member.workspace.id);+ expect(remaining).toHaveLength(LABEL_DELETE_BATCH_SIZE + 4);+ const marker = remaining.find(+ (label) => label.id === root.id,+ )?.deletionStartedAt;+ expect(marker).toBeInstanceOf(Date);+ // A fresh app/request resumes persisted state, without an in-memory cursor.+ const second = await createApp().app.request(`/api/label/${root.id}`, {+ method: "DELETE",+ });+ expect(second.status).toBe(202);+ expect(+ (await labelsFor(member.workspace.id)).find(+ (label) => label.id === root.id,+ )?.deletionStartedAt,+ ).toEqual(marker);+ expect(+ (await app.request(`/api/label/${root.id}`, { method: "DELETE" })).status,+ ).toBe(200);+ expect(await labelsFor(member.workspace.id)).toEqual([]);+ expect(github).toHaveBeenCalledTimes(LABEL_DELETE_BATCH_SIZE * 2 + 3);+ expect(new Set(eventCalls).size).toBe(eventCalls.length);+ });+ it("does not start the next provider operation until the current one resolves", async () => {+ const { member, root } = await fixture(3);+ const gate = deferred();+ github.mockImplementationOnce(async () => gate.promise);+ const pending = deleteLabel(root.id, member.user.id);+ try {+ await vi.waitFor(() => expect(github).toHaveBeenCalledTimes(1));+ expect(gitea).not.toHaveBeenCalled();++ expect(gitlab).not.toHaveBeenCalled();+ expect(eventCalls).toHaveLength(0);+ await expect(deleteLabel(root.id, member.user.id)).rejects.toMatchObject({+ status: 429,+ });+ } finally {+ gate.resolve();+ }+ await pending;+ expect(github).toHaveBeenCalledTimes(3);+ expect(gitea).toHaveBeenCalledTimes(3);++ expect(gitlab).toHaveBeenCalledTimes(3);+ });+ it("awaits real asynchronous event subscribers before deleting another copy", async () => {+ const { member, root } = await fixture(3);+ const gate = deferred();+ eventGate = gate.promise;+ const pending = deleteLabel(root.id, member.user.id);+ try {+ await vi.waitFor(() => expect(eventCalls).toHaveLength(1));+ expect(github).toHaveBeenCalledTimes(1);+ expect(await labelsFor(member.workspace.id)).toHaveLength(3); // root plus two copies+ } finally {+ gate.resolve();+ }+ await pending;+ expect(eventCalls).toHaveLength(3);+ });+ it("preserves task labels created after the persisted deletion boundary", async () => {+ const { member, root, tasks } = await fixture(LABEL_DELETE_BATCH_SIZE + 1);+ expect((await deleteLabel(root.id, member.user.id)).pendingDeletion).toBe(+ true,+ );+ const deletedTask = github.mock.calls[0][0];+ const [newLabel] = await db+ .insert(schema.labelTable)+ .values({+ workspaceId: member.workspace.id,+ taskId: deletedTask,+ name: "bug",+ color: "blue",+ createdAt: new Date(Date.now() + 1000),+ })+ .returning();+ await deleteLabel(root.id, member.user.id);+ expect(await labelsFor(member.workspace.id)).toEqual([newLabel]);+ expect(github).toHaveBeenCalledTimes(tasks.length);+ });+ it("prevents root renaming and reassignment while a deletion is pending", async () => {+ const { app, member, root, tasks } = await fixture(+ LABEL_DELETE_BATCH_SIZE + 1,+ );+ await deleteLabel(root.id, member.user.id);+ for (const [path, method, body] of [+ [`/api/label/${root.id}`, "PUT", { name: "renamed", color: "blue" }],+ [`/api/label/${root.id}/task`, "PUT", { taskId: tasks[0].id }],+ [+ "/api/label",+ "POST",+ {+ workspaceId: member.workspace.id,+ name: "bug",+ color: "red",+ taskId: tasks[0].id,+ },+ ],+ ] as const)+ expect(+ (+ await app.request(path, {+ method,+ headers: { "content-type": "application/json" },+ body: JSON.stringify(body),+ })+ ).status,+ ).toBe(409);+ expect(+ (await labelsFor(member.workspace.id)).find(+ (label) => label.id === root.id,+ )?.name,+ ).toBe("bug");+ });+ it("completes an empty cascade without provider calls or events", async () => {+ const { member, root } = await fixture(0);+ expect(+ (await deleteLabel(root.id, member.user.id)).pendingDeletion,+ ).toBeUndefined();+ expect(await labelsFor(member.workspace.id)).toHaveLength(0);+ expect(github).not.toHaveBeenCalled();+ expect(gitea).not.toHaveBeenCalled();++ expect(gitlab).not.toHaveBeenCalled();+ expect(eventCalls).toHaveLength(0);+ });- it("removes individual task labels with both providers and an awaited event", async () => {++ it("removes individual task labels with all providers and an awaited event", async () => {+ const { member, root, tasks } = await fixture(1);+ const [copy] = await db+ .select()+ .from(schema.labelTable)+ .where(+ and(+ eq(schema.labelTable.taskId, tasks[0].id),+ eq(schema.labelTable.workspaceId, member.workspace.id),+ ),+ );+ await deleteLabel(copy.id, member.user.id);+ expect((await labelsFor(member.workspace.id)).map((row) => row.id)).toEqual(+ [root.id],+ );+ expect(github).toHaveBeenCalledWith(tasks[0].id, "bug");+ expect(gitea).toHaveBeenCalledWith(tasks[0].id, "bug");++ expect(gitlab).toHaveBeenCalledWith(tasks[0].id, "bug");+ expect(eventCalls).toEqual([tasks[0].id]);+ });+ it("releases process and database capacity after an operation fails", async () => {+ await expect(+ withLabelDeletionLock("failure", async () => {+ throw new Error("test failure");+ }),+ ).rejects.toThrow("test failure");+ await expect(+ withLabelDeletionLock("failure", async () => "ok"),+ ).resolves.toBe("ok");+ });+ it("honors the four-slot cap held by a separate database session", async () => {+ const { app, member, root } = await fixture(0);+ const other = await getDatabasePool().connect();+ try {+ for (let i = 0; i < MAX_LABEL_DELETIONS_IN_FLIGHT; i++)+ await other.query("SELECT pg_advisory_lock(773622, $1::int)", [i]);+ await expect(+ withLabelDeletionLock("blocked", async () => "must not run"),+ ).rejects.toMatchObject({ status: 429 });+ const response = await app.request(`/api/label/${root.id}`, {+ method: "DELETE",+ });+ expect(response.status).toBe(429);+ expect(response.headers.get("Retry-After")).toBe("1");+ expect(+ (await labelsFor(member.workspace.id))[0].deletionStartedAt,+ ).toBeNull();+ } finally {+ await other.query("SELECT pg_advisory_unlock_all()");+ other.release();+ }+ await expect(+ withLabelDeletionLock("available", async () => "ok"),+ ).resolves.toBe("ok");+ });++ it("checks workspace access again when another client tries to resume", async () => {+ const { app, member, root } = await fixture(LABEL_DELETE_BATCH_SIZE + 1);+ expect(+ (await app.request(`/api/label/${root.id}`, { method: "DELETE" })).status,+ ).toBe(202);+ const other = await createWorkspaceMember({ role: "admin" });+ mockAuthenticatedSession(other.user);+ expect(+ (await app.request(`/api/label/${root.id}`, { method: "DELETE" })).status,+ ).toBe(403);+ expect(await labelsFor(member.workspace.id)).toHaveLength(2);+ expect(github).toHaveBeenCalledTimes(LABEL_DELETE_BATCH_SIZE);+ mockAuthenticatedSession(member.user);+ expect(+ (await app.request(`/api/label/${root.id}`, { method: "DELETE" })).status,+ ).toBe(200);+ });++ it("does not lose local progress or the next event when a provider fails", async () => {+ const { member, root } = await fixture(3);+ const log = vi.spyOn(console, "error").mockImplementation(() => {});+ github.mockRejectedValueOnce(new Error("provider unavailable"));+ try {+ await deleteLabel(root.id, member.user.id);+ expect(await labelsFor(member.workspace.id)).toHaveLength(0);+ expect(github).toHaveBeenCalledTimes(3);+ expect(gitea).toHaveBeenCalledTimes(3);++ expect(gitlab).toHaveBeenCalledTimes(3);+ expect(eventCalls).toHaveLength(3);+ expect(log).toHaveBeenCalledWith(+ "Failed to synchronize a label removal with an external provider",+ );+ } finally {+ log.mockRestore();+ }+ });+ });