From e8a8b3f664de5d19d98ba7096dc10e0cd3c9632f Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Mon, 19 Jan 2026 20:10:30 -0800 Subject: [PATCH 01/42] remove beta tag for clients --- src/app/navigation.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/app/navigation.tsx b/src/app/navigation.tsx index 4fb5430c..5d1285da 100644 --- a/src/app/navigation.tsx +++ b/src/app/navigation.tsx @@ -61,15 +61,13 @@ export const orgNavSections = (env?: Env): SidebarNavSection[] => [ { title: "sidebarClientResources", href: "/{orgId}/settings/resources/client", - icon: , - isBeta: true + icon: } ] }, { title: "sidebarClients", icon: , - isBeta: true, items: [ { href: "/{orgId}/settings/clients/user", From 9527fe4f268c001c0651a0ba32d5aeb859ed8c55 Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Mon, 19 Jan 2026 20:12:35 -0800 Subject: [PATCH 02/42] add update role openapi registry --- server/routers/role/updateRole.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/server/routers/role/updateRole.ts b/server/routers/role/updateRole.ts index 0eeef100..537af9d2 100644 --- a/server/routers/role/updateRole.ts +++ b/server/routers/role/updateRole.ts @@ -10,6 +10,7 @@ import logger from "@server/logger"; import { fromError } from "zod-validation-error"; import { build } from "@server/build"; import { isLicensedOrSubscribed } from "@server/lib/isLicencedOrSubscribed"; +import { OpenAPITags, registry } from "@server/openApi"; const updateRoleParamsSchema = z.strictObject({ orgId: z.string(), @@ -30,6 +31,24 @@ export type UpdateRoleBody = z.infer; export type UpdateRoleResponse = Role; +registry.registerPath({ + method: "post", + path: "/org/{orgId}/role/{roleId}", + description: "Update a role.", + tags: [OpenAPITags.Role], + request: { + params: updateRoleParamsSchema, + body: { + content: { + "application/json": { + schema: updateRoleBodySchema + } + } + } + }, + responses: {} +}); + export async function updateRole( req: Request, res: Response, From 915673798e6665b148b9ff8d89b333a59100f377 Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Mon, 19 Jan 2026 20:20:31 -0800 Subject: [PATCH 03/42] update updateRole endpoint --- server/routers/external.ts | 4 ++-- server/routers/integration.ts | 4 ++-- server/routers/role/updateRole.ts | 20 ++++++++++++++------ src/components/EditRoleForm.tsx | 2 +- 4 files changed, 19 insertions(+), 11 deletions(-) diff --git a/server/routers/external.ts b/server/routers/external.ts index 2287ee26..aff01bfa 100644 --- a/server/routers/external.ts +++ b/server/routers/external.ts @@ -589,8 +589,8 @@ authenticated.get( ); authenticated.post( - "/org/:orgId/role/:roleId", - verifyOrgAccess, + "/role/:roleId", + verifyRoleAccess, verifyUserHasAction(ActionsEnum.updateRole), logActionAudit(ActionsEnum.updateRole), role.updateRole diff --git a/server/routers/integration.ts b/server/routers/integration.ts index 7a5a3efe..9bb26398 100644 --- a/server/routers/integration.ts +++ b/server/routers/integration.ts @@ -468,8 +468,8 @@ authenticated.put( ); authenticated.post( - "/org/:orgId/role/:roleId", - verifyApiKeyOrgAccess, + "/role/:roleId", + verifyApiKeyRoleAccess, verifyApiKeyHasAction(ActionsEnum.updateRole), logActionAudit(ActionsEnum.updateRole), role.updateRole diff --git a/server/routers/role/updateRole.ts b/server/routers/role/updateRole.ts index 537af9d2..03034ea1 100644 --- a/server/routers/role/updateRole.ts +++ b/server/routers/role/updateRole.ts @@ -1,6 +1,6 @@ import { Request, Response, NextFunction } from "express"; import { z } from "zod"; -import { db, orgs, type Role } from "@server/db"; +import { db, type Role } from "@server/db"; import { roles } from "@server/db"; import { eq } from "drizzle-orm"; import response from "@server/lib/response"; @@ -13,7 +13,6 @@ import { isLicensedOrSubscribed } from "@server/lib/isLicencedOrSubscribed"; import { OpenAPITags, registry } from "@server/openApi"; const updateRoleParamsSchema = z.strictObject({ - orgId: z.string(), roleId: z.string().transform(Number).pipe(z.int().positive()) }); @@ -33,7 +32,7 @@ export type UpdateRoleResponse = Role; registry.registerPath({ method: "post", - path: "/org/{orgId}/role/{roleId}", + path: "/role/{roleId}", description: "Update a role.", tags: [OpenAPITags.Role], request: { @@ -75,14 +74,13 @@ export async function updateRole( ); } - const { roleId, orgId } = parsedParams.data; + const { roleId } = parsedParams.data; const updateData = parsedBody.data; const role = await db .select() .from(roles) .where(eq(roles.roleId, roleId)) - .innerJoin(orgs, eq(roles.orgId, orgs.orgId)) .limit(1); if (role.length === 0) { @@ -94,7 +92,7 @@ export async function updateRole( ); } - if (role[0].roles.isAdmin) { + if (role[0].isAdmin) { return next( createHttpError( HttpCode.FORBIDDEN, @@ -103,6 +101,16 @@ export async function updateRole( ); } + const orgId = role[0].orgId; + if (!orgId) { + return next( + createHttpError( + HttpCode.BAD_REQUEST, + "Role does not have an organization ID" + ) + ); + } + const isLicensed = await isLicensedOrSubscribed(orgId); if (build === "oss" || !isLicensed) { updateData.requireDeviceApproval = undefined; diff --git a/src/components/EditRoleForm.tsx b/src/components/EditRoleForm.tsx index 46db3967..4e36fb27 100644 --- a/src/components/EditRoleForm.tsx +++ b/src/components/EditRoleForm.tsx @@ -86,7 +86,7 @@ export default function EditRoleForm({ const res = await api .post< AxiosResponse - >(`/org/${org?.org.orgId}/role/${role.roleId}`, values satisfies UpdateRoleBody) + >(`/role/${role.roleId}`, values satisfies UpdateRoleBody) .catch((e) => { toast({ variant: "destructive", From c92b5942fccd7d233cc893b92bf79401f21b1a41 Mon Sep 17 00:00:00 2001 From: Fred KISSIE Date: Tue, 20 Jan 2026 01:40:30 +0100 Subject: [PATCH 04/42] =?UTF-8?q?=F0=9F=92=84=20fix=20analytics=20refresh?= =?UTF-8?q?=20button=20align?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/LogAnalyticsData.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/LogAnalyticsData.tsx b/src/components/LogAnalyticsData.tsx index 2c541239..bdf984d7 100644 --- a/src/components/LogAnalyticsData.tsx +++ b/src/components/LogAnalyticsData.tsx @@ -236,7 +236,7 @@ export function LogAnalyticsData(props: AnalyticsContentProps) { variant="outline" onClick={() => refreshAnalytics()} disabled={isFetchingAnalytics} - className=" relative top-6 lg:static gap-2" + className="relative sm:top-6 lg:static gap-2" > Date: Tue, 20 Jan 2026 02:45:39 +0100 Subject: [PATCH 05/42] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20make=20logo=20URL=20?= =?UTF-8?q?optional?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/db/pg/schema/privateSchema.ts | 2 +- server/db/sqlite/schema/privateSchema.ts | 2 +- .../loginPage/upsertLoginPageBranding.ts | 28 +++++++++++++- .../settings/general/auth-page/page.tsx | 7 ++++ src/components/AuthPageBrandingForm.tsx | 38 ++++++++++--------- src/components/BrandingLogo.tsx | 2 +- src/components/ResourceAuthPortal.tsx | 2 +- 7 files changed, 58 insertions(+), 23 deletions(-) diff --git a/server/db/pg/schema/privateSchema.ts b/server/db/pg/schema/privateSchema.ts index 3900f46a..0512af22 100644 --- a/server/db/pg/schema/privateSchema.ts +++ b/server/db/pg/schema/privateSchema.ts @@ -214,7 +214,7 @@ export const loginPageOrg = pgTable("loginPageOrg", { export const loginPageBranding = pgTable("loginPageBranding", { loginPageBrandingId: serial("loginPageBrandingId").primaryKey(), - logoUrl: text("logoUrl").notNull(), + logoUrl: text("logoUrl"), logoWidth: integer("logoWidth").notNull(), logoHeight: integer("logoHeight").notNull(), primaryColor: text("primaryColor"), diff --git a/server/db/sqlite/schema/privateSchema.ts b/server/db/sqlite/schema/privateSchema.ts index 32aa543e..2661ccdd 100644 --- a/server/db/sqlite/schema/privateSchema.ts +++ b/server/db/sqlite/schema/privateSchema.ts @@ -206,7 +206,7 @@ export const loginPageBranding = sqliteTable("loginPageBranding", { loginPageBrandingId: integer("loginPageBrandingId").primaryKey({ autoIncrement: true }), - logoUrl: text("logoUrl").notNull(), + logoUrl: text("logoUrl"), logoWidth: integer("logoWidth").notNull(), logoHeight: integer("logoHeight").notNull(), primaryColor: text("primaryColor"), diff --git a/server/private/routers/loginPage/upsertLoginPageBranding.ts b/server/private/routers/loginPage/upsertLoginPageBranding.ts index 4e2b666b..146f0721 100644 --- a/server/private/routers/loginPage/upsertLoginPageBranding.ts +++ b/server/private/routers/loginPage/upsertLoginPageBranding.ts @@ -35,7 +35,29 @@ const paramsSchema = z.strictObject({ }); const bodySchema = z.strictObject({ - logoUrl: z.url(), + logoUrl: z + .union([ + z.string().length(0), + z.url().refine( + async (url) => { + try { + const response = await fetch(url); + return ( + response.status === 200 && + ( + response.headers.get("content-type") ?? "" + ).startsWith("image/") + ); + } catch (error) { + return false; + } + }, + { + error: "Invalid logo URL, must be a valid image URL" + } + ) + ]) + .optional(), logoWidth: z.coerce.number().min(1), logoHeight: z.coerce.number().min(1), resourceTitle: z.string(), @@ -95,6 +117,10 @@ export async function upsertLoginPageBranding( typeof loginPageBranding >; + if ((updateData.logoUrl ?? "").trim().length === 0) { + updateData.logoUrl = undefined; + } + if ( build !== "saas" && !config.getRawPrivateConfig().flags.use_org_only_idp diff --git a/src/app/[orgId]/settings/general/auth-page/page.tsx b/src/app/[orgId]/settings/general/auth-page/page.tsx index 0944c9f7..73c54827 100644 --- a/src/app/[orgId]/settings/general/auth-page/page.tsx +++ b/src/app/[orgId]/settings/general/auth-page/page.tsx @@ -11,6 +11,7 @@ import { GetLoginPageResponse } from "@server/routers/loginPage/types"; import { AxiosResponse } from "axios"; +import { redirect } from "next/navigation"; export interface AuthPageProps { params: Promise<{ orgId: string }>; @@ -18,6 +19,12 @@ export interface AuthPageProps { export default async function AuthPage(props: AuthPageProps) { const orgId = (await props.params).orgId; + + // custom auth branding is only available in enterprise and saas + if (build === "oss") { + redirect(`/${orgId}/settings/general/`); + } + let subscriptionStatus: GetOrgTierResponse | null = null; try { const subRes = await getCachedSubscription(orgId); diff --git a/src/components/AuthPageBrandingForm.tsx b/src/components/AuthPageBrandingForm.tsx index 119a39cb..e89c9855 100644 --- a/src/components/AuthPageBrandingForm.tsx +++ b/src/components/AuthPageBrandingForm.tsx @@ -42,24 +42,27 @@ export type AuthPageCustomizationProps = { }; const AuthPageFormSchema = z.object({ - logoUrl: z.url().refine( - async (url) => { - try { - const response = await fetch(url); - return ( - response.status === 200 && - (response.headers.get("content-type") ?? "").startsWith( - "image/" - ) - ); - } catch (error) { - return false; + logoUrl: z.union([ + z.string().length(0), + z.url().refine( + async (url) => { + try { + const response = await fetch(url); + return ( + response.status === 200 && + (response.headers.get("content-type") ?? "").startsWith( + "image/" + ) + ); + } catch (error) { + return false; + } + }, + { + error: "Invalid logo URL, must be a valid image URL" } - }, - { - error: "Invalid logo URL, must be a valid image URL" - } - ), + ) + ]), logoWidth: z.coerce.number().min(1), logoHeight: z.coerce.number().min(1), orgTitle: z.string().optional(), @@ -90,7 +93,6 @@ export default function AuthPageBrandingForm({ deleteBranding, null ); - const [setIsDeleteModalOpen] = useState(false); const t = useTranslations(); diff --git a/src/components/BrandingLogo.tsx b/src/components/BrandingLogo.tsx index 139d76b4..f6152f15 100644 --- a/src/components/BrandingLogo.tsx +++ b/src/components/BrandingLogo.tsx @@ -7,7 +7,7 @@ import Image from "next/image"; import { useEffect, useState } from "react"; type BrandingLogoProps = { - logoPath?: string; + logoPath?: string | null; width: number; height: number; }; diff --git a/src/components/ResourceAuthPortal.tsx b/src/components/ResourceAuthPortal.tsx index 133d9a6c..0020330c 100644 --- a/src/components/ResourceAuthPortal.tsx +++ b/src/components/ResourceAuthPortal.tsx @@ -88,7 +88,7 @@ type ResourceAuthPortalProps = { idps?: LoginFormIDP[]; orgId?: string; branding?: { - logoUrl: string; + logoUrl?: string | null; logoWidth: number; logoHeight: number; primaryColor: string | null; From e09cd6c16c9414af5d2c7f551049667b0437f7e5 Mon Sep 17 00:00:00 2001 From: Fred KISSIE Date: Tue, 20 Jan 2026 02:57:27 +0100 Subject: [PATCH 06/42] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20reset=20firn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AuthPageBrandingForm.tsx | 36 +++++++++++++------------ 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/src/components/AuthPageBrandingForm.tsx b/src/components/AuthPageBrandingForm.tsx index e89c9855..4d070113 100644 --- a/src/components/AuthPageBrandingForm.tsx +++ b/src/components/AuthPageBrandingForm.tsx @@ -1,7 +1,7 @@ "use client"; import { zodResolver } from "@hookform/resolvers/zod"; -import { useActionState, useState } from "react"; +import { startTransition, useActionState, useState } from "react"; import { useForm } from "react-hook-form"; import z from "zod"; import { @@ -166,6 +166,7 @@ export default function AuthPageBrandingForm({ title: t("success"), description: t("authPageBrandingRemoved") }); + form.reset(); } } catch (error) { toast({ @@ -400,22 +401,23 @@ export default function AuthPageBrandingForm({
{branding && ( - +
+ +
)}
{user.serverAdmin ? ( diff --git a/src/components/UserDevicesTable.tsx b/src/components/UserDevicesTable.tsx index 102014e3..11e5bead 100644 --- a/src/components/UserDevicesTable.tsx +++ b/src/components/UserDevicesTable.tsx @@ -12,6 +12,7 @@ import { import { useEnvContext } from "@app/hooks/useEnvContext"; import { toast } from "@app/hooks/useToast"; import { createApiClient, formatAxiosError } from "@app/lib/api"; +import { getUserDisplayName } from "@app/lib/getUserDisplayName"; import { ArrowRight, ArrowUpDown, @@ -344,7 +345,10 @@ export default function UserDevicesTable({ userClients }: ClientTableProps) { href={`/${r.orgId}/settings/access/users/${r.userId}`} > diff --git a/src/components/UsersTable.tsx b/src/components/UsersTable.tsx index e8729a9d..d6b6e610 100644 --- a/src/components/UsersTable.tsx +++ b/src/components/UsersTable.tsx @@ -19,6 +19,7 @@ import Link from "next/link"; import { useRouter } from "next/navigation"; import { formatAxiosError } from "@app/lib/api"; import { createApiClient } from "@app/lib/api"; +import { getUserDisplayName } from "@app/lib/getUserDisplayName"; import { useEnvContext } from "@app/hooks/useEnvContext"; import { useUserContext } from "@app/hooks/useUserContext"; import { useTranslations } from "next-intl"; @@ -271,10 +272,13 @@ export default function UsersTable({ users: u }: UsersTableProps) { buttonText={t("userRemoveOrgConfirm")} onConfirm={removeUser} string={ - selectedUser?.email || - selectedUser?.name || - selectedUser?.username || - "" + selectedUser + ? getUserDisplayName({ + email: selectedUser.email, + name: selectedUser.name, + username: selectedUser.username + }) + : "" } title={t("userRemoveOrg")} /> diff --git a/src/lib/getUserDisplayName.ts b/src/lib/getUserDisplayName.ts new file mode 100644 index 00000000..e95096c1 --- /dev/null +++ b/src/lib/getUserDisplayName.ts @@ -0,0 +1,36 @@ +import { GetUserResponse } from "@server/routers/user"; + +type UserDisplayNameInput = + | { + user: GetUserResponse; + } + | { + email?: string | null; + name?: string | null; + username?: string | null; + }; + +/** + * Gets the display name for a user. + * Priority: email > name > username + * + * @param input - Either a user object or individual email, name, username properties + * @returns The display name string + */ +export function getUserDisplayName(input: UserDisplayNameInput): string { + let email: string | null | undefined; + let name: string | null | undefined; + let username: string | null | undefined; + + if ("user" in input) { + email = input.user.email; + name = input.user.name; + username = input.user.username; + } else { + email = input.email; + name = input.name; + username = input.username; + } + + return email || name || username || ""; +} diff --git a/src/lib/queries.ts b/src/lib/queries.ts index de2dc64a..d016ec77 100644 --- a/src/lib/queries.ts +++ b/src/lib/queries.ts @@ -340,6 +340,7 @@ export type ApprovalItem = { name: string | null; userId: string; username: string; + email: string | null; }; }; From 7305c721a6555f89f9b9f9039403d3a3d07c0589 Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Mon, 19 Jan 2026 21:00:41 -0800 Subject: [PATCH 08/42] format device approval message --- .../routers/approvals/listApprovals.ts | 68 +++++++++++++++++- src/components/ApprovalFeed.tsx | 70 ++++++++++++++----- src/components/UserDevicesTable.tsx | 49 +------------ src/lib/formatDeviceFingerprint.ts | 67 ++++++++++++++++++ src/lib/queries.ts | 11 +++ 5 files changed, 199 insertions(+), 66 deletions(-) create mode 100644 src/lib/formatDeviceFingerprint.ts diff --git a/server/private/routers/approvals/listApprovals.ts b/server/private/routers/approvals/listApprovals.ts index 76a895a6..d518555f 100644 --- a/server/private/routers/approvals/listApprovals.ts +++ b/server/private/routers/approvals/listApprovals.ts @@ -21,9 +21,10 @@ import type { Request, Response, NextFunction } from "express"; import { build } from "@server/build"; import { getOrgTierData } from "@server/lib/billing"; import { TierId } from "@server/lib/billing/tiers"; -import { approvals, clients, db, users, type Approval } from "@server/db"; +import { approvals, clients, db, users, olms, fingerprints, type Approval } from "@server/db"; import { eq, isNull, sql, not, and, desc } from "drizzle-orm"; import response from "@server/lib/response"; +import { getUserDeviceName } from "@server/db/names"; const paramsSchema = z.strictObject({ orgId: z.string() @@ -82,7 +83,16 @@ async function queryApprovals( userId: users.userId, username: users.username, email: users.email - } + }, + clientName: clients.name, + deviceModel: fingerprints.deviceModel, + fingerprintPlatform: fingerprints.platform, + fingerprintOsVersion: fingerprints.osVersion, + fingerprintKernelVersion: fingerprints.kernelVersion, + fingerprintArch: fingerprints.arch, + fingerprintSerialNumber: fingerprints.serialNumber, + fingerprintUsername: fingerprints.username, + fingerprintHostname: fingerprints.hostname }) .from(approvals) .innerJoin(users, and(eq(approvals.userId, users.userId))) @@ -93,6 +103,8 @@ async function queryApprovals( not(isNull(clients.userId)) // only user devices ) ) + .leftJoin(olms, eq(clients.clientId, olms.clientId)) + .leftJoin(fingerprints, eq(olms.olmId, fingerprints.olmId)) .where( and( eq(approvals.orgId, orgId), @@ -105,7 +117,57 @@ async function queryApprovals( ) .limit(limit) .offset(offset); - return res; + + // Process results to format device names and build fingerprint objects + return res.map((approval) => { + const model = approval.deviceModel || null; + const deviceName = approval.clientName + ? getUserDeviceName(model, approval.clientName) + : null; + + // Build fingerprint object if any fingerprint data exists + const hasFingerprintData = + approval.fingerprintPlatform || + approval.fingerprintOsVersion || + approval.fingerprintKernelVersion || + approval.fingerprintArch || + approval.fingerprintSerialNumber || + approval.fingerprintUsername || + approval.fingerprintHostname || + approval.deviceModel; + + const fingerprint = hasFingerprintData + ? { + platform: approval.fingerprintPlatform || null, + osVersion: approval.fingerprintOsVersion || null, + kernelVersion: approval.fingerprintKernelVersion || null, + arch: approval.fingerprintArch || null, + deviceModel: approval.deviceModel || null, + serialNumber: approval.fingerprintSerialNumber || null, + username: approval.fingerprintUsername || null, + hostname: approval.fingerprintHostname || null + } + : null; + + const { + clientName, + deviceModel, + fingerprintPlatform, + fingerprintOsVersion, + fingerprintKernelVersion, + fingerprintArch, + fingerprintSerialNumber, + fingerprintUsername, + fingerprintHostname, + ...rest + } = approval; + + return { + ...rest, + deviceName, + fingerprint + }; + }); } export type ListApprovalsResponse = { diff --git a/src/components/ApprovalFeed.tsx b/src/components/ApprovalFeed.tsx index 974a02b2..fdc3c1aa 100644 --- a/src/components/ApprovalFeed.tsx +++ b/src/components/ApprovalFeed.tsx @@ -4,17 +4,19 @@ import { toast } from "@app/hooks/useToast"; import { createApiClient, formatAxiosError } from "@app/lib/api"; import { getUserDisplayName } from "@app/lib/getUserDisplayName"; import { cn } from "@app/lib/cn"; +import { formatFingerprintInfo, formatPlatform } from "@app/lib/formatDeviceFingerprint"; import { approvalFiltersSchema, approvalQueries, type ApprovalItem } from "@app/lib/queries"; import { useQuery } from "@tanstack/react-query"; -import { ArrowRight, Ban, Check, LaptopMinimal, RefreshCw } from "lucide-react"; +import { ArrowRight, Ban, Check, Laptop, Smartphone, RefreshCw } from "lucide-react"; import { useTranslations } from "next-intl"; import Link from "next/link"; import { usePathname, useRouter, useSearchParams } from "next/navigation"; import { Fragment, useActionState } from "react"; +import type { LucideIcon } from "lucide-react"; import { Badge } from "./ui/badge"; import { Button } from "./ui/button"; import { Card, CardHeader } from "./ui/card"; @@ -27,6 +29,7 @@ import { SelectValue } from "./ui/select"; import { Separator } from "./ui/separator"; +import { InfoPopup } from "./ui/info-popup"; export type ApprovalFeedProps = { orgId: string; @@ -183,18 +186,50 @@ function ApprovalRequest({ approval, orgId, onSuccess }: ApprovalRequestProps) { return (
- - + {getUserDisplayName({ email: approval.user.email, name: approval.user.name, username: approval.user.username })} - +   {approval.type === "user_device" && ( - {t("requestingNewDeviceApproval")} + + {approval.deviceName ? ( + <> + {t("requestingNewDeviceApproval")}:{" "} + {approval.clientId ? ( + + {approval.deviceName} + + ) : ( + {approval.deviceName} + )} + {approval.fingerprint && ( + +
+
+ {t("deviceInformation")} +
+
+ {formatFingerprintInfo(approval.fingerprint, t)} +
+
+
+ )} + + ) : ( + {t("requestingNewDeviceApproval")} + )} +
)}
@@ -231,17 +266,20 @@ function ApprovalRequest({ approval, orgId, onSuccess }: ApprovalRequestProps) { {t("denied")} )} - + {approval.clientId && ( + + )}
); diff --git a/src/components/UserDevicesTable.tsx b/src/components/UserDevicesTable.tsx index 11e5bead..0e84f619 100644 --- a/src/components/UserDevicesTable.tsx +++ b/src/components/UserDevicesTable.tsx @@ -13,6 +13,7 @@ import { useEnvContext } from "@app/hooks/useEnvContext"; import { toast } from "@app/hooks/useToast"; import { createApiClient, formatAxiosError } from "@app/lib/api"; import { getUserDisplayName } from "@app/lib/getUserDisplayName"; +import { formatFingerprintInfo, formatPlatform } from "@app/lib/formatDeviceFingerprint"; import { ArrowRight, ArrowUpDown, @@ -66,56 +67,10 @@ type ClientTableProps = { orgId: string; }; -function formatPlatform(platform: string | null | undefined): string { - if (!platform) return "-"; - const platformMap: Record = { - macos: "macOS", - windows: "Windows", - linux: "Linux", - ios: "iOS", - android: "Android", - unknown: "Unknown" - }; - return platformMap[platform.toLowerCase()] || platform; -} - export default function UserDevicesTable({ userClients }: ClientTableProps) { const router = useRouter(); const t = useTranslations(); - const formatFingerprintInfo = ( - fingerprint: ClientRow["fingerprint"] - ): string => { - if (!fingerprint) return ""; - const parts: string[] = []; - - if (fingerprint.platform) { - parts.push( - `${t("platform")}: ${formatPlatform(fingerprint.platform)}` - ); - } - if (fingerprint.deviceModel) { - parts.push(`${t("deviceModel")}: ${fingerprint.deviceModel}`); - } - if (fingerprint.osVersion) { - parts.push(`${t("osVersion")}: ${fingerprint.osVersion}`); - } - if (fingerprint.arch) { - parts.push(`${t("architecture")}: ${fingerprint.arch}`); - } - if (fingerprint.hostname) { - parts.push(`${t("hostname")}: ${fingerprint.hostname}`); - } - if (fingerprint.username) { - parts.push(`${t("username")}: ${fingerprint.username}`); - } - if (fingerprint.serialNumber) { - parts.push(`${t("serialNumber")}: ${fingerprint.serialNumber}`); - } - - return parts.join("\n"); - }; - const [isDeleteModalOpen, setIsDeleteModalOpen] = useState(false); const [selectedClient, setSelectedClient] = useState( null @@ -258,7 +213,7 @@ export default function UserDevicesTable({ userClients }: ClientTableProps) { cell: ({ row }) => { const r = row.original; const fingerprintInfo = r.fingerprint - ? formatFingerprintInfo(r.fingerprint) + ? formatFingerprintInfo(r.fingerprint, t) : null; return (
diff --git a/src/lib/formatDeviceFingerprint.ts b/src/lib/formatDeviceFingerprint.ts new file mode 100644 index 00000000..3bd4a99b --- /dev/null +++ b/src/lib/formatDeviceFingerprint.ts @@ -0,0 +1,67 @@ +type DeviceFingerprint = { + platform: string | null; + osVersion: string | null; + kernelVersion?: string | null; + arch: string | null; + deviceModel: string | null; + serialNumber: string | null; + username: string | null; + hostname: string | null; +} | null; + +/** + * Formats a platform string to a human-readable format + */ +export function formatPlatform(platform: string | null | undefined): string { + if (!platform) return "-"; + const platformMap: Record = { + macos: "macOS", + windows: "Windows", + linux: "Linux", + ios: "iOS", + android: "Android", + unknown: "Unknown" + }; + return platformMap[platform.toLowerCase()] || platform; +} + +/** + * Formats device fingerprint information into a human-readable string + * + * @param fingerprint - The device fingerprint object + * @param t - Translation function from next-intl + * @returns Formatted string with device information + */ +export function formatFingerprintInfo( + fingerprint: DeviceFingerprint, + t: (key: string) => string +): string { + if (!fingerprint) return ""; + const parts: string[] = []; + + if (fingerprint.platform) { + parts.push( + `${t("platform")}: ${formatPlatform(fingerprint.platform)}` + ); + } + if (fingerprint.deviceModel) { + parts.push(`${t("deviceModel")}: ${fingerprint.deviceModel}`); + } + if (fingerprint.osVersion) { + parts.push(`${t("osVersion")}: ${fingerprint.osVersion}`); + } + if (fingerprint.arch) { + parts.push(`${t("architecture")}: ${fingerprint.arch}`); + } + if (fingerprint.hostname) { + parts.push(`${t("hostname")}: ${fingerprint.hostname}`); + } + if (fingerprint.username) { + parts.push(`${t("username")}: ${fingerprint.username}`); + } + if (fingerprint.serialNumber) { + parts.push(`${t("serialNumber")}: ${fingerprint.serialNumber}`); + } + + return parts.join("\n"); +} diff --git a/src/lib/queries.ts b/src/lib/queries.ts index d016ec77..f471c5a2 100644 --- a/src/lib/queries.ts +++ b/src/lib/queries.ts @@ -342,6 +342,17 @@ export type ApprovalItem = { username: string; email: string | null; }; + deviceName: string | null; + fingerprint: { + platform: string | null; + osVersion: string | null; + kernelVersion: string | null; + arch: string | null; + deviceModel: string | null; + serialNumber: string | null; + username: string | null; + hostname: string | null; + } | null; }; export const approvalQueries = { From 2e802301ae172ecbd8da3839b7a6ee93eb0d9801 Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Mon, 19 Jan 2026 21:07:15 -0800 Subject: [PATCH 09/42] make client link work approval feed --- .../routers/approvals/listApprovals.ts | 4 +- src/components/ApprovalFeed.tsx | 46 ++++++------------- src/lib/queries.ts | 1 + 3 files changed, 19 insertions(+), 32 deletions(-) diff --git a/server/private/routers/approvals/listApprovals.ts b/server/private/routers/approvals/listApprovals.ts index d518555f..e00d4ec8 100644 --- a/server/private/routers/approvals/listApprovals.ts +++ b/server/private/routers/approvals/listApprovals.ts @@ -85,6 +85,7 @@ async function queryApprovals( email: users.email }, clientName: clients.name, + niceId: clients.niceId, deviceModel: fingerprints.deviceModel, fingerprintPlatform: fingerprints.platform, fingerprintOsVersion: fingerprints.osVersion, @@ -165,7 +166,8 @@ async function queryApprovals( return { ...rest, deviceName, - fingerprint + fingerprint, + niceId: approval.niceId || null }; }); } diff --git a/src/components/ApprovalFeed.tsx b/src/components/ApprovalFeed.tsx index fdc3c1aa..c5d4528b 100644 --- a/src/components/ApprovalFeed.tsx +++ b/src/components/ApprovalFeed.tsx @@ -4,19 +4,18 @@ import { toast } from "@app/hooks/useToast"; import { createApiClient, formatAxiosError } from "@app/lib/api"; import { getUserDisplayName } from "@app/lib/getUserDisplayName"; import { cn } from "@app/lib/cn"; -import { formatFingerprintInfo, formatPlatform } from "@app/lib/formatDeviceFingerprint"; +import { formatFingerprintInfo } from "@app/lib/formatDeviceFingerprint"; import { approvalFiltersSchema, approvalQueries, type ApprovalItem } from "@app/lib/queries"; import { useQuery } from "@tanstack/react-query"; -import { ArrowRight, Ban, Check, Laptop, Smartphone, RefreshCw } from "lucide-react"; +import { ArrowRight, Ban, Check, LaptopMinimal, RefreshCw } from "lucide-react"; import { useTranslations } from "next-intl"; import Link from "next/link"; import { usePathname, useRouter, useSearchParams } from "next/navigation"; import { Fragment, useActionState } from "react"; -import type { LucideIcon } from "lucide-react"; import { Badge } from "./ui/badge"; import { Button } from "./ui/button"; import { Card, CardHeader } from "./ui/card"; @@ -200,19 +199,19 @@ function ApprovalRequest({ approval, orgId, onSuccess }: ApprovalRequestProps) {   {approval.type === "user_device" && ( - {approval.deviceName ? ( - <> - {t("requestingNewDeviceApproval")}:{" "} - {approval.clientId ? ( - - {approval.deviceName} - - ) : ( - {approval.deviceName} - )} + {approval.deviceName ? ( + <> + {t("requestingNewDeviceApproval")}:{" "} + {approval.niceId ? ( + + {approval.deviceName} + + ) : ( + {approval.deviceName} + )} {approval.fingerprint && (
@@ -265,21 +264,6 @@ function ApprovalRequest({ approval, orgId, onSuccess }: ApprovalRequestProps) { {approval.decision === "denied" && ( {t("denied")} )} - - {approval.clientId && ( - - )}
); diff --git a/src/lib/queries.ts b/src/lib/queries.ts index f471c5a2..874f7790 100644 --- a/src/lib/queries.ts +++ b/src/lib/queries.ts @@ -334,6 +334,7 @@ export type ApprovalItem = { approvalId: number; orgId: string; clientId: number | null; + niceId: string | null; decision: "pending" | "approved" | "denied"; type: "user_device"; user: { From f143d2e214faf1a1ab252c4a609850b794387dcb Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Mon, 19 Jan 2026 21:14:33 -0800 Subject: [PATCH 10/42] make default filter in approvals be pending --- src/components/ApprovalFeed.tsx | 2 +- src/lib/queries.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/ApprovalFeed.tsx b/src/components/ApprovalFeed.tsx index c5d4528b..e982f82d 100644 --- a/src/components/ApprovalFeed.tsx +++ b/src/components/ApprovalFeed.tsx @@ -70,7 +70,7 @@ export function ApprovalFeed({ orgId }: ApprovalFeedProps) { `${path}?${newSearch.toString()}` ); }} - value={filters.approvalState ?? "all"} + value={filters.approvalState ?? "pending"} > Date: Mon, 19 Jan 2026 21:25:28 -0800 Subject: [PATCH 11/42] add pending approvals count to sidebar --- .../routers/approvals/countApprovals.ts | 110 ++++++++++++++++++ server/private/routers/approvals/index.ts | 1 + server/private/routers/external.ts | 7 ++ src/components/LayoutSidebar.tsx | 23 ++++ src/components/SidebarNav.tsx | 96 +++++++++++---- src/lib/queries.ts | 12 ++ 6 files changed, 229 insertions(+), 20 deletions(-) create mode 100644 server/private/routers/approvals/countApprovals.ts diff --git a/server/private/routers/approvals/countApprovals.ts b/server/private/routers/approvals/countApprovals.ts new file mode 100644 index 00000000..c68e422a --- /dev/null +++ b/server/private/routers/approvals/countApprovals.ts @@ -0,0 +1,110 @@ +/* + * This file is part of a proprietary work. + * + * Copyright (c) 2025 Fossorial, Inc. + * All rights reserved. + * + * This file is licensed under the Fossorial Commercial License. + * You may not use this file except in compliance with the License. + * Unauthorized use, copying, modification, or distribution is strictly prohibited. + * + * This file is not licensed under the AGPLv3. + */ + +import logger from "@server/logger"; +import HttpCode from "@server/types/HttpCode"; +import createHttpError from "http-errors"; +import { z } from "zod"; +import { fromError } from "zod-validation-error"; + +import type { Request, Response, NextFunction } from "express"; +import { approvals, db, type Approval } from "@server/db"; +import { eq, sql, and } from "drizzle-orm"; +import response from "@server/lib/response"; + +const paramsSchema = z.strictObject({ + orgId: z.string() +}); + +const querySchema = z.strictObject({ + approvalState: z + .enum(["pending", "approved", "denied", "all"]) + .optional() + .default("all") + .catch("all") +}); + +export type CountApprovalsResponse = { + count: number; +}; + +export async function countApprovals( + req: Request, + res: Response, + next: NextFunction +) { + try { + const parsedParams = paramsSchema.safeParse(req.params); + if (!parsedParams.success) { + return next( + createHttpError( + HttpCode.BAD_REQUEST, + fromError(parsedParams.error).toString() + ) + ); + } + + const parsedQuery = querySchema.safeParse(req.query); + if (!parsedQuery.success) { + return next( + createHttpError( + HttpCode.BAD_REQUEST, + fromError(parsedQuery.error).toString() + ) + ); + } + + const { approvalState } = parsedQuery.data; + const { orgId } = parsedParams.data; + + let state: Array = []; + switch (approvalState) { + case "pending": + state = ["pending"]; + break; + case "approved": + state = ["approved"]; + break; + case "denied": + state = ["denied"]; + break; + default: + state = ["approved", "denied", "pending"]; + } + + const [{ count }] = await db + .select({ count: sql`count(*)` }) + .from(approvals) + .where( + and( + eq(approvals.orgId, orgId), + sql`${approvals.decision} in ${state}` + ) + ); + + return response(res, { + data: { + count + }, + success: true, + error: false, + message: "Approval count retrieved successfully", + status: HttpCode.OK + }); + } catch (error) { + logger.error(error); + return next( + createHttpError(HttpCode.INTERNAL_SERVER_ERROR, "An error occurred") + ); + } +} diff --git a/server/private/routers/approvals/index.ts b/server/private/routers/approvals/index.ts index 40e59cc9..118b3d28 100644 --- a/server/private/routers/approvals/index.ts +++ b/server/private/routers/approvals/index.ts @@ -13,3 +13,4 @@ export * from "./listApprovals"; export * from "./processPendingApproval"; +export * from "./countApprovals"; diff --git a/server/private/routers/external.ts b/server/private/routers/external.ts index 44af3fe9..cf6e58bc 100644 --- a/server/private/routers/external.ts +++ b/server/private/routers/external.ts @@ -321,6 +321,13 @@ authenticated.get( approval.listApprovals ); +authenticated.get( + "/org/:orgId/approvals/count", + verifyOrgAccess, + verifyUserHasAction(ActionsEnum.listApprovals), + approval.countApprovals +); + authenticated.put( "/org/:orgId/approvals/:approvalId", verifyValidLicense, diff --git a/src/components/LayoutSidebar.tsx b/src/components/LayoutSidebar.tsx index 75038d37..15951402 100644 --- a/src/components/LayoutSidebar.tsx +++ b/src/components/LayoutSidebar.tsx @@ -14,7 +14,9 @@ import { useEnvContext } from "@app/hooks/useEnvContext"; import { useLicenseStatusContext } from "@app/hooks/useLicenseStatusContext"; import { useUserContext } from "@app/hooks/useUserContext"; import { cn } from "@app/lib/cn"; +import { approvalQueries } from "@app/lib/queries"; import { build } from "@server/build"; +import { useQuery } from "@tanstack/react-query"; import { ListUserOrgsResponse } from "@server/routers/org"; import { ExternalLink, Server } from "lucide-react"; import { useTranslations } from "next-intl"; @@ -57,6 +59,26 @@ export function LayoutSidebar({ const { env } = useEnvContext(); const t = useTranslations(); + // Fetch pending approval count if we have an orgId and it's not an admin page + const shouldFetchApprovalCount = + Boolean(orgId) && !isAdminPage && build !== "oss"; + const approvalCountQuery = orgId + ? approvalQueries.pendingCount(orgId) + : { + queryKey: ["APPROVALS", "", "COUNT", "pending"] as const, + queryFn: async () => 0 + }; + const { data: pendingApprovalCount } = useQuery({ + ...approvalCountQuery, + enabled: shouldFetchApprovalCount + }); + + // Map notification counts by navigation item title + const notificationCounts: Record = {}; + if (pendingApprovalCount !== undefined && pendingApprovalCount > 0) { + notificationCounts["sidebarApprovals"] = pendingApprovalCount; + } + const setSidebarStateCookie = (collapsed: boolean) => { if (typeof window !== "undefined") { const isSecure = window.location.protocol === "https:"; @@ -157,6 +179,7 @@ export function LayoutSidebar({ {/* Fade gradient at bottom to indicate scrollable content */} diff --git a/src/components/SidebarNav.tsx b/src/components/SidebarNav.tsx index fb76f451..39ae601f 100644 --- a/src/components/SidebarNav.tsx +++ b/src/components/SidebarNav.tsx @@ -46,6 +46,7 @@ export interface SidebarNavProps extends React.HTMLAttributes { disabled?: boolean; onItemClick?: () => void; isCollapsed?: boolean; + notificationCounts?: Record; } type CollapsibleNavItemProps = { @@ -59,6 +60,7 @@ type CollapsibleNavItemProps = { t: (key: string) => string; build: string; isUnlocked: () => boolean; + getNotificationCount: (item: SidebarNavItem) => number | undefined; }; function CollapsibleNavItem({ @@ -71,8 +73,10 @@ function CollapsibleNavItem({ renderNavItem, t, build, - isUnlocked + isUnlocked, + getNotificationCount }: CollapsibleNavItemProps) { + const notificationCount = getNotificationCount(item); const storageKey = `pangolin-sidebar-expanded-${item.title}`; // Get initial state from localStorage or use isChildActive @@ -139,6 +143,14 @@ function CollapsibleNavItem({ )}
+ {notificationCount !== undefined && + notificationCount > 0 && ( + + {notificationCount > 99 ? "99+" : notificationCount} + + )} {build === "enterprise" && item.showEE && !isUnlocked() && ( @@ -177,6 +189,7 @@ export function SidebarNav({ disabled = false, onItemClick, isCollapsed = false, + notificationCounts, ...props }: SidebarNavProps) { const pathname = usePathname(); @@ -191,6 +204,11 @@ export function SidebarNav({ const { user } = useUserContext(); const t = useTranslations(); + function getNotificationCount(item: SidebarNavItem): number | undefined { + if (!notificationCounts) return undefined; + return notificationCounts[item.title]; + } + function hydrateHref(val?: string): string | undefined { if (!val) return undefined; return val @@ -247,16 +265,19 @@ export function SidebarNav({ t={t} build={build} isUnlocked={isUnlocked} + getNotificationCount={getNotificationCount} /> ); } + const notificationCount = getNotificationCount(item); + // Regular item without nested items const itemContent = hydratedHref ? ( )}
- {build === "enterprise" && - item.showEE && - !isUnlocked() && ( - - {t("licenseBadge")} - - )} +
+ {notificationCount !== undefined && + notificationCount > 0 && ( + + {notificationCount > 99 + ? "99+" + : notificationCount} + + )} + {build === "enterprise" && + item.showEE && + !isUnlocked() && ( + + {t("licenseBadge")} + + )} +
)} + {isCollapsed && + notificationCount !== undefined && + notificationCount > 0 && ( + + {notificationCount > 99 ? "99+" : notificationCount} + + )} ) : (
)}
- {build === "enterprise" && item.showEE && !isUnlocked() && ( - - {t("licenseBadge")} - - )} +
+ {notificationCount !== undefined && + notificationCount > 0 && ( + + {notificationCount > 99 + ? "99+" + : notificationCount} + + )} + {build === "enterprise" && item.showEE && !isUnlocked() && ( + + {t("licenseBadge")} + + )} +
); diff --git a/src/lib/queries.ts b/src/lib/queries.ts index f6907d6b..f0dfa811 100644 --- a/src/lib/queries.ts +++ b/src/lib/queries.ts @@ -377,5 +377,17 @@ export const approvalQueries = { }); return res.data.data; } + }), + pendingCount: (orgId: string) => + queryOptions({ + queryKey: ["APPROVALS", orgId, "COUNT", "pending"] as const, + queryFn: async ({ signal, meta }) => { + const res = await meta!.api.get< + AxiosResponse<{ count: number }> + >(`/org/${orgId}/approvals/count?approvalState=pending`, { + signal + }); + return res.data.data.count; + } }) }; From adf5caf18a15e3e81c4e6a0706f3510f807059fa Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Mon, 19 Jan 2026 21:30:29 -0800 Subject: [PATCH 12/42] add product banner to approvals page --- messages/en-US.json | 5 ++- .../(private)/access/approvals/page.tsx | 3 ++ src/components/ApprovalsBanner.tsx | 39 +++++++++++++++++++ 3 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 src/components/ApprovalsBanner.tsx diff --git a/messages/en-US.json b/messages/en-US.json index 23078d05..8a7a98f0 100644 --- a/messages/en-US.json +++ b/messages/en-US.json @@ -56,6 +56,9 @@ "sitesBannerTitle": "Connect Any Network", "sitesBannerDescription": "A site is a connection to a remote network that allows Pangolin to provide access to resources, whether public or private, to users anywhere. Install the site network connector (Newt) anywhere you can run a binary or container to establish the connection.", "sitesBannerButtonText": "Install Site", + "approvalsBannerTitle": "Approve or Deny Device Access", + "approvalsBannerDescription": "Review and approve or deny device access requests from users. When device approvals are required, users must get admin approval before their devices can connect to your organization's resources.", + "approvalsBannerButtonText": "Learn More", "siteCreate": "Create Site", "siteCreateDescription2": "Follow the steps below to create and connect a new site", "siteCreateDescription": "Create a new site to start connecting resources", @@ -258,7 +261,7 @@ "accessRolesAdd": "Add Role", "accessRoleDelete": "Delete Role", "accessApprovalsManage": "Manage Approvals", - "accessApprovalsDescription": "Manage approval requests in the organization", + "accessApprovalsDescription": "View and manage pending approvals for access to this organization", "description": "Description", "inviteTitle": "Open Invitations", "inviteDescription": "Manage invitations for other users to join the organization", diff --git a/src/app/[orgId]/settings/(private)/access/approvals/page.tsx b/src/app/[orgId]/settings/(private)/access/approvals/page.tsx index de62c189..9e89a901 100644 --- a/src/app/[orgId]/settings/(private)/access/approvals/page.tsx +++ b/src/app/[orgId]/settings/(private)/access/approvals/page.tsx @@ -1,6 +1,7 @@ import { ApprovalFeed } from "@app/components/ApprovalFeed"; import { PaidFeaturesAlert } from "@app/components/PaidFeaturesAlert"; import SettingsSectionTitle from "@app/components/SettingsSectionTitle"; +import ApprovalsBanner from "@app/components/ApprovalsBanner"; import { internal } from "@app/lib/api"; import { authCookieHeader } from "@app/lib/api/cookies"; import { getCachedOrg } from "@app/lib/api/getCachedOrg"; @@ -44,6 +45,8 @@ export default async function ApprovalFeedPage(props: ApprovalFeedPageProps) { description={t("accessApprovalsDescription")} /> + + diff --git a/src/components/ApprovalsBanner.tsx b/src/components/ApprovalsBanner.tsx new file mode 100644 index 00000000..991a1b10 --- /dev/null +++ b/src/components/ApprovalsBanner.tsx @@ -0,0 +1,39 @@ +"use client"; + +import React from "react"; +import { Button } from "@app/components/ui/button"; +import { ShieldCheck, ArrowRight } from "lucide-react"; +import { useTranslations } from "next-intl"; +import Link from "next/link"; +import DismissableBanner from "./DismissableBanner"; + +export const ApprovalsBanner = () => { + const t = useTranslations(); + + return ( + } + description={t("approvalsBannerDescription")} + > + + + + + ); +}; + +export default ApprovalsBanner; From c6f947e4709e171e1906991297475c62e40fb4ab Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Mon, 19 Jan 2026 21:34:14 -0800 Subject: [PATCH 13/42] fix connected col translations --- messages/en-US.json | 4 +++- src/components/MachineClientsTable.tsx | 4 ++-- src/components/UserDevicesTable.tsx | 6 +++--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/messages/en-US.json b/messages/en-US.json index 8a7a98f0..34abc5f5 100644 --- a/messages/en-US.json +++ b/messages/en-US.json @@ -2512,5 +2512,7 @@ "unblock": "Unblock", "deviceActions": "Device Actions", "deviceActionsDescription": "Manage device status and access", - "devicePendingApprovalBannerDescription": "This device is pending approval. It won't be able to connect to resources until approved." + "devicePendingApprovalBannerDescription": "This device is pending approval. It won't be able to connect to resources until approved.", + "connected": "Connected", + "disconnected": "Disconnected" } diff --git a/src/components/MachineClientsTable.tsx b/src/components/MachineClientsTable.tsx index 52617631..ad01c40f 100644 --- a/src/components/MachineClientsTable.tsx +++ b/src/components/MachineClientsTable.tsx @@ -264,14 +264,14 @@ export default function MachineClientsTable({ return (
- Connected + {t("connected")}
); } else { return (
- Disconnected + {t("disconnected")}
); } diff --git a/src/components/UserDevicesTable.tsx b/src/components/UserDevicesTable.tsx index 0e84f619..79be6cbd 100644 --- a/src/components/UserDevicesTable.tsx +++ b/src/components/UserDevicesTable.tsx @@ -314,7 +314,7 @@ export default function UserDevicesTable({ userClients }: ClientTableProps) { }, { accessorKey: "online", - friendlyName: t("online"), + friendlyName: t("connectivity"), header: ({ column }) => { return ( + {clientRow.approvalState === "pending" && ( + <> + approveDevice(clientRow)} + > + {t("approve")} + + denyDevice(clientRow)} + > + {t("deny")} + + + )} { if (clientRow.archived) { From fb15f8cde6d96e43d9b986b23cd587808188c129 Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Mon, 19 Jan 2026 21:57:28 -0800 Subject: [PATCH 15/42] add placeholder approvals ui --- messages/en-US.json | 10 +- .../(private)/access/approvals/page.tsx | 21 ++- src/components/ApprovalFeed.tsx | 12 +- src/components/ApprovalsEmptyState.tsx | 126 ++++++++++++++++++ 4 files changed, 166 insertions(+), 3 deletions(-) create mode 100644 src/components/ApprovalsEmptyState.tsx diff --git a/messages/en-US.json b/messages/en-US.json index 34abc5f5..827b8187 100644 --- a/messages/en-US.json +++ b/messages/en-US.json @@ -2514,5 +2514,13 @@ "deviceActionsDescription": "Manage device status and access", "devicePendingApprovalBannerDescription": "This device is pending approval. It won't be able to connect to resources until approved.", "connected": "Connected", - "disconnected": "Disconnected" + "disconnected": "Disconnected", + "approvalsEmptyStateTitle": "Device Approvals Not Enabled", + "approvalsEmptyStateDescription": "Enable device approvals for roles to require admin approval before users can connect new devices.", + "approvalsEmptyStateStep1Title": "Go to Roles", + "approvalsEmptyStateStep1Description": "Navigate to your organization's roles settings to configure device approvals.", + "approvalsEmptyStateStep2Title": "Enable Device Approvals", + "approvalsEmptyStateStep2Description": "Edit a role and enable the 'Require Device Approvals' option. Users with this role will need admin approval for new devices.", + "approvalsEmptyStatePreviewDescription": "Preview: When enabled, pending device requests will appear here for review", + "approvalsEmptyStateButtonText": "Manage Roles" } diff --git a/src/app/[orgId]/settings/(private)/access/approvals/page.tsx b/src/app/[orgId]/settings/(private)/access/approvals/page.tsx index 9e89a901..ad6e717b 100644 --- a/src/app/[orgId]/settings/(private)/access/approvals/page.tsx +++ b/src/app/[orgId]/settings/(private)/access/approvals/page.tsx @@ -8,6 +8,7 @@ import { getCachedOrg } from "@app/lib/api/getCachedOrg"; import type { ApprovalItem } from "@app/lib/queries"; import OrgProvider from "@app/providers/OrgProvider"; import type { GetOrgResponse } from "@server/routers/org"; +import type { ListRolesResponse } from "@server/routers/role"; import type { AxiosResponse } from "axios"; import { getTranslations } from "next-intl/server"; @@ -36,6 +37,21 @@ export default async function ApprovalFeedPage(props: ApprovalFeedPageProps) { org = orgRes.data.data; } + // Fetch roles to check if approvals are enabled + let hasApprovalsEnabled = false; + const rolesRes = await internal + .get>( + `/org/${params.orgId}/roles`, + await authCookieHeader() + ) + .catch((e) => {}); + + if (rolesRes && rolesRes.status === 200) { + hasApprovalsEnabled = rolesRes.data.data.roles.some( + (role) => role.requireDeviceApproval === true + ); + } + const t = await getTranslations(); return ( @@ -51,7 +67,10 @@ export default async function ApprovalFeedPage(props: ApprovalFeedPageProps) {
- +
diff --git a/src/components/ApprovalFeed.tsx b/src/components/ApprovalFeed.tsx index e982f82d..4c6122c6 100644 --- a/src/components/ApprovalFeed.tsx +++ b/src/components/ApprovalFeed.tsx @@ -29,12 +29,17 @@ import { } from "./ui/select"; import { Separator } from "./ui/separator"; import { InfoPopup } from "./ui/info-popup"; +import { ApprovalsEmptyState } from "./ApprovalsEmptyState"; export type ApprovalFeedProps = { orgId: string; + hasApprovalsEnabled: boolean; }; -export function ApprovalFeed({ orgId }: ApprovalFeedProps) { +export function ApprovalFeed({ + orgId, + hasApprovalsEnabled +}: ApprovalFeedProps) { const searchParams = useSearchParams(); const path = usePathname(); const t = useTranslations(); @@ -51,6 +56,11 @@ export function ApprovalFeed({ orgId }: ApprovalFeedProps) { const approvals = data?.approvals ?? []; + // Show empty state if no approvals are enabled for any role + if (!hasApprovalsEnabled) { + return ; + } + return (
diff --git a/src/components/ApprovalsEmptyState.tsx b/src/components/ApprovalsEmptyState.tsx new file mode 100644 index 00000000..421af2f0 --- /dev/null +++ b/src/components/ApprovalsEmptyState.tsx @@ -0,0 +1,126 @@ +"use client"; + +import { Button } from "@app/components/ui/button"; +import { Card, CardContent } from "@app/components/ui/card"; +import { + ShieldCheck, + Check, + Ban, + User, + Settings, + ArrowRight +} from "lucide-react"; +import { useTranslations } from "next-intl"; +import Link from "next/link"; + +type ApprovalsEmptyStateProps = { + orgId: string; +}; + +export function ApprovalsEmptyState({ orgId }: ApprovalsEmptyStateProps) { + const t = useTranslations(); + + return ( +
+ + +
+
+ +
+ +
+

+ {t("approvalsEmptyStateTitle")} +

+

+ {t("approvalsEmptyStateDescription")} +

+
+ +
+
+
+
+ +
+
+

+ {t("approvalsEmptyStateStep1Title")} +

+

+ {t( + "approvalsEmptyStateStep1Description" + )} +

+
+
+ +
+
+ +
+
+

+ {t("approvalsEmptyStateStep2Title")} +

+

+ {t( + "approvalsEmptyStateStep2Description" + )} +

+
+
+
+ + {/* Abstract UI Preview */} +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ + + + +
+
+
+
+ ); +} From 9f7c162107af0ed43c7141414e9c4b4512b117f1 Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Mon, 19 Jan 2026 22:02:02 -0800 Subject: [PATCH 16/42] make approvals placeholder more mobile friendly --- src/components/ApprovalsEmptyState.tsx | 48 +++++++++++++------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/src/components/ApprovalsEmptyState.tsx b/src/components/ApprovalsEmptyState.tsx index 421af2f0..fadb7b38 100644 --- a/src/components/ApprovalsEmptyState.tsx +++ b/src/components/ApprovalsEmptyState.tsx @@ -23,32 +23,32 @@ export function ApprovalsEmptyState({ orgId }: ApprovalsEmptyStateProps) { return (
- -
-
- + +
+
+
-

+

{t("approvalsEmptyStateTitle")}

-

+

{t("approvalsEmptyStateDescription")}

-
-
-
-
- +
+
+
+
+
-
-

+
+

{t("approvalsEmptyStateStep1Title")}

-

+

{t( "approvalsEmptyStateStep1Description" )} @@ -56,15 +56,15 @@ export function ApprovalsEmptyState({ orgId }: ApprovalsEmptyStateProps) {

-
-
- +
+
+
-
-

+
+

{t("approvalsEmptyStateStep2Title")}

-

+

{t( "approvalsEmptyStateStep2Description" )} @@ -73,8 +73,8 @@ export function ApprovalsEmptyState({ orgId }: ApprovalsEmptyStateProps) {

- {/* Abstract UI Preview */} -
+ {/* Abstract UI Preview - Hidden on mobile */} +
@@ -112,8 +112,8 @@ export function ApprovalsEmptyState({ orgId }: ApprovalsEmptyStateProps) {
- - From 7ed8b16a5362cd75712c6756a0abd9769e48ad90 Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Tue, 20 Jan 2026 10:18:17 -0800 Subject: [PATCH 17/42] fix credenza dialog spacing on mobile --- src/components/Credenza.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/Credenza.tsx b/src/components/Credenza.tsx index e6dd14eb..2a59eca1 100644 --- a/src/components/Credenza.tsx +++ b/src/components/Credenza.tsx @@ -83,7 +83,10 @@ const CredenzaContent = ({ className, children, ...props }: CredenzaProps) => { return ( e.preventDefault()} @@ -166,7 +169,7 @@ const CredenzaFooter = ({ className, children, ...props }: CredenzaProps) => { return ( Date: Tue, 20 Jan 2026 11:02:06 -0800 Subject: [PATCH 18/42] remove icon --- src/components/ApprovalsEmptyState.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/components/ApprovalsEmptyState.tsx b/src/components/ApprovalsEmptyState.tsx index fadb7b38..098c3488 100644 --- a/src/components/ApprovalsEmptyState.tsx +++ b/src/components/ApprovalsEmptyState.tsx @@ -25,10 +25,6 @@ export function ApprovalsEmptyState({ orgId }: ApprovalsEmptyStateProps) {
-
- -
-

{t("approvalsEmptyStateTitle")} From 1f077d7ec2a145e4168ec7dab87caf7fc98e7737 Mon Sep 17 00:00:00 2001 From: Varun Narravula Date: Tue, 20 Jan 2026 06:48:40 -0800 Subject: [PATCH 19/42] refactor(fingerprint): start taking fingerprint snapshots in new table --- server/db/pg/schema/schema.ts | 27 +++- server/db/sqlite/schema/schema.ts | 27 +++- .../routers/approvals/listApprovals.ts | 58 ++++---- server/routers/client/getClient.ts | 39 +++--- server/routers/client/listClients.ts | 20 +-- server/routers/olm/fingerprintingUtils.ts | 132 ++++++++++++++++++ server/routers/olm/getUserOlm.ts | 23 ++- server/routers/olm/handleOlmPingMessage.ts | 66 +++------ .../routers/olm/handleOlmRegisterMessage.ts | 21 +-- server/routers/olm/listUserOlms.ts | 9 +- .../routers/olm/recoverOlmWithFingerprint.ts | 16 ++- 11 files changed, 307 insertions(+), 131 deletions(-) create mode 100644 server/routers/olm/fingerprintingUtils.ts diff --git a/server/db/pg/schema/schema.ts b/server/db/pg/schema/schema.ts index 9fb1932c..4fae35f9 100644 --- a/server/db/pg/schema/schema.ts +++ b/server/db/pg/schema/schema.ts @@ -780,7 +780,7 @@ export const olms = pgTable("olms", { archived: boolean("archived").notNull().default(false) }); -export const fingerprints = pgTable("fingerprints", { +export const currentFingerprint = pgTable("currentFingerprint", { fingerprintId: serial("id").primaryKey(), olmId: text("olmId") @@ -792,7 +792,7 @@ export const fingerprints = pgTable("fingerprints", { username: text("username"), hostname: text("hostname"), - platform: text("platform"), // macos | windows | linux | ios | android | unknown + platform: text("platform"), osVersion: text("osVersion"), kernelVersion: text("kernelVersion"), arch: text("arch"), @@ -801,6 +801,29 @@ export const fingerprints = pgTable("fingerprints", { platformFingerprint: varchar("platformFingerprint") }); +export const fingerprintSnapshots = pgTable("fingerprintSnapshots", { + snapshotId: serial("id").primaryKey(), + + fingerprintId: integer("fingerprintId") + .references(() => currentFingerprint.fingerprintId, { + onDelete: "cascade" + }) + .notNull(), + + username: text("username"), + hostname: text("hostname"), + platform: text("platform"), + osVersion: text("osVersion"), + kernelVersion: text("kernelVersion"), + arch: text("arch"), + deviceModel: text("deviceModel"), + serialNumber: text("serialNumber"), + platformFingerprint: varchar("platformFingerprint"), + + hash: text("hash").notNull(), + collectedAt: integer("collectedAt").notNull() +}); + export const olmSessions = pgTable("clientSession", { sessionId: varchar("id").primaryKey(), olmId: varchar("olmId") diff --git a/server/db/sqlite/schema/schema.ts b/server/db/sqlite/schema/schema.ts index 8fe0152a..eedbfb69 100644 --- a/server/db/sqlite/schema/schema.ts +++ b/server/db/sqlite/schema/schema.ts @@ -497,7 +497,7 @@ export const olms = sqliteTable("olms", { archived: integer("archived", { mode: "boolean" }).notNull().default(false) }); -export const fingerprints = sqliteTable("fingerprints", { +export const currentFingerprint = sqliteTable("currentFingerprint", { fingerprintId: integer("id").primaryKey({ autoIncrement: true }), olmId: text("olmId") @@ -509,7 +509,7 @@ export const fingerprints = sqliteTable("fingerprints", { username: text("username"), hostname: text("hostname"), - platform: text("platform"), // macos | windows | linux | ios | android | unknown + platform: text("platform"), osVersion: text("osVersion"), kernelVersion: text("kernelVersion"), arch: text("arch"), @@ -518,6 +518,29 @@ export const fingerprints = sqliteTable("fingerprints", { platformFingerprint: text("platformFingerprint") }); +export const fingerprintSnapshots = sqliteTable("fingerprintSnapshots", { + snapshotId: integer("id").primaryKey({ autoIncrement: true }), + + fingerprintId: integer("fingerprintId") + .references(() => currentFingerprint.fingerprintId, { + onDelete: "cascade" + }) + .notNull(), + + username: text("username"), + hostname: text("hostname"), + platform: text("platform"), + osVersion: text("osVersion"), + kernelVersion: text("kernelVersion"), + arch: text("arch"), + deviceModel: text("deviceModel"), + serialNumber: text("serialNumber"), + platformFingerprint: text("platformFingerprint"), + + hash: text("hash").notNull(), + collectedAt: integer("collectedAt").notNull() +}); + export const twoFactorBackupCodes = sqliteTable("twoFactorBackupCodes", { codeId: integer("id").primaryKey({ autoIncrement: true }), userId: text("userId") diff --git a/server/private/routers/approvals/listApprovals.ts b/server/private/routers/approvals/listApprovals.ts index 93d20e76..739238c8 100644 --- a/server/private/routers/approvals/listApprovals.ts +++ b/server/private/routers/approvals/listApprovals.ts @@ -21,7 +21,15 @@ import type { Request, Response, NextFunction } from "express"; import { build } from "@server/build"; import { getOrgTierData } from "@server/lib/billing"; import { TierId } from "@server/lib/billing/tiers"; -import { approvals, clients, db, users, olms, fingerprints, type Approval } from "@server/db"; +import { + approvals, + clients, + db, + users, + olms, + currentFingerprint, + type Approval +} from "@server/db"; import { eq, isNull, sql, not, and, desc } from "drizzle-orm"; import response from "@server/lib/response"; import { getUserDeviceName } from "@server/db/names"; @@ -92,14 +100,14 @@ async function queryApprovals( }, clientName: clients.name, niceId: clients.niceId, - deviceModel: fingerprints.deviceModel, - fingerprintPlatform: fingerprints.platform, - fingerprintOsVersion: fingerprints.osVersion, - fingerprintKernelVersion: fingerprints.kernelVersion, - fingerprintArch: fingerprints.arch, - fingerprintSerialNumber: fingerprints.serialNumber, - fingerprintUsername: fingerprints.username, - fingerprintHostname: fingerprints.hostname + deviceModel: currentFingerprint.deviceModel, + fingerprintPlatform: currentFingerprint.platform, + fingerprintOsVersion: currentFingerprint.osVersion, + fingerprintKernelVersion: currentFingerprint.kernelVersion, + fingerprintArch: currentFingerprint.arch, + fingerprintSerialNumber: currentFingerprint.serialNumber, + fingerprintUsername: currentFingerprint.username, + fingerprintHostname: currentFingerprint.hostname }) .from(approvals) .innerJoin(users, and(eq(approvals.userId, users.userId))) @@ -111,7 +119,7 @@ async function queryApprovals( ) ) .leftJoin(olms, eq(clients.clientId, olms.clientId)) - .leftJoin(fingerprints, eq(olms.olmId, fingerprints.olmId)) + .leftJoin(currentFingerprint, eq(olms.olmId, currentFingerprint.olmId)) .where( and( eq(approvals.orgId, orgId), @@ -125,14 +133,14 @@ async function queryApprovals( ) .limit(limit) .offset(offset); - + // Process results to format device names and build fingerprint objects return res.map((approval) => { const model = approval.deviceModel || null; - const deviceName = approval.clientName + const deviceName = approval.clientName ? getUserDeviceName(model, approval.clientName) : null; - + // Build fingerprint object if any fingerprint data exists const hasFingerprintData = approval.fingerprintPlatform || @@ -143,20 +151,20 @@ async function queryApprovals( approval.fingerprintUsername || approval.fingerprintHostname || approval.deviceModel; - + const fingerprint = hasFingerprintData ? { - platform: approval.fingerprintPlatform || null, - osVersion: approval.fingerprintOsVersion || null, - kernelVersion: approval.fingerprintKernelVersion || null, - arch: approval.fingerprintArch || null, - deviceModel: approval.deviceModel || null, - serialNumber: approval.fingerprintSerialNumber || null, - username: approval.fingerprintUsername || null, - hostname: approval.fingerprintHostname || null - } + platform: approval.fingerprintPlatform || null, + osVersion: approval.fingerprintOsVersion || null, + kernelVersion: approval.fingerprintKernelVersion || null, + arch: approval.fingerprintArch || null, + deviceModel: approval.deviceModel || null, + serialNumber: approval.fingerprintSerialNumber || null, + username: approval.fingerprintUsername || null, + hostname: approval.fingerprintHostname || null + } : null; - + const { clientName, deviceModel, @@ -169,7 +177,7 @@ async function queryApprovals( fingerprintHostname, ...rest } = approval; - + return { ...rest, deviceName, diff --git a/server/routers/client/getClient.ts b/server/routers/client/getClient.ts index 7917e037..b7f56640 100644 --- a/server/routers/client/getClient.ts +++ b/server/routers/client/getClient.ts @@ -1,7 +1,7 @@ import { Request, Response, NextFunction } from "express"; import { z } from "zod"; import { db, olms } from "@server/db"; -import { clients, fingerprints } from "@server/db"; +import { clients, currentFingerprint } from "@server/db"; import { eq, and } from "drizzle-orm"; import response from "@server/lib/response"; import HttpCode from "@server/types/HttpCode"; @@ -30,7 +30,10 @@ async function query(clientId?: number, niceId?: string, orgId?: string) { .from(clients) .where(eq(clients.clientId, clientId)) .leftJoin(olms, eq(clients.clientId, olms.clientId)) - .leftJoin(fingerprints, eq(olms.olmId, fingerprints.olmId)) + .leftJoin( + currentFingerprint, + eq(olms.olmId, currentFingerprint.olmId) + ) .limit(1); return res; } else if (niceId && orgId) { @@ -39,7 +42,10 @@ async function query(clientId?: number, niceId?: string, orgId?: string) { .from(clients) .where(and(eq(clients.niceId, niceId), eq(clients.orgId, orgId))) .leftJoin(olms, eq(clients.clientId, olms.clientId)) - .leftJoin(fingerprints, eq(olms.olmId, fingerprints.olmId)) + .leftJoin( + currentFingerprint, + eq(olms.olmId, currentFingerprint.olmId) + ) .limit(1); return res; } @@ -125,24 +131,25 @@ export async function getClient( // Replace name with device name if OLM exists let clientName = client.clients.name; if (client.olms) { - const model = client.fingerprints?.deviceModel || null; + const model = client.currentFingerprint?.deviceModel || null; clientName = getUserDeviceName(model, client.clients.name); } // Build fingerprint data if available - const fingerprintData = client.fingerprints + const fingerprintData = client.currentFingerprint ? { - username: client.fingerprints.username || null, - hostname: client.fingerprints.hostname || null, - platform: client.fingerprints.platform || null, - osVersion: client.fingerprints.osVersion || null, - kernelVersion: client.fingerprints.kernelVersion || null, - arch: client.fingerprints.arch || null, - deviceModel: client.fingerprints.deviceModel || null, - serialNumber: client.fingerprints.serialNumber || null, - firstSeen: client.fingerprints.firstSeen || null, - lastSeen: client.fingerprints.lastSeen || null - } + username: client.currentFingerprint.username || null, + hostname: client.currentFingerprint.hostname || null, + platform: client.currentFingerprint.platform || null, + osVersion: client.currentFingerprint.osVersion || null, + kernelVersion: + client.currentFingerprint.kernelVersion || null, + arch: client.currentFingerprint.arch || null, + deviceModel: client.currentFingerprint.deviceModel || null, + serialNumber: client.currentFingerprint.serialNumber || null, + firstSeen: client.currentFingerprint.firstSeen || null, + lastSeen: client.currentFingerprint.lastSeen || null + } : null; const data: GetClientResponse = { diff --git a/server/routers/client/listClients.ts b/server/routers/client/listClients.ts index 31f75d68..b04a0166 100644 --- a/server/routers/client/listClients.ts +++ b/server/routers/client/listClients.ts @@ -6,7 +6,7 @@ import { sites, userClients, clientSitesAssociationsCache, - fingerprints + currentFingerprint } from "@server/db"; import logger from "@server/logger"; import HttpCode from "@server/types/HttpCode"; @@ -143,20 +143,20 @@ function queryClients( olmArchived: olms.archived, archived: clients.archived, blocked: clients.blocked, - deviceModel: fingerprints.deviceModel, - fingerprintPlatform: fingerprints.platform, - fingerprintOsVersion: fingerprints.osVersion, - fingerprintKernelVersion: fingerprints.kernelVersion, - fingerprintArch: fingerprints.arch, - fingerprintSerialNumber: fingerprints.serialNumber, - fingerprintUsername: fingerprints.username, - fingerprintHostname: fingerprints.hostname + deviceModel: currentFingerprint.deviceModel, + fingerprintPlatform: currentFingerprint.platform, + fingerprintOsVersion: currentFingerprint.osVersion, + fingerprintKernelVersion: currentFingerprint.kernelVersion, + fingerprintArch: currentFingerprint.arch, + fingerprintSerialNumber: currentFingerprint.serialNumber, + fingerprintUsername: currentFingerprint.username, + fingerprintHostname: currentFingerprint.hostname }) .from(clients) .leftJoin(orgs, eq(clients.orgId, orgs.orgId)) .leftJoin(olms, eq(clients.clientId, olms.clientId)) .leftJoin(users, eq(clients.userId, users.userId)) - .leftJoin(fingerprints, eq(olms.olmId, fingerprints.olmId)) + .leftJoin(currentFingerprint, eq(olms.olmId, currentFingerprint.olmId)) .where(and(...conditions)); } diff --git a/server/routers/olm/fingerprintingUtils.ts b/server/routers/olm/fingerprintingUtils.ts new file mode 100644 index 00000000..eba64601 --- /dev/null +++ b/server/routers/olm/fingerprintingUtils.ts @@ -0,0 +1,132 @@ +import { sha256 } from "@oslojs/crypto/sha2"; +import { encodeHexLowerCase } from "@oslojs/encoding"; +import { currentFingerprint, db, fingerprintSnapshots, Olm } from "@server/db"; +import { desc, eq } from "drizzle-orm"; + +function fingerprintHash(fp: any): string { + const canonical = { + username: fp.username ?? null, + hostname: fp.hostname ?? null, + platform: fp.platform ?? null, + osVersion: fp.osVersion ?? null, + kernelVersion: fp.kernelVersion ?? null, + arch: fp.arch ?? null, + deviceModel: fp.deviceModel ?? null, + serialNumber: fp.serialNumber ?? null, + platformFingerprint: fp.platformFingerprint ?? null + }; + + return encodeHexLowerCase( + sha256(new TextEncoder().encode(JSON.stringify(canonical))) + ); +} + +export async function handleFingerprintInsertion(olm: Olm, fingerprint: any) { + if (!fingerprint || !olm.olmId || Object.keys(fingerprint).length < 1) { + return; + } + + const hash = fingerprintHash(fingerprint); + + const now = Math.floor(Date.now() / 1000); + + const [current] = await db + .select() + .from(currentFingerprint) + .where(eq(currentFingerprint.olmId, olm.olmId)) + .limit(1); + + if (!current) { + const [inserted] = await db + .insert(currentFingerprint) + .values({ + olmId: olm.olmId, + firstSeen: now, + lastSeen: now, + + username: fingerprint.username, + hostname: fingerprint.hostname, + platform: fingerprint.platform, + osVersion: fingerprint.osVersion, + kernelVersion: fingerprint.kernelVersion, + arch: fingerprint.arch, + deviceModel: fingerprint.deviceModel, + serialNumber: fingerprint.serialNumber, + platformFingerprint: fingerprint.platformFingerprint + }) + .returning(); + + await db.insert(fingerprintSnapshots).values({ + fingerprintId: inserted.fingerprintId, + + username: fingerprint.username, + hostname: fingerprint.hostname, + platform: fingerprint.platform, + osVersion: fingerprint.osVersion, + kernelVersion: fingerprint.kernelVersion, + arch: fingerprint.arch, + deviceModel: fingerprint.deviceModel, + serialNumber: fingerprint.serialNumber, + platformFingerprint: fingerprint.platformFingerprint, + + hash, + collectedAt: now + }); + + return; + } + + // Get most recent snapshot hash + const [latestSnapshot] = await db + .select({ hash: fingerprintSnapshots.hash }) + .from(fingerprintSnapshots) + .where(eq(fingerprintSnapshots.fingerprintId, current.fingerprintId)) + .orderBy(desc(fingerprintSnapshots.collectedAt)) + .limit(1); + + const changed = !latestSnapshot || latestSnapshot.hash !== hash; + + if (changed) { + // Insert snapshot if it has changed + await db.insert(fingerprintSnapshots).values({ + fingerprintId: current.fingerprintId, + + username: fingerprint.username, + hostname: fingerprint.hostname, + platform: fingerprint.platform, + osVersion: fingerprint.osVersion, + kernelVersion: fingerprint.kernelVersion, + arch: fingerprint.arch, + deviceModel: fingerprint.deviceModel, + serialNumber: fingerprint.serialNumber, + platformFingerprint: fingerprint.platformFingerprint, + + hash, + collectedAt: now + }); + + // Update current fingerprint fully + await db + .update(currentFingerprint) + .set({ + lastSeen: now, + + username: fingerprint.username, + hostname: fingerprint.hostname, + platform: fingerprint.platform, + osVersion: fingerprint.osVersion, + kernelVersion: fingerprint.kernelVersion, + arch: fingerprint.arch, + deviceModel: fingerprint.deviceModel, + serialNumber: fingerprint.serialNumber, + platformFingerprint: fingerprint.platformFingerprint + }) + .where(eq(currentFingerprint.fingerprintId, current.fingerprintId)); + } else { + // No change, so only bump lastSeen + await db + .update(currentFingerprint) + .set({ lastSeen: now }) + .where(eq(currentFingerprint.fingerprintId, current.fingerprintId)); + } +} diff --git a/server/routers/olm/getUserOlm.ts b/server/routers/olm/getUserOlm.ts index 578438f8..f7ba038a 100644 --- a/server/routers/olm/getUserOlm.ts +++ b/server/routers/olm/getUserOlm.ts @@ -1,6 +1,6 @@ import { NextFunction, Request, Response } from "express"; import { db } from "@server/db"; -import { olms, clients, fingerprints } from "@server/db"; +import { olms, clients, currentFingerprint } from "@server/db"; import { eq, and } from "drizzle-orm"; import HttpCode from "@server/types/HttpCode"; import createHttpError from "http-errors"; @@ -66,16 +66,14 @@ export async function getUserOlm( .select() .from(olms) .where(and(eq(olms.userId, userId), eq(olms.olmId, olmId))) - .leftJoin(fingerprints, eq(olms.olmId, fingerprints.olmId)) + .leftJoin( + currentFingerprint, + eq(olms.olmId, currentFingerprint.olmId) + ) .limit(1); if (!result || !result.olms) { - return next( - createHttpError( - HttpCode.NOT_FOUND, - "Olm not found" - ) - ); + return next(createHttpError(HttpCode.NOT_FOUND, "Olm not found")); } const olm = result.olms; @@ -98,12 +96,13 @@ export async function getUserOlm( } // Replace name with device name - const model = result.fingerprints?.deviceModel || null; + const model = result.currentFingerprint?.deviceModel || null; const newName = getUserDeviceName(model, olm.name); - const responseData = blocked !== undefined - ? { ...olm, name: newName, blocked } - : { ...olm, name: newName }; + const responseData = + blocked !== undefined + ? { ...olm, name: newName, blocked } + : { ...olm, name: newName }; return response(res, { data: responseData, diff --git a/server/routers/olm/handleOlmPingMessage.ts b/server/routers/olm/handleOlmPingMessage.ts index f0999f4f..6ebbceb9 100644 --- a/server/routers/olm/handleOlmPingMessage.ts +++ b/server/routers/olm/handleOlmPingMessage.ts @@ -1,5 +1,5 @@ import { disconnectClient, getClientConfigVersion } from "#dynamic/routers/ws"; -import { clientPostureSnapshots, db, fingerprints } from "@server/db"; +import { clientPostureSnapshots, db, currentFingerprint } from "@server/db"; import { MessageHandler } from "@server/routers/ws"; import { clients, olms, Olm } from "@server/db"; import { eq, lt, isNull, and, or } from "drizzle-orm"; @@ -11,6 +11,7 @@ import { encodeHexLowerCase } from "@oslojs/encoding"; import { sha256 } from "@oslojs/crypto/sha2"; import { sendOlmSyncMessage } from "./sync"; import { OlmErrorCodes } from "./error"; +import { handleFingerprintInsertion } from "./fingerprintingUtils"; // Track if the offline checker interval is running let offlineCheckerInterval: NodeJS.Timeout | null = null; @@ -173,15 +174,25 @@ export const handleOlmPingMessage: MessageHandler = async (context) => { } // get the version - logger.debug(`handleOlmPingMessage: About to get config version for olmId: ${olm.olmId}`); + logger.debug( + `handleOlmPingMessage: About to get config version for olmId: ${olm.olmId}` + ); const configVersion = await getClientConfigVersion(olm.olmId); - logger.debug(`handleOlmPingMessage: Got config version: ${configVersion} (type: ${typeof configVersion})`); + logger.debug( + `handleOlmPingMessage: Got config version: ${configVersion} (type: ${typeof configVersion})` + ); if (configVersion == null || configVersion === undefined) { - logger.debug(`handleOlmPingMessage: could not get config version from server for olmId: ${olm.olmId}`); + logger.debug( + `handleOlmPingMessage: could not get config version from server for olmId: ${olm.olmId}` + ); } - if (message.configVersion != null && configVersion != null && configVersion != message.configVersion) { + if ( + message.configVersion != null && + configVersion != null && + configVersion != message.configVersion + ) { logger.debug( `handleOlmPingMessage: Olm ping with outdated config version: ${message.configVersion} (current: ${configVersion})` ); @@ -204,55 +215,14 @@ export const handleOlmPingMessage: MessageHandler = async (context) => { .set({ archived: false }) .where(eq(olms.olmId, olm.olmId)); } + + await handleFingerprintInsertion(olm, fingerprint); } catch (error) { logger.error("Error handling ping message", { error }); } const now = Math.floor(Date.now() / 1000); - if (fingerprint && olm.olmId) { - const [existingFingerprint] = await db - .select() - .from(fingerprints) - .where(eq(fingerprints.olmId, olm.olmId)) - .limit(1); - - if (!existingFingerprint) { - await db.insert(fingerprints).values({ - olmId: olm.olmId, - firstSeen: now, - lastSeen: now, - - username: fingerprint.username, - hostname: fingerprint.hostname, - platform: fingerprint.platform, - osVersion: fingerprint.osVersion, - kernelVersion: fingerprint.kernelVersion, - arch: fingerprint.arch, - deviceModel: fingerprint.deviceModel, - serialNumber: fingerprint.serialNumber, - platformFingerprint: fingerprint.platformFingerprint - }); - } else { - await db - .update(fingerprints) - .set({ - lastSeen: now, - - username: fingerprint.username, - hostname: fingerprint.hostname, - platform: fingerprint.platform, - osVersion: fingerprint.osVersion, - kernelVersion: fingerprint.kernelVersion, - arch: fingerprint.arch, - deviceModel: fingerprint.deviceModel, - serialNumber: fingerprint.serialNumber, - platformFingerprint: fingerprint.platformFingerprint - }) - .where(eq(fingerprints.olmId, olm.olmId)); - } - } - if (postures && olm.clientId) { await db.insert(clientPostureSnapshots).values({ clientId: olm.clientId, diff --git a/server/routers/olm/handleOlmRegisterMessage.ts b/server/routers/olm/handleOlmRegisterMessage.ts index f21705dd..82d4cdb9 100644 --- a/server/routers/olm/handleOlmRegisterMessage.ts +++ b/server/routers/olm/handleOlmRegisterMessage.ts @@ -1,4 +1,9 @@ -import { clientPostureSnapshots, db, fingerprints, orgs } from "@server/db"; +import { + clientPostureSnapshots, + db, + currentFingerprint, + orgs +} from "@server/db"; import { MessageHandler } from "@server/routers/ws"; import { clients, @@ -48,12 +53,12 @@ export const handleOlmRegisterMessage: MessageHandler = async (context) => { if (fingerprint) { const [existingFingerprint] = await db .select() - .from(fingerprints) - .where(eq(fingerprints.olmId, olm.olmId)) + .from(currentFingerprint) + .where(eq(currentFingerprint.olmId, olm.olmId)) .limit(1); if (!existingFingerprint) { - await db.insert(fingerprints).values({ + await db.insert(currentFingerprint).values({ olmId: olm.olmId, firstSeen: now, lastSeen: now, @@ -75,16 +80,16 @@ export const handleOlmRegisterMessage: MessageHandler = async (context) => { existingFingerprint.platform !== fingerprint.platform || existingFingerprint.osVersion !== fingerprint.osVersion || existingFingerprint.kernelVersion !== - fingerprint.kernelVersion || + fingerprint.kernelVersion || existingFingerprint.arch !== fingerprint.arch || existingFingerprint.deviceModel !== fingerprint.deviceModel || existingFingerprint.serialNumber !== fingerprint.serialNumber || existingFingerprint.platformFingerprint !== - fingerprint.platformFingerprint; + fingerprint.platformFingerprint; if (hasChanges) { await db - .update(fingerprints) + .update(currentFingerprint) .set({ lastSeen: now, username: fingerprint.username, @@ -97,7 +102,7 @@ export const handleOlmRegisterMessage: MessageHandler = async (context) => { serialNumber: fingerprint.serialNumber, platformFingerprint: fingerprint.platformFingerprint }) - .where(eq(fingerprints.olmId, olm.olmId)); + .where(eq(currentFingerprint.olmId, olm.olmId)); } } } diff --git a/server/routers/olm/listUserOlms.ts b/server/routers/olm/listUserOlms.ts index e8398798..ac92afc8 100644 --- a/server/routers/olm/listUserOlms.ts +++ b/server/routers/olm/listUserOlms.ts @@ -1,5 +1,5 @@ import { NextFunction, Request, Response } from "express"; -import { db, fingerprints } from "@server/db"; +import { db, currentFingerprint } from "@server/db"; import { olms } from "@server/db"; import { eq, count, desc } from "drizzle-orm"; import HttpCode from "@server/types/HttpCode"; @@ -104,13 +104,16 @@ export async function listUserOlms( .select() .from(olms) .where(eq(olms.userId, userId)) - .leftJoin(fingerprints, eq(olms.olmId, fingerprints.olmId)) + .leftJoin( + currentFingerprint, + eq(olms.olmId, currentFingerprint.olmId) + ) .orderBy(desc(olms.dateCreated)) .limit(limit) .offset(offset); const userOlms = list.map((item) => { - const model = item.fingerprints?.deviceModel || null; + const model = item.currentFingerprint?.deviceModel || null; const newName = getUserDeviceName(model, item.olms.name); return { diff --git a/server/routers/olm/recoverOlmWithFingerprint.ts b/server/routers/olm/recoverOlmWithFingerprint.ts index 49f0542f..82515582 100644 --- a/server/routers/olm/recoverOlmWithFingerprint.ts +++ b/server/routers/olm/recoverOlmWithFingerprint.ts @@ -1,4 +1,4 @@ -import { db, fingerprints, olms } from "@server/db"; +import { db, currentFingerprint, olms } from "@server/db"; import logger from "@server/logger"; import HttpCode from "@server/types/HttpCode"; import { and, eq } from "drizzle-orm"; @@ -55,18 +55,24 @@ export async function recoverOlmWithFingerprint( const result = await db .select({ olm: olms, - fingerprint: fingerprints + fingerprint: currentFingerprint }) .from(olms) - .innerJoin(fingerprints, eq(fingerprints.olmId, olms.olmId)) + .innerJoin( + currentFingerprint, + eq(currentFingerprint.olmId, olms.olmId) + ) .where( and( eq(olms.userId, userId), eq(olms.archived, false), - eq(fingerprints.platformFingerprint, platformFingerprint) + eq( + currentFingerprint.platformFingerprint, + platformFingerprint + ) ) ) - .orderBy(fingerprints.lastSeen); + .orderBy(currentFingerprint.lastSeen); if (!result || result.length == 0) { return next( From 3ce1afbcc93a6fcb91576a031b1a943dbdeb10ed Mon Sep 17 00:00:00 2001 From: Varun Narravula Date: Tue, 20 Jan 2026 07:00:40 -0800 Subject: [PATCH 20/42] feat(fingerprint): consolidate posture checks into fingerprint table --- server/db/pg/schema/schema.ts | 154 +++++++++------- server/db/sqlite/schema/schema.ts | 172 +++++++++++------- server/routers/olm/fingerprintingUtils.ts | 123 +++++++++++-- server/routers/olm/handleOlmPingMessage.ts | 29 +-- .../routers/olm/handleOlmRegisterMessage.ts | 88 +-------- 5 files changed, 309 insertions(+), 257 deletions(-) diff --git a/server/db/pg/schema/schema.ts b/server/db/pg/schema/schema.ts index 4fae35f9..1ba1d16e 100644 --- a/server/db/pg/schema/schema.ts +++ b/server/db/pg/schema/schema.ts @@ -726,6 +726,99 @@ export const clientPostureSnapshots = pgTable("clientPostureSnapshots", { onDelete: "cascade" }), + collectedAt: integer("collectedAt").notNull() +}); + +export const olms = pgTable("olms", { + olmId: varchar("id").primaryKey(), + secretHash: varchar("secretHash").notNull(), + dateCreated: varchar("dateCreated").notNull(), + version: text("version"), + agent: text("agent"), + name: varchar("name"), + clientId: integer("clientId").references(() => clients.clientId, { + // we will switch this depending on the current org it wants to connect to + onDelete: "set null" + }), + userId: text("userId").references(() => users.userId, { + // optionally tied to a user and in this case delete when the user deletes + onDelete: "cascade" + }), + archived: boolean("archived").notNull().default(false) +}); + +export const currentFingerprint = pgTable("currentFingerprint", { + fingerprintId: serial("id").primaryKey(), + + olmId: text("olmId") + .references(() => olms.olmId, { onDelete: "cascade" }) + .notNull(), + + firstSeen: integer("firstSeen").notNull(), + lastSeen: integer("lastSeen").notNull(), + lastCollectedAt: integer("lastCollectedAt").notNull(), + + username: text("username"), + hostname: text("hostname"), + platform: text("platform"), + osVersion: text("osVersion"), + kernelVersion: text("kernelVersion"), + arch: text("arch"), + deviceModel: text("deviceModel"), + serialNumber: text("serialNumber"), + platformFingerprint: varchar("platformFingerprint"), + + // Platform-agnostic checks + + biometricsEnabled: boolean("biometricsEnabled").notNull().default(false), + diskEncrypted: boolean("diskEncrypted").notNull().default(false), + firewallEnabled: boolean("firewallEnabled").notNull().default(false), + autoUpdatesEnabled: boolean("autoUpdatesEnabled").notNull().default(false), + tpmAvailable: boolean("tpmAvailable").notNull().default(false), + + // Windows-specific posture check information + + windowsDefenderEnabled: boolean("windowsDefenderEnabled") + .notNull() + .default(false), + + // macOS-specific posture check information + + macosSipEnabled: boolean("macosSipEnabled").notNull().default(false), + macosGatekeeperEnabled: boolean("macosGatekeeperEnabled") + .notNull() + .default(false), + macosFirewallStealthMode: boolean("macosFirewallStealthMode") + .notNull() + .default(false), + + // Linux-specific posture check information + + linuxAppArmorEnabled: boolean("linuxAppArmorEnabled") + .notNull() + .default(false), + linuxSELinuxEnabled: boolean("linuxSELinuxEnabled").notNull().default(false) +}); + +export const fingerprintSnapshots = pgTable("fingerprintSnapshots", { + snapshotId: serial("id").primaryKey(), + + fingerprintId: integer("fingerprintId") + .references(() => currentFingerprint.fingerprintId, { + onDelete: "cascade" + }) + .notNull(), + + username: text("username"), + hostname: text("hostname"), + platform: text("platform"), + osVersion: text("osVersion"), + kernelVersion: text("kernelVersion"), + arch: text("arch"), + deviceModel: text("deviceModel"), + serialNumber: text("serialNumber"), + platformFingerprint: varchar("platformFingerprint"), + // Platform-agnostic checks biometricsEnabled: boolean("biometricsEnabled").notNull().default(false), @@ -759,67 +852,6 @@ export const clientPostureSnapshots = pgTable("clientPostureSnapshots", { .notNull() .default(false), - collectedAt: integer("collectedAt").notNull() -}); - -export const olms = pgTable("olms", { - olmId: varchar("id").primaryKey(), - secretHash: varchar("secretHash").notNull(), - dateCreated: varchar("dateCreated").notNull(), - version: text("version"), - agent: text("agent"), - name: varchar("name"), - clientId: integer("clientId").references(() => clients.clientId, { - // we will switch this depending on the current org it wants to connect to - onDelete: "set null" - }), - userId: text("userId").references(() => users.userId, { - // optionally tied to a user and in this case delete when the user deletes - onDelete: "cascade" - }), - archived: boolean("archived").notNull().default(false) -}); - -export const currentFingerprint = pgTable("currentFingerprint", { - fingerprintId: serial("id").primaryKey(), - - olmId: text("olmId") - .references(() => olms.olmId, { onDelete: "cascade" }) - .notNull(), - - firstSeen: integer("firstSeen").notNull(), - lastSeen: integer("lastSeen").notNull(), - - username: text("username"), - hostname: text("hostname"), - platform: text("platform"), - osVersion: text("osVersion"), - kernelVersion: text("kernelVersion"), - arch: text("arch"), - deviceModel: text("deviceModel"), - serialNumber: text("serialNumber"), - platformFingerprint: varchar("platformFingerprint") -}); - -export const fingerprintSnapshots = pgTable("fingerprintSnapshots", { - snapshotId: serial("id").primaryKey(), - - fingerprintId: integer("fingerprintId") - .references(() => currentFingerprint.fingerprintId, { - onDelete: "cascade" - }) - .notNull(), - - username: text("username"), - hostname: text("hostname"), - platform: text("platform"), - osVersion: text("osVersion"), - kernelVersion: text("kernelVersion"), - arch: text("arch"), - deviceModel: text("deviceModel"), - serialNumber: text("serialNumber"), - platformFingerprint: varchar("platformFingerprint"), - hash: text("hash").notNull(), collectedAt: integer("collectedAt").notNull() }); diff --git a/server/db/sqlite/schema/schema.ts b/server/db/sqlite/schema/schema.ts index eedbfb69..8b44e995 100644 --- a/server/db/sqlite/schema/schema.ts +++ b/server/db/sqlite/schema/schema.ts @@ -416,12 +416,117 @@ export const clientSiteResourcesAssociationsCache = sqliteTable( } ); -export const clientPostureSnapshots = sqliteTable("clientPostureSnapshots", { - snapshotId: integer("snapshotId").primaryKey({ autoIncrement: true }), - +export const olms = sqliteTable("olms", { + olmId: text("id").primaryKey(), + secretHash: text("secretHash").notNull(), + dateCreated: text("dateCreated").notNull(), + version: text("version"), + agent: text("agent"), + name: text("name"), clientId: integer("clientId").references(() => clients.clientId, { + // we will switch this depending on the current org it wants to connect to + onDelete: "set null" + }), + userId: text("userId").references(() => users.userId, { + // optionally tied to a user and in this case delete when the user deletes onDelete: "cascade" }), + archived: integer("archived", { mode: "boolean" }).notNull().default(false) +}); + +export const currentFingerprint = sqliteTable("currentFingerprint", { + fingerprintId: integer("id").primaryKey({ autoIncrement: true }), + + olmId: text("olmId") + .references(() => olms.olmId, { onDelete: "cascade" }) + .notNull(), + + firstSeen: integer("firstSeen").notNull(), + lastSeen: integer("lastSeen").notNull(), + lastCollectedAt: integer("lastCollectedAt").notNull(), + + username: text("username"), + hostname: text("hostname"), + platform: text("platform"), + osVersion: text("osVersion"), + kernelVersion: text("kernelVersion"), + arch: text("arch"), + deviceModel: text("deviceModel"), + serialNumber: text("serialNumber"), + platformFingerprint: text("platformFingerprint"), + + // Platform-agnostic checks + + biometricsEnabled: integer("biometricsEnabled", { mode: "boolean" }) + .notNull() + .default(false), + diskEncrypted: integer("diskEncrypted", { mode: "boolean" }) + .notNull() + .default(false), + firewallEnabled: integer("firewallEnabled", { mode: "boolean" }) + .notNull() + .default(false), + autoUpdatesEnabled: integer("autoUpdatesEnabled", { mode: "boolean" }) + .notNull() + .default(false), + tpmAvailable: integer("tpmAvailable", { mode: "boolean" }) + .notNull() + .default(false), + + // Windows-specific posture check information + + windowsDefenderEnabled: integer("windowsDefenderEnabled", { + mode: "boolean" + }) + .notNull() + .default(false), + + // macOS-specific posture check information + + macosSipEnabled: integer("macosSipEnabled", { mode: "boolean" }) + .notNull() + .default(false), + macosGatekeeperEnabled: integer("macosGatekeeperEnabled", { + mode: "boolean" + }) + .notNull() + .default(false), + macosFirewallStealthMode: integer("macosFirewallStealthMode", { + mode: "boolean" + }) + .notNull() + .default(false), + + // Linux-specific posture check information + + linuxAppArmorEnabled: integer("linuxAppArmorEnabled", { mode: "boolean" }) + .notNull() + .default(false), + linuxSELinuxEnabled: integer("linuxSELinuxEnabled", { + mode: "boolean" + }) + .notNull() + .default(false) +}); + +export const fingerprintSnapshots = sqliteTable("fingerprintSnapshots", { + snapshotId: integer("id").primaryKey({ autoIncrement: true }), + + fingerprintId: integer("fingerprintId") + .references(() => currentFingerprint.fingerprintId, { + onDelete: "cascade" + }) + .notNull(), + + username: text("username"), + hostname: text("hostname"), + platform: text("platform"), + osVersion: text("osVersion"), + kernelVersion: text("kernelVersion"), + arch: text("arch"), + deviceModel: text("deviceModel"), + serialNumber: text("serialNumber"), + platformFingerprint: text("platformFingerprint"), // Platform-agnostic checks @@ -476,67 +581,6 @@ export const clientPostureSnapshots = sqliteTable("clientPostureSnapshots", { .notNull() .default(false), - collectedAt: integer("collectedAt").notNull() -}); - -export const olms = sqliteTable("olms", { - olmId: text("id").primaryKey(), - secretHash: text("secretHash").notNull(), - dateCreated: text("dateCreated").notNull(), - version: text("version"), - agent: text("agent"), - name: text("name"), - clientId: integer("clientId").references(() => clients.clientId, { - // we will switch this depending on the current org it wants to connect to - onDelete: "set null" - }), - userId: text("userId").references(() => users.userId, { - // optionally tied to a user and in this case delete when the user deletes - onDelete: "cascade" - }), - archived: integer("archived", { mode: "boolean" }).notNull().default(false) -}); - -export const currentFingerprint = sqliteTable("currentFingerprint", { - fingerprintId: integer("id").primaryKey({ autoIncrement: true }), - - olmId: text("olmId") - .references(() => olms.olmId, { onDelete: "cascade" }) - .notNull(), - - firstSeen: integer("firstSeen").notNull(), - lastSeen: integer("lastSeen").notNull(), - - username: text("username"), - hostname: text("hostname"), - platform: text("platform"), - osVersion: text("osVersion"), - kernelVersion: text("kernelVersion"), - arch: text("arch"), - deviceModel: text("deviceModel"), - serialNumber: text("serialNumber"), - platformFingerprint: text("platformFingerprint") -}); - -export const fingerprintSnapshots = sqliteTable("fingerprintSnapshots", { - snapshotId: integer("id").primaryKey({ autoIncrement: true }), - - fingerprintId: integer("fingerprintId") - .references(() => currentFingerprint.fingerprintId, { - onDelete: "cascade" - }) - .notNull(), - - username: text("username"), - hostname: text("hostname"), - platform: text("platform"), - osVersion: text("osVersion"), - kernelVersion: text("kernelVersion"), - arch: text("arch"), - deviceModel: text("deviceModel"), - serialNumber: text("serialNumber"), - platformFingerprint: text("platformFingerprint"), - hash: text("hash").notNull(), collectedAt: integer("collectedAt").notNull() }); diff --git a/server/routers/olm/fingerprintingUtils.ts b/server/routers/olm/fingerprintingUtils.ts index eba64601..1462ce86 100644 --- a/server/routers/olm/fingerprintingUtils.ts +++ b/server/routers/olm/fingerprintingUtils.ts @@ -3,17 +3,32 @@ import { encodeHexLowerCase } from "@oslojs/encoding"; import { currentFingerprint, db, fingerprintSnapshots, Olm } from "@server/db"; import { desc, eq } from "drizzle-orm"; -function fingerprintHash(fp: any): string { +function fingerprintSnapshotHash(fingerprint: any, postures: any): string { const canonical = { - username: fp.username ?? null, - hostname: fp.hostname ?? null, - platform: fp.platform ?? null, - osVersion: fp.osVersion ?? null, - kernelVersion: fp.kernelVersion ?? null, - arch: fp.arch ?? null, - deviceModel: fp.deviceModel ?? null, - serialNumber: fp.serialNumber ?? null, - platformFingerprint: fp.platformFingerprint ?? null + username: fingerprint.username ?? null, + hostname: fingerprint.hostname ?? null, + platform: fingerprint.platform ?? null, + osVersion: fingerprint.osVersion ?? null, + kernelVersion: fingerprint.kernelVersion ?? null, + arch: fingerprint.arch ?? null, + deviceModel: fingerprint.deviceModel ?? null, + serialNumber: fingerprint.serialNumber ?? null, + platformFingerprint: fingerprint.platformFingerprint ?? null, + + biometricsEnabled: postures.biometricsEnabled ?? false, + diskEncrypted: postures.diskEncrypted ?? false, + firewallEnabled: postures.firewallEnabled ?? false, + autoUpdatesEnabled: postures.autoUpdatesEnabled ?? false, + tpmAvailable: postures.tpmAvailable ?? false, + + windowsDefenderEnabled: postures.windowsDefenderEnabled ?? false, + + macosSipEnabled: postures.macosSipEnabled ?? false, + macosGatekeeperEnabled: postures.macosGatekeeperEnabled ?? false, + macosFirewallStealthMode: postures.macosFirewallStealthMode ?? false, + + linuxAppArmorEnabled: postures.linuxAppArmorEnabled ?? false, + linuxSELinuxEnabled: postures.linuxSELinuxEnabled ?? false }; return encodeHexLowerCase( @@ -21,14 +36,23 @@ function fingerprintHash(fp: any): string { ); } -export async function handleFingerprintInsertion(olm: Olm, fingerprint: any) { - if (!fingerprint || !olm.olmId || Object.keys(fingerprint).length < 1) { +export async function handleFingerprintInsertion( + olm: Olm, + fingerprint: any, + postures: any +) { + if ( + !olm?.olmId || + !fingerprint || + !postures || + Object.keys(fingerprint).length === 0 || + Object.keys(postures).length === 0 + ) { return; } - const hash = fingerprintHash(fingerprint); - const now = Math.floor(Date.now() / 1000); + const hash = fingerprintSnapshotHash(fingerprint, postures); const [current] = await db .select() @@ -43,7 +67,9 @@ export async function handleFingerprintInsertion(olm: Olm, fingerprint: any) { olmId: olm.olmId, firstSeen: now, lastSeen: now, + lastCollectedAt: now, + // fingerprint username: fingerprint.username, hostname: fingerprint.hostname, platform: fingerprint.platform, @@ -52,7 +78,22 @@ export async function handleFingerprintInsertion(olm: Olm, fingerprint: any) { arch: fingerprint.arch, deviceModel: fingerprint.deviceModel, serialNumber: fingerprint.serialNumber, - platformFingerprint: fingerprint.platformFingerprint + platformFingerprint: fingerprint.platformFingerprint, + + biometricsEnabled: postures.biometricsEnabled, + diskEncrypted: postures.diskEncrypted, + firewallEnabled: postures.firewallEnabled, + autoUpdatesEnabled: postures.autoUpdatesEnabled, + tpmAvailable: postures.tpmAvailable, + + windowsDefenderEnabled: postures.windowsDefenderEnabled, + + macosSipEnabled: postures.macosSipEnabled, + macosGatekeeperEnabled: postures.macosGatekeeperEnabled, + macosFirewallStealthMode: postures.macosFirewallStealthMode, + + linuxAppArmorEnabled: postures.linuxAppArmorEnabled, + linuxSELinuxEnabled: postures.linuxSELinuxEnabled }) .returning(); @@ -69,6 +110,21 @@ export async function handleFingerprintInsertion(olm: Olm, fingerprint: any) { serialNumber: fingerprint.serialNumber, platformFingerprint: fingerprint.platformFingerprint, + biometricsEnabled: postures.biometricsEnabled, + diskEncrypted: postures.diskEncrypted, + firewallEnabled: postures.firewallEnabled, + autoUpdatesEnabled: postures.autoUpdatesEnabled, + tpmAvailable: postures.tpmAvailable, + + windowsDefenderEnabled: postures.windowsDefenderEnabled, + + macosSipEnabled: postures.macosSipEnabled, + macosGatekeeperEnabled: postures.macosGatekeeperEnabled, + macosFirewallStealthMode: postures.macosFirewallStealthMode, + + linuxAppArmorEnabled: postures.linuxAppArmorEnabled, + linuxSELinuxEnabled: postures.linuxSELinuxEnabled, + hash, collectedAt: now }); @@ -76,7 +132,6 @@ export async function handleFingerprintInsertion(olm: Olm, fingerprint: any) { return; } - // Get most recent snapshot hash const [latestSnapshot] = await db .select({ hash: fingerprintSnapshots.hash }) .from(fingerprintSnapshots) @@ -87,7 +142,6 @@ export async function handleFingerprintInsertion(olm: Olm, fingerprint: any) { const changed = !latestSnapshot || latestSnapshot.hash !== hash; if (changed) { - // Insert snapshot if it has changed await db.insert(fingerprintSnapshots).values({ fingerprintId: current.fingerprintId, @@ -101,15 +155,30 @@ export async function handleFingerprintInsertion(olm: Olm, fingerprint: any) { serialNumber: fingerprint.serialNumber, platformFingerprint: fingerprint.platformFingerprint, + biometricsEnabled: postures.biometricsEnabled, + diskEncrypted: postures.diskEncrypted, + firewallEnabled: postures.firewallEnabled, + autoUpdatesEnabled: postures.autoUpdatesEnabled, + tpmAvailable: postures.tpmAvailable, + + windowsDefenderEnabled: postures.windowsDefenderEnabled, + + macosSipEnabled: postures.macosSipEnabled, + macosGatekeeperEnabled: postures.macosGatekeeperEnabled, + macosFirewallStealthMode: postures.macosFirewallStealthMode, + + linuxAppArmorEnabled: postures.linuxAppArmorEnabled, + linuxSELinuxEnabled: postures.linuxSELinuxEnabled, + hash, collectedAt: now }); - // Update current fingerprint fully await db .update(currentFingerprint) .set({ lastSeen: now, + lastCollectedAt: now, username: fingerprint.username, hostname: fingerprint.hostname, @@ -119,11 +188,25 @@ export async function handleFingerprintInsertion(olm: Olm, fingerprint: any) { arch: fingerprint.arch, deviceModel: fingerprint.deviceModel, serialNumber: fingerprint.serialNumber, - platformFingerprint: fingerprint.platformFingerprint + platformFingerprint: fingerprint.platformFingerprint, + + biometricsEnabled: postures.biometricsEnabled, + diskEncrypted: postures.diskEncrypted, + firewallEnabled: postures.firewallEnabled, + autoUpdatesEnabled: postures.autoUpdatesEnabled, + tpmAvailable: postures.tpmAvailable, + + windowsDefenderEnabled: postures.windowsDefenderEnabled, + + macosSipEnabled: postures.macosSipEnabled, + macosGatekeeperEnabled: postures.macosGatekeeperEnabled, + macosFirewallStealthMode: postures.macosFirewallStealthMode, + + linuxAppArmorEnabled: postures.linuxAppArmorEnabled, + linuxSELinuxEnabled: postures.linuxSELinuxEnabled }) .where(eq(currentFingerprint.fingerprintId, current.fingerprintId)); } else { - // No change, so only bump lastSeen await db .update(currentFingerprint) .set({ lastSeen: now }) diff --git a/server/routers/olm/handleOlmPingMessage.ts b/server/routers/olm/handleOlmPingMessage.ts index 6ebbceb9..b87f49d2 100644 --- a/server/routers/olm/handleOlmPingMessage.ts +++ b/server/routers/olm/handleOlmPingMessage.ts @@ -1,5 +1,5 @@ import { disconnectClient, getClientConfigVersion } from "#dynamic/routers/ws"; -import { clientPostureSnapshots, db, currentFingerprint } from "@server/db"; +import { db } from "@server/db"; import { MessageHandler } from "@server/routers/ws"; import { clients, olms, Olm } from "@server/db"; import { eq, lt, isNull, and, or } from "drizzle-orm"; @@ -215,36 +215,11 @@ export const handleOlmPingMessage: MessageHandler = async (context) => { .set({ archived: false }) .where(eq(olms.olmId, olm.olmId)); } - - await handleFingerprintInsertion(olm, fingerprint); } catch (error) { logger.error("Error handling ping message", { error }); } - const now = Math.floor(Date.now() / 1000); - - if (postures && olm.clientId) { - await db.insert(clientPostureSnapshots).values({ - clientId: olm.clientId, - - biometricsEnabled: postures?.biometricsEnabled, - diskEncrypted: postures?.diskEncrypted, - firewallEnabled: postures?.firewallEnabled, - autoUpdatesEnabled: postures?.autoUpdatesEnabled, - tpmAvailable: postures?.tpmAvailable, - - windowsDefenderEnabled: postures?.windowsDefenderEnabled, - - macosSipEnabled: postures?.macosSipEnabled, - macosGatekeeperEnabled: postures?.macosGatekeeperEnabled, - macosFirewallStealthMode: postures?.macosFirewallStealthMode, - - linuxAppArmorEnabled: postures?.linuxAppArmorEnabled, - linuxSELinuxEnabled: postures?.linuxSELinuxEnabled, - - collectedAt: now - }); - } + await handleFingerprintInsertion(olm, fingerprint, postures); return { message: { diff --git a/server/routers/olm/handleOlmRegisterMessage.ts b/server/routers/olm/handleOlmRegisterMessage.ts index 82d4cdb9..958c4568 100644 --- a/server/routers/olm/handleOlmRegisterMessage.ts +++ b/server/routers/olm/handleOlmRegisterMessage.ts @@ -1,9 +1,4 @@ -import { - clientPostureSnapshots, - db, - currentFingerprint, - orgs -} from "@server/db"; +import { db, orgs } from "@server/db"; import { MessageHandler } from "@server/routers/ws"; import { clients, @@ -20,6 +15,7 @@ import { encodeHexLowerCase } from "@oslojs/encoding"; import { sha256 } from "@oslojs/crypto/sha2"; import { buildSiteConfigurationForOlmClient } from "./buildConfiguration"; import { OlmErrorCodes, sendOlmError } from "./error"; +import { handleFingerprintInsertion } from "./fingerprintingUtils"; export const handleOlmRegisterMessage: MessageHandler = async (context) => { logger.info("Handling register olm message!"); @@ -50,85 +46,7 @@ export const handleOlmRegisterMessage: MessageHandler = async (context) => { return; } - if (fingerprint) { - const [existingFingerprint] = await db - .select() - .from(currentFingerprint) - .where(eq(currentFingerprint.olmId, olm.olmId)) - .limit(1); - - if (!existingFingerprint) { - await db.insert(currentFingerprint).values({ - olmId: olm.olmId, - firstSeen: now, - lastSeen: now, - - username: fingerprint.username, - hostname: fingerprint.hostname, - platform: fingerprint.platform, - osVersion: fingerprint.osVersion, - kernelVersion: fingerprint.kernelVersion, - arch: fingerprint.arch, - deviceModel: fingerprint.deviceModel, - serialNumber: fingerprint.serialNumber, - platformFingerprint: fingerprint.platformFingerprint - }); - } else { - const hasChanges = - existingFingerprint.username !== fingerprint.username || - existingFingerprint.hostname !== fingerprint.hostname || - existingFingerprint.platform !== fingerprint.platform || - existingFingerprint.osVersion !== fingerprint.osVersion || - existingFingerprint.kernelVersion !== - fingerprint.kernelVersion || - existingFingerprint.arch !== fingerprint.arch || - existingFingerprint.deviceModel !== fingerprint.deviceModel || - existingFingerprint.serialNumber !== fingerprint.serialNumber || - existingFingerprint.platformFingerprint !== - fingerprint.platformFingerprint; - - if (hasChanges) { - await db - .update(currentFingerprint) - .set({ - lastSeen: now, - username: fingerprint.username, - hostname: fingerprint.hostname, - platform: fingerprint.platform, - osVersion: fingerprint.osVersion, - kernelVersion: fingerprint.kernelVersion, - arch: fingerprint.arch, - deviceModel: fingerprint.deviceModel, - serialNumber: fingerprint.serialNumber, - platformFingerprint: fingerprint.platformFingerprint - }) - .where(eq(currentFingerprint.olmId, olm.olmId)); - } - } - } - - if (postures) { - await db.insert(clientPostureSnapshots).values({ - clientId: olm.clientId, - - biometricsEnabled: postures?.biometricsEnabled, - diskEncrypted: postures?.diskEncrypted, - firewallEnabled: postures?.firewallEnabled, - autoUpdatesEnabled: postures?.autoUpdatesEnabled, - tpmAvailable: postures?.tpmAvailable, - - windowsDefenderEnabled: postures?.windowsDefenderEnabled, - - macosSipEnabled: postures?.macosSipEnabled, - macosGatekeeperEnabled: postures?.macosGatekeeperEnabled, - macosFirewallStealthMode: postures?.macosFirewallStealthMode, - - linuxAppArmorEnabled: postures?.linuxAppArmorEnabled, - linuxSELinuxEnabled: postures?.linuxSELinuxEnabled, - - collectedAt: now - }); - } + await handleFingerprintInsertion(olm, fingerprint, postures); if ( (olmVersion && olm.version !== olmVersion) || From e2e09527ec688882bb9374a952090fb5a4fc386b Mon Sep 17 00:00:00 2001 From: Varun Narravula Date: Tue, 20 Jan 2026 10:57:12 -0800 Subject: [PATCH 21/42] fix(fingerprint): set fingerprintId reference to null --- server/db/pg/schema/schema.ts | 11 ++++++----- server/db/sqlite/schema/schema.ts | 11 ++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/server/db/pg/schema/schema.ts b/server/db/pg/schema/schema.ts index 1ba1d16e..001e54cb 100644 --- a/server/db/pg/schema/schema.ts +++ b/server/db/pg/schema/schema.ts @@ -803,11 +803,12 @@ export const currentFingerprint = pgTable("currentFingerprint", { export const fingerprintSnapshots = pgTable("fingerprintSnapshots", { snapshotId: serial("id").primaryKey(), - fingerprintId: integer("fingerprintId") - .references(() => currentFingerprint.fingerprintId, { - onDelete: "cascade" - }) - .notNull(), + fingerprintId: integer("fingerprintId").references( + () => currentFingerprint.fingerprintId, + { + onDelete: "set null" + } + ), username: text("username"), hostname: text("hostname"), diff --git a/server/db/sqlite/schema/schema.ts b/server/db/sqlite/schema/schema.ts index 8b44e995..e4e6c6d7 100644 --- a/server/db/sqlite/schema/schema.ts +++ b/server/db/sqlite/schema/schema.ts @@ -512,11 +512,12 @@ export const currentFingerprint = sqliteTable("currentFingerprint", { export const fingerprintSnapshots = sqliteTable("fingerprintSnapshots", { snapshotId: integer("id").primaryKey({ autoIncrement: true }), - fingerprintId: integer("fingerprintId") - .references(() => currentFingerprint.fingerprintId, { - onDelete: "cascade" - }) - .notNull(), + fingerprintId: integer("fingerprintId").references( + () => currentFingerprint.fingerprintId, + { + onDelete: "set null" + } + ), username: text("username"), hostname: text("hostname"), From d5ae3815284c545d6b7d5a48b9c0dd4d4ac28a44 Mon Sep 17 00:00:00 2001 From: Varun Narravula Date: Tue, 20 Jan 2026 11:48:44 -0800 Subject: [PATCH 22/42] feat(fingerprint): clean up stale snapshots older than 1 year --- server/lib/cleanupLogs.ts | 3 +++ server/routers/olm/fingerprintingUtils.ts | 11 ++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/server/lib/cleanupLogs.ts b/server/lib/cleanupLogs.ts index 9e97525d..96a589ee 100644 --- a/server/lib/cleanupLogs.ts +++ b/server/lib/cleanupLogs.ts @@ -3,6 +3,7 @@ import { cleanUpOldLogs as cleanUpOldAccessLogs } from "#dynamic/lib/logAccessAu import { cleanUpOldLogs as cleanUpOldActionLogs } from "#dynamic/middlewares/logActionAudit"; import { cleanUpOldLogs as cleanUpOldRequestLogs } from "@server/routers/badger/logRequestAudit"; import { gt, or } from "drizzle-orm"; +import { cleanUpOldFingerprintSnapshots } from "@server/routers/olm/fingerprintingUtils"; export function initLogCleanupInterval() { return setInterval( @@ -56,6 +57,8 @@ export function initLogCleanupInterval() { ); } } + + await cleanUpOldFingerprintSnapshots(365); }, 3 * 60 * 60 * 1000 ); // every 3 hours diff --git a/server/routers/olm/fingerprintingUtils.ts b/server/routers/olm/fingerprintingUtils.ts index 1462ce86..3fe445f1 100644 --- a/server/routers/olm/fingerprintingUtils.ts +++ b/server/routers/olm/fingerprintingUtils.ts @@ -1,7 +1,8 @@ import { sha256 } from "@oslojs/crypto/sha2"; import { encodeHexLowerCase } from "@oslojs/encoding"; import { currentFingerprint, db, fingerprintSnapshots, Olm } from "@server/db"; -import { desc, eq } from "drizzle-orm"; +import { calculateCutoffTimestamp } from "@server/lib/cleanupLogs"; +import { desc, eq, lt } from "drizzle-orm"; function fingerprintSnapshotHash(fingerprint: any, postures: any): string { const canonical = { @@ -213,3 +214,11 @@ export async function handleFingerprintInsertion( .where(eq(currentFingerprint.fingerprintId, current.fingerprintId)); } } + +export async function cleanUpOldFingerprintSnapshots(retentionDays: number) { + const cutoff = calculateCutoffTimestamp(retentionDays); + + await db + .delete(fingerprintSnapshots) + .where(lt(fingerprintSnapshots.collectedAt, cutoff)); +} From 17c3041fe920abee170d4978316eb4c83af7d1d7 Mon Sep 17 00:00:00 2001 From: Owen Date: Tue, 20 Jan 2026 15:20:19 -0800 Subject: [PATCH 23/42] Add migrations --- server/setup/migrationsPg.ts | 4 +- server/setup/migrationsSqlite.ts | 4 +- server/setup/scriptsPg/1.15.0.ts | 136 +++++++++++++++++++++++ server/setup/scriptsSqlite/1.15.0.ts | 155 +++++++++++++++++++++++++++ 4 files changed, 297 insertions(+), 2 deletions(-) create mode 100644 server/setup/scriptsPg/1.15.0.ts create mode 100644 server/setup/scriptsSqlite/1.15.0.ts diff --git a/server/setup/migrationsPg.ts b/server/setup/migrationsPg.ts index 0fc8c574..7ae21836 100644 --- a/server/setup/migrationsPg.ts +++ b/server/setup/migrationsPg.ts @@ -16,6 +16,7 @@ import m8 from "./scriptsPg/1.11.1"; import m9 from "./scriptsPg/1.12.0"; import m10 from "./scriptsPg/1.13.0"; import m11 from "./scriptsPg/1.14.0"; +import m12 from "./scriptsPg/1.15.0"; // THIS CANNOT IMPORT ANYTHING FROM THE SERVER // EXCEPT FOR THE DATABASE AND THE SCHEMA @@ -32,7 +33,8 @@ const migrations = [ { version: "1.11.1", run: m8 }, { version: "1.12.0", run: m9 }, { version: "1.13.0", run: m10 }, - { version: "1.14.0", run: m11 } + { version: "1.14.0", run: m11 }, + { version: "1.15.0", run: m12 } // Add new migrations here as they are created ] as { version: string; diff --git a/server/setup/migrationsSqlite.ts b/server/setup/migrationsSqlite.ts index 640836e0..0bbc86ee 100644 --- a/server/setup/migrationsSqlite.ts +++ b/server/setup/migrationsSqlite.ts @@ -34,6 +34,7 @@ import m29 from "./scriptsSqlite/1.11.1"; import m30 from "./scriptsSqlite/1.12.0"; import m31 from "./scriptsSqlite/1.13.0"; import m32 from "./scriptsSqlite/1.14.0"; +import m33 from "./scriptsSqlite/1.15.0"; // THIS CANNOT IMPORT ANYTHING FROM THE SERVER // EXCEPT FOR THE DATABASE AND THE SCHEMA @@ -66,7 +67,8 @@ const migrations = [ { version: "1.11.1", run: m29 }, { version: "1.12.0", run: m30 }, { version: "1.13.0", run: m31 }, - { version: "1.14.0", run: m32 } + { version: "1.14.0", run: m32 }, + { version: "1.15.0", run: m33 } // Add new migrations here as they are created ] as const; diff --git a/server/setup/scriptsPg/1.15.0.ts b/server/setup/scriptsPg/1.15.0.ts new file mode 100644 index 00000000..1ccf001b --- /dev/null +++ b/server/setup/scriptsPg/1.15.0.ts @@ -0,0 +1,136 @@ +import { db } from "@server/db/pg/driver"; +import { sql } from "drizzle-orm"; +import { __DIRNAME } from "@server/lib/consts"; + +const version = "1.15.0"; + +export default async function migration() { + console.log(`Running setup script ${version}...`); + + try { + await db.execute(sql`BEGIN`); + + await db.execute(sql` + CREATE TABLE "approvals" ( + "approvalId" serial PRIMARY KEY NOT NULL, + "timestamp" integer NOT NULL, + "orgId" varchar NOT NULL, + "clientId" integer, + "userId" varchar NOT NULL, + "decision" varchar DEFAULT 'pending' NOT NULL, + "type" varchar NOT NULL + ); + `); + await db.execute(sql` + CREATE TABLE "clientPostureSnapshots" ( + "snapshotId" serial PRIMARY KEY NOT NULL, + "clientId" integer, + "collectedAt" integer NOT NULL + ); + `); + await db.execute(sql` + CREATE TABLE "currentFingerprint" ( + "id" serial PRIMARY KEY NOT NULL, + "olmId" text NOT NULL, + "firstSeen" integer NOT NULL, + "lastSeen" integer NOT NULL, + "lastCollectedAt" integer NOT NULL, + "username" text, + "hostname" text, + "platform" text, + "osVersion" text, + "kernelVersion" text, + "arch" text, + "deviceModel" text, + "serialNumber" text, + "platformFingerprint" varchar, + "biometricsEnabled" boolean DEFAULT false NOT NULL, + "diskEncrypted" boolean DEFAULT false NOT NULL, + "firewallEnabled" boolean DEFAULT false NOT NULL, + "autoUpdatesEnabled" boolean DEFAULT false NOT NULL, + "tpmAvailable" boolean DEFAULT false NOT NULL, + "windowsDefenderEnabled" boolean DEFAULT false NOT NULL, + "macosSipEnabled" boolean DEFAULT false NOT NULL, + "macosGatekeeperEnabled" boolean DEFAULT false NOT NULL, + "macosFirewallStealthMode" boolean DEFAULT false NOT NULL, + "linuxAppArmorEnabled" boolean DEFAULT false NOT NULL, + "linuxSELinuxEnabled" boolean DEFAULT false NOT NULL + ); + `); + await db.execute(sql` + CREATE TABLE "fingerprintSnapshots" ( + "id" serial PRIMARY KEY NOT NULL, + "fingerprintId" integer, + "username" text, + "hostname" text, + "platform" text, + "osVersion" text, + "kernelVersion" text, + "arch" text, + "deviceModel" text, + "serialNumber" text, + "platformFingerprint" varchar, + "biometricsEnabled" boolean DEFAULT false NOT NULL, + "diskEncrypted" boolean DEFAULT false NOT NULL, + "firewallEnabled" boolean DEFAULT false NOT NULL, + "autoUpdatesEnabled" boolean DEFAULT false NOT NULL, + "tpmAvailable" boolean DEFAULT false NOT NULL, + "windowsDefenderEnabled" boolean DEFAULT false NOT NULL, + "macosSipEnabled" boolean DEFAULT false NOT NULL, + "macosGatekeeperEnabled" boolean DEFAULT false NOT NULL, + "macosFirewallStealthMode" boolean DEFAULT false NOT NULL, + "linuxAppArmorEnabled" boolean DEFAULT false NOT NULL, + "linuxSELinuxEnabled" boolean DEFAULT false NOT NULL, + "hash" text NOT NULL, + "collectedAt" integer NOT NULL + ); + `); + await db.execute( + sql`ALTER TABLE "loginPageBranding" ALTER COLUMN "logoUrl" DROP NOT NULL;` + ); + await db.execute( + sql`ALTER TABLE "clients" ADD COLUMN "archived" boolean DEFAULT false NOT NULL;` + ); + await db.execute( + sql`ALTER TABLE "clients" ADD COLUMN "blocked" boolean DEFAULT false NOT NULL;` + ); + await db.execute( + sql`ALTER TABLE "clients" ADD COLUMN "approvalState" varchar;` + ); + await db.execute(sql`ALTER TABLE "idp" ADD COLUMN "tags" text;`); + await db.execute( + sql`ALTER TABLE "olms" ADD COLUMN "archived" boolean DEFAULT false NOT NULL;` + ); + await db.execute( + sql`ALTER TABLE "roles" ADD COLUMN "requireDeviceApproval" boolean DEFAULT false;` + ); + await db.execute( + sql`ALTER TABLE "approvals" ADD CONSTRAINT "approvals_orgId_orgs_orgId_fk" FOREIGN KEY ("orgId") REFERENCES "public"."orgs"("orgId") ON DELETE cascade ON UPDATE no action;` + ); + await db.execute( + sql`ALTER TABLE "approvals" ADD CONSTRAINT "approvals_clientId_clients_clientId_fk" FOREIGN KEY ("clientId") REFERENCES "public"."clients"("clientId") ON DELETE cascade ON UPDATE no action;` + ); + await db.execute( + sql`ALTER TABLE "approvals" ADD CONSTRAINT "approvals_userId_user_id_fk" FOREIGN KEY ("userId") REFERENCES "public"."user"("id") ON DELETE cascade ON UPDATE no action;` + ); + await db.execute( + sql`ALTER TABLE "clientPostureSnapshots" ADD CONSTRAINT "clientPostureSnapshots_clientId_clients_clientId_fk" FOREIGN KEY ("clientId") REFERENCES "public"."clients"("clientId") ON DELETE cascade ON UPDATE no action;` + ); + await db.execute( + sql`ALTER TABLE "currentFingerprint" ADD CONSTRAINT "currentFingerprint_olmId_olms_id_fk" FOREIGN KEY ("olmId") REFERENCES "public"."olms"("id") ON DELETE cascade ON UPDATE no action;` + ); + await db.execute( + sql`ALTER TABLE "fingerprintSnapshots" ADD CONSTRAINT "fingerprintSnapshots_fingerprintId_currentFingerprint_id_fk" FOREIGN KEY ("fingerprintId") REFERENCES "public"."currentFingerprint"("id") ON DELETE set null ON UPDATE no action;` + ); + + await db.execute(sql`COMMIT`); + console.log("Migrated database"); + } catch (e) { + await db.execute(sql`ROLLBACK`); + console.log("Unable to migrate database"); + console.log(e); + throw e; + } + + console.log(`${version} migration complete`); +} diff --git a/server/setup/scriptsSqlite/1.15.0.ts b/server/setup/scriptsSqlite/1.15.0.ts new file mode 100644 index 00000000..c8a3a221 --- /dev/null +++ b/server/setup/scriptsSqlite/1.15.0.ts @@ -0,0 +1,155 @@ +import { __DIRNAME, APP_PATH } from "@server/lib/consts"; +import Database from "better-sqlite3"; +import path from "path"; + +const version = "1.15.0"; + +export default async function migration() { + console.log(`Running setup script ${version}...`); + + const location = path.join(APP_PATH, "db", "db.sqlite"); + const db = new Database(location); + + try { + db.pragma("foreign_keys = OFF"); + + db.transaction(() => { + db.prepare( + ` +CREATE TABLE 'approvals' ( + 'approvalId' integer PRIMARY KEY AUTOINCREMENT NOT NULL, + 'timestamp' integer NOT NULL, + 'orgId' text NOT NULL, + 'clientId' integer, + 'userId' text, + 'decision' text DEFAULT 'pending' NOT NULL, + 'type' text NOT NULL, + FOREIGN KEY ('orgId') REFERENCES 'orgs'('orgId') ON UPDATE no action ON DELETE cascade, + FOREIGN KEY ('clientId') REFERENCES 'clients'('clientId') ON UPDATE no action ON DELETE cascade, + FOREIGN KEY ('userId') REFERENCES 'user'('id') ON UPDATE no action ON DELETE cascade +); + ` + ).run(); + + db.prepare( + ` +CREATE TABLE 'currentFingerprint' ( + 'id' integer PRIMARY KEY AUTOINCREMENT NOT NULL, + 'olmId' text NOT NULL, + 'firstSeen' integer NOT NULL, + 'lastSeen' integer NOT NULL, + 'lastCollectedAt' integer NOT NULL, + 'username' text, + 'hostname' text, + 'platform' text, + 'osVersion' text, + 'kernelVersion' text, + 'arch' text, + 'deviceModel' text, + 'serialNumber' text, + 'platformFingerprint' text, + 'biometricsEnabled' integer DEFAULT false NOT NULL, + 'diskEncrypted' integer DEFAULT false NOT NULL, + 'firewallEnabled' integer DEFAULT false NOT NULL, + 'autoUpdatesEnabled' integer DEFAULT false NOT NULL, + 'tpmAvailable' integer DEFAULT false NOT NULL, + 'windowsDefenderEnabled' integer DEFAULT false NOT NULL, + 'macosSipEnabled' integer DEFAULT false NOT NULL, + 'macosGatekeeperEnabled' integer DEFAULT false NOT NULL, + 'macosFirewallStealthMode' integer DEFAULT false NOT NULL, + 'linuxAppArmorEnabled' integer DEFAULT false NOT NULL, + 'linuxSELinuxEnabled' integer DEFAULT false NOT NULL, + FOREIGN KEY ('olmId') REFERENCES 'olms'('id') ON UPDATE no action ON DELETE cascade +); + ` + ).run(); + + db.prepare( + ` +CREATE TABLE 'fingerprintSnapshots' ( + 'id' integer PRIMARY KEY AUTOINCREMENT NOT NULL, + 'fingerprintId' integer, + 'username' text, + 'hostname' text, + 'platform' text, + 'osVersion' text, + 'kernelVersion' text, + 'arch' text, + 'deviceModel' text, + 'serialNumber' text, + 'platformFingerprint' text, + 'biometricsEnabled' integer DEFAULT false NOT NULL, + 'diskEncrypted' integer DEFAULT false NOT NULL, + 'firewallEnabled' integer DEFAULT false NOT NULL, + 'autoUpdatesEnabled' integer DEFAULT false NOT NULL, + 'tpmAvailable' integer DEFAULT false NOT NULL, + 'windowsDefenderEnabled' integer DEFAULT false NOT NULL, + 'macosSipEnabled' integer DEFAULT false NOT NULL, + 'macosGatekeeperEnabled' integer DEFAULT false NOT NULL, + 'macosFirewallStealthMode' integer DEFAULT false NOT NULL, + 'linuxAppArmorEnabled' integer DEFAULT false NOT NULL, + 'linuxSELinuxEnabled' integer DEFAULT false NOT NULL, + 'hash' text NOT NULL, + 'collectedAt' integer NOT NULL, + FOREIGN KEY ('fingerprintId') REFERENCES 'currentFingerprint'('id') ON UPDATE no action ON DELETE set null +); + ` + ).run(); + + db.prepare( + ` +CREATE TABLE '__new_loginPageBranding' ( + 'loginPageBrandingId' integer PRIMARY KEY AUTOINCREMENT NOT NULL, + 'logoUrl' text, + 'logoWidth' integer NOT NULL, + 'logoHeight' integer NOT NULL, + 'primaryColor' text, + 'resourceTitle' text NOT NULL, + 'resourceSubtitle' text, + 'orgTitle' text, + 'orgSubtitle' text +); + ` + ).run(); + + db.prepare( + `INSERT INTO '__new_loginPageBranding'("loginPageBrandingId", "logoUrl", "logoWidth", "logoHeight", "primaryColor", "resourceTitle", "resourceSubtitle", "orgTitle", "orgSubtitle") SELECT "loginPageBrandingId", "logoUrl", "logoWidth", "logoHeight", "primaryColor", "resourceTitle", "resourceSubtitle", "orgTitle", "orgSubtitle" FROM 'loginPageBranding';` + ).run(); + + db.prepare(`DROP TABLE 'loginPageBranding';`).run(); + + db.prepare( + `ALTER TABLE '__new_loginPageBranding' RENAME TO 'loginPageBranding';` + ).run(); + + db.prepare( + `ALTER TABLE 'clients' ADD 'archived' integer DEFAULT false NOT NULL;` + ).run(); + + db.prepare( + `ALTER TABLE 'clients' ADD 'blocked' integer DEFAULT false NOT NULL;` + ).run(); + + db.prepare(`ALTER TABLE 'clients' ADD 'approvalState' text;`).run(); + + db.prepare(`ALTER TABLE 'idp' ADD 'tags' text;`).run(); + + db.prepare( + `ALTER TABLE 'olms' ADD 'archived' integer DEFAULT false NOT NULL;` + ).run(); + + db.prepare( + `ALTER TABLE 'roles' ADD 'requireDeviceApproval' integer DEFAULT false;` + ).run(); + })(); + + db.pragma("foreign_keys = ON"); + + console.log(`Migrated database`); + } catch (e) { + console.log("Failed to migrate db:", e); + throw e; + } + + console.log(`${version} migration complete`); +} From 46e62b24cff5cab9ba715439a5f5f25e3da92b31 Mon Sep 17 00:00:00 2001 From: Jan-Filip Grosse Date: Sun, 4 Jan 2026 17:12:52 +0100 Subject: [PATCH 24/42] Updated RuleSchema to include priority as optional int() value. Included validiation to make sure that no priorities are duplicated (including those which get auto-assigned). --- server/lib/blueprints/types.ts | 36 +++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/server/lib/blueprints/types.ts b/server/lib/blueprints/types.ts index cba9bfa7..edf4b0c7 100644 --- a/server/lib/blueprints/types.ts +++ b/server/lib/blueprints/types.ts @@ -78,7 +78,8 @@ export const RuleSchema = z .object({ action: z.enum(["allow", "deny", "pass"]), match: z.enum(["cidr", "path", "ip", "country", "asn"]), - value: z.string() + value: z.string(), + priority: z.int().optional() }) .refine( (rule) => { @@ -268,6 +269,39 @@ export const ResourceSchema = z path: ["auth"], error: "When protocol is 'tcp' or 'udp', 'auth' must not be provided" } + ) + .refine( + (resource) => { + // Skip validation for targets-only resources + if (isTargetsOnlyResource(resource)) { + return true; + } + // Skip validation if no rules are defined + if (!resource.rules || resource.rules.length === 0) return true; + + const finalPriorities: number[] = []; + let priorityCounter = 1; + + // Gather priorities, assigning auto-priorities where needed + // following the logic from the backend implementation where + // empty priorities are auto-assigned a value of 1 + index of rule + for (const rule of resource.rules) { + if (rule.priority !== undefined) { + finalPriorities.push(rule.priority); + } else { + finalPriorities.push(priorityCounter); + } + priorityCounter++; + } + + // Validate for duplicate priorities + return finalPriorities.length === new Set(finalPriorities).size; + }, + { + path: ["rules"], + message: + "Rules have conflicting or invalid priorities (must be unique, including auto-assigned ones)" + } ); export function isTargetsOnlyResource(resource: any): boolean { From 4d73488f0c219efc249333fcc1510ddfdf3d87f2 Mon Sep 17 00:00:00 2001 From: Jan-Filip Grosse Date: Sun, 4 Jan 2026 17:13:29 +0100 Subject: [PATCH 25/42] updated the sync and creation of new rules objects to include priorities passed by blueprints. --- server/lib/blueprints/proxyResources.ts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/server/lib/blueprints/proxyResources.ts b/server/lib/blueprints/proxyResources.ts index a8f2f4b5..0ae4c529 100644 --- a/server/lib/blueprints/proxyResources.ts +++ b/server/lib/blueprints/proxyResources.ts @@ -587,13 +587,15 @@ export async function updateProxyResources( // Sync rules for (const [index, rule] of resourceData.rules?.entries() || []) { + const intendedPriority = rule.priority ?? index + 1; const existingRule = existingRules[index]; if (existingRule) { if ( existingRule.action !== getRuleAction(rule.action) || existingRule.match !== rule.match.toUpperCase() || existingRule.value !== - getRuleValue(rule.match.toUpperCase(), rule.value) + getRuleValue(rule.match.toUpperCase(), rule.value) || + existingRule.priority !== intendedPriority ) { validateRule(rule); await trx @@ -604,7 +606,8 @@ export async function updateProxyResources( value: getRuleValue( rule.match.toUpperCase(), rule.value - ) + ), + priority: intendedPriority }) .where( eq(resourceRules.ruleId, existingRule.ruleId) @@ -620,7 +623,7 @@ export async function updateProxyResources( rule.match.toUpperCase(), rule.value ), - priority: index + 1 // start priorities at 1 + priority: intendedPriority }); } } @@ -809,7 +812,7 @@ export async function updateProxyResources( action: getRuleAction(rule.action), match: rule.match.toUpperCase(), value: getRuleValue(rule.match.toUpperCase(), rule.value), - priority: index + 1 // start priorities at 1 + priority: rule.priority ?? index + 1 }); } From e14670cddac123e44ee2fa9b480ef34dcf07b49f Mon Sep 17 00:00:00 2001 From: Owen Schwartz Date: Tue, 20 Jan 2026 16:39:14 -0800 Subject: [PATCH 26/42] New translations en-us.json (French) --- messages/fr-FR.json | 148 +++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 138 insertions(+), 10 deletions(-) diff --git a/messages/fr-FR.json b/messages/fr-FR.json index 2447dd93..73af61cc 100644 --- a/messages/fr-FR.json +++ b/messages/fr-FR.json @@ -56,6 +56,9 @@ "sitesBannerTitle": "Se connecter à n'importe quel réseau", "sitesBannerDescription": "Un site est une connexion à un réseau distant qui permet à Pangolin de fournir aux utilisateurs l'accès à des ressources, publiques ou privées, n'importe où. Installez le connecteur de réseau du site (Newt) partout où vous pouvez exécuter un binaire ou un conteneur pour établir la connexion.", "sitesBannerButtonText": "Installer le site", + "approvalsBannerTitle": "Approuver ou refuser l'accès à l'appareil", + "approvalsBannerDescription": "Examinez et approuvez ou refusez les demandes d'accès à l'appareil des utilisateurs. Lorsque les autorisations de l'appareil sont requises, les utilisateurs doivent obtenir l'approbation de l'administrateur avant que leurs appareils puissent se connecter aux ressources de votre organisation.", + "approvalsBannerButtonText": "En savoir plus", "siteCreate": "Créer un nœud", "siteCreateDescription2": "Suivez les étapes ci-dessous pour créer et connecter un nouveau nœud", "siteCreateDescription": "Créer un nouveau site pour commencer à connecter des ressources", @@ -257,6 +260,8 @@ "accessRolesSearch": "Chercher des rôles...", "accessRolesAdd": "Ajouter un rôle", "accessRoleDelete": "Supprimer le rôle", + "accessApprovalsManage": "Gérer les approbations", + "accessApprovalsDescription": "Voir et gérer les approbations en attente pour accéder à cette organisation", "description": "Libellé", "inviteTitle": "Invitations actives", "inviteDescription": "Gérer les invitations des autres utilisateurs à rejoindre l'organisation", @@ -450,6 +455,18 @@ "selectDuration": "Sélectionner la durée", "selectResource": "Sélectionner une ressource", "filterByResource": "Filtrer par ressource", + "selectApprovalState": "Sélectionnez l'État d'Approbation", + "filterByApprovalState": "Filtrer par État d'Approbation", + "approvalListEmpty": "Aucune approbation", + "approvalState": "État d'approbation", + "approve": "Approuver", + "approved": "Approuvé", + "denied": "Refusé", + "deniedApproval": "Approbation refusée", + "all": "Tous", + "deny": "Refuser", + "viewDetails": "Voir les détails", + "requestingNewDeviceApproval": "a demandé un nouvel appareil", "resetFilters": "Réinitialiser les filtres", "totalBlocked": "Demandes bloquées par le Pangolin", "totalRequests": "Total des demandes", @@ -729,16 +746,28 @@ "countries": "Pays", "accessRoleCreate": "Créer un rôle", "accessRoleCreateDescription": "Créer un nouveau rôle pour regrouper les utilisateurs et gérer leurs permissions.", + "accessRoleEdit": "Modifier le rôle", + "accessRoleEditDescription": "Modifier les informations du rôle.", "accessRoleCreateSubmit": "Créer un rôle", "accessRoleCreated": "Rôle créé", "accessRoleCreatedDescription": "Le rôle a été créé avec succès.", "accessRoleErrorCreate": "Échec de la création du rôle", "accessRoleErrorCreateDescription": "Une erreur s'est produite lors de la création du rôle.", + "accessRoleUpdateSubmit": "Mettre à jour un rôle", + "accessRoleUpdated": "Rôle mis à jour", + "accessRoleUpdatedDescription": "Le rôle a été mis à jour avec succès.", + "accessApprovalUpdated": "Approbation traitée", + "accessApprovalApprovedDescription": "Définir la décision de la demande d'approbation à approuver.", + "accessApprovalDeniedDescription": "Définir la décision de la demande d'approbation comme refusée.", + "accessRoleErrorUpdate": "Impossible de mettre à jour le rôle", + "accessRoleErrorUpdateDescription": "Une erreur s'est produite lors de la mise à jour du rôle.", + "accessApprovalErrorUpdate": "Impossible de traiter l'approbation", + "accessApprovalErrorUpdateDescription": "Une erreur s'est produite lors du traitement de l'approbation.", "accessRoleErrorNewRequired": "Un nouveau rôle est requis", "accessRoleErrorRemove": "Échec de la suppression du rôle", "accessRoleErrorRemoveDescription": "Une erreur s'est produite lors de la suppression du rôle.", "accessRoleName": "Nom du rôle", - "accessRoleQuestionRemove": "Vous êtes sur le point de supprimer le rôle {name}. Cette action est irréversible.", + "accessRoleQuestionRemove": "Vous êtes sur le point de supprimer le rôle `{name}`. Vous ne pouvez pas annuler cette action.", "accessRoleRemove": "Supprimer le rôle", "accessRoleRemoveDescription": "Retirer un rôle de l'organisation", "accessRoleRemoveSubmit": "Supprimer le rôle", @@ -960,7 +989,7 @@ "passwordResetSmtpRequired": "Veuillez contacter votre administrateur", "passwordResetSmtpRequiredDescription": "Un code de réinitialisation du mot de passe est requis pour réinitialiser votre mot de passe. Veuillez contacter votre administrateur pour obtenir de l'aide.", "passwordBack": "Retour au mot de passe", - "loginBack": "Retour à la connexion", + "loginBack": "Revenir à la page de connexion principale", "signup": "S'inscrire", "loginStart": "Connectez-vous pour commencer", "idpOidcTokenValidating": "Validation du jeton OIDC", @@ -1118,6 +1147,10 @@ "actionUpdateIdpOrg": "Mettre à jour une organisation IDP", "actionCreateClient": "Créer un client", "actionDeleteClient": "Supprimer le client", + "actionArchiveClient": "Archiver le client", + "actionUnarchiveClient": "Désarchiver le client", + "actionBlockClient": "Bloquer le client", + "actionUnblockClient": "Débloquer le client", "actionUpdateClient": "Mettre à jour le client", "actionListClients": "Liste des clients", "actionGetClient": "Obtenir le client", @@ -1134,14 +1167,14 @@ "searchProgress": "Rechercher...", "create": "Créer", "orgs": "Organisations", - "loginError": "Une erreur s'est produite lors de la connexion", - "loginRequiredForDevice": "La connexion est requise pour authentifier votre appareil.", + "loginError": "Une erreur inattendue s'est produite. Veuillez réessayer.", + "loginRequiredForDevice": "La connexion est requise pour votre appareil.", "passwordForgot": "Mot de passe oublié ?", "otpAuth": "Authentification à deux facteurs", "otpAuthDescription": "Entrez le code de votre application d'authentification ou l'un de vos codes de secours à usage unique.", "otpAuthSubmit": "Soumettre le code", "idpContinue": "Ou continuer avec", - "otpAuthBack": "Retour à la connexion", + "otpAuthBack": "Retour au mot de passe", "navbar": "Menu de navigation", "navbarDescription": "Menu de navigation principal de l'application", "navbarDocsLink": "Documentation", @@ -1189,6 +1222,7 @@ "sidebarOverview": "Aperçu", "sidebarHome": "Domicile", "sidebarSites": "Nœuds", + "sidebarApprovals": "Demandes d'approbation", "sidebarResources": "Ressource", "sidebarProxyResources": "Publique", "sidebarClientResources": "Privé", @@ -1205,7 +1239,7 @@ "sidebarIdentityProviders": "Fournisseurs d'identité", "sidebarLicense": "Licence", "sidebarClients": "Clients", - "sidebarUserDevices": "Utilisateurs", + "sidebarUserDevices": "Périphériques utilisateur", "sidebarMachineClients": "Machines", "sidebarDomains": "Domaines", "sidebarGeneral": "Gérer", @@ -1277,6 +1311,7 @@ "setupErrorCreateAdmin": "Une erreur s'est produite lors de la création du compte administrateur du serveur.", "certificateStatus": "Statut du certificat", "loading": "Chargement", + "loadingAnalytics": "Chargement de l'analyse", "restart": "Redémarrer", "domains": "Domaines", "domainsDescription": "Créer et gérer les domaines disponibles dans l'organisation", @@ -1304,6 +1339,7 @@ "refreshError": "Échec de l'actualisation des données", "verified": "Vérifié", "pending": "En attente", + "pendingApproval": "En attente d'approbation", "sidebarBilling": "Facturation", "billing": "Facturation", "orgBillingDescription": "Gérer les informations de facturation et les abonnements", @@ -1420,7 +1456,7 @@ "securityKeyRemoveSuccess": "Clé de sécurité supprimée avec succès", "securityKeyRemoveError": "Échec de la suppression de la clé de sécurité", "securityKeyLoadError": "Échec du chargement des clés de sécurité", - "securityKeyLogin": "Continuer avec une clé de sécurité", + "securityKeyLogin": "Utiliser la clé de sécurité", "securityKeyAuthError": "Échec de l'authentification avec la clé de sécurité", "securityKeyRecommendation": "Envisagez d'enregistrer une autre clé de sécurité sur un appareil différent pour vous assurer de ne pas être bloqué de votre compte.", "registering": "Enregistrement...", @@ -1547,6 +1583,8 @@ "IntervalSeconds": "Intervalle sain", "timeoutSeconds": "Délai d'attente (sec)", "timeIsInSeconds": "Le temps est exprimé en secondes", + "requireDeviceApproval": "Exiger les autorisations de l'appareil", + "requireDeviceApprovalDescription": "Les utilisateurs ayant ce rôle ont besoin de nouveaux périphériques approuvés par un administrateur avant de pouvoir se connecter et accéder aux ressources.", "retryAttempts": "Tentatives de réessai", "expectedResponseCodes": "Codes de réponse attendus", "expectedResponseCodesDescription": "Code de statut HTTP indiquant un état de santé satisfaisant. Si non renseigné, 200-300 est considéré comme satisfaisant.", @@ -1876,7 +1914,7 @@ "orgAuthChooseIdpDescription": "Choisissez votre fournisseur d'identité pour continuer", "orgAuthNoIdpConfigured": "Cette organisation n'a aucun fournisseur d'identité configuré. Vous pouvez vous connecter avec votre identité Pangolin à la place.", "orgAuthSignInWithPangolin": "Se connecter avec Pangolin", - "orgAuthSignInToOrg": "Connectez-vous à une organisation", + "orgAuthSignInToOrg": "Se connecter à une organisation", "orgAuthSelectOrgTitle": "Connexion à l'organisation", "orgAuthSelectOrgDescription": "Entrez votre identifiant d'organisation pour continuer", "orgAuthOrgIdPlaceholder": "votre-organisation", @@ -2232,6 +2270,8 @@ "deviceCodeInvalidFormat": "Le code doit contenir 9 caractères (par exemple, A1AJ-N5JD)", "deviceCodeInvalidOrExpired": "Code invalide ou expiré", "deviceCodeVerifyFailed": "Impossible de vérifier le code de l'appareil", + "deviceCodeValidating": "Validation du code de l'appareil...", + "deviceCodeVerifying": "Vérification de l'autorisation de l'appareil...", "signedInAs": "Connecté en tant que", "deviceCodeEnterPrompt": "Entrez le code affiché sur l'appareil", "continue": "Continuer", @@ -2244,7 +2284,7 @@ "deviceOrganizationsAccess": "Accès à toutes les organisations auxquelles votre compte a accès", "deviceAuthorize": "Autoriser {applicationName}", "deviceConnected": "Appareil connecté !", - "deviceAuthorizedMessage": "L'appareil est autorisé à accéder à votre compte.", + "deviceAuthorizedMessage": "L'appareil est autorisé à accéder à votre compte. Veuillez retourner à l'application client.", "pangolinCloud": "Nuage de Pangolin", "viewDevices": "Voir les appareils", "viewDevicesDescription": "Gérer vos appareils connectés", @@ -2306,6 +2346,7 @@ "identifier": "Identifiant", "deviceLoginUseDifferentAccount": "Pas vous ? Utilisez un autre compte.", "deviceLoginDeviceRequestingAccessToAccount": "Un appareil demande l'accès à ce compte.", + "loginSelectAuthenticationMethod": "Sélectionnez une méthode d'authentification pour continuer.", "noData": "Aucune donnée", "machineClients": "Clients Machines", "install": "Installer", @@ -2394,5 +2435,92 @@ "maintenanceScreenTitle": "Service temporairement indisponible", "maintenanceScreenMessage": "Nous rencontrons actuellement des difficultés techniques. Veuillez vérifier ultérieurement.", "maintenanceScreenEstimatedCompletion": "Achèvement estimé :", - "createInternalResourceDialogDestinationRequired": "La destination est requise" + "createInternalResourceDialogDestinationRequired": "La destination est requise", + "available": "Disponible", + "archived": "Archivé", + "noArchivedDevices": "Aucun périphérique archivé trouvé", + "deviceArchived": "Appareil archivé", + "deviceArchivedDescription": "L'appareil a été archivé avec succès.", + "errorArchivingDevice": "Erreur lors de l'archivage du périphérique", + "failedToArchiveDevice": "Impossible d'archiver l'appareil", + "deviceQuestionArchive": "Êtes-vous sûr de vouloir archiver cet appareil ?", + "deviceMessageArchive": "Le périphérique sera archivé et retiré de la liste des périphériques actifs.", + "deviceArchiveConfirm": "Dispositif d'archivage", + "archiveDevice": "Dispositif d'archivage", + "archive": "Archive", + "deviceUnarchived": "Appareil désarchivé", + "deviceUnarchivedDescription": "L'appareil a été désarchivé avec succès.", + "errorUnarchivingDevice": "Erreur lors de la désarchivage du périphérique", + "failedToUnarchiveDevice": "Échec de la désarchivage de l'appareil", + "unarchive": "Désarchiver", + "archiveClient": "Archiver le client", + "archiveClientQuestion": "Êtes-vous sûr de vouloir archiver ce client?", + "archiveClientMessage": "Le client sera archivé et retiré de votre liste de clients actifs.", + "archiveClientConfirm": "Archiver le client", + "blockClient": "Bloquer le client", + "blockClientQuestion": "Êtes-vous sûr de vouloir bloquer ce client?", + "blockClientMessage": "L'appareil sera forcé de se déconnecter si vous êtes actuellement connecté. Vous pourrez débloquer l'appareil plus tard.", + "blockClientConfirm": "Bloquer le client", + "active": "Actif", + "usernameOrEmail": "Nom d'utilisateur ou email", + "selectYourOrganization": "Sélectionnez votre organisation", + "signInTo": "Se connecter à", + "signInWithPassword": "Continuer avec le mot de passe", + "noAuthMethodsAvailable": "Aucune méthode d'authentification disponible pour cette organisation.", + "enterPassword": "Entrez votre mot de passe", + "enterMfaCode": "Entrez le code de votre application d'authentification", + "securityKeyRequired": "Veuillez utiliser votre clé de sécurité pour vous connecter.", + "needToUseAnotherAccount": "Besoin d'un autre compte ?", + "loginLegalDisclaimer": "En cliquant sur les boutons ci-dessous, vous reconnaissez avoir lu, compris et accepté les Conditions d'utilisation et la Politique de confidentialité.", + "termsOfService": "Conditions d'utilisation", + "privacyPolicy": "Politique de confidentialité", + "userNotFoundWithUsername": "Aucun utilisateur trouvé avec ce nom d'utilisateur.", + "verify": "Vérifier", + "signIn": "Se connecter", + "forgotPassword": "Mot de passe oublié ?", + "orgSignInTip": "Si vous vous êtes déjà connecté, vous pouvez entrer votre nom d'utilisateur ou votre e-mail ci-dessus pour vous authentifier auprès du fournisseur d'identité de votre organisation. C'est plus facile !", + "continueAnyway": "Continuer quand même", + "dontShowAgain": "Ne plus afficher", + "orgSignInNotice": "Le saviez-vous ?", + "signupOrgNotice": "Vous essayez de vous connecter ?", + "signupOrgTip": "Essayez-vous de vous connecter par l'intermédiaire du fournisseur d'identité de votre organisme?", + "signupOrgLink": "Connectez-vous ou inscrivez-vous avec votre organisation à la place", + "verifyEmailLogInWithDifferentAccount": "Utiliser un compte différent", + "logIn": "Se connecter", + "deviceInformation": "Informations sur l'appareil", + "deviceInformationDescription": "Informations sur l'appareil et l'agent", + "platform": "Plateforme", + "macosVersion": "Version macOS", + "windowsVersion": "Version de Windows", + "iosVersion": "Version iOS", + "androidVersion": "Version d'Android", + "osVersion": "Version du système d'exploitation", + "kernelVersion": "Version du noyau", + "deviceModel": "Modèle de l'appareil", + "serialNumber": "Numéro de série", + "hostname": "Hostname", + "firstSeen": "Première vue", + "lastSeen": "Dernière vue", + "deviceSettingsDescription": "Afficher les informations et les paramètres de l'appareil", + "devicePendingApprovalDescription": "Cet appareil est en attente d'approbation", + "deviceBlockedDescription": "Cet appareil est actuellement bloqué. Il ne pourra se connecter à aucune ressource à moins d'être débloqué.", + "unblockClient": "Débloquer le client", + "unblockClientDescription": "L'appareil a été débloqué", + "unarchiveClient": "Désarchiver le client", + "unarchiveClientDescription": "L'appareil a été désarchivé", + "block": "Bloquer", + "unblock": "Débloquer", + "deviceActions": "Actions de l'appareil", + "deviceActionsDescription": "Gérer le statut et l'accès de l'appareil", + "devicePendingApprovalBannerDescription": "Cet appareil est en attente d'approbation. Il ne sera pas en mesure de se connecter aux ressources jusqu'à ce qu'il soit approuvé.", + "connected": "Connecté", + "disconnected": "Déconnecté", + "approvalsEmptyStateTitle": "Approbations de l'appareil non activées", + "approvalsEmptyStateDescription": "Activer les autorisations de l'appareil pour les rôles qui nécessitent l'approbation de l'administrateur avant que les utilisateurs puissent connecter de nouveaux appareils.", + "approvalsEmptyStateStep1Title": "Aller aux Rôles", + "approvalsEmptyStateStep1Description": "Accédez aux paramètres de rôles de votre organisation pour configurer les autorisations de l'appareil.", + "approvalsEmptyStateStep2Title": "Activer les autorisations de l'appareil", + "approvalsEmptyStateStep2Description": "Modifier un rôle et activer l'option 'Exiger les autorisations de l'appareil'. Les utilisateurs avec ce rôle auront besoin de l'approbation de l'administrateur pour les nouveaux appareils.", + "approvalsEmptyStatePreviewDescription": "Aperçu: Lorsque cette option est activée, les demandes de périphérique en attente apparaîtront ici pour vérification", + "approvalsEmptyStateButtonText": "Gérer les rôles" } From 8fc4a0dc48b02bcbcce5ff48a0c4158ed5d30386 Mon Sep 17 00:00:00 2001 From: Owen Schwartz Date: Tue, 20 Jan 2026 16:39:16 -0800 Subject: [PATCH 27/42] New translations en-us.json (Spanish) --- messages/es-ES.json | 146 +++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 137 insertions(+), 9 deletions(-) diff --git a/messages/es-ES.json b/messages/es-ES.json index 78336315..ae240d50 100644 --- a/messages/es-ES.json +++ b/messages/es-ES.json @@ -56,6 +56,9 @@ "sitesBannerTitle": "Conectar cualquier red", "sitesBannerDescription": "Un sitio es una conexión a una red remota que permite a Pangolin proporcionar acceso a recursos, públicos o privados, a usuarios en cualquier lugar. Instale el conector de red del sitio (Newt) en cualquier lugar donde pueda ejecutar un binario o contenedor para establecer la conexión.", "sitesBannerButtonText": "Instalar sitio", + "approvalsBannerTitle": "Aprobar o denegar el acceso al dispositivo", + "approvalsBannerDescription": "Revisar y aprobar o denegar las solicitudes de acceso al dispositivo de los usuarios. Cuando se requieren aprobaciones de dispositivos, los usuarios deben obtener la aprobación del administrador antes de que sus dispositivos puedan conectarse a los recursos de su organización.", + "approvalsBannerButtonText": "Saber más", "siteCreate": "Crear sitio", "siteCreateDescription2": "Siga los pasos siguientes para crear y conectar un nuevo sitio", "siteCreateDescription": "Crear un nuevo sitio para empezar a conectar recursos", @@ -257,6 +260,8 @@ "accessRolesSearch": "Buscar roles...", "accessRolesAdd": "Añadir rol", "accessRoleDelete": "Eliminar rol", + "accessApprovalsManage": "Administrar aprobaciones", + "accessApprovalsDescription": "Ver y administrar aprobaciones pendientes para el acceso a esta organización", "description": "Descripción", "inviteTitle": "Invitaciones abiertas", "inviteDescription": "Administrar invitaciones para que otros usuarios se unan a la organización", @@ -450,6 +455,18 @@ "selectDuration": "Seleccionar duración", "selectResource": "Seleccionar Recurso", "filterByResource": "Filtrar por Recurso", + "selectApprovalState": "Seleccionar Estado de Aprobación", + "filterByApprovalState": "Filtrar por estado de aprobación", + "approvalListEmpty": "No hay aprobaciones", + "approvalState": "Estado de aprobación", + "approve": "Aprobar", + "approved": "Aprobado", + "denied": "Denegado", + "deniedApproval": "Aprobación denegada", + "all": "Todo", + "deny": "Denegar", + "viewDetails": "Ver detalles", + "requestingNewDeviceApproval": "solicitó un nuevo dispositivo", "resetFilters": "Reiniciar filtros", "totalBlocked": "Solicitudes bloqueadas por Pangolin", "totalRequests": "Solicitudes totales", @@ -729,16 +746,28 @@ "countries": "Países", "accessRoleCreate": "Crear rol", "accessRoleCreateDescription": "Crear un nuevo rol para agrupar usuarios y administrar sus permisos.", + "accessRoleEdit": "Editar rol", + "accessRoleEditDescription": "Editar información de rol.", "accessRoleCreateSubmit": "Crear rol", "accessRoleCreated": "Rol creado", "accessRoleCreatedDescription": "El rol se ha creado correctamente.", "accessRoleErrorCreate": "Error al crear el rol", "accessRoleErrorCreateDescription": "Se ha producido un error al crear el rol.", + "accessRoleUpdateSubmit": "Actualizar rol", + "accessRoleUpdated": "Rol actualizado", + "accessRoleUpdatedDescription": "El rol se ha actualizado correctamente.", + "accessApprovalUpdated": "Aprobación procesada", + "accessApprovalApprovedDescription": "Establezca la decisión de Solicitud de Aprobación a aprobar.", + "accessApprovalDeniedDescription": "Define la decisión de Solicitud de Aprobación a denegar.", + "accessRoleErrorUpdate": "Error al actualizar el rol", + "accessRoleErrorUpdateDescription": "Se ha producido un error al actualizar el rol.", + "accessApprovalErrorUpdate": "Error al procesar la aprobación", + "accessApprovalErrorUpdateDescription": "Se ha producido un error al procesar la aprobación.", "accessRoleErrorNewRequired": "Se requiere un nuevo rol", "accessRoleErrorRemove": "Error al eliminar el rol", "accessRoleErrorRemoveDescription": "Ocurrió un error mientras se eliminaba el rol.", "accessRoleName": "Nombre del Rol", - "accessRoleQuestionRemove": "Estás a punto de eliminar el rol {name} . No puedes deshacer esta acción.", + "accessRoleQuestionRemove": "Estás a punto de eliminar el rol `{name}`. No puedes deshacer esta acción.", "accessRoleRemove": "Quitar rol", "accessRoleRemoveDescription": "Eliminar un rol de la organización", "accessRoleRemoveSubmit": "Quitar rol", @@ -960,7 +989,7 @@ "passwordResetSmtpRequired": "Póngase en contacto con su administrador", "passwordResetSmtpRequiredDescription": "Se requiere un código de restablecimiento de contraseña para restablecer su contraseña. Póngase en contacto con su administrador para obtener asistencia.", "passwordBack": "Volver a la contraseña", - "loginBack": "Volver a iniciar sesión", + "loginBack": "Volver a la página principal de acceso", "signup": "Regístrate", "loginStart": "Inicia sesión para empezar", "idpOidcTokenValidating": "Validando token OIDC", @@ -1118,6 +1147,10 @@ "actionUpdateIdpOrg": "Actualizar IDP Org", "actionCreateClient": "Crear cliente", "actionDeleteClient": "Eliminar cliente", + "actionArchiveClient": "Archivar cliente", + "actionUnarchiveClient": "Desarchivar cliente", + "actionBlockClient": "Bloquear cliente", + "actionUnblockClient": "Desbloquear cliente", "actionUpdateClient": "Actualizar cliente", "actionListClients": "Listar clientes", "actionGetClient": "Obtener cliente", @@ -1134,14 +1167,14 @@ "searchProgress": "Buscar...", "create": "Crear", "orgs": "Organizaciones", - "loginError": "Se ha producido un error al iniciar sesión", - "loginRequiredForDevice": "Es necesario iniciar sesión para autenticar tu dispositivo.", + "loginError": "Ocurrió un error inesperado. Por favor, inténtelo de nuevo.", + "loginRequiredForDevice": "Es necesario iniciar sesión para tu dispositivo.", "passwordForgot": "¿Olvidaste tu contraseña?", "otpAuth": "Autenticación de dos factores", "otpAuthDescription": "Introduzca el código de su aplicación de autenticación o uno de sus códigos de copia de seguridad de un solo uso.", "otpAuthSubmit": "Enviar código", "idpContinue": "O continuar con", - "otpAuthBack": "Volver a iniciar sesión", + "otpAuthBack": "Volver a la contraseña", "navbar": "Menú de navegación", "navbarDescription": "Menú de navegación principal para la aplicación", "navbarDocsLink": "Documentación", @@ -1189,6 +1222,7 @@ "sidebarOverview": "Resumen", "sidebarHome": "Inicio", "sidebarSites": "Sitios", + "sidebarApprovals": "Solicitudes de aprobación", "sidebarResources": "Recursos", "sidebarProxyResources": "Público", "sidebarClientResources": "Privado", @@ -1205,7 +1239,7 @@ "sidebarIdentityProviders": "Proveedores de identidad", "sidebarLicense": "Licencia", "sidebarClients": "Clientes", - "sidebarUserDevices": "Usuarios", + "sidebarUserDevices": "Dispositivos de usuario", "sidebarMachineClients": "Máquinas", "sidebarDomains": "Dominios", "sidebarGeneral": "Gestionar", @@ -1277,6 +1311,7 @@ "setupErrorCreateAdmin": "Se produjo un error al crear la cuenta de administrador del servidor.", "certificateStatus": "Estado del certificado", "loading": "Cargando", + "loadingAnalytics": "Cargando analíticas", "restart": "Reiniciar", "domains": "Dominios", "domainsDescription": "Crear y administrar dominios disponibles en la organización", @@ -1304,6 +1339,7 @@ "refreshError": "Error al actualizar datos", "verified": "Verificado", "pending": "Pendiente", + "pendingApproval": "Pendientes de aprobación", "sidebarBilling": "Facturación", "billing": "Facturación", "orgBillingDescription": "Administrar información de facturación y suscripciones", @@ -1420,7 +1456,7 @@ "securityKeyRemoveSuccess": "Llave de seguridad eliminada exitosamente", "securityKeyRemoveError": "Error al eliminar la llave de seguridad", "securityKeyLoadError": "Error al cargar las llaves de seguridad", - "securityKeyLogin": "Continuar con clave de seguridad", + "securityKeyLogin": "Usar clave de seguridad", "securityKeyAuthError": "Error al autenticar con llave de seguridad", "securityKeyRecommendation": "Considere registrar otra llave de seguridad en un dispositivo diferente para asegurarse de no quedar bloqueado de su cuenta.", "registering": "Registrando...", @@ -1547,6 +1583,8 @@ "IntervalSeconds": "Intervalo Saludable", "timeoutSeconds": "Tiempo agotado (seg)", "timeIsInSeconds": "El tiempo está en segundos", + "requireDeviceApproval": "Requiere aprobaciones del dispositivo", + "requireDeviceApprovalDescription": "Los usuarios con este rol necesitan nuevos dispositivos aprobados por un administrador antes de poder conectarse y acceder a los recursos.", "retryAttempts": "Intentos de Reintento", "expectedResponseCodes": "Códigos de respuesta esperados", "expectedResponseCodesDescription": "Código de estado HTTP que indica un estado saludable. Si se deja en blanco, se considera saludable de 200 a 300.", @@ -2232,6 +2270,8 @@ "deviceCodeInvalidFormat": "El código debe tener 9 caracteres (por ejemplo, A1AJ-N5JD)", "deviceCodeInvalidOrExpired": "Código no válido o caducado", "deviceCodeVerifyFailed": "Error al verificar el código del dispositivo", + "deviceCodeValidating": "Validando código de dispositivo...", + "deviceCodeVerifying": "Verificando autorización del dispositivo...", "signedInAs": "Conectado como", "deviceCodeEnterPrompt": "Introduzca el código mostrado en el dispositivo", "continue": "Continuar", @@ -2244,7 +2284,7 @@ "deviceOrganizationsAccess": "Acceso a todas las organizaciones a las que su cuenta tiene acceso", "deviceAuthorize": "Autorizar a {applicationName}", "deviceConnected": "¡Dispositivo conectado!", - "deviceAuthorizedMessage": "El dispositivo está autorizado para acceder a su cuenta.", + "deviceAuthorizedMessage": "El dispositivo está autorizado para acceder a su cuenta. Por favor, vuelva a la aplicación cliente.", "pangolinCloud": "Nube de Pangolin", "viewDevices": "Ver dispositivos", "viewDevicesDescription": "Administra tus dispositivos conectados", @@ -2306,6 +2346,7 @@ "identifier": "Identifier", "deviceLoginUseDifferentAccount": "¿No tú? Utilice una cuenta diferente.", "deviceLoginDeviceRequestingAccessToAccount": "Un dispositivo está solicitando acceso a esta cuenta.", + "loginSelectAuthenticationMethod": "Seleccione un método de autenticación para continuar.", "noData": "Sin datos", "machineClients": "Clientes de la máquina", "install": "Instalar", @@ -2394,5 +2435,92 @@ "maintenanceScreenTitle": "Servicio temporalmente no disponible", "maintenanceScreenMessage": "Actualmente estamos experimentando dificultades técnicas. Por favor regrese pronto.", "maintenanceScreenEstimatedCompletion": "Estimado completado:", - "createInternalResourceDialogDestinationRequired": "Se requiere destino" + "createInternalResourceDialogDestinationRequired": "Se requiere destino", + "available": "Disponible", + "archived": "Archivado", + "noArchivedDevices": "No se encontraron dispositivos archivados", + "deviceArchived": "Dispositivo archivado", + "deviceArchivedDescription": "El dispositivo se ha archivado correctamente.", + "errorArchivingDevice": "Error al archivar dispositivo", + "failedToArchiveDevice": "Error al archivar el dispositivo", + "deviceQuestionArchive": "¿Está seguro que desea archivar este dispositivo?", + "deviceMessageArchive": "El dispositivo será archivado y eliminado de su lista de dispositivos activos.", + "deviceArchiveConfirm": "Archivar dispositivo", + "archiveDevice": "Archivar dispositivo", + "archive": "Archivar", + "deviceUnarchived": "Dispositivo desarchivado", + "deviceUnarchivedDescription": "El dispositivo se ha desarchivado correctamente.", + "errorUnarchivingDevice": "Error al desarchivar dispositivo", + "failedToUnarchiveDevice": "Error al desarchivar el dispositivo", + "unarchive": "Desarchivar", + "archiveClient": "Archivar cliente", + "archiveClientQuestion": "¿Está seguro que desea archivar este cliente?", + "archiveClientMessage": "El cliente será archivado y eliminado de su lista de clientes activos.", + "archiveClientConfirm": "Archivar cliente", + "blockClient": "Bloquear cliente", + "blockClientQuestion": "¿Estás seguro de que quieres bloquear a este cliente?", + "blockClientMessage": "El dispositivo será forzado a desconectarse si está conectado actualmente. Puede desbloquear el dispositivo más tarde.", + "blockClientConfirm": "Bloquear cliente", + "active": "Activo", + "usernameOrEmail": "Nombre de usuario o email", + "selectYourOrganization": "Seleccione su organización", + "signInTo": "Iniciar sesión en", + "signInWithPassword": "Continuar con la contraseña", + "noAuthMethodsAvailable": "No hay métodos de autenticación disponibles para esta organización.", + "enterPassword": "Introduzca su contraseña", + "enterMfaCode": "Introduzca el código de su aplicación de autenticación", + "securityKeyRequired": "Utilice su clave de seguridad para iniciar sesión.", + "needToUseAnotherAccount": "¿Necesitas usar una cuenta diferente?", + "loginLegalDisclaimer": "Al hacer clic en los botones de abajo, reconoces que has leído, comprendido, y acepta los Términos de Servicio y Política de Privacidad.", + "termsOfService": "Términos de Servicio", + "privacyPolicy": "Política de privacidad", + "userNotFoundWithUsername": "Ningún usuario encontrado con ese nombre de usuario.", + "verify": "Verificar", + "signIn": "Iniciar sesión", + "forgotPassword": "¿Olvidaste la contraseña?", + "orgSignInTip": "Si has iniciado sesión antes, puedes introducir tu nombre de usuario o correo electrónico arriba para autenticarte con el proveedor de identidad de tu organización. ¡Es más fácil!", + "continueAnyway": "Continuar de todos modos", + "dontShowAgain": "No volver a mostrar", + "orgSignInNotice": "¿Sabía usted?", + "signupOrgNotice": "¿Intentando iniciar sesión?", + "signupOrgTip": "¿Estás intentando iniciar sesión a través del proveedor de identidad de tu organización?", + "signupOrgLink": "Inicia sesión o regístrate con tu organización", + "verifyEmailLogInWithDifferentAccount": "Usar una cuenta diferente", + "logIn": "Iniciar sesión", + "deviceInformation": "Información del dispositivo", + "deviceInformationDescription": "Información sobre el dispositivo y el agente", + "platform": "Plataforma", + "macosVersion": "versión macOS", + "windowsVersion": "Versión de Windows", + "iosVersion": "Versión de iOS", + "androidVersion": "Versión de Android", + "osVersion": "Versión del SO", + "kernelVersion": "Versión de Kernel", + "deviceModel": "Modelo de dispositivo", + "serialNumber": "Número Serial", + "hostname": "Hostname", + "firstSeen": "Primer detectado", + "lastSeen": "Último Visto", + "deviceSettingsDescription": "Ver información y ajustes del dispositivo", + "devicePendingApprovalDescription": "Este dispositivo está esperando su aprobación", + "deviceBlockedDescription": "Este dispositivo está actualmente bloqueado. No podrá conectarse a ningún recurso a menos que sea desbloqueado.", + "unblockClient": "Desbloquear cliente", + "unblockClientDescription": "El dispositivo ha sido desbloqueado", + "unarchiveClient": "Desarchivar cliente", + "unarchiveClientDescription": "El dispositivo ha sido desarchivado", + "block": "Bloque", + "unblock": "Desbloquear", + "deviceActions": "Acciones del dispositivo", + "deviceActionsDescription": "Administrar estado y acceso al dispositivo", + "devicePendingApprovalBannerDescription": "Este dispositivo está pendiente de aprobación. No podrá conectarse a recursos hasta que sea aprobado.", + "connected": "Conectado", + "disconnected": "Desconectado", + "approvalsEmptyStateTitle": "Aprobaciones de dispositivo no habilitadas", + "approvalsEmptyStateDescription": "Habilita las aprobaciones de dispositivos para que los roles requieran aprobación del administrador antes de que los usuarios puedan conectar nuevos dispositivos.", + "approvalsEmptyStateStep1Title": "Ir a roles", + "approvalsEmptyStateStep1Description": "Navega a la configuración de roles de tu organización para configurar las aprobaciones de dispositivos.", + "approvalsEmptyStateStep2Title": "Habilitar aprobaciones de dispositivo", + "approvalsEmptyStateStep2Description": "Editar un rol y habilitar la opción 'Requerir aprobaciones de dispositivos'. Los usuarios con este rol necesitarán la aprobación del administrador para nuevos dispositivos.", + "approvalsEmptyStatePreviewDescription": "Vista previa: Cuando está habilitado, las solicitudes de dispositivo pendientes aparecerán aquí para su revisión", + "approvalsEmptyStateButtonText": "Administrar roles" } From 86415d675bf3a14878800be17ec126e80fd834c8 Mon Sep 17 00:00:00 2001 From: Owen Schwartz Date: Tue, 20 Jan 2026 16:39:17 -0800 Subject: [PATCH 28/42] New translations en-us.json (Bulgarian) --- messages/bg-BG.json | 152 ++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 140 insertions(+), 12 deletions(-) diff --git a/messages/bg-BG.json b/messages/bg-BG.json index f85b6c9e..b6e6625d 100644 --- a/messages/bg-BG.json +++ b/messages/bg-BG.json @@ -56,6 +56,9 @@ "sitesBannerTitle": "Свържете се с мрежа.", "sitesBannerDescription": "Сайтът е връзка с отдалечена мрежа, която позволява на Pangolin да предоставя достъп до ресурси, било то публични или частни, на потребители навсякъде. Инсталирайте мрежовия конектор на сайта (Newt) навсякъде, където можете да стартирате бинарен или контейнер, за да създадете връзката.", "sitesBannerButtonText": "Инсталиране на сайт.", + "approvalsBannerTitle": "Одобрете или откажете достъп до устройство", + "approvalsBannerDescription": "Прегледайте и одобрите или откажете искания за достъп до устройства от потребители. Когато се изисква одобрение на устройства, потребителите трябва да получат администраторско одобрение, преди техните устройства да могат да се свържат с ресурсите на вашата организация.", + "approvalsBannerButtonText": "Научете повече", "siteCreate": "Създайте сайт", "siteCreateDescription2": "Следвайте стъпките по-долу, за да създадете и свържете нов сайт", "siteCreateDescription": "Създайте нов сайт, за да започнете да свързвате ресурси", @@ -257,6 +260,8 @@ "accessRolesSearch": "Търсене на роли...", "accessRolesAdd": "Добавете роля", "accessRoleDelete": "Изтриване на роля", + "accessApprovalsManage": "Управление на одобрения", + "accessApprovalsDescription": "Прегледайте и управлявайте чакащи одобрения за достъп до тази организация", "description": "Описание", "inviteTitle": "Отворени покани", "inviteDescription": "Управлявайте покани за други потребители да се присъединят към организацията", @@ -450,6 +455,18 @@ "selectDuration": "Изберете продължителност", "selectResource": "Изберете Ресурс", "filterByResource": "Филтрирай По Ресурс", + "selectApprovalState": "Изберете състояние на одобрение", + "filterByApprovalState": "Филтрирайте по състояние на одобрение", + "approvalListEmpty": "Няма одобрения", + "approvalState": "Състояние на одобрение", + "approve": "Одобряване", + "approved": "Одобрен", + "denied": "Отказан", + "deniedApproval": "Одобрение е отказано", + "all": "Всички", + "deny": "Откажете", + "viewDetails": "Разгледай подробности", + "requestingNewDeviceApproval": "поискана нова устройство", "resetFilters": "Нулиране на Филтрите", "totalBlocked": "Заявки Блокирани От Pangolin", "totalRequests": "Общо Заявки", @@ -729,16 +746,28 @@ "countries": "Държави", "accessRoleCreate": "Създайте роля", "accessRoleCreateDescription": "Създайте нова роля за групиране на потребители и управление на техните разрешения.", + "accessRoleEdit": "Редактиране на роля", + "accessRoleEditDescription": "Редактирайте информацията за ролята.", "accessRoleCreateSubmit": "Създайте роля", "accessRoleCreated": "Ролята е създадена", "accessRoleCreatedDescription": "Ролята беше успешно създадена.", "accessRoleErrorCreate": "Неуспешно създаване на роля", "accessRoleErrorCreateDescription": "Възникна грешка при създаването на ролята.", + "accessRoleUpdateSubmit": "Обновете роля", + "accessRoleUpdated": "Ролята е актуализирана", + "accessRoleUpdatedDescription": "Ролята беше успешно актуализирана.", + "accessApprovalUpdated": "Одобрението е обработено", + "accessApprovalApprovedDescription": "Задайте решение на заявка за одобрение да бъде одобрено.", + "accessApprovalDeniedDescription": "Задайте решение на заявка за одобрение да бъде отказано.", + "accessRoleErrorUpdate": "Неуспешно актуализиране на ролята", + "accessRoleErrorUpdateDescription": "Възникна грешка при актуализиране на ролята.", + "accessApprovalErrorUpdate": "Неуспешно обработване на одобрение", + "accessApprovalErrorUpdateDescription": "Възникна грешка при обработване на одобрението.", "accessRoleErrorNewRequired": "Нова роля е необходима", "accessRoleErrorRemove": "Неуспешно премахване на роля", "accessRoleErrorRemoveDescription": "Възникна грешка при премахването на роля.", "accessRoleName": "Име на роля", - "accessRoleQuestionRemove": "Ще изтриете ролята {name}. Не можете да отмените това действие.", + "accessRoleQuestionRemove": "Ще изтриете ролята `{name}`. Не можете да отмените това действие.", "accessRoleRemove": "Премахни роля", "accessRoleRemoveDescription": "Премахни роля от организацията", "accessRoleRemoveSubmit": "Премахни роля", @@ -874,7 +903,7 @@ "inviteAlready": "Изглежда, че сте били поканени!", "inviteAlreadyDescription": "За да приемете поканата, трябва да влезете или да създадете акаунт.", "signupQuestion": "Вече имате акаунт?", - "login": "Влизане", + "login": "Вход", "resourceNotFound": "Ресурсът не е намерен", "resourceNotFoundDescription": "Ресурсът, който се опитвате да достъпите, не съществува.", "pincodeRequirementsLength": "ПИН трябва да бъде точно 6 цифри", @@ -954,13 +983,13 @@ "passwordExpiryDescription": "Тази организация изисква да сменяте паролата си на всеки {maxDays} дни.", "changePasswordNow": "Сменете паролата сега", "pincodeAuth": "Код на удостоверителя", - "pincodeSubmit2": "Изпрати код", + "pincodeSubmit2": "Изпратете кода", "passwordResetSubmit": "Заявка за нулиране", "passwordResetAlreadyHaveCode": "Въведете код.", "passwordResetSmtpRequired": "Моля, свържете се с вашия администратор", "passwordResetSmtpRequiredDescription": "Кодът за нулиране на парола е задължителен за нулиране на паролата ви. Моля, свържете се с вашия администратор за помощ.", "passwordBack": "Назад към Парола", - "loginBack": "Връщане към вход", + "loginBack": "Върнете се на главната страница за вход", "signup": "Регистрация", "loginStart": "Влезте, за да започнете", "idpOidcTokenValidating": "Валидиране на OIDC токен", @@ -1118,6 +1147,10 @@ "actionUpdateIdpOrg": "Актуализиране на IdP организация", "actionCreateClient": "Създаване на клиент", "actionDeleteClient": "Изтриване на клиент", + "actionArchiveClient": "Архивиране на клиента", + "actionUnarchiveClient": "Разархивиране на клиента", + "actionBlockClient": "Блокиране на клиента", + "actionUnblockClient": "Деблокиране на клиента", "actionUpdateClient": "Актуализиране на клиент", "actionListClients": "Списък с клиенти", "actionGetClient": "Получаване на клиент", @@ -1134,14 +1167,14 @@ "searchProgress": "Търсене...", "create": "Създаване", "orgs": "Организации", - "loginError": "Възникна грешка при влизане", - "loginRequiredForDevice": "Необходим е вход за удостоверяване на вашето устройство.", + "loginError": "Възникна неочаквана грешка. Моля, опитайте отново.", + "loginRequiredForDevice": "Необходим е вход за вашето устройство.", "passwordForgot": "Забравена парола?", "otpAuth": "Двуфакторно удостоверяване", "otpAuthDescription": "Въведете кода от приложението за удостоверяване или един от вашите резервни кодове за еднократна употреба.", "otpAuthSubmit": "Изпрати код", "idpContinue": "Или продължете със", - "otpAuthBack": "Назад към Вход", + "otpAuthBack": "Назад към парола", "navbar": "Навигационно меню", "navbarDescription": "Главно навигационно меню за приложението", "navbarDocsLink": "Документация", @@ -1189,6 +1222,7 @@ "sidebarOverview": "Общ преглед", "sidebarHome": "Начало", "sidebarSites": "Сайтове", + "sidebarApprovals": "Заявки за одобрение", "sidebarResources": "Ресурси", "sidebarProxyResources": "Публично", "sidebarClientResources": "Частно", @@ -1205,7 +1239,7 @@ "sidebarIdentityProviders": "Идентификационни доставчици", "sidebarLicense": "Лиценз", "sidebarClients": "Клиенти", - "sidebarUserDevices": "Потребители", + "sidebarUserDevices": "Устройства на потребителя", "sidebarMachineClients": "Машини", "sidebarDomains": "Домейни", "sidebarGeneral": "Управление.", @@ -1277,6 +1311,7 @@ "setupErrorCreateAdmin": "Възникна грешка при създаване на админ акаунт.", "certificateStatus": "Статус на сертификата", "loading": "Зареждане", + "loadingAnalytics": "Зареждане на анализи", "restart": "Рестарт", "domains": "Домейни", "domainsDescription": "Създайте и управлявайте наличните домейни в организацията", @@ -1304,6 +1339,7 @@ "refreshError": "Неуспешно обновяване на данни", "verified": "Потвърдено", "pending": "Чакащо", + "pendingApproval": "Очаква одобрение", "sidebarBilling": "Фактуриране", "billing": "Фактуриране", "orgBillingDescription": "Управлявайте информацията за плащане и абонаментите", @@ -1420,7 +1456,7 @@ "securityKeyRemoveSuccess": "Ключът за защита е премахнат успешно", "securityKeyRemoveError": "Неуспешно премахване на ключ за защита", "securityKeyLoadError": "Неуспешно зареждане на ключове за защита", - "securityKeyLogin": "Продължете с ключа за сигурност", + "securityKeyLogin": "Използвайте ключ за защита", "securityKeyAuthError": "Неуспешно удостоверяване с ключ за сигурност", "securityKeyRecommendation": "Регистрирайте резервен ключ за безопасност на друго устройство, за да сте сигурни, че винаги ще имате достъп до профила си", "registering": "Регистрация...", @@ -1547,6 +1583,8 @@ "IntervalSeconds": "Интервал за здраве", "timeoutSeconds": "Време за изчакване (сек)", "timeIsInSeconds": "Времето е в секунди", + "requireDeviceApproval": "Изискват одобрение на устройства", + "requireDeviceApprovalDescription": "Потребители с тази роля трябва да имат нови устройства одобрени от администратор преди да могат да се свържат и да имат достъп до ресурси.", "retryAttempts": "Опити за повторно", "expectedResponseCodes": "Очаквани кодове за отговор", "expectedResponseCodesDescription": "HTTP статус код, указващ здравословно състояние. Ако бъде оставено празно, между 200-300 се счита за здравословно.", @@ -1876,7 +1914,7 @@ "orgAuthChooseIdpDescription": "Изберете своя доставчик на идентичност, за да продължите", "orgAuthNoIdpConfigured": "Тази организация няма конфигурирани доставчици на идентичност. Можете да влезете с вашата Pangolin идентичност.", "orgAuthSignInWithPangolin": "Впишете се с Pangolin", - "orgAuthSignInToOrg": "Влезте в организация.", + "orgAuthSignInToOrg": "Влезте в организация", "orgAuthSelectOrgTitle": "Вход в организация.", "orgAuthSelectOrgDescription": "Въведете идентификатора на вашата организация, за да продължите.", "orgAuthOrgIdPlaceholder": "вашата-организация", @@ -2232,6 +2270,8 @@ "deviceCodeInvalidFormat": "Кодът трябва да бъде 9 символа (напр. A1AJ-N5JD)", "deviceCodeInvalidOrExpired": "Невалиден или изтекъл код", "deviceCodeVerifyFailed": "Неуспешна проверка на кода на устройството", + "deviceCodeValidating": "Валидиране на кода на устройството...", + "deviceCodeVerifying": "Проверка на оторизацията на устройството...", "signedInAs": "Вписан като", "deviceCodeEnterPrompt": "Въведете кода, показан на устройството", "continue": "Продължете", @@ -2244,7 +2284,7 @@ "deviceOrganizationsAccess": "Достъп до всички организации, до които има достъп акаунтът ви", "deviceAuthorize": "Разрешете {applicationName}", "deviceConnected": "Устройството е свързано!", - "deviceAuthorizedMessage": "Устройството е разрешено да има достъп до вашия акаунт.", + "deviceAuthorizedMessage": "Устройството е оторизирано да има достъп до акаунта ви. Моля, върнете се към клиентското приложение.", "pangolinCloud": "Pangolin Cloud", "viewDevices": "Преглед на устройствата", "viewDevicesDescription": "Управлявайте свързаните си устройства", @@ -2306,6 +2346,7 @@ "identifier": "Идентификатор", "deviceLoginUseDifferentAccount": "Не сте вие? Използвайте друг акаунт.", "deviceLoginDeviceRequestingAccessToAccount": "Устройство запитващо достъп до този акаунт.", + "loginSelectAuthenticationMethod": "Изберете метод на удостоверяване, за да продължите.", "noData": "Няма Данни", "machineClients": "Машинни клиенти", "install": "Инсталирай", @@ -2394,5 +2435,92 @@ "maintenanceScreenTitle": "Услугата временно недостъпна.", "maintenanceScreenMessage": "В момента срещаме технически затруднения. Моля, проверете отново скоро.", "maintenanceScreenEstimatedCompletion": "Прогнозно завършване:", - "createInternalResourceDialogDestinationRequired": "Дестинацията е задължителна." + "createInternalResourceDialogDestinationRequired": "Дестинацията е задължителна.", + "available": "Налично", + "archived": "Архивирано", + "noArchivedDevices": "Не са намерени архивирани устройства.", + "deviceArchived": "Устройството е архивирано.", + "deviceArchivedDescription": "Устройството беше успешно архивирано.", + "errorArchivingDevice": "Грешка при архивиране на устройството.", + "failedToArchiveDevice": "Неуспех при архивиране на устройството.", + "deviceQuestionArchive": "Сигурни ли сте, че искате да архивирате това устройство?", + "deviceMessageArchive": "Устройството ще бъде архивирано и премахнато от вашия списък с активни устройства.", + "deviceArchiveConfirm": "Архивиране на устройството", + "archiveDevice": "Архивиране на устройство", + "archive": "Архив", + "deviceUnarchived": "Устройството е разархивирано.", + "deviceUnarchivedDescription": "Устройството беше успешно разархивирано.", + "errorUnarchivingDevice": "Грешка при разархивиране на устройството.", + "failedToUnarchiveDevice": "Неуспешно разархивиране на устройството.", + "unarchive": "Разархивиране", + "archiveClient": "Архивиране на клиента", + "archiveClientQuestion": "Сигурни ли сте, че искате да архивирате този клиент?", + "archiveClientMessage": "Клиентът ще бъде архивиран и премахнат от вашия списък с активни клиенти.", + "archiveClientConfirm": "Архивиране на клиента", + "blockClient": "Блокиране на клиента", + "blockClientQuestion": "Сигурни ли сте, че искате да блокирате този клиент?", + "blockClientMessage": "Устройството ще бъде принудено да прекъсне, ако е в момента свързано. Можете да го отблокирате по-късно.", + "blockClientConfirm": "Блокиране на клиента", + "active": "Активно", + "usernameOrEmail": "Потребителско име или имейл", + "selectYourOrganization": "Изберете вашата организация", + "signInTo": "Влезте в", + "signInWithPassword": "Продължете с парола", + "noAuthMethodsAvailable": "Няма налични методи за удостоверяване за тази организация.", + "enterPassword": "Въведете вашата парола", + "enterMfaCode": "Въведете кода от вашето приложение за удостоверяване", + "securityKeyRequired": "Моля, използвайте ключа за сигурност, за да влезете.", + "needToUseAnotherAccount": "Трябва ли да използвате различен акаунт?", + "loginLegalDisclaimer": "С натискането на бутоните по-долу, потвърждавате, че сте прочели, разбирате и се съгласявате с Условията за ползване и Политиката за поверителност.", + "termsOfService": "Условия за ползване", + "privacyPolicy": "Политика за поверителност", + "userNotFoundWithUsername": "Не е намерен потребител с това потребителско име.", + "verify": "Потвърждение", + "signIn": "Вход", + "forgotPassword": "Забравена парола?", + "orgSignInTip": "Ако сте влизали преди, можете да въведете вашето потребителско име или имейл по-горе, за да се удостовери с идентификатора на вашата организация. Лесно е!", + "continueAnyway": "Продължете въпреки това", + "dontShowAgain": "Не показвайте повече", + "orgSignInNotice": "Знаете ли?", + "signupOrgNotice": "Опитвате се да влезете?", + "signupOrgTip": "Опитвате ли се да влезете чрез идентификационния доставчик на вашата организация?", + "signupOrgLink": "Влезте или се регистрирайте с вашата организация вместо това.", + "verifyEmailLogInWithDifferentAccount": "Използвайте различен акаунт", + "logIn": "Вход", + "deviceInformation": "Информация за устройството", + "deviceInformationDescription": "Информация за устройството и агента", + "platform": "Платформа", + "macosVersion": "Версия на macOS", + "windowsVersion": "Версия на Windows", + "iosVersion": "Версия на iOS", + "androidVersion": "Версия на Android", + "osVersion": "Версия на ОС", + "kernelVersion": "Версия на ядрото", + "deviceModel": "Модел на устройството", + "serialNumber": "Сериен номер", + "hostname": "Име на хост", + "firstSeen": "Видян за първи път", + "lastSeen": "Последно видян", + "deviceSettingsDescription": "Разгледайте информация и настройки на устройството", + "devicePendingApprovalDescription": "Това устройство чака одобрение", + "deviceBlockedDescription": "Това устройство е в момента блокирано. Няма да може да се свърже с никакви ресурси, освен ако не бъде деблокирано.", + "unblockClient": "Деблокирайте клиента", + "unblockClientDescription": "Устройството е деблокирано", + "unarchiveClient": "Разархивиране на клиента", + "unarchiveClientDescription": "Устройството е разархивирано", + "block": "Блокирането", + "unblock": "Деблокиране", + "deviceActions": "Действия с устройствата", + "deviceActionsDescription": "Управлявайте състоянието и достъпа на устройството", + "devicePendingApprovalBannerDescription": "Това устройство чака одобрение. Няма да може да се свърже с ресурси, докато не бъде одобрено.", + "connected": "Свързан", + "disconnected": "Прекъснат", + "approvalsEmptyStateTitle": "Одобрения на устройство не са активирани", + "approvalsEmptyStateDescription": "Активирайте одобрения на устройства за роли, така че да изискват администраторско одобрение, преди потребителите да могат да свързват нови устройства.", + "approvalsEmptyStateStep1Title": "Отидете на роли", + "approvalsEmptyStateStep1Description": "Навигирайте до настройките на ролите на вашата организация, за да конфигурирате одобренията на устройства.", + "approvalsEmptyStateStep2Title": "Активирайте одобрения на устройства", + "approvalsEmptyStateStep2Description": "Редактирайте ролята и активирайте опцията 'Изискване на одобрения за устройства'. Потребители с тази роля ще трябва администраторско одобрение за нови устройства.", + "approvalsEmptyStatePreviewDescription": "Преглед: Когато е активирано, чакащите заявки за устройства ще се появят тук за преглед", + "approvalsEmptyStateButtonText": "Управлявайте роли" } From 29723052abacf559a0b9d29317c8f735101bce42 Mon Sep 17 00:00:00 2001 From: Owen Schwartz Date: Tue, 20 Jan 2026 16:39:19 -0800 Subject: [PATCH 29/42] New translations en-us.json (Czech) --- messages/cs-CZ.json | 148 +++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 138 insertions(+), 10 deletions(-) diff --git a/messages/cs-CZ.json b/messages/cs-CZ.json index 50330652..e42583bf 100644 --- a/messages/cs-CZ.json +++ b/messages/cs-CZ.json @@ -56,6 +56,9 @@ "sitesBannerTitle": "Připojit jakoukoli síť", "sitesBannerDescription": "Lokalita je připojení k vzdálené síti, která umožňuje Pangolinu poskytovat přístup k prostředkům, ať už veřejným nebo soukromým, uživatelům kdekoli. Nainstalujte síťový konektor (Newt) kamkoli, kam můžete spustit binární soubor nebo kontejner, aby bylo možné připojení navázat.", "sitesBannerButtonText": "Nainstalovat lokalitu", + "approvalsBannerTitle": "Schválit nebo zakázat přístup k zařízení", + "approvalsBannerDescription": "Zkontrolovat a schválit nebo zakázat žádosti uživatelů o přístup k zařízení. Pokud jsou vyžadována schválení zařízení, musí být uživatelé oprávněni před tím, než se jejich zařízení mohou připojit k zdrojům vaší organizace.", + "approvalsBannerButtonText": "Zjistit více", "siteCreate": "Vytvořit lokalitu", "siteCreateDescription2": "Postupujte podle níže uvedených kroků, abyste vytvořili a připojili novou lokalitu", "siteCreateDescription": "Vytvořit nový web pro zahájení připojování zdrojů", @@ -257,6 +260,8 @@ "accessRolesSearch": "Hledat role...", "accessRolesAdd": "Přidat roli", "accessRoleDelete": "Odstranit roli", + "accessApprovalsManage": "Spravovat schválení", + "accessApprovalsDescription": "Zobrazit a spravovat čekající oprávnění pro přístup k této organizaci", "description": "L 343, 22.12.2009, s. 1).", "inviteTitle": "Otevřít pozvánky", "inviteDescription": "Spravovat pozvánky pro ostatní uživatele do organizace", @@ -450,6 +455,18 @@ "selectDuration": "Vyberte dobu trvání", "selectResource": "Vybrat dokument", "filterByResource": "Filtrovat podle zdroje", + "selectApprovalState": "Vyberte stát schválení", + "filterByApprovalState": "Filtrovat podle státu schválení", + "approvalListEmpty": "Žádná schválení", + "approvalState": "Země schválení", + "approve": "Schválit", + "approved": "Schváleno", + "denied": "Zamítnuto", + "deniedApproval": "Odmítnuto schválení", + "all": "Vše", + "deny": "Zamítnout", + "viewDetails": "Zobrazit detaily", + "requestingNewDeviceApproval": "vyžádal si nové zařízení", "resetFilters": "Resetovat filtry", "totalBlocked": "Požadavky blokovány Pangolinem", "totalRequests": "Celkem požadavků", @@ -729,16 +746,28 @@ "countries": "Země", "accessRoleCreate": "Vytvořit roli", "accessRoleCreateDescription": "Vytvořte novou roli pro seskupení uživatelů a spravujte jejich oprávnění.", + "accessRoleEdit": "Upravit roli", + "accessRoleEditDescription": "Upravit informace o roli.", "accessRoleCreateSubmit": "Vytvořit roli", "accessRoleCreated": "Role vytvořena", "accessRoleCreatedDescription": "Role byla úspěšně vytvořena.", "accessRoleErrorCreate": "Nepodařilo se vytvořit roli", "accessRoleErrorCreateDescription": "Došlo k chybě při vytváření role.", + "accessRoleUpdateSubmit": "Aktualizovat roli", + "accessRoleUpdated": "Role aktualizována", + "accessRoleUpdatedDescription": "Role byla úspěšně aktualizována.", + "accessApprovalUpdated": "Zpracovaná schválení", + "accessApprovalApprovedDescription": "Nastavit rozhodnutí o schválení žádosti o schválení.", + "accessApprovalDeniedDescription": "Nastavit žádost o schválení rozhodnutí o zamítnutí.", + "accessRoleErrorUpdate": "Nepodařilo se aktualizovat roli", + "accessRoleErrorUpdateDescription": "Došlo k chybě při aktualizaci role.", + "accessApprovalErrorUpdate": "Zpracování schválení se nezdařilo", + "accessApprovalErrorUpdateDescription": "Při zpracování schválení došlo k chybě.", "accessRoleErrorNewRequired": "Je vyžadována nová role", "accessRoleErrorRemove": "Nepodařilo se odstranit roli", "accessRoleErrorRemoveDescription": "Došlo k chybě při odstraňování role.", "accessRoleName": "Název role", - "accessRoleQuestionRemove": "Chystáte se odstranit {name} roli. Tuto akci nelze vrátit zpět.", + "accessRoleQuestionRemove": "Chystáte se odstranit roli `{name}`. Tuto akci nelze vrátit zpět.", "accessRoleRemove": "Odstranit roli", "accessRoleRemoveDescription": "Odebrat roli z organizace", "accessRoleRemoveSubmit": "Odstranit roli", @@ -960,7 +989,7 @@ "passwordResetSmtpRequired": "Obraťte se na správce", "passwordResetSmtpRequiredDescription": "Pro obnovení hesla je vyžadován kód pro obnovení hesla. Kontaktujte prosím svého administrátora.", "passwordBack": "Zpět na heslo", - "loginBack": "Přejít zpět na přihlášení", + "loginBack": "Přejít zpět na hlavní přihlašovací stránku", "signup": "Zaregistrovat se", "loginStart": "Přihlaste se a začněte", "idpOidcTokenValidating": "Ověřování OIDC tokenu", @@ -1118,6 +1147,10 @@ "actionUpdateIdpOrg": "Aktualizovat IDP Org", "actionCreateClient": "Vytvořit klienta", "actionDeleteClient": "Odstranit klienta", + "actionArchiveClient": "Archivovat klienta", + "actionUnarchiveClient": "Zrušit archiv klienta", + "actionBlockClient": "Blokovat klienta", + "actionUnblockClient": "Odblokovat klienta", "actionUpdateClient": "Aktualizovat klienta", "actionListClients": "Seznam klientů", "actionGetClient": "Získat klienta", @@ -1134,14 +1167,14 @@ "searchProgress": "Hledat...", "create": "Vytvořit", "orgs": "Organizace", - "loginError": "Při přihlášení došlo k chybě", - "loginRequiredForDevice": "Pro ověření vašeho zařízení je nutné se přihlásit.", + "loginError": "Došlo k neočekávané chybě. Zkuste to prosím znovu.", + "loginRequiredForDevice": "Přihlášení je vyžadováno pro vaše zařízení.", "passwordForgot": "Zapomněli jste heslo?", "otpAuth": "Dvoufaktorové ověření", "otpAuthDescription": "Zadejte kód z vaší autentizační aplikace nebo jeden z vlastních záložních kódů.", "otpAuthSubmit": "Odeslat kód", "idpContinue": "Nebo pokračovat s", - "otpAuthBack": "Zpět na přihlášení", + "otpAuthBack": "Zpět na heslo", "navbar": "Navigation Menu", "navbarDescription": "Hlavní navigační menu aplikace", "navbarDocsLink": "Dokumentace", @@ -1189,6 +1222,7 @@ "sidebarOverview": "Přehled", "sidebarHome": "Domů", "sidebarSites": "Stránky", + "sidebarApprovals": "Žádosti o schválení", "sidebarResources": "Zdroje", "sidebarProxyResources": "Veřejnost", "sidebarClientResources": "Soukromé", @@ -1205,7 +1239,7 @@ "sidebarIdentityProviders": "Poskytovatelé identity", "sidebarLicense": "Licence", "sidebarClients": "Klienti", - "sidebarUserDevices": "Uživatelé", + "sidebarUserDevices": "Uživatelská zařízení", "sidebarMachineClients": "Stroje a přístroje", "sidebarDomains": "Domény", "sidebarGeneral": "Spravovat", @@ -1277,6 +1311,7 @@ "setupErrorCreateAdmin": "Došlo k chybě při vytváření účtu správce serveru.", "certificateStatus": "Stav certifikátu", "loading": "Načítání", + "loadingAnalytics": "Načítání analytiky", "restart": "Restartovat", "domains": "Domény", "domainsDescription": "Vytvořit a spravovat domény dostupné v organizaci", @@ -1304,6 +1339,7 @@ "refreshError": "Obnovení dat se nezdařilo", "verified": "Ověřeno", "pending": "Nevyřízeno", + "pendingApproval": "Čeká na schválení", "sidebarBilling": "Fakturace", "billing": "Fakturace", "orgBillingDescription": "Spravovat fakturační informace a předplatné", @@ -1420,7 +1456,7 @@ "securityKeyRemoveSuccess": "Bezpečnostní klíč byl úspěšně odstraněn", "securityKeyRemoveError": "Odstranění bezpečnostního klíče se nezdařilo", "securityKeyLoadError": "Nepodařilo se načíst bezpečnostní klíče", - "securityKeyLogin": "Pokračovat s bezpečnostním klíčem", + "securityKeyLogin": "Použít bezpečnostní klíč", "securityKeyAuthError": "Ověření bezpečnostním klíčem se nezdařilo", "securityKeyRecommendation": "Registrujte záložní bezpečnostní klíč na jiném zařízení, abyste zajistili, že budete mít vždy přístup ke svému účtu.", "registering": "Registrace...", @@ -1547,6 +1583,8 @@ "IntervalSeconds": "Interval zdraví", "timeoutSeconds": "Časový limit (sek)", "timeIsInSeconds": "Čas je v sekundách", + "requireDeviceApproval": "Vyžadovat schválení zařízení", + "requireDeviceApprovalDescription": "Uživatelé s touto rolí potřebují nová zařízení schválená správcem, než se mohou připojit a přistupovat ke zdrojům.", "retryAttempts": "Opakovat pokusy", "expectedResponseCodes": "Očekávané kódy odezvy", "expectedResponseCodesDescription": "HTTP kód stavu, který označuje zdravý stav. Ponecháte-li prázdné, 200-300 je považováno za zdravé.", @@ -1876,7 +1914,7 @@ "orgAuthChooseIdpDescription": "Chcete-li pokračovat, vyberte svého poskytovatele identity", "orgAuthNoIdpConfigured": "Tato organizace nemá nakonfigurovány žádné poskytovatele identity. Místo toho se můžete přihlásit s vaší Pangolinovou identitou.", "orgAuthSignInWithPangolin": "Přihlásit se pomocí Pangolinu", - "orgAuthSignInToOrg": "Přihlaste se do organizace", + "orgAuthSignInToOrg": "Přihlásit se do organizace", "orgAuthSelectOrgTitle": "Přihlášení do organizace", "orgAuthSelectOrgDescription": "Zadejte ID vaší organizace pro pokračování", "orgAuthOrgIdPlaceholder": "vaše-organizace", @@ -2232,6 +2270,8 @@ "deviceCodeInvalidFormat": "Kód musí být 9 znaků (např. A1AJ-N5JD)", "deviceCodeInvalidOrExpired": "Neplatný nebo prošlý kód", "deviceCodeVerifyFailed": "Ověření kódu zařízení se nezdařilo", + "deviceCodeValidating": "Ověřování kódu zařízení...", + "deviceCodeVerifying": "Ověřování autorizace zařízení...", "signedInAs": "Přihlášen jako", "deviceCodeEnterPrompt": "Zadejte kód zobrazený na zařízení", "continue": "Pokračovat", @@ -2244,7 +2284,7 @@ "deviceOrganizationsAccess": "Přístup ke všem organizacím má přístup k vašemu účtu", "deviceAuthorize": "Autorizovat {applicationName}", "deviceConnected": "Zařízení připojeno!", - "deviceAuthorizedMessage": "Zařízení má oprávnění k přístupu k vašemu účtu.", + "deviceAuthorizedMessage": "Zařízení má oprávnění k přístupu k vašemu účtu. Vraťte se prosím do klientské aplikace.", "pangolinCloud": "Pangolin Cloud", "viewDevices": "Zobrazit zařízení", "viewDevicesDescription": "Spravovat připojená zařízení", @@ -2306,6 +2346,7 @@ "identifier": "Identifier", "deviceLoginUseDifferentAccount": "Nejste vy? Použijte jiný účet.", "deviceLoginDeviceRequestingAccessToAccount": "Zařízení žádá o přístup k tomuto účtu.", + "loginSelectAuthenticationMethod": "Chcete-li pokračovat, vyberte metodu ověřování.", "noData": "Žádná data", "machineClients": "Strojoví klienti", "install": "Instalovat", @@ -2394,5 +2435,92 @@ "maintenanceScreenTitle": "Služba dočasně nedostupná", "maintenanceScreenMessage": "Momentálně máme technické potíže. Zkontrolujte později.", "maintenanceScreenEstimatedCompletion": "Odhadované dokončení:", - "createInternalResourceDialogDestinationRequired": "Cíl je povinný" + "createInternalResourceDialogDestinationRequired": "Cíl je povinný", + "available": "Dostupné", + "archived": "Archivováno", + "noArchivedDevices": "Nebyla nalezena žádná archivovaná zařízení", + "deviceArchived": "Zařízení archivováno", + "deviceArchivedDescription": "Zařízení bylo úspěšně archivováno.", + "errorArchivingDevice": "Chyba při archivaci zařízení", + "failedToArchiveDevice": "Archivace zařízení se nezdařila", + "deviceQuestionArchive": "Opravdu chcete archivovat toto zařízení?", + "deviceMessageArchive": "Zařízení bude archivováno a odebráno ze seznamu aktivních zařízení.", + "deviceArchiveConfirm": "Archivovat zařízení", + "archiveDevice": "Archivovat zařízení", + "archive": "Archiv", + "deviceUnarchived": "Zařízení bylo odarchivováno", + "deviceUnarchivedDescription": "Zařízení bylo úspěšně odarchivováno.", + "errorUnarchivingDevice": "Chyba při odarchivování zařízení", + "failedToUnarchiveDevice": "Nepodařilo se odarchivovat zařízení", + "unarchive": "Zrušit archiv", + "archiveClient": "Archivovat klienta", + "archiveClientQuestion": "Jste si jisti, že chcete archivovat tohoto klienta?", + "archiveClientMessage": "Klient bude archivován a odstraněn z vašeho aktivního seznamu klientů.", + "archiveClientConfirm": "Archivovat klienta", + "blockClient": "Blokovat klienta", + "blockClientQuestion": "Jste si jisti, že chcete zablokovat tohoto klienta?", + "blockClientMessage": "Zařízení bude nuceno odpojit, pokud je připojeno. Zařízení můžete později odblokovat.", + "blockClientConfirm": "Blokovat klienta", + "active": "Aktivní", + "usernameOrEmail": "Uživatelské jméno nebo e-mail", + "selectYourOrganization": "Vyberte vaši organizaci", + "signInTo": "Přihlásit se do", + "signInWithPassword": "Pokračovat s heslem", + "noAuthMethodsAvailable": "Pro tuto organizaci nejsou k dispozici žádné metody ověřování.", + "enterPassword": "Zadejte své heslo", + "enterMfaCode": "Zadejte kód z vaší ověřovací aplikace", + "securityKeyRequired": "Pro přihlášení použijte svůj bezpečnostní klíč.", + "needToUseAnotherAccount": "Potřebujete použít jiný účet?", + "loginLegalDisclaimer": "Kliknutím na tlačítka níže potvrzujete, že jste si přečetli, chápali, a souhlasím s obchodními podmínkami a Zásadami ochrany osobních údajů.", + "termsOfService": "Podmínky služby", + "privacyPolicy": "Ochrana osobních údajů", + "userNotFoundWithUsername": "Nebyl nalezen žádný uživatel s tímto uživatelským jménem.", + "verify": "Ověřit", + "signIn": "Přihlásit se", + "forgotPassword": "Zapomněli jste heslo?", + "orgSignInTip": "Pokud jste se přihlásili dříve, můžete místo toho zadat své uživatelské jméno nebo e-mail výše pro ověření u poskytovatele identity vaší organizace. Je to jednodušší!", + "continueAnyway": "Přesto pokračovat", + "dontShowAgain": "Znovu nezobrazovat", + "orgSignInNotice": "Věděli jste, že?", + "signupOrgNotice": "Chcete se přihlásit?", + "signupOrgTip": "Snažíte se přihlásit prostřednictvím poskytovatele identity vaší organizace?", + "signupOrgLink": "Namísto toho se přihlaste nebo se zaregistrujte pomocí své organizace", + "verifyEmailLogInWithDifferentAccount": "Použít jiný účet", + "logIn": "Přihlásit se", + "deviceInformation": "Informace o zařízení", + "deviceInformationDescription": "Informace o zařízení a agentovi", + "platform": "Platforma", + "macosVersion": "macOS verze", + "windowsVersion": "Verze Windows", + "iosVersion": "Verze iOS", + "androidVersion": "Verze Androidu", + "osVersion": "Verze OS", + "kernelVersion": "Verze jádra", + "deviceModel": "Model zařízení", + "serialNumber": "Pořadové číslo", + "hostname": "Hostname", + "firstSeen": "První vidění", + "lastSeen": "Naposledy viděno", + "deviceSettingsDescription": "Zobrazit informace o zařízení a nastavení", + "devicePendingApprovalDescription": "Toto zařízení čeká na schválení", + "deviceBlockedDescription": "Toto zařízení je momentálně blokováno. Nebude se moci připojit k žádným zdrojům, dokud nebude odblokováno.", + "unblockClient": "Odblokovat klienta", + "unblockClientDescription": "Zařízení bylo odblokováno", + "unarchiveClient": "Zrušit archiv klienta", + "unarchiveClientDescription": "Zařízení bylo odarchivováno", + "block": "Blokovat", + "unblock": "Odblokovat", + "deviceActions": "Akce zařízení", + "deviceActionsDescription": "Spravovat stav zařízení a přístup", + "devicePendingApprovalBannerDescription": "Toto zařízení čeká na schválení. Nebude se moci připojit ke zdrojům, dokud nebude schváleno.", + "connected": "Připojeno", + "disconnected": "Odpojeno", + "approvalsEmptyStateTitle": "Schvalování zařízení není povoleno", + "approvalsEmptyStateDescription": "Povolte oprávnění oprávnění pro role správce před připojením nových zařízení.", + "approvalsEmptyStateStep1Title": "Přejít na role", + "approvalsEmptyStateStep1Description": "Přejděte do nastavení rolí vaší organizace pro konfiguraci schválení zařízení.", + "approvalsEmptyStateStep2Title": "Povolit schválení zařízení", + "approvalsEmptyStateStep2Description": "Upravte roli a povolte možnost 'Vyžadovat schválení zařízení'. Uživatelé s touto rolí budou potřebovat schválení pro nová zařízení správce.", + "approvalsEmptyStatePreviewDescription": "Náhled: Pokud je povoleno, čekající na zařízení se zde zobrazí žádosti o recenzi", + "approvalsEmptyStateButtonText": "Spravovat role" } From 347fbd2a485f9e528f653a14bb1013bc2b799a2e Mon Sep 17 00:00:00 2001 From: Owen Schwartz Date: Tue, 20 Jan 2026 16:39:20 -0800 Subject: [PATCH 30/42] New translations en-us.json (German) --- messages/de-DE.json | 148 +++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 138 insertions(+), 10 deletions(-) diff --git a/messages/de-DE.json b/messages/de-DE.json index f9878faa..d1a376bf 100644 --- a/messages/de-DE.json +++ b/messages/de-DE.json @@ -56,6 +56,9 @@ "sitesBannerTitle": "Verbinde ein beliebiges Netzwerk", "sitesBannerDescription": "Ein Standort ist eine Verbindung zu einem Remote-Netzwerk, die es Pangolin ermöglicht, Zugriff auf öffentliche oder private Ressourcen für Benutzer überall zu gewähren. Installieren Sie den Site Netzwerk Connector (Newt) wo auch immer Sie eine Binärdatei oder einen Container starten können, um die Verbindung herzustellen.", "sitesBannerButtonText": "Standort installieren", + "approvalsBannerTitle": "Gerätezugriff genehmigen oder verweigern", + "approvalsBannerDescription": "Überprüfen und genehmigen oder verweigern Gerätezugriffsanfragen von Benutzern. Wenn Gerätegenehmigungen erforderlich sind, müssen Benutzer eine Administratorgenehmigung erhalten, bevor ihre Geräte sich mit den Ressourcen Ihrer Organisation verbinden können.", + "approvalsBannerButtonText": "Mehr erfahren", "siteCreate": "Standort erstellen", "siteCreateDescription2": "Folge den nachfolgenden Schritten, um einen neuen Standort zu erstellen und zu verbinden", "siteCreateDescription": "Erstellen Sie einen neuen Standort, um Ressourcen zu verbinden", @@ -257,6 +260,8 @@ "accessRolesSearch": "Rollen suchen...", "accessRolesAdd": "Rolle hinzufügen", "accessRoleDelete": "Rolle löschen", + "accessApprovalsManage": "Genehmigungen verwalten", + "accessApprovalsDescription": "Zeige und verwalte ausstehende Genehmigungen für den Zugriff auf diese Organisation", "description": "Beschreibung", "inviteTitle": "Einladungen öffnen", "inviteDescription": "Einladungen für andere Benutzer verwalten, der Organisation beizutreten", @@ -450,6 +455,18 @@ "selectDuration": "Dauer auswählen", "selectResource": "Ressource auswählen", "filterByResource": "Nach Ressource filtern", + "selectApprovalState": "Genehmigungsstatus auswählen", + "filterByApprovalState": "Filtern nach Genehmigungsstatus", + "approvalListEmpty": "Keine Genehmigungen", + "approvalState": "Genehmigungsstatus", + "approve": "Bestätigen", + "approved": "Genehmigt", + "denied": "Verweigert", + "deniedApproval": "Genehmigung verweigert", + "all": "Alle", + "deny": "Leugnen", + "viewDetails": "Details anzeigen", + "requestingNewDeviceApproval": "hat ein neues Gerät angefordert", "resetFilters": "Filter zurücksetzen", "totalBlocked": "Anfragen blockiert von Pangolin", "totalRequests": "Gesamte Anfragen", @@ -729,16 +746,28 @@ "countries": "Länder", "accessRoleCreate": "Rolle erstellen", "accessRoleCreateDescription": "Erstellen Sie eine neue Rolle, um Benutzer zu gruppieren und ihre Berechtigungen zu verwalten.", + "accessRoleEdit": "Rolle bearbeiten", + "accessRoleEditDescription": "Rolleninformationen bearbeiten.", "accessRoleCreateSubmit": "Rolle erstellen", "accessRoleCreated": "Rolle erstellt", "accessRoleCreatedDescription": "Die Rolle wurde erfolgreich erstellt.", "accessRoleErrorCreate": "Fehler beim Erstellen der Rolle", "accessRoleErrorCreateDescription": "Beim Erstellen der Rolle ist ein Fehler aufgetreten.", + "accessRoleUpdateSubmit": "Rolle aktualisieren", + "accessRoleUpdated": "Rolle aktualisiert", + "accessRoleUpdatedDescription": "Die Rolle wurde erfolgreich aktualisiert.", + "accessApprovalUpdated": "Genehmigung bearbeitet", + "accessApprovalApprovedDescription": "Entscheidung für Genehmigungsanfrage setzen.", + "accessApprovalDeniedDescription": "Entscheidung für Genehmigungsanfrage ablehnen.", + "accessRoleErrorUpdate": "Fehler beim Aktualisieren der Rolle", + "accessRoleErrorUpdateDescription": "Beim Aktualisieren der Rolle ist ein Fehler aufgetreten.", + "accessApprovalErrorUpdate": "Genehmigung konnte nicht verarbeitet werden", + "accessApprovalErrorUpdateDescription": "Bei der Bearbeitung der Genehmigung ist ein Fehler aufgetreten.", "accessRoleErrorNewRequired": "Neue Rolle ist erforderlich", "accessRoleErrorRemove": "Fehler beim Entfernen der Rolle", "accessRoleErrorRemoveDescription": "Beim Entfernen der Rolle ist ein Fehler aufgetreten.", "accessRoleName": "Rollenname", - "accessRoleQuestionRemove": "Sie sind dabei, die Rolle {name} zu löschen. Diese Aktion kann nicht rückgängig gemacht werden.", + "accessRoleQuestionRemove": "Du bist dabei die Rolle `{name}` zu löschen. Du kannst diese Aktion nicht rückgängig machen.", "accessRoleRemove": "Rolle entfernen", "accessRoleRemoveDescription": "Eine Rolle aus der Organisation entfernen", "accessRoleRemoveSubmit": "Rolle entfernen", @@ -954,13 +983,13 @@ "passwordExpiryDescription": "Diese Organisation erfordert, dass Sie Ihr Passwort alle {maxDays} Tage ändern.", "changePasswordNow": "Passwort jetzt ändern", "pincodeAuth": "Authentifizierungscode", - "pincodeSubmit2": "Code absenden", + "pincodeSubmit2": "Code einreichen", "passwordResetSubmit": "Zurücksetzung anfordern", "passwordResetAlreadyHaveCode": "Code eingeben", "passwordResetSmtpRequired": "Bitte kontaktieren Sie Ihren Administrator", "passwordResetSmtpRequiredDescription": "Zum Zurücksetzen Ihres Passworts ist ein Passwort erforderlich. Bitte wenden Sie sich an Ihren Administrator.", "passwordBack": "Zurück zum Passwort", - "loginBack": "Zurück zur Anmeldung", + "loginBack": "Zurück zur Haupt-Login-Seite", "signup": "Registrieren", "loginStart": "Melden Sie sich an, um zu beginnen", "idpOidcTokenValidating": "OIDC-Token wird validiert", @@ -1118,6 +1147,10 @@ "actionUpdateIdpOrg": "IDP-Organisation aktualisieren", "actionCreateClient": "Client erstellen", "actionDeleteClient": "Client löschen", + "actionArchiveClient": "Kunde archivieren", + "actionUnarchiveClient": "Client dearchivieren", + "actionBlockClient": "Klient sperren", + "actionUnblockClient": "Client entsperren", "actionUpdateClient": "Client aktualisieren", "actionListClients": "Clients auflisten", "actionGetClient": "Clients abrufen", @@ -1134,14 +1167,14 @@ "searchProgress": "Suche...", "create": "Erstellen", "orgs": "Organisationen", - "loginError": "Beim Anmelden ist ein Fehler aufgetreten", - "loginRequiredForDevice": "Zur Authentifizierung Ihres Geräts ist eine Anmeldung erforderlich", + "loginError": "Ein unerwarteter Fehler ist aufgetreten. Bitte versuchen Sie es erneut.", + "loginRequiredForDevice": "Anmeldung ist für Ihr Gerät erforderlich.", "passwordForgot": "Passwort vergessen?", "otpAuth": "Zwei-Faktor-Authentifizierung", "otpAuthDescription": "Geben Sie den Code aus Ihrer Authenticator-App oder einen Ihrer einmaligen Backup-Codes ein.", "otpAuthSubmit": "Code absenden", "idpContinue": "Oder weiter mit", - "otpAuthBack": "Zurück zur Anmeldung", + "otpAuthBack": "Zurück zum Passwort", "navbar": "Navigationsmenü", "navbarDescription": "Hauptnavigationsmenü für die Anwendung", "navbarDocsLink": "Dokumentation", @@ -1189,6 +1222,7 @@ "sidebarOverview": "Übersicht", "sidebarHome": "Zuhause", "sidebarSites": "Standorte", + "sidebarApprovals": "Genehmigungsanfragen", "sidebarResources": "Ressourcen", "sidebarProxyResources": "Öffentlich", "sidebarClientResources": "Privat", @@ -1205,7 +1239,7 @@ "sidebarIdentityProviders": "Identitätsanbieter", "sidebarLicense": "Lizenz", "sidebarClients": "Clients", - "sidebarUserDevices": "Benutzergeräte", + "sidebarUserDevices": "Benutzer-Geräte", "sidebarMachineClients": "Maschinen", "sidebarDomains": "Domänen", "sidebarGeneral": "Verwalten", @@ -1277,6 +1311,7 @@ "setupErrorCreateAdmin": "Beim Erstellen des Server-Admin-Kontos ist ein Fehler aufgetreten.", "certificateStatus": "Zertifikatsstatus", "loading": "Laden", + "loadingAnalytics": "Analytik wird geladen", "restart": "Neustart", "domains": "Domänen", "domainsDescription": "Erstellen und verwalten der in der Organisation verfügbaren Domänen", @@ -1304,6 +1339,7 @@ "refreshError": "Datenaktualisierung fehlgeschlagen", "verified": "Verifiziert", "pending": "Ausstehend", + "pendingApproval": "Ausstehende Genehmigung", "sidebarBilling": "Abrechnung", "billing": "Abrechnung", "orgBillingDescription": "Zahlungsinformationen und Abonnements verwalten", @@ -1420,7 +1456,7 @@ "securityKeyRemoveSuccess": "Sicherheitsschlüssel erfolgreich entfernt", "securityKeyRemoveError": "Fehler beim Entfernen des Sicherheitsschlüssels", "securityKeyLoadError": "Fehler beim Laden der Sicherheitsschlüssel", - "securityKeyLogin": "Mit dem Sicherheitsschlüssel fortfahren", + "securityKeyLogin": "Sicherheitsschlüssel verwenden", "securityKeyAuthError": "Fehler bei der Authentifizierung mit Sicherheitsschlüssel", "securityKeyRecommendation": "Erwägen Sie die Registrierung eines weiteren Sicherheitsschlüssels auf einem anderen Gerät, um sicherzustellen, dass Sie sich nicht aus Ihrem Konto aussperren.", "registering": "Registrierung...", @@ -1547,6 +1583,8 @@ "IntervalSeconds": "Gesunder Intervall", "timeoutSeconds": "Timeout (Sek.)", "timeIsInSeconds": "Zeit ist in Sekunden", + "requireDeviceApproval": "Gerätegenehmigungen erforderlich", + "requireDeviceApprovalDescription": "Benutzer mit dieser Rolle benötigen neue Geräte, die von einem Administrator genehmigt wurden, bevor sie sich verbinden und auf Ressourcen zugreifen können.", "retryAttempts": "Wiederholungsversuche", "expectedResponseCodes": "Erwartete Antwortcodes", "expectedResponseCodesDescription": "HTTP-Statuscode, der einen gesunden Zustand anzeigt. Wenn leer gelassen, wird 200-300 als gesund angesehen.", @@ -2232,6 +2270,8 @@ "deviceCodeInvalidFormat": "Code muss 9 Zeichen lang sein (z.B. A1AJ-N5JD)", "deviceCodeInvalidOrExpired": "Ungültiger oder abgelaufener Code", "deviceCodeVerifyFailed": "Fehler beim Überprüfen des Gerätecodes", + "deviceCodeValidating": "Überprüfe Gerätecode...", + "deviceCodeVerifying": "Geräteautorisierung wird überprüft...", "signedInAs": "Angemeldet als", "deviceCodeEnterPrompt": "Geben Sie den auf dem Gerät angezeigten Code ein", "continue": "Weiter", @@ -2244,7 +2284,7 @@ "deviceOrganizationsAccess": "Zugriff auf alle Organisationen, auf die Ihr Konto Zugriff hat", "deviceAuthorize": "{applicationName} autorisieren", "deviceConnected": "Gerät verbunden!", - "deviceAuthorizedMessage": "Gerät ist berechtigt, auf Ihr Konto zuzugreifen.", + "deviceAuthorizedMessage": "Gerät ist berechtigt, auf Ihr Konto zuzugreifen. Bitte kehren Sie zur Client-Anwendung zurück.", "pangolinCloud": "Pangolin Cloud", "viewDevices": "Geräte anzeigen", "viewDevicesDescription": "Verwalten Sie Ihre verbundenen Geräte", @@ -2306,6 +2346,7 @@ "identifier": "Identifier", "deviceLoginUseDifferentAccount": "Nicht du? Verwenden Sie ein anderes Konto.", "deviceLoginDeviceRequestingAccessToAccount": "Ein Gerät fordert Zugriff auf dieses Konto an.", + "loginSelectAuthenticationMethod": "Wählen Sie eine Authentifizierungsmethode aus, um fortzufahren.", "noData": "Keine Daten", "machineClients": "Maschinen-Clients", "install": "Installieren", @@ -2394,5 +2435,92 @@ "maintenanceScreenTitle": "Dienst vorübergehend nicht verfügbar", "maintenanceScreenMessage": "Wir haben derzeit technische Schwierigkeiten. Bitte schauen Sie bald noch einmal vorbei.", "maintenanceScreenEstimatedCompletion": "Geschätzter Abschluss:", - "createInternalResourceDialogDestinationRequired": "Ziel ist erforderlich" + "createInternalResourceDialogDestinationRequired": "Ziel ist erforderlich", + "available": "Verfügbar", + "archived": "Archiviert", + "noArchivedDevices": "Keine archivierten Geräte gefunden", + "deviceArchived": "Gerät archiviert", + "deviceArchivedDescription": "Das Gerät wurde erfolgreich archiviert.", + "errorArchivingDevice": "Fehler beim Archivieren des Geräts", + "failedToArchiveDevice": "Archivierung des Geräts fehlgeschlagen", + "deviceQuestionArchive": "Sind Sie sicher, dass Sie dieses Gerät archivieren möchten?", + "deviceMessageArchive": "Das Gerät wird archiviert und aus Ihrer Liste der aktiven Geräte entfernt.", + "deviceArchiveConfirm": "Gerät archivieren", + "archiveDevice": "Gerät archivieren", + "archive": "Archiv", + "deviceUnarchived": "Gerät nicht archiviert", + "deviceUnarchivedDescription": "Das Gerät wurde erfolgreich deinstalliert.", + "errorUnarchivingDevice": "Fehler beim Entarchivieren des Geräts", + "failedToUnarchiveDevice": "Fehler beim Entfernen des Geräts", + "unarchive": "Archivieren", + "archiveClient": "Kunde archivieren", + "archiveClientQuestion": "Sind Sie sicher, dass Sie diesen Client archivieren möchten?", + "archiveClientMessage": "Der Client wird archiviert und aus der Liste Ihrer aktiven Clients entfernt.", + "archiveClientConfirm": "Kunde archivieren", + "blockClient": "Klient sperren", + "blockClientQuestion": "Sind Sie sicher, dass Sie diesen Client blockieren möchten?", + "blockClientMessage": "Das Gerät wird gezwungen, die Verbindung zu trennen, wenn es gerade verbunden ist. Sie können das Gerät später entsperren.", + "blockClientConfirm": "Klient sperren", + "active": "Aktiv", + "usernameOrEmail": "Benutzername oder E-Mail", + "selectYourOrganization": "Wählen Sie Ihre Organisation", + "signInTo": "Einloggen in", + "signInWithPassword": "Mit Passwort fortfahren", + "noAuthMethodsAvailable": "Keine Authentifizierungsmethoden für diese Organisation verfügbar.", + "enterPassword": "Geben Sie Ihr Passwort ein", + "enterMfaCode": "Geben Sie den Code aus Ihrer Authentifizierungs-App ein", + "securityKeyRequired": "Bitte verwenden Sie Ihren Sicherheitsschlüssel zum Anmelden.", + "needToUseAnotherAccount": "Benötigen Sie ein anderes Konto?", + "loginLegalDisclaimer": "Indem Sie auf die Buttons unten klicken, bestätigen Sie, dass Sie gelesen haben, verstehen, und stimmen den Nutzungsbedingungen und Datenschutzrichtlinien zu.", + "termsOfService": "Nutzungsbedingungen", + "privacyPolicy": "Datenschutzerklärung", + "userNotFoundWithUsername": "Kein Benutzer mit diesem Benutzernamen gefunden.", + "verify": "Überprüfen", + "signIn": "Anmelden", + "forgotPassword": "Passwort vergessen?", + "orgSignInTip": "Wenn Sie sich vorher angemeldet haben, können Sie Ihren Benutzernamen oder Ihre E-Mail-Adresse eingeben, um sich stattdessen beim Identifikationsprovider Ihrer Organisation zu authentifizieren. Es ist einfacher!", + "continueAnyway": "Trotzdem fortfahren", + "dontShowAgain": "Nicht mehr anzeigen", + "orgSignInNotice": "Wussten Sie schon?", + "signupOrgNotice": "Versucht sich anzumelden?", + "signupOrgTip": "Versuchen Sie, sich über den Identitätsanbieter Ihrer Organisation anzumelden?", + "signupOrgLink": "Melden Sie sich an oder melden Sie sich stattdessen bei Ihrer Organisation an", + "verifyEmailLogInWithDifferentAccount": "Anderes Konto verwenden", + "logIn": "Anmelden", + "deviceInformation": "Geräteinformationen", + "deviceInformationDescription": "Informationen über das Gerät und den Agent", + "platform": "Plattform", + "macosVersion": "macOS-Version", + "windowsVersion": "Windows-Version", + "iosVersion": "iOS-Version", + "androidVersion": "Android-Version", + "osVersion": "OS-Version", + "kernelVersion": "Kernel-Version", + "deviceModel": "Gerätemodell", + "serialNumber": "Seriennummer", + "hostname": "Hostname", + "firstSeen": "Erster Blick", + "lastSeen": "Zuletzt gesehen", + "deviceSettingsDescription": "Geräteinformationen und -einstellungen anzeigen", + "devicePendingApprovalDescription": "Dieses Gerät wartet auf Freigabe", + "deviceBlockedDescription": "Dieses Gerät ist derzeit gesperrt. Es kann keine Verbindung zu anderen Ressourcen herstellen, es sei denn, es entsperrt.", + "unblockClient": "Client entsperren", + "unblockClientDescription": "Das Gerät wurde entsperrt", + "unarchiveClient": "Client dearchivieren", + "unarchiveClientDescription": "Das Gerät wurde nicht archiviert", + "block": "Blockieren", + "unblock": "Entsperren", + "deviceActions": "Geräte-Aktionen", + "deviceActionsDescription": "Gerätestatus und Zugriff verwalten", + "devicePendingApprovalBannerDescription": "Dieses Gerät wartet auf Genehmigung. Es kann sich erst mit Ressourcen verbinden.", + "connected": "Verbunden", + "disconnected": "Verbindung getrennt", + "approvalsEmptyStateTitle": "Gerätezulassungen nicht aktiviert", + "approvalsEmptyStateDescription": "Aktiviere Gerätegenehmigungen für Rollen, um Administratorgenehmigungen zu benötigen, bevor Benutzer neue Geräte verbinden können.", + "approvalsEmptyStateStep1Title": "Gehe zu Rollen", + "approvalsEmptyStateStep1Description": "Navigieren Sie zu den Rolleneinstellungen Ihrer Organisation, um die Gerätefreigaben zu konfigurieren.", + "approvalsEmptyStateStep2Title": "Gerätegenehmigungen aktivieren", + "approvalsEmptyStateStep2Description": "Bearbeite eine Rolle und aktiviere die Option 'Gerätegenehmigung erforderlich'. Benutzer mit dieser Rolle benötigen Administrator-Genehmigung für neue Geräte.", + "approvalsEmptyStatePreviewDescription": "Vorschau: Wenn aktiviert, werden ausstehende Geräteanfragen hier zur Überprüfung angezeigt", + "approvalsEmptyStateButtonText": "Rollen verwalten" } From 96a91ccf098662d8ca37d68a4f9147163154a331 Mon Sep 17 00:00:00 2001 From: Owen Schwartz Date: Tue, 20 Jan 2026 16:39:21 -0800 Subject: [PATCH 31/42] New translations en-us.json (Italian) --- messages/it-IT.json | 150 ++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 139 insertions(+), 11 deletions(-) diff --git a/messages/it-IT.json b/messages/it-IT.json index 2ca14b0d..a52ce8a4 100644 --- a/messages/it-IT.json +++ b/messages/it-IT.json @@ -56,6 +56,9 @@ "sitesBannerTitle": "Connetti Qualsiasi Rete", "sitesBannerDescription": "Un sito è una connessione a una rete remota che consente a Pangolin di fornire accesso alle risorse, pubbliche o private, agli utenti ovunque. Installa il connettore di rete del sito (Newt) ovunque tu possa eseguire un binario o un container per stabilire la connessione.", "sitesBannerButtonText": "Installa Sito", + "approvalsBannerTitle": "Approva o nega l'accesso al dispositivo", + "approvalsBannerDescription": "Controlla e approva o nega le richieste di accesso al dispositivo da parte degli utenti. Quando le approvazioni del dispositivo sono richieste, gli utenti devono ottenere l'approvazione dell'amministratore prima che i loro dispositivi possano connettersi alle risorse della vostra organizzazione.", + "approvalsBannerButtonText": "Scopri di più", "siteCreate": "Crea Sito", "siteCreateDescription2": "Segui i passaggi qui sotto per creare e collegare un nuovo sito", "siteCreateDescription": "Crea un nuovo sito per iniziare a connettere le risorse", @@ -257,6 +260,8 @@ "accessRolesSearch": "Ricerca ruoli...", "accessRolesAdd": "Aggiungi Ruolo", "accessRoleDelete": "Elimina Ruolo", + "accessApprovalsManage": "Gestisci Approvazioni", + "accessApprovalsDescription": "Visualizza e gestisci le approvazioni in attesa per accedere a questa organizzazione", "description": "Descrizione", "inviteTitle": "Inviti Aperti", "inviteDescription": "Gestisci gli inviti per gli altri utenti a unirsi all'organizzazione", @@ -450,6 +455,18 @@ "selectDuration": "Seleziona durata", "selectResource": "Seleziona Risorsa", "filterByResource": "Filtra Per Risorsa", + "selectApprovalState": "Seleziona Stato Di Approvazione", + "filterByApprovalState": "Filtra Per Stato Di Approvazione", + "approvalListEmpty": "Nessuna approvazione", + "approvalState": "Stato Di Approvazione", + "approve": "Approva", + "approved": "Approvato", + "denied": "Negato", + "deniedApproval": "Omologazione Negata", + "all": "Tutti", + "deny": "Nega", + "viewDetails": "Visualizza Dettagli", + "requestingNewDeviceApproval": "ha richiesto un nuovo dispositivo", "resetFilters": "Ripristina Filtri", "totalBlocked": "Richieste Bloccate Da Pangolino", "totalRequests": "Totale Richieste", @@ -729,16 +746,28 @@ "countries": "Paesi", "accessRoleCreate": "Crea Ruolo", "accessRoleCreateDescription": "Crea un nuovo ruolo per raggruppare gli utenti e gestire i loro permessi.", + "accessRoleEdit": "Modifica Ruolo", + "accessRoleEditDescription": "Modifica informazioni sul ruolo.", "accessRoleCreateSubmit": "Crea Ruolo", "accessRoleCreated": "Ruolo creato", "accessRoleCreatedDescription": "Il ruolo è stato creato con successo.", "accessRoleErrorCreate": "Impossibile creare il ruolo", "accessRoleErrorCreateDescription": "Si è verificato un errore durante la creazione del ruolo.", + "accessRoleUpdateSubmit": "Aggiorna Ruolo", + "accessRoleUpdated": "Ruolo aggiornato", + "accessRoleUpdatedDescription": "Il ruolo è stato aggiornato con successo.", + "accessApprovalUpdated": "Approvazione trattata", + "accessApprovalApprovedDescription": "Impostare la decisione di richiesta di approvazione da approvare.", + "accessApprovalDeniedDescription": "Imposta la decisione di richiesta di approvazione negata.", + "accessRoleErrorUpdate": "Impossibile aggiornare il ruolo", + "accessRoleErrorUpdateDescription": "Si è verificato un errore nell'aggiornamento del ruolo.", + "accessApprovalErrorUpdate": "Impossibile elaborare l'approvazione", + "accessApprovalErrorUpdateDescription": "Si è verificato un errore durante l'elaborazione dell'approvazione.", "accessRoleErrorNewRequired": "Nuovo ruolo richiesto", "accessRoleErrorRemove": "Impossibile rimuovere il ruolo", "accessRoleErrorRemoveDescription": "Si è verificato un errore durante la rimozione del ruolo.", "accessRoleName": "Nome Del Ruolo", - "accessRoleQuestionRemove": "Stai per eliminare il ruolo {name}. Non puoi annullare questa azione.", + "accessRoleQuestionRemove": "Stai per eliminare il ruolo `{name}`. Non puoi annullare questa azione.", "accessRoleRemove": "Rimuovi Ruolo", "accessRoleRemoveDescription": "Rimuovi un ruolo dall'organizzazione", "accessRoleRemoveSubmit": "Rimuovi Ruolo", @@ -874,7 +903,7 @@ "inviteAlready": "Sembra che sei stato invitato!", "inviteAlreadyDescription": "Per accettare l'invito, devi accedere o creare un account.", "signupQuestion": "Hai già un account?", - "login": "Accedi", + "login": "Log In", "resourceNotFound": "Risorsa Non Trovata", "resourceNotFoundDescription": "La risorsa che stai cercando di accedere non esiste.", "pincodeRequirementsLength": "Il PIN deve essere esattamente di 6 cifre", @@ -954,13 +983,13 @@ "passwordExpiryDescription": "Questa organizzazione richiede di cambiare la password ogni {maxDays} giorni.", "changePasswordNow": "Cambia Password Ora", "pincodeAuth": "Codice Autenticatore", - "pincodeSubmit2": "Invia Codice", + "pincodeSubmit2": "Invia codice", "passwordResetSubmit": "Richiedi Reset", "passwordResetAlreadyHaveCode": "Inserisci Codice", "passwordResetSmtpRequired": "Si prega di contattare l'amministratore", "passwordResetSmtpRequiredDescription": "Per reimpostare la password è necessario un codice di reimpostazione della password. Si prega di contattare l'amministratore per assistenza.", "passwordBack": "Torna alla Password", - "loginBack": "Torna al login", + "loginBack": "Torna alla pagina di accesso principale", "signup": "Registrati", "loginStart": "Accedi per iniziare", "idpOidcTokenValidating": "Convalida token OIDC", @@ -1118,6 +1147,10 @@ "actionUpdateIdpOrg": "Aggiorna Org IDP", "actionCreateClient": "Crea Client", "actionDeleteClient": "Elimina Client", + "actionArchiveClient": "Archivia Client", + "actionUnarchiveClient": "Annulla Archiviazione Client", + "actionBlockClient": "Blocca Client", + "actionUnblockClient": "Sblocca Client", "actionUpdateClient": "Aggiorna Client", "actionListClients": "Elenco Clienti", "actionGetClient": "Ottieni Client", @@ -1134,14 +1167,14 @@ "searchProgress": "Ricerca...", "create": "Crea", "orgs": "Organizzazioni", - "loginError": "Si è verificato un errore durante l'accesso", - "loginRequiredForDevice": "È richiesto il login per autenticare il dispositivo.", + "loginError": "Si è verificato un errore imprevisto. Riprova.", + "loginRequiredForDevice": "Il login è richiesto per il tuo dispositivo.", "passwordForgot": "Password dimenticata?", "otpAuth": "Autenticazione a Due Fattori", "otpAuthDescription": "Inserisci il codice dalla tua app di autenticazione o uno dei tuoi codici di backup monouso.", "otpAuthSubmit": "Invia Codice", "idpContinue": "O continua con", - "otpAuthBack": "Torna al Login", + "otpAuthBack": "Torna alla Password", "navbar": "Menu di Navigazione", "navbarDescription": "Menu di navigazione principale dell'applicazione", "navbarDocsLink": "Documentazione", @@ -1189,6 +1222,7 @@ "sidebarOverview": "Panoramica", "sidebarHome": "Home", "sidebarSites": "Siti", + "sidebarApprovals": "Richieste Di Approvazione", "sidebarResources": "Risorse", "sidebarProxyResources": "Pubblico", "sidebarClientResources": "Privato", @@ -1205,7 +1239,7 @@ "sidebarIdentityProviders": "Fornitori Di Identità", "sidebarLicense": "Licenza", "sidebarClients": "Client", - "sidebarUserDevices": "Utenti", + "sidebarUserDevices": "Dispositivi Utente", "sidebarMachineClients": "Macchine", "sidebarDomains": "Domini", "sidebarGeneral": "Gestisci", @@ -1277,6 +1311,7 @@ "setupErrorCreateAdmin": "Si è verificato un errore durante la creazione dell'account amministratore del server.", "certificateStatus": "Stato del Certificato", "loading": "Caricamento", + "loadingAnalytics": "Caricamento Delle Analisi", "restart": "Riavvia", "domains": "Domini", "domainsDescription": "Creare e gestire i domini disponibili nell'organizzazione", @@ -1304,6 +1339,7 @@ "refreshError": "Impossibile aggiornare i dati", "verified": "Verificato", "pending": "In attesa", + "pendingApproval": "Approvazione In Attesa", "sidebarBilling": "Fatturazione", "billing": "Fatturazione", "orgBillingDescription": "Gestisci le informazioni di fatturazione e gli abbonamenti", @@ -1420,7 +1456,7 @@ "securityKeyRemoveSuccess": "Chiave di sicurezza rimossa con successo", "securityKeyRemoveError": "Errore durante la rimozione della chiave di sicurezza", "securityKeyLoadError": "Errore durante il caricamento delle chiavi di sicurezza", - "securityKeyLogin": "Continua con la chiave di sicurezza", + "securityKeyLogin": "Usa Chiave Di Sicurezza", "securityKeyAuthError": "Errore durante l'autenticazione con chiave di sicurezza", "securityKeyRecommendation": "Considera di registrare un'altra chiave di sicurezza su un dispositivo diverso per assicurarti di non rimanere bloccato fuori dal tuo account.", "registering": "Registrazione in corso...", @@ -1547,6 +1583,8 @@ "IntervalSeconds": "Intervallo Sano", "timeoutSeconds": "Timeout (sec)", "timeIsInSeconds": "Il tempo è in secondi", + "requireDeviceApproval": "Richiede Approvazioni Dispositivo", + "requireDeviceApprovalDescription": "Gli utenti con questo ruolo hanno bisogno di nuovi dispositivi approvati da un amministratore prima di poter connettersi e accedere alle risorse.", "retryAttempts": "Tentativi di Riprova", "expectedResponseCodes": "Codici di Risposta Attesi", "expectedResponseCodesDescription": "Codice di stato HTTP che indica lo stato di salute. Se lasciato vuoto, considerato sano è compreso tra 200-300.", @@ -2232,6 +2270,8 @@ "deviceCodeInvalidFormat": "Il codice deve contenere 9 caratteri (es. A1AJ-N5JD)", "deviceCodeInvalidOrExpired": "Codice non valido o scaduto", "deviceCodeVerifyFailed": "Impossibile verificare il codice del dispositivo", + "deviceCodeValidating": "Convalida codice dispositivo...", + "deviceCodeVerifying": "Verifica autorizzazione dispositivo...", "signedInAs": "Accesso come", "deviceCodeEnterPrompt": "Inserisci il codice visualizzato sul dispositivo", "continue": "Continua", @@ -2244,7 +2284,7 @@ "deviceOrganizationsAccess": "Accesso a tutte le organizzazioni a cui il tuo account ha accesso", "deviceAuthorize": "Autorizza {applicationName}", "deviceConnected": "Dispositivo Connesso!", - "deviceAuthorizedMessage": "Il dispositivo è autorizzato ad accedere al tuo account.", + "deviceAuthorizedMessage": "Il dispositivo è autorizzato ad accedere al tuo account. Ritorna all'applicazione client.", "pangolinCloud": "Pangolin Cloud", "viewDevices": "Visualizza Dispositivi", "viewDevicesDescription": "Gestisci i tuoi dispositivi connessi", @@ -2306,6 +2346,7 @@ "identifier": "Identifier", "deviceLoginUseDifferentAccount": "Non tu? Usa un account diverso.", "deviceLoginDeviceRequestingAccessToAccount": "Un dispositivo sta richiedendo l'accesso a questo account.", + "loginSelectAuthenticationMethod": "Selezionare un metodo di autenticazione per continuare.", "noData": "Nessun Dato", "machineClients": "Machine Clients", "install": "Installa", @@ -2394,5 +2435,92 @@ "maintenanceScreenTitle": "Servizio Temporaneamente Non Disponibile", "maintenanceScreenMessage": "Stiamo attualmente riscontrando difficoltà tecniche. Si prega di ricontrollare a breve.", "maintenanceScreenEstimatedCompletion": "Completamento Stimato:", - "createInternalResourceDialogDestinationRequired": "Destinazione richiesta" + "createInternalResourceDialogDestinationRequired": "Destinazione richiesta", + "available": "Disponibile", + "archived": "Archiviato", + "noArchivedDevices": "Nessun dispositivo archiviato trovato", + "deviceArchived": "Dispositivo archiviato", + "deviceArchivedDescription": "Il dispositivo è stato archiviato con successo.", + "errorArchivingDevice": "Errore nell'archiviazione del dispositivo", + "failedToArchiveDevice": "Impossibile archiviare il dispositivo", + "deviceQuestionArchive": "È sicuro di voler archiviare questo dispositivo?", + "deviceMessageArchive": "Il dispositivo verrà archiviato e rimosso dalla lista dei dispositivi attivi.", + "deviceArchiveConfirm": "Archivia Dispositivo", + "archiveDevice": "Archivia Dispositivo", + "archive": "Archivio", + "deviceUnarchived": "Dispositivo non archiviato", + "deviceUnarchivedDescription": "Il dispositivo è stato disarchiviato con successo.", + "errorUnarchivingDevice": "Errore nel disarchiviare il dispositivo", + "failedToUnarchiveDevice": "Disarchiviazione del dispositivo non riuscita", + "unarchive": "Disarchivia", + "archiveClient": "Archivia Client", + "archiveClientQuestion": "È sicuro di voler archiviare questo client?", + "archiveClientMessage": "Il client verrà archiviato e rimosso dalla lista dei client attivi.", + "archiveClientConfirm": "Archivia Client", + "blockClient": "Blocca Client", + "blockClientQuestion": "Sei sicuro di voler bloccare questo client?", + "blockClientMessage": "Il dispositivo sarà forzato a disconnettersi se attualmente connesso. Puoi sbloccare il dispositivo più tardi.", + "blockClientConfirm": "Blocca Client", + "active": "Attivo", + "usernameOrEmail": "Nome utente o Email", + "selectYourOrganization": "Seleziona la tua organizzazione", + "signInTo": "Accedi a", + "signInWithPassword": "Continua con la password", + "noAuthMethodsAvailable": "Nessun metodo di autenticazione disponibile per questa organizzazione.", + "enterPassword": "Inserisci la tua password", + "enterMfaCode": "Inserisci il codice dalla tua app di autenticazione", + "securityKeyRequired": "Utilizza la tua chiave di sicurezza per accedere.", + "needToUseAnotherAccount": "Hai bisogno di utilizzare un account diverso?", + "loginLegalDisclaimer": "Facendo clic sui pulsanti qui sotto, si riconosce di aver letto, capire, e accettare i Termini di Servizio e Privacy Policy.", + "termsOfService": "Termini di servizio", + "privacyPolicy": "Politica Sulla Privacy", + "userNotFoundWithUsername": "Nessun utente trovato con questo nome utente.", + "verify": "Verifica", + "signIn": "Accedi", + "forgotPassword": "Password dimenticata?", + "orgSignInTip": "Se hai effettuato l'accesso prima, puoi inserire il tuo nome utente o email qui sopra per autenticarti con il provider di identità della tua organizzazione. È più facile!", + "continueAnyway": "Continua comunque", + "dontShowAgain": "Non mostrare più", + "orgSignInNotice": "Lo sapevate?", + "signupOrgNotice": "Cercando di accedere?", + "signupOrgTip": "Stai cercando di accedere tramite il provider di identità della tua organizzazione?", + "signupOrgLink": "Accedi o registrati con la tua organizzazione", + "verifyEmailLogInWithDifferentAccount": "Usa un account diverso", + "logIn": "Log In", + "deviceInformation": "Informazioni Sul Dispositivo", + "deviceInformationDescription": "Informazioni sul dispositivo e sull'agente", + "platform": "Piattaforma", + "macosVersion": "versione macOS", + "windowsVersion": "Versione Windows", + "iosVersion": "Versione iOS", + "androidVersion": "Versione Android", + "osVersion": "Versione OS", + "kernelVersion": "Versione Del Kernel", + "deviceModel": "Modello Di Dispositivo", + "serialNumber": "Numero D'Ordine", + "hostname": "Hostname", + "firstSeen": "Prima Visto", + "lastSeen": "Visto L'Ultima", + "deviceSettingsDescription": "Visualizza informazioni e impostazioni del dispositivo", + "devicePendingApprovalDescription": "Questo dispositivo è in attesa di approvazione", + "deviceBlockedDescription": "Questo dispositivo è attualmente bloccato. Non sarà in grado di connettersi a nessuna risorsa a meno che non sia sbloccato.", + "unblockClient": "Sblocca Client", + "unblockClientDescription": "Il dispositivo è stato sbloccato", + "unarchiveClient": "Annulla Archiviazione Client", + "unarchiveClientDescription": "Il dispositivo è stato disarchiviato", + "block": "Blocca", + "unblock": "Sblocca", + "deviceActions": "Azioni Dispositivo", + "deviceActionsDescription": "Gestisci lo stato del dispositivo e l'accesso", + "devicePendingApprovalBannerDescription": "Questo dispositivo è in attesa di approvazione. Non sarà in grado di connettersi alle risorse fino all'approvazione.", + "connected": "Connesso", + "disconnected": "Disconnesso", + "approvalsEmptyStateTitle": "Approvazioni Dispositivo Non Abilitato", + "approvalsEmptyStateDescription": "Abilita le approvazioni del dispositivo per i ruoli per richiedere l'approvazione dell'amministratore prima che gli utenti possano collegare nuovi dispositivi.", + "approvalsEmptyStateStep1Title": "Vai ai ruoli", + "approvalsEmptyStateStep1Description": "Vai alle impostazioni dei ruoli della tua organizzazione per configurare le approvazioni del dispositivo.", + "approvalsEmptyStateStep2Title": "Abilita Approvazioni Dispositivo", + "approvalsEmptyStateStep2Description": "Modifica un ruolo e abilita l'opzione 'Richiedi l'approvazione del dispositivo'. Gli utenti con questo ruolo avranno bisogno dell'approvazione dell'amministratore per i nuovi dispositivi.", + "approvalsEmptyStatePreviewDescription": "Anteprima: quando abilitato, le richieste di dispositivo in attesa appariranno qui per la revisione", + "approvalsEmptyStateButtonText": "Gestisci Ruoli" } From 014ba760b56471d4ae3f7d7639b2c31f71f153c1 Mon Sep 17 00:00:00 2001 From: Owen Schwartz Date: Tue, 20 Jan 2026 16:39:23 -0800 Subject: [PATCH 32/42] New translations en-us.json (Korean) --- messages/ko-KR.json | 148 +++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 138 insertions(+), 10 deletions(-) diff --git a/messages/ko-KR.json b/messages/ko-KR.json index 83d8ae36..de9c7320 100644 --- a/messages/ko-KR.json +++ b/messages/ko-KR.json @@ -56,6 +56,9 @@ "sitesBannerTitle": "모든 네트워크 연결", "sitesBannerDescription": "사이트는 원격 네트워크와의 연결로 Pangolin이 어디서나 사용자에게 공공 및 개인 리소스에 대한 접근을 제공할 수 있게 해 줍니다. 연결을 설정하려면 바이너리 또는 컨테이너로 실행할 수 있는 어디서든 사이트 네트워크 커넥터(Newt)를 설치하세요.", "sitesBannerButtonText": "사이트 설치", + "approvalsBannerTitle": "장치 접근 승인 또는 거부", + "approvalsBannerDescription": "사용자의 장치 접근 요청을 검토하고 승인하거나 거부하세요. 장치 승인 요구 시, 관리자의 승인이 필요합니다.", + "approvalsBannerButtonText": "자세히 알아보기", "siteCreate": "사이트 생성", "siteCreateDescription2": "아래 단계를 따라 새 사이트를 생성하고 연결하십시오", "siteCreateDescription": "리소스를 연결하기 위해 새 사이트를 생성하세요.", @@ -257,6 +260,8 @@ "accessRolesSearch": "역할 검색...", "accessRolesAdd": "역할 추가", "accessRoleDelete": "역할 삭제", + "accessApprovalsManage": "승인 관리", + "accessApprovalsDescription": "이 조직의 접근 승인 대기를 보고 관리하세요.", "description": "설명", "inviteTitle": "열린 초대", "inviteDescription": "다른 사용자가 조직에 참여하도록 초대장을 관리합니다.", @@ -450,6 +455,18 @@ "selectDuration": "지속 시간 선택", "selectResource": "리소스 선택", "filterByResource": "리소스별 필터", + "selectApprovalState": "승인 상태 선택", + "filterByApprovalState": "승인 상태로 필터링", + "approvalListEmpty": "승인이 없습니다.", + "approvalState": "승인 상태", + "approve": "승인", + "approved": "승인됨", + "denied": "거부됨", + "deniedApproval": "승인 거부됨", + "all": "모두", + "deny": "거부", + "viewDetails": "세부 정보 보기", + "requestingNewDeviceApproval": "새 장치를 요청함", "resetFilters": "필터 재설정", "totalBlocked": "Pangolin으로 차단된 요청", "totalRequests": "총 요청 수", @@ -729,16 +746,28 @@ "countries": "국가", "accessRoleCreate": "역할 생성", "accessRoleCreateDescription": "사용자를 그룹화하고 권한을 관리하기 위해 새 역할을 생성하세요.", + "accessRoleEdit": "역할 편집", + "accessRoleEditDescription": "역할 정보 편집.", "accessRoleCreateSubmit": "역할 생성", "accessRoleCreated": "역할이 생성되었습니다.", "accessRoleCreatedDescription": "역할이 성공적으로 생성되었습니다.", "accessRoleErrorCreate": "역할 생성 실패", "accessRoleErrorCreateDescription": "역할 생성 중 오류가 발생했습니다.", + "accessRoleUpdateSubmit": "역할 업데이트", + "accessRoleUpdated": "역할 업데이트됨", + "accessRoleUpdatedDescription": "역할이 성공적으로 업데이트되었습니다.", + "accessApprovalUpdated": "승인 처리됨", + "accessApprovalApprovedDescription": "승인 요청을 승인으로 설정.", + "accessApprovalDeniedDescription": "승인 요청을 거부로 설정.", + "accessRoleErrorUpdate": "역할 업데이트 실패", + "accessRoleErrorUpdateDescription": "역할 업데이트 중 오류 발생.", + "accessApprovalErrorUpdate": "승인 처리 실패", + "accessApprovalErrorUpdateDescription": "승인 처리 중 오류가 발생했습니다.", "accessRoleErrorNewRequired": "새 역할이 필요합니다.", "accessRoleErrorRemove": "역할 제거에 실패했습니다.", "accessRoleErrorRemoveDescription": "역할을 제거하는 동안 오류가 발생했습니다.", "accessRoleName": "역할 이름", - "accessRoleQuestionRemove": "{name} 역할을 삭제하려고 합니다. 이 작업은 취소할 수 없습니다.", + "accessRoleQuestionRemove": "`{name}` 역할을 삭제하려고 합니다. 이 작업은 되돌릴 수 없습니다.", "accessRoleRemove": "역할 제거", "accessRoleRemoveDescription": "조직에서 역할 제거", "accessRoleRemoveSubmit": "역할 제거", @@ -960,7 +989,7 @@ "passwordResetSmtpRequired": "관리자에게 문의하십시오", "passwordResetSmtpRequiredDescription": "비밀번호를 재설정하려면 비밀번호 초기화 코드가 필요합니다. 지원을 받으려면 관리자에게 문의하십시오.", "passwordBack": "비밀번호로 돌아가기", - "loginBack": "로그인으로 돌아가기", + "loginBack": "메인 로그인 페이지로 돌아갑니다.", "signup": "가입하기", "loginStart": "시작하려면 로그인하세요.", "idpOidcTokenValidating": "OIDC 토큰 검증 중", @@ -1118,6 +1147,10 @@ "actionUpdateIdpOrg": "IDP 조직 업데이트", "actionCreateClient": "클라이언트 생성", "actionDeleteClient": "클라이언트 삭제", + "actionArchiveClient": "클라이언트 보관", + "actionUnarchiveClient": "클라이언트 보관 취소", + "actionBlockClient": "클라이언트 차단", + "actionUnblockClient": "클라이언트 차단 해제", "actionUpdateClient": "클라이언트 업데이트", "actionListClients": "클라이언트 목록", "actionGetClient": "클라이언트 가져오기", @@ -1134,14 +1167,14 @@ "searchProgress": "검색...", "create": "생성", "orgs": "조직", - "loginError": "로그인 중 오류가 발생했습니다", - "loginRequiredForDevice": "장치를 인증하려면 로그인이 필요합니다.", + "loginError": "예기치 않은 오류가 발생했습니다. 다시 시도해주세요.", + "loginRequiredForDevice": "로그인이 필요합니다.", "passwordForgot": "비밀번호를 잊으셨나요?", "otpAuth": "이중 인증", "otpAuthDescription": "인증 앱에서 코드를 입력하거나 단일 사용 백업 코드 중 하나를 입력하세요.", "otpAuthSubmit": "코드 제출", "idpContinue": "또는 계속 진행하십시오.", - "otpAuthBack": "로그인으로 돌아가기", + "otpAuthBack": "비밀번호로 돌아가기", "navbar": "탐색 메뉴", "navbarDescription": "애플리케이션의 주요 탐색 메뉴", "navbarDocsLink": "문서", @@ -1189,6 +1222,7 @@ "sidebarOverview": "개요", "sidebarHome": "홈", "sidebarSites": "사이트", + "sidebarApprovals": "승인 요청", "sidebarResources": "리소스", "sidebarProxyResources": "공유", "sidebarClientResources": "비공개", @@ -1205,7 +1239,7 @@ "sidebarIdentityProviders": "신원 공급자", "sidebarLicense": "라이선스", "sidebarClients": "클라이언트", - "sidebarUserDevices": "사용자", + "sidebarUserDevices": "사용자 장치", "sidebarMachineClients": "기계", "sidebarDomains": "도메인", "sidebarGeneral": "관리", @@ -1277,6 +1311,7 @@ "setupErrorCreateAdmin": "서버 관리자 계정을 생성하는 동안 오류가 발생했습니다.", "certificateStatus": "인증서 상태", "loading": "로딩 중", + "loadingAnalytics": "분석 로딩 중", "restart": "재시작", "domains": "도메인", "domainsDescription": "조직에서 사용 가능한 도메인 생성 및 관리", @@ -1304,6 +1339,7 @@ "refreshError": "데이터 새로고침 실패", "verified": "검증됨", "pending": "대기 중", + "pendingApproval": "승인 대기 중", "sidebarBilling": "청구", "billing": "청구", "orgBillingDescription": "청구 정보 및 구독을 관리하세요", @@ -1420,7 +1456,7 @@ "securityKeyRemoveSuccess": "보안 키가 성공적으로 제거되었습니다", "securityKeyRemoveError": "보안 키 제거 실패", "securityKeyLoadError": "보안 키를 불러오는 데 실패했습니다", - "securityKeyLogin": "보안 키로 계속하기", + "securityKeyLogin": "보안 키 사용", "securityKeyAuthError": "보안 키를 사용한 인증 실패", "securityKeyRecommendation": "항상 계정에 액세스할 수 있도록 다른 장치에 백업 보안 키를 등록하세요.", "registering": "등록 중...", @@ -1547,6 +1583,8 @@ "IntervalSeconds": "정상 간격", "timeoutSeconds": "타임아웃(초)", "timeIsInSeconds": "시간은 초 단위입니다", + "requireDeviceApproval": "장치 승인 요구", + "requireDeviceApprovalDescription": "이 역할을 가진 사용자는 장치가 연결되기 전에 관리자의 승인이 필요합니다.", "retryAttempts": "재시도 횟수", "expectedResponseCodes": "예상 응답 코드", "expectedResponseCodesDescription": "정상 상태를 나타내는 HTTP 상태 코드입니다. 비워 두면 200-300이 정상으로 간주됩니다.", @@ -1876,7 +1914,7 @@ "orgAuthChooseIdpDescription": "계속하려면 신원 공급자를 선택하세요.", "orgAuthNoIdpConfigured": "이 조직은 구성된 신원 공급자가 없습니다. 대신 Pangolin 아이덴티티로 로그인할 수 있습니다.", "orgAuthSignInWithPangolin": "Pangolin으로 로그인", - "orgAuthSignInToOrg": "조직에 로그인합니다.", + "orgAuthSignInToOrg": "조직에 로그인", "orgAuthSelectOrgTitle": "조직 로그인", "orgAuthSelectOrgDescription": "계속하려면 조직 ID를 입력하십시오.", "orgAuthOrgIdPlaceholder": "your-organization", @@ -2232,6 +2270,8 @@ "deviceCodeInvalidFormat": "코드는 9자리여야 합니다 (예: A1AJ-N5JD)", "deviceCodeInvalidOrExpired": "무효하거나 만료된 코드", "deviceCodeVerifyFailed": "이메일 확인에 실패했습니다:", + "deviceCodeValidating": "장치 코드 검증 중...", + "deviceCodeVerifying": "장치 권한 검증 중...", "signedInAs": "로그인한 사용자", "deviceCodeEnterPrompt": "기기에 표시된 코드를 입력하세요", "continue": "계속 진행하기", @@ -2244,7 +2284,7 @@ "deviceOrganizationsAccess": "계정이 접근할 수 있는 모든 조직에 대한 접근", "deviceAuthorize": "{applicationName} 권한 부여", "deviceConnected": "장치가 연결되었습니다!", - "deviceAuthorizedMessage": "장치가 계정에 액세스할 수 있도록 승인되었습니다.", + "deviceAuthorizedMessage": "장치가 계정 접속을 승인받았습니다. 클라이언트 응용프로그램으로 돌아가세요.", "pangolinCloud": "판골린 클라우드", "viewDevices": "장치 보기", "viewDevicesDescription": "연결된 장치를 관리하십시오", @@ -2306,6 +2346,7 @@ "identifier": "식별자", "deviceLoginUseDifferentAccount": "본인이 아닙니까? 다른 계정을 사용하세요.", "deviceLoginDeviceRequestingAccessToAccount": "장치가 이 계정에 접근하려고 합니다.", + "loginSelectAuthenticationMethod": "계속하려면 인증 방법을 선택하세요.", "noData": "데이터 없음", "machineClients": "기계 클라이언트", "install": "설치", @@ -2394,5 +2435,92 @@ "maintenanceScreenTitle": "서비스 일시 중단", "maintenanceScreenMessage": "현재 기술적 문제를 겪고 있습니다. 곧 다시 확인하십시오.", "maintenanceScreenEstimatedCompletion": "예상 완료:", - "createInternalResourceDialogDestinationRequired": "목적지가 필요합니다." + "createInternalResourceDialogDestinationRequired": "목적지가 필요합니다.", + "available": "사용 가능", + "archived": "보관된", + "noArchivedDevices": "보관된 장치가 없습니다.", + "deviceArchived": "장치가 보관되었습니다.", + "deviceArchivedDescription": "장치가 성공적으로 보관되었습니다.", + "errorArchivingDevice": "장치를 보관하는 동안 오류가 발생했습니다.", + "failedToArchiveDevice": "장치를 보관하는 데 실패했습니다.", + "deviceQuestionArchive": "이 장치를 보관하시겠습니까?", + "deviceMessageArchive": "장치가 보관되며 당신의 활성 장치 목록에서 제거됩니다.", + "deviceArchiveConfirm": "장치 보관", + "archiveDevice": "장치 보관", + "archive": "보관", + "deviceUnarchived": "장치의 보관이 취소되었습니다.", + "deviceUnarchivedDescription": "장치의 보관이 성공적으로 취소되었습니다.", + "errorUnarchivingDevice": "장치 보관 해제 중 오류가 발생했습니다.", + "failedToUnarchiveDevice": "장치 보관 해제 실패", + "unarchive": "보관 해제", + "archiveClient": "클라이언트 보관", + "archiveClientQuestion": "이 클라이언트를 보관하시겠습니까?", + "archiveClientMessage": "클라이언트가 보관되며 당신의 활성 클라이언트 목록에서 제거됩니다.", + "archiveClientConfirm": "클라이언트 보관 확인", + "blockClient": "클라이언트 차단", + "blockClientQuestion": "이 클라이언트를 차단하시겠습니까?", + "blockClientMessage": "장치가 현재 연결되어 있는 경우 강제로 연결이 해제됩니다. 이후에도 차단 해제가 가능합니다.", + "blockClientConfirm": "클라이언트 차단 확인", + "active": "활성", + "usernameOrEmail": "사용자 이름 또는 이메일", + "selectYourOrganization": "조직 선택", + "signInTo": "로그인 중", + "signInWithPassword": "비밀번호로 계속", + "noAuthMethodsAvailable": "이 조직에는 사용할 수 있는 인증 방법이 없습니다.", + "enterPassword": "비밀번호를 입력하세요.", + "enterMfaCode": "인증 앱에서 제공한 코드를 입력하세요.", + "securityKeyRequired": "보안 키를 사용해 로그인하세요.", + "needToUseAnotherAccount": "다른 계정을 사용해야 합니까?", + "loginLegalDisclaimer": "아래 버튼을 클릭하여 서비스 약관개인 정보 보호 정책을 읽고 이해했으며 동의함을 인정합니다.", + "termsOfService": "서비스 약관", + "privacyPolicy": "개인 정보 보호 정책", + "userNotFoundWithUsername": "해당 사용자 이름으로 사용자를 찾지 못했습니다.", + "verify": "확인", + "signIn": "로그인", + "forgotPassword": "비밀번호를 잊으셨나요?", + "orgSignInTip": "이전에 로그인한 적이 있다면, 위의 사용자 이름 또는 이메일을 입력하여 조직의 ID 공급자로 인증할 수 있습니다. 더 쉬워요!", + "continueAnyway": "계속하기", + "dontShowAgain": "다시 보기 않습니다.", + "orgSignInNotice": "아셨나요?", + "signupOrgNotice": "로그인 중이신가요?", + "signupOrgTip": "조직의 ID 공급자를 통해 로그인하려고 하십니까?", + "signupOrgLink": "대신 조직을 사용하여 로그인 또는 가입", + "verifyEmailLogInWithDifferentAccount": "다른 계정 사용", + "logIn": "로그인", + "deviceInformation": "장치 정보", + "deviceInformationDescription": "장치와 에이전트 정보", + "platform": "플랫폼", + "macosVersion": "macOS 버전", + "windowsVersion": "Windows 버전", + "iosVersion": "iOS 버전", + "androidVersion": "Android 버전", + "osVersion": "OS 버전", + "kernelVersion": "커널 버전", + "deviceModel": "장치 모델", + "serialNumber": "일련 번호", + "hostname": "호스트 이름", + "firstSeen": "처음 발견됨", + "lastSeen": "마지막으로 발견됨", + "deviceSettingsDescription": "장치 정보 및 설정 보기", + "devicePendingApprovalDescription": "이 장치는 승인을 기다리고 있습니다.", + "deviceBlockedDescription": "이 장치는 현재 차단되었습니다. 차단이 해제되지 않으면 리소스에 연결할 수 없습니다.", + "unblockClient": "클라이언트 차단 해제", + "unblockClientDescription": "장치가 차단 해제되었습니다.", + "unarchiveClient": "클라이언트 보관 취소", + "unarchiveClientDescription": "장치가 보관 해제되었습니다.", + "block": "차단", + "unblock": "차단 해제", + "deviceActions": "장치 작업", + "deviceActionsDescription": "장치 상태 및 접근 관리", + "devicePendingApprovalBannerDescription": "이 장치는 승인 대기 중입니다. 승인될 때까지 리소스에 연결할 수 없습니다.", + "connected": "연결됨", + "disconnected": "연결 해제됨", + "approvalsEmptyStateTitle": "장치 승인 비활성화됨", + "approvalsEmptyStateDescription": "사용자가 새 장치를 연결하기 전에 관리자의 승인을 필요로 하도록 역할에 대해 장치 승인을 활성화하세요.", + "approvalsEmptyStateStep1Title": "역할로 이동", + "approvalsEmptyStateStep1Description": "조직의 역할 설정으로 이동하여 장치 승인을 구성하십시오.", + "approvalsEmptyStateStep2Title": "장치 승인 활성화", + "approvalsEmptyStateStep2Description": "역할을 편집하고 '장치 승인 요구' 옵션을 활성화하세요. 이 역할을 가진 사용자는 새 장치에 대해 관리자의 승인이 필요합니다.", + "approvalsEmptyStatePreviewDescription": "미리 보기: 활성화된 경우, 승인 대기 중인 장치 요청이 검토용으로 여기에 표시됩니다.", + "approvalsEmptyStateButtonText": "역할 관리" } From 5b41bc2f59bf61445877b31f0b15fd916447d1b6 Mon Sep 17 00:00:00 2001 From: Owen Schwartz Date: Tue, 20 Jan 2026 16:39:24 -0800 Subject: [PATCH 33/42] New translations en-us.json (Dutch) --- messages/nl-NL.json | 150 ++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 139 insertions(+), 11 deletions(-) diff --git a/messages/nl-NL.json b/messages/nl-NL.json index 5057a53b..794528d8 100644 --- a/messages/nl-NL.json +++ b/messages/nl-NL.json @@ -56,6 +56,9 @@ "sitesBannerTitle": "Verbind elk netwerk", "sitesBannerDescription": "Een site is een verbinding met een extern netwerk waarmee Pangolin toegang biedt tot bronnen, zowel openbaar als privé, aan gebruikers overal. Installeer de sitedatacenterconnector (Newt) overal waar je een binaire of container kunt uitvoeren om de verbinding tot stand te brengen.", "sitesBannerButtonText": "Site installeren", + "approvalsBannerTitle": "Toegang tot het apparaat goedkeuren of weigeren", + "approvalsBannerDescription": "Bekijk en keur toestelverzoeken goed of weiger toegang van gebruikers. Wanneer apparaatgoedkeuringen vereist zijn, moeten gebruikers de goedkeuring van beheerders krijgen voordat hun apparaten verbinding kunnen maken met de bronnen van uw organisatie.", + "approvalsBannerButtonText": "Meer informatie", "siteCreate": "Site maken", "siteCreateDescription2": "Volg de onderstaande stappen om een nieuwe site aan te maken en te verbinden", "siteCreateDescription": "Maak een nieuwe site aan om bronnen te verbinden", @@ -257,6 +260,8 @@ "accessRolesSearch": "Rollen zoeken...", "accessRolesAdd": "Rol toevoegen", "accessRoleDelete": "Verwijder rol", + "accessApprovalsManage": "Goedkeuringen beheren", + "accessApprovalsDescription": "Bekijk en beheer openstaande goedkeuringen voor toegang tot deze organisatie", "description": "Beschrijving", "inviteTitle": "Open uitnodigingen", "inviteDescription": "Beheer uitnodigingen voor andere gebruikers om deel te nemen aan de organisatie", @@ -450,6 +455,18 @@ "selectDuration": "Selecteer duur", "selectResource": "Selecteer Document", "filterByResource": "Filter op pagina", + "selectApprovalState": "Selecteer goedkeuringsstatus", + "filterByApprovalState": "Filter op goedkeuringsstatus", + "approvalListEmpty": "Geen goedkeuringen", + "approvalState": "Goedkeuring status", + "approve": "Goedkeuren", + "approved": "Goedgekeurd", + "denied": "Geweigerd", + "deniedApproval": "Geweigerde goedkeuring", + "all": "Alles", + "deny": "Weigeren", + "viewDetails": "Details bekijken", + "requestingNewDeviceApproval": "heeft een nieuw apparaat aangevraagd", "resetFilters": "Filters resetten", "totalBlocked": "Verzoeken geblokkeerd door Pangolin", "totalRequests": "Totaal verzoeken", @@ -729,16 +746,28 @@ "countries": "Landen", "accessRoleCreate": "Rol aanmaken", "accessRoleCreateDescription": "Maak een nieuwe rol aan om gebruikers te groeperen en hun rechten te beheren.", + "accessRoleEdit": "Rol bewerken", + "accessRoleEditDescription": "Bewerk rol informatie.", "accessRoleCreateSubmit": "Rol aanmaken", "accessRoleCreated": "Rol aangemaakt", "accessRoleCreatedDescription": "De rol is succesvol aangemaakt.", "accessRoleErrorCreate": "Rol aanmaken mislukt", "accessRoleErrorCreateDescription": "Fout opgetreden tijdens het aanmaken van de rol.", + "accessRoleUpdateSubmit": "Rol bijwerken", + "accessRoleUpdated": "Rol bijgewerkt", + "accessRoleUpdatedDescription": "De rol is succesvol bijgewerkt.", + "accessApprovalUpdated": "Afgewerkt met goedkeuring", + "accessApprovalApprovedDescription": "Stel het goedkeuringsverzoek in op goedkeuring.", + "accessApprovalDeniedDescription": "Stel de beslissing over het goedkeuringsverzoek in als geweigerd.", + "accessRoleErrorUpdate": "Bijwerken van rol mislukt", + "accessRoleErrorUpdateDescription": "Fout opgetreden tijdens het bijwerken van de rol.", + "accessApprovalErrorUpdate": "Kan goedkeuring niet verwerken", + "accessApprovalErrorUpdateDescription": "Er is een fout opgetreden bij het verwerken van de goedkeuring.", "accessRoleErrorNewRequired": "Nieuwe rol is vereist", "accessRoleErrorRemove": "Rol verwijderen mislukt", "accessRoleErrorRemoveDescription": "Er is een fout opgetreden tijdens het verwijderen van de rol.", "accessRoleName": "Rol naam", - "accessRoleQuestionRemove": "U staat op het punt de {name} rol te verwijderen. U kunt deze actie niet ongedaan maken.", + "accessRoleQuestionRemove": "Je staat op het punt de `{name}` rol te verwijderen. Je kunt deze actie niet ongedaan maken.", "accessRoleRemove": "Rol verwijderen", "accessRoleRemoveDescription": "Verwijder een rol van de organisatie", "accessRoleRemoveSubmit": "Rol verwijderen", @@ -874,7 +903,7 @@ "inviteAlready": "Het lijkt erop dat je bent uitgenodigd!", "inviteAlreadyDescription": "Om de uitnodiging te accepteren, moet je inloggen of een account aanmaken.", "signupQuestion": "Heeft u al een account?", - "login": "Inloggen", + "login": "Log in", "resourceNotFound": "Bron niet gevonden", "resourceNotFoundDescription": "De bron die u probeert te benaderen bestaat niet.", "pincodeRequirementsLength": "Pincode moet precies 6 cijfers zijn", @@ -960,7 +989,7 @@ "passwordResetSmtpRequired": "Neem contact op met uw beheerder", "passwordResetSmtpRequiredDescription": "Er is een wachtwoord reset code nodig om uw wachtwoord opnieuw in te stellen. Neem contact op met uw beheerder voor hulp.", "passwordBack": "Terug naar wachtwoord", - "loginBack": "Ga terug naar login", + "loginBack": "Ga terug naar de hoofdinlogpagina", "signup": "Registreer nu", "loginStart": "Log in om te beginnen", "idpOidcTokenValidating": "Valideer OIDC-token", @@ -1118,6 +1147,10 @@ "actionUpdateIdpOrg": "IDP-org bijwerken", "actionCreateClient": "Client aanmaken", "actionDeleteClient": "Verwijder klant", + "actionArchiveClient": "Archiveer client", + "actionUnarchiveClient": "Dearchiveer client", + "actionBlockClient": "Blokkeer klant", + "actionUnblockClient": "Deblokkeer client", "actionUpdateClient": "Klant bijwerken", "actionListClients": "Lijst klanten", "actionGetClient": "Client ophalen", @@ -1134,14 +1167,14 @@ "searchProgress": "Zoeken...", "create": "Aanmaken", "orgs": "Organisaties", - "loginError": "Er is een fout opgetreden tijdens het inloggen", - "loginRequiredForDevice": "Inloggen is vereist om je apparaat te verifiëren.", + "loginError": "Er is een onverwachte fout opgetreden. Probeer het opnieuw.", + "loginRequiredForDevice": "Inloggen is vereist voor je apparaat.", "passwordForgot": "Wachtwoord vergeten?", "otpAuth": "Tweestapsverificatie verificatie", "otpAuthDescription": "Voer de code van je authenticator-app of een van je reservekopiecodes voor het eenmalig gebruik in.", "otpAuthSubmit": "Code indienen", "idpContinue": "Of ga verder met", - "otpAuthBack": "Terug naar inloggen", + "otpAuthBack": "Terug naar wachtwoord", "navbar": "Navigatiemenu", "navbarDescription": "Hoofd navigatie menu voor de applicatie", "navbarDocsLink": "Documentatie", @@ -1189,6 +1222,7 @@ "sidebarOverview": "Overzicht.", "sidebarHome": "Startpagina", "sidebarSites": "Werkruimtes", + "sidebarApprovals": "Goedkeuringsverzoeken", "sidebarResources": "Bronnen", "sidebarProxyResources": "Openbaar", "sidebarClientResources": "Privé", @@ -1205,7 +1239,7 @@ "sidebarIdentityProviders": "Identiteit aanbieders", "sidebarLicense": "Licentie", "sidebarClients": "Clienten", - "sidebarUserDevices": "Gebruikers", + "sidebarUserDevices": "Gebruiker Apparaten", "sidebarMachineClients": "Machines", "sidebarDomains": "Domeinen", "sidebarGeneral": "Beheren", @@ -1277,6 +1311,7 @@ "setupErrorCreateAdmin": "Er is een fout opgetreden bij het maken van het serverbeheerdersaccount.", "certificateStatus": "Certificaatstatus", "loading": "Bezig met laden", + "loadingAnalytics": "Laden van Analytics", "restart": "Herstarten", "domains": "Domeinen", "domainsDescription": "Maak en beheer domeinen die beschikbaar zijn in de organisatie", @@ -1304,6 +1339,7 @@ "refreshError": "Het vernieuwen van gegevens is mislukt", "verified": "Gecontroleerd", "pending": "In afwachting", + "pendingApproval": "Wachten op goedkeuring", "sidebarBilling": "Facturering", "billing": "Facturering", "orgBillingDescription": "Beheer factureringsinformatie en abonnementen", @@ -1420,7 +1456,7 @@ "securityKeyRemoveSuccess": "Beveiligingssleutel succesvol verwijderd", "securityKeyRemoveError": "Fout bij verwijderen van beveiligingssleutel", "securityKeyLoadError": "Fout bij laden van beveiligingssleutels", - "securityKeyLogin": "Doorgaan met beveiligingssleutel", + "securityKeyLogin": "Gebruik beveiligingssleutel", "securityKeyAuthError": "Fout bij authenticatie met beveiligingssleutel", "securityKeyRecommendation": "Overweeg om een andere beveiligingssleutel te registreren op een ander apparaat om ervoor te zorgen dat u niet buitengesloten raakt van uw account.", "registering": "Registreren...", @@ -1547,6 +1583,8 @@ "IntervalSeconds": "Gezonde Interval", "timeoutSeconds": "Timeout (sec)", "timeIsInSeconds": "Tijd is in seconden", + "requireDeviceApproval": "Vereist goedkeuring van apparaat", + "requireDeviceApprovalDescription": "Gebruikers met deze rol hebben nieuwe apparaten nodig die door een beheerder zijn goedgekeurd voordat ze verbinding kunnen maken met bronnen en deze kunnen gebruiken.", "retryAttempts": "Herhaal Pogingen", "expectedResponseCodes": "Verwachte Reactiecodes", "expectedResponseCodesDescription": "HTTP-statuscode die gezonde status aangeeft. Indien leeg wordt 200-300 als gezond beschouwd.", @@ -1876,7 +1914,7 @@ "orgAuthChooseIdpDescription": "Kies uw identiteitsprovider om door te gaan", "orgAuthNoIdpConfigured": "Deze organisatie heeft geen identiteitsproviders geconfigureerd. Je kunt in plaats daarvan inloggen met je Pangolin-identiteit.", "orgAuthSignInWithPangolin": "Log in met Pangolin", - "orgAuthSignInToOrg": "Meld u aan bij een organisatie", + "orgAuthSignInToOrg": "Log in bij een organisatie", "orgAuthSelectOrgTitle": "Organisatie Inloggen", "orgAuthSelectOrgDescription": "Voer je organisatie-ID in om verder te gaan", "orgAuthOrgIdPlaceholder": "jouw-organisatie", @@ -2232,6 +2270,8 @@ "deviceCodeInvalidFormat": "Code moet 9 tekens bevatten (bijv. A1AJ-N5JD)", "deviceCodeInvalidOrExpired": "Ongeldige of verlopen code", "deviceCodeVerifyFailed": "Apparaatcode verifiëren mislukt", + "deviceCodeValidating": "Apparaatcode valideren...", + "deviceCodeVerifying": "Apparaatmachtiging verifiëren...", "signedInAs": "Ingelogd als", "deviceCodeEnterPrompt": "Voer de op het apparaat weergegeven code in", "continue": "Doorgaan", @@ -2244,7 +2284,7 @@ "deviceOrganizationsAccess": "Toegang tot alle organisaties waar uw account toegang tot heeft", "deviceAuthorize": "Autoriseer {applicationName}", "deviceConnected": "Apparaat verbonden!", - "deviceAuthorizedMessage": "Apparaat is gemachtigd om toegang te krijgen tot je account.", + "deviceAuthorizedMessage": "Apparaat is gemachtigd om toegang te krijgen tot je account. Ga terug naar de client applicatie.", "pangolinCloud": "Pangoline Cloud", "viewDevices": "Bekijk apparaten", "viewDevicesDescription": "Beheer uw aangesloten apparaten", @@ -2306,6 +2346,7 @@ "identifier": "Identifier", "deviceLoginUseDifferentAccount": "Niet u? Gebruik een ander account.", "deviceLoginDeviceRequestingAccessToAccount": "Een apparaat vraagt om toegang tot dit account.", + "loginSelectAuthenticationMethod": "Selecteer een verificatiemethode om door te gaan.", "noData": "Geen gegevens", "machineClients": "Machine Clienten", "install": "Installeren", @@ -2394,5 +2435,92 @@ "maintenanceScreenTitle": "Dienst tijdelijk niet beschikbaar", "maintenanceScreenMessage": "We hebben momenteel technische problemen. Probeer het later opnieuw.", "maintenanceScreenEstimatedCompletion": "Geschatte voltooiing:", - "createInternalResourceDialogDestinationRequired": "Bestemming is vereist" + "createInternalResourceDialogDestinationRequired": "Bestemming is vereist", + "available": "Beschikbaar", + "archived": "Gearchiveerd", + "noArchivedDevices": "Geen gearchiveerde apparaten gevonden", + "deviceArchived": "Apparaat gearchiveerd", + "deviceArchivedDescription": "Het apparaat is met succes gearchiveerd.", + "errorArchivingDevice": "Fout bij archiveren apparaat", + "failedToArchiveDevice": "Kan apparaat niet archiveren", + "deviceQuestionArchive": "Weet u zeker dat u dit apparaat wilt archiveren?", + "deviceMessageArchive": "Het apparaat wordt gearchiveerd en verwijderd uit de lijst met actieve apparaten.", + "deviceArchiveConfirm": "Archiveer apparaat", + "archiveDevice": "Archiveer apparaat", + "archive": "Archief", + "deviceUnarchived": "Apparaat niet gearchiveerd", + "deviceUnarchivedDescription": "Het apparaat is met succes gedearchiveerd.", + "errorUnarchivingDevice": "Fout bij dearchiveren van apparaat", + "failedToUnarchiveDevice": "Apparaat dearchiveren mislukt", + "unarchive": "Dearchiveren", + "archiveClient": "Archiveer client", + "archiveClientQuestion": "Weet u zeker dat u deze client wilt archiveren?", + "archiveClientMessage": "De klant zal worden gearchiveerd en verwijderd uit de lijst met actieve cliënten.", + "archiveClientConfirm": "Archiveer client", + "blockClient": "Blokkeer klant", + "blockClientQuestion": "Weet u zeker dat u deze cliënt wilt blokkeren?", + "blockClientMessage": "Het apparaat zal worden gedwongen de verbinding te verbreken als het momenteel is verbonden. U kunt het apparaat later deblokkeren.", + "blockClientConfirm": "Blokkeer klant", + "active": "actief", + "usernameOrEmail": "Gebruikersnaam of e-mailadres", + "selectYourOrganization": "Selecteer uw organisatie", + "signInTo": "Log in op", + "signInWithPassword": "Ga verder met wachtwoord", + "noAuthMethodsAvailable": "Geen verificatiemethoden beschikbaar voor deze organisatie.", + "enterPassword": "Voer je wachtwoord in", + "enterMfaCode": "Voer de code van je authenticator-app in", + "securityKeyRequired": "Gebruik uw beveiligingssleutel om in te loggen.", + "needToUseAnotherAccount": "Wilt u een ander account gebruiken?", + "loginLegalDisclaimer": "Door op de knoppen hieronder te klikken, erken je dat je gelezen en begrepen hebt en ga akkoord met de Gebruiksvoorwaarden en Privacybeleid.", + "termsOfService": "Algemene gebruiksvoorwaarden", + "privacyPolicy": "Privacy Beleid", + "userNotFoundWithUsername": "Geen gebruiker gevonden met die gebruikersnaam.", + "verify": "Verifiëren", + "signIn": "Log in", + "forgotPassword": "Wachtwoord vergeten?", + "orgSignInTip": "Als u eerder bent ingelogd, kunt u uw gebruikersnaam of e-mail hierboven invoeren om in plaats daarvan te verifiëren met de identiteitsprovider van uw organisatie! Het is makkelijk!", + "continueAnyway": "Toch doorgaan", + "dontShowAgain": "Niet meer weergeven", + "orgSignInNotice": "Wist u dat?", + "signupOrgNotice": "Proberen je aan te melden?", + "signupOrgTip": "Probeert u zich aan te melden via de identiteitsprovider van uw organisatie?", + "signupOrgLink": "Log in of meld je aan bij je organisatie", + "verifyEmailLogInWithDifferentAccount": "Gebruik een ander account", + "logIn": "Log in", + "deviceInformation": "Apparaat informatie", + "deviceInformationDescription": "Informatie over het apparaat en de agent", + "platform": "Platform", + "macosVersion": "macOS versie", + "windowsVersion": "Windows versie", + "iosVersion": "iOS versie", + "androidVersion": "Android versie", + "osVersion": "OS versie", + "kernelVersion": "Kernel versie", + "deviceModel": "Apparaat model", + "serialNumber": "Serienummer", + "hostname": "Hostname", + "firstSeen": "Eerst gezien", + "lastSeen": "Laatst gezien op", + "deviceSettingsDescription": "Apparaatinformatie en -instellingen bekijken", + "devicePendingApprovalDescription": "Dit apparaat wacht op goedkeuring", + "deviceBlockedDescription": "Dit apparaat is momenteel geblokkeerd. Het kan geen verbinding maken met bronnen tenzij het wordt gedeblokkeerd.", + "unblockClient": "Deblokkeer client", + "unblockClientDescription": "Het apparaat is gedeblokkeerd", + "unarchiveClient": "Dearchiveer client", + "unarchiveClientDescription": "Het apparaat is gedearchiveerd", + "block": "Blokkeren", + "unblock": "Deblokkeer", + "deviceActions": "Apparaat Acties", + "deviceActionsDescription": "Apparaatstatus en toegang beheren", + "devicePendingApprovalBannerDescription": "Dit apparaat wacht op goedkeuring. Het zal niet in staat zijn verbinding te maken met bronnen totdat het is goedgekeurd.", + "connected": "Verbonden", + "disconnected": "Losgekoppeld", + "approvalsEmptyStateTitle": "Apparaat goedkeuringen niet ingeschakeld", + "approvalsEmptyStateDescription": "Apparaatgoedkeuringen voor rollen inschakelen om goedkeuring van de beheerder te vereisen voordat gebruikers nieuwe apparaten kunnen koppelen.", + "approvalsEmptyStateStep1Title": "Ga naar rollen", + "approvalsEmptyStateStep1Description": "Navigeer naar de rolinstellingen van uw organisatie om apparaatgoedkeuringen te configureren.", + "approvalsEmptyStateStep2Title": "Toestel goedkeuringen inschakelen", + "approvalsEmptyStateStep2Description": "Bewerk een rol en schakel de optie 'Vereist Apparaat Goedkeuringen' in. Gebruikers met deze rol hebben admin goedkeuring nodig voor nieuwe apparaten.", + "approvalsEmptyStatePreviewDescription": "Voorbeeld: Indien ingeschakeld, zullen in afwachting van apparaatverzoeken hier verschijnen om te beoordelen", + "approvalsEmptyStateButtonText": "Rollen beheren" } From 4038ccff0d0207539883622fb20f7dc0ba7e4ec0 Mon Sep 17 00:00:00 2001 From: Owen Schwartz Date: Tue, 20 Jan 2026 16:39:26 -0800 Subject: [PATCH 34/42] New translations en-us.json (Polish) --- messages/pl-PL.json | 148 +++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 138 insertions(+), 10 deletions(-) diff --git a/messages/pl-PL.json b/messages/pl-PL.json index e01d64ca..866596d4 100644 --- a/messages/pl-PL.json +++ b/messages/pl-PL.json @@ -56,6 +56,9 @@ "sitesBannerTitle": "Połącz dowolną sieć", "sitesBannerDescription": "Witryna to połączenie z siecią zdalną, które umożliwia Pangolinowi zapewnienie dostępu do zasobów, publicznych lub prywatnych, użytkownikom w dowolnym miejscu. Zainstaluj łącznik sieci w witrynie (Newt) w dowolnym miejscu, w którym możesz uruchomić binarkę lub kontener, aby ustanowić połączenie.", "sitesBannerButtonText": "Zainstaluj witrynę", + "approvalsBannerTitle": "Zatwierdź lub odmów dostępu do urządzenia", + "approvalsBannerDescription": "Przejrzyj i zatwierdzaj lub odmawiaj użytkownikom dostępu do urządzenia. Gdy wymagane jest zatwierdzenie urządzenia, użytkownicy muszą uzyskać zatwierdzenie administratora, zanim ich urządzenia będą mogły połączyć się z zasobami Twojej organizacji.", + "approvalsBannerButtonText": "Dowiedz się więcej", "siteCreate": "Utwórz witrynę", "siteCreateDescription2": "Wykonaj poniższe kroki, aby utworzyć i połączyć nową witrynę", "siteCreateDescription": "Utwórz nową witrynę, aby rozpocząć łączenie zasobów", @@ -257,6 +260,8 @@ "accessRolesSearch": "Szukaj ról...", "accessRolesAdd": "Dodaj rolę", "accessRoleDelete": "Usuń rolę", + "accessApprovalsManage": "Zarządzaj zatwierdzaniem", + "accessApprovalsDescription": "Przeglądaj i zarządzaj oczekującymi zatwierdzeniami dostępu do tej organizacji", "description": "Opis", "inviteTitle": "Otwórz zaproszenia", "inviteDescription": "Zarządzaj zaproszeniami dla innych użytkowników do dołączenia do organizacji", @@ -450,6 +455,18 @@ "selectDuration": "Wybierz okres", "selectResource": "Wybierz zasób", "filterByResource": "Filtruj według zasobów", + "selectApprovalState": "Wybierz województwo zatwierdzające", + "filterByApprovalState": "Filtruj według państwa zatwierdzenia", + "approvalListEmpty": "Brak zatwierdzeń", + "approvalState": "Państwo zatwierdzające", + "approve": "Zatwierdź", + "approved": "Zatwierdzone", + "denied": "Odmowa", + "deniedApproval": "Odrzucono zatwierdzenie", + "all": "Wszystko", + "deny": "Odmowa", + "viewDetails": "Zobacz szczegóły", + "requestingNewDeviceApproval": "zażądano nowego urządzenia", "resetFilters": "Resetuj filtry", "totalBlocked": "Żądania zablokowane przez Pangolina", "totalRequests": "Wszystkich Żądań", @@ -729,16 +746,28 @@ "countries": "Kraje", "accessRoleCreate": "Utwórz rolę", "accessRoleCreateDescription": "Utwórz nową rolę aby zgrupować użytkowników i zarządzać ich uprawnieniami.", + "accessRoleEdit": "Edytuj rolę", + "accessRoleEditDescription": "Edytuj informacje o rolach.", "accessRoleCreateSubmit": "Utwórz rolę", "accessRoleCreated": "Rola utworzona", "accessRoleCreatedDescription": "Rola została pomyślnie utworzona.", "accessRoleErrorCreate": "Nie udało się utworzyć roli", "accessRoleErrorCreateDescription": "Wystąpił błąd podczas tworzenia roli.", + "accessRoleUpdateSubmit": "Aktualizuj rolę", + "accessRoleUpdated": "Rola zaktualizowana", + "accessRoleUpdatedDescription": "Rola została pomyślnie zaktualizowana.", + "accessApprovalUpdated": "Zatwierdzenie przetworzone", + "accessApprovalApprovedDescription": "Ustaw decyzję o zatwierdzeniu wniosku o zatwierdzenie.", + "accessApprovalDeniedDescription": "Ustaw decyzję o odrzuceniu wniosku o zatwierdzenie.", + "accessRoleErrorUpdate": "Nie udało się zaktualizować roli", + "accessRoleErrorUpdateDescription": "Wystąpił błąd podczas aktualizowania roli.", + "accessApprovalErrorUpdate": "Nie udało się przetworzyć zatwierdzenia", + "accessApprovalErrorUpdateDescription": "Wystąpił błąd podczas przetwarzania zatwierdzenia.", "accessRoleErrorNewRequired": "Nowa rola jest wymagana", "accessRoleErrorRemove": "Nie udało się usunąć roli", "accessRoleErrorRemoveDescription": "Wystąpił błąd podczas usuwania roli.", "accessRoleName": "Nazwa roli", - "accessRoleQuestionRemove": "Zamierzasz usunąć rolę {name}. Tej akcji nie można cofnąć.", + "accessRoleQuestionRemove": "Zamierzasz usunąć rolę `{name}`. Nie możesz cofnąć tej czynności.", "accessRoleRemove": "Usuń rolę", "accessRoleRemoveDescription": "Usuń rolę z organizacji", "accessRoleRemoveSubmit": "Usuń rolę", @@ -954,13 +983,13 @@ "passwordExpiryDescription": "Organizacja wymaga zmiany hasła co {maxDays} dni.", "changePasswordNow": "Zmień hasło teraz", "pincodeAuth": "Kod uwierzytelniający", - "pincodeSubmit2": "Wyślij kod", + "pincodeSubmit2": "Prześlij kod", "passwordResetSubmit": "Zażądaj resetowania", "passwordResetAlreadyHaveCode": "Wprowadź kod", "passwordResetSmtpRequired": "Skontaktuj się z administratorem", "passwordResetSmtpRequiredDescription": "Aby zresetować hasło, wymagany jest kod resetowania hasła. Skontaktuj się z administratorem.", "passwordBack": "Powrót do hasła", - "loginBack": "Wróć do logowania", + "loginBack": "Wróć do strony logowania głównego", "signup": "Zarejestruj się", "loginStart": "Zaloguj się, aby rozpocząć", "idpOidcTokenValidating": "Walidacja tokena OIDC", @@ -1118,6 +1147,10 @@ "actionUpdateIdpOrg": "Aktualizuj organizację IDP", "actionCreateClient": "Utwórz klienta", "actionDeleteClient": "Usuń klienta", + "actionArchiveClient": "Zarchiwizuj klienta", + "actionUnarchiveClient": "Usuń archiwizację klienta", + "actionBlockClient": "Zablokuj klienta", + "actionUnblockClient": "Odblokuj klienta", "actionUpdateClient": "Aktualizuj klienta", "actionListClients": "Lista klientów", "actionGetClient": "Pobierz klienta", @@ -1134,14 +1167,14 @@ "searchProgress": "Szukaj...", "create": "Utwórz", "orgs": "Organizacje", - "loginError": "Wystąpił błąd podczas logowania", - "loginRequiredForDevice": "Logowanie jest wymagane do uwierzytelnienia urządzenia.", + "loginError": "Wystąpił nieoczekiwany błąd. Spróbuj ponownie.", + "loginRequiredForDevice": "Logowanie jest wymagane dla Twojego urządzenia.", "passwordForgot": "Zapomniałeś hasła?", "otpAuth": "Uwierzytelnianie dwuskładnikowe", "otpAuthDescription": "Wprowadź kod z aplikacji uwierzytelniającej lub jeden z jednorazowych kodów zapasowych.", "otpAuthSubmit": "Wyślij kod", "idpContinue": "Lub kontynuuj z", - "otpAuthBack": "Powrót do logowania", + "otpAuthBack": "Powrót do hasła", "navbar": "Menu nawigacyjne", "navbarDescription": "Główne menu nawigacyjne aplikacji", "navbarDocsLink": "Dokumentacja", @@ -1189,6 +1222,7 @@ "sidebarOverview": "Przegląd", "sidebarHome": "Strona główna", "sidebarSites": "Witryny", + "sidebarApprovals": "Wnioski o zatwierdzenie", "sidebarResources": "Zasoby", "sidebarProxyResources": "Publiczne", "sidebarClientResources": "Prywatny", @@ -1205,7 +1239,7 @@ "sidebarIdentityProviders": "Dostawcy tożsamości", "sidebarLicense": "Licencja", "sidebarClients": "Klienty", - "sidebarUserDevices": "Użytkownicy", + "sidebarUserDevices": "Urządzenia użytkownika", "sidebarMachineClients": "Maszyny", "sidebarDomains": "Domeny", "sidebarGeneral": "Zarządzaj", @@ -1277,6 +1311,7 @@ "setupErrorCreateAdmin": "Wystąpił błąd podczas tworzenia konta administratora serwera.", "certificateStatus": "Status certyfikatu", "loading": "Ładowanie", + "loadingAnalytics": "Ładowanie Analityki", "restart": "Uruchom ponownie", "domains": "Domeny", "domainsDescription": "Tworzenie domen dostępnych w organizacji i zarządzanie nimi", @@ -1304,6 +1339,7 @@ "refreshError": "Nie udało się odświeżyć danych", "verified": "Zatwierdzony", "pending": "Oczekuje", + "pendingApproval": "Oczekujące na zatwierdzenie", "sidebarBilling": "Fakturowanie", "billing": "Fakturowanie", "orgBillingDescription": "Zarządzaj informacjami rozliczeniowymi i subskrypcjami", @@ -1420,7 +1456,7 @@ "securityKeyRemoveSuccess": "Klucz bezpieczeństwa został pomyślnie usunięty", "securityKeyRemoveError": "Błąd podczas usuwania klucza bezpieczeństwa", "securityKeyLoadError": "Błąd podczas ładowania kluczy bezpieczeństwa", - "securityKeyLogin": "Zaloguj się kluczem bezpieczeństwa", + "securityKeyLogin": "Użyj klucza bezpieczeństwa", "securityKeyAuthError": "Błąd podczas uwierzytelniania kluczem bezpieczeństwa", "securityKeyRecommendation": "Rozważ zarejestrowanie innego klucza bezpieczeństwa na innym urządzeniu, aby upewnić się, że nie zostaniesz zablokowany z dostępu do swojego konta.", "registering": "Rejestracja...", @@ -1547,6 +1583,8 @@ "IntervalSeconds": "Interwał Zdrowy", "timeoutSeconds": "Limit czasu (sek)", "timeIsInSeconds": "Czas w sekundach", + "requireDeviceApproval": "Wymagaj zatwierdzenia urządzenia", + "requireDeviceApprovalDescription": "Użytkownicy o tej roli potrzebują nowych urządzeń zatwierdzonych przez administratora, zanim będą mogli połączyć się i uzyskać dostęp do zasobów.", "retryAttempts": "Próby Ponowienia", "expectedResponseCodes": "Oczekiwane Kody Odpowiedzi", "expectedResponseCodesDescription": "Kod statusu HTTP, który wskazuje zdrowy status. Jeśli pozostanie pusty, uznaje się 200-300 za zdrowy.", @@ -2232,6 +2270,8 @@ "deviceCodeInvalidFormat": "Kod musi mieć 9 znaków (np. A1AJ-N5JD)", "deviceCodeInvalidOrExpired": "Nieprawidłowy lub wygasły kod", "deviceCodeVerifyFailed": "Nie udało się zweryfikować kodu urządzenia", + "deviceCodeValidating": "Sprawdzanie kodu urządzenia...", + "deviceCodeVerifying": "Weryfikowanie autoryzacji urządzenia...", "signedInAs": "Zalogowany jako", "deviceCodeEnterPrompt": "Wprowadź kod wyświetlany na urządzeniu", "continue": "Kontynuuj", @@ -2244,7 +2284,7 @@ "deviceOrganizationsAccess": "Dostęp do wszystkich organizacji, do których Twoje konto ma dostęp", "deviceAuthorize": "Autoryzuj {applicationName}", "deviceConnected": "Urządzenie podłączone!", - "deviceAuthorizedMessage": "Urządzenie jest upoważnione do dostępu do Twojego konta.", + "deviceAuthorizedMessage": "Urządzenie jest autoryzowane do uzyskania dostępu do Twojego konta. Proszę wróć do aplikacji klienckiej.", "pangolinCloud": "Chmura Pangolin", "viewDevices": "Zobacz urządzenia", "viewDevicesDescription": "Zarządzaj podłączonymi urządzeniami", @@ -2306,6 +2346,7 @@ "identifier": "Identifier", "deviceLoginUseDifferentAccount": "Nie ty? Użyj innego konta.", "deviceLoginDeviceRequestingAccessToAccount": "Urządzenie żąda dostępu do tego konta.", + "loginSelectAuthenticationMethod": "Wybierz metodę uwierzytelniania aby kontynuować.", "noData": "Brak danych", "machineClients": "Klienci maszyn", "install": "Zainstaluj", @@ -2394,5 +2435,92 @@ "maintenanceScreenTitle": "Usługa chwilowo niedostępna", "maintenanceScreenMessage": "Obecnie doświadczamy problemów technicznych. Proszę sprawdzić ponownie wkrótce.", "maintenanceScreenEstimatedCompletion": "Szacowane zakończenie:", - "createInternalResourceDialogDestinationRequired": "Miejsce docelowe jest wymagane" + "createInternalResourceDialogDestinationRequired": "Miejsce docelowe jest wymagane", + "available": "Dostępny", + "archived": "Zarchiwizowane", + "noArchivedDevices": "Nie znaleziono zarchiwizowanych urządzeń", + "deviceArchived": "Urządzenie zarchiwizowane", + "deviceArchivedDescription": "Urządzenie zostało pomyślnie zarchiwizowane.", + "errorArchivingDevice": "Błąd podczas archiwizacji urządzenia", + "failedToArchiveDevice": "Nie udało się zarchiwizować urządzenia", + "deviceQuestionArchive": "Czy na pewno chcesz zarchiwizować to urządzenie?", + "deviceMessageArchive": "Urządzenie zostanie zarchiwizowane i usunięte z listy aktywnych urządzeń.", + "deviceArchiveConfirm": "Archiwizuj urządzenie", + "archiveDevice": "Archiwizuj urządzenie", + "archive": "Archiwum", + "deviceUnarchived": "Urządzenie niezarchiwizowane", + "deviceUnarchivedDescription": "Urządzenie zostało pomyślnie usunięte.", + "errorUnarchivingDevice": "Błąd podczas usuwania archiwizacji urządzenia", + "failedToUnarchiveDevice": "Nie udało się odarchiwizować urządzenia", + "unarchive": "Usuń z archiwum", + "archiveClient": "Zarchiwizuj klienta", + "archiveClientQuestion": "Czy na pewno chcesz zarchiwizować tego klienta?", + "archiveClientMessage": "Klient zostanie zarchiwizowany i usunięty z listy aktywnych klientów.", + "archiveClientConfirm": "Zarchiwizuj klienta", + "blockClient": "Zablokuj klienta", + "blockClientQuestion": "Czy na pewno chcesz zablokować tego klienta?", + "blockClientMessage": "Urządzenie zostanie wymuszone do rozłączenia, jeśli jest obecnie podłączone. Możesz odblokować urządzenie później.", + "blockClientConfirm": "Zablokuj klienta", + "active": "Aktywne", + "usernameOrEmail": "Nazwa użytkownika lub e-mail", + "selectYourOrganization": "Wybierz swoją organizację", + "signInTo": "Zaloguj się do", + "signInWithPassword": "Kontynuuj z hasłem", + "noAuthMethodsAvailable": "Brak dostępnych metod uwierzytelniania dla tej organizacji.", + "enterPassword": "Wprowadź hasło", + "enterMfaCode": "Wprowadź kod z aplikacji uwierzytelniającej", + "securityKeyRequired": "Aby się zalogować, użyj klucza bezpieczeństwa.", + "needToUseAnotherAccount": "Potrzebujesz użyć innego konta?", + "loginLegalDisclaimer": "Klikając na przycisk poniżej, potwierdzasz, że przeczytałeś, rozumiesz, i zaakceptuj Warunki świadczenia usługi i Polityka prywatności.", + "termsOfService": "Warunki korzystania z usługi", + "privacyPolicy": "Polityka prywatności", + "userNotFoundWithUsername": "Nie znaleziono użytkownika o tej nazwie użytkownika.", + "verify": "Weryfikacja", + "signIn": "Zaloguj się", + "forgotPassword": "Zapomniałeś hasła?", + "orgSignInTip": "Jeśli zalogowałeś się wcześniej, możesz wprowadzić nazwę użytkownika lub e-mail powyżej, aby uwierzytelnić się z dostawcą tożsamości organizacji. To łatwiejsze!", + "continueAnyway": "Kontynuuj mimo to", + "dontShowAgain": "Nie pokazuj ponownie", + "orgSignInNotice": "Czy wiedziałeś?", + "signupOrgNotice": "Próbujesz się zalogować?", + "signupOrgTip": "Czy próbujesz zalogować się za pośrednictwem dostawcy tożsamości organizacji?", + "signupOrgLink": "Zamiast tego zaloguj się lub zarejestruj w swojej organizacji", + "verifyEmailLogInWithDifferentAccount": "Użyj innego konta", + "logIn": "Zaloguj się", + "deviceInformation": "Informacje o urządzeniu", + "deviceInformationDescription": "Informacje o urządzeniu i agentach", + "platform": "Platforma", + "macosVersion": "Wersja macOS", + "windowsVersion": "Wersja Windows", + "iosVersion": "Wersja iOS", + "androidVersion": "Wersja Androida", + "osVersion": "Wersja systemu operacyjnego", + "kernelVersion": "Wersja jądra", + "deviceModel": "Model urządzenia", + "serialNumber": "Numer seryjny", + "hostname": "Hostname", + "firstSeen": "Widziany po raz pierwszy", + "lastSeen": "Ostatnio widziane", + "deviceSettingsDescription": "Wyświetl informacje o urządzeniu i ustawienia", + "devicePendingApprovalDescription": "To urządzenie czeka na zatwierdzenie", + "deviceBlockedDescription": "To urządzenie jest obecnie zablokowane. Nie będzie można połączyć się z żadnymi zasobami, chyba że zostanie odblokowane.", + "unblockClient": "Odblokuj klienta", + "unblockClientDescription": "Urządzenie zostało odblokowane", + "unarchiveClient": "Usuń archiwizację klienta", + "unarchiveClientDescription": "Urządzenie zostało odarchiwizowane", + "block": "Blok", + "unblock": "Odblokuj", + "deviceActions": "Akcje urządzenia", + "deviceActionsDescription": "Zarządzaj stanem urządzenia i dostępem", + "devicePendingApprovalBannerDescription": "To urządzenie oczekuje na zatwierdzenie. Nie będzie można połączyć się z zasobami, dopóki nie zostanie zatwierdzone.", + "connected": "Połączono", + "disconnected": "Rozłączony", + "approvalsEmptyStateTitle": "Zatwierdzanie urządzenia nie włączone", + "approvalsEmptyStateDescription": "Włącz zatwierdzanie urządzeń dla ról aby wymagać zgody administratora, zanim użytkownicy będą mogli podłączyć nowe urządzenia.", + "approvalsEmptyStateStep1Title": "Przejdź do ról", + "approvalsEmptyStateStep1Description": "Przejdź do ustawień ról swojej organizacji, aby skonfigurować zatwierdzenia urządzenia.", + "approvalsEmptyStateStep2Title": "Włącz zatwierdzanie urządzenia", + "approvalsEmptyStateStep2Description": "Edytuj rolę i włącz opcję \"Wymagaj zatwierdzenia urządzenia\". Użytkownicy z tą rolą będą potrzebowali zatwierdzenia administratora dla nowych urządzeń.", + "approvalsEmptyStatePreviewDescription": "Podgląd: Gdy włączone, oczekujące prośby o sprawdzenie pojawią się tutaj", + "approvalsEmptyStateButtonText": "Zarządzaj rolami" } From 1c8f01ce7bd1bbdbf6b1e33dfc6432fe6d8f2c74 Mon Sep 17 00:00:00 2001 From: Owen Schwartz Date: Tue, 20 Jan 2026 16:39:27 -0800 Subject: [PATCH 35/42] New translations en-us.json (Portuguese) --- messages/pt-PT.json | 150 ++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 139 insertions(+), 11 deletions(-) diff --git a/messages/pt-PT.json b/messages/pt-PT.json index 2f4b5e79..6dc7ca24 100644 --- a/messages/pt-PT.json +++ b/messages/pt-PT.json @@ -56,6 +56,9 @@ "sitesBannerTitle": "Conectar a Qualquer Rede", "sitesBannerDescription": "Um site é uma conexão a uma rede remota que permite ao Pangolin fornecer acesso a recursos, sejam eles públicos ou privados, a usuários em qualquer lugar. Instale o conector de rede do site (Newt) em qualquer lugar onde você possa executar um binário ou contêiner para estabelecer a conexão.", "sitesBannerButtonText": "Instalar Site", + "approvalsBannerTitle": "Aprovar ou negar acesso ao dispositivo", + "approvalsBannerDescription": "Revisar e aprovar ou negar solicitações de acesso ao dispositivo de usuários. Quando as aprovações do dispositivo são necessárias, os usuários devem obter a aprovação do administrador antes que seus dispositivos possam se conectar aos recursos da sua organização.", + "approvalsBannerButtonText": "Saiba mais", "siteCreate": "Criar site", "siteCreateDescription2": "Siga os passos abaixo para criar e conectar um novo site", "siteCreateDescription": "Crie um novo site para começar a conectar os recursos", @@ -257,6 +260,8 @@ "accessRolesSearch": "Pesquisar funções...", "accessRolesAdd": "Adicionar função", "accessRoleDelete": "Excluir Papel", + "accessApprovalsManage": "Gerenciar aprovações", + "accessApprovalsDescription": "Visualizar e gerenciar aprovações pendentes para acesso a esta organização", "description": "Descrição:", "inviteTitle": "Convites Abertos", "inviteDescription": "Gerenciar convites para outros usuários participarem da organização", @@ -450,6 +455,18 @@ "selectDuration": "Selecionar duração", "selectResource": "Selecionar Recurso", "filterByResource": "Filtrar por Recurso", + "selectApprovalState": "Selecionar Estado de Aprovação", + "filterByApprovalState": "Filtrar por estado de aprovação", + "approvalListEmpty": "Sem aprovações", + "approvalState": "Estado de aprovação", + "approve": "Aprovar", + "approved": "Aceito", + "denied": "Negado", + "deniedApproval": "Aprovação Negada", + "all": "Todos", + "deny": "Recusar", + "viewDetails": "Visualizar Detalhes", + "requestingNewDeviceApproval": "solicitou um novo dispositivo", "resetFilters": "Redefinir filtros", "totalBlocked": "Solicitações bloqueadas pelo Pangolin", "totalRequests": "Total de pedidos", @@ -729,16 +746,28 @@ "countries": "Países", "accessRoleCreate": "Criar Função", "accessRoleCreateDescription": "Crie uma nova função para agrupar utilizadores e gerir suas permissões.", + "accessRoleEdit": "Editar Permissão", + "accessRoleEditDescription": "Editar informações do papel.", "accessRoleCreateSubmit": "Criar Função", "accessRoleCreated": "Função criada", "accessRoleCreatedDescription": "A função foi criada com sucesso.", "accessRoleErrorCreate": "Falha ao criar função", "accessRoleErrorCreateDescription": "Ocorreu um erro ao criar a função.", + "accessRoleUpdateSubmit": "Atualizar Função", + "accessRoleUpdated": "Função atualizada", + "accessRoleUpdatedDescription": "A função foi atualizada com sucesso.", + "accessApprovalUpdated": "Aprovação processada", + "accessApprovalApprovedDescription": "Definir decisão de solicitação de aprovação para aprovada.", + "accessApprovalDeniedDescription": "Definir decisão de solicitação de aprovação para negada.", + "accessRoleErrorUpdate": "Falha ao atualizar papel", + "accessRoleErrorUpdateDescription": "Ocorreu um erro ao atualizar a função.", + "accessApprovalErrorUpdate": "Não foi possível processar a aprovação", + "accessApprovalErrorUpdateDescription": "Ocorreu um erro ao processar a aprovação.", "accessRoleErrorNewRequired": "Nova função é necessária", "accessRoleErrorRemove": "Falha ao remover função", "accessRoleErrorRemoveDescription": "Ocorreu um erro ao remover a função.", "accessRoleName": "Nome da Função", - "accessRoleQuestionRemove": "Você está prestes a apagar a função {name}. Você não pode desfazer esta ação.", + "accessRoleQuestionRemove": "Você está prestes a apagar o papel `{name}. Você não pode desfazer esta ação.", "accessRoleRemove": "Remover Função", "accessRoleRemoveDescription": "Remover uma função da organização", "accessRoleRemoveSubmit": "Remover Função", @@ -954,13 +983,13 @@ "passwordExpiryDescription": "Esta organização exige que você altere sua senha a cada {maxDays} dias.", "changePasswordNow": "Alterar a senha agora", "pincodeAuth": "Código do Autenticador", - "pincodeSubmit2": "Submeter Código", + "pincodeSubmit2": "Enviar código", "passwordResetSubmit": "Solicitar Redefinição", "passwordResetAlreadyHaveCode": "Inserir Código", "passwordResetSmtpRequired": "Por favor, contate o administrador", "passwordResetSmtpRequiredDescription": "É necessário um código de redefinição de senha para redefinir sua senha. Por favor, contate o administrador para assistência.", "passwordBack": "Voltar à Palavra-passe", - "loginBack": "Voltar ao início de sessão", + "loginBack": "Voltar para a página principal de acesso", "signup": "Registar", "loginStart": "Inicie sessão para começar", "idpOidcTokenValidating": "A validar token OIDC", @@ -1118,6 +1147,10 @@ "actionUpdateIdpOrg": "Atualizar Organização IDP", "actionCreateClient": "Criar Cliente", "actionDeleteClient": "Excluir Cliente", + "actionArchiveClient": "Arquivar Cliente", + "actionUnarchiveClient": "Desarquivar Cliente", + "actionBlockClient": "Bloco do Cliente", + "actionUnblockClient": "Desbloquear Cliente", "actionUpdateClient": "Atualizar Cliente", "actionListClients": "Listar Clientes", "actionGetClient": "Obter Cliente", @@ -1134,14 +1167,14 @@ "searchProgress": "Pesquisar...", "create": "Criar", "orgs": "Organizações", - "loginError": "Ocorreu um erro ao iniciar sessão", - "loginRequiredForDevice": "É necessário entrar para autenticar seu dispositivo.", + "loginError": "Ocorreu um erro inesperado. Por favor, tente novamente.", + "loginRequiredForDevice": "O login é necessário para seu dispositivo.", "passwordForgot": "Esqueceu a sua palavra-passe?", "otpAuth": "Autenticação de Dois Fatores", "otpAuthDescription": "Insira o código da sua aplicação de autenticação ou um dos seus códigos de backup de uso único.", "otpAuthSubmit": "Submeter Código", "idpContinue": "Ou continuar com", - "otpAuthBack": "Voltar ao Início de Sessão", + "otpAuthBack": "Voltar à Palavra-passe", "navbar": "Menu de Navegação", "navbarDescription": "Menu de navegação principal da aplicação", "navbarDocsLink": "Documentação", @@ -1189,6 +1222,7 @@ "sidebarOverview": "Geral", "sidebarHome": "Residencial", "sidebarSites": "sites", + "sidebarApprovals": "Solicitações de aprovação", "sidebarResources": "Recursos", "sidebarProxyResources": "Público", "sidebarClientResources": "Privado", @@ -1205,7 +1239,7 @@ "sidebarIdentityProviders": "Provedores de identidade", "sidebarLicense": "Tipo:", "sidebarClients": "Clientes", - "sidebarUserDevices": "Utilizadores", + "sidebarUserDevices": "Dispositivos do usuário", "sidebarMachineClients": "Máquinas", "sidebarDomains": "Domínios", "sidebarGeneral": "Gerir", @@ -1277,6 +1311,7 @@ "setupErrorCreateAdmin": "Ocorreu um erro ao criar a conta de administrador do servidor.", "certificateStatus": "Status do Certificado", "loading": "Carregando", + "loadingAnalytics": "Carregando Analytics", "restart": "Reiniciar", "domains": "Domínios", "domainsDescription": "Criar e gerenciar domínios disponíveis na organização", @@ -1304,6 +1339,7 @@ "refreshError": "Falha ao atualizar dados", "verified": "Verificado", "pending": "Pendente", + "pendingApproval": "Aprovação pendente", "sidebarBilling": "Faturamento", "billing": "Faturamento", "orgBillingDescription": "Gerenciar informações e assinaturas de cobrança", @@ -1420,7 +1456,7 @@ "securityKeyRemoveSuccess": "Chave de segurança removida com sucesso", "securityKeyRemoveError": "Erro ao remover chave de segurança", "securityKeyLoadError": "Erro ao carregar chaves de segurança", - "securityKeyLogin": "Continuar com a chave de segurança", + "securityKeyLogin": "Usar chave de segurança", "securityKeyAuthError": "Erro ao autenticar com chave de segurança", "securityKeyRecommendation": "Considere registrar outra chave de segurança em um dispositivo diferente para garantir que você não fique bloqueado da sua conta.", "registering": "Registrando...", @@ -1547,6 +1583,8 @@ "IntervalSeconds": "Intervalo Saudável", "timeoutSeconds": "Tempo limite (seg)", "timeIsInSeconds": "O tempo está em segundos", + "requireDeviceApproval": "Exigir aprovação do dispositivo", + "requireDeviceApprovalDescription": "Usuários com esta função precisam de novos dispositivos aprovados por um administrador antes que eles possam se conectar e acessar recursos.", "retryAttempts": "Tentativas de Repetição", "expectedResponseCodes": "Códigos de Resposta Esperados", "expectedResponseCodesDescription": "Código de status HTTP que indica estado saudável. Se deixado em branco, 200-300 é considerado saudável.", @@ -1876,7 +1914,7 @@ "orgAuthChooseIdpDescription": "Escolha o seu provedor de identidade para continuar", "orgAuthNoIdpConfigured": "Esta organização não tem nenhum provedor de identidade configurado. Você pode entrar com a identidade do seu Pangolin.", "orgAuthSignInWithPangolin": "Entrar com o Pangolin", - "orgAuthSignInToOrg": "Entrar em uma organização", + "orgAuthSignInToOrg": "Fazer login em uma organização", "orgAuthSelectOrgTitle": "Entrada da Organização", "orgAuthSelectOrgDescription": "Digite seu ID da organização para continuar", "orgAuthOrgIdPlaceholder": "sua-organização", @@ -2232,6 +2270,8 @@ "deviceCodeInvalidFormat": "O código deve ter 9 caracteres (ex.: A1AJ-N5JD)", "deviceCodeInvalidOrExpired": "Código inválido ou expirado", "deviceCodeVerifyFailed": "Falha ao verificar o código do dispositivo", + "deviceCodeValidating": "Validando código do dispositivo...", + "deviceCodeVerifying": "Verificando autorização do dispositivo...", "signedInAs": "Sessão iniciada como", "deviceCodeEnterPrompt": "Digite o código exibido no dispositivo", "continue": "Continuar", @@ -2244,7 +2284,7 @@ "deviceOrganizationsAccess": "Acesso a todas as organizações que sua conta tem acesso a", "deviceAuthorize": "Autorizar {applicationName}", "deviceConnected": "Dispositivo Conectado!", - "deviceAuthorizedMessage": "O dispositivo está autorizado a acessar sua conta.", + "deviceAuthorizedMessage": "O dispositivo está autorizado a acessar sua conta. Por favor, retorne ao aplicativo cliente.", "pangolinCloud": "Nuvem do Pangolin", "viewDevices": "Ver Dispositivos", "viewDevicesDescription": "Gerencie seus dispositivos conectados", @@ -2306,6 +2346,7 @@ "identifier": "Identifier", "deviceLoginUseDifferentAccount": "Não é você? Use uma conta diferente.", "deviceLoginDeviceRequestingAccessToAccount": "Um dispositivo está solicitando acesso a essa conta.", + "loginSelectAuthenticationMethod": "Selecione um método de autenticação para continuar.", "noData": "Nenhum dado encontrado", "machineClients": "Clientes de máquina", "install": "Instale", @@ -2394,5 +2435,92 @@ "maintenanceScreenTitle": "Serviço Temporariamente Indisponível", "maintenanceScreenMessage": "Estamos enfrentando dificuldades técnicas no momento. Por favor, volte em breve.", "maintenanceScreenEstimatedCompletion": "Conclusão Estimada:", - "createInternalResourceDialogDestinationRequired": "Destino é obrigatório" + "createInternalResourceDialogDestinationRequired": "Destino é obrigatório", + "available": "Disponível", + "archived": "Arquivado", + "noArchivedDevices": "Nenhum dispositivo arquivado encontrado", + "deviceArchived": "Dispositivo arquivado", + "deviceArchivedDescription": "O dispositivo foi arquivado com sucesso.", + "errorArchivingDevice": "Erro ao arquivar dispositivo", + "failedToArchiveDevice": "Falha ao arquivar dispositivo", + "deviceQuestionArchive": "Tem certeza que deseja arquivar este dispositivo?", + "deviceMessageArchive": "O dispositivo será arquivado e removido da sua lista de dispositivos ativos.", + "deviceArchiveConfirm": "Arquivar dispositivo", + "archiveDevice": "Arquivar dispositivo", + "archive": "Arquivo", + "deviceUnarchived": "Dispositivo desarquivado", + "deviceUnarchivedDescription": "O dispositivo foi desarquivado com sucesso.", + "errorUnarchivingDevice": "Erro ao desarquivar dispositivo", + "failedToUnarchiveDevice": "Falha ao desarquivar dispositivo", + "unarchive": "Desarquivar", + "archiveClient": "Arquivar Cliente", + "archiveClientQuestion": "Tem certeza que deseja arquivar este cliente?", + "archiveClientMessage": "O cliente será arquivado e removido da sua lista de clientes ativos.", + "archiveClientConfirm": "Arquivar Cliente", + "blockClient": "Bloco do Cliente", + "blockClientQuestion": "Tem certeza que deseja bloquear este cliente?", + "blockClientMessage": "O dispositivo será forçado a desconectar se estiver conectado. Você pode desbloquear o dispositivo mais tarde.", + "blockClientConfirm": "Bloco do Cliente", + "active": "ativo", + "usernameOrEmail": "Usuário ou Email", + "selectYourOrganization": "Selecione sua organização", + "signInTo": "Iniciar sessão em", + "signInWithPassword": "Continuar com a senha", + "noAuthMethodsAvailable": "Nenhum método de autenticação disponível para esta organização.", + "enterPassword": "Digite sua senha", + "enterMfaCode": "Insira o código do seu aplicativo autenticador", + "securityKeyRequired": "Por favor, utilize sua chave de segurança para entrar.", + "needToUseAnotherAccount": "Precisa usar uma conta diferente?", + "loginLegalDisclaimer": "Ao clicar nos botões abaixo, você reconhece que leu, entende e concorda com os Termos de Serviço e a Política de Privacidade.", + "termsOfService": "Termos de Serviço", + "privacyPolicy": "Política de Privacidade", + "userNotFoundWithUsername": "Nenhum usuário encontrado com este nome de usuário.", + "verify": "Verificar", + "signIn": "Iniciar sessão", + "forgotPassword": "Esqueceu a senha?", + "orgSignInTip": "Se você já fez login antes, você pode digitar seu nome de usuário ou e-mail acima para autenticar com o provedor de identidade da sua organização. É mais fácil!", + "continueAnyway": "Continuar mesmo assim", + "dontShowAgain": "Não mostrar novamente", + "orgSignInNotice": "Você sabia?", + "signupOrgNotice": "Tentando fazer login?", + "signupOrgTip": "Você está tentando entrar através do provedor de identidade da sua organização?", + "signupOrgLink": "Faça login ou inscreva-se com sua organização em vez disso", + "verifyEmailLogInWithDifferentAccount": "Use uma Conta Diferente", + "logIn": "Iniciar sessão", + "deviceInformation": "Informações do dispositivo", + "deviceInformationDescription": "Informações sobre o dispositivo e o agente", + "platform": "Plataforma", + "macosVersion": "Versão do macOS", + "windowsVersion": "Versão do Windows", + "iosVersion": "Versão para iOS", + "androidVersion": "Versão do Android", + "osVersion": "Versão do SO", + "kernelVersion": "Versão do Kernel", + "deviceModel": "Modelo do dispositivo", + "serialNumber": "Número de Série", + "hostname": "Hostname", + "firstSeen": "Visto primeiro", + "lastSeen": "Visto por último", + "deviceSettingsDescription": "Ver informações e configurações do dispositivo", + "devicePendingApprovalDescription": "Este dispositivo está aguardando aprovação", + "deviceBlockedDescription": "Este dispositivo está bloqueado no momento. Ele não será capaz de se conectar a qualquer recurso a menos que seja desbloqueado.", + "unblockClient": "Desbloquear Cliente", + "unblockClientDescription": "O dispositivo foi desbloqueado", + "unarchiveClient": "Desarquivar Cliente", + "unarchiveClientDescription": "O dispositivo foi desarquivado", + "block": "Bloquear", + "unblock": "Desbloquear", + "deviceActions": "Ações do dispositivo", + "deviceActionsDescription": "Gerenciar status e acesso do dispositivo", + "devicePendingApprovalBannerDescription": "Este dispositivo está pendente de aprovação. Não será possível conectar-se a recursos até ser aprovado.", + "connected": "Conectado", + "disconnected": "Desconectado", + "approvalsEmptyStateTitle": "Aprovações do dispositivo não habilitado", + "approvalsEmptyStateDescription": "Habilitar aprovações do dispositivo para cargos que exigem aprovação do administrador antes que os usuários possam conectar novos dispositivos.", + "approvalsEmptyStateStep1Title": "Ir para Funções", + "approvalsEmptyStateStep1Description": "Navegue até as configurações dos papéis da sua organização para configurar as aprovações de dispositivo.", + "approvalsEmptyStateStep2Title": "Habilitar Aprovações do Dispositivo", + "approvalsEmptyStateStep2Description": "Editar uma função e habilitar a opção 'Exigir aprovação de dispositivos'. Usuários com essa função precisarão de aprovação de administrador para novos dispositivos.", + "approvalsEmptyStatePreviewDescription": "Pré-visualização: Quando ativado, solicitações de dispositivo pendentes aparecerão aqui para revisão", + "approvalsEmptyStateButtonText": "Gerir Funções" } From 27afc82b79b21aee95c0f4b8b95222f600cf7c3f Mon Sep 17 00:00:00 2001 From: Owen Schwartz Date: Tue, 20 Jan 2026 16:39:28 -0800 Subject: [PATCH 36/42] New translations en-us.json (Russian) --- messages/ru-RU.json | 148 +++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 138 insertions(+), 10 deletions(-) diff --git a/messages/ru-RU.json b/messages/ru-RU.json index f93b599a..9f56e17f 100644 --- a/messages/ru-RU.json +++ b/messages/ru-RU.json @@ -56,6 +56,9 @@ "sitesBannerTitle": "Подключить любую сеть", "sitesBannerDescription": "Сайт — это соединение с удаленной сетью, которое позволяет Pangolin предоставлять доступ к ресурсам, будь они общедоступными или частными, пользователям в любом месте. Установите сетевой коннектор сайта (Newt) там, где можно запустить исполняемый файл или контейнер, чтобы установить соединение.", "sitesBannerButtonText": "Установить сайт", + "approvalsBannerTitle": "Одобрить или запретить доступ к устройству", + "approvalsBannerDescription": "Просмотрите и подтвердите или отклоните запросы на доступ к устройству от пользователей. Когда требуется подтверждение устройства, пользователи должны получить одобрение администратора, прежде чем их устройства смогут подключиться к ресурсам вашей организации.", + "approvalsBannerButtonText": "Узнать больше", "siteCreate": "Создать сайт", "siteCreateDescription2": "Следуйте инструкциям ниже для создания и подключения нового сайта", "siteCreateDescription": "Создайте новый сайт для начала подключения ресурсов", @@ -257,6 +260,8 @@ "accessRolesSearch": "Поиск ролей...", "accessRolesAdd": "Добавить роль", "accessRoleDelete": "Удалить роль", + "accessApprovalsManage": "Управление утверждениями", + "accessApprovalsDescription": "Просмотр и управление утверждениями в ожидании доступа к этой организации", "description": "Описание", "inviteTitle": "Открытые приглашения", "inviteDescription": "Управление приглашениями для присоединения других пользователей к организации", @@ -450,6 +455,18 @@ "selectDuration": "Укажите срок действия", "selectResource": "Выберите ресурс", "filterByResource": "Фильтровать по ресурсам", + "selectApprovalState": "Выберите состояние одобрения", + "filterByApprovalState": "Фильтр по состоянию утверждения", + "approvalListEmpty": "Нет утверждений", + "approvalState": "Состояние одобрения", + "approve": "Одобрить", + "approved": "Одобрено", + "denied": "Отказано", + "deniedApproval": "Отказано в одобрении", + "all": "Все", + "deny": "Запретить", + "viewDetails": "Детали", + "requestingNewDeviceApproval": "запросил новое устройство", "resetFilters": "Сбросить фильтры", "totalBlocked": "Запросы заблокированы Панголином", "totalRequests": "Всего запросов", @@ -729,16 +746,28 @@ "countries": "Страны", "accessRoleCreate": "Создание роли", "accessRoleCreateDescription": "Создайте новую роль для группы пользователей и выдавайте им разрешения.", + "accessRoleEdit": "Изменить роль", + "accessRoleEditDescription": "Редактировать информацию о роли.", "accessRoleCreateSubmit": "Создать роль", "accessRoleCreated": "Роль создана", "accessRoleCreatedDescription": "Роль была успешно создана.", "accessRoleErrorCreate": "Не удалось создать роль", "accessRoleErrorCreateDescription": "Произошла ошибка при создании роли.", + "accessRoleUpdateSubmit": "Обновить роль", + "accessRoleUpdated": "Роль обновлена", + "accessRoleUpdatedDescription": "Роль была успешно обновлена.", + "accessApprovalUpdated": "Выполнено утверждение", + "accessApprovalApprovedDescription": "Принять решение об утверждении запроса.", + "accessApprovalDeniedDescription": "Отказано в запросе об утверждении.", + "accessRoleErrorUpdate": "Не удалось обновить роль", + "accessRoleErrorUpdateDescription": "Произошла ошибка при обновлении роли.", + "accessApprovalErrorUpdate": "Не удалось обработать подтверждение", + "accessApprovalErrorUpdateDescription": "Произошла ошибка при обработке одобрения.", "accessRoleErrorNewRequired": "Новая роль обязательна", "accessRoleErrorRemove": "Не удалось удалить роль", "accessRoleErrorRemoveDescription": "Произошла ошибка при удалении роли.", "accessRoleName": "Название роли", - "accessRoleQuestionRemove": "Вы собираетесь удалить роль {name}. Это действие нельзя отменить.", + "accessRoleQuestionRemove": "Вы собираетесь удалить `{name}` роль. Это действие нельзя отменить.", "accessRoleRemove": "Удалить роль", "accessRoleRemoveDescription": "Удалить роль из организации", "accessRoleRemoveSubmit": "Удалить роль", @@ -960,7 +989,7 @@ "passwordResetSmtpRequired": "Пожалуйста, обратитесь к администратору", "passwordResetSmtpRequiredDescription": "Для сброса пароля необходим код сброса пароля. Обратитесь к администратору за помощью.", "passwordBack": "Назад к паролю", - "loginBack": "Вернуться к входу", + "loginBack": "Вернуться на главную страницу входа", "signup": "Регистрация", "loginStart": "Войдите для начала работы", "idpOidcTokenValidating": "Проверка OIDC токена", @@ -1118,6 +1147,10 @@ "actionUpdateIdpOrg": "Обновить организацию IDP", "actionCreateClient": "Создать Клиента", "actionDeleteClient": "Удалить Клиента", + "actionArchiveClient": "Архивировать клиента", + "actionUnarchiveClient": "Разархивировать клиента", + "actionBlockClient": "Блокировать клиента", + "actionUnblockClient": "Разблокировать клиента", "actionUpdateClient": "Обновить Клиента", "actionListClients": "Список Клиентов", "actionGetClient": "Получить Клиента", @@ -1134,14 +1167,14 @@ "searchProgress": "Поиск...", "create": "Создать", "orgs": "Организации", - "loginError": "Произошла ошибка при входе", - "loginRequiredForDevice": "Для аутентификации устройства необходимо войти в систему.", + "loginError": "Произошла непредвиденная ошибка. Пожалуйста, попробуйте еще раз.", + "loginRequiredForDevice": "Логин необходим для вашего устройства.", "passwordForgot": "Забыли пароль?", "otpAuth": "Двухфакторная аутентификация", "otpAuthDescription": "Введите код из вашего приложения-аутентификатора или один из ваших одноразовых резервных кодов.", "otpAuthSubmit": "Отправить код", "idpContinue": "Или продолжить с", - "otpAuthBack": "Вернуться к входу", + "otpAuthBack": "Назад к паролю", "navbar": "Навигационное меню", "navbarDescription": "Главное навигационное меню приложения", "navbarDocsLink": "Документация", @@ -1189,6 +1222,7 @@ "sidebarOverview": "Обзор", "sidebarHome": "Главная", "sidebarSites": "Сайты", + "sidebarApprovals": "Запросы на утверждение", "sidebarResources": "Ресурсы", "sidebarProxyResources": "Публичный", "sidebarClientResources": "Приватный", @@ -1205,7 +1239,7 @@ "sidebarIdentityProviders": "Поставщики удостоверений", "sidebarLicense": "Лицензия", "sidebarClients": "Клиенты", - "sidebarUserDevices": "Пользователи", + "sidebarUserDevices": "Устройства пользователя", "sidebarMachineClients": "Машины", "sidebarDomains": "Домены", "sidebarGeneral": "Управление", @@ -1277,6 +1311,7 @@ "setupErrorCreateAdmin": "Произошла ошибка при создании учётной записи администратора сервера.", "certificateStatus": "Статус сертификата", "loading": "Загрузка", + "loadingAnalytics": "Загрузка аналитики", "restart": "Перезагрузка", "domains": "Домены", "domainsDescription": "Создание и управление доменами, доступными в организации", @@ -1304,6 +1339,7 @@ "refreshError": "Не удалось обновить данные", "verified": "Подтверждено", "pending": "В ожидании", + "pendingApproval": "Ожидает утверждения", "sidebarBilling": "Выставление счетов", "billing": "Выставление счетов", "orgBillingDescription": "Управление платежной информацией и подписками", @@ -1420,7 +1456,7 @@ "securityKeyRemoveSuccess": "Ключ безопасности успешно удален", "securityKeyRemoveError": "Не удалось удалить ключ безопасности", "securityKeyLoadError": "Не удалось загрузить ключи безопасности", - "securityKeyLogin": "Продолжить с ключом безопасности", + "securityKeyLogin": "Использовать ключ безопасности", "securityKeyAuthError": "Не удалось аутентифицироваться с ключом безопасности", "securityKeyRecommendation": "Зарегистрируйте резервный ключ безопасности на другом устройстве, чтобы всегда иметь доступ к вашему аккаунту.", "registering": "Регистрация...", @@ -1547,6 +1583,8 @@ "IntervalSeconds": "Интервал здоровых состояний", "timeoutSeconds": "Таймаут (сек)", "timeIsInSeconds": "Время указано в секундах", + "requireDeviceApproval": "Требовать подтверждения устройства", + "requireDeviceApprovalDescription": "Пользователям с этой ролью нужны новые устройства, одобренные администратором, прежде чем они смогут подключаться и получать доступ к ресурсам.", "retryAttempts": "Количество попыток повторного запроса", "expectedResponseCodes": "Ожидаемые коды ответов", "expectedResponseCodesDescription": "HTTP-код состояния, указывающий на здоровое состояние. Если оставить пустым, 200-300 считается здоровым.", @@ -1876,7 +1914,7 @@ "orgAuthChooseIdpDescription": "Выберите своего поставщика удостоверений личности для продолжения", "orgAuthNoIdpConfigured": "Эта организация не имеет настроенных поставщиков идентификационных данных. Вместо этого вы можете войти в свой Pangolin.", "orgAuthSignInWithPangolin": "Войти через Pangolin", - "orgAuthSignInToOrg": "Войдите в организацию", + "orgAuthSignInToOrg": "Войти в организацию", "orgAuthSelectOrgTitle": "Вход в организацию", "orgAuthSelectOrgDescription": "Введите ID вашей организации, чтобы продолжить", "orgAuthOrgIdPlaceholder": "ваша-организация", @@ -2232,6 +2270,8 @@ "deviceCodeInvalidFormat": "Код должен быть 9 символов (например, A1AJ-N5JD)", "deviceCodeInvalidOrExpired": "Неверный или просроченный код", "deviceCodeVerifyFailed": "Не удалось проверить код устройства", + "deviceCodeValidating": "Проверка кода устройства...", + "deviceCodeVerifying": "Проверка авторизации устройства...", "signedInAs": "Вы вошли как", "deviceCodeEnterPrompt": "Введите код, отображаемый на устройстве", "continue": "Продолжить", @@ -2244,7 +2284,7 @@ "deviceOrganizationsAccess": "Доступ ко всем организациям, к которым ваш аккаунт имеет доступ", "deviceAuthorize": "Авторизовать {applicationName}", "deviceConnected": "Устройство подключено!", - "deviceAuthorizedMessage": "Устройство авторизовано для доступа к вашей учетной записи.", + "deviceAuthorizedMessage": "Устройство авторизовано для доступа к вашей учетной записи. Вернитесь в клиентское приложение.", "pangolinCloud": "Облако Панголина", "viewDevices": "Просмотр устройств", "viewDevicesDescription": "Управление подключенными устройствами", @@ -2306,6 +2346,7 @@ "identifier": "Identifier", "deviceLoginUseDifferentAccount": "Не вы? Используйте другую учетную запись.", "deviceLoginDeviceRequestingAccessToAccount": "Устройство запрашивает доступ к этой учетной записи.", + "loginSelectAuthenticationMethod": "Выберите метод аутентификации для продолжения.", "noData": "Нет данных", "machineClients": "Машинные клиенты", "install": "Установить", @@ -2394,5 +2435,92 @@ "maintenanceScreenTitle": "Сервис временно недоступен", "maintenanceScreenMessage": "В настоящее время мы испытываем технические трудности. Пожалуйста, зайдите позже.", "maintenanceScreenEstimatedCompletion": "Предполагаемое завершение:", - "createInternalResourceDialogDestinationRequired": "Укажите адрес назначения. Это может быть имя хоста или IP-адрес." + "createInternalResourceDialogDestinationRequired": "Укажите адрес назначения. Это может быть имя хоста или IP-адрес.", + "available": "Доступно", + "archived": "Архивировано", + "noArchivedDevices": "Архивные устройства не найдены", + "deviceArchived": "Устройство архивировано", + "deviceArchivedDescription": "Устройство успешно архивировано.", + "errorArchivingDevice": "Ошибка архивирования устройства", + "failedToArchiveDevice": "Не удалось архивировать устройство", + "deviceQuestionArchive": "Вы уверены, что хотите архивировать это устройство?", + "deviceMessageArchive": "Устройство будет архивировано и удалено из вашего списка активных устройств.", + "deviceArchiveConfirm": "Архивировать устройство", + "archiveDevice": "Архивировать устройство", + "archive": "Архивировать", + "deviceUnarchived": "Устройство разархивировано", + "deviceUnarchivedDescription": "Устройство было успешно разархивировано.", + "errorUnarchivingDevice": "Ошибка разархивирования устройства", + "failedToUnarchiveDevice": "Не удалось распаковать устройство", + "unarchive": "Разархивировать", + "archiveClient": "Архивировать клиента", + "archiveClientQuestion": "Вы уверены, что хотите архивировать этого клиента?", + "archiveClientMessage": "Клиент будет архивирован и удален из вашего активного списка клиентов.", + "archiveClientConfirm": "Архивировать клиента", + "blockClient": "Блокировать клиента", + "blockClientQuestion": "Вы уверены, что хотите заблокировать этого клиента?", + "blockClientMessage": "Устройство будет вынуждено отключиться, если подключено в данный момент. Вы можете разблокировать устройство позже.", + "blockClientConfirm": "Блокировать клиента", + "active": "Активный", + "usernameOrEmail": "Имя пользователя или Email", + "selectYourOrganization": "Выберите вашу организацию", + "signInTo": "Войти в", + "signInWithPassword": "Продолжить с паролем", + "noAuthMethodsAvailable": "Методы аутентификации для этой организации недоступны.", + "enterPassword": "Введите ваш пароль", + "enterMfaCode": "Введите код из вашего приложения-аутентификатора", + "securityKeyRequired": "Пожалуйста, используйте ваш защитный ключ для входа.", + "needToUseAnotherAccount": "Нужно использовать другой аккаунт?", + "loginLegalDisclaimer": "Нажимая на кнопки ниже, вы подтверждаете, что прочитали, поняли и согласны с Условиями использования и Политикой конфиденциальности.", + "termsOfService": "Условия предоставления услуг", + "privacyPolicy": "Политика конфиденциальности", + "userNotFoundWithUsername": "Пользователь с таким именем пользователя не найден.", + "verify": "Подтвердить", + "signIn": "Войти", + "forgotPassword": "Забыли пароль?", + "orgSignInTip": "Если вы вошли в систему ранее, вы можете ввести имя пользователя или адрес электронной почты, чтобы войти в систему с поставщиком идентификации вашей организации. Это проще!", + "continueAnyway": "Все равно продолжить", + "dontShowAgain": "Больше не показывать", + "orgSignInNotice": "Знаете ли вы?", + "signupOrgNotice": "Пытаетесь войти?", + "signupOrgTip": "Вы пытаетесь войти через оператора идентификации вашей организации?", + "signupOrgLink": "Войдите или зарегистрируйтесь через вашу организацию", + "verifyEmailLogInWithDifferentAccount": "Использовать другую учетную запись", + "logIn": "Войти", + "deviceInformation": "Информация об устройстве", + "deviceInformationDescription": "Информация о устройстве и агенте", + "platform": "Платформа", + "macosVersion": "Версия macOS", + "windowsVersion": "Версия Windows", + "iosVersion": "Версия iOS", + "androidVersion": "Версия Android", + "osVersion": "Версия ОС", + "kernelVersion": "Версия ядра", + "deviceModel": "Модель устройства", + "serialNumber": "Серийный номер", + "hostname": "Hostname", + "firstSeen": "Первый раз виден", + "lastSeen": "Последнее посещение", + "deviceSettingsDescription": "Просмотр информации и настроек устройства", + "devicePendingApprovalDescription": "Это устройство ожидает одобрения", + "deviceBlockedDescription": "Это устройство заблокировано. Оно не сможет подключаться к ресурсам, если не разблокировано.", + "unblockClient": "Разблокировать клиента", + "unblockClientDescription": "Устройство разблокировано", + "unarchiveClient": "Разархивировать клиента", + "unarchiveClientDescription": "Устройство было разархивировано", + "block": "Блок", + "unblock": "Разблокировать", + "deviceActions": "Действия устройства", + "deviceActionsDescription": "Управление статусом устройства и доступом", + "devicePendingApprovalBannerDescription": "Это устройство ожидает одобрения. Он не сможет подключиться к ресурсам до утверждения.", + "connected": "Подключено", + "disconnected": "Отключено", + "approvalsEmptyStateTitle": "Утверждения устройства не включены", + "approvalsEmptyStateDescription": "Включите одобрение ролей для того, чтобы пользователи могли подключать новые устройства.", + "approvalsEmptyStateStep1Title": "Перейти к ролям", + "approvalsEmptyStateStep1Description": "Перейдите в настройки ролей вашей организации для настройки утверждений устройств.", + "approvalsEmptyStateStep2Title": "Включить утверждения устройства", + "approvalsEmptyStateStep2Description": "Редактировать роль и включить опцию 'Требовать утверждения устройств'. Пользователям с этой ролью потребуется подтверждение администратора для новых устройств.", + "approvalsEmptyStatePreviewDescription": "Предпросмотр: Если включено, ожидающие запросы на устройство появятся здесь для проверки", + "approvalsEmptyStateButtonText": "Управление ролями" } From 9896e9799a115abad5a1fdfc16876d81177bed38 Mon Sep 17 00:00:00 2001 From: Owen Schwartz Date: Tue, 20 Jan 2026 16:39:29 -0800 Subject: [PATCH 37/42] New translations en-us.json (Turkish) --- messages/tr-TR.json | 146 +++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 137 insertions(+), 9 deletions(-) diff --git a/messages/tr-TR.json b/messages/tr-TR.json index bbc6bbdf..36171838 100644 --- a/messages/tr-TR.json +++ b/messages/tr-TR.json @@ -56,6 +56,9 @@ "sitesBannerTitle": "Herhangi Bir Ağa Bağlan", "sitesBannerDescription": "Bir site, Pangolin'in kullanıcılara, halka açık veya özel kaynaklara, her yerden erişim sağlamak için uzak bir ağa bağlantı sunmasıdır. Site ağı bağlantısını (Newt) çalıştırabileceğiniz her yere kurarak bağlantıyı kurunuz.", "sitesBannerButtonText": "Site Kur", + "approvalsBannerTitle": "Cihaz Erişimini Onayla veya Reddet", + "approvalsBannerDescription": "Kullanıcılardan gelen cihaz erişim isteklerini gözden geçirin ve onaylayın veya reddedin. Cihaz onaylarının gerekli olduğu durumlarda, kullanıcıların cihazlarının kuruluşunuzun kaynaklarına bağlanabilmesi için yönetici onayı alması gerekecektir.", + "approvalsBannerButtonText": "Daha fazla bilgi", "siteCreate": "Site Oluştur", "siteCreateDescription2": "Yeni bir site oluşturup bağlanmak için aşağıdaki adımları izleyin", "siteCreateDescription": "Kaynaklarınızı bağlamaya başlamak için yeni bir site oluşturun", @@ -257,6 +260,8 @@ "accessRolesSearch": "Rolleri ara...", "accessRolesAdd": "Rol Ekle", "accessRoleDelete": "Rolü Sil", + "accessApprovalsManage": "Onayları Yönet", + "accessApprovalsDescription": "Bu kuruluşa erişim için bekleyen onayları görüntüleyin ve yönetin", "description": "Açıklama", "inviteTitle": "Açık Davetiyeler", "inviteDescription": "Organizasyona katılmak için diğer kullanıcılar için davetleri yönetin", @@ -450,6 +455,18 @@ "selectDuration": "Süreyi seçin", "selectResource": "Kaynak Seçin", "filterByResource": "Kaynağa Göre Filtrele", + "selectApprovalState": "Onay Durumunu Seçin", + "filterByApprovalState": "Onay Durumuna Göre Filtrele", + "approvalListEmpty": "Onay yok", + "approvalState": "Onay Durumu", + "approve": "Onayla", + "approved": "Onaylandı", + "denied": "Reddedildi", + "deniedApproval": "Reddedilen Onay", + "all": "Tümü", + "deny": "Reddet", + "viewDetails": "Ayrıntıları Gör", + "requestingNewDeviceApproval": "yeni bir cihaz talep etti", "resetFilters": "Filtreleri Sıfırla", "totalBlocked": "Pangolin Tarafından Engellenen İstekler", "totalRequests": "Toplam İstekler", @@ -729,11 +746,23 @@ "countries": "Ülkeler", "accessRoleCreate": "Rol Oluştur", "accessRoleCreateDescription": "Kullanıcıları gruplamak ve izinlerini yönetmek için yeni bir rol oluşturun.", + "accessRoleEdit": "Rol Düzenle", + "accessRoleEditDescription": "Rol bilgilerini düzenleyin.", "accessRoleCreateSubmit": "Rol Oluştur", "accessRoleCreated": "Rol oluşturuldu", "accessRoleCreatedDescription": "Rol başarıyla oluşturuldu.", "accessRoleErrorCreate": "Rol oluşturulamadı", "accessRoleErrorCreateDescription": "Rol oluşturulurken bir hata oluştu.", + "accessRoleUpdateSubmit": "Rolü Güncelle", + "accessRoleUpdated": "Rol güncellendi", + "accessRoleUpdatedDescription": "Rol başarıyla güncellendi.", + "accessApprovalUpdated": "Onay işlendi", + "accessApprovalApprovedDescription": "Onay İsteği kararını onaylandı olarak ayarlayın.", + "accessApprovalDeniedDescription": "Onay İsteği kararını reddedildi olarak ayarlayın.", + "accessRoleErrorUpdate": "Rol güncellenemedi", + "accessRoleErrorUpdateDescription": "Rol güncellenirken bir hata oluştu.", + "accessApprovalErrorUpdate": "Onay işlenemedi", + "accessApprovalErrorUpdateDescription": "Onay işlenirken bir hata oluştu.", "accessRoleErrorNewRequired": "Yeni rol gerekli", "accessRoleErrorRemove": "Rol kaldırılamadı", "accessRoleErrorRemoveDescription": "Rol kaldırılırken bir hata oluştu.", @@ -874,7 +903,7 @@ "inviteAlready": "Davetiye gönderilmiş gibi görünüyor!", "inviteAlreadyDescription": "Daveti kabul etmek için giriş yapmalı veya bir hesap oluşturmalısınız.", "signupQuestion": "Zaten bir hesabınız var mı?", - "login": "Giriş yap", + "login": "Giriş Yap", "resourceNotFound": "No resources found", "resourceNotFoundDescription": "Erişmeye çalıştığınız kaynak mevcut değil.", "pincodeRequirementsLength": "PIN kesinlikle 6 haneli olmalıdır", @@ -960,7 +989,7 @@ "passwordResetSmtpRequired": "Yönetici ile iletişime geçin", "passwordResetSmtpRequiredDescription": "Parolanızı sıfırlamak için bir parola sıfırlama kodu gereklidir. Yardım için yönetici ile iletişime geçin.", "passwordBack": "Şifreye Geri Dön", - "loginBack": "Girişe geri dön", + "loginBack": "Ana oturum açma sayfasına geri dön", "signup": "Kaydol", "loginStart": "Başlamak için giriş yapın", "idpOidcTokenValidating": "OIDC token'ı doğrulanıyor", @@ -1118,6 +1147,10 @@ "actionUpdateIdpOrg": "Kimlik Sağlayıcı Organizasyonu Güncelle", "actionCreateClient": "Müşteri Oluştur", "actionDeleteClient": "Müşteri Sil", + "actionArchiveClient": "İstemci Arşivle", + "actionUnarchiveClient": "İstemci Arşivini Kaldır", + "actionBlockClient": "İstemci Engelle", + "actionUnblockClient": "İstemci Engelini Kaldır", "actionUpdateClient": "Müşteri Güncelle", "actionListClients": "Müşterileri Listele", "actionGetClient": "Müşteriyi Al", @@ -1134,14 +1167,14 @@ "searchProgress": "Ara...", "create": "Oluştur", "orgs": "Organizasyonlar", - "loginError": "Giriş yaparken bir hata oluştu", - "loginRequiredForDevice": "Cihazınızı kimlik doğrulamak için giriş yapılması gereklidir.", + "loginError": "Beklenmeyen bir hata oluştu. Lütfen tekrar deneyin.", + "loginRequiredForDevice": "Cihazınız için oturum açmanız gerekiyor.", "passwordForgot": "Şifrenizi mi unuttunuz?", "otpAuth": "İki Faktörlü Kimlik Doğrulama", "otpAuthDescription": "Authenticator uygulamanızdan veya tek kullanımlık yedek kodlarınızdan birini girin.", "otpAuthSubmit": "Kodu Gönder", "idpContinue": "Veya devam et:", - "otpAuthBack": "Girişe Dön", + "otpAuthBack": "Şifreye Geri Dön", "navbar": "Navigasyon Menüsü", "navbarDescription": "Uygulamanın ana navigasyon menüsü", "navbarDocsLink": "Dokümantasyon", @@ -1189,6 +1222,7 @@ "sidebarOverview": "Genel Bakış", "sidebarHome": "Ana Sayfa", "sidebarSites": "Siteler", + "sidebarApprovals": "Onay Talepleri", "sidebarResources": "Kaynaklar", "sidebarProxyResources": "Herkese Açık", "sidebarClientResources": "Özel", @@ -1205,7 +1239,7 @@ "sidebarIdentityProviders": "Kimlik Sağlayıcılar", "sidebarLicense": "Lisans", "sidebarClients": "İstemciler", - "sidebarUserDevices": "Kullanıcılar", + "sidebarUserDevices": "Kullanıcı Cihazları", "sidebarMachineClients": "Makineler", "sidebarDomains": "Alan Adları", "sidebarGeneral": "Yönet", @@ -1277,6 +1311,7 @@ "setupErrorCreateAdmin": "Sunucu yönetici hesabı oluşturulurken bir hata oluştu.", "certificateStatus": "Sertifika Durumu", "loading": "Yükleniyor", + "loadingAnalytics": "Analiz Yükleniyor", "restart": "Yeniden Başlat", "domains": "Alan Adları", "domainsDescription": "Organizasyonda kullanılabilir alan adlarını oluşturun ve yönetin", @@ -1304,6 +1339,7 @@ "refreshError": "Veriler yenilenemedi", "verified": "Doğrulandı", "pending": "Beklemede", + "pendingApproval": "Bekleyen Onay", "sidebarBilling": "Faturalama", "billing": "Faturalama", "orgBillingDescription": "Fatura bilgilerinizi ve aboneliklerinizi yönetin", @@ -1420,7 +1456,7 @@ "securityKeyRemoveSuccess": "Güvenlik anahtarı başarıyla kaldırıldı", "securityKeyRemoveError": "Güvenlik anahtarı kaldırılırken hata oluştu", "securityKeyLoadError": "Güvenlik anahtarları yüklenirken hata oluştu", - "securityKeyLogin": "Güvenlik anahtarı ile devam edin", + "securityKeyLogin": "Güvenlik Anahtarı Kullan", "securityKeyAuthError": "Güvenlik anahtarı ile kimlik doğrulama başarısız oldu", "securityKeyRecommendation": "Hesabınızdan kilitlenmediğinizden emin olmak için farklı bir cihazda başka bir güvenlik anahtarı kaydetmeyi düşünün.", "registering": "Kaydediliyor...", @@ -1547,6 +1583,8 @@ "IntervalSeconds": "Sağlıklı Aralık", "timeoutSeconds": "Zaman Aşımı (saniye)", "timeIsInSeconds": "Zaman saniye cinsindendir", + "requireDeviceApproval": "Cihaz Onaylarını Gerektir", + "requireDeviceApprovalDescription": "Bu role sahip kullanıcıların yeni cihazlarının bağlanabilmesi ve kaynaklara erişebilmesi için bir yönetici tarafından onaylanması gerekiyor.", "retryAttempts": "Tekrar Deneme Girişimleri", "expectedResponseCodes": "Beklenen Yanıt Kodları", "expectedResponseCodesDescription": "Sağlıklı durumu gösteren HTTP durum kodu. Boş bırakılırsa, 200-300 arası sağlıklı kabul edilir.", @@ -2232,6 +2270,8 @@ "deviceCodeInvalidFormat": "Kod 9 karakter olmalı (ör. A1AJ-N5JD)", "deviceCodeInvalidOrExpired": "Geçersiz veya süresi dolmuş kod", "deviceCodeVerifyFailed": "Cihaz kodu doğrulanamadı", + "deviceCodeValidating": "Cihaz kodu doğrulanıyor...", + "deviceCodeVerifying": "Cihaz yetkilendirme doğrulanıyor...", "signedInAs": "Olarak giriş yapıldı", "deviceCodeEnterPrompt": "Cihazda gösterilen kodu girin", "continue": "Devam Et", @@ -2244,7 +2284,7 @@ "deviceOrganizationsAccess": "Hesabınızın erişim hakkına sahip olduğu tüm organizasyonlara erişim", "deviceAuthorize": "{uygulamaAdi} yetkilendir", "deviceConnected": "Cihaz Bağlandı!", - "deviceAuthorizedMessage": "Cihazınız, hesabınıza erişim izni almıştır.", + "deviceAuthorizedMessage": "Cihaz hesabınıza erişim yetkisine sahiptir. Lütfen istemci uygulamasına geri dönün.", "pangolinCloud": "Pangolin Cloud", "viewDevices": "Cihazları Görüntüle", "viewDevicesDescription": "Bağlantılı cihazlarınızı yönetin", @@ -2306,6 +2346,7 @@ "identifier": "Tanımlayıcı", "deviceLoginUseDifferentAccount": "Siz değil misiniz? Farklı bir hesap kullanın.", "deviceLoginDeviceRequestingAccessToAccount": "Bir cihaz bu hesaba erişim talep ediyor.", + "loginSelectAuthenticationMethod": "Devam etmek için bir kimlik doğrulama yöntemi seçin.", "noData": "Veri Yok", "machineClients": "Makine İstemcileri", "install": "Yükle", @@ -2394,5 +2435,92 @@ "maintenanceScreenTitle": "Servis Geçici Olarak Kullanılamıyor", "maintenanceScreenMessage": "Şu anda teknik zorluklar yaşıyoruz. Lütfen yakında tekrar kontrol edin.", "maintenanceScreenEstimatedCompletion": "Tahmini Tamamlama:", - "createInternalResourceDialogDestinationRequired": "Hedef gereklidir" + "createInternalResourceDialogDestinationRequired": "Hedef gereklidir", + "available": "Mevcut", + "archived": "Arşivlenmiş", + "noArchivedDevices": "Arşivlenmiş cihaz bulunamadı", + "deviceArchived": "Cihaz arşivlendi", + "deviceArchivedDescription": "Cihaz başarıyla arşivlendi.", + "errorArchivingDevice": "Cihaz arşivleme hatası", + "failedToArchiveDevice": "Cihaz arşivlenemedi", + "deviceQuestionArchive": "Bu cihazı arşivlemek istediğinizden emin misiniz?", + "deviceMessageArchive": "Cihaz arşivlenecek ve aktif cihazlar listenizden kaldırılacak.", + "deviceArchiveConfirm": "Cihaz Arşivle", + "archiveDevice": "Cihaz Arşivle", + "archive": "Arşivle", + "deviceUnarchived": "Cihaz arşivden çıkarıldı", + "deviceUnarchivedDescription": "Cihaz başarıyla arşivden çıkarıldı.", + "errorUnarchivingDevice": "Cihaz arşivden çıkartılamadı", + "failedToUnarchiveDevice": "Cihaz arşivden çıkarılamadı", + "unarchive": "Arşivden Çıkart", + "archiveClient": "İstemci Arşivle", + "archiveClientQuestion": "Bu istemciyi arşivlemek istediğinizden emin misiniz?", + "archiveClientMessage": "İstemci arşivlenecek ve aktif istemciler listenizden çıkarılacak.", + "archiveClientConfirm": "İstemci Arşivle", + "blockClient": "İstemci Engelle", + "blockClientQuestion": "Bu istemciyi engellemek istediğinizden emin misiniz?", + "blockClientMessage": "Cihaz şu anda bağlıysa bağlantısı kesilecek. Cihazı daha sonra engelini kaldırabilirsiniz.", + "blockClientConfirm": "İstemci Engelle", + "active": "Aktif", + "usernameOrEmail": "Kullanıcı adı veya E-posta", + "selectYourOrganization": "Kuruluşunuzu seçin", + "signInTo": "Giriş yapın", + "signInWithPassword": "Şifre ile Devam Et", + "noAuthMethodsAvailable": "Bu kuruluş için kullanılabilir kimlik doğrulama yöntemleri yok.", + "enterPassword": "Şifrenizi girin", + "enterMfaCode": "Authenticator uygulamanızdan kodu girin", + "securityKeyRequired": "Giriş yapmak için güvenlik anahtarınızı kullanın.", + "needToUseAnotherAccount": "Farklı bir hesap kullanmanız mı gerekiyor?", + "loginLegalDisclaimer": "Aşağıdaki butonlara tıklayarak, Hizmet Şartları ve Gizlilik Politikası metinlerini okuduğunuzu ve anladığınızı kabul etmektesiniz.", + "termsOfService": "Hizmet Şartları", + "privacyPolicy": "Gizlilik Politikası", + "userNotFoundWithUsername": "Bu kullanıcı adıyla eşleşen kullanıcı bulunamadı.", + "verify": "Doğrula", + "signIn": "Giriş Yap", + "forgotPassword": "Şifreni mi unuttun?", + "orgSignInTip": "Daha önce giriş yaptıysanız, yukarıda kullanıcı adınızı veya e-posta adresinizi girerek kuruluşunuzun kimlik sağlayıcısıyla kimlik doğrulaması yapabilirsiniz. Daha kolay!", + "continueAnyway": "Yine de devam et", + "dontShowAgain": "Tekrar gösterme", + "orgSignInNotice": "Biliyor muydunuz?", + "signupOrgNotice": "Giriş yapmaya mı çalışıyorsunuz?", + "signupOrgTip": "Kuruluşunuzun kimlik sağlayıcısı aracılığıyla giriş yapmaya mı çalışıyorsunuz?", + "signupOrgLink": "Bunun yerine kuruluşunuzla giriş yapın veya kaydolun", + "verifyEmailLogInWithDifferentAccount": "Farklı Bir Hesap Kullan", + "logIn": "Giriş Yap", + "deviceInformation": "Cihaz Bilgisi", + "deviceInformationDescription": "Cihaz ve temsilci hakkında bilgi", + "platform": "Platform", + "macosVersion": "macOS Sürümü", + "windowsVersion": "Windows Sürümü", + "iosVersion": "iOS Sürümü", + "androidVersion": "Android Sürümü", + "osVersion": "İşletim Sistemi Sürümü", + "kernelVersion": "Çekirdek Sürümü", + "deviceModel": "Cihaz Modeli", + "serialNumber": "Seri Numarası", + "hostname": "Ana Makine Adı", + "firstSeen": "İlk Görüldü", + "lastSeen": "Son Görüldü", + "deviceSettingsDescription": "Cihaz bilgilerini ve ayarlarını görüntüleyin", + "devicePendingApprovalDescription": "Bu cihaz onay bekliyor", + "deviceBlockedDescription": "Bu cihaz şu anda engellidir. Engeli kaldırılmadığı sürece hiçbir kaynağa bağlanamayacaktır.", + "unblockClient": "İstemci Engeli Kaldır", + "unblockClientDescription": "Cihazın engeli kaldırıldı", + "unarchiveClient": "İstemci Arşivini Kaldır", + "unarchiveClientDescription": "Cihaz arşivden çıkarıldı", + "block": "Engelle", + "unblock": "Engelini Kaldır", + "deviceActions": "Cihaz İşlemleri", + "deviceActionsDescription": "Cihaz durumu ve erişimini yönetin", + "devicePendingApprovalBannerDescription": "Bu cihaz onay bekliyor. Onaylanana kadar kaynaklara bağlanamayacak.", + "connected": "Bağlandı", + "disconnected": "Bağlantı Kesildi", + "approvalsEmptyStateTitle": "Cihaz Onayları Etkin Değil", + "approvalsEmptyStateDescription": "Kullanıcıların yeni cihazlara bağlanabilmeleri için yönetici onayı gerektiren rol cihaz onaylarını etkinleştirin.", + "approvalsEmptyStateStep1Title": "Rollere Git", + "approvalsEmptyStateStep1Description": "Cihaz onaylarını yapılandırmak için kuruluşunuzun rol ayarlarına gidin.", + "approvalsEmptyStateStep2Title": "Cihaz Onaylarını Etkinleştir", + "approvalsEmptyStateStep2Description": "Bir rolü düzenleyin ve 'Cihaz Onaylarını Gerektir' seçeneğini etkinleştirin. Bu role sahip kullanıcıların yeni cihazlar için yönetici onayına ihtiyacı olacaktır.", + "approvalsEmptyStatePreviewDescription": "Önizleme: Etkinleştirildiğinde, bekleyen cihaz talepleri incelenmek üzere burada görünecektir.", + "approvalsEmptyStateButtonText": "Rolleri Yönet" } From 36690d63cb3421e81368c30963864b217071c92f Mon Sep 17 00:00:00 2001 From: Owen Schwartz Date: Tue, 20 Jan 2026 16:39:31 -0800 Subject: [PATCH 38/42] New translations en-us.json (Chinese Simplified) --- messages/zh-CN.json | 148 +++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 138 insertions(+), 10 deletions(-) diff --git a/messages/zh-CN.json b/messages/zh-CN.json index 6b487f8f..06448abf 100644 --- a/messages/zh-CN.json +++ b/messages/zh-CN.json @@ -56,6 +56,9 @@ "sitesBannerTitle": "连接任何网络", "sitesBannerDescription": "站点是连接到远程网络的链接,允许Pangolin为用户提供资源访问,无论是公共还是私人。可以在任何可以运行二进制文件或容器的地方安装站点网络连接器(Newt)以建立连接。", "sitesBannerButtonText": "安装站点", + "approvalsBannerTitle": "批准或拒绝设备访问", + "approvalsBannerDescription": "审核、批准或拒绝用户的设备访问请求。 当需要设备批准时,用户必须先获得管理员批准,然后他们的设备才能连接到您的组织资源。", + "approvalsBannerButtonText": "了解更多", "siteCreate": "创建站点", "siteCreateDescription2": "按照下面的步骤创建和连接一个新站点", "siteCreateDescription": "创建一个新站点开始连接资源", @@ -257,6 +260,8 @@ "accessRolesSearch": "搜索角色...", "accessRolesAdd": "添加角色", "accessRoleDelete": "删除角色", + "accessApprovalsManage": "管理批准", + "accessApprovalsDescription": "查看和管理待审批的组织访问权限", "description": "描述", "inviteTitle": "打开邀请", "inviteDescription": "管理其他用户加入机构的邀请", @@ -450,6 +455,18 @@ "selectDuration": "选择持续时间", "selectResource": "选择资源", "filterByResource": "按资源过滤", + "selectApprovalState": "选择审批状态", + "filterByApprovalState": "按批准状态过滤", + "approvalListEmpty": "无批准", + "approvalState": "审批状态", + "approve": "批准", + "approved": "已批准", + "denied": "被拒绝", + "deniedApproval": "拒绝批准", + "all": "所有", + "deny": "拒绝", + "viewDetails": "查看详情", + "requestingNewDeviceApproval": "请求了一个新设备", "resetFilters": "重置过滤器", "totalBlocked": "被Pangolin阻止的请求", "totalRequests": "总请求", @@ -729,16 +746,28 @@ "countries": "国家", "accessRoleCreate": "创建角色", "accessRoleCreateDescription": "创建一个新角色来分组用户并管理他们的权限。", + "accessRoleEdit": "编辑角色", + "accessRoleEditDescription": "编辑角色信息。", "accessRoleCreateSubmit": "创建角色", "accessRoleCreated": "角色已创建", "accessRoleCreatedDescription": "角色已成功创建。", "accessRoleErrorCreate": "创建角色失败", "accessRoleErrorCreateDescription": "创建角色时出错。", + "accessRoleUpdateSubmit": "更新角色", + "accessRoleUpdated": "角色已更新", + "accessRoleUpdatedDescription": "角色已成功更新。", + "accessApprovalUpdated": "审批已处理", + "accessApprovalApprovedDescription": "将审批请求决定设置为已批准。", + "accessApprovalDeniedDescription": "设置审批请求决定被拒绝。", + "accessRoleErrorUpdate": "更新角色失败", + "accessRoleErrorUpdateDescription": "更新角色时出错。", + "accessApprovalErrorUpdate": "处理审核失败", + "accessApprovalErrorUpdateDescription": "处理批准时出错。", "accessRoleErrorNewRequired": "需要新角色", "accessRoleErrorRemove": "删除角色失败", "accessRoleErrorRemoveDescription": "删除角色时出错。", "accessRoleName": "角色名称", - "accessRoleQuestionRemove": "您即将删除 {name} 角色。 此操作无法撤销。", + "accessRoleQuestionRemove": "您即将删除 `{name}` 角色。此操作无法撤销。", "accessRoleRemove": "删除角色", "accessRoleRemoveDescription": "从组织中删除角色", "accessRoleRemoveSubmit": "删除角色", @@ -960,7 +989,7 @@ "passwordResetSmtpRequired": "请联系您的管理员", "passwordResetSmtpRequiredDescription": "需要密码重置密码。请联系您的管理员寻求帮助。", "passwordBack": "回到密码", - "loginBack": "返回登录", + "loginBack": "返回主登录页面", "signup": "注册", "loginStart": "登录以开始", "idpOidcTokenValidating": "正在验证 OIDC 令牌", @@ -1118,6 +1147,10 @@ "actionUpdateIdpOrg": "更新 IDP组织", "actionCreateClient": "创建客户端", "actionDeleteClient": "删除客户端", + "actionArchiveClient": "归档客户端", + "actionUnarchiveClient": "取消归档客户端", + "actionBlockClient": "屏蔽客户端", + "actionUnblockClient": "解除屏蔽客户端", "actionUpdateClient": "更新客户端", "actionListClients": "列出客户端", "actionGetClient": "获取客户端", @@ -1134,14 +1167,14 @@ "searchProgress": "搜索中...", "create": "创建", "orgs": "组织", - "loginError": "登录时出错", - "loginRequiredForDevice": "需要登录才能验证您的设备。", + "loginError": "发生意外错误。请重试。", + "loginRequiredForDevice": "您的设备需要登录。", "passwordForgot": "忘记密码?", "otpAuth": "两步验证", "otpAuthDescription": "从您的身份验证程序中输入代码或您的单次备份代码。", "otpAuthSubmit": "提交代码", "idpContinue": "或者继续", - "otpAuthBack": "返回登录", + "otpAuthBack": "回到密码", "navbar": "导航菜单", "navbarDescription": "应用程序的主导航菜单", "navbarDocsLink": "文件", @@ -1189,6 +1222,7 @@ "sidebarOverview": "概览", "sidebarHome": "首页", "sidebarSites": "站点", + "sidebarApprovals": "审批请求", "sidebarResources": "资源", "sidebarProxyResources": "公开的", "sidebarClientResources": "非公开的", @@ -1205,7 +1239,7 @@ "sidebarIdentityProviders": "身份提供商", "sidebarLicense": "证书", "sidebarClients": "客户端", - "sidebarUserDevices": "用户", + "sidebarUserDevices": "用户设备", "sidebarMachineClients": "机", "sidebarDomains": "域", "sidebarGeneral": "管理", @@ -1277,6 +1311,7 @@ "setupErrorCreateAdmin": "创建服务器管理员账户时发生错误。", "certificateStatus": "证书状态", "loading": "加载中", + "loadingAnalytics": "加载分析", "restart": "重启", "domains": "域", "domainsDescription": "创建和管理组织中可用的域", @@ -1304,6 +1339,7 @@ "refreshError": "刷新数据失败", "verified": "已验证", "pending": "待定", + "pendingApproval": "等待批准", "sidebarBilling": "计费", "billing": "计费", "orgBillingDescription": "管理账单信息和订阅", @@ -1420,7 +1456,7 @@ "securityKeyRemoveSuccess": "安全密钥删除成功", "securityKeyRemoveError": "删除安全密钥失败", "securityKeyLoadError": "加载安全密钥失败", - "securityKeyLogin": "使用安全密钥继续", + "securityKeyLogin": "使用安全密钥", "securityKeyAuthError": "使用安全密钥认证失败", "securityKeyRecommendation": "考虑在其他设备上注册另一个安全密钥,以确保不会被锁定在您的账户之外。", "registering": "注册中...", @@ -1547,6 +1583,8 @@ "IntervalSeconds": "正常间隔", "timeoutSeconds": "超时(秒)", "timeIsInSeconds": "时间以秒为单位", + "requireDeviceApproval": "需要设备批准", + "requireDeviceApprovalDescription": "具有此角色的用户需要管理员批准的新设备才能连接和访问资源。", "retryAttempts": "重试次数", "expectedResponseCodes": "期望响应代码", "expectedResponseCodesDescription": "HTTP 状态码表示健康状态。如留空,200-300 被视为健康。", @@ -1876,7 +1914,7 @@ "orgAuthChooseIdpDescription": "选择您的身份提供商以继续", "orgAuthNoIdpConfigured": "此机构没有配置任何身份提供者。您可以使用您的 Pangolin 身份登录。", "orgAuthSignInWithPangolin": "使用 Pangolin 登录", - "orgAuthSignInToOrg": "登录到一个组织", + "orgAuthSignInToOrg": "登录到组织", "orgAuthSelectOrgTitle": "组织登录", "orgAuthSelectOrgDescription": "输入您的组织ID以继续", "orgAuthOrgIdPlaceholder": "您的组织", @@ -2232,6 +2270,8 @@ "deviceCodeInvalidFormat": "代码必须是9个字符(如A1AJ-N5JD)", "deviceCodeInvalidOrExpired": "无效或过期的代码", "deviceCodeVerifyFailed": "验证设备代码失败", + "deviceCodeValidating": "正在验证设备代码...", + "deviceCodeVerifying": "正在验证设备授权...", "signedInAs": "登录为", "deviceCodeEnterPrompt": "输入设备上显示的代码", "continue": "继续", @@ -2244,7 +2284,7 @@ "deviceOrganizationsAccess": "访问您的帐户拥有访问权限的所有组织", "deviceAuthorize": "授权{applicationName}", "deviceConnected": "设备已连接!", - "deviceAuthorizedMessage": "设备被授权访问您的帐户。", + "deviceAuthorizedMessage": "设备被授权访问您的帐户。请返回客户端应用程序。", "pangolinCloud": "邦戈林云", "viewDevices": "查看设备", "viewDevicesDescription": "管理您已连接的设备", @@ -2306,6 +2346,7 @@ "identifier": "Identifier", "deviceLoginUseDifferentAccount": "不是你?使用一个不同的帐户。", "deviceLoginDeviceRequestingAccessToAccount": "设备正在请求访问此帐户。", + "loginSelectAuthenticationMethod": "选择要继续的身份验证方法。", "noData": "无数据", "machineClients": "机器客户端", "install": "安装", @@ -2394,5 +2435,92 @@ "maintenanceScreenTitle": "服务暂时不可用", "maintenanceScreenMessage": "我们目前遇到技术问题。 请稍后再回来查看。", "maintenanceScreenEstimatedCompletion": "预计完成时间:", - "createInternalResourceDialogDestinationRequired": "需要目标地址" + "createInternalResourceDialogDestinationRequired": "需要目标地址", + "available": "可用", + "archived": "已存档", + "noArchivedDevices": "未找到存档设备", + "deviceArchived": "设备已存档", + "deviceArchivedDescription": "设备已成功归档。", + "errorArchivingDevice": "错误存档设备", + "failedToArchiveDevice": "归档设备失败", + "deviceQuestionArchive": "您确定要存档此设备吗?", + "deviceMessageArchive": "设备将被存档并从活动设备列表中删除。", + "deviceArchiveConfirm": "归档设备", + "archiveDevice": "归档设备", + "archive": "存档", + "deviceUnarchived": "设备未存档", + "deviceUnarchivedDescription": "设备已成功解除归档。", + "errorUnarchivingDevice": "卸载设备时出错", + "failedToUnarchiveDevice": "取消归档设备失败", + "unarchive": "取消存档", + "archiveClient": "归档客户端", + "archiveClientQuestion": "您确定要存档此客户端吗?", + "archiveClientMessage": "客户端将被存档并从您活跃的客户端列表中删除。", + "archiveClientConfirm": "归档客户端", + "blockClient": "屏蔽客户端", + "blockClientQuestion": "您确定要屏蔽此客户端?", + "blockClientMessage": "如果当前连接,设备将被迫断开连接。您可以稍后取消屏蔽设备。", + "blockClientConfirm": "屏蔽客户端", + "active": "已启用", + "usernameOrEmail": "用户名或电子邮件", + "selectYourOrganization": "选择您的组织", + "signInTo": "登录到", + "signInWithPassword": "使用密码继续", + "noAuthMethodsAvailable": "该组织没有可用的身份验证方法。", + "enterPassword": "输入您的密码", + "enterMfaCode": "从您的身份验证程序中输入代码", + "securityKeyRequired": "请使用您的安全密钥登录。", + "needToUseAnotherAccount": "需要使用不同的帐户?", + "loginLegalDisclaimer": "点击下面的按钮,您确认您已经阅读了,理解, 并同意 服务条款隐私政策。", + "termsOfService": "服务条款", + "privacyPolicy": "隐私政策", + "userNotFoundWithUsername": "找不到该用户名。", + "verify": "验证", + "signIn": "登录", + "forgotPassword": "忘记密码?", + "orgSignInTip": "如果您以前已经登录,您可以在上面输入您的用户名或电子邮件来验证您的组织身份提供者。这很容易!", + "continueAnyway": "仍然继续", + "dontShowAgain": "不再显示", + "orgSignInNotice": "您知道吗?", + "signupOrgNotice": "试图登录?", + "signupOrgTip": "您是否试图通过您的组织的身份提供者登录?", + "signupOrgLink": "使用您的组织登录或注册", + "verifyEmailLogInWithDifferentAccount": "使用不同的帐户", + "logIn": "登录", + "deviceInformation": "设备信息", + "deviceInformationDescription": "关于设备和代理的信息", + "platform": "平台", + "macosVersion": "macOS 版本", + "windowsVersion": "Windows 版本", + "iosVersion": "iOS 版本", + "androidVersion": "Android 版本", + "osVersion": "操作系统版本", + "kernelVersion": "内核版本", + "deviceModel": "设备模型", + "serialNumber": "序列号", + "hostname": "Hostname", + "firstSeen": "第一次查看", + "lastSeen": "上次查看时间", + "deviceSettingsDescription": "查看设备信息和设置", + "devicePendingApprovalDescription": "此设备正在等待批准", + "deviceBlockedDescription": "此设备目前已被屏蔽。除非解除屏蔽,否则无法连接到任何资源。", + "unblockClient": "解除屏蔽客户端", + "unblockClientDescription": "设备已解除阻止", + "unarchiveClient": "取消归档客户端", + "unarchiveClientDescription": "设备已被取消存档", + "block": "封禁", + "unblock": "取消屏蔽", + "deviceActions": "设备操作", + "deviceActionsDescription": "管理设备状态和访问权限", + "devicePendingApprovalBannerDescription": "此设备正在等待批准。在批准之前,它将无法连接到资源。", + "connected": "已连接", + "disconnected": "断开连接", + "approvalsEmptyStateTitle": "设备批准未启用", + "approvalsEmptyStateDescription": "在用户连接新设备之前,允许设备批准角色,需要管理员批准。", + "approvalsEmptyStateStep1Title": "转到角色", + "approvalsEmptyStateStep1Description": "导航到您组织的角色设置来配置设备批准。", + "approvalsEmptyStateStep2Title": "启用设备批准", + "approvalsEmptyStateStep2Description": "编辑角色并启用“需要设备审批”选项。具有此角色的用户需要管理员批准新设备。", + "approvalsEmptyStatePreviewDescription": "预览:如果启用,待处理设备请求将出现在这里供审核", + "approvalsEmptyStateButtonText": "管理角色" } From 93bc6ba615b86753eec0b0c78e779fce5c1493dc Mon Sep 17 00:00:00 2001 From: Owen Schwartz Date: Tue, 20 Jan 2026 16:39:32 -0800 Subject: [PATCH 39/42] New translations en-us.json (Norwegian Bokmal) --- messages/nb-NO.json | 148 +++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 138 insertions(+), 10 deletions(-) diff --git a/messages/nb-NO.json b/messages/nb-NO.json index 94b51c65..15c1b557 100644 --- a/messages/nb-NO.json +++ b/messages/nb-NO.json @@ -56,6 +56,9 @@ "sitesBannerTitle": "Koble til alle nettverk", "sitesBannerDescription": "Et nettverk er en tilkobling til et eksternt nettverk som tillater Pangolin å gi tilgang til ressurser, enten offentlige eller private, til brukere hvor som helst. Installer nettverkskontaktet (Newt) hvor som helst du kan kjøre en binærfil eller container for å opprette forbindelsen.", "sitesBannerButtonText": "Installer nettsted", + "approvalsBannerTitle": "Godkjenn eller avslå tilgang til enhet", + "approvalsBannerDescription": "Gjennomgå og godkjenne eller avslå forespørsler om tilgang fra brukere. Når enhetsgodkjenninger er nødvendig, må brukere få admingodkjenning før enhetene kan koble seg til organisasjonens ressurser.", + "approvalsBannerButtonText": "Lær mer", "siteCreate": "Opprett område", "siteCreateDescription2": "Følg trinnene nedenfor for å opprette og koble til et nytt område", "siteCreateDescription": "Opprett et nytt nettsted for å koble til ressurser", @@ -257,6 +260,8 @@ "accessRolesSearch": "Søk etter roller...", "accessRolesAdd": "Legg til rolle", "accessRoleDelete": "Slett rolle", + "accessApprovalsManage": "Behandle godkjenninger", + "accessApprovalsDescription": "Se og administrer ventende godkjenninger for tilgang til denne organisasjonen", "description": "Beskrivelse", "inviteTitle": "Åpne invitasjoner", "inviteDescription": "Administrer invitasjoner til andre brukere for å bli med i organisasjonen", @@ -450,6 +455,18 @@ "selectDuration": "Velg varighet", "selectResource": "Velg ressurs", "filterByResource": "Filtrer etter ressurser", + "selectApprovalState": "Velg godkjenningsstatus", + "filterByApprovalState": "Filtrer etter godkjenningsstatus", + "approvalListEmpty": "Ingen godkjenninger", + "approvalState": "Godkjennings tilstand", + "approve": "Godkjenn", + "approved": "Godkjent", + "denied": "Avvist", + "deniedApproval": "Avslått godkjenning", + "all": "Alle", + "deny": "Avslå", + "viewDetails": "Vis detaljer", + "requestingNewDeviceApproval": "forespurt en ny enhet", "resetFilters": "Tilbakestill filtre", "totalBlocked": "Forespørsler blokkert av Pangolin", "totalRequests": "Totalt antall forespørsler", @@ -729,16 +746,28 @@ "countries": "Land", "accessRoleCreate": "Opprett rolle", "accessRoleCreateDescription": "Opprett en ny rolle for å gruppere brukere og administrere deres tillatelser.", + "accessRoleEdit": "Rediger rolle", + "accessRoleEditDescription": "Rediger rolleinformasjon.", "accessRoleCreateSubmit": "Opprett rolle", "accessRoleCreated": "Rolle opprettet", "accessRoleCreatedDescription": "Rollen er vellykket opprettet.", "accessRoleErrorCreate": "Klarte ikke å opprette rolle", "accessRoleErrorCreateDescription": "Det oppstod en feil under opprettelse av rollen.", + "accessRoleUpdateSubmit": "Oppdater rolle", + "accessRoleUpdated": "Rollen oppdatert", + "accessRoleUpdatedDescription": "Rollen har blitt oppdatert.", + "accessApprovalUpdated": "Godkjenning behandlet", + "accessApprovalApprovedDescription": "Sett godkjenningsforespørsel om å godta.", + "accessApprovalDeniedDescription": "Sett godkjenningsforespørsel om å nekte.", + "accessRoleErrorUpdate": "Kunne ikke oppdatere rolle", + "accessRoleErrorUpdateDescription": "Det oppstod en feil under oppdatering av rollen.", + "accessApprovalErrorUpdate": "Kunne ikke behandle godkjenning", + "accessApprovalErrorUpdateDescription": "Det oppstod en feil under behandling av godkjenningen.", "accessRoleErrorNewRequired": "Ny rolle kreves", "accessRoleErrorRemove": "Kunne ikke fjerne rolle", "accessRoleErrorRemoveDescription": "Det oppstod en feil under fjerning av rollen.", "accessRoleName": "Rollenavn", - "accessRoleQuestionRemove": "Du er i ferd med å slette rollen {name}. Du kan ikke angre denne handlingen.", + "accessRoleQuestionRemove": "Du er ferd med å slette rollen `{name}. Du kan ikke angre denne handlingen.", "accessRoleRemove": "Fjern Rolle", "accessRoleRemoveDescription": "Fjern en rolle fra organisasjonen", "accessRoleRemoveSubmit": "Fjern Rolle", @@ -954,13 +983,13 @@ "passwordExpiryDescription": "Denne organisasjonen krever at du bytter passord hver {maxDays} dag.", "changePasswordNow": "Bytt passord nå", "pincodeAuth": "Autentiseringskode", - "pincodeSubmit2": "Send inn kode", + "pincodeSubmit2": "Send kode", "passwordResetSubmit": "Be om tilbakestilling", "passwordResetAlreadyHaveCode": "Skriv inn koden", "passwordResetSmtpRequired": "Kontakt din administrator", "passwordResetSmtpRequiredDescription": "En passord tilbakestillingskode kreves for å tilbakestille passordet. Kontakt systemansvarlig for assistanse.", "passwordBack": "Tilbake til passord", - "loginBack": "Gå tilbake til innlogging", + "loginBack": "Gå tilbake til innloggingssiden for hovedkontoen", "signup": "Registrer deg", "loginStart": "Logg inn for å komme i gang", "idpOidcTokenValidating": "Validerer OIDC-token", @@ -1118,6 +1147,10 @@ "actionUpdateIdpOrg": "Oppdater IDP-organisasjon", "actionCreateClient": "Opprett Klient", "actionDeleteClient": "Slett klient", + "actionArchiveClient": "Arkiver klient", + "actionUnarchiveClient": "Fjern arkivering klient", + "actionBlockClient": "Blokker kunde", + "actionUnblockClient": "Avblokker klient", "actionUpdateClient": "Oppdater klient", "actionListClients": "List klienter", "actionGetClient": "Hent klient", @@ -1134,14 +1167,14 @@ "searchProgress": "Søker...", "create": "Opprett", "orgs": "Organisasjoner", - "loginError": "En feil oppstod under innlogging", - "loginRequiredForDevice": "Innlogging kreves for å godkjenne enheten.", + "loginError": "En uventet feil oppstod. Vennligst prøv igjen.", + "loginRequiredForDevice": "Innlogging er nødvendig for enheten din.", "passwordForgot": "Glemt passordet ditt?", "otpAuth": "Tofaktorautentisering", "otpAuthDescription": "Skriv inn koden fra autentiseringsappen din eller en av dine engangs reservekoder.", "otpAuthSubmit": "Send inn kode", "idpContinue": "Eller fortsett med", - "otpAuthBack": "Tilbake til innlogging", + "otpAuthBack": "Tilbake til passord", "navbar": "Navigasjonsmeny", "navbarDescription": "Hovednavigasjonsmeny for applikasjonen", "navbarDocsLink": "Dokumentasjon", @@ -1189,6 +1222,7 @@ "sidebarOverview": "Oversikt", "sidebarHome": "Hjem", "sidebarSites": "Områder", + "sidebarApprovals": "Godkjenningsforespørsler", "sidebarResources": "Ressurser", "sidebarProxyResources": "Offentlig", "sidebarClientResources": "Privat", @@ -1205,7 +1239,7 @@ "sidebarIdentityProviders": "Identitetsleverandører", "sidebarLicense": "Lisens", "sidebarClients": "Klienter", - "sidebarUserDevices": "Brukere", + "sidebarUserDevices": "Bruker Enheter", "sidebarMachineClients": "Maskiner", "sidebarDomains": "Domener", "sidebarGeneral": "Administrer", @@ -1277,6 +1311,7 @@ "setupErrorCreateAdmin": "En feil oppstod under opprettelsen av serveradministratorkontoen.", "certificateStatus": "Sertifikatstatus", "loading": "Laster inn", + "loadingAnalytics": "Laster inn analyser", "restart": "Start på nytt", "domains": "Domener", "domainsDescription": "Opprett og behandle domener som er tilgjengelige i organisasjonen", @@ -1304,6 +1339,7 @@ "refreshError": "Klarte ikke å oppdatere data", "verified": "Verifisert", "pending": "Venter", + "pendingApproval": "Venter på godkjenning", "sidebarBilling": "Fakturering", "billing": "Fakturering", "orgBillingDescription": "Administrer faktureringsinformasjon og abonnementer", @@ -1420,7 +1456,7 @@ "securityKeyRemoveSuccess": "Sikkerhetsnøkkel fjernet", "securityKeyRemoveError": "Klarte ikke å fjerne sikkerhetsnøkkel", "securityKeyLoadError": "Klarte ikke å laste inn sikkerhetsnøkler", - "securityKeyLogin": "Fortsett med sikkerhetsnøkkel", + "securityKeyLogin": "Bruk sikkerhetsnøkkel", "securityKeyAuthError": "Klarte ikke å autentisere med sikkerhetsnøkkel", "securityKeyRecommendation": "Registrer en reservesikkerhetsnøkkel på en annen enhet for å sikre at du alltid har tilgang til kontoen din.", "registering": "Registrerer...", @@ -1547,6 +1583,8 @@ "IntervalSeconds": "Sunt intervall", "timeoutSeconds": "Tidsavbrudd (sek)", "timeIsInSeconds": "Tid er i sekunder", + "requireDeviceApproval": "Krev enhetsgodkjenning", + "requireDeviceApprovalDescription": "Brukere med denne rollen trenger nye enheter godkjent av en admin før de kan koble seg og få tilgang til ressurser.", "retryAttempts": "Forsøk på nytt", "expectedResponseCodes": "Forventede svarkoder", "expectedResponseCodesDescription": "HTTP-statuskode som indikerer sunn status. Hvis den blir stående tom, regnes 200-300 som sunn.", @@ -2232,6 +2270,8 @@ "deviceCodeInvalidFormat": "Kode må inneholde 9 tegn (f.eks A1AJ-N5JD)", "deviceCodeInvalidOrExpired": "Ugyldig eller utløpt kode", "deviceCodeVerifyFailed": "Klarte ikke å bekrefte enhetskoden", + "deviceCodeValidating": "Validerer enhetskode...", + "deviceCodeVerifying": "Bekrefter enhetens godkjennelse...", "signedInAs": "Logget inn som", "deviceCodeEnterPrompt": "Skriv inn koden som vises på enheten", "continue": "Fortsett", @@ -2244,7 +2284,7 @@ "deviceOrganizationsAccess": "Tilgang til alle organisasjoner din konto har tilgang til", "deviceAuthorize": "Autoriser {applicationName}", "deviceConnected": "Enhet tilkoblet!", - "deviceAuthorizedMessage": "Enhet er autorisert for tilgang til kontoen din.", + "deviceAuthorizedMessage": "Enheten er autorisert for tilgang til kontoen. Vennligst gå tilbake til klientapplikasjonen.", "pangolinCloud": "Pangolin Sky", "viewDevices": "Vis enheter", "viewDevicesDescription": "Administrer tilkoblede enheter", @@ -2306,6 +2346,7 @@ "identifier": "Identifier", "deviceLoginUseDifferentAccount": "Ikke du? Bruk en annen konto.", "deviceLoginDeviceRequestingAccessToAccount": "En enhet ber om tilgang til denne kontoen.", + "loginSelectAuthenticationMethod": "Velg en autentiseringsmetode for å fortsette.", "noData": "Ingen data", "machineClients": "Maskinklienter", "install": "Installer", @@ -2394,5 +2435,92 @@ "maintenanceScreenTitle": "Tjenesten er midlertidig utilgjengelig", "maintenanceScreenMessage": "Vi opplever for øyeblikket tekniske problemer. Vennligst sjekk igjen snart.", "maintenanceScreenEstimatedCompletion": "Estimert ferdigstillelse:", - "createInternalResourceDialogDestinationRequired": "Destinasjonen er nødvendig" + "createInternalResourceDialogDestinationRequired": "Destinasjonen er nødvendig", + "available": "Tilgjengelig", + "archived": "Arkivert", + "noArchivedDevices": "Ingen arkiverte enheter funnet", + "deviceArchived": "Enhet arkivert", + "deviceArchivedDescription": "Enheten er blitt arkivert.", + "errorArchivingDevice": "Feil ved arkivering av enhet", + "failedToArchiveDevice": "Kunne ikke arkivere enhet", + "deviceQuestionArchive": "Er du sikker på at du vil arkivere denne enheten?", + "deviceMessageArchive": "Enheten blir arkivert og fjernet fra listen over aktive enheter.", + "deviceArchiveConfirm": "Arkiver enhet", + "archiveDevice": "Arkiver enhet", + "archive": "Arkiv", + "deviceUnarchived": "Enheten er uarkivert", + "deviceUnarchivedDescription": "Enheten er blitt avarkivert.", + "errorUnarchivingDevice": "Feil ved arkivering av enhet", + "failedToUnarchiveDevice": "Kunne ikke fjerne arkivere enheten", + "unarchive": "Avarkiver", + "archiveClient": "Arkiver klient", + "archiveClientQuestion": "Er du sikker på at du vil arkivere denne klienten?", + "archiveClientMessage": "Klienten arkiveres og fjernes fra listen over aktive klienter.", + "archiveClientConfirm": "Arkiver klient", + "blockClient": "Blokker kunde", + "blockClientQuestion": "Er du sikker på at du vil blokkere denne klienten?", + "blockClientMessage": "Enheten blir tvunget til å koble fra hvis den er koblet til. Du kan fjerne blokkeringen av enheten senere.", + "blockClientConfirm": "Blokker kunde", + "active": "Aktiv", + "usernameOrEmail": "Brukernavn eller e-post", + "selectYourOrganization": "Velg din organisasjon", + "signInTo": "Logg inn på", + "signInWithPassword": "Fortsett med passord", + "noAuthMethodsAvailable": "Ingen autentiseringsmetoder er tilgjengelige for denne organisasjonen.", + "enterPassword": "Angi ditt passord", + "enterMfaCode": "Angi koden fra din autentiseringsapp", + "securityKeyRequired": "Vennligst bruk sikkerhetsnøkkelen til å logge på.", + "needToUseAnotherAccount": "Trenger du å bruke en annen konto?", + "loginLegalDisclaimer": "Ved å klikke på knappene nedenfor, erkjenner du at du har lest, forstår, og godtar Vilkår for bruk og for Personvernerklæring.", + "termsOfService": "Vilkår for bruk", + "privacyPolicy": "Retningslinjer for personvern", + "userNotFoundWithUsername": "Ingen bruker med det brukernavnet funnet.", + "verify": "Verifiser", + "signIn": "Logg inn", + "forgotPassword": "Glemt passord?", + "orgSignInTip": "Hvis du har logget inn før, kan du skrive inn brukernavnet eller e-postadressen ovenfor for å autentisere med organisasjonens identitetstjeneste i stedet. Det er enklere!", + "continueAnyway": "Fortsett likevel", + "dontShowAgain": "Ikke vis igjen", + "orgSignInNotice": "Visste du?", + "signupOrgNotice": "Prøver å logge inn?", + "signupOrgTip": "Prøver du å logge inn gjennom din organisasjons identitetsleverandør?", + "signupOrgLink": "Logg inn eller registrer deg med organisasjonen din i stedet", + "verifyEmailLogInWithDifferentAccount": "Bruk en annen konto", + "logIn": "Logg inn", + "deviceInformation": "Enhetens informasjon", + "deviceInformationDescription": "Informasjon om enheten og agenten", + "platform": "Plattform", + "macosVersion": "macOS versjon", + "windowsVersion": "Windows versjon", + "iosVersion": "iOS Versjon", + "androidVersion": "Android versjon", + "osVersion": "OS versjon", + "kernelVersion": "Kjerne versjon", + "deviceModel": "Enhets modell", + "serialNumber": "Serienummer", + "hostname": "Hostname", + "firstSeen": "Først sett", + "lastSeen": "Sist sett", + "deviceSettingsDescription": "Vis enhetsinformasjon og innstillinger", + "devicePendingApprovalDescription": "Denne enheten venter på godkjenning", + "deviceBlockedDescription": "Denne enheten er blokkert. Det kan ikke kobles til noen ressurser med mindre de ikke blir blokkert.", + "unblockClient": "Avblokker klient", + "unblockClientDescription": "Enheten har blitt blokkert", + "unarchiveClient": "Fjern arkivering klient", + "unarchiveClientDescription": "Enheten er arkivert", + "block": "Blokker", + "unblock": "Avblokker", + "deviceActions": "Enhetens handlinger", + "deviceActionsDescription": "Administrer enhetsstatus og tilgang", + "devicePendingApprovalBannerDescription": "Denne enheten venter på godkjenning. Den kan ikke koble til ressurser før den er godkjent.", + "connected": "Tilkoblet", + "disconnected": "Frakoblet", + "approvalsEmptyStateTitle": "Enhetsgodkjenninger er ikke aktivert", + "approvalsEmptyStateDescription": "Aktivere godkjenninger av enheter for at roller må godkjennes av admin før brukere kan koble til nye enheter.", + "approvalsEmptyStateStep1Title": "Gå til roller", + "approvalsEmptyStateStep1Description": "Naviger til organisasjonens roller innstillinger for å konfigurere enhetsgodkjenninger.", + "approvalsEmptyStateStep2Title": "Aktiver enhetsgodkjenninger", + "approvalsEmptyStateStep2Description": "Rediger en rolle og aktiver alternativet 'Kreve enhetsgodkjenninger'. Brukere med denne rollen vil trenge administratorgodkjenning for nye enheter.", + "approvalsEmptyStatePreviewDescription": "Forhåndsvisning: Når aktivert, ventende enhets forespørsler vil vises her for vurdering", + "approvalsEmptyStateButtonText": "Administrer Roller" } From 3aa58fdc8fee1e7eed6e76f1a961d40e88c2a817 Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Tue, 20 Jan 2026 17:46:50 -0800 Subject: [PATCH 40/42] add display info for device posture --- messages/en-US.json | 13 + .../middlewares/verifyValidSubscription.ts | 51 ++++ server/routers/client/getClient.ts | 114 +++++++- .../clients/user/[niceId]/general/page.tsx | 248 +++++++++++++++++- src/components/SidebarNav.tsx | 18 +- src/lib/formatDeviceFingerprint.ts | 20 +- 6 files changed, 432 insertions(+), 32 deletions(-) create mode 100644 server/private/middlewares/verifyValidSubscription.ts diff --git a/messages/en-US.json b/messages/en-US.json index 827b8187..ea91bfda 100644 --- a/messages/en-US.json +++ b/messages/en-US.json @@ -2489,6 +2489,8 @@ "logIn": "Log In", "deviceInformation": "Device Information", "deviceInformationDescription": "Information about the device and agent", + "deviceSecurity": "Device Security", + "deviceSecurityDescription": "Device security posture information", "platform": "Platform", "macosVersion": "macOS Version", "windowsVersion": "Windows Version", @@ -2501,6 +2503,17 @@ "hostname": "Hostname", "firstSeen": "First Seen", "lastSeen": "Last Seen", + "biometricsEnabled": "Biometrics Enabled", + "diskEncrypted": "Disk Encrypted", + "firewallEnabled": "Firewall Enabled", + "autoUpdatesEnabled": "Auto Updates Enabled", + "tpmAvailable": "TPM Available", + "windowsDefenderEnabled": "Windows Defender Enabled", + "macosSipEnabled": "System Integrity Protection (SIP)", + "macosGatekeeperEnabled": "Gatekeeper", + "macosFirewallStealthMode": "Firewall Stealth Mode", + "linuxAppArmorEnabled": "AppArmor", + "linuxSELinuxEnabled": "SELinux", "deviceSettingsDescription": "View device information and settings", "devicePendingApprovalDescription": "This device is waiting for approval", "deviceBlockedDescription": "This device is currently blocked. It won't be able to connect to any resources unless unblocked.", diff --git a/server/private/middlewares/verifyValidSubscription.ts b/server/private/middlewares/verifyValidSubscription.ts new file mode 100644 index 00000000..5e6a9ff5 --- /dev/null +++ b/server/private/middlewares/verifyValidSubscription.ts @@ -0,0 +1,51 @@ +/* + * This file is part of a proprietary work. + * + * Copyright (c) 2025 Fossorial, Inc. + * All rights reserved. + * + * This file is licensed under the Fossorial Commercial License. + * You may not use this file except in compliance with the License. + * Unauthorized use, copying, modification, or distribution is strictly prohibited. + * + * This file is not licensed under the AGPLv3. + */ + +import { Request, Response, NextFunction } from "express"; +import createHttpError from "http-errors"; +import HttpCode from "@server/types/HttpCode"; +import { build } from "@server/build"; +import { getOrgTierData } from "#private/lib/billing"; +import { TierId } from "@server/lib/billing/tiers"; + +export async function verifyValidLicense( + req: Request, + res: Response, + next: NextFunction +) { + try { + if (build != "saas") { + return next(); + } + + const { tier, active } = await getOrgTierData(orgId); + const subscribed = tier === TierId.STANDARD; + if (!subscribed) { + return next( + createHttpError( + HttpCode.FORBIDDEN, + "This organization's current plan does not support this feature." + ) + ); + } + + return next(); + } catch (e) { + return next( + createHttpError( + HttpCode.INTERNAL_SERVER_ERROR, + "Error verifying subscription" + ) + ); + } +} diff --git a/server/routers/client/getClient.ts b/server/routers/client/getClient.ts index b7f56640..d981cbd3 100644 --- a/server/routers/client/getClient.ts +++ b/server/routers/client/getClient.ts @@ -11,6 +11,7 @@ import stoi from "@server/lib/stoi"; import { fromError } from "zod-validation-error"; import { OpenAPITags, registry } from "@server/openApi"; import { getUserDeviceName } from "@server/db/names"; +import { build } from "@server/build"; const getClientSchema = z.strictObject({ clientId: z @@ -51,6 +52,106 @@ async function query(clientId?: number, niceId?: string, orgId?: string) { } } +type PostureData = { + biometricsEnabled?: boolean | null; + diskEncrypted?: boolean | null; + firewallEnabled?: boolean | null; + autoUpdatesEnabled?: boolean | null; + tpmAvailable?: boolean | null; + windowsDefenderEnabled?: boolean | null; + macosSipEnabled?: boolean | null; + macosGatekeeperEnabled?: boolean | null; + macosFirewallStealthMode?: boolean | null; + linuxAppArmorEnabled?: boolean | null; + linuxSELinuxEnabled?: boolean | null; +}; + +function getPlatformPostureData( + platform: string | null | undefined, + fingerprint: typeof currentFingerprint.$inferSelect | null +): PostureData | null { + if (!fingerprint) return null; + + const normalizedPlatform = platform?.toLowerCase() || "unknown"; + const posture: PostureData = {}; + + // Windows: Hard drive encryption, Firewall, Auto updates, TPM availability, Windows Defender + if (normalizedPlatform === "windows") { + if (fingerprint.diskEncrypted !== null && fingerprint.diskEncrypted !== undefined) { + posture.diskEncrypted = fingerprint.diskEncrypted; + } + if (fingerprint.firewallEnabled !== null && fingerprint.firewallEnabled !== undefined) { + posture.firewallEnabled = fingerprint.firewallEnabled; + } + if (fingerprint.autoUpdatesEnabled !== null && fingerprint.autoUpdatesEnabled !== undefined) { + posture.autoUpdatesEnabled = fingerprint.autoUpdatesEnabled; + } + if (fingerprint.tpmAvailable !== null && fingerprint.tpmAvailable !== undefined) { + posture.tpmAvailable = fingerprint.tpmAvailable; + } + if (fingerprint.windowsDefenderEnabled !== null && fingerprint.windowsDefenderEnabled !== undefined) { + posture.windowsDefenderEnabled = fingerprint.windowsDefenderEnabled; + } + } + // macOS: Hard drive encryption, Biometric configuration, Firewall, System Integrity Protection (SIP), Gatekeeper, Firewall stealth mode + else if (normalizedPlatform === "macos") { + if (fingerprint.diskEncrypted !== null && fingerprint.diskEncrypted !== undefined) { + posture.diskEncrypted = fingerprint.diskEncrypted; + } + if (fingerprint.biometricsEnabled !== null && fingerprint.biometricsEnabled !== undefined) { + posture.biometricsEnabled = fingerprint.biometricsEnabled; + } + if (fingerprint.firewallEnabled !== null && fingerprint.firewallEnabled !== undefined) { + posture.firewallEnabled = fingerprint.firewallEnabled; + } + if (fingerprint.macosSipEnabled !== null && fingerprint.macosSipEnabled !== undefined) { + posture.macosSipEnabled = fingerprint.macosSipEnabled; + } + if (fingerprint.macosGatekeeperEnabled !== null && fingerprint.macosGatekeeperEnabled !== undefined) { + posture.macosGatekeeperEnabled = fingerprint.macosGatekeeperEnabled; + } + if (fingerprint.macosFirewallStealthMode !== null && fingerprint.macosFirewallStealthMode !== undefined) { + posture.macosFirewallStealthMode = fingerprint.macosFirewallStealthMode; + } + } + // Linux: Hard drive encryption, Firewall, AppArmor, SELinux, TPM availability + else if (normalizedPlatform === "linux") { + if (fingerprint.diskEncrypted !== null && fingerprint.diskEncrypted !== undefined) { + posture.diskEncrypted = fingerprint.diskEncrypted; + } + if (fingerprint.firewallEnabled !== null && fingerprint.firewallEnabled !== undefined) { + posture.firewallEnabled = fingerprint.firewallEnabled; + } + if (fingerprint.linuxAppArmorEnabled !== null && fingerprint.linuxAppArmorEnabled !== undefined) { + posture.linuxAppArmorEnabled = fingerprint.linuxAppArmorEnabled; + } + if (fingerprint.linuxSELinuxEnabled !== null && fingerprint.linuxSELinuxEnabled !== undefined) { + posture.linuxSELinuxEnabled = fingerprint.linuxSELinuxEnabled; + } + if (fingerprint.tpmAvailable !== null && fingerprint.tpmAvailable !== undefined) { + posture.tpmAvailable = fingerprint.tpmAvailable; + } + } + // iOS: Biometric configuration + else if (normalizedPlatform === "ios") { + if (fingerprint.biometricsEnabled !== null && fingerprint.biometricsEnabled !== undefined) { + posture.biometricsEnabled = fingerprint.biometricsEnabled; + } + } + // Android: Screen lock, Biometric configuration, Hard drive encryption + else if (normalizedPlatform === "android") { + if (fingerprint.biometricsEnabled !== null && fingerprint.biometricsEnabled !== undefined) { + posture.biometricsEnabled = fingerprint.biometricsEnabled; + } + if (fingerprint.diskEncrypted !== null && fingerprint.diskEncrypted !== undefined) { + posture.diskEncrypted = fingerprint.diskEncrypted; + } + } + + // Only return if we have at least one posture field + return Object.keys(posture).length > 0 ? posture : null; +} + export type GetClientResponse = NonNullable< Awaited> >["clients"] & { @@ -69,6 +170,7 @@ export type GetClientResponse = NonNullable< firstSeen: number | null; lastSeen: number | null; } | null; + posture: PostureData | null; }; registry.registerPath({ @@ -152,13 +254,23 @@ export async function getClient( } : null; + // Build posture data if available (platform-specific) + let postureData: PostureData | null = null; + if (build !== "oss") { + postureData = getPlatformPostureData( + client.currentFingerprint?.platform || null, + client.currentFingerprint + ); + } + const data: GetClientResponse = { ...client.clients, name: clientName, olmId: client.olms ? client.olms.olmId : null, agent: client.olms?.agent || null, olmVersion: client.olms?.version || null, - fingerprint: fingerprintData + fingerprint: fingerprintData, + posture: postureData }; return response(res, { diff --git a/src/app/[orgId]/settings/clients/user/[niceId]/general/page.tsx b/src/app/[orgId]/settings/clients/user/[niceId]/general/page.tsx index daa668e6..ed9a5f49 100644 --- a/src/app/[orgId]/settings/clients/user/[niceId]/general/page.tsx +++ b/src/app/[orgId]/settings/clients/user/[niceId]/general/page.tsx @@ -22,12 +22,13 @@ import { import { Badge } from "@app/components/ui/badge"; import { Button } from "@app/components/ui/button"; import ActionBanner from "@app/components/ActionBanner"; +import { PaidFeaturesAlert } from "@app/components/PaidFeaturesAlert"; import { useEnvContext } from "@app/hooks/useEnvContext"; import { createApiClient, formatAxiosError } from "@app/lib/api"; import { toast } from "@app/hooks/useToast"; import { useRouter } from "next/navigation"; import { useState, useEffect, useTransition } from "react"; -import { Check, Ban, Shield, ShieldOff, Clock } from "lucide-react"; +import { Check, Ban, Shield, ShieldOff, Clock, CheckCircle2, XCircle } from "lucide-react"; import { useParams } from "next/navigation"; import { FaApple, FaWindows, FaLinux } from "react-icons/fa"; import { SiAndroid } from "react-icons/si"; @@ -111,18 +112,12 @@ function getPlatformFieldConfig( kernelVersion: { show: false, labelKey: "kernelVersion" }, arch: { show: true, labelKey: "architecture" }, deviceModel: { show: true, labelKey: "deviceModel" }, - serialNumber: { show: true, labelKey: "serialNumber" }, - username: { show: true, labelKey: "username" }, - hostname: { show: true, labelKey: "hostname" } }, android: { osVersion: { show: true, labelKey: "androidVersion" }, kernelVersion: { show: true, labelKey: "kernelVersion" }, arch: { show: true, labelKey: "architecture" }, deviceModel: { show: true, labelKey: "deviceModel" }, - serialNumber: { show: true, labelKey: "serialNumber" }, - username: { show: true, labelKey: "username" }, - hostname: { show: true, labelKey: "hostname" } }, unknown: { osVersion: { show: true, labelKey: "osVersion" }, @@ -138,6 +133,7 @@ function getPlatformFieldConfig( return configs[normalizedPlatform] || configs.unknown; } + export default function GeneralPage() { const { client, updateClient } = useClientContext(); const { isPaidUser } = usePaidStatus(); @@ -152,6 +148,20 @@ export default function GeneralPage() { const showApprovalFeatures = build !== "oss" && isPaidUser; + const formatPostureValue = (value: boolean | null | undefined) => { + if (value === null || value === undefined) return "-"; + return ( +
+ {value ? ( + + ) : ( + + )} + {value ? t("enabled") : t("disabled")} +
+ ); + }; + // Fetch approval ID for this client if pending useEffect(() => { if ( @@ -407,13 +417,13 @@ export default function GeneralPage() { )} {client.fingerprint.osVersion && - fieldConfig.osVersion.show && ( + fieldConfig.osVersion?.show && ( {t( fieldConfig .osVersion - .labelKey + ?.labelKey || "osVersion" )} @@ -426,7 +436,7 @@ export default function GeneralPage() { )} {client.fingerprint.kernelVersion && - fieldConfig.kernelVersion.show && ( + fieldConfig.kernelVersion?.show && ( {t("kernelVersion")} @@ -456,7 +466,7 @@ export default function GeneralPage() { )} {client.fingerprint.deviceModel && - fieldConfig.deviceModel.show && ( + fieldConfig.deviceModel?.show && ( {t("deviceModel")} @@ -486,7 +496,7 @@ export default function GeneralPage() { )} {client.fingerprint.username && - fieldConfig.username.show && ( + fieldConfig.username?.show && ( {t("username")} @@ -501,7 +511,7 @@ export default function GeneralPage() { )} {client.fingerprint.hostname && - fieldConfig.hostname.show && ( + fieldConfig.hostname?.show && ( {t("hostname")} @@ -548,6 +558,218 @@ export default function GeneralPage() { )} + + {/* Device Security Section */} + {build !== "oss" && ( + + + + {t("deviceSecurity")} + + + {t("deviceSecurityDescription")} + + + + + {client.posture && Object.keys(client.posture).length > 0 ? ( + <> + {!isPaidUser && } + + {client.posture.biometricsEnabled !== null && + client.posture.biometricsEnabled !== undefined && ( + + + {t("biometricsEnabled")} + + + {isPaidUser + ? formatPostureValue( + client.posture.biometricsEnabled + ) + : "-"} + + + )} + + {client.posture.diskEncrypted !== null && + client.posture.diskEncrypted !== undefined && ( + + + {t("diskEncrypted")} + + + {isPaidUser + ? formatPostureValue( + client.posture.diskEncrypted + ) + : "-"} + + + )} + + {client.posture.firewallEnabled !== null && + client.posture.firewallEnabled !== undefined && ( + + + {t("firewallEnabled")} + + + {isPaidUser + ? formatPostureValue( + client.posture.firewallEnabled + ) + : "-"} + + + )} + + {client.posture.autoUpdatesEnabled !== null && + client.posture.autoUpdatesEnabled !== undefined && ( + + + {t("autoUpdatesEnabled")} + + + {isPaidUser + ? formatPostureValue( + client.posture.autoUpdatesEnabled + ) + : "-"} + + + )} + + {client.posture.tpmAvailable !== null && + client.posture.tpmAvailable !== undefined && ( + + + {t("tpmAvailable")} + + + {isPaidUser + ? formatPostureValue( + client.posture.tpmAvailable + ) + : "-"} + + + )} + + {client.posture.windowsDefenderEnabled !== null && + client.posture.windowsDefenderEnabled !== undefined && ( + + + {t("windowsDefenderEnabled")} + + + {isPaidUser + ? formatPostureValue( + client.posture + .windowsDefenderEnabled + ) + : "-"} + + + )} + + {client.posture.macosSipEnabled !== null && + client.posture.macosSipEnabled !== undefined && ( + + + {t("macosSipEnabled")} + + + {isPaidUser + ? formatPostureValue( + client.posture.macosSipEnabled + ) + : "-"} + + + )} + + {client.posture.macosGatekeeperEnabled !== null && + client.posture.macosGatekeeperEnabled !== + undefined && ( + + + {t("macosGatekeeperEnabled")} + + + {isPaidUser + ? formatPostureValue( + client.posture + .macosGatekeeperEnabled + ) + : "-"} + + + )} + + {client.posture.macosFirewallStealthMode !== null && + client.posture.macosFirewallStealthMode !== + undefined && ( + + + {t("macosFirewallStealthMode")} + + + {isPaidUser + ? formatPostureValue( + client.posture + .macosFirewallStealthMode + ) + : "-"} + + + )} + + {client.posture.linuxAppArmorEnabled !== null && + client.posture.linuxAppArmorEnabled !== + undefined && ( + + + {t("linuxAppArmorEnabled")} + + + {isPaidUser + ? formatPostureValue( + client.posture + .linuxAppArmorEnabled + ) + : "-"} + + + )} + + {client.posture.linuxSELinuxEnabled !== null && + client.posture.linuxSELinuxEnabled !== + undefined && ( + + + {t("linuxSELinuxEnabled")} + + + {isPaidUser + ? formatPostureValue( + client.posture + .linuxSELinuxEnabled + ) + : "-"} + + + )} + + + ) : ( +
+ {t("noData")} +
+ )} +
+
+ )} ); } diff --git a/src/components/SidebarNav.tsx b/src/components/SidebarNav.tsx index 39ae601f..294fd54d 100644 --- a/src/components/SidebarNav.tsx +++ b/src/components/SidebarNav.tsx @@ -145,10 +145,10 @@ function CollapsibleNavItem({
{notificationCount !== undefined && notificationCount > 0 && ( - - {notificationCount > 99 ? "99+" : notificationCount} + + {notificationCount > 99 + ? "99+" + : notificationCount} )} {build === "enterprise" && @@ -321,9 +321,7 @@ export function SidebarNav({
{notificationCount !== undefined && notificationCount > 0 && ( - + {notificationCount > 99 ? "99+" : notificationCount} @@ -346,8 +344,8 @@ export function SidebarNav({ notificationCount !== undefined && notificationCount > 0 && ( {notificationCount > 99 ? "99+" : notificationCount} @@ -379,7 +377,7 @@ export function SidebarNav({ {notificationCount !== undefined && notificationCount > 0 && ( {notificationCount > 99 diff --git a/src/lib/formatDeviceFingerprint.ts b/src/lib/formatDeviceFingerprint.ts index 3bd4a99b..34686169 100644 --- a/src/lib/formatDeviceFingerprint.ts +++ b/src/lib/formatDeviceFingerprint.ts @@ -38,6 +38,7 @@ export function formatFingerprintInfo( ): string { if (!fingerprint) return ""; const parts: string[] = []; + const normalizedPlatform = fingerprint.platform?.toLowerCase() || "unknown"; if (fingerprint.platform) { parts.push( @@ -53,14 +54,17 @@ export function formatFingerprintInfo( if (fingerprint.arch) { parts.push(`${t("architecture")}: ${fingerprint.arch}`); } - if (fingerprint.hostname) { - parts.push(`${t("hostname")}: ${fingerprint.hostname}`); - } - if (fingerprint.username) { - parts.push(`${t("username")}: ${fingerprint.username}`); - } - if (fingerprint.serialNumber) { - parts.push(`${t("serialNumber")}: ${fingerprint.serialNumber}`); + + if (normalizedPlatform !== "ios" && normalizedPlatform !== "android") { + if (fingerprint.hostname) { + parts.push(`${t("hostname")}: ${fingerprint.hostname}`); + } + if (fingerprint.username) { + parts.push(`${t("username")}: ${fingerprint.username}`); + } + if (fingerprint.serialNumber) { + parts.push(`${t("serialNumber")}: ${fingerprint.serialNumber}`); + } } return parts.join("\n"); From 64e6086f0c1fa89ce9efc4d1f67a8b12465aad49 Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Tue, 20 Jan 2026 17:50:07 -0800 Subject: [PATCH 41/42] set docs link for approvals --- src/components/ApprovalsBanner.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ApprovalsBanner.tsx b/src/components/ApprovalsBanner.tsx index 991a1b10..b894786d 100644 --- a/src/components/ApprovalsBanner.tsx +++ b/src/components/ApprovalsBanner.tsx @@ -19,7 +19,7 @@ export const ApprovalsBanner = () => { description={t("approvalsBannerDescription")} > From 77032fc989cca8b93d9bf97570542cfe13d13eb6 Mon Sep 17 00:00:00 2001 From: Owen Date: Tue, 20 Jan 2026 18:07:28 -0800 Subject: [PATCH 42/42] Remove extranious file --- .../middlewares/verifyValidSubscription.ts | 51 ------------------- 1 file changed, 51 deletions(-) delete mode 100644 server/private/middlewares/verifyValidSubscription.ts diff --git a/server/private/middlewares/verifyValidSubscription.ts b/server/private/middlewares/verifyValidSubscription.ts deleted file mode 100644 index 5e6a9ff5..00000000 --- a/server/private/middlewares/verifyValidSubscription.ts +++ /dev/null @@ -1,51 +0,0 @@ -/* - * This file is part of a proprietary work. - * - * Copyright (c) 2025 Fossorial, Inc. - * All rights reserved. - * - * This file is licensed under the Fossorial Commercial License. - * You may not use this file except in compliance with the License. - * Unauthorized use, copying, modification, or distribution is strictly prohibited. - * - * This file is not licensed under the AGPLv3. - */ - -import { Request, Response, NextFunction } from "express"; -import createHttpError from "http-errors"; -import HttpCode from "@server/types/HttpCode"; -import { build } from "@server/build"; -import { getOrgTierData } from "#private/lib/billing"; -import { TierId } from "@server/lib/billing/tiers"; - -export async function verifyValidLicense( - req: Request, - res: Response, - next: NextFunction -) { - try { - if (build != "saas") { - return next(); - } - - const { tier, active } = await getOrgTierData(orgId); - const subscribed = tier === TierId.STANDARD; - if (!subscribed) { - return next( - createHttpError( - HttpCode.FORBIDDEN, - "This organization's current plan does not support this feature." - ) - ); - } - - return next(); - } catch (e) { - return next( - createHttpError( - HttpCode.INTERNAL_SERVER_ERROR, - "Error verifying subscription" - ) - ); - } -}