⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
feat(web): create users, send account emails, and filter the user directory
Tin84586db809ac
diff --git a/apps/web/src/components/admin/audit-log/get-audit-action-label.ts b/apps/web/src/components/admin/audit-log/get-audit-action-label.tsindex aa624f4ae..e4b121f0a 100644--- a/apps/web/src/components/admin/audit-log/get-audit-action-label.ts+++ b/apps/web/src/components/admin/audit-log/get-audit-action-label.ts@@ -7,6 +7,17 @@ const ACTION_LABEL_KEYS = new Map([["user.deleted", "settings:adminAuditLog.actions.userDeleted"],["user.password_set", "settings:adminAuditLog.actions.userPasswordSet"],["user.impersonated", "settings:adminAuditLog.actions.userImpersonated"],+ [+ "user.password_reset_sent",+ "settings:adminAuditLog.actions.userPasswordResetSent",+ ],+ [+ "user.verification_sent",+ "settings:adminAuditLog.actions.userVerificationSent",+ ],+ ["user.email_verified", "settings:adminAuditLog.actions.userEmailVerified"],+ ["user.avatar_changed", "settings:adminAuditLog.actions.userAvatarChanged"],+ ["user.avatar_removed", "settings:adminAuditLog.actions.userAvatarRemoved"],["session.revoked", "settings:adminAuditLog.actions.sessionRevoked"],["session.revoked_all", "settings:adminAuditLog.actions.sessionRevokedAll"],[diff --git a/apps/web/src/components/admin/audit-log/get-audit-entry-detail.test.ts b/apps/web/src/components/admin/audit-log/get-audit-entry-detail.test.tsindex 2e3f81041..ad5102a71 100644--- a/apps/web/src/components/admin/audit-log/get-audit-entry-detail.test.ts+++ b/apps/web/src/components/admin/audit-log/get-audit-entry-detail.test.ts@@ -5,6 +5,17 @@ const t = (key: string, values?: Record<string, unknown>) =>values ? `${key} ${JSON.stringify(values)}` : key;describe("getAuditEntryDetail", () => {+ it("names the role a user was created with", () => {+ expect(+ getAuditEntryDetail(+ { action: "user.created", metadata: { name: "Nora", role: "admin" } },+ t,+ ),+ ).toBe(+ 'settings:adminAuditLog.details.createdWithRole {"role":"settings:adminUsers.roles.admin"}',+ );+ });+it("translates instance role changes", () => {expect(getAuditEntryDetail(diff --git a/apps/web/src/components/admin/audit-log/get-audit-entry-detail.ts b/apps/web/src/components/admin/audit-log/get-audit-entry-detail.tsindex d239324fa..1f70bc767 100644--- a/apps/web/src/components/admin/audit-log/get-audit-entry-detail.ts+++ b/apps/web/src/components/admin/audit-log/get-audit-entry-detail.ts@@ -49,6 +49,12 @@ export function getAuditEntryDetail(getWorkspaceRoleLabel(text(role) ?? "", t);switch (action) {+ case "user.created":+ return metadata.role === undefined+ ? null+ : t("settings:adminAuditLog.details.createdWithRole", {+ role: instanceRole(metadata.role, t),+ });case "user.role_changed":return t("settings:adminAuditLog.details.change", {from: instanceRole(metadata.from, t),diff --git a/apps/web/src/components/admin/directory/directory-avatar.tsx b/apps/web/src/components/admin/directory/directory-avatar.tsxindex a016b5a2b..8634a3078 100644--- a/apps/web/src/components/admin/directory/directory-avatar.tsx+++ b/apps/web/src/components/admin/directory/directory-avatar.tsx@@ -1,14 +1,20 @@import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";+import { cn } from "@/lib/cn";import { getInitials } from "@/lib/get-initials";type DirectoryAvatarProps = {name: string;image: string | null | undefined;+ className?: string;};-export function DirectoryAvatar({ name, image }: DirectoryAvatarProps) {+export function DirectoryAvatar({+ name,+ image,+ className,+}: DirectoryAvatarProps) {return (- <Avatar className="size-7 border bg-muted">+ <Avatar className={cn("size-7 border bg-muted", className)}>{image ? <AvatarImage src={image} alt={name} /> : null}<AvatarFallback className="text-[10px] font-semibold">{getInitials(name, "?")}diff --git a/apps/web/src/components/admin/user-management/create-user-dialog.tsx b/apps/web/src/components/admin/user-management/create-user-dialog.tsxnew file mode 100644index 000000000..9823d06bf--- /dev/null+++ b/apps/web/src/components/admin/user-management/create-user-dialog.tsx@@ -0,0 +1,158 @@+import { InfoIcon } from "lucide-react";+import { type FormEvent, useState } from "react";+import { useTranslation } from "react-i18next";+import { Alert, AlertDescription } from "@/components/ui/alert";+import { Button } from "@/components/ui/button";+import {+ Dialog,+ DialogClose,+ DialogDescription,+ DialogFooter,+ DialogHeader,+ DialogPanel,+ DialogPopup,+ DialogTitle,+} from "@/components/ui/dialog";+import { Field, FieldLabel } from "@/components/ui/field";+import { Input } from "@/components/ui/input";+import useCreateAdminUser from "@/hooks/mutations/admin/use-create-admin-user";+import useGetConfig from "@/hooks/queries/config/use-get-config";+import {+ buildCreateUserRequest,+ EMPTY_CREATE_USER_VALUES,+} from "./create-user-values";+import { getAccountSetupMode } from "./get-account-setup-mode";+import { InstanceRoleSelect } from "./instance-role-select";++const SETUP_HINT_KEYS = {+ email: "settings:adminUsers.create.hintEmail",+ noEmail: "settings:adminUsers.create.hintNoEmail",+ sso: "settings:adminUsers.create.hintSso",+} as const;++type CreateUserDialogProps = {+ open: boolean;+ onOpenChange: (open: boolean) => void;+};++export function CreateUserDialog({+ open,+ onOpenChange,+}: CreateUserDialogProps) {+ const { t } = useTranslation();+ const { data: config } = useGetConfig();+ const [values, setValues] = useState(EMPTY_CREATE_USER_VALUES);+ const { mutateAsync: createUser, isPending } = useCreateAdminUser();+ const mode = getAccountSetupMode(config);++ const close = () => {+ onOpenChange(false);+ setValues(EMPTY_CREATE_USER_VALUES);+ };++ const handleSubmit = async (event: FormEvent<HTMLFormElement>) => {+ event.preventDefault();+ const request = buildCreateUserRequest(values);+ if (!request) return;+ try {+ await createUser(request);+ close();+ } catch {+ return;+ }+ };++ return (+ <Dialog+ open={open}+ onOpenChange={(next) => {+ if (next) onOpenChange(true);+ else if (!isPending) close();+ }}+ >+ <DialogPopup className="sm:max-w-md">+ <form className="contents" onSubmit={handleSubmit}>+ <DialogHeader>+ <DialogTitle>{t("settings:adminUsers.create.title")}</DialogTitle>+ <DialogDescription>+ {t("settings:adminUsers.create.description")}+ </DialogDescription>+ </DialogHeader>+ <DialogPanel>+ <div className="flex flex-col gap-4">+ <Field>+ <FieldLabel htmlFor="admin-create-user-name">+ {t("settings:adminUsers.edit.name")}+ </FieldLabel>+ <Input+ id="admin-create-user-name"+ name="name"+ type="text"+ autoComplete="off"+ required+ maxLength={200}+ value={values.name}+ onChange={(event) =>+ setValues((current) => ({+ ...current,+ name: event.target.value,+ }))+ }+ />+ </Field>+ <Field>+ <FieldLabel htmlFor="admin-create-user-email">+ {t("settings:adminUsers.edit.email")}+ </FieldLabel>+ <Input+ id="admin-create-user-email"+ name="email"+ type="email"+ autoComplete="off"+ required+ maxLength={254}+ value={values.email}+ onChange={(event) =>+ setValues((current) => ({+ ...current,+ email: event.target.value,+ }))+ }+ />+ </Field>+ <Field>+ <FieldLabel htmlFor="admin-create-user-role">+ {t("settings:adminUsers.edit.role")}+ </FieldLabel>+ <InstanceRoleSelect+ id="admin-create-user-role"+ value={values.role}+ onValueChange={(role) =>+ setValues((current) => ({ ...current, role }))+ }+ />+ </Field>+ <Alert variant={mode === "noEmail" ? "warning" : "default"}>+ <InfoIcon />+ <AlertDescription>{t(SETUP_HINT_KEYS[mode])}</AlertDescription>+ </Alert>+ </div>+ </DialogPanel>+ <DialogFooter>+ <DialogClose+ render={<Button type="button" variant="outline" />}+ disabled={isPending}+ >+ {t("common:actions.cancel")}+ </DialogClose>+ <Button type="submit" disabled={isPending}>+ {isPending+ ? t("settings:adminUsers.create.creating")+ : t("settings:adminUsers.create.submit")}+ </Button>+ </DialogFooter>+ </form>+ </DialogPopup>+ </Dialog>+ );+}diff --git a/apps/web/src/components/admin/user-management/create-user-values.test.ts b/apps/web/src/components/admin/user-management/create-user-values.test.tsnew file mode 100644index 000000000..0cfc62a09--- /dev/null+++ b/apps/web/src/components/admin/user-management/create-user-values.test.ts@@ -0,0 +1,47 @@+import { describe, expect, it } from "vite-plus/test";+import { buildCreateUserRequest } from "./create-user-values";+import { getAccountSetupMode } from "./get-account-setup-mode";++describe("buildCreateUserRequest", () => {+ it("trims the name and normalizes the email", () => {+ expect(+ buildCreateUserRequest({+ name: " Nora New ",+ email: " [email protected] ",+ role: "admin",+ }),+ ).toEqual({ name: "Nora New", email: "[email protected]", role: "admin" });+ });++ it("needs a name and an email", () => {+ expect(+ buildCreateUserRequest({ name: " ", email: "[email protected]", role: "user" }),+ ).toBeNull();+ expect(+ buildCreateUserRequest({ name: "A", email: " ", role: "user" }),+ ).toBeNull();+ });+});++describe("getAccountSetupMode", () => {+ it("emails a password link by default", () => {+ expect(getAccountSetupMode({ hasSmtp: true })).toBe("email");+ expect(getAccountSetupMode(undefined)).toBe("email");+ });++ it("warns when email delivery is not configured", () => {+ expect(getAccountSetupMode({ hasSmtp: false })).toBe("noEmail");+ });++ it("creates single sign-on accounts when password sign-up or sign-in is off", () => {+ expect(+ getAccountSetupMode({+ hasSmtp: false,+ disablePasswordRegistration: true,+ }),+ ).toBe("sso");+ expect(getAccountSetupMode({ hasSmtp: true, disableLoginForm: true })).toBe(+ "sso",+ );+ });+});diff --git a/apps/web/src/components/admin/user-management/create-user-values.ts b/apps/web/src/components/admin/user-management/create-user-values.tsnew file mode 100644index 000000000..66c119ba7--- /dev/null+++ b/apps/web/src/components/admin/user-management/create-user-values.ts@@ -0,0 +1,18 @@+import type { CreateAdminUserRequest } from "@/fetchers/admin/types";++export type CreateUserValues = CreateAdminUserRequest;++export const EMPTY_CREATE_USER_VALUES: CreateUserValues = {+ name: "",+ email: "",+ role: "user",+};++export function buildCreateUserRequest(+ values: CreateUserValues,+): CreateAdminUserRequest | null {+ const name = values.name.trim();+ const email = values.email.trim().toLowerCase();+ if (!name || !email) return null;+ return { name, email, role: values.role };+}diff --git a/apps/web/src/components/admin/user-management/edit-user-dialog.tsx b/apps/web/src/components/admin/user-management/edit-user-dialog.tsxindex 0a007f363..a20fe2ea7 100644--- a/apps/web/src/components/admin/user-management/edit-user-dialog.tsx+++ b/apps/web/src/components/admin/user-management/edit-user-dialog.tsx@@ -13,13 +13,6 @@ import {} from "@/components/ui/dialog";import { Field, FieldLabel } from "@/components/ui/field";import { Input } from "@/components/ui/input";-import {- Select,- SelectItem,- SelectPopup,- SelectTrigger,- SelectValue,-} from "@/components/ui/select";import useUpdateAdminUser from "@/hooks/mutations/admin/use-update-admin-user";import type { AdminUser } from "@/hooks/queries/admin/use-admin-users";import {@@ -27,6 +20,9 @@ import {EMPTY_EDIT_USER_VALUES,getEditUserValues,} from "./edit-user-values";+import { InstanceRoleSelect } from "./instance-role-select";+import { UserAccountFacts } from "./user-account-facts";+import { UserAvatarField } from "./user-avatar-field";type EditUserDialogProps = {user: AdminUser | null;@@ -56,11 +52,6 @@ export function EditUserDialog({}const isSelf = editedUser !== null && editedUser.id === currentUserId;- const roleLabel = t(- values.role === "admin"- ? "settings:adminUsers.roles.admin"- : "settings:adminUsers.roles.user",- );const handleSubmit = async (event: FormEvent<HTMLFormElement>) => {event.preventDefault();@@ -94,6 +85,9 @@ export function EditUserDialog({</DialogHeader><DialogPanel><div className="flex flex-col gap-4">+ {editedUser ? (+ <UserAvatarField key={editedUser.id} user={editedUser} />+ ) : null}<Field><FieldLabel htmlFor="admin-user-name">{t("settings:adminUsers.edit.name")}@@ -134,37 +128,21 @@ export function EditUserDialog({<FieldLabel htmlFor="admin-user-role">{t("settings:adminUsers.edit.role")}</FieldLabel>- <Select- items={{- user: t("settings:adminUsers.roles.user"),- admin: t("settings:adminUsers.roles.admin"),- }}+ <InstanceRoleSelect+ id="admin-user-role"value={values.role}disabled={isSelf}- onValueChange={(value) => {- if (value === "admin" || value === "user") {- setValues((current) => ({ ...current, role: value }));- }- }}- >- <SelectTrigger id="admin-user-role">- <SelectValue>{roleLabel}</SelectValue>- </SelectTrigger>- <SelectPopup>- <SelectItem value="user">- {t("settings:adminUsers.roles.user")}- </SelectItem>- <SelectItem value="admin">- {t("settings:adminUsers.roles.admin")}- </SelectItem>- </SelectPopup>- </Select>+ onValueChange={(role) =>+ setValues((current) => ({ ...current, role }))+ }+ />{isSelf ? (<p className="text-xs text-muted-foreground">{t("settings:adminUsers.edit.selfRoleHint")}</p>) : null}</Field>+ {editedUser ? <UserAccountFacts user={editedUser} /> : null}</div></DialogPanel><DialogFooter>diff --git a/apps/web/src/components/admin/user-management/get-account-setup-mode.ts b/apps/web/src/components/admin/user-management/get-account-setup-mode.tsnew file mode 100644index 000000000..1df08b207--- /dev/null+++ b/apps/web/src/components/admin/user-management/get-account-setup-mode.ts@@ -0,0 +1,17 @@+type SetupConfig = {+ disableLoginForm?: boolean;+ disablePasswordRegistration?: boolean;+ hasSmtp?: boolean;+};++/**+ * How a new account gets access, mirroring the API: a password link by email,+ * single sign-on when password sign-in or registration is off, or nothing+ * yet when email delivery isn't configured.+ */+export function getAccountSetupMode(config: SetupConfig | undefined) {+ if (config?.disableLoginForm || config?.disablePasswordRegistration) {+ return "sso" as const;+ }+ return config?.hasSmtp === false ? ("noEmail" as const) : ("email" as const);+}diff --git a/apps/web/src/components/admin/user-management/get-sign-in-method-label.test.ts b/apps/web/src/components/admin/user-management/get-sign-in-method-label.test.tsnew file mode 100644index 000000000..51f3da4a3--- /dev/null+++ b/apps/web/src/components/admin/user-management/get-sign-in-method-label.test.ts@@ -0,0 +1,26 @@+import { describe, expect, it } from "vite-plus/test";+import { getSignInMethodLabel } from "./get-sign-in-method-label";++const t = (key: string) => `t:${key}`;++describe("getSignInMethodLabel", () => {+ it("names passwords and built-in providers", () => {+ expect(getSignInMethodLabel("credential", t, null)).toBe(+ "t:settings:adminUsers.details.methods.password",+ );+ expect(getSignInMethodLabel("github", t, null)).toBe(+ "t:auth:providers.github",+ );+ });++ it("uses the configured OIDC provider name", () => {+ expect(getSignInMethodLabel("custom", t, "Acme ID")).toBe("Acme ID");+ expect(getSignInMethodLabel("custom", t, null)).toBe(+ "t:auth:providers.sso",+ );+ });++ it("shows unknown provider ids as they are", () => {+ expect(getSignInMethodLabel("magic-link", t, null)).toBe("magic-link");+ });+});diff --git a/apps/web/src/components/admin/user-management/get-sign-in-method-label.ts b/apps/web/src/components/admin/user-management/get-sign-in-method-label.tsnew file mode 100644index 000000000..97902ef7d--- /dev/null+++ b/apps/web/src/components/admin/user-management/get-sign-in-method-label.ts@@ -0,0 +1,19 @@+type Translate = (key: string) => string;++const METHOD_LABEL_KEYS = new Map([+ ["credential", "settings:adminUsers.details.methods.password"],+ ["github", "auth:providers.github"],+ ["google", "auth:providers.google"],+ ["discord", "auth:providers.discord"],+]);++/** Human name for an account provider id; `custom` is the configured OIDC provider. */+export function getSignInMethodLabel(+ method: string,+ t: Translate,+ customOAuthName: string | null | undefined,+) {+ if (method === "custom") return customOAuthName || t("auth:providers.sso");+ const key = METHOD_LABEL_KEYS.get(method);+ return key ? t(key) : method;+}diff --git a/apps/web/src/components/admin/user-management/get-user-action-types.test.ts b/apps/web/src/components/admin/user-management/get-user-action-types.test.tsnew file mode 100644index 000000000..fc3dcf644--- /dev/null+++ b/apps/web/src/components/admin/user-management/get-user-action-types.test.ts@@ -0,0 +1,39 @@+import { describe, expect, it } from "vite-plus/test";+import { getUserActionTypes } from "./get-user-action-types";++const options = { isSelf: false, canSendPasswordReset: true };++describe("getUserActionTypes", () => {+ it("offers verification actions only for unverified addresses", () => {+ expect(+ getUserActionTypes({ emailVerified: true, banned: false }, options),+ ).toEqual(["sendPasswordReset", "deactivate", "delete"]);+ expect(+ getUserActionTypes({ emailVerified: false, banned: true }, options),+ ).toEqual([+ "sendPasswordReset",+ "sendVerification",+ "markEmailVerified",+ "reactivate",+ "delete",+ ]);+ });++ it("never offers deactivating or deleting yourself", () => {+ expect(+ getUserActionTypes(+ { emailVerified: true, banned: false },+ { ...options, isSelf: true },+ ),+ ).toEqual(["sendPasswordReset"]);+ });++ it("hides reset links when password sign-in is off", () => {+ expect(+ getUserActionTypes(+ { emailVerified: true, banned: false },+ { ...options, canSendPasswordReset: false },+ ),+ ).toEqual(["deactivate", "delete"]);+ });+});diff --git a/apps/web/src/components/admin/user-management/get-user-action-types.ts b/apps/web/src/components/admin/user-management/get-user-action-types.tsnew file mode 100644index 000000000..a0c8f74d6--- /dev/null+++ b/apps/web/src/components/admin/user-management/get-user-action-types.ts@@ -0,0 +1,22 @@+import type { AdminUser } from "@/hooks/queries/admin/use-admin-users";+import type { UserActionType } from "./pending-user-action";++type Options = {+ isSelf: boolean;+ /** False when password sign-in is turned off on the instance. */+ canSendPasswordReset: boolean;+};++/** The confirmable actions a directory row offers, in menu order. */+export function getUserActionTypes(+ user: Pick<AdminUser, "emailVerified" | "banned">,+ { isSelf, canSendPasswordReset }: Options,+): UserActionType[] {+ const types: UserActionType[] = [];+ if (canSendPasswordReset) types.push("sendPasswordReset");+ if (!user.emailVerified) types.push("sendVerification", "markEmailVerified");+ if (!isSelf) {+ types.push(user.banned ? "reactivate" : "deactivate", "delete");+ }+ return types;+}diff --git a/apps/web/src/components/admin/user-management/instance-role-select.tsx b/apps/web/src/components/admin/user-management/instance-role-select.tsxnew file mode 100644index 000000000..20bae0133--- /dev/null+++ b/apps/web/src/components/admin/user-management/instance-role-select.tsx@@ -0,0 +1,58 @@+import { useTranslation } from "react-i18next";+import {+ Select,+ SelectItem,+ SelectPopup,+ SelectTrigger,+ SelectValue,+} from "@/components/ui/select";++type InstanceRole = "admin" | "user";++type InstanceRoleSelectProps = {+ id: string;+ value: InstanceRole;+ disabled?: boolean;+ onValueChange: (role: InstanceRole) => void;+};++export function InstanceRoleSelect({+ id,+ value,+ disabled,+ onValueChange,+}: InstanceRoleSelectProps) {+ const { t } = useTranslation();++ return (+ <Select+ items={{+ user: t("settings:adminUsers.roles.user"),+ admin: t("settings:adminUsers.roles.admin"),+ }}+ value={value}+ disabled={disabled}+ onValueChange={(next) => {+ if (next === "admin" || next === "user") onValueChange(next);+ }}+ >+ <SelectTrigger id={id}>+ <SelectValue>+ {t(+ value === "admin"+ ? "settings:adminUsers.roles.admin"+ : "settings:adminUsers.roles.user",+ )}+ </SelectValue>+ </SelectTrigger>+ <SelectPopup>+ <SelectItem value="user">+ {t("settings:adminUsers.roles.user")}+ </SelectItem>+ <SelectItem value="admin">+ {t("settings:adminUsers.roles.admin")}+ </SelectItem>+ </SelectPopup>+ </Select>+ );+}diff --git a/apps/web/src/components/admin/user-management/pending-user-action.ts b/apps/web/src/components/admin/user-management/pending-user-action.tsindex 93808a0c0..e87fe9539 100644--- a/apps/web/src/components/admin/user-management/pending-user-action.ts+++ b/apps/web/src/components/admin/user-management/pending-user-action.ts@@ -1,6 +1,14 @@import type { AdminUser } from "@/hooks/queries/admin/use-admin-users";+export type UserActionType =+ | "sendPasswordReset"+ | "sendVerification"+ | "markEmailVerified"+ | "deactivate"+ | "reactivate"+ | "delete";+export type PendingUserAction = {- type: "deactivate" | "reactivate" | "delete";+ type: UserActionType;user: AdminUser;};diff --git a/apps/web/src/components/admin/user-management/user-account-facts.tsx b/apps/web/src/components/admin/user-management/user-account-facts.tsxnew file mode 100644index 000000000..5f26c8a28--- /dev/null+++ b/apps/web/src/components/admin/user-management/user-account-facts.tsx@@ -0,0 +1,66 @@+import { useTranslation } from "react-i18next";+import useGetConfig from "@/hooks/queries/config/use-get-config";+import type { AdminUser } from "@/hooks/queries/admin/use-admin-users";+import {+ formatDateMedium,+ formatDateTime,+ formatRelativeTime,+} from "@/lib/format";+import { getSignInMethodLabel } from "./get-sign-in-method-label";++type UserAccountFactsProps = {+ user: AdminUser;+};++export function UserAccountFacts({ user }: UserAccountFactsProps) {+ const { t } = useTranslation();+ const { data: config } = useGetConfig();+ const methods = user.signInMethods.map((method) =>+ getSignInMethodLabel(method, t, config?.customOAuthName),+ );+ const facts = [+ {+ label: t("settings:adminUsers.details.emailStatus"),+ value: t(+ user.emailVerified+ ? "settings:adminUsers.details.verified"+ : "settings:adminUsers.details.notVerified",+ ),+ },+ {+ label: t("settings:adminUsers.details.signInMethods"),+ value:+ methods.length > 0+ ? methods.join(", ")+ : t("settings:adminUsers.details.noSignInMethods"),+ },+ {+ label: t("settings:adminUsers.columns.lastActive"),+ value: user.lastActiveAt ? (+ <time+ dateTime={user.lastActiveAt}+ title={formatDateTime(user.lastActiveAt)}+ >+ {formatRelativeTime(user.lastActiveAt)}+ </time>+ ) : (+ t("settings:adminUsers.never")+ ),+ },+ {+ label: t("settings:adminUsers.columns.joined"),+ value: formatDateMedium(user.createdAt),+ },+ ];++ return (+ <dl className="grid grid-cols-[auto_1fr] gap-x-4 gap-y-2 rounded-lg border bg-muted/30 px-3.5 py-3 text-[13px]">+ {facts.map((fact) => (+ <div key={fact.label} className="contents">+ <dt className="text-muted-foreground">{fact.label}</dt>+ <dd className="min-w-0 truncate">{fact.value}</dd>+ </div>+ ))}+ </dl>+ );+}diff --git a/apps/web/src/components/admin/user-management/user-action-copy.ts b/apps/web/src/components/admin/user-management/user-action-copy.tsnew file mode 100644index 000000000..69acbe94e--- /dev/null+++ b/apps/web/src/components/admin/user-management/user-action-copy.ts@@ -0,0 +1,54 @@+import type { UserActionType } from "./pending-user-action";++type ActionCopy = {+ menu: string;+ title: string;+ description: string;+ action: string;+ destructive: boolean;+};++export const USER_ACTION_COPY: Record<UserActionType, ActionCopy> = {+ sendPasswordReset: {+ menu: "settings:adminUsers.actions.sendPasswordReset",+ title: "settings:adminUsers.confirm.sendPasswordReset.title",+ description: "settings:adminUsers.confirm.sendPasswordReset.description",+ action: "settings:adminUsers.confirm.sendPasswordReset.action",+ destructive: false,+ },+ sendVerification: {+ menu: "settings:adminUsers.actions.sendVerification",+ title: "settings:adminUsers.confirm.sendVerification.title",+ description: "settings:adminUsers.confirm.sendVerification.description",+ action: "settings:adminUsers.confirm.sendVerification.action",+ destructive: false,+ },+ markEmailVerified: {+ menu: "settings:adminUsers.actions.markEmailVerified",+ title: "settings:adminUsers.confirm.markEmailVerified.title",+ description: "settings:adminUsers.confirm.markEmailVerified.description",+ action: "settings:adminUsers.confirm.markEmailVerified.action",+ destructive: false,+ },+ deactivate: {+ menu: "settings:adminUsers.actions.deactivate",+ title: "settings:adminUsers.confirm.deactivate.title",+ description: "settings:adminUsers.confirm.deactivate.description",+ action: "settings:adminUsers.confirm.deactivate.action",+ destructive: true,+ },+ reactivate: {+ menu: "settings:adminUsers.actions.reactivate",+ title: "settings:adminUsers.confirm.reactivate.title",+ description: "settings:adminUsers.confirm.reactivate.description",+ action: "settings:adminUsers.confirm.reactivate.action",+ destructive: false,+ },+ delete: {+ menu: "common:actions.delete",+ title: "settings:adminUsers.confirm.delete.title",+ description: "settings:adminUsers.confirm.delete.description",+ action: "settings:adminUsers.confirm.delete.action",+ destructive: true,+ },+};diff --git a/apps/web/src/components/admin/user-management/user-avatar-field.tsx b/apps/web/src/components/admin/user-management/user-avatar-field.tsxnew file mode 100644index 000000000..5fe5b0d91--- /dev/null+++ b/apps/web/src/components/admin/user-management/user-avatar-field.tsx@@ -0,0 +1,108 @@+import { Loader2 } from "lucide-react";+import { type ChangeEvent, useRef, useState } from "react";+import { useTranslation } from "react-i18next";+import { DirectoryAvatar } from "@/components/admin/directory/directory-avatar";+import { Button } from "@/components/ui/button";+import useRemoveAdminUserAvatar from "@/hooks/mutations/admin/use-remove-admin-user-avatar";+import useSetAdminUserAvatar from "@/hooks/mutations/admin/use-set-admin-user-avatar";+import type { AdminUser } from "@/hooks/queries/admin/use-admin-users";+import useGetConfig from "@/hooks/queries/config/use-get-config";+import { ACCEPTED_AVATAR_TYPES } from "@/lib/prepare-avatar-image";++const KANEO_UPLOAD_PREFIX = "/api/user/avatar/";++type UserAvatarFieldProps = {+ user: AdminUser;+};++/**+ * Change or remove another user's picture. As in self-service, a picture+ * the identity provider manages can't be replaced, only a Kaneo upload removed.+ */+export function UserAvatarField({ user }: UserAvatarFieldProps) {+ const { t } = useTranslation();+ const { data: config } = useGetConfig();+ const inputRef = useRef<HTMLInputElement>(null);+ const [image, setImage] = useState(user.image);+ const { mutateAsync: setAvatar, isPending: isUploading } =+ useSetAdminUserAvatar();+ const { mutateAsync: removeAvatar, isPending: isRemoving } =+ useRemoveAdminUserAvatar();+ const isBusy = isUploading || isRemoving;+ const managed =+ user.signInMethods.includes("custom") &&+ Boolean(config?.customOAuthManagedProfileFields?.includes("image"));+ const canRemove = managed+ ? Boolean(image?.startsWith(KANEO_UPLOAD_PREFIX))+ : Boolean(image);++ const handleSelected = async (event: ChangeEvent<HTMLInputElement>) => {+ const file = event.target.files?.[0];+ event.target.value = "";+ if (!file) return;+ try {+ const result = await setAvatar({ userId: user.id, file });+ setImage(result.image);+ } catch {+ return;+ }+ };++ const handleRemove = async () => {+ try {+ await removeAvatar(user.id);+ setImage(null);+ } catch {+ return;+ }+ };++ return (+ <div className="flex items-center gap-3">+ <DirectoryAvatar name={user.name} image={image} className="size-10" />+ <p className="min-w-0 flex-1 text-xs text-muted-foreground">+ {t(+ managed+ ? "settings:adminUsers.details.avatarManaged"+ : "settings:adminUsers.details.avatarHint",+ )}+ </p>+ <div className="flex shrink-0 items-center gap-1.5">+ {canRemove ? (+ <Button+ type="button"+ variant="ghost"+ size="sm"+ className="text-muted-foreground"+ disabled={isBusy}+ onClick={handleRemove}+ >+ {t("settings:adminUsers.details.removeAvatar")}+ </Button>+ ) : null}+ {managed ? null : (+ <>+ <input+ ref={inputRef}+ type="file"+ accept={ACCEPTED_AVATAR_TYPES}+ className="hidden"+ aria-label={t("settings:adminUsers.details.uploadAvatar")}+ onChange={handleSelected}+ />+ <Button+ type="button"+ variant="outline"+ size="sm"+ disabled={isBusy}+ onClick={() => inputRef.current?.click()}+ >+ {isUploading ? <Loader2 className="animate-spin" /> : null}+ {t("settings:adminUsers.details.uploadAvatar")}+ </Button>+ </>+ )}+ </div>+ </div>+ );+}diff --git a/apps/web/src/components/admin/user-management/user-confirm-dialog.tsx b/apps/web/src/components/admin/user-management/user-confirm-dialog.tsxindex 2ea6d6dfc..8924b4b6a 100644--- a/apps/web/src/components/admin/user-management/user-confirm-dialog.tsx+++ b/apps/web/src/components/admin/user-management/user-confirm-dialog.tsx@@ -2,8 +2,12 @@ import { useState } from "react";import { useTranslation } from "react-i18next";import { ConfirmDialog } from "@/components/settings/confirm-dialog";import useDeleteAdminUser from "@/hooks/mutations/admin/use-delete-admin-user";+import useMarkAdminUserEmailVerified from "@/hooks/mutations/admin/use-mark-admin-user-email-verified";+import useSendAdminUserPasswordReset from "@/hooks/mutations/admin/use-send-admin-user-password-reset";+import useSendAdminUserVerificationEmail from "@/hooks/mutations/admin/use-send-admin-user-verification-email";import useToggleAdminUserStatus from "@/hooks/mutations/admin/use-toggle-admin-user-status";import type { PendingUserAction } from "./pending-user-action";+import { USER_ACTION_COPY } from "./user-action-copy";type UserConfirmDialogProps = {action: PendingUserAction | null;@@ -13,63 +17,57 @@ type UserConfirmDialogProps = {export function UserConfirmDialog({ action, onClose }: UserConfirmDialogProps) {const { t } = useTranslation();const [shownAction, setShownAction] = useState(action);- const { mutateAsync: toggleUserStatus, isPending: isToggling } =- useToggleAdminUserStatus();- const { mutateAsync: deleteUser, isPending: isDeleting } =- useDeleteAdminUser();- const isPending = isToggling || isDeleting;+ const toggleStatus = useToggleAdminUserStatus();+ const deleteUser = useDeleteAdminUser();+ const sendPasswordReset = useSendAdminUserPasswordReset();+ const sendVerification = useSendAdminUserVerificationEmail();+ const markEmailVerified = useMarkAdminUserEmailVerified();+ const isPending = [+ toggleStatus,+ deleteUser,+ sendPasswordReset,+ sendVerification,+ markEmailVerified,+ ].some((mutation) => mutation.isPending);if (action && action !== shownAction) {setShownAction(action);}+ const run = ({ type, user }: PendingUserAction) => {+ switch (type) {+ case "delete":+ return deleteUser.mutateAsync(user.id);+ case "deactivate":+ case "reactivate":+ return toggleStatus.mutateAsync({+ userId: user.id,+ deactivate: type === "deactivate",+ });+ case "sendPasswordReset":+ return sendPasswordReset.mutateAsync(user);+ case "sendVerification":+ return sendVerification.mutateAsync(user);+ case "markEmailVerified":+ return markEmailVerified.mutateAsync(user);+ }+ };+const handleConfirm = async () => {if (!action) return;-try {- if (action.type === "delete") {- await deleteUser(action.user.id);- } else {- await toggleUserStatus({- userId: action.user.id,- deactivate: action.type === "deactivate",- });- }+ await run(action);onClose();} catch {return;}};- const type = shownAction?.type ?? "delete";- const values = { name: shownAction?.user.name ?? "" };- const copy =- type === "deactivate"- ? {- title: t("settings:adminUsers.confirm.deactivate.title"),- description: t(- "settings:adminUsers.confirm.deactivate.description",- values,- ),- action: t("settings:adminUsers.confirm.deactivate.action"),- }- : type === "reactivate"- ? {- title: t("settings:adminUsers.confirm.reactivate.title"),- description: t(- "settings:adminUsers.confirm.reactivate.description",- values,- ),- action: t("settings:adminUsers.confirm.reactivate.action"),- }- : {- title: t("settings:adminUsers.confirm.delete.title"),- description: t(- "settings:adminUsers.confirm.delete.description",- values,- ),- action: t("settings:adminUsers.confirm.delete.action"),- };+ const copy = USER_ACTION_COPY[shownAction?.type ?? "delete"];+ const values = {+ name: shownAction?.user.name ?? "",+ email: shownAction?.user.email ?? "",+ };return (<ConfirmDialog@@ -77,12 +75,12 @@ export function UserConfirmDialog({ action, onClose }: UserConfirmDialogProps) {onOpenChange={(open) => {if (!open && !isPending) onClose();}}- title={copy.title}- description={copy.description}- confirmLabel={copy.action}+ title={t(copy.title)}+ description={t(copy.description, values)}+ confirmLabel={t(copy.action)}pendingLabel={t("settings:adminUsers.confirm.working")}pending={isPending}- destructive={type !== "reactivate"}+ destructive={copy.destructive}onConfirm={handleConfirm}/>);diff --git a/apps/web/src/components/admin/user-management/user-directory-columns.ts b/apps/web/src/components/admin/user-management/user-directory-columns.tsindex 00e0cc70f..f73316266 100644--- a/apps/web/src/components/admin/user-management/user-directory-columns.ts+++ b/apps/web/src/components/admin/user-management/user-directory-columns.ts@@ -1,6 +1,7 @@export const USER_DIRECTORY_COLUMNS = {role: "w-20",status: "w-26",+ lastActive: "w-26",joined: "w-22",actions: "w-7",} as const;diff --git a/apps/web/src/components/admin/user-management/user-directory-filters.tsx b/apps/web/src/components/admin/user-management/user-directory-filters.tsxnew file mode 100644index 000000000..676740ec6--- /dev/null+++ b/apps/web/src/components/admin/user-management/user-directory-filters.tsx@@ -0,0 +1,63 @@+import { useTranslation } from "react-i18next";+import { Button } from "@/components/ui/button";+import { UserFilterSelect } from "./user-filter-select";+import {+ hasUserFilters,+ NO_USER_FILTERS,+ USER_FILTER_OPTIONS,+ type UserFilterValues,+} from "./user-filters";++type UserDirectoryFiltersProps = {+ values: UserFilterValues;+ onChange: (values: UserFilterValues) => void;+};++export function UserDirectoryFilters({+ values,+ onChange,+}: UserDirectoryFiltersProps) {+ const { t } = useTranslation();+ const set =+ <Key extends keyof UserFilterValues>(key: Key) =>+ (value: UserFilterValues[Key]) =>+ onChange({ ...values, [key]: value });++ return (+ <div+ role="group"+ aria-label={t("settings:adminUsers.filters.label")}+ className="flex flex-col gap-2 sm:flex-row sm:items-center"+ >+ <UserFilterSelect+ label={t("settings:adminUsers.filters.status")}+ value={values.status}+ options={USER_FILTER_OPTIONS.status}+ onValueChange={set("status")}+ />+ <UserFilterSelect+ label={t("settings:adminUsers.filters.role")}+ value={values.role}+ options={USER_FILTER_OPTIONS.role}+ onValueChange={set("role")}+ />+ <UserFilterSelect+ label={t("settings:adminUsers.filters.email")}+ value={values.emailVerified}+ options={USER_FILTER_OPTIONS.emailVerified}+ onValueChange={set("emailVerified")}+ />+ {hasUserFilters(values) ? (+ <Button+ type="button"+ variant="ghost"+ size="sm"+ className="text-muted-foreground"+ onClick={() => onChange(NO_USER_FILTERS)}+ >+ {t("settings:adminUsers.filters.clear")}+ </Button>+ ) : null}+ </div>+ );+}diff --git a/apps/web/src/components/admin/user-management/user-directory-head.tsx b/apps/web/src/components/admin/user-management/user-directory-head.tsxindex 69d607710..cbade8c37 100644--- a/apps/web/src/components/admin/user-management/user-directory-head.tsx+++ b/apps/web/src/components/admin/user-management/user-directory-head.tsx@@ -24,6 +24,12 @@ export function UserDirectoryHead() {>{t("settings:adminUsers.columns.status")}</div>+ <div+ role="columnheader"+ className={cn(HEADER_CLASS, USER_DIRECTORY_COLUMNS.lastActive)}+ >+ {t("settings:adminUsers.columns.lastActive")}+ </div><divrole="columnheader"className={cn(HEADER_CLASS, USER_DIRECTORY_COLUMNS.joined)}diff --git a/apps/web/src/components/admin/user-management/user-directory-row.tsx b/apps/web/src/components/admin/user-management/user-directory-row.tsxindex 3814ca90d..b40953197 100644--- a/apps/web/src/components/admin/user-management/user-directory-row.tsx+++ b/apps/web/src/components/admin/user-management/user-directory-row.tsx@@ -1,6 +1,10 @@import {+ BadgeCheckIcon,BanIcon,CheckCircle2Icon,+ KeyRoundIcon,+ type LucideIcon,+ MailIcon,PencilIcon,Trash2Icon,} from "lucide-react";@@ -12,18 +16,34 @@ import {} from "@/components/settings/row-actions-menu";import type { AdminUser } from "@/hooks/queries/admin/use-admin-users";import { cn } from "@/lib/cn";-import { formatDateMedium } from "@/lib/format";+import {+ formatDateMedium,+ formatDateTime,+ formatRelativeTime,+} from "@/lib/format";import { hasInstanceAdminRole } from "@/lib/instance-admin";-import type { PendingUserAction } from "./pending-user-action";+import { getUserActionTypes } from "./get-user-action-types";+import type { UserActionType } from "./pending-user-action";+import { USER_ACTION_COPY } from "./user-action-copy";import { USER_DIRECTORY_COLUMNS } from "./user-directory-columns";import { UserRoleBadge } from "./user-role-badge";import { UserStatus } from "./user-status";+const ACTION_ICONS: Record<UserActionType, LucideIcon> = {+ sendPasswordReset: KeyRoundIcon,+ sendVerification: MailIcon,+ markEmailVerified: BadgeCheckIcon,+ deactivate: BanIcon,+ reactivate: CheckCircle2Icon,+ delete: Trash2Icon,+};+type UserDirectoryRowProps = {user: AdminUser;isSelf: boolean;+ canSendPasswordReset: boolean;onEdit: () => void;- onAction: (type: PendingUserAction["type"]) => void;+ onAction: (type: UserActionType) => void;};const CELL_CLASS = "hidden shrink-0 sm:flex";@@ -31,6 +51,7 @@ const CELL_CLASS = "hidden shrink-0 sm:flex";export function UserDirectoryRow({user,isSelf,+ canSendPasswordReset,onEdit,onAction,}: UserDirectoryRowProps) {@@ -45,31 +66,16 @@ export function UserDirectoryRow({icon: PencilIcon,onSelect: onEdit,},+ ...getUserActionTypes(user, { isSelf, canSendPasswordReset }).map(+ (type) => ({+ id: type,+ label: t(USER_ACTION_COPY[type].menu),+ icon: ACTION_ICONS[type],+ destructive: type === "delete",+ onSelect: () => onAction(type),+ }),+ ),];- if (!isSelf) {- actions.push(- isDeactivated- ? {- id: "reactivate",- label: t("settings:adminUsers.actions.reactivate"),- icon: CheckCircle2Icon,- onSelect: () => onAction("reactivate"),- }- : {- id: "deactivate",- label: t("settings:adminUsers.actions.deactivate"),- icon: BanIcon,- onSelect: () => onAction("deactivate"),- },- {- id: "delete",- label: t("common:actions.delete"),- icon: Trash2Icon,- destructive: true,- onSelect: () => onAction("delete"),- },- );- }return (<div role="row" className="flex items-center gap-4 px-4 py-3">@@ -84,8 +90,13 @@ export function UserDirectoryRow({</span>) : null}</div>- <span className="block truncate text-xs text-muted-foreground">- {user.email}+ <span className="flex min-w-0 items-center gap-1.5 text-xs text-muted-foreground">+ <span className="truncate">{user.email}</span>+ {user.emailVerified ? null : (+ <span className="shrink-0 text-warning-foreground">+ {t("settings:adminUsers.unverified")}+ </span>+ )}</span><div className="mt-1.5 flex items-center gap-2 sm:hidden"><UserRoleBadge isAdmin={isAdmin} />@@ -102,6 +113,26 @@ export function UserDirectoryRow({><UserStatus isDeactivated={isDeactivated} /></div>+ <div+ role="cell"+ className={cn(+ CELL_CLASS,+ USER_DIRECTORY_COLUMNS.lastActive,+ "text-[13px] text-muted-foreground tabular-nums",+ )}+ >+ {user.lastActiveAt ? (+ <time+ dateTime={user.lastActiveAt}+ title={formatDateTime(user.lastActiveAt)}+ className="truncate"+ >+ {formatRelativeTime(user.lastActiveAt)}+ </time>+ ) : (+ t("settings:adminUsers.never")+ )}+ </div><divrole="cell"className={cn(diff --git a/apps/web/src/components/admin/user-management/user-filter-select.tsx b/apps/web/src/components/admin/user-management/user-filter-select.tsxnew file mode 100644index 000000000..fdbc24379--- /dev/null+++ b/apps/web/src/components/admin/user-management/user-filter-select.tsx@@ -0,0 +1,51 @@+import { useTranslation } from "react-i18next";+import {+ Select,+ SelectItem,+ SelectPopup,+ SelectTrigger,+ SelectValue,+} from "@/components/ui/select";++type UserFilterSelectProps<Value extends string> = {+ label: string;+ value: Value;+ options: readonly { value: Value; labelKey: string }[];+ onValueChange: (value: Value) => void;+};++export function UserFilterSelect<Value extends string>({+ label,+ value,+ options,+ onValueChange,+}: UserFilterSelectProps<Value>) {+ const { t } = useTranslation();+ const items = options.map((option) => ({+ value: option.value,+ label: t(option.labelKey),+ }));+ const selected = items.find((item) => item.value === value) ?? items[0];++ return (+ <Select+ items={items}+ value={value}+ onValueChange={(next) => {+ const option = options.find((candidate) => candidate.value === next);+ if (option) onValueChange(option.value);+ }}+ >+ <SelectTrigger size="sm" aria-label={label} className="w-full sm:w-36">+ <SelectValue>{selected?.label}</SelectValue>+ </SelectTrigger>+ <SelectPopup>+ {items.map((item) => (+ <SelectItem key={item.value || "any"} value={item.value}>+ {item.label}+ </SelectItem>+ ))}+ </SelectPopup>+ </Select>+ );+}diff --git a/apps/web/src/components/admin/user-management/user-filters.test.ts b/apps/web/src/components/admin/user-management/user-filters.test.tsnew file mode 100644index 000000000..133b7eab1--- /dev/null+++ b/apps/web/src/components/admin/user-management/user-filters.test.ts@@ -0,0 +1,24 @@+import { describe, expect, it } from "vite-plus/test";+import {+ hasUserFilters,+ NO_USER_FILTERS,+ toAdminUserFilters,+} from "./user-filters";++describe("toAdminUserFilters", () => {+ it("sends only the filters that are set", () => {+ expect(toAdminUserFilters(NO_USER_FILTERS)).toEqual({});+ expect(+ toAdminUserFilters({+ status: "deactivated",+ role: "",+ emailVerified: "false",+ }),+ ).toEqual({ status: "deactivated", emailVerified: "false" });+ });++ it("knows when any filter is set", () => {+ expect(hasUserFilters(NO_USER_FILTERS)).toBe(false);+ expect(hasUserFilters({ ...NO_USER_FILTERS, role: "admin" })).toBe(true);+ });+});diff --git a/apps/web/src/components/admin/user-management/user-filters.ts b/apps/web/src/components/admin/user-management/user-filters.tsnew file mode 100644index 000000000..b56202576--- /dev/null+++ b/apps/web/src/components/admin/user-management/user-filters.ts@@ -0,0 +1,45 @@+import type { AdminUserFilters } from "@/fetchers/admin/types";++/** Select values for the directory filters; "" means any. */+export type UserFilterValues = {+ status: "" | NonNullable<AdminUserFilters["status"]>;+ role: "" | NonNullable<AdminUserFilters["role"]>;+ emailVerified: "" | NonNullable<AdminUserFilters["emailVerified"]>;+};++export const NO_USER_FILTERS: UserFilterValues = {+ status: "",+ role: "",+ emailVerified: "",+};++export const USER_FILTER_OPTIONS = {+ status: [+ { value: "", labelKey: "settings:adminUsers.filters.anyStatus" },+ { value: "active", labelKey: "settings:adminUsers.status.active" },+ {+ value: "deactivated",+ labelKey: "settings:adminUsers.status.deactivated",+ },+ ],+ role: [+ { value: "", labelKey: "settings:adminUsers.filters.anyRole" },+ { value: "admin", labelKey: "settings:adminUsers.roles.admin" },+ { value: "user", labelKey: "settings:adminUsers.roles.user" },+ ],+ emailVerified: [+ { value: "", labelKey: "settings:adminUsers.filters.anyEmail" },+ { value: "true", labelKey: "settings:adminUsers.filters.verified" },+ { value: "false", labelKey: "settings:adminUsers.filters.unverified" },+ ],+} as const;++export function toAdminUserFilters(values: UserFilterValues): AdminUserFilters {+ return Object.fromEntries(+ Object.entries(values).filter(([, value]) => value !== ""),+ ) as AdminUserFilters;+}++export function hasUserFilters(values: UserFilterValues) {+ return Object.values(values).some((value) => value !== "");+}diff --git a/apps/web/src/components/admin/user-management/user-management-panel.test.tsx b/apps/web/src/components/admin/user-management/user-management-panel.test.tsxindex 00325ebab..5fc8c4ff1 100644--- a/apps/web/src/components/admin/user-management/user-management-panel.test.tsx+++ b/apps/web/src/components/admin/user-management/user-management-panel.test.tsx@@ -47,6 +47,55 @@ vi.mock("@/hooks/mutations/admin/use-toggle-admin-user-status", () => ({vi.mock("@/hooks/mutations/admin/use-delete-admin-user", () => ({default: () => ({ mutateAsync: deleteUserMock, isPending: false }),}));+const { credentialMocks } = vi.hoisted(() => ({+ credentialMocks: {+ sendPasswordReset: vi.fn(),+ sendVerification: vi.fn(),+ markEmailVerified: vi.fn(),+ createUser: vi.fn(),+ },+}));+vi.mock("@/hooks/mutations/admin/use-send-admin-user-password-reset", () => ({+ default: () => ({+ mutateAsync: credentialMocks.sendPasswordReset,+ isPending: false,+ }),+}));+vi.mock(+ "@/hooks/mutations/admin/use-send-admin-user-verification-email",+ () => ({+ default: () => ({+ mutateAsync: credentialMocks.sendVerification,+ isPending: false,+ }),+ }),+);+vi.mock("@/hooks/mutations/admin/use-mark-admin-user-email-verified", () => ({+ default: () => ({+ mutateAsync: credentialMocks.markEmailVerified,+ isPending: false,+ }),+}));+vi.mock("@/hooks/mutations/admin/use-create-admin-user", () => ({+ default: () => ({+ mutateAsync: credentialMocks.createUser,+ isPending: false,+ }),+}));+vi.mock("@/hooks/mutations/admin/use-set-admin-user-avatar", () => ({+ default: () => ({ mutateAsync: vi.fn(), isPending: false }),+}));+vi.mock("@/hooks/mutations/admin/use-remove-admin-user-avatar", () => ({+ default: () => ({ mutateAsync: vi.fn(), isPending: false }),+}));+const { configMock } = vi.hoisted(() => ({+ configMock: {+ data: { hasSmtp: true, disableLoginForm: false } as Record<string, unknown>,+ },+}));+vi.mock("@/hooks/queries/config/use-get-config", () => ({+ default: () => configMock,+}));const useAdminUsersMock = vi.mocked(useAdminUsers);@@ -63,6 +112,8 @@ function user(overrides: Partial<AdminUser> = {}): AdminUser {banned: false,banReason: null,banExpires: null,+ lastActiveAt: null,+ signInMethods: ["credential"],...overrides,};}@@ -142,6 +193,11 @@ beforeEach(() => {toggleStatusMock.mockResolvedValue(undefined);deleteUserMock.mockReset();deleteUserMock.mockResolvedValue(undefined);+ for (const mock of Object.values(credentialMocks)) {+ mock.mockReset();+ mock.mockResolvedValue(undefined);+ }+ configMock.data = { hasSmtp: true, disableLoginForm: false };});afterEach(() => {@@ -413,4 +469,164 @@ describe("UserManagementPanel", () => {await waitFor(() => expect(deleteUserMock).toHaveBeenCalledWith("user-1"));expect(toggleStatusMock).not.toHaveBeenCalled();});++ it("sends a password reset link only after confirmation", async () => {+ vi.useRealTimers();+ useAdminUsersMock.mockReturnValue(success(1));+ render(<UserManagementPanel />);++ openRowMenu();+ fireEvent.click(+ await screen.findByRole("menuitem", {+ name: "settings:adminUsers.actions.sendPasswordReset",+ }),+ );+ expect(credentialMocks.sendPasswordReset).not.toHaveBeenCalled();+ const confirm = await screen.findByRole("alertdialog");+ fireEvent.click(+ within(confirm).getByRole("button", {+ name: "settings:adminUsers.confirm.sendPasswordReset.action",+ }),+ );++ await waitFor(() =>+ expect(credentialMocks.sendPasswordReset).toHaveBeenCalledWith(+ expect.objectContaining({ id: "user-1", email: "[email protected]" }),+ ),+ );+ });++ it("hides reset links when password sign-in is off", async () => {+ vi.useRealTimers();+ configMock.data = { hasSmtp: true, disableLoginForm: true };+ useAdminUsersMock.mockReturnValue(success(1));+ render(<UserManagementPanel />);++ openRowMenu();+ await screen.findByRole("menuitem", {+ name: "settings:adminUsers.actions.edit",+ });+ expect(+ screen.queryByRole("menuitem", {+ name: "settings:adminUsers.actions.sendPasswordReset",+ }),+ ).toBeNull();+ });++ it("offers verification actions for an unverified address", async () => {+ vi.useRealTimers();+ useAdminUsersMock.mockReturnValue(+ success(1, [user({ emailVerified: false })]),+ );+ render(<UserManagementPanel />);++ expect(screen.getByText("settings:adminUsers.unverified")).toBeTruthy();+ openRowMenu();+ expect(+ await screen.findByRole("menuitem", {+ name: "settings:adminUsers.actions.sendVerification",+ }),+ ).toBeTruthy();+ fireEvent.click(+ screen.getByRole("menuitem", {+ name: "settings:adminUsers.actions.markEmailVerified",+ }),+ );+ const confirm = await screen.findByRole("alertdialog");+ fireEvent.click(+ within(confirm).getByRole("button", {+ name: "settings:adminUsers.confirm.markEmailVerified.action",+ }),+ );++ await waitFor(() =>+ expect(credentialMocks.markEmailVerified).toHaveBeenCalledWith(+ expect.objectContaining({ id: "user-1" }),+ ),+ );+ expect(credentialMocks.sendVerification).not.toHaveBeenCalled();+ });++ it("passes filters to the query and returns to the first page", async () => {+ useAdminUsersMock.mockReturnValue(success(60));+ render(<UserManagementPanel />);+ act(() => {+ vi.advanceTimersByTime(300);+ });+ goToThirdPage();+ vi.useRealTimers();++ fireEvent.click(+ screen.getByRole("combobox", {+ name: "settings:adminUsers.filters.status",+ }),+ { detail: 1 },+ );+ const option = await screen.findByRole("option", {+ name: "settings:adminUsers.status.deactivated",+ });+ fireEvent.pointerDown(option);+ fireEvent.mouseDown(option);+ fireEvent.pointerUp(option);+ fireEvent.mouseUp(option);+ fireEvent.click(option, { detail: 1 });++ await waitFor(() =>+ expect(useAdminUsersMock.mock.calls.at(-1)?.[2]).toEqual({+ status: "deactivated",+ }),+ );+ expect(lastPageArgument()).toBe(0);+ });++ it("creates a user without asking for a password", async () => {+ vi.useRealTimers();+ useAdminUsersMock.mockReturnValue(success(1));+ render(<UserManagementPanel />);++ fireEvent.click(+ screen.getByRole("button", { name: "settings:adminUsers.create.open" }),+ );+ const dialog = await screen.findByRole("dialog");+ expect(+ within(dialog).getByText("settings:adminUsers.create.hintEmail"),+ ).toBeTruthy();+ expect(dialog.querySelector('input[type="password"]')).toBeNull();+ fireEvent.change(+ within(dialog).getByLabelText("settings:adminUsers.edit.name"),+ { target: { value: " Nora New " } },+ );+ fireEvent.change(+ within(dialog).getByLabelText("settings:adminUsers.edit.email"),+ { target: { value: "[email protected]" } },+ );+ fireEvent.click(+ within(dialog).getByRole("button", {+ name: "settings:adminUsers.create.submit",+ }),+ );++ await waitFor(() =>+ expect(credentialMocks.createUser).toHaveBeenCalledWith({+ name: "Nora New",+ email: "[email protected]",+ role: "user",+ }),+ );+ });++ it("explains single sign-on accounts when password registration is off", async () => {+ vi.useRealTimers();+ configMock.data = { hasSmtp: true, disablePasswordRegistration: true };+ useAdminUsersMock.mockReturnValue(success(1));+ render(<UserManagementPanel />);++ fireEvent.click(+ screen.getByRole("button", { name: "settings:adminUsers.create.open" }),+ );+ const dialog = await screen.findByRole("dialog");+ expect(+ within(dialog).getByText("settings:adminUsers.create.hintSso"),+ ).toBeTruthy();+ });});diff --git a/apps/web/src/components/admin/user-management/user-management-panel.tsx b/apps/web/src/components/admin/user-management/user-management-panel.tsxindex eb74f7299..7d7d7039c 100644--- a/apps/web/src/components/admin/user-management/user-management-panel.tsx+++ b/apps/web/src/components/admin/user-management/user-management-panel.tsx@@ -1,4 +1,4 @@-import { UsersRoundIcon } from "lucide-react";+import { UserPlusIcon, UsersRoundIcon } from "lucide-react";import { useState } from "react";import { useTranslation } from "react-i18next";import { DirectoryErrorRow } from "@/components/admin/directory/directory-error-row";@@ -19,17 +19,29 @@ import useAdminUsers, {ADMIN_USERS_SEARCH_MAX_LENGTH,type AdminUser,} from "@/hooks/queries/admin/use-admin-users";+import useGetConfig from "@/hooks/queries/config/use-get-config";+import { CreateUserDialog } from "./create-user-dialog";import { EditUserDialog } from "./edit-user-dialog";import type { PendingUserAction } from "./pending-user-action";import { UserConfirmDialog } from "./user-confirm-dialog";import { UserDirectoryHead } from "./user-directory-head";+import { UserDirectoryFilters } from "./user-directory-filters";import { UserDirectoryRow } from "./user-directory-row";+import {+ hasUserFilters,+ NO_USER_FILTERS,+ toAdminUserFilters,+ type UserFilterValues,+} from "./user-filters";function UserManagementPanel() {const { t } = useTranslation();const { user: currentUser } = useAuth();const { search, setSearch, debouncedSearch, page, setPage } =useDirectoryPaging();+ const { data: config } = useGetConfig();+ const [filters, setFilters] = useState<UserFilterValues>(NO_USER_FILTERS);+ const [isCreating, setIsCreating] = useState(false);const [editingUser, setEditingUser] = useState<AdminUser | null>(null);const [pendingAction, setPendingAction] = useState<PendingUserAction | null>(null,@@ -38,12 +50,14 @@ function UserManagementPanel() {const { data, isLoading, isFetching, isError, refetch } = useAdminUsers(debouncedSearch,page,+ toAdminUserFilters(filters),);const total = data?.total ?? 0;const pageCount = getPageCount(total, ADMIN_USERS_PAGE_SIZE);const users = data?.users ?? [];- const isSearchActive = debouncedSearch.trim().length > 0;+ const isSearchActive =+ debouncedSearch.trim().length > 0 || hasUserFilters(filters);const hasError = !isLoading && isError;const isEmpty = !isLoading && !isError && users.length === 0;const countLabel = !data@@ -56,10 +70,21 @@ function UserManagementPanel() {setPage(pageCount - 1);}+ const changeFilters = (next: UserFilterValues) => {+ setFilters(next);+ setPage(0);+ };+return (<SettingsPagetitle={t("settings:adminUsers.title")}description={t("settings:adminUsers.subtitle")}+ actions={+ <Button type="button" size="sm" onClick={() => setIsCreating(true)}>+ <UserPlusIcon aria-hidden="true" />+ {t("settings:adminUsers.create.open")}+ </Button>+ }><SettingsSectiontitle={@@ -83,6 +108,7 @@ function UserManagementPanel() {/>}>+ <UserDirectoryFilters values={filters} onChange={changeFilters} /><SettingsCard>{hasError ? (<DirectoryErrorRow@@ -96,12 +122,15 @@ function UserManagementPanel() {title={t("settings:adminUsers.emptyTitle")}description={t("settings:adminUsers.emptyDescription")}action={- search ? (+ search || hasUserFilters(filters) ? (<Buttontype="button"variant="ghost"size="sm"- onClick={() => setSearch("")}+ onClick={() => {+ setSearch("");+ changeFilters(NO_USER_FILTERS);+ }}>{t("settings:adminUsers.clearSearch")}</Button>@@ -123,6 +152,7 @@ function UserManagementPanel() {key={user.id}user={user}isSelf={user.id === currentUser?.id}+ canSendPasswordReset={config?.disableLoginForm !== true}onEdit={() => setEditingUser(user)}onAction={(type) => setPendingAction({ type, user })}/>@@ -147,6 +177,8 @@ function UserManagementPanel() {</SettingsCard></SettingsSection>+ <CreateUserDialog open={isCreating} onOpenChange={setIsCreating} />+<EditUserDialoguser={editingUser}currentUserId={currentUser?.id}diff --git a/apps/web/src/fetchers/admin/create-admin-user.ts b/apps/web/src/fetchers/admin/create-admin-user.tsnew file mode 100644index 000000000..764a0c0ea--- /dev/null+++ b/apps/web/src/fetchers/admin/create-admin-user.ts@@ -0,0 +1,13 @@+import { client } from "@kaneo/libs";+import { HttpError } from "@/lib/http-error";+import type { CreateAdminUserRequest } from "./types";++export async function createAdminUser(request: CreateAdminUserRequest) {+ const response = await client.admin.users.$post({ json: request });++ if (!response.ok) {+ throw await HttpError.fromResponse(response);+ }++ return response.json();+}diff --git a/apps/web/src/fetchers/admin/get-admin-users.ts b/apps/web/src/fetchers/admin/get-admin-users.tsindex faf5f9331..ba290265b 100644--- a/apps/web/src/fetchers/admin/get-admin-users.ts+++ b/apps/web/src/fetchers/admin/get-admin-users.ts@@ -1,14 +1,23 @@import { client } from "@kaneo/libs";import { HttpError } from "@/lib/http-error";-import { ADMIN_USERS_PAGE_SIZE, ADMIN_USERS_SEARCH_MAX_LENGTH } from "./types";+import {+ ADMIN_USERS_PAGE_SIZE,+ ADMIN_USERS_SEARCH_MAX_LENGTH,+ type AdminUserFilters,+} from "./types";-export async function getAdminUsers(search: string, page: number) {+export async function getAdminUsers(+ search: string,+ page: number,+ filters: AdminUserFilters = {},+) {const normalizedSearch = search.trim().slice(0, ADMIN_USERS_SEARCH_MAX_LENGTH);const response = await client.admin.users.$get({query: {...(normalizedSearch ? { search: normalizedSearch } : {}),+ ...filters,page: String(page + 1),limit: String(ADMIN_USERS_PAGE_SIZE),},diff --git a/apps/web/src/fetchers/admin/mark-admin-user-email-verified.ts b/apps/web/src/fetchers/admin/mark-admin-user-email-verified.tsnew file mode 100644index 000000000..ca7bf0683--- /dev/null+++ b/apps/web/src/fetchers/admin/mark-admin-user-email-verified.ts@@ -0,0 +1,14 @@+import { client } from "@kaneo/libs";+import { HttpError } from "@/lib/http-error";++export async function markAdminUserEmailVerified(userId: string) {+ const response = await client.admin.users[":userId"]["email-verified"].$put({+ param: { userId },+ });++ if (!response.ok) {+ throw await HttpError.fromResponse(response);+ }++ return response.json();+}diff --git a/apps/web/src/fetchers/admin/remove-admin-user-avatar.ts b/apps/web/src/fetchers/admin/remove-admin-user-avatar.tsnew file mode 100644index 000000000..71c10921d--- /dev/null+++ b/apps/web/src/fetchers/admin/remove-admin-user-avatar.ts@@ -0,0 +1,14 @@+import { client } from "@kaneo/libs";+import { HttpError } from "@/lib/http-error";++export async function removeAdminUserAvatar(userId: string) {+ const response = await client.admin.users[":userId"].avatar.$delete({+ param: { userId },+ });++ if (!response.ok) {+ throw await HttpError.fromResponse(response);+ }++ return response.json();+}diff --git a/apps/web/src/fetchers/admin/send-admin-user-password-reset.ts b/apps/web/src/fetchers/admin/send-admin-user-password-reset.tsnew file mode 100644index 000000000..05817d115--- /dev/null+++ b/apps/web/src/fetchers/admin/send-admin-user-password-reset.ts@@ -0,0 +1,16 @@+import { client } from "@kaneo/libs";+import { HttpError } from "@/lib/http-error";++export async function sendAdminUserPasswordReset(userId: string) {+ const response = await client.admin.users[":userId"][+ "password-reset-email"+ ].$post({+ param: { userId },+ });++ if (!response.ok) {+ throw await HttpError.fromResponse(response);+ }++ return response.json();+}diff --git a/apps/web/src/fetchers/admin/send-admin-user-verification-email.ts b/apps/web/src/fetchers/admin/send-admin-user-verification-email.tsnew file mode 100644index 000000000..e8104d30d--- /dev/null+++ b/apps/web/src/fetchers/admin/send-admin-user-verification-email.ts@@ -0,0 +1,16 @@+import { client } from "@kaneo/libs";+import { HttpError } from "@/lib/http-error";++export async function sendAdminUserVerificationEmail(userId: string) {+ const response = await client.admin.users[":userId"][+ "verification-email"+ ].$post({+ param: { userId },+ });++ if (!response.ok) {+ throw await HttpError.fromResponse(response);+ }++ return response.json();+}diff --git a/apps/web/src/fetchers/admin/set-admin-user-avatar.ts b/apps/web/src/fetchers/admin/set-admin-user-avatar.tsnew file mode 100644index 000000000..530ae100f--- /dev/null+++ b/apps/web/src/fetchers/admin/set-admin-user-avatar.ts@@ -0,0 +1,20 @@+import { client } from "@kaneo/libs";+import { HttpError } from "@/lib/http-error";+import type { SetAdminUserAvatarRequest } from "./types";++export async function setAdminUserAvatar({+ userId,+ contentType,+ data,+}: SetAdminUserAvatarRequest) {+ const response = await client.admin.users[":userId"].avatar.$put({+ param: { userId },+ json: { contentType, data },+ });++ if (!response.ok) {+ throw await HttpError.fromResponse(response);+ }++ return response.json();+}diff --git a/apps/web/src/fetchers/admin/types.ts b/apps/web/src/fetchers/admin/types.tsindex b3d3908ff..8783683ab 100644--- a/apps/web/src/fetchers/admin/types.ts+++ b/apps/web/src/fetchers/admin/types.ts@@ -18,3 +18,21 @@ export type ToggleAdminUserStatusRequest = {userId: string;deactivate: boolean;};++export type AdminUserFilters = {+ status?: "active" | "deactivated";+ role?: "admin" | "user";+ emailVerified?: "true" | "false";+};++export type CreateAdminUserRequest = {+ name: string;+ email: string;+ role: "admin" | "user";+};++export type SetAdminUserAvatarRequest = {+ userId: string;+ contentType: string;+ data: string;+};diff --git a/apps/web/src/hooks/mutations/admin/use-create-admin-user.ts b/apps/web/src/hooks/mutations/admin/use-create-admin-user.tsnew file mode 100644index 000000000..eaa5760d9--- /dev/null+++ b/apps/web/src/hooks/mutations/admin/use-create-admin-user.ts@@ -0,0 +1,45 @@+import { useMutation, useQueryClient } from "@tanstack/react-query";+import { UserPlusIcon } from "lucide-react";+import { useTranslation } from "react-i18next";+import { createAdminUser } from "@/fetchers/admin/create-admin-user";+import { ADMIN_USERS_QUERY_KEY } from "@/hooks/queries/admin/use-admin-users";+import { toast } from "@/lib/toast";++const CREATED_TOAST_KEYS = {+ sent: "settings:adminUsers.toast.createdLinkSent",+ not_needed: "settings:adminUsers.toast.createdForSso",+ not_configured: "settings:adminUsers.toast.createdNoSmtp",+ failed: "settings:adminUsers.toast.createdLinkFailed",+} as const;++function useCreateAdminUser() {+ const { t } = useTranslation();+ const queryClient = useQueryClient();++ return useMutation({+ mutationFn: createAdminUser,+ onSuccess: ({ user, passwordSetupEmail }) => {+ const message = t(CREATED_TOAST_KEYS[passwordSetupEmail], {+ email: user.email,+ });+ if (+ passwordSetupEmail === "sent" ||+ passwordSetupEmail === "not_needed"+ ) {+ toast.success(message, { icon: UserPlusIcon });+ } else {+ toast.warning(message);+ }+ queryClient.invalidateQueries({ queryKey: ADMIN_USERS_QUERY_KEY });+ },+ onError: (error) => {+ toast.error(+ error instanceof Error && error.message+ ? error.message+ : t("settings:adminUsers.toast.createError"),+ );+ },+ });+}++export default useCreateAdminUser;diff --git a/apps/web/src/hooks/mutations/admin/use-mark-admin-user-email-verified.ts b/apps/web/src/hooks/mutations/admin/use-mark-admin-user-email-verified.tsnew file mode 100644index 000000000..824ceb8d7--- /dev/null+++ b/apps/web/src/hooks/mutations/admin/use-mark-admin-user-email-verified.ts@@ -0,0 +1,37 @@+import { useMutation, useQueryClient } from "@tanstack/react-query";+import { BadgeCheckIcon } from "lucide-react";+import { useTranslation } from "react-i18next";+import { markAdminUserEmailVerified } from "@/fetchers/admin/mark-admin-user-email-verified";+import {+ ADMIN_USERS_QUERY_KEY,+ type AdminUser,+} from "@/hooks/queries/admin/use-admin-users";+import { toast } from "@/lib/toast";++function useMarkAdminUserEmailVerified() {+ const { t } = useTranslation();+ const queryClient = useQueryClient();++ return useMutation({+ mutationFn: (user: Pick<AdminUser, "id" | "email">) =>+ markAdminUserEmailVerified(user.id),+ onSuccess: (_result, user) => {+ toast.success(+ t("settings:adminUsers.toast.emailVerified", { email: user.email }),+ {+ icon: BadgeCheckIcon,+ },+ );+ queryClient.invalidateQueries({ queryKey: ADMIN_USERS_QUERY_KEY });+ },+ onError: (error) => {+ toast.error(+ error instanceof Error && error.message+ ? error.message+ : t("settings:adminUsers.toast.actionError"),+ );+ },+ });+}++export default useMarkAdminUserEmailVerified;diff --git a/apps/web/src/hooks/mutations/admin/use-remove-admin-user-avatar.ts b/apps/web/src/hooks/mutations/admin/use-remove-admin-user-avatar.tsnew file mode 100644index 000000000..5ebac4ac4--- /dev/null+++ b/apps/web/src/hooks/mutations/admin/use-remove-admin-user-avatar.ts@@ -0,0 +1,30 @@+import { useMutation, useQueryClient } from "@tanstack/react-query";+import { ImageMinusIcon } from "lucide-react";+import { useTranslation } from "react-i18next";+import { removeAdminUserAvatar } from "@/fetchers/admin/remove-admin-user-avatar";+import { ADMIN_USERS_QUERY_KEY } from "@/hooks/queries/admin/use-admin-users";+import { toast } from "@/lib/toast";++function useRemoveAdminUserAvatar() {+ const { t } = useTranslation();+ const queryClient = useQueryClient();++ return useMutation({+ mutationFn: removeAdminUserAvatar,+ onSuccess: () => {+ toast.success(t("settings:adminUsers.toast.avatarRemoved"), {+ icon: ImageMinusIcon,+ });+ queryClient.invalidateQueries({ queryKey: ADMIN_USERS_QUERY_KEY });+ },+ onError: (error) => {+ toast.error(+ error instanceof Error && error.message+ ? error.message+ : t("settings:adminUsers.toast.avatarError"),+ );+ },+ });+}++export default useRemoveAdminUserAvatar;diff --git a/apps/web/src/hooks/mutations/admin/use-send-admin-user-password-reset.ts b/apps/web/src/hooks/mutations/admin/use-send-admin-user-password-reset.tsnew file mode 100644index 000000000..a69dfdae8--- /dev/null+++ b/apps/web/src/hooks/mutations/admin/use-send-admin-user-password-reset.ts@@ -0,0 +1,32 @@+import { useMutation } from "@tanstack/react-query";+import { KeyRoundIcon } from "lucide-react";+import { useTranslation } from "react-i18next";+import { sendAdminUserPasswordReset } from "@/fetchers/admin/send-admin-user-password-reset";+import type { AdminUser } from "@/hooks/queries/admin/use-admin-users";+import { toast } from "@/lib/toast";++function useSendAdminUserPasswordReset() {+ const { t } = useTranslation();++ return useMutation({+ mutationFn: (user: Pick<AdminUser, "id" | "email">) =>+ sendAdminUserPasswordReset(user.id),+ onSuccess: (_result, user) => {+ toast.success(+ t("settings:adminUsers.toast.passwordResetSent", { email: user.email }),+ {+ icon: KeyRoundIcon,+ },+ );+ },+ onError: (error) => {+ toast.error(+ error instanceof Error && error.message+ ? error.message+ : t("settings:adminUsers.toast.emailError"),+ );+ },+ });+}++export default useSendAdminUserPasswordReset;diff --git a/apps/web/src/hooks/mutations/admin/use-send-admin-user-verification-email.ts b/apps/web/src/hooks/mutations/admin/use-send-admin-user-verification-email.tsnew file mode 100644index 000000000..d6e60e734--- /dev/null+++ b/apps/web/src/hooks/mutations/admin/use-send-admin-user-verification-email.ts@@ -0,0 +1,32 @@+import { useMutation } from "@tanstack/react-query";+import { MailCheckIcon } from "lucide-react";+import { useTranslation } from "react-i18next";+import { sendAdminUserVerificationEmail } from "@/fetchers/admin/send-admin-user-verification-email";+import type { AdminUser } from "@/hooks/queries/admin/use-admin-users";+import { toast } from "@/lib/toast";++function useSendAdminUserVerificationEmail() {+ const { t } = useTranslation();++ return useMutation({+ mutationFn: (user: Pick<AdminUser, "id" | "email">) =>+ sendAdminUserVerificationEmail(user.id),+ onSuccess: (_result, user) => {+ toast.success(+ t("settings:adminUsers.toast.verificationSent", { email: user.email }),+ {+ icon: MailCheckIcon,+ },+ );+ },+ onError: (error) => {+ toast.error(+ error instanceof Error && error.message+ ? error.message+ : t("settings:adminUsers.toast.emailError"),+ );+ },+ });+}++export default useSendAdminUserVerificationEmail;diff --git a/apps/web/src/hooks/mutations/admin/use-set-admin-user-avatar.ts b/apps/web/src/hooks/mutations/admin/use-set-admin-user-avatar.tsnew file mode 100644index 000000000..28a9e433c--- /dev/null+++ b/apps/web/src/hooks/mutations/admin/use-set-admin-user-avatar.ts@@ -0,0 +1,32 @@+import { useMutation, useQueryClient } from "@tanstack/react-query";+import { ImageUpIcon } from "lucide-react";+import { useTranslation } from "react-i18next";+import { setAdminUserAvatar } from "@/fetchers/admin/set-admin-user-avatar";+import { ADMIN_USERS_QUERY_KEY } from "@/hooks/queries/admin/use-admin-users";+import { prepareAvatarImage } from "@/lib/prepare-avatar-image";+import { toast } from "@/lib/toast";++function useSetAdminUserAvatar() {+ const { t } = useTranslation();+ const queryClient = useQueryClient();++ return useMutation({+ mutationFn: async ({ userId, file }: { userId: string; file: File }) =>+ setAdminUserAvatar({ userId, ...(await prepareAvatarImage(file)) }),+ onSuccess: () => {+ toast.success(t("settings:adminUsers.toast.avatarChanged"), {+ icon: ImageUpIcon,+ });+ queryClient.invalidateQueries({ queryKey: ADMIN_USERS_QUERY_KEY });+ },+ onError: (error) => {+ toast.error(+ error instanceof Error && error.message+ ? error.message+ : t("settings:adminUsers.toast.avatarError"),+ );+ },+ });+}++export default useSetAdminUserAvatar;diff --git a/apps/web/src/hooks/queries/admin/use-admin-users.ts b/apps/web/src/hooks/queries/admin/use-admin-users.tsindex 1c7e41070..0bafb03c5 100644--- a/apps/web/src/hooks/queries/admin/use-admin-users.ts+++ b/apps/web/src/hooks/queries/admin/use-admin-users.ts@@ -1,21 +1,27 @@import { useQuery } from "@tanstack/react-query";import useAuth from "@/components/providers/auth-provider/hooks/use-auth";import { getAdminUsers } from "@/fetchers/admin/get-admin-users";+import type { AdminUserFilters } from "@/fetchers/admin/types";export {ADMIN_USERS_PAGE_SIZE,ADMIN_USERS_SEARCH_MAX_LENGTH,type AdminUser,+ type AdminUserFilters,} from "@/fetchers/admin/types";export const ADMIN_USERS_QUERY_KEY = ["admin", "users"] as const;-function useAdminUsers(search: string, page: number) {+function useAdminUsers(+ search: string,+ page: number,+ filters: AdminUserFilters = {},+) {const { user } = useAuth();const userId = user?.id ?? "";return useQuery({- queryKey: [...ADMIN_USERS_QUERY_KEY, userId, search.trim(), page],- queryFn: () => getAdminUsers(search, page),+ queryKey: [...ADMIN_USERS_QUERY_KEY, userId, search.trim(), page, filters],+ queryFn: () => getAdminUsers(search, page, filters),enabled: userId !== "",placeholderData: (previousData, previousQuery) =>userId !== "" && previousQuery?.queryKey[2] === userIddiff --git a/i18n/az-AZ.json b/i18n/az-AZ.jsonindex f15d2bef2..388ac28cd 100644--- a/i18n/az-AZ.json+++ b/i18n/az-AZ.json@@ -1598,7 +1598,10 @@"deactivate": "Deaktiv et","edit": "Redaktə et","open": "Actions for {{name}}",- "reactivate": "Yenidən aktiv et"+ "reactivate": "Yenidən aktiv et",+ "markEmailVerified": "Mark email as verified",+ "sendPasswordReset": "Send password reset link",+ "sendVerification": "Resend verification email"},"clearSearch": "Clear search","columns": {@@ -1606,7 +1609,8 @@"joined": "Joined","role": "Rol","status": "Status",- "user": "User"+ "user": "User",+ "lastActive": "Last active"},"confirm": {"deactivate": {@@ -1624,7 +1628,22 @@"description": "{{name}} will be able to sign in and access their workspaces again.","title": "Reactivate this account?"},- "working": "Working…"+ "working": "Working…",+ "markEmailVerified": {+ "action": "Mark as verified",+ "description": "Only do this if you know {{email}} belongs to {{name}}. Single sign-on accounts with a verified address can link to this account.",+ "title": "Mark this email as verified?"+ },+ "sendPasswordReset": {+ "action": "Send link",+ "description": "{{name}} gets an email at {{email}} with a link to choose a new password. The link works once and expires in 1 hour. You won't see the link.",+ "title": "Send a password reset link?"+ },+ "sendVerification": {+ "action": "Send email",+ "description": "{{name}} gets an email at {{email}} with a link to confirm the address. The link expires in 24 hours.",+ "title": "Resend the verification email?"+ }},"directoryTitle": "Bütün istifadəçilər","edit": {@@ -1665,9 +1684,59 @@"deleted": "User deleted","reactivated": "User reactivated","updated": "User updated",- "updateError": "Failed to update user"+ "updateError": "Failed to update user",+ "avatarChanged": "Profile picture updated",+ "avatarError": "Failed to update the profile picture",+ "avatarRemoved": "Profile picture removed",+ "createdForSso": "User created. They can sign in with single sign-on as {{email}}.",+ "createdLinkFailed": "User created, but the password link could not be emailed. Try “Send password reset link” later.",+ "createdLinkSent": "User created. We emailed {{email}} a link to set their password.",+ "createdNoSmtp": "User created, but email isn't configured, so no password link was sent.",+ "createError": "Failed to create user",+ "emailError": "The email could not be sent",+ "emailVerified": "Email marked as verified",+ "passwordResetSent": "Password reset link sent to {{email}}",+ "verificationSent": "Verification email sent to {{email}}"+ },+ "you": "Siz",+ "create": {+ "creating": "Creating…",+ "description": "Add an account for someone. You never choose or see their password.",+ "hintEmail": "They'll get an email with a link to set their own password. The link expires in 2 days.",+ "hintNoEmail": "Email isn't configured on this instance, so no password link can be sent. Once SMTP is set up, use “Send password reset link”.",+ "hintSso": "Password sign-in is turned off here, so no email is sent. They sign in with single sign-on using this email address.",+ "open": "Create user",+ "submit": "Create user",+ "title": "Create user"},- "you": "Siz"+ "details": {+ "avatarHint": "PNG, JPEG, or WebP. Cropped to a square.",+ "avatarManaged": "This picture comes from the identity provider.",+ "emailStatus": "Email",+ "methods": {+ "password": "Password"+ },+ "noSignInMethods": "No password or linked account yet",+ "notVerified": "Not verified",+ "removeAvatar": "Remove",+ "signInMethods": "Sign-in methods",+ "uploadAvatar": "Upload",+ "verified": "Verified"+ },+ "filters": {+ "anyEmail": "Any email",+ "anyRole": "Any role",+ "anyStatus": "Any status",+ "clear": "Clear filters",+ "email": "Email verification",+ "label": "Filter users",+ "role": "Role",+ "status": "Status",+ "unverified": "Unverified email",+ "verified": "Verified email"+ },+ "never": "Never",+ "unverified": "Unverified"},"security": "Security","securityPage": {@@ -2386,7 +2455,12 @@"workspaceMemberAdded": "Added workspace member","workspaceMemberRemoved": "Removed workspace member","workspaceMemberRoleChanged": "Changed workspace member role",- "workspaceOwnerTransferred": "Transferred workspace ownership"+ "workspaceOwnerTransferred": "Transferred workspace ownership",+ "userAvatarChanged": "Changed profile picture",+ "userAvatarRemoved": "Removed profile picture",+ "userEmailVerified": "Marked email as verified",+ "userPasswordResetSent": "Sent password reset link",+ "userVerificationSent": "Sent verification email"},"categories": {"all": "All actions",@@ -2409,7 +2483,8 @@"memberChange": "{{member}}: {{from}} → {{to}}","memberWithRole": "{{member}} as {{role}}","noRole": "No role",- "reason": "Reason: {{reason}}"+ "reason": "Reason: {{reason}}",+ "createdWithRole": "Role: {{role}}"},"directoryTitle": "Recorded actions","emptyTitle": "No actions recorded",diff --git a/i18n/de-DE.json b/i18n/de-DE.jsonindex 69f4fb354..7ddef03be 100644--- a/i18n/de-DE.json+++ b/i18n/de-DE.json@@ -596,7 +596,8 @@"role": "Rolle","status": "Status","joined": "Registriert",- "actions": "Aktionen"+ "actions": "Aktionen",+ "lastActive": "Last active"},"roles": {"admin": "Administrator",@@ -610,7 +611,10 @@"open": "Aktionen für {{name}}","edit": "Bearbeiten","deactivate": "Deaktivieren",- "reactivate": "Reaktivieren"+ "reactivate": "Reaktivieren",+ "markEmailVerified": "Mark email as verified",+ "sendPasswordReset": "Send password reset link",+ "sendVerification": "Resend verification email"},"edit": {"title": "Benutzer bearbeiten",@@ -638,6 +642,21 @@"title": "Dieses Konto endgültig löschen?","description": "Dadurch werden {{name}}, alle Sitzungen, Mitgliedschaften und zugehörigen Daten endgültig gelöscht. Dies kann nicht rückgängig gemacht werden.","action": "Endgültig löschen"+ },+ "markEmailVerified": {+ "action": "Mark as verified",+ "description": "Only do this if you know {{email}} belongs to {{name}}. Single sign-on accounts with a verified address can link to this account.",+ "title": "Mark this email as verified?"+ },+ "sendPasswordReset": {+ "action": "Send link",+ "description": "{{name}} gets an email at {{email}} with a link to choose a new password. The link works once and expires in 1 hour. You won't see the link.",+ "title": "Send a password reset link?"+ },+ "sendVerification": {+ "action": "Send email",+ "description": "{{name}} gets an email at {{email}} with a link to confirm the address. The link expires in 24 hours.",+ "title": "Resend the verification email?"}},"toast": {@@ -646,8 +665,58 @@"deactivated": "Benutzer deaktiviert","reactivated": "Benutzer reaktiviert","deleted": "Benutzer gelöscht",- "actionError": "Benutzerstatus konnte nicht aktualisiert werden"- }+ "actionError": "Benutzerstatus konnte nicht aktualisiert werden",+ "avatarChanged": "Profile picture updated",+ "avatarError": "Failed to update the profile picture",+ "avatarRemoved": "Profile picture removed",+ "createdForSso": "User created. They can sign in with single sign-on as {{email}}.",+ "createdLinkFailed": "User created, but the password link could not be emailed. Try “Send password reset link” later.",+ "createdLinkSent": "User created. We emailed {{email}} a link to set their password.",+ "createdNoSmtp": "User created, but email isn't configured, so no password link was sent.",+ "createError": "Failed to create user",+ "emailError": "The email could not be sent",+ "emailVerified": "Email marked as verified",+ "passwordResetSent": "Password reset link sent to {{email}}",+ "verificationSent": "Verification email sent to {{email}}"+ },+ "create": {+ "creating": "Creating…",+ "description": "Add an account for someone. You never choose or see their password.",+ "hintEmail": "They'll get an email with a link to set their own password. The link expires in 2 days.",+ "hintNoEmail": "Email isn't configured on this instance, so no password link can be sent. Once SMTP is set up, use “Send password reset link”.",+ "hintSso": "Password sign-in is turned off here, so no email is sent. They sign in with single sign-on using this email address.",+ "open": "Create user",+ "submit": "Create user",+ "title": "Create user"+ },+ "details": {+ "avatarHint": "PNG, JPEG, or WebP. Cropped to a square.",+ "avatarManaged": "This picture comes from the identity provider.",+ "emailStatus": "Email",+ "methods": {+ "password": "Password"+ },+ "noSignInMethods": "No password or linked account yet",+ "notVerified": "Not verified",+ "removeAvatar": "Remove",+ "signInMethods": "Sign-in methods",+ "uploadAvatar": "Upload",+ "verified": "Verified"+ },+ "filters": {+ "anyEmail": "Any email",+ "anyRole": "Any role",+ "anyStatus": "Any status",+ "clear": "Clear filters",+ "email": "Email verification",+ "label": "Filter users",+ "role": "Role",+ "status": "Status",+ "unverified": "Unverified email",+ "verified": "Verified email"+ },+ "never": "Never",+ "unverified": "Unverified"},"informationPage": {"pageTitle": "Profil",@@ -2386,7 +2455,12 @@"workspaceMemberAdded": "Added workspace member","workspaceMemberRemoved": "Removed workspace member","workspaceMemberRoleChanged": "Changed workspace member role",- "workspaceOwnerTransferred": "Transferred workspace ownership"+ "workspaceOwnerTransferred": "Transferred workspace ownership",+ "userAvatarChanged": "Changed profile picture",+ "userAvatarRemoved": "Removed profile picture",+ "userEmailVerified": "Marked email as verified",+ "userPasswordResetSent": "Sent password reset link",+ "userVerificationSent": "Sent verification email"},"categories": {"all": "All actions",@@ -2409,7 +2483,8 @@"memberChange": "{{member}}: {{from}} → {{to}}","memberWithRole": "{{member}} as {{role}}","noRole": "No role",- "reason": "Reason: {{reason}}"+ "reason": "Reason: {{reason}}",+ "createdWithRole": "Role: {{role}}"},"directoryTitle": "Recorded actions","emptyTitle": "No actions recorded",diff --git a/i18n/el-GR.json b/i18n/el-GR.jsonindex 4c102451e..2d0da08c2 100644--- a/i18n/el-GR.json+++ b/i18n/el-GR.json@@ -1598,7 +1598,10 @@"deactivate": "Απενεργοποίηση","edit": "Επεξεργασία","open": "Actions for {{name}}",- "reactivate": "Επανενεργοποίηση"+ "reactivate": "Επανενεργοποίηση",+ "markEmailVerified": "Mark email as verified",+ "sendPasswordReset": "Send password reset link",+ "sendVerification": "Resend verification email"},"clearSearch": "Clear search","columns": {@@ -1606,7 +1609,8 @@"joined": "Joined","role": "Ρόλος","status": "Status",- "user": "User"+ "user": "User",+ "lastActive": "Last active"},"confirm": {"deactivate": {@@ -1624,7 +1628,22 @@"description": "{{name}} will be able to sign in and access their workspaces again.","title": "Reactivate this account?"},- "working": "Working…"+ "working": "Working…",+ "markEmailVerified": {+ "action": "Mark as verified",+ "description": "Only do this if you know {{email}} belongs to {{name}}. Single sign-on accounts with a verified address can link to this account.",+ "title": "Mark this email as verified?"+ },+ "sendPasswordReset": {+ "action": "Send link",+ "description": "{{name}} gets an email at {{email}} with a link to choose a new password. The link works once and expires in 1 hour. You won't see the link.",+ "title": "Send a password reset link?"+ },+ "sendVerification": {+ "action": "Send email",+ "description": "{{name}} gets an email at {{email}} with a link to confirm the address. The link expires in 24 hours.",+ "title": "Resend the verification email?"+ }},"directoryTitle": "Όλοι οι χρήστες","edit": {@@ -1665,9 +1684,59 @@"deleted": "User deleted","reactivated": "User reactivated","updated": "User updated",- "updateError": "Failed to update user"+ "updateError": "Failed to update user",+ "avatarChanged": "Profile picture updated",+ "avatarError": "Failed to update the profile picture",+ "avatarRemoved": "Profile picture removed",+ "createdForSso": "User created. They can sign in with single sign-on as {{email}}.",+ "createdLinkFailed": "User created, but the password link could not be emailed. Try “Send password reset link” later.",+ "createdLinkSent": "User created. We emailed {{email}} a link to set their password.",+ "createdNoSmtp": "User created, but email isn't configured, so no password link was sent.",+ "createError": "Failed to create user",+ "emailError": "The email could not be sent",+ "emailVerified": "Email marked as verified",+ "passwordResetSent": "Password reset link sent to {{email}}",+ "verificationSent": "Verification email sent to {{email}}"+ },+ "you": "Εσείς",+ "create": {+ "creating": "Creating…",+ "description": "Add an account for someone. You never choose or see their password.",+ "hintEmail": "They'll get an email with a link to set their own password. The link expires in 2 days.",+ "hintNoEmail": "Email isn't configured on this instance, so no password link can be sent. Once SMTP is set up, use “Send password reset link”.",+ "hintSso": "Password sign-in is turned off here, so no email is sent. They sign in with single sign-on using this email address.",+ "open": "Create user",+ "submit": "Create user",+ "title": "Create user"},- "you": "Εσείς"+ "details": {+ "avatarHint": "PNG, JPEG, or WebP. Cropped to a square.",+ "avatarManaged": "This picture comes from the identity provider.",+ "emailStatus": "Email",+ "methods": {+ "password": "Password"+ },+ "noSignInMethods": "No password or linked account yet",+ "notVerified": "Not verified",+ "removeAvatar": "Remove",+ "signInMethods": "Sign-in methods",+ "uploadAvatar": "Upload",+ "verified": "Verified"+ },+ "filters": {+ "anyEmail": "Any email",+ "anyRole": "Any role",+ "anyStatus": "Any status",+ "clear": "Clear filters",+ "email": "Email verification",+ "label": "Filter users",+ "role": "Role",+ "status": "Status",+ "unverified": "Unverified email",+ "verified": "Verified email"+ },+ "never": "Never",+ "unverified": "Unverified"},"security": "Security","securityPage": {@@ -2386,7 +2455,12 @@"workspaceMemberAdded": "Added workspace member","workspaceMemberRemoved": "Removed workspace member","workspaceMemberRoleChanged": "Changed workspace member role",- "workspaceOwnerTransferred": "Transferred workspace ownership"+ "workspaceOwnerTransferred": "Transferred workspace ownership",+ "userAvatarChanged": "Changed profile picture",+ "userAvatarRemoved": "Removed profile picture",+ "userEmailVerified": "Marked email as verified",+ "userPasswordResetSent": "Sent password reset link",+ "userVerificationSent": "Sent verification email"},"categories": {"all": "All actions",@@ -2409,7 +2483,8 @@"memberChange": "{{member}}: {{from}} → {{to}}","memberWithRole": "{{member}} as {{role}}","noRole": "No role",- "reason": "Reason: {{reason}}"+ "reason": "Reason: {{reason}}",+ "createdWithRole": "Role: {{role}}"},"directoryTitle": "Recorded actions","emptyTitle": "No actions recorded",diff --git a/i18n/en-US.json b/i18n/en-US.jsonindex e59d52a1c..f2a0c32d8 100644--- a/i18n/en-US.json+++ b/i18n/en-US.json@@ -663,7 +663,8 @@"role": "Role","status": "Status","joined": "Joined",- "actions": "Actions"+ "actions": "Actions",+ "lastActive": "Last active"},"roles": {"admin": "Admin",@@ -677,7 +678,10 @@"open": "Actions for {{name}}","edit": "Edit","deactivate": "Deactivate",- "reactivate": "Reactivate"+ "reactivate": "Reactivate",+ "sendPasswordReset": "Send password reset link",+ "sendVerification": "Resend verification email",+ "markEmailVerified": "Mark email as verified"},"edit": {"title": "Edit user",@@ -705,6 +709,21 @@"title": "Permanently delete this account?","description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.","action": "Delete permanently"+ },+ "sendPasswordReset": {+ "title": "Send a password reset link?",+ "description": "{{name}} gets an email at {{email}} with a link to choose a new password. The link works once and expires in 1 hour. You won't see the link.",+ "action": "Send link"+ },+ "sendVerification": {+ "title": "Resend the verification email?",+ "description": "{{name}} gets an email at {{email}} with a link to confirm the address. The link expires in 24 hours.",+ "action": "Send email"+ },+ "markEmailVerified": {+ "title": "Mark this email as verified?",+ "description": "Only do this if you know {{email}} belongs to {{name}}. Single sign-on accounts with a verified address can link to this account.",+ "action": "Mark as verified"}},"toast": {@@ -713,7 +732,57 @@"deactivated": "User deactivated","reactivated": "User reactivated","deleted": "User deleted",- "actionError": "Failed to update user status"+ "actionError": "Failed to update user status",+ "createdLinkSent": "User created. We emailed {{email}} a link to set their password.",+ "createdForSso": "User created. They can sign in with single sign-on as {{email}}.",+ "createdNoSmtp": "User created, but email isn't configured, so no password link was sent.",+ "createdLinkFailed": "User created, but the password link could not be emailed. Try “Send password reset link” later.",+ "createError": "Failed to create user",+ "passwordResetSent": "Password reset link sent to {{email}}",+ "verificationSent": "Verification email sent to {{email}}",+ "emailVerified": "Email marked as verified",+ "emailError": "The email could not be sent",+ "avatarChanged": "Profile picture updated",+ "avatarRemoved": "Profile picture removed",+ "avatarError": "Failed to update the profile picture"+ },+ "never": "Never",+ "unverified": "Unverified",+ "filters": {+ "label": "Filter users",+ "status": "Status",+ "role": "Role",+ "email": "Email verification",+ "anyStatus": "Any status",+ "anyRole": "Any role",+ "anyEmail": "Any email",+ "verified": "Verified email",+ "unverified": "Unverified email",+ "clear": "Clear filters"+ },+ "create": {+ "open": "Create user",+ "title": "Create user",+ "description": "Add an account for someone. You never choose or see their password.",+ "hintEmail": "They'll get an email with a link to set their own password. The link expires in 2 days.",+ "hintNoEmail": "Email isn't configured on this instance, so no password link can be sent. Once SMTP is set up, use “Send password reset link”.",+ "hintSso": "Password sign-in is turned off here, so no email is sent. They sign in with single sign-on using this email address.",+ "submit": "Create user",+ "creating": "Creating…"+ },+ "details": {+ "emailStatus": "Email",+ "verified": "Verified",+ "notVerified": "Not verified",+ "signInMethods": "Sign-in methods",+ "noSignInMethods": "No password or linked account yet",+ "methods": {+ "password": "Password"+ },+ "avatarHint": "PNG, JPEG, or WebP. Cropped to a square.",+ "avatarManaged": "This picture comes from the identity provider.",+ "uploadAvatar": "Upload",+ "removeAvatar": "Remove"}},"adminWorkspaces": {@@ -840,7 +909,12 @@"workspaceMemberAdded": "Added workspace member","workspaceMemberRemoved": "Removed workspace member","workspaceMemberRoleChanged": "Changed workspace member role",- "workspaceOwnerTransferred": "Transferred workspace ownership"+ "workspaceOwnerTransferred": "Transferred workspace ownership",+ "userPasswordResetSent": "Sent password reset link",+ "userVerificationSent": "Sent verification email",+ "userEmailVerified": "Marked email as verified",+ "userAvatarChanged": "Changed profile picture",+ "userAvatarRemoved": "Removed profile picture"},"fields": {"name": "name",@@ -854,7 +928,8 @@"reason": "Reason: {{reason}}","noRole": "No role","memberWithRole": "{{member}} as {{role}}",- "memberChange": "{{member}}: {{from}} → {{to}}"+ "memberChange": "{{member}}: {{from}} → {{to}}",+ "createdWithRole": "Role: {{role}}"}},"informationPage": {diff --git a/i18n/es-ES.json b/i18n/es-ES.jsonindex 22ee5bb12..ea0cc4562 100644--- a/i18n/es-ES.json+++ b/i18n/es-ES.json@@ -1607,7 +1607,10 @@"deactivate": "Desactivar","edit": "Editar","open": "Actions for {{name}}",- "reactivate": "Reactivar"+ "reactivate": "Reactivar",+ "markEmailVerified": "Mark email as verified",+ "sendPasswordReset": "Send password reset link",+ "sendVerification": "Resend verification email"},"clearSearch": "Clear search","columns": {@@ -1615,7 +1618,8 @@"joined": "Joined","role": "Rol","status": "Status",- "user": "User"+ "user": "User",+ "lastActive": "Last active"},"confirm": {"deactivate": {@@ -1633,7 +1637,22 @@"description": "{{name}} will be able to sign in and access their workspaces again.","title": "Reactivate this account?"},- "working": "Working…"+ "working": "Working…",+ "markEmailVerified": {+ "action": "Mark as verified",+ "description": "Only do this if you know {{email}} belongs to {{name}}. Single sign-on accounts with a verified address can link to this account.",+ "title": "Mark this email as verified?"+ },+ "sendPasswordReset": {+ "action": "Send link",+ "description": "{{name}} gets an email at {{email}} with a link to choose a new password. The link works once and expires in 1 hour. You won't see the link.",+ "title": "Send a password reset link?"+ },+ "sendVerification": {+ "action": "Send email",+ "description": "{{name}} gets an email at {{email}} with a link to confirm the address. The link expires in 24 hours.",+ "title": "Resend the verification email?"+ }},"directoryTitle": "Todos los usuarios","edit": {@@ -1675,9 +1694,59 @@"deleted": "User deleted","reactivated": "User reactivated","updated": "User updated",- "updateError": "Failed to update user"+ "updateError": "Failed to update user",+ "avatarChanged": "Profile picture updated",+ "avatarError": "Failed to update the profile picture",+ "avatarRemoved": "Profile picture removed",+ "createdForSso": "User created. They can sign in with single sign-on as {{email}}.",+ "createdLinkFailed": "User created, but the password link could not be emailed. Try “Send password reset link” later.",+ "createdLinkSent": "User created. We emailed {{email}} a link to set their password.",+ "createdNoSmtp": "User created, but email isn't configured, so no password link was sent.",+ "createError": "Failed to create user",+ "emailError": "The email could not be sent",+ "emailVerified": "Email marked as verified",+ "passwordResetSent": "Password reset link sent to {{email}}",+ "verificationSent": "Verification email sent to {{email}}"+ },+ "you": "Tú",+ "create": {+ "creating": "Creating…",+ "description": "Add an account for someone. You never choose or see their password.",+ "hintEmail": "They'll get an email with a link to set their own password. The link expires in 2 days.",+ "hintNoEmail": "Email isn't configured on this instance, so no password link can be sent. Once SMTP is set up, use “Send password reset link”.",+ "hintSso": "Password sign-in is turned off here, so no email is sent. They sign in with single sign-on using this email address.",+ "open": "Create user",+ "submit": "Create user",+ "title": "Create user"},- "you": "Tú"+ "details": {+ "avatarHint": "PNG, JPEG, or WebP. Cropped to a square.",+ "avatarManaged": "This picture comes from the identity provider.",+ "emailStatus": "Email",+ "methods": {+ "password": "Password"+ },+ "noSignInMethods": "No password or linked account yet",+ "notVerified": "Not verified",+ "removeAvatar": "Remove",+ "signInMethods": "Sign-in methods",+ "uploadAvatar": "Upload",+ "verified": "Verified"+ },+ "filters": {+ "anyEmail": "Any email",+ "anyRole": "Any role",+ "anyStatus": "Any status",+ "clear": "Clear filters",+ "email": "Email verification",+ "label": "Filter users",+ "role": "Role",+ "status": "Status",+ "unverified": "Unverified email",+ "verified": "Verified email"+ },+ "never": "Never",+ "unverified": "Unverified"},"security": "Security","securityPage": {@@ -2428,7 +2497,12 @@"workspaceMemberAdded": "Added workspace member","workspaceMemberRemoved": "Removed workspace member","workspaceMemberRoleChanged": "Changed workspace member role",- "workspaceOwnerTransferred": "Transferred workspace ownership"+ "workspaceOwnerTransferred": "Transferred workspace ownership",+ "userAvatarChanged": "Changed profile picture",+ "userAvatarRemoved": "Removed profile picture",+ "userEmailVerified": "Marked email as verified",+ "userPasswordResetSent": "Sent password reset link",+ "userVerificationSent": "Sent verification email"},"categories": {"all": "All actions",@@ -2451,7 +2525,8 @@"memberChange": "{{member}}: {{from}} → {{to}}","memberWithRole": "{{member}} as {{role}}","noRole": "No role",- "reason": "Reason: {{reason}}"+ "reason": "Reason: {{reason}}",+ "createdWithRole": "Role: {{role}}"},"directoryTitle": "Recorded actions","emptyTitle": "No actions recorded",diff --git a/i18n/fr-FR.json b/i18n/fr-FR.jsonindex ea1e08e36..74fd73ef6 100644--- a/i18n/fr-FR.json+++ b/i18n/fr-FR.json@@ -1607,7 +1607,10 @@"deactivate": "Désactiver","edit": "Modifier","open": "Actions pour {{name}}",- "reactivate": "Réactiver"+ "reactivate": "Réactiver",+ "markEmailVerified": "Mark email as verified",+ "sendPasswordReset": "Send password reset link",+ "sendVerification": "Resend verification email"},"clearSearch": "Effacer la recherche","columns": {@@ -1615,7 +1618,8 @@"joined": "Rejoint","role": "Rôle","status": "Statut",- "user": "Utilisateur"+ "user": "Utilisateur",+ "lastActive": "Last active"},"confirm": {"deactivate": {@@ -1633,7 +1637,22 @@"description": "{{name}} pourra de nouveau se connecter et accéder à ses espaces de travail.","title": "Réactiver ce compte ?"},- "working": "Traitement…"+ "working": "Traitement…",+ "markEmailVerified": {+ "action": "Mark as verified",+ "description": "Only do this if you know {{email}} belongs to {{name}}. Single sign-on accounts with a verified address can link to this account.",+ "title": "Mark this email as verified?"+ },+ "sendPasswordReset": {+ "action": "Send link",+ "description": "{{name}} gets an email at {{email}} with a link to choose a new password. The link works once and expires in 1 hour. You won't see the link.",+ "title": "Send a password reset link?"+ },+ "sendVerification": {+ "action": "Send email",+ "description": "{{name}} gets an email at {{email}} with a link to confirm the address. The link expires in 24 hours.",+ "title": "Resend the verification email?"+ }},"directoryTitle": "Tous les utilisateurs","edit": {@@ -1675,9 +1694,59 @@"deleted": "Utilisateur supprimé","reactivated": "Utilisateur réactivé","updated": "Utilisateur mis à jour",- "updateError": "Échec de la mise à jour de l'utilisateur"+ "updateError": "Échec de la mise à jour de l'utilisateur",+ "avatarChanged": "Profile picture updated",+ "avatarError": "Failed to update the profile picture",+ "avatarRemoved": "Profile picture removed",+ "createdForSso": "User created. They can sign in with single sign-on as {{email}}.",+ "createdLinkFailed": "User created, but the password link could not be emailed. Try “Send password reset link” later.",+ "createdLinkSent": "User created. We emailed {{email}} a link to set their password.",+ "createdNoSmtp": "User created, but email isn't configured, so no password link was sent.",+ "createError": "Failed to create user",+ "emailError": "The email could not be sent",+ "emailVerified": "Email marked as verified",+ "passwordResetSent": "Password reset link sent to {{email}}",+ "verificationSent": "Verification email sent to {{email}}"+ },+ "you": "Vous",+ "create": {+ "creating": "Creating…",+ "description": "Add an account for someone. You never choose or see their password.",+ "hintEmail": "They'll get an email with a link to set their own password. The link expires in 2 days.",+ "hintNoEmail": "Email isn't configured on this instance, so no password link can be sent. Once SMTP is set up, use “Send password reset link”.",+ "hintSso": "Password sign-in is turned off here, so no email is sent. They sign in with single sign-on using this email address.",+ "open": "Create user",+ "submit": "Create user",+ "title": "Create user"},- "you": "Vous"+ "details": {+ "avatarHint": "PNG, JPEG, or WebP. Cropped to a square.",+ "avatarManaged": "This picture comes from the identity provider.",+ "emailStatus": "Email",+ "methods": {+ "password": "Password"+ },+ "noSignInMethods": "No password or linked account yet",+ "notVerified": "Not verified",+ "removeAvatar": "Remove",+ "signInMethods": "Sign-in methods",+ "uploadAvatar": "Upload",+ "verified": "Verified"+ },+ "filters": {+ "anyEmail": "Any email",+ "anyRole": "Any role",+ "anyStatus": "Any status",+ "clear": "Clear filters",+ "email": "Email verification",+ "label": "Filter users",+ "role": "Role",+ "status": "Status",+ "unverified": "Unverified email",+ "verified": "Verified email"+ },+ "never": "Never",+ "unverified": "Unverified"},"security": "Sécurité","securityPage": {@@ -2428,7 +2497,12 @@"workspaceMemberAdded": "Added workspace member","workspaceMemberRemoved": "Removed workspace member","workspaceMemberRoleChanged": "Changed workspace member role",- "workspaceOwnerTransferred": "Transferred workspace ownership"+ "workspaceOwnerTransferred": "Transferred workspace ownership",+ "userAvatarChanged": "Changed profile picture",+ "userAvatarRemoved": "Removed profile picture",+ "userEmailVerified": "Marked email as verified",+ "userPasswordResetSent": "Sent password reset link",+ "userVerificationSent": "Sent verification email"},"categories": {"all": "All actions",@@ -2451,7 +2525,8 @@"memberChange": "{{member}}: {{from}} → {{to}}","memberWithRole": "{{member}} as {{role}}","noRole": "No role",- "reason": "Reason: {{reason}}"+ "reason": "Reason: {{reason}}",+ "createdWithRole": "Role: {{role}}"},"directoryTitle": "Recorded actions","emptyTitle": "No actions recorded",diff --git a/i18n/hi-IN.json b/i18n/hi-IN.jsonindex 71912b9d4..a7652824f 100644--- a/i18n/hi-IN.json+++ b/i18n/hi-IN.json@@ -1598,7 +1598,10 @@"deactivate": "निष्क्रिय करें","edit": "संपादित करें","open": "Actions for {{name}}",- "reactivate": "फिर से सक्रिय करें"+ "reactivate": "फिर से सक्रिय करें",+ "markEmailVerified": "Mark email as verified",+ "sendPasswordReset": "Send password reset link",+ "sendVerification": "Resend verification email"},"clearSearch": "Clear search","columns": {@@ -1606,7 +1609,8 @@"joined": "Joined","role": "भूमिका","status": "Status",- "user": "User"+ "user": "User",+ "lastActive": "Last active"},"confirm": {"deactivate": {@@ -1624,7 +1628,22 @@"description": "{{name}} will be able to sign in and access their workspaces again.","title": "Reactivate this account?"},- "working": "Working…"+ "working": "Working…",+ "markEmailVerified": {+ "action": "Mark as verified",+ "description": "Only do this if you know {{email}} belongs to {{name}}. Single sign-on accounts with a verified address can link to this account.",+ "title": "Mark this email as verified?"+ },+ "sendPasswordReset": {+ "action": "Send link",+ "description": "{{name}} gets an email at {{email}} with a link to choose a new password. The link works once and expires in 1 hour. You won't see the link.",+ "title": "Send a password reset link?"+ },+ "sendVerification": {+ "action": "Send email",+ "description": "{{name}} gets an email at {{email}} with a link to confirm the address. The link expires in 24 hours.",+ "title": "Resend the verification email?"+ }},"directoryTitle": "सभी उपयोगकर्ता","edit": {@@ -1665,9 +1684,59 @@"deleted": "User deleted","reactivated": "User reactivated","updated": "User updated",- "updateError": "Failed to update user"+ "updateError": "Failed to update user",+ "avatarChanged": "Profile picture updated",+ "avatarError": "Failed to update the profile picture",+ "avatarRemoved": "Profile picture removed",+ "createdForSso": "User created. They can sign in with single sign-on as {{email}}.",+ "createdLinkFailed": "User created, but the password link could not be emailed. Try “Send password reset link” later.",+ "createdLinkSent": "User created. We emailed {{email}} a link to set their password.",+ "createdNoSmtp": "User created, but email isn't configured, so no password link was sent.",+ "createError": "Failed to create user",+ "emailError": "The email could not be sent",+ "emailVerified": "Email marked as verified",+ "passwordResetSent": "Password reset link sent to {{email}}",+ "verificationSent": "Verification email sent to {{email}}"+ },+ "you": "आप",+ "create": {+ "creating": "Creating…",+ "description": "Add an account for someone. You never choose or see their password.",+ "hintEmail": "They'll get an email with a link to set their own password. The link expires in 2 days.",+ "hintNoEmail": "Email isn't configured on this instance, so no password link can be sent. Once SMTP is set up, use “Send password reset link”.",+ "hintSso": "Password sign-in is turned off here, so no email is sent. They sign in with single sign-on using this email address.",+ "open": "Create user",+ "submit": "Create user",+ "title": "Create user"},- "you": "आप"+ "details": {+ "avatarHint": "PNG, JPEG, or WebP. Cropped to a square.",+ "avatarManaged": "This picture comes from the identity provider.",+ "emailStatus": "Email",+ "methods": {+ "password": "Password"+ },+ "noSignInMethods": "No password or linked account yet",+ "notVerified": "Not verified",+ "removeAvatar": "Remove",+ "signInMethods": "Sign-in methods",+ "uploadAvatar": "Upload",+ "verified": "Verified"+ },+ "filters": {+ "anyEmail": "Any email",+ "anyRole": "Any role",+ "anyStatus": "Any status",+ "clear": "Clear filters",+ "email": "Email verification",+ "label": "Filter users",+ "role": "Role",+ "status": "Status",+ "unverified": "Unverified email",+ "verified": "Verified email"+ },+ "never": "Never",+ "unverified": "Unverified"},"security": "Security","securityPage": {@@ -2386,7 +2455,12 @@"workspaceMemberAdded": "Added workspace member","workspaceMemberRemoved": "Removed workspace member","workspaceMemberRoleChanged": "Changed workspace member role",- "workspaceOwnerTransferred": "Transferred workspace ownership"+ "workspaceOwnerTransferred": "Transferred workspace ownership",+ "userAvatarChanged": "Changed profile picture",+ "userAvatarRemoved": "Removed profile picture",+ "userEmailVerified": "Marked email as verified",+ "userPasswordResetSent": "Sent password reset link",+ "userVerificationSent": "Sent verification email"},"categories": {"all": "All actions",@@ -2409,7 +2483,8 @@"memberChange": "{{member}}: {{from}} → {{to}}","memberWithRole": "{{member}} as {{role}}","noRole": "No role",- "reason": "Reason: {{reason}}"+ "reason": "Reason: {{reason}}",+ "createdWithRole": "Role: {{role}}"},"directoryTitle": "Recorded actions","emptyTitle": "No actions recorded",diff --git a/i18n/id-ID.json b/i18n/id-ID.jsonindex 594cdc30c..db049b925 100644--- a/i18n/id-ID.json+++ b/i18n/id-ID.json@@ -1589,7 +1589,10 @@"deactivate": "Nonaktifkan","edit": "Edit","open": "Actions for {{name}}",- "reactivate": "Aktifkan kembali"+ "reactivate": "Aktifkan kembali",+ "markEmailVerified": "Mark email as verified",+ "sendPasswordReset": "Send password reset link",+ "sendVerification": "Resend verification email"},"clearSearch": "Clear search","columns": {@@ -1597,7 +1600,8 @@"joined": "Joined","role": "Peran","status": "Status",- "user": "User"+ "user": "User",+ "lastActive": "Last active"},"confirm": {"deactivate": {@@ -1615,7 +1619,22 @@"description": "{{name}} will be able to sign in and access their workspaces again.","title": "Reactivate this account?"},- "working": "Working…"+ "working": "Working…",+ "markEmailVerified": {+ "action": "Mark as verified",+ "description": "Only do this if you know {{email}} belongs to {{name}}. Single sign-on accounts with a verified address can link to this account.",+ "title": "Mark this email as verified?"+ },+ "sendPasswordReset": {+ "action": "Send link",+ "description": "{{name}} gets an email at {{email}} with a link to choose a new password. The link works once and expires in 1 hour. You won't see the link.",+ "title": "Send a password reset link?"+ },+ "sendVerification": {+ "action": "Send email",+ "description": "{{name}} gets an email at {{email}} with a link to confirm the address. The link expires in 24 hours.",+ "title": "Resend the verification email?"+ }},"directoryTitle": "Semua pengguna","edit": {@@ -1655,9 +1674,59 @@"deleted": "User deleted","reactivated": "User reactivated","updated": "User updated",- "updateError": "Failed to update user"+ "updateError": "Failed to update user",+ "avatarChanged": "Profile picture updated",+ "avatarError": "Failed to update the profile picture",+ "avatarRemoved": "Profile picture removed",+ "createdForSso": "User created. They can sign in with single sign-on as {{email}}.",+ "createdLinkFailed": "User created, but the password link could not be emailed. Try “Send password reset link” later.",+ "createdLinkSent": "User created. We emailed {{email}} a link to set their password.",+ "createdNoSmtp": "User created, but email isn't configured, so no password link was sent.",+ "createError": "Failed to create user",+ "emailError": "The email could not be sent",+ "emailVerified": "Email marked as verified",+ "passwordResetSent": "Password reset link sent to {{email}}",+ "verificationSent": "Verification email sent to {{email}}"+ },+ "you": "Anda",+ "create": {+ "creating": "Creating…",+ "description": "Add an account for someone. You never choose or see their password.",+ "hintEmail": "They'll get an email with a link to set their own password. The link expires in 2 days.",+ "hintNoEmail": "Email isn't configured on this instance, so no password link can be sent. Once SMTP is set up, use “Send password reset link”.",+ "hintSso": "Password sign-in is turned off here, so no email is sent. They sign in with single sign-on using this email address.",+ "open": "Create user",+ "submit": "Create user",+ "title": "Create user"},- "you": "Anda"+ "details": {+ "avatarHint": "PNG, JPEG, or WebP. Cropped to a square.",+ "avatarManaged": "This picture comes from the identity provider.",+ "emailStatus": "Email",+ "methods": {+ "password": "Password"+ },+ "noSignInMethods": "No password or linked account yet",+ "notVerified": "Not verified",+ "removeAvatar": "Remove",+ "signInMethods": "Sign-in methods",+ "uploadAvatar": "Upload",+ "verified": "Verified"+ },+ "filters": {+ "anyEmail": "Any email",+ "anyRole": "Any role",+ "anyStatus": "Any status",+ "clear": "Clear filters",+ "email": "Email verification",+ "label": "Filter users",+ "role": "Role",+ "status": "Status",+ "unverified": "Unverified email",+ "verified": "Verified email"+ },+ "never": "Never",+ "unverified": "Unverified"},"security": "Security","securityPage": {@@ -2344,7 +2413,12 @@"workspaceMemberAdded": "Added workspace member","workspaceMemberRemoved": "Removed workspace member","workspaceMemberRoleChanged": "Changed workspace member role",- "workspaceOwnerTransferred": "Transferred workspace ownership"+ "workspaceOwnerTransferred": "Transferred workspace ownership",+ "userAvatarChanged": "Changed profile picture",+ "userAvatarRemoved": "Removed profile picture",+ "userEmailVerified": "Marked email as verified",+ "userPasswordResetSent": "Sent password reset link",+ "userVerificationSent": "Sent verification email"},"categories": {"all": "All actions",@@ -2367,7 +2441,8 @@"memberChange": "{{member}}: {{from}} → {{to}}","memberWithRole": "{{member}} as {{role}}","noRole": "No role",- "reason": "Reason: {{reason}}"+ "reason": "Reason: {{reason}}",+ "createdWithRole": "Role: {{role}}"},"directoryTitle": "Recorded actions","emptyTitle": "No actions recorded",diff --git a/i18n/it-IT.json b/i18n/it-IT.jsonindex 8cadc1641..023ee39c6 100644--- a/i18n/it-IT.json+++ b/i18n/it-IT.json@@ -1607,7 +1607,10 @@"deactivate": "Disattiva","edit": "Modifica","open": "Actions for {{name}}",- "reactivate": "Riattiva"+ "reactivate": "Riattiva",+ "markEmailVerified": "Mark email as verified",+ "sendPasswordReset": "Send password reset link",+ "sendVerification": "Resend verification email"},"clearSearch": "Clear search","columns": {@@ -1615,7 +1618,8 @@"joined": "Joined","role": "Ruolo","status": "Status",- "user": "User"+ "user": "User",+ "lastActive": "Last active"},"confirm": {"deactivate": {@@ -1633,7 +1637,22 @@"description": "{{name}} will be able to sign in and access their workspaces again.","title": "Reactivate this account?"},- "working": "Working…"+ "working": "Working…",+ "markEmailVerified": {+ "action": "Mark as verified",+ "description": "Only do this if you know {{email}} belongs to {{name}}. Single sign-on accounts with a verified address can link to this account.",+ "title": "Mark this email as verified?"+ },+ "sendPasswordReset": {+ "action": "Send link",+ "description": "{{name}} gets an email at {{email}} with a link to choose a new password. The link works once and expires in 1 hour. You won't see the link.",+ "title": "Send a password reset link?"+ },+ "sendVerification": {+ "action": "Send email",+ "description": "{{name}} gets an email at {{email}} with a link to confirm the address. The link expires in 24 hours.",+ "title": "Resend the verification email?"+ }},"directoryTitle": "Tutti gli utenti","edit": {@@ -1675,9 +1694,59 @@"deleted": "User deleted","reactivated": "User reactivated","updated": "User updated",- "updateError": "Failed to update user"+ "updateError": "Failed to update user",+ "avatarChanged": "Profile picture updated",+ "avatarError": "Failed to update the profile picture",+ "avatarRemoved": "Profile picture removed",+ "createdForSso": "User created. They can sign in with single sign-on as {{email}}.",+ "createdLinkFailed": "User created, but the password link could not be emailed. Try “Send password reset link” later.",+ "createdLinkSent": "User created. We emailed {{email}} a link to set their password.",+ "createdNoSmtp": "User created, but email isn't configured, so no password link was sent.",+ "createError": "Failed to create user",+ "emailError": "The email could not be sent",+ "emailVerified": "Email marked as verified",+ "passwordResetSent": "Password reset link sent to {{email}}",+ "verificationSent": "Verification email sent to {{email}}"+ },+ "you": "Tu",+ "create": {+ "creating": "Creating…",+ "description": "Add an account for someone. You never choose or see their password.",+ "hintEmail": "They'll get an email with a link to set their own password. The link expires in 2 days.",+ "hintNoEmail": "Email isn't configured on this instance, so no password link can be sent. Once SMTP is set up, use “Send password reset link”.",+ "hintSso": "Password sign-in is turned off here, so no email is sent. They sign in with single sign-on using this email address.",+ "open": "Create user",+ "submit": "Create user",+ "title": "Create user"},- "you": "Tu"+ "details": {+ "avatarHint": "PNG, JPEG, or WebP. Cropped to a square.",+ "avatarManaged": "This picture comes from the identity provider.",+ "emailStatus": "Email",+ "methods": {+ "password": "Password"+ },+ "noSignInMethods": "No password or linked account yet",+ "notVerified": "Not verified",+ "removeAvatar": "Remove",+ "signInMethods": "Sign-in methods",+ "uploadAvatar": "Upload",+ "verified": "Verified"+ },+ "filters": {+ "anyEmail": "Any email",+ "anyRole": "Any role",+ "anyStatus": "Any status",+ "clear": "Clear filters",+ "email": "Email verification",+ "label": "Filter users",+ "role": "Role",+ "status": "Status",+ "unverified": "Unverified email",+ "verified": "Verified email"+ },+ "never": "Never",+ "unverified": "Unverified"},"security": "Security","securityPage": {@@ -2428,7 +2497,12 @@"workspaceMemberAdded": "Added workspace member","workspaceMemberRemoved": "Removed workspace member","workspaceMemberRoleChanged": "Changed workspace member role",- "workspaceOwnerTransferred": "Transferred workspace ownership"+ "workspaceOwnerTransferred": "Transferred workspace ownership",+ "userAvatarChanged": "Changed profile picture",+ "userAvatarRemoved": "Removed profile picture",+ "userEmailVerified": "Marked email as verified",+ "userPasswordResetSent": "Sent password reset link",+ "userVerificationSent": "Sent verification email"},"categories": {"all": "All actions",@@ -2451,7 +2525,8 @@"memberChange": "{{member}}: {{from}} → {{to}}","memberWithRole": "{{member}} as {{role}}","noRole": "No role",- "reason": "Reason: {{reason}}"+ "reason": "Reason: {{reason}}",+ "createdWithRole": "Role: {{role}}"},"directoryTitle": "Recorded actions","emptyTitle": "No actions recorded",diff --git a/i18n/ja-JP.json b/i18n/ja-JP.jsonindex dfea84204..528afa1ec 100644--- a/i18n/ja-JP.json+++ b/i18n/ja-JP.json@@ -1589,7 +1589,10 @@"deactivate": "無効化","edit": "編集","open": "Actions for {{name}}",- "reactivate": "再有効化"+ "reactivate": "再有効化",+ "markEmailVerified": "Mark email as verified",+ "sendPasswordReset": "Send password reset link",+ "sendVerification": "Resend verification email"},"clearSearch": "Clear search","columns": {@@ -1597,7 +1600,8 @@"joined": "Joined","role": "ロール","status": "Status",- "user": "User"+ "user": "User",+ "lastActive": "Last active"},"confirm": {"deactivate": {@@ -1615,7 +1619,22 @@"description": "{{name}} will be able to sign in and access their workspaces again.","title": "Reactivate this account?"},- "working": "Working…"+ "working": "Working…",+ "markEmailVerified": {+ "action": "Mark as verified",+ "description": "Only do this if you know {{email}} belongs to {{name}}. Single sign-on accounts with a verified address can link to this account.",+ "title": "Mark this email as verified?"+ },+ "sendPasswordReset": {+ "action": "Send link",+ "description": "{{name}} gets an email at {{email}} with a link to choose a new password. The link works once and expires in 1 hour. You won't see the link.",+ "title": "Send a password reset link?"+ },+ "sendVerification": {+ "action": "Send email",+ "description": "{{name}} gets an email at {{email}} with a link to confirm the address. The link expires in 24 hours.",+ "title": "Resend the verification email?"+ }},"directoryTitle": "すべてのユーザー","edit": {@@ -1655,9 +1674,59 @@"deleted": "User deleted","reactivated": "User reactivated","updated": "User updated",- "updateError": "Failed to update user"+ "updateError": "Failed to update user",+ "avatarChanged": "Profile picture updated",+ "avatarError": "Failed to update the profile picture",+ "avatarRemoved": "Profile picture removed",+ "createdForSso": "User created. They can sign in with single sign-on as {{email}}.",+ "createdLinkFailed": "User created, but the password link could not be emailed. Try “Send password reset link” later.",+ "createdLinkSent": "User created. We emailed {{email}} a link to set their password.",+ "createdNoSmtp": "User created, but email isn't configured, so no password link was sent.",+ "createError": "Failed to create user",+ "emailError": "The email could not be sent",+ "emailVerified": "Email marked as verified",+ "passwordResetSent": "Password reset link sent to {{email}}",+ "verificationSent": "Verification email sent to {{email}}"+ },+ "you": "あなた",+ "create": {+ "creating": "Creating…",+ "description": "Add an account for someone. You never choose or see their password.",+ "hintEmail": "They'll get an email with a link to set their own password. The link expires in 2 days.",+ "hintNoEmail": "Email isn't configured on this instance, so no password link can be sent. Once SMTP is set up, use “Send password reset link”.",+ "hintSso": "Password sign-in is turned off here, so no email is sent. They sign in with single sign-on using this email address.",+ "open": "Create user",+ "submit": "Create user",+ "title": "Create user"},- "you": "あなた"+ "details": {+ "avatarHint": "PNG, JPEG, or WebP. Cropped to a square.",+ "avatarManaged": "This picture comes from the identity provider.",+ "emailStatus": "Email",+ "methods": {+ "password": "Password"+ },+ "noSignInMethods": "No password or linked account yet",+ "notVerified": "Not verified",+ "removeAvatar": "Remove",+ "signInMethods": "Sign-in methods",+ "uploadAvatar": "Upload",+ "verified": "Verified"+ },+ "filters": {+ "anyEmail": "Any email",+ "anyRole": "Any role",+ "anyStatus": "Any status",+ "clear": "Clear filters",+ "email": "Email verification",+ "label": "Filter users",+ "role": "Role",+ "status": "Status",+ "unverified": "Unverified email",+ "verified": "Verified email"+ },+ "never": "Never",+ "unverified": "Unverified"},"security": "Security","securityPage": {@@ -2344,7 +2413,12 @@"workspaceMemberAdded": "Added workspace member","workspaceMemberRemoved": "Removed workspace member","workspaceMemberRoleChanged": "Changed workspace member role",- "workspaceOwnerTransferred": "Transferred workspace ownership"+ "workspaceOwnerTransferred": "Transferred workspace ownership",+ "userAvatarChanged": "Changed profile picture",+ "userAvatarRemoved": "Removed profile picture",+ "userEmailVerified": "Marked email as verified",+ "userPasswordResetSent": "Sent password reset link",+ "userVerificationSent": "Sent verification email"},"categories": {"all": "All actions",@@ -2367,7 +2441,8 @@"memberChange": "{{member}}: {{from}} → {{to}}","memberWithRole": "{{member}} as {{role}}","noRole": "No role",- "reason": "Reason: {{reason}}"+ "reason": "Reason: {{reason}}",+ "createdWithRole": "Role: {{role}}"},"directoryTitle": "Recorded actions","emptyTitle": "No actions recorded",diff --git a/i18n/ko-KR.json b/i18n/ko-KR.jsonindex 376889a62..b8866abf2 100644--- a/i18n/ko-KR.json+++ b/i18n/ko-KR.json@@ -1589,7 +1589,10 @@"deactivate": "비활성화","edit": "편집","open": "Actions for {{name}}",- "reactivate": "다시 활성화"+ "reactivate": "다시 활성화",+ "markEmailVerified": "Mark email as verified",+ "sendPasswordReset": "Send password reset link",+ "sendVerification": "Resend verification email"},"clearSearch": "Clear search","columns": {@@ -1597,7 +1600,8 @@"joined": "Joined","role": "역할","status": "Status",- "user": "User"+ "user": "User",+ "lastActive": "Last active"},"confirm": {"deactivate": {@@ -1615,7 +1619,22 @@"description": "{{name}} will be able to sign in and access their workspaces again.","title": "Reactivate this account?"},- "working": "Working…"+ "working": "Working…",+ "markEmailVerified": {+ "action": "Mark as verified",+ "description": "Only do this if you know {{email}} belongs to {{name}}. Single sign-on accounts with a verified address can link to this account.",+ "title": "Mark this email as verified?"+ },+ "sendPasswordReset": {+ "action": "Send link",+ "description": "{{name}} gets an email at {{email}} with a link to choose a new password. The link works once and expires in 1 hour. You won't see the link.",+ "title": "Send a password reset link?"+ },+ "sendVerification": {+ "action": "Send email",+ "description": "{{name}} gets an email at {{email}} with a link to confirm the address. The link expires in 24 hours.",+ "title": "Resend the verification email?"+ }},"directoryTitle": "모든 사용자","edit": {@@ -1655,9 +1674,59 @@"deleted": "User deleted","reactivated": "User reactivated","updated": "User updated",- "updateError": "Failed to update user"+ "updateError": "Failed to update user",+ "avatarChanged": "Profile picture updated",+ "avatarError": "Failed to update the profile picture",+ "avatarRemoved": "Profile picture removed",+ "createdForSso": "User created. They can sign in with single sign-on as {{email}}.",+ "createdLinkFailed": "User created, but the password link could not be emailed. Try “Send password reset link” later.",+ "createdLinkSent": "User created. We emailed {{email}} a link to set their password.",+ "createdNoSmtp": "User created, but email isn't configured, so no password link was sent.",+ "createError": "Failed to create user",+ "emailError": "The email could not be sent",+ "emailVerified": "Email marked as verified",+ "passwordResetSent": "Password reset link sent to {{email}}",+ "verificationSent": "Verification email sent to {{email}}"+ },+ "you": "나",+ "create": {+ "creating": "Creating…",+ "description": "Add an account for someone. You never choose or see their password.",+ "hintEmail": "They'll get an email with a link to set their own password. The link expires in 2 days.",+ "hintNoEmail": "Email isn't configured on this instance, so no password link can be sent. Once SMTP is set up, use “Send password reset link”.",+ "hintSso": "Password sign-in is turned off here, so no email is sent. They sign in with single sign-on using this email address.",+ "open": "Create user",+ "submit": "Create user",+ "title": "Create user"},- "you": "나"+ "details": {+ "avatarHint": "PNG, JPEG, or WebP. Cropped to a square.",+ "avatarManaged": "This picture comes from the identity provider.",+ "emailStatus": "Email",+ "methods": {+ "password": "Password"+ },+ "noSignInMethods": "No password or linked account yet",+ "notVerified": "Not verified",+ "removeAvatar": "Remove",+ "signInMethods": "Sign-in methods",+ "uploadAvatar": "Upload",+ "verified": "Verified"+ },+ "filters": {+ "anyEmail": "Any email",+ "anyRole": "Any role",+ "anyStatus": "Any status",+ "clear": "Clear filters",+ "email": "Email verification",+ "label": "Filter users",+ "role": "Role",+ "status": "Status",+ "unverified": "Unverified email",+ "verified": "Verified email"+ },+ "never": "Never",+ "unverified": "Unverified"},"security": "Security","securityPage": {@@ -2344,7 +2413,12 @@"workspaceMemberAdded": "Added workspace member","workspaceMemberRemoved": "Removed workspace member","workspaceMemberRoleChanged": "Changed workspace member role",- "workspaceOwnerTransferred": "Transferred workspace ownership"+ "workspaceOwnerTransferred": "Transferred workspace ownership",+ "userAvatarChanged": "Changed profile picture",+ "userAvatarRemoved": "Removed profile picture",+ "userEmailVerified": "Marked email as verified",+ "userPasswordResetSent": "Sent password reset link",+ "userVerificationSent": "Sent verification email"},"categories": {"all": "All actions",@@ -2367,7 +2441,8 @@"memberChange": "{{member}}: {{from}} → {{to}}","memberWithRole": "{{member}} as {{role}}","noRole": "No role",- "reason": "Reason: {{reason}}"+ "reason": "Reason: {{reason}}",+ "createdWithRole": "Role: {{role}}"},"directoryTitle": "Recorded actions","emptyTitle": "No actions recorded",diff --git a/i18n/mk-MK.json b/i18n/mk-MK.jsonindex 5f40f88ae..e7ea97cf1 100644--- a/i18n/mk-MK.json+++ b/i18n/mk-MK.json@@ -1598,7 +1598,10 @@"deactivate": "Деактивирај","edit": "Уреди","open": "Actions for {{name}}",- "reactivate": "Повторно активирај"+ "reactivate": "Повторно активирај",+ "markEmailVerified": "Mark email as verified",+ "sendPasswordReset": "Send password reset link",+ "sendVerification": "Resend verification email"},"clearSearch": "Clear search","columns": {@@ -1606,7 +1609,8 @@"joined": "Joined","role": "Улога","status": "Status",- "user": "User"+ "user": "User",+ "lastActive": "Last active"},"confirm": {"deactivate": {@@ -1624,7 +1628,22 @@"description": "{{name}} will be able to sign in and access their workspaces again.","title": "Reactivate this account?"},- "working": "Working…"+ "working": "Working…",+ "markEmailVerified": {+ "action": "Mark as verified",+ "description": "Only do this if you know {{email}} belongs to {{name}}. Single sign-on accounts with a verified address can link to this account.",+ "title": "Mark this email as verified?"+ },+ "sendPasswordReset": {+ "action": "Send link",+ "description": "{{name}} gets an email at {{email}} with a link to choose a new password. The link works once and expires in 1 hour. You won't see the link.",+ "title": "Send a password reset link?"+ },+ "sendVerification": {+ "action": "Send email",+ "description": "{{name}} gets an email at {{email}} with a link to confirm the address. The link expires in 24 hours.",+ "title": "Resend the verification email?"+ }},"directoryTitle": "Сите корисници","edit": {@@ -1665,9 +1684,59 @@"deleted": "User deleted","reactivated": "User reactivated","updated": "User updated",- "updateError": "Failed to update user"+ "updateError": "Failed to update user",+ "avatarChanged": "Profile picture updated",+ "avatarError": "Failed to update the profile picture",+ "avatarRemoved": "Profile picture removed",+ "createdForSso": "User created. They can sign in with single sign-on as {{email}}.",+ "createdLinkFailed": "User created, but the password link could not be emailed. Try “Send password reset link” later.",+ "createdLinkSent": "User created. We emailed {{email}} a link to set their password.",+ "createdNoSmtp": "User created, but email isn't configured, so no password link was sent.",+ "createError": "Failed to create user",+ "emailError": "The email could not be sent",+ "emailVerified": "Email marked as verified",+ "passwordResetSent": "Password reset link sent to {{email}}",+ "verificationSent": "Verification email sent to {{email}}"+ },+ "you": "Ти",+ "create": {+ "creating": "Creating…",+ "description": "Add an account for someone. You never choose or see their password.",+ "hintEmail": "They'll get an email with a link to set their own password. The link expires in 2 days.",+ "hintNoEmail": "Email isn't configured on this instance, so no password link can be sent. Once SMTP is set up, use “Send password reset link”.",+ "hintSso": "Password sign-in is turned off here, so no email is sent. They sign in with single sign-on using this email address.",+ "open": "Create user",+ "submit": "Create user",+ "title": "Create user"},- "you": "Ти"+ "details": {+ "avatarHint": "PNG, JPEG, or WebP. Cropped to a square.",+ "avatarManaged": "This picture comes from the identity provider.",+ "emailStatus": "Email",+ "methods": {+ "password": "Password"+ },+ "noSignInMethods": "No password or linked account yet",+ "notVerified": "Not verified",+ "removeAvatar": "Remove",+ "signInMethods": "Sign-in methods",+ "uploadAvatar": "Upload",+ "verified": "Verified"+ },+ "filters": {+ "anyEmail": "Any email",+ "anyRole": "Any role",+ "anyStatus": "Any status",+ "clear": "Clear filters",+ "email": "Email verification",+ "label": "Filter users",+ "role": "Role",+ "status": "Status",+ "unverified": "Unverified email",+ "verified": "Verified email"+ },+ "never": "Never",+ "unverified": "Unverified"},"security": "Security","securityPage": {@@ -2386,7 +2455,12 @@"workspaceMemberAdded": "Added workspace member","workspaceMemberRemoved": "Removed workspace member","workspaceMemberRoleChanged": "Changed workspace member role",- "workspaceOwnerTransferred": "Transferred workspace ownership"+ "workspaceOwnerTransferred": "Transferred workspace ownership",+ "userAvatarChanged": "Changed profile picture",+ "userAvatarRemoved": "Removed profile picture",+ "userEmailVerified": "Marked email as verified",+ "userPasswordResetSent": "Sent password reset link",+ "userVerificationSent": "Sent verification email"},"categories": {"all": "All actions",@@ -2409,7 +2483,8 @@"memberChange": "{{member}}: {{from}} → {{to}}","memberWithRole": "{{member}} as {{role}}","noRole": "No role",- "reason": "Reason: {{reason}}"+ "reason": "Reason: {{reason}}",+ "createdWithRole": "Role: {{role}}"},"directoryTitle": "Recorded actions","emptyTitle": "No actions recorded",diff --git a/i18n/nl-NL.json b/i18n/nl-NL.jsonindex 5d30777c0..d0b8b53e9 100644--- a/i18n/nl-NL.json+++ b/i18n/nl-NL.json@@ -1598,7 +1598,10 @@"deactivate": "Deactiveren","edit": "Bewerken","open": "Actions for {{name}}",- "reactivate": "Heractiveren"+ "reactivate": "Heractiveren",+ "markEmailVerified": "Mark email as verified",+ "sendPasswordReset": "Send password reset link",+ "sendVerification": "Resend verification email"},"clearSearch": "Clear search","columns": {@@ -1606,7 +1609,8 @@"joined": "Joined","role": "Rol","status": "Status",- "user": "User"+ "user": "User",+ "lastActive": "Last active"},"confirm": {"deactivate": {@@ -1624,7 +1628,22 @@"description": "{{name}} will be able to sign in and access their workspaces again.","title": "Reactivate this account?"},- "working": "Working…"+ "working": "Working…",+ "markEmailVerified": {+ "action": "Mark as verified",+ "description": "Only do this if you know {{email}} belongs to {{name}}. Single sign-on accounts with a verified address can link to this account.",+ "title": "Mark this email as verified?"+ },+ "sendPasswordReset": {+ "action": "Send link",+ "description": "{{name}} gets an email at {{email}} with a link to choose a new password. The link works once and expires in 1 hour. You won't see the link.",+ "title": "Send a password reset link?"+ },+ "sendVerification": {+ "action": "Send email",+ "description": "{{name}} gets an email at {{email}} with a link to confirm the address. The link expires in 24 hours.",+ "title": "Resend the verification email?"+ }},"directoryTitle": "Alle gebruikers","edit": {@@ -1665,9 +1684,59 @@"deleted": "User deleted","reactivated": "User reactivated","updated": "User updated",- "updateError": "Failed to update user"+ "updateError": "Failed to update user",+ "avatarChanged": "Profile picture updated",+ "avatarError": "Failed to update the profile picture",+ "avatarRemoved": "Profile picture removed",+ "createdForSso": "User created. They can sign in with single sign-on as {{email}}.",+ "createdLinkFailed": "User created, but the password link could not be emailed. Try “Send password reset link” later.",+ "createdLinkSent": "User created. We emailed {{email}} a link to set their password.",+ "createdNoSmtp": "User created, but email isn't configured, so no password link was sent.",+ "createError": "Failed to create user",+ "emailError": "The email could not be sent",+ "emailVerified": "Email marked as verified",+ "passwordResetSent": "Password reset link sent to {{email}}",+ "verificationSent": "Verification email sent to {{email}}"+ },+ "you": "Jij",+ "create": {+ "creating": "Creating…",+ "description": "Add an account for someone. You never choose or see their password.",+ "hintEmail": "They'll get an email with a link to set their own password. The link expires in 2 days.",+ "hintNoEmail": "Email isn't configured on this instance, so no password link can be sent. Once SMTP is set up, use “Send password reset link”.",+ "hintSso": "Password sign-in is turned off here, so no email is sent. They sign in with single sign-on using this email address.",+ "open": "Create user",+ "submit": "Create user",+ "title": "Create user"},- "you": "Jij"+ "details": {+ "avatarHint": "PNG, JPEG, or WebP. Cropped to a square.",+ "avatarManaged": "This picture comes from the identity provider.",+ "emailStatus": "Email",+ "methods": {+ "password": "Password"+ },+ "noSignInMethods": "No password or linked account yet",+ "notVerified": "Not verified",+ "removeAvatar": "Remove",+ "signInMethods": "Sign-in methods",+ "uploadAvatar": "Upload",+ "verified": "Verified"+ },+ "filters": {+ "anyEmail": "Any email",+ "anyRole": "Any role",+ "anyStatus": "Any status",+ "clear": "Clear filters",+ "email": "Email verification",+ "label": "Filter users",+ "role": "Role",+ "status": "Status",+ "unverified": "Unverified email",+ "verified": "Verified email"+ },+ "never": "Never",+ "unverified": "Unverified"},"security": "Security","securityPage": {@@ -2386,7 +2455,12 @@"workspaceMemberAdded": "Added workspace member","workspaceMemberRemoved": "Removed workspace member","workspaceMemberRoleChanged": "Changed workspace member role",- "workspaceOwnerTransferred": "Transferred workspace ownership"+ "workspaceOwnerTransferred": "Transferred workspace ownership",+ "userAvatarChanged": "Changed profile picture",+ "userAvatarRemoved": "Removed profile picture",+ "userEmailVerified": "Marked email as verified",+ "userPasswordResetSent": "Sent password reset link",+ "userVerificationSent": "Sent verification email"},"categories": {"all": "All actions",@@ -2409,7 +2483,8 @@"memberChange": "{{member}}: {{from}} → {{to}}","memberWithRole": "{{member}} as {{role}}","noRole": "No role",- "reason": "Reason: {{reason}}"+ "reason": "Reason: {{reason}}",+ "createdWithRole": "Role: {{role}}"},"directoryTitle": "Recorded actions","emptyTitle": "No actions recorded",diff --git a/i18n/pl-PL.json b/i18n/pl-PL.jsonindex b8d79f390..67bfd45b8 100644--- a/i18n/pl-PL.json+++ b/i18n/pl-PL.json@@ -2301,7 +2301,10 @@"deactivate": "Dezaktywuj","edit": "Edytuj","open": "Actions for {{name}}",- "reactivate": "Aktywuj ponownie"+ "reactivate": "Aktywuj ponownie",+ "markEmailVerified": "Mark email as verified",+ "sendPasswordReset": "Send password reset link",+ "sendVerification": "Resend verification email"},"clearSearch": "Clear search","columns": {@@ -2309,7 +2312,8 @@"joined": "Joined","role": "Rola","status": "Status",- "user": "User"+ "user": "User",+ "lastActive": "Last active"},"confirm": {"deactivate": {@@ -2327,7 +2331,22 @@"description": "{{name}} will be able to sign in and access their workspaces again.","title": "Reactivate this account?"},- "working": "Working…"+ "working": "Working…",+ "markEmailVerified": {+ "action": "Mark as verified",+ "description": "Only do this if you know {{email}} belongs to {{name}}. Single sign-on accounts with a verified address can link to this account.",+ "title": "Mark this email as verified?"+ },+ "sendPasswordReset": {+ "action": "Send link",+ "description": "{{name}} gets an email at {{email}} with a link to choose a new password. The link works once and expires in 1 hour. You won't see the link.",+ "title": "Send a password reset link?"+ },+ "sendVerification": {+ "action": "Send email",+ "description": "{{name}} gets an email at {{email}} with a link to confirm the address. The link expires in 24 hours.",+ "title": "Resend the verification email?"+ }},"directoryTitle": "Wszyscy użytkownicy","edit": {@@ -2370,9 +2389,59 @@"deleted": "User deleted","reactivated": "User reactivated","updated": "User updated",- "updateError": "Failed to update user"+ "updateError": "Failed to update user",+ "avatarChanged": "Profile picture updated",+ "avatarError": "Failed to update the profile picture",+ "avatarRemoved": "Profile picture removed",+ "createdForSso": "User created. They can sign in with single sign-on as {{email}}.",+ "createdLinkFailed": "User created, but the password link could not be emailed. Try “Send password reset link” later.",+ "createdLinkSent": "User created. We emailed {{email}} a link to set their password.",+ "createdNoSmtp": "User created, but email isn't configured, so no password link was sent.",+ "createError": "Failed to create user",+ "emailError": "The email could not be sent",+ "emailVerified": "Email marked as verified",+ "passwordResetSent": "Password reset link sent to {{email}}",+ "verificationSent": "Verification email sent to {{email}}"+ },+ "you": "Ty",+ "create": {+ "creating": "Creating…",+ "description": "Add an account for someone. You never choose or see their password.",+ "hintEmail": "They'll get an email with a link to set their own password. The link expires in 2 days.",+ "hintNoEmail": "Email isn't configured on this instance, so no password link can be sent. Once SMTP is set up, use “Send password reset link”.",+ "hintSso": "Password sign-in is turned off here, so no email is sent. They sign in with single sign-on using this email address.",+ "open": "Create user",+ "submit": "Create user",+ "title": "Create user"},- "you": "Ty"+ "details": {+ "avatarHint": "PNG, JPEG, or WebP. Cropped to a square.",+ "avatarManaged": "This picture comes from the identity provider.",+ "emailStatus": "Email",+ "methods": {+ "password": "Password"+ },+ "noSignInMethods": "No password or linked account yet",+ "notVerified": "Not verified",+ "removeAvatar": "Remove",+ "signInMethods": "Sign-in methods",+ "uploadAvatar": "Upload",+ "verified": "Verified"+ },+ "filters": {+ "anyEmail": "Any email",+ "anyRole": "Any role",+ "anyStatus": "Any status",+ "clear": "Clear filters",+ "email": "Email verification",+ "label": "Filter users",+ "role": "Role",+ "status": "Status",+ "unverified": "Unverified email",+ "verified": "Verified email"+ },+ "never": "Never",+ "unverified": "Unverified"},"security": "Security","securityPage": {@@ -3155,7 +3224,12 @@"workspaceMemberAdded": "Added workspace member","workspaceMemberRemoved": "Removed workspace member","workspaceMemberRoleChanged": "Changed workspace member role",- "workspaceOwnerTransferred": "Transferred workspace ownership"+ "workspaceOwnerTransferred": "Transferred workspace ownership",+ "userAvatarChanged": "Changed profile picture",+ "userAvatarRemoved": "Removed profile picture",+ "userEmailVerified": "Marked email as verified",+ "userPasswordResetSent": "Sent password reset link",+ "userVerificationSent": "Sent verification email"},"categories": {"all": "All actions",@@ -3178,7 +3252,8 @@"memberChange": "{{member}}: {{from}} → {{to}}","memberWithRole": "{{member}} as {{role}}","noRole": "No role",- "reason": "Reason: {{reason}}"+ "reason": "Reason: {{reason}}",+ "createdWithRole": "Role: {{role}}"},"directoryTitle": "Recorded actions","emptyTitle": "No actions recorded",diff --git a/i18n/pt-BR.json b/i18n/pt-BR.jsonindex f8061e51d..d22e06397 100644--- a/i18n/pt-BR.json+++ b/i18n/pt-BR.json@@ -1607,7 +1607,10 @@"deactivate": "Desativar","edit": "Editar","open": "Actions for {{name}}",- "reactivate": "Reativar"+ "reactivate": "Reativar",+ "markEmailVerified": "Mark email as verified",+ "sendPasswordReset": "Send password reset link",+ "sendVerification": "Resend verification email"},"clearSearch": "Clear search","columns": {@@ -1615,7 +1618,8 @@"joined": "Joined","role": "Função","status": "Status",- "user": "User"+ "user": "User",+ "lastActive": "Last active"},"confirm": {"deactivate": {@@ -1633,7 +1637,22 @@"description": "{{name}} will be able to sign in and access their workspaces again.","title": "Reactivate this account?"},- "working": "Working…"+ "working": "Working…",+ "markEmailVerified": {+ "action": "Mark as verified",+ "description": "Only do this if you know {{email}} belongs to {{name}}. Single sign-on accounts with a verified address can link to this account.",+ "title": "Mark this email as verified?"+ },+ "sendPasswordReset": {+ "action": "Send link",+ "description": "{{name}} gets an email at {{email}} with a link to choose a new password. The link works once and expires in 1 hour. You won't see the link.",+ "title": "Send a password reset link?"+ },+ "sendVerification": {+ "action": "Send email",+ "description": "{{name}} gets an email at {{email}} with a link to confirm the address. The link expires in 24 hours.",+ "title": "Resend the verification email?"+ }},"directoryTitle": "Todos os usuários","edit": {@@ -1675,9 +1694,59 @@"deleted": "User deleted","reactivated": "User reactivated","updated": "User updated",- "updateError": "Failed to update user"+ "updateError": "Failed to update user",+ "avatarChanged": "Profile picture updated",+ "avatarError": "Failed to update the profile picture",+ "avatarRemoved": "Profile picture removed",+ "createdForSso": "User created. They can sign in with single sign-on as {{email}}.",+ "createdLinkFailed": "User created, but the password link could not be emailed. Try “Send password reset link” later.",+ "createdLinkSent": "User created. We emailed {{email}} a link to set their password.",+ "createdNoSmtp": "User created, but email isn't configured, so no password link was sent.",+ "createError": "Failed to create user",+ "emailError": "The email could not be sent",+ "emailVerified": "Email marked as verified",+ "passwordResetSent": "Password reset link sent to {{email}}",+ "verificationSent": "Verification email sent to {{email}}"+ },+ "you": "Você",+ "create": {+ "creating": "Creating…",+ "description": "Add an account for someone. You never choose or see their password.",+ "hintEmail": "They'll get an email with a link to set their own password. The link expires in 2 days.",+ "hintNoEmail": "Email isn't configured on this instance, so no password link can be sent. Once SMTP is set up, use “Send password reset link”.",+ "hintSso": "Password sign-in is turned off here, so no email is sent. They sign in with single sign-on using this email address.",+ "open": "Create user",+ "submit": "Create user",+ "title": "Create user"},- "you": "Você"+ "details": {+ "avatarHint": "PNG, JPEG, or WebP. Cropped to a square.",+ "avatarManaged": "This picture comes from the identity provider.",+ "emailStatus": "Email",+ "methods": {+ "password": "Password"+ },+ "noSignInMethods": "No password or linked account yet",+ "notVerified": "Not verified",+ "removeAvatar": "Remove",+ "signInMethods": "Sign-in methods",+ "uploadAvatar": "Upload",+ "verified": "Verified"+ },+ "filters": {+ "anyEmail": "Any email",+ "anyRole": "Any role",+ "anyStatus": "Any status",+ "clear": "Clear filters",+ "email": "Email verification",+ "label": "Filter users",+ "role": "Role",+ "status": "Status",+ "unverified": "Unverified email",+ "verified": "Verified email"+ },+ "never": "Never",+ "unverified": "Unverified"},"security": "Security","securityPage": {@@ -2428,7 +2497,12 @@"workspaceMemberAdded": "Added workspace member","workspaceMemberRemoved": "Removed workspace member","workspaceMemberRoleChanged": "Changed workspace member role",- "workspaceOwnerTransferred": "Transferred workspace ownership"+ "workspaceOwnerTransferred": "Transferred workspace ownership",+ "userAvatarChanged": "Changed profile picture",+ "userAvatarRemoved": "Removed profile picture",+ "userEmailVerified": "Marked email as verified",+ "userPasswordResetSent": "Sent password reset link",+ "userVerificationSent": "Sent verification email"},"categories": {"all": "All actions",@@ -2451,7 +2525,8 @@"memberChange": "{{member}}: {{from}} → {{to}}","memberWithRole": "{{member}} as {{role}}","noRole": "No role",- "reason": "Reason: {{reason}}"+ "reason": "Reason: {{reason}}",+ "createdWithRole": "Role: {{role}}"},"directoryTitle": "Recorded actions","emptyTitle": "No actions recorded",diff --git a/i18n/ru-RU.json b/i18n/ru-RU.jsonindex 018b1715e..dde90027b 100644--- a/i18n/ru-RU.json+++ b/i18n/ru-RU.json@@ -1624,7 +1624,10 @@"deactivate": "Деактивировать","edit": "Изменить","open": "Actions for {{name}}",- "reactivate": "Активировать снова"+ "reactivate": "Активировать снова",+ "markEmailVerified": "Mark email as verified",+ "sendPasswordReset": "Send password reset link",+ "sendVerification": "Resend verification email"},"clearSearch": "Clear search","columns": {@@ -1632,7 +1635,8 @@"joined": "Joined","role": "Роль","status": "Status",- "user": "User"+ "user": "User",+ "lastActive": "Last active"},"confirm": {"deactivate": {@@ -1650,7 +1654,22 @@"description": "{{name}} will be able to sign in and access their workspaces again.","title": "Reactivate this account?"},- "working": "Working…"+ "working": "Working…",+ "markEmailVerified": {+ "action": "Mark as verified",+ "description": "Only do this if you know {{email}} belongs to {{name}}. Single sign-on accounts with a verified address can link to this account.",+ "title": "Mark this email as verified?"+ },+ "sendPasswordReset": {+ "action": "Send link",+ "description": "{{name}} gets an email at {{email}} with a link to choose a new password. The link works once and expires in 1 hour. You won't see the link.",+ "title": "Send a password reset link?"+ },+ "sendVerification": {+ "action": "Send email",+ "description": "{{name}} gets an email at {{email}} with a link to confirm the address. The link expires in 24 hours.",+ "title": "Resend the verification email?"+ }},"directoryTitle": "Все пользователи","edit": {@@ -1693,9 +1712,59 @@"deleted": "User deleted","reactivated": "User reactivated","updated": "User updated",- "updateError": "Failed to update user"+ "updateError": "Failed to update user",+ "avatarChanged": "Profile picture updated",+ "avatarError": "Failed to update the profile picture",+ "avatarRemoved": "Profile picture removed",+ "createdForSso": "User created. They can sign in with single sign-on as {{email}}.",+ "createdLinkFailed": "User created, but the password link could not be emailed. Try “Send password reset link” later.",+ "createdLinkSent": "User created. We emailed {{email}} a link to set their password.",+ "createdNoSmtp": "User created, but email isn't configured, so no password link was sent.",+ "createError": "Failed to create user",+ "emailError": "The email could not be sent",+ "emailVerified": "Email marked as verified",+ "passwordResetSent": "Password reset link sent to {{email}}",+ "verificationSent": "Verification email sent to {{email}}"+ },+ "you": "Вы",+ "create": {+ "creating": "Creating…",+ "description": "Add an account for someone. You never choose or see their password.",+ "hintEmail": "They'll get an email with a link to set their own password. The link expires in 2 days.",+ "hintNoEmail": "Email isn't configured on this instance, so no password link can be sent. Once SMTP is set up, use “Send password reset link”.",+ "hintSso": "Password sign-in is turned off here, so no email is sent. They sign in with single sign-on using this email address.",+ "open": "Create user",+ "submit": "Create user",+ "title": "Create user"},- "you": "Вы"+ "details": {+ "avatarHint": "PNG, JPEG, or WebP. Cropped to a square.",+ "avatarManaged": "This picture comes from the identity provider.",+ "emailStatus": "Email",+ "methods": {+ "password": "Password"+ },+ "noSignInMethods": "No password or linked account yet",+ "notVerified": "Not verified",+ "removeAvatar": "Remove",+ "signInMethods": "Sign-in methods",+ "uploadAvatar": "Upload",+ "verified": "Verified"+ },+ "filters": {+ "anyEmail": "Any email",+ "anyRole": "Any role",+ "anyStatus": "Any status",+ "clear": "Clear filters",+ "email": "Email verification",+ "label": "Filter users",+ "role": "Role",+ "status": "Status",+ "unverified": "Unverified email",+ "verified": "Verified email"+ },+ "never": "Never",+ "unverified": "Unverified"},"security": "Security","securityPage": {@@ -2478,7 +2547,12 @@"workspaceMemberAdded": "Added workspace member","workspaceMemberRemoved": "Removed workspace member","workspaceMemberRoleChanged": "Changed workspace member role",- "workspaceOwnerTransferred": "Transferred workspace ownership"+ "workspaceOwnerTransferred": "Transferred workspace ownership",+ "userAvatarChanged": "Changed profile picture",+ "userAvatarRemoved": "Removed profile picture",+ "userEmailVerified": "Marked email as verified",+ "userPasswordResetSent": "Sent password reset link",+ "userVerificationSent": "Sent verification email"},"categories": {"all": "All actions",@@ -2501,7 +2575,8 @@"memberChange": "{{member}}: {{from}} → {{to}}","memberWithRole": "{{member}} as {{role}}","noRole": "No role",- "reason": "Reason: {{reason}}"+ "reason": "Reason: {{reason}}",+ "createdWithRole": "Role: {{role}}"},"directoryTitle": "Recorded actions","emptyTitle": "No actions recorded",diff --git a/i18n/tr-TR.json b/i18n/tr-TR.jsonindex a9ee758b6..6e30b93d7 100644--- a/i18n/tr-TR.json+++ b/i18n/tr-TR.json@@ -1598,7 +1598,10 @@"deactivate": "Devre dışı bırak","edit": "Düzenle","open": "Actions for {{name}}",- "reactivate": "Yeniden etkinleştir"+ "reactivate": "Yeniden etkinleştir",+ "markEmailVerified": "Mark email as verified",+ "sendPasswordReset": "Send password reset link",+ "sendVerification": "Resend verification email"},"clearSearch": "Clear search","columns": {@@ -1606,7 +1609,8 @@"joined": "Joined","role": "Rol","status": "Status",- "user": "User"+ "user": "User",+ "lastActive": "Last active"},"confirm": {"deactivate": {@@ -1624,7 +1628,22 @@"description": "{{name}} will be able to sign in and access their workspaces again.","title": "Reactivate this account?"},- "working": "Working…"+ "working": "Working…",+ "markEmailVerified": {+ "action": "Mark as verified",+ "description": "Only do this if you know {{email}} belongs to {{name}}. Single sign-on accounts with a verified address can link to this account.",+ "title": "Mark this email as verified?"+ },+ "sendPasswordReset": {+ "action": "Send link",+ "description": "{{name}} gets an email at {{email}} with a link to choose a new password. The link works once and expires in 1 hour. You won't see the link.",+ "title": "Send a password reset link?"+ },+ "sendVerification": {+ "action": "Send email",+ "description": "{{name}} gets an email at {{email}} with a link to confirm the address. The link expires in 24 hours.",+ "title": "Resend the verification email?"+ }},"directoryTitle": "Tüm kullanıcılar","edit": {@@ -1665,9 +1684,59 @@"deleted": "User deleted","reactivated": "User reactivated","updated": "User updated",- "updateError": "Failed to update user"+ "updateError": "Failed to update user",+ "avatarChanged": "Profile picture updated",+ "avatarError": "Failed to update the profile picture",+ "avatarRemoved": "Profile picture removed",+ "createdForSso": "User created. They can sign in with single sign-on as {{email}}.",+ "createdLinkFailed": "User created, but the password link could not be emailed. Try “Send password reset link” later.",+ "createdLinkSent": "User created. We emailed {{email}} a link to set their password.",+ "createdNoSmtp": "User created, but email isn't configured, so no password link was sent.",+ "createError": "Failed to create user",+ "emailError": "The email could not be sent",+ "emailVerified": "Email marked as verified",+ "passwordResetSent": "Password reset link sent to {{email}}",+ "verificationSent": "Verification email sent to {{email}}"+ },+ "you": "Siz",+ "create": {+ "creating": "Creating…",+ "description": "Add an account for someone. You never choose or see their password.",+ "hintEmail": "They'll get an email with a link to set their own password. The link expires in 2 days.",+ "hintNoEmail": "Email isn't configured on this instance, so no password link can be sent. Once SMTP is set up, use “Send password reset link”.",+ "hintSso": "Password sign-in is turned off here, so no email is sent. They sign in with single sign-on using this email address.",+ "open": "Create user",+ "submit": "Create user",+ "title": "Create user"},- "you": "Siz"+ "details": {+ "avatarHint": "PNG, JPEG, or WebP. Cropped to a square.",+ "avatarManaged": "This picture comes from the identity provider.",+ "emailStatus": "Email",+ "methods": {+ "password": "Password"+ },+ "noSignInMethods": "No password or linked account yet",+ "notVerified": "Not verified",+ "removeAvatar": "Remove",+ "signInMethods": "Sign-in methods",+ "uploadAvatar": "Upload",+ "verified": "Verified"+ },+ "filters": {+ "anyEmail": "Any email",+ "anyRole": "Any role",+ "anyStatus": "Any status",+ "clear": "Clear filters",+ "email": "Email verification",+ "label": "Filter users",+ "role": "Role",+ "status": "Status",+ "unverified": "Unverified email",+ "verified": "Verified email"+ },+ "never": "Never",+ "unverified": "Unverified"},"security": "Security","securityPage": {@@ -2386,7 +2455,12 @@"workspaceMemberAdded": "Added workspace member","workspaceMemberRemoved": "Removed workspace member","workspaceMemberRoleChanged": "Changed workspace member role",- "workspaceOwnerTransferred": "Transferred workspace ownership"+ "workspaceOwnerTransferred": "Transferred workspace ownership",+ "userAvatarChanged": "Changed profile picture",+ "userAvatarRemoved": "Removed profile picture",+ "userEmailVerified": "Marked email as verified",+ "userPasswordResetSent": "Sent password reset link",+ "userVerificationSent": "Sent verification email"},"categories": {"all": "All actions",@@ -2409,7 +2483,8 @@"memberChange": "{{member}}: {{from}} → {{to}}","memberWithRole": "{{member}} as {{role}}","noRole": "No role",- "reason": "Reason: {{reason}}"+ "reason": "Reason: {{reason}}",+ "createdWithRole": "Role: {{role}}"},"directoryTitle": "Recorded actions","emptyTitle": "No actions recorded",diff --git a/i18n/uk-UA.json b/i18n/uk-UA.jsonindex 0cbc48625..5bdc43c34 100644--- a/i18n/uk-UA.json+++ b/i18n/uk-UA.json@@ -1616,7 +1616,10 @@"deactivate": "Деактивувати","edit": "Редагувати","open": "Actions for {{name}}",- "reactivate": "Активувати знову"+ "reactivate": "Активувати знову",+ "markEmailVerified": "Mark email as verified",+ "sendPasswordReset": "Send password reset link",+ "sendVerification": "Resend verification email"},"clearSearch": "Clear search","columns": {@@ -1624,7 +1627,8 @@"joined": "Joined","role": "Роль","status": "Status",- "user": "User"+ "user": "User",+ "lastActive": "Last active"},"confirm": {"deactivate": {@@ -1642,7 +1646,22 @@"description": "{{name}} will be able to sign in and access their workspaces again.","title": "Reactivate this account?"},- "working": "Working…"+ "working": "Working…",+ "markEmailVerified": {+ "action": "Mark as verified",+ "description": "Only do this if you know {{email}} belongs to {{name}}. Single sign-on accounts with a verified address can link to this account.",+ "title": "Mark this email as verified?"+ },+ "sendPasswordReset": {+ "action": "Send link",+ "description": "{{name}} gets an email at {{email}} with a link to choose a new password. The link works once and expires in 1 hour. You won't see the link.",+ "title": "Send a password reset link?"+ },+ "sendVerification": {+ "action": "Send email",+ "description": "{{name}} gets an email at {{email}} with a link to confirm the address. The link expires in 24 hours.",+ "title": "Resend the verification email?"+ }},"directoryTitle": "Усі користувачі","edit": {@@ -1685,9 +1704,59 @@"deleted": "User deleted","reactivated": "User reactivated","updated": "User updated",- "updateError": "Failed to update user"+ "updateError": "Failed to update user",+ "avatarChanged": "Profile picture updated",+ "avatarError": "Failed to update the profile picture",+ "avatarRemoved": "Profile picture removed",+ "createdForSso": "User created. They can sign in with single sign-on as {{email}}.",+ "createdLinkFailed": "User created, but the password link could not be emailed. Try “Send password reset link” later.",+ "createdLinkSent": "User created. We emailed {{email}} a link to set their password.",+ "createdNoSmtp": "User created, but email isn't configured, so no password link was sent.",+ "createError": "Failed to create user",+ "emailError": "The email could not be sent",+ "emailVerified": "Email marked as verified",+ "passwordResetSent": "Password reset link sent to {{email}}",+ "verificationSent": "Verification email sent to {{email}}"+ },+ "you": "Ви",+ "create": {+ "creating": "Creating…",+ "description": "Add an account for someone. You never choose or see their password.",+ "hintEmail": "They'll get an email with a link to set their own password. The link expires in 2 days.",+ "hintNoEmail": "Email isn't configured on this instance, so no password link can be sent. Once SMTP is set up, use “Send password reset link”.",+ "hintSso": "Password sign-in is turned off here, so no email is sent. They sign in with single sign-on using this email address.",+ "open": "Create user",+ "submit": "Create user",+ "title": "Create user"},- "you": "Ви"+ "details": {+ "avatarHint": "PNG, JPEG, or WebP. Cropped to a square.",+ "avatarManaged": "This picture comes from the identity provider.",+ "emailStatus": "Email",+ "methods": {+ "password": "Password"+ },+ "noSignInMethods": "No password or linked account yet",+ "notVerified": "Not verified",+ "removeAvatar": "Remove",+ "signInMethods": "Sign-in methods",+ "uploadAvatar": "Upload",+ "verified": "Verified"+ },+ "filters": {+ "anyEmail": "Any email",+ "anyRole": "Any role",+ "anyStatus": "Any status",+ "clear": "Clear filters",+ "email": "Email verification",+ "label": "Filter users",+ "role": "Role",+ "status": "Status",+ "unverified": "Unverified email",+ "verified": "Verified email"+ },+ "never": "Never",+ "unverified": "Unverified"},"security": "Security","securityPage": {@@ -2470,7 +2539,12 @@"workspaceMemberAdded": "Added workspace member","workspaceMemberRemoved": "Removed workspace member","workspaceMemberRoleChanged": "Changed workspace member role",- "workspaceOwnerTransferred": "Transferred workspace ownership"+ "workspaceOwnerTransferred": "Transferred workspace ownership",+ "userAvatarChanged": "Changed profile picture",+ "userAvatarRemoved": "Removed profile picture",+ "userEmailVerified": "Marked email as verified",+ "userPasswordResetSent": "Sent password reset link",+ "userVerificationSent": "Sent verification email"},"categories": {"all": "All actions",@@ -2493,7 +2567,8 @@"memberChange": "{{member}}: {{from}} → {{to}}","memberWithRole": "{{member}} as {{role}}","noRole": "No role",- "reason": "Reason: {{reason}}"+ "reason": "Reason: {{reason}}",+ "createdWithRole": "Role: {{role}}"},"directoryTitle": "Recorded actions","emptyTitle": "No actions recorded",diff --git a/i18n/vi-VN.json b/i18n/vi-VN.jsonindex 9d1e71b83..86613c27d 100644--- a/i18n/vi-VN.json+++ b/i18n/vi-VN.json@@ -1589,7 +1589,10 @@"deactivate": "Vô hiệu hóa","edit": "Chỉnh sửa","open": "Actions for {{name}}",- "reactivate": "Kích hoạt lại"+ "reactivate": "Kích hoạt lại",+ "markEmailVerified": "Mark email as verified",+ "sendPasswordReset": "Send password reset link",+ "sendVerification": "Resend verification email"},"clearSearch": "Clear search","columns": {@@ -1597,7 +1600,8 @@"joined": "Joined","role": "Vai trò","status": "Status",- "user": "User"+ "user": "User",+ "lastActive": "Last active"},"confirm": {"deactivate": {@@ -1615,7 +1619,22 @@"description": "{{name}} will be able to sign in and access their workspaces again.","title": "Reactivate this account?"},- "working": "Working…"+ "working": "Working…",+ "markEmailVerified": {+ "action": "Mark as verified",+ "description": "Only do this if you know {{email}} belongs to {{name}}. Single sign-on accounts with a verified address can link to this account.",+ "title": "Mark this email as verified?"+ },+ "sendPasswordReset": {+ "action": "Send link",+ "description": "{{name}} gets an email at {{email}} with a link to choose a new password. The link works once and expires in 1 hour. You won't see the link.",+ "title": "Send a password reset link?"+ },+ "sendVerification": {+ "action": "Send email",+ "description": "{{name}} gets an email at {{email}} with a link to confirm the address. The link expires in 24 hours.",+ "title": "Resend the verification email?"+ }},"directoryTitle": "Tất cả người dùng","edit": {@@ -1655,9 +1674,59 @@"deleted": "User deleted","reactivated": "User reactivated","updated": "User updated",- "updateError": "Failed to update user"+ "updateError": "Failed to update user",+ "avatarChanged": "Profile picture updated",+ "avatarError": "Failed to update the profile picture",+ "avatarRemoved": "Profile picture removed",+ "createdForSso": "User created. They can sign in with single sign-on as {{email}}.",+ "createdLinkFailed": "User created, but the password link could not be emailed. Try “Send password reset link” later.",+ "createdLinkSent": "User created. We emailed {{email}} a link to set their password.",+ "createdNoSmtp": "User created, but email isn't configured, so no password link was sent.",+ "createError": "Failed to create user",+ "emailError": "The email could not be sent",+ "emailVerified": "Email marked as verified",+ "passwordResetSent": "Password reset link sent to {{email}}",+ "verificationSent": "Verification email sent to {{email}}"+ },+ "you": "Bạn",+ "create": {+ "creating": "Creating…",+ "description": "Add an account for someone. You never choose or see their password.",+ "hintEmail": "They'll get an email with a link to set their own password. The link expires in 2 days.",+ "hintNoEmail": "Email isn't configured on this instance, so no password link can be sent. Once SMTP is set up, use “Send password reset link”.",+ "hintSso": "Password sign-in is turned off here, so no email is sent. They sign in with single sign-on using this email address.",+ "open": "Create user",+ "submit": "Create user",+ "title": "Create user"},- "you": "Bạn"+ "details": {+ "avatarHint": "PNG, JPEG, or WebP. Cropped to a square.",+ "avatarManaged": "This picture comes from the identity provider.",+ "emailStatus": "Email",+ "methods": {+ "password": "Password"+ },+ "noSignInMethods": "No password or linked account yet",+ "notVerified": "Not verified",+ "removeAvatar": "Remove",+ "signInMethods": "Sign-in methods",+ "uploadAvatar": "Upload",+ "verified": "Verified"+ },+ "filters": {+ "anyEmail": "Any email",+ "anyRole": "Any role",+ "anyStatus": "Any status",+ "clear": "Clear filters",+ "email": "Email verification",+ "label": "Filter users",+ "role": "Role",+ "status": "Status",+ "unverified": "Unverified email",+ "verified": "Verified email"+ },+ "never": "Never",+ "unverified": "Unverified"},"security": "Security","securityPage": {@@ -2344,7 +2413,12 @@"workspaceMemberAdded": "Added workspace member","workspaceMemberRemoved": "Removed workspace member","workspaceMemberRoleChanged": "Changed workspace member role",- "workspaceOwnerTransferred": "Transferred workspace ownership"+ "workspaceOwnerTransferred": "Transferred workspace ownership",+ "userAvatarChanged": "Changed profile picture",+ "userAvatarRemoved": "Removed profile picture",+ "userEmailVerified": "Marked email as verified",+ "userPasswordResetSent": "Sent password reset link",+ "userVerificationSent": "Sent verification email"},"categories": {"all": "All actions",@@ -2367,7 +2441,8 @@"memberChange": "{{member}}: {{from}} → {{to}}","memberWithRole": "{{member}} as {{role}}","noRole": "No role",- "reason": "Reason: {{reason}}"+ "reason": "Reason: {{reason}}",+ "createdWithRole": "Role: {{role}}"},"directoryTitle": "Recorded actions","emptyTitle": "No actions recorded",diff --git a/i18n/zh-CN.json b/i18n/zh-CN.jsonindex 56eb8176a..8e4b7a64e 100644--- a/i18n/zh-CN.json+++ b/i18n/zh-CN.json@@ -1589,7 +1589,10 @@"deactivate": "停用","edit": "编辑","open": "{{name}} 的操作",- "reactivate": "恢复"+ "reactivate": "恢复",+ "markEmailVerified": "Mark email as verified",+ "sendPasswordReset": "Send password reset link",+ "sendVerification": "Resend verification email"},"clearSearch": "清除搜索","columns": {@@ -1597,7 +1600,8 @@"joined": "加入时间","role": "角色","status": "状态",- "user": "用户"+ "user": "用户",+ "lastActive": "Last active"},"confirm": {"deactivate": {@@ -1615,7 +1619,22 @@"description": "{{name}} 将可以重新登录并访问其工作区。","title": "恢复这个账号?"},- "working": "处理中…"+ "working": "处理中…",+ "markEmailVerified": {+ "action": "Mark as verified",+ "description": "Only do this if you know {{email}} belongs to {{name}}. Single sign-on accounts with a verified address can link to this account.",+ "title": "Mark this email as verified?"+ },+ "sendPasswordReset": {+ "action": "Send link",+ "description": "{{name}} gets an email at {{email}} with a link to choose a new password. The link works once and expires in 1 hour. You won't see the link.",+ "title": "Send a password reset link?"+ },+ "sendVerification": {+ "action": "Send email",+ "description": "{{name}} gets an email at {{email}} with a link to confirm the address. The link expires in 24 hours.",+ "title": "Resend the verification email?"+ }},"directoryTitle": "所有用户","edit": {@@ -1655,9 +1674,59 @@"deleted": "用户已删除","reactivated": "用户已恢复","updated": "用户已更新",- "updateError": "更新用户失败"+ "updateError": "更新用户失败",+ "avatarChanged": "Profile picture updated",+ "avatarError": "Failed to update the profile picture",+ "avatarRemoved": "Profile picture removed",+ "createdForSso": "User created. They can sign in with single sign-on as {{email}}.",+ "createdLinkFailed": "User created, but the password link could not be emailed. Try “Send password reset link” later.",+ "createdLinkSent": "User created. We emailed {{email}} a link to set their password.",+ "createdNoSmtp": "User created, but email isn't configured, so no password link was sent.",+ "createError": "Failed to create user",+ "emailError": "The email could not be sent",+ "emailVerified": "Email marked as verified",+ "passwordResetSent": "Password reset link sent to {{email}}",+ "verificationSent": "Verification email sent to {{email}}"+ },+ "you": "你",+ "create": {+ "creating": "Creating…",+ "description": "Add an account for someone. You never choose or see their password.",+ "hintEmail": "They'll get an email with a link to set their own password. The link expires in 2 days.",+ "hintNoEmail": "Email isn't configured on this instance, so no password link can be sent. Once SMTP is set up, use “Send password reset link”.",+ "hintSso": "Password sign-in is turned off here, so no email is sent. They sign in with single sign-on using this email address.",+ "open": "Create user",+ "submit": "Create user",+ "title": "Create user"},- "you": "你"+ "details": {+ "avatarHint": "PNG, JPEG, or WebP. Cropped to a square.",+ "avatarManaged": "This picture comes from the identity provider.",+ "emailStatus": "Email",+ "methods": {+ "password": "Password"+ },+ "noSignInMethods": "No password or linked account yet",+ "notVerified": "Not verified",+ "removeAvatar": "Remove",+ "signInMethods": "Sign-in methods",+ "uploadAvatar": "Upload",+ "verified": "Verified"+ },+ "filters": {+ "anyEmail": "Any email",+ "anyRole": "Any role",+ "anyStatus": "Any status",+ "clear": "Clear filters",+ "email": "Email verification",+ "label": "Filter users",+ "role": "Role",+ "status": "Status",+ "unverified": "Unverified email",+ "verified": "Verified email"+ },+ "never": "Never",+ "unverified": "Unverified"},"security": "安全","securityPage": {@@ -2344,7 +2413,12 @@"workspaceMemberAdded": "Added workspace member","workspaceMemberRemoved": "Removed workspace member","workspaceMemberRoleChanged": "Changed workspace member role",- "workspaceOwnerTransferred": "Transferred workspace ownership"+ "workspaceOwnerTransferred": "Transferred workspace ownership",+ "userAvatarChanged": "Changed profile picture",+ "userAvatarRemoved": "Removed profile picture",+ "userEmailVerified": "Marked email as verified",+ "userPasswordResetSent": "Sent password reset link",+ "userVerificationSent": "Sent verification email"},"categories": {"all": "All actions",@@ -2367,7 +2441,8 @@"memberChange": "{{member}}: {{from}} → {{to}}","memberWithRole": "{{member}} as {{role}}","noRole": "No role",- "reason": "Reason: {{reason}}"+ "reason": "Reason: {{reason}}",+ "createdWithRole": "Role: {{role}}"},"directoryTitle": "Recorded actions","emptyTitle": "No actions recorded",diff --git a/i18n/zh-TW.json b/i18n/zh-TW.jsonindex 7bf14107b..8646d76d8 100644--- a/i18n/zh-TW.json+++ b/i18n/zh-TW.json@@ -1588,7 +1588,10 @@"deactivate": "停用","edit": "編輯","open": "{{name}} 的操作",- "reactivate": "重新啟用"+ "reactivate": "重新啟用",+ "markEmailVerified": "Mark email as verified",+ "sendPasswordReset": "Send password reset link",+ "sendVerification": "Resend verification email"},"clearSearch": "清除搜尋","columns": {@@ -1596,7 +1599,8 @@"joined": "加入時間","role": "角色","status": "狀態",- "user": "使用者"+ "user": "使用者",+ "lastActive": "Last active"},"confirm": {"deactivate": {@@ -1614,7 +1618,22 @@"description": "{{name}} 將可再次登入並存取其工作區。","title": "要重新啟用這個帳號嗎?"},- "working": "處理中…"+ "working": "處理中…",+ "markEmailVerified": {+ "action": "Mark as verified",+ "description": "Only do this if you know {{email}} belongs to {{name}}. Single sign-on accounts with a verified address can link to this account.",+ "title": "Mark this email as verified?"+ },+ "sendPasswordReset": {+ "action": "Send link",+ "description": "{{name}} gets an email at {{email}} with a link to choose a new password. The link works once and expires in 1 hour. You won't see the link.",+ "title": "Send a password reset link?"+ },+ "sendVerification": {+ "action": "Send email",+ "description": "{{name}} gets an email at {{email}} with a link to confirm the address. The link expires in 24 hours.",+ "title": "Resend the verification email?"+ }},"directoryTitle": "所有使用者","edit": {@@ -1654,9 +1673,59 @@"deleted": "使用者已刪除","reactivated": "使用者已重新啟用","updated": "使用者已更新",- "updateError": "更新使用者失敗"+ "updateError": "更新使用者失敗",+ "avatarChanged": "Profile picture updated",+ "avatarError": "Failed to update the profile picture",+ "avatarRemoved": "Profile picture removed",+ "createdForSso": "User created. They can sign in with single sign-on as {{email}}.",+ "createdLinkFailed": "User created, but the password link could not be emailed. Try “Send password reset link” later.",+ "createdLinkSent": "User created. We emailed {{email}} a link to set their password.",+ "createdNoSmtp": "User created, but email isn't configured, so no password link was sent.",+ "createError": "Failed to create user",+ "emailError": "The email could not be sent",+ "emailVerified": "Email marked as verified",+ "passwordResetSent": "Password reset link sent to {{email}}",+ "verificationSent": "Verification email sent to {{email}}"+ },+ "you": "你",+ "create": {+ "creating": "Creating…",+ "description": "Add an account for someone. You never choose or see their password.",+ "hintEmail": "They'll get an email with a link to set their own password. The link expires in 2 days.",+ "hintNoEmail": "Email isn't configured on this instance, so no password link can be sent. Once SMTP is set up, use “Send password reset link”.",+ "hintSso": "Password sign-in is turned off here, so no email is sent. They sign in with single sign-on using this email address.",+ "open": "Create user",+ "submit": "Create user",+ "title": "Create user"},- "you": "你"+ "details": {+ "avatarHint": "PNG, JPEG, or WebP. Cropped to a square.",+ "avatarManaged": "This picture comes from the identity provider.",+ "emailStatus": "Email",+ "methods": {+ "password": "Password"+ },+ "noSignInMethods": "No password or linked account yet",+ "notVerified": "Not verified",+ "removeAvatar": "Remove",+ "signInMethods": "Sign-in methods",+ "uploadAvatar": "Upload",+ "verified": "Verified"+ },+ "filters": {+ "anyEmail": "Any email",+ "anyRole": "Any role",+ "anyStatus": "Any status",+ "clear": "Clear filters",+ "email": "Email verification",+ "label": "Filter users",+ "role": "Role",+ "status": "Status",+ "unverified": "Unverified email",+ "verified": "Verified email"+ },+ "never": "Never",+ "unverified": "Unverified"},"security": "安全性","securityPage": {@@ -2344,7 +2413,12 @@"workspaceMemberAdded": "Added workspace member","workspaceMemberRemoved": "Removed workspace member","workspaceMemberRoleChanged": "Changed workspace member role",- "workspaceOwnerTransferred": "Transferred workspace ownership"+ "workspaceOwnerTransferred": "Transferred workspace ownership",+ "userAvatarChanged": "Changed profile picture",+ "userAvatarRemoved": "Removed profile picture",+ "userEmailVerified": "Marked email as verified",+ "userPasswordResetSent": "Sent password reset link",+ "userVerificationSent": "Sent verification email"},"categories": {"all": "All actions",@@ -2367,7 +2441,8 @@"memberChange": "{{member}}: {{from}} → {{to}}","memberWithRole": "{{member}} as {{role}}","noRole": "No role",- "reason": "Reason: {{reason}}"+ "reason": "Reason: {{reason}}",+ "createdWithRole": "Role: {{role}}"},"directoryTitle": "Recorded actions","emptyTitle": "No actions recorded",