Compare commits
12
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
da320c113d | ||
|
|
559a666589 | ||
|
|
1ac6774821 | ||
|
|
7adb21ca59 | ||
|
|
4daf2729e5 | ||
|
|
1942c32128 | ||
|
|
b061a59433 | ||
|
|
ab867a9e50 | ||
|
|
968338aa97 | ||
|
|
3a8abe4415 | ||
|
|
8042a18dc1 | ||
|
|
c78bf05fc3 |
No files matched your search
@@ -33,6 +33,7 @@ body:
|
||||
options:
|
||||
# The below comment is used to insert a new version with on-release.yml
|
||||
#NEXT_VERSION#
|
||||
- 1.61.0
|
||||
- 1.60.1-beta.1
|
||||
- 1.60.0
|
||||
- 1.59.3
|
||||
|
||||
@@ -1,9 +1,3 @@
|
||||
## [1.61.1](https://github.com/homarr-labs/homarr/compare/v1.61.0...v1.61.1) (2026-05-18)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **downloads-widget:** increase name column default width ratio ([e9142c0](https://github.com/homarr-labs/homarr/commit/e9142c0dbcaca6cd9215b5292a2d139d96919b51))
|
||||
|
||||
## [1.61.0](https://github.com/homarr-labs/homarr/compare/v1.60.0...v1.61.0) (2026-05-08)
|
||||
|
||||
### Features
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@ VOLUME /appdata
|
||||
|
||||
# Enable homarr cli
|
||||
COPY --from=builder /app/packages/cli/cli.cjs /app/apps/cli/cli.cjs
|
||||
RUN echo $'#!/bin/bash\nexport DISABLE_REDIS_LOGS=true\ncd /app/apps/cli && exec node ./cli.cjs "$@"' > /usr/bin/homarr
|
||||
RUN echo $'#!/bin/bash\ncd /app/apps/cli && node ./cli.cjs "$@"' > /usr/bin/homarr
|
||||
RUN chmod +x /usr/bin/homarr
|
||||
|
||||
# Don't run production as root
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
"dependencies": {
|
||||
"better-sqlite3": "^12.9.0"
|
||||
},
|
||||
"packageManager": "pnpm@10.33.2",
|
||||
"packageManager": "pnpm@10.33.3",
|
||||
"engines": {
|
||||
"node": ">=24.15.0",
|
||||
"pnpm": ">=10.33.2"
|
||||
"pnpm": ">=10.33.3"
|
||||
},
|
||||
"pnpm": {
|
||||
"onlyBuiltDependencies": [
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "homarr",
|
||||
"version": "1.61.1",
|
||||
"version": "1.61.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "cross-env CI=true turbo build",
|
||||
@@ -59,10 +59,10 @@
|
||||
"vite-tsconfig-paths": "catalog:",
|
||||
"vitest": "catalog:"
|
||||
},
|
||||
"packageManager": "pnpm@10.33.2",
|
||||
"packageManager": "pnpm@10.33.3",
|
||||
"engines": {
|
||||
"node": ">=24.15.0",
|
||||
"pnpm": ">=10.33.2"
|
||||
"pnpm": ">=10.33.3"
|
||||
},
|
||||
"pnpm": {
|
||||
"onlyBuiltDependencies": [
|
||||
@@ -90,7 +90,7 @@
|
||||
"prismjs@<1.30.0": ">=1.30.0",
|
||||
"proxmox-api>undici": "7.24.6",
|
||||
"react-is": "^19.2.5",
|
||||
"rollup@>=4.0.0 <4.22.4": ">=4.60.2",
|
||||
"rollup@>=4.0.0 <4.22.4": ">=4.60.3",
|
||||
"sha.js@<=2.4.11": ">=2.4.12",
|
||||
"tar-fs@>=3.0.0 <3.0.9": ">=3.1.2",
|
||||
"tar-fs@>=2.0.0 <2.1.3": ">=3.1.2",
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "esbuild src/index.ts --bundle --platform=node --outfile=cli.cjs --external:bcrypt --external:cpu-features --external:better-sqlite3 --external:mysql2 --external:pg --loader:.html=text --loader:.node=text",
|
||||
"build": "esbuild src/index.ts --bundle --platform=node --outfile=cli.cjs --external:bcrypt --external:cpu-features --loader:.html=text --loader:.node=text",
|
||||
"clean": "rm -rf .turbo node_modules",
|
||||
"format": "prettier --check . --ignore-path ../../.gitignore",
|
||||
"lint": "eslint",
|
||||
@@ -25,16 +25,12 @@
|
||||
},
|
||||
"prettier": "@homarr/prettier-config",
|
||||
"dependencies": {
|
||||
"@drizzle-team/brocli": "catalog:",
|
||||
"@homarr/auth": "workspace:^0.1.0",
|
||||
"@homarr/common": "workspace:^0.1.0",
|
||||
"@homarr/core": "workspace:^0.1.0",
|
||||
"@homarr/db": "workspace:^0.1.0",
|
||||
"@homarr/validation": "workspace:^0.1.0",
|
||||
"better-sqlite3": "catalog:",
|
||||
"dotenv": "catalog:",
|
||||
"drizzle-orm": "catalog:",
|
||||
"mysql2": "catalog:",
|
||||
"pg": "catalog:"
|
||||
"dotenv": "catalog:"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@homarr/eslint-config": "workspace:^0.2.0",
|
||||
|
||||
@@ -1,127 +0,0 @@
|
||||
import Database from "better-sqlite3";
|
||||
import { drizzle as drizzleSqlite } from "drizzle-orm/better-sqlite3";
|
||||
import { drizzle as drizzleMysql } from "drizzle-orm/mysql2";
|
||||
import { drizzle as drizzlePostgres } from "drizzle-orm/node-postgres";
|
||||
import mysql from "mysql2";
|
||||
import type { Pool as MysqlPool } from "mysql2";
|
||||
import { Pool as PostgresPool } from "pg";
|
||||
|
||||
import { DB_CASING } from "@homarr/core/infrastructure/db/constants";
|
||||
import { dbEnv } from "@homarr/core/infrastructure/db/env";
|
||||
import { schema } from "@homarr/db/schema";
|
||||
|
||||
const CONNECT_TIMEOUT_MS = 10_000;
|
||||
|
||||
const dbConfig = {
|
||||
schema,
|
||||
casing: DB_CASING,
|
||||
};
|
||||
|
||||
export type CliDatabase = ReturnType<typeof drizzleSqlite<typeof schema>>;
|
||||
|
||||
type CliConnection =
|
||||
| { driver: "better-sqlite3"; raw: Database.Database; db: CliDatabase }
|
||||
| { driver: "mysql2"; raw: MysqlPool; db: CliDatabase }
|
||||
| { driver: "node-postgres"; raw: PostgresPool; db: CliDatabase };
|
||||
|
||||
let connection: CliConnection | null = null;
|
||||
|
||||
const createMysqlPool = () => {
|
||||
const poolOptions = {
|
||||
maxIdle: 0,
|
||||
idleTimeout: 60000,
|
||||
enableKeepAlive: true,
|
||||
connectTimeout: CONNECT_TIMEOUT_MS,
|
||||
};
|
||||
|
||||
if (!dbEnv.HOST) {
|
||||
return mysql.createPool({ ...poolOptions, uri: dbEnv.URL });
|
||||
}
|
||||
|
||||
return mysql.createPool({
|
||||
...poolOptions,
|
||||
host: dbEnv.HOST,
|
||||
port: dbEnv.PORT,
|
||||
database: dbEnv.NAME,
|
||||
user: dbEnv.USER,
|
||||
password: dbEnv.PASSWORD,
|
||||
});
|
||||
};
|
||||
|
||||
const createPostgresPool = () => {
|
||||
const poolOptions = {
|
||||
max: 1,
|
||||
idleTimeoutMillis: 60000,
|
||||
connectionTimeoutMillis: CONNECT_TIMEOUT_MS,
|
||||
allowExitOnIdle: true,
|
||||
};
|
||||
|
||||
if (!dbEnv.HOST) {
|
||||
return new PostgresPool({
|
||||
...poolOptions,
|
||||
connectionString: dbEnv.URL,
|
||||
});
|
||||
}
|
||||
|
||||
return new PostgresPool({
|
||||
...poolOptions,
|
||||
host: dbEnv.HOST,
|
||||
port: dbEnv.PORT,
|
||||
database: dbEnv.NAME,
|
||||
user: dbEnv.USER,
|
||||
password: dbEnv.PASSWORD,
|
||||
});
|
||||
};
|
||||
|
||||
const connectionFactories = {
|
||||
"better-sqlite3": (): CliConnection => {
|
||||
const raw = new Database(dbEnv.URL);
|
||||
const db = drizzleSqlite(raw, dbConfig);
|
||||
return { driver: "better-sqlite3", raw, db };
|
||||
},
|
||||
mysql2: (): CliConnection => {
|
||||
const raw = createMysqlPool();
|
||||
const db = drizzleMysql(raw, { ...dbConfig, mode: "default" }) as unknown as CliDatabase;
|
||||
return { driver: "mysql2", raw, db };
|
||||
},
|
||||
"node-postgres": (): CliConnection => {
|
||||
const raw = createPostgresPool();
|
||||
const db = drizzlePostgres({ ...dbConfig, client: raw }) as unknown as CliDatabase;
|
||||
return { driver: "node-postgres", raw, db };
|
||||
},
|
||||
};
|
||||
|
||||
const closeHandlers: Record<CliConnection["driver"], (entry: CliConnection) => Promise<void>> = {
|
||||
"better-sqlite3": async (entry) => {
|
||||
(entry as Extract<CliConnection, { driver: "better-sqlite3" }>).raw.close();
|
||||
},
|
||||
mysql2: (entry) => {
|
||||
const pool = (entry as Extract<CliConnection, { driver: "mysql2" }>).raw;
|
||||
return new Promise<void>((resolve, reject) => {
|
||||
pool.end((err) => (err ? reject(err) : resolve()));
|
||||
});
|
||||
},
|
||||
"node-postgres": async (entry) => {
|
||||
await (entry as Extract<CliConnection, { driver: "node-postgres" }>).raw.end();
|
||||
},
|
||||
};
|
||||
|
||||
export const getCliDb = (): CliDatabase => {
|
||||
if (connection) {
|
||||
return connection.db;
|
||||
}
|
||||
|
||||
const driver = dbEnv.DRIVER ?? "better-sqlite3";
|
||||
connection = connectionFactories[driver]();
|
||||
return connection.db;
|
||||
};
|
||||
|
||||
export const closeCliDbAsync = async (): Promise<void> => {
|
||||
if (!connection) {
|
||||
return;
|
||||
}
|
||||
|
||||
const current = connection;
|
||||
connection = null;
|
||||
await closeHandlers[current.driver](current);
|
||||
};
|
||||
@@ -1,35 +1,36 @@
|
||||
import { eq } from "drizzle-orm";
|
||||
import { command } from "@drizzle-team/brocli";
|
||||
|
||||
import { getCliDb } from "../cli-db";
|
||||
import { requireCredentialsProvider } from "../errors";
|
||||
import { db, eq } from "@homarr/db";
|
||||
import { users } from "@homarr/db/schema";
|
||||
|
||||
export async function fixUsernamesHandler(): Promise<number> {
|
||||
requireCredentialsProvider();
|
||||
|
||||
const db = getCliDb();
|
||||
const credentialUsers = await db.query.users.findMany({
|
||||
where: eq(users.provider, "credentials"),
|
||||
});
|
||||
|
||||
for (const user of credentialUsers) {
|
||||
if (!user.name) {
|
||||
continue;
|
||||
}
|
||||
if (user.name === user.name.toLowerCase()) {
|
||||
continue;
|
||||
export const fixUsernames = command({
|
||||
name: "fix-usernames",
|
||||
desc: "Changes all credentials usernames to lowercase",
|
||||
// eslint-disable-next-line no-restricted-syntax
|
||||
handler: async () => {
|
||||
if (!process.env.AUTH_PROVIDERS?.toLowerCase().includes("credentials")) {
|
||||
console.error("Credentials provider is not enabled");
|
||||
return;
|
||||
}
|
||||
|
||||
await db
|
||||
.update(users)
|
||||
.set({
|
||||
name: user.name.toLowerCase(),
|
||||
})
|
||||
.where(eq(users.id, user.id));
|
||||
const credentialUsers = await db.query.users.findMany({
|
||||
where: eq(users.provider, "credentials"),
|
||||
});
|
||||
|
||||
console.log(`Changed username from ${user.name} to ${user.name.toLowerCase()}`);
|
||||
}
|
||||
for (const user of credentialUsers) {
|
||||
if (!user.name) continue;
|
||||
if (user.name === user.name.toLowerCase()) continue;
|
||||
|
||||
console.log("All usernames have been fixed");
|
||||
return 0;
|
||||
}
|
||||
await db
|
||||
.update(users)
|
||||
.set({
|
||||
name: user.name.toLowerCase(),
|
||||
})
|
||||
.where(eq(users.id, user.id));
|
||||
|
||||
console.log(`Changed username from ${user.name} to ${user.name.toLowerCase()}`);
|
||||
}
|
||||
|
||||
console.log("All usernames have been fixed");
|
||||
},
|
||||
});
|
||||
@@ -1,50 +1,39 @@
|
||||
import { parseArgs } from "node:util";
|
||||
import { command, string } from "@drizzle-team/brocli";
|
||||
|
||||
import { eq } from "drizzle-orm";
|
||||
|
||||
import type { CliDatabase } from "../cli-db";
|
||||
import { getCliDb } from "../cli-db";
|
||||
import { CliError } from "../errors";
|
||||
import { db, eq } from "@homarr/db";
|
||||
import { integrations } from "@homarr/db/schema";
|
||||
|
||||
const integrationLookup: Record<
|
||||
"id" | "name",
|
||||
(db: CliDatabase, value: string) => Promise<{ id: string; name: string } | undefined>
|
||||
> = {
|
||||
id: (db, value) =>
|
||||
db.query.integrations.findFirst({
|
||||
where: eq(integrations.id, value),
|
||||
}),
|
||||
name: (db, value) =>
|
||||
db.query.integrations.findFirst({
|
||||
where: eq(integrations.name, value),
|
||||
}),
|
||||
};
|
||||
export const integrationsDelete = command({
|
||||
name: "delete",
|
||||
desc: "Delete an integration by id or name",
|
||||
options: {
|
||||
id: string("id").alias("i").desc("ID of the integration"),
|
||||
name: string("name").alias("n").desc("Name of the integration"),
|
||||
},
|
||||
// eslint-disable-next-line no-restricted-syntax
|
||||
handler: async (options) => {
|
||||
if (!options.id && !options.name) {
|
||||
console.error("Either --id or --name must be provided");
|
||||
return;
|
||||
}
|
||||
|
||||
export async function integrationsDeleteHandler(args: string[]): Promise<number> {
|
||||
const { values } = parseArgs({
|
||||
args,
|
||||
options: {
|
||||
id: { type: "string", short: "i" },
|
||||
name: { type: "string", short: "n" },
|
||||
},
|
||||
});
|
||||
let entry;
|
||||
if (options.id) {
|
||||
entry = await db.query.integrations.findFirst({
|
||||
where: eq(integrations.id, options.id),
|
||||
});
|
||||
} else if (options.name) {
|
||||
entry = await db.query.integrations.findFirst({
|
||||
where: eq(integrations.name, options.name),
|
||||
});
|
||||
}
|
||||
|
||||
const lookupKey = values.id ? "id" : values.name ? "name" : null;
|
||||
const lookupValue = values.id ?? values.name;
|
||||
if (!entry) {
|
||||
console.error("Integration not found");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!lookupKey || !lookupValue) {
|
||||
throw new CliError("Either --id or --name must be provided", 2);
|
||||
}
|
||||
|
||||
const db = getCliDb();
|
||||
const entry = await integrationLookup[lookupKey](db, lookupValue);
|
||||
|
||||
if (!entry) {
|
||||
throw new CliError("Integration not found");
|
||||
}
|
||||
|
||||
await db.delete(integrations).where(eq(integrations.id, entry.id));
|
||||
console.log(`Integration ${entry.name} (${entry.id}) deleted`);
|
||||
return 0;
|
||||
}
|
||||
await db.delete(integrations).where(eq(integrations.id, entry.id));
|
||||
console.log(`Integration ${entry.name} (${entry.id}) deleted`);
|
||||
},
|
||||
});
|
||||
@@ -1,35 +1,21 @@
|
||||
import { parseArgs } from "node:util";
|
||||
import { command } from "@drizzle-team/brocli";
|
||||
|
||||
import { getCliDb } from "../cli-db";
|
||||
import { printTable } from "../utils";
|
||||
import { db } from "@homarr/db";
|
||||
|
||||
export async function integrationsListHandler(args: string[] = []): Promise<number> {
|
||||
const { values } = parseArgs({
|
||||
args,
|
||||
options: {
|
||||
json: { type: "boolean", default: false },
|
||||
},
|
||||
strict: false,
|
||||
});
|
||||
export const integrationsList = command({
|
||||
name: "list",
|
||||
desc: "List all integrations (id and name)",
|
||||
// eslint-disable-next-line no-restricted-syntax
|
||||
handler: async () => {
|
||||
const all = await db.query.integrations.findMany();
|
||||
if (all.length === 0) {
|
||||
console.log("No integrations found");
|
||||
return;
|
||||
}
|
||||
|
||||
const db = getCliDb();
|
||||
const all = await db.query.integrations.findMany();
|
||||
|
||||
if (values.json) {
|
||||
const output = all.map((i) => ({ id: i.id, name: i.name, kind: i.kind, url: i.url }));
|
||||
console.log(JSON.stringify(output, null, 2));
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (all.length === 0) {
|
||||
console.log("No integrations found");
|
||||
return 0;
|
||||
}
|
||||
|
||||
printTable(
|
||||
["ID", "Name", "Kind", "URL"],
|
||||
all.map((i) => [i.id, i.name, i.kind, i.url]),
|
||||
);
|
||||
console.log(`\n${all.length} integration(s) total`);
|
||||
return 0;
|
||||
}
|
||||
console.log("ID\t\t\t\tName");
|
||||
for (const i of all) {
|
||||
console.log(`${i.id}\t${i.name}`);
|
||||
}
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,10 @@
|
||||
import { command } from "@drizzle-team/brocli";
|
||||
|
||||
import { integrationsDelete } from "./integrations-delete";
|
||||
import { integrationsList } from "./integrations-list";
|
||||
|
||||
export const integrationsRoot = command({
|
||||
name: "integrations",
|
||||
desc: "Group of commands to manage integrations",
|
||||
subcommands: [integrationsList, integrationsDelete],
|
||||
});
|
||||
@@ -1,98 +1,94 @@
|
||||
import { parseArgs } from "node:util";
|
||||
import { command, string } from "@drizzle-team/brocli";
|
||||
|
||||
import { hashPasswordAsync } from "@homarr/auth/security";
|
||||
import { hashPasswordAsync } from "@homarr/auth";
|
||||
import { createId } from "@homarr/common";
|
||||
import { generateSecureRandomToken } from "../utils";
|
||||
import { and, count, eq, max } from "drizzle-orm";
|
||||
|
||||
import { getCliDb } from "../cli-db";
|
||||
import { CliError, requireCredentialsProvider } from "../errors";
|
||||
import { generateSecureRandomToken } from "@homarr/common/server";
|
||||
import { and, count, db, eq } from "@homarr/db";
|
||||
import { getMaxGroupPositionAsync } from "@homarr/db/queries";
|
||||
import { groupMembers, groupPermissions, groups, users } from "@homarr/db/schema";
|
||||
import { usernameSchema } from "@homarr/validation/user";
|
||||
|
||||
export async function recreateAdminHandler(args: string[]): Promise<number> {
|
||||
requireCredentialsProvider();
|
||||
export const recreateAdmin = command({
|
||||
name: "recreate-admin",
|
||||
desc: "Recreate credentials admin user if none exists anymore",
|
||||
options: {
|
||||
username: string("username").required().alias("u").desc("Name of the admin"),
|
||||
},
|
||||
// eslint-disable-next-line no-restricted-syntax
|
||||
handler: async (options) => {
|
||||
if (!process.env.AUTH_PROVIDERS?.toLowerCase().includes("credentials")) {
|
||||
console.error("Credentials provider is not enabled");
|
||||
return;
|
||||
}
|
||||
|
||||
const { values } = parseArgs({
|
||||
args,
|
||||
options: {
|
||||
username: { type: "string", short: "u" },
|
||||
},
|
||||
});
|
||||
const result = await usernameSchema.safeParseAsync(options.username);
|
||||
|
||||
if (!values.username) {
|
||||
throw new CliError("Missing required option: --username / -u", 2);
|
||||
}
|
||||
if (!result.success) {
|
||||
console.error("Invalid username:");
|
||||
console.error(result.error.issues.map((error) => `- ${error.message}`).join("\n"));
|
||||
return;
|
||||
}
|
||||
|
||||
const result = await usernameSchema.safeParseAsync(values.username);
|
||||
if (!result.success) {
|
||||
const messages = result.error.issues.map((issue) => `- ${issue.message}`).join("\n");
|
||||
throw new CliError(`Invalid username:\n${messages}`, 2);
|
||||
}
|
||||
const totalCount = await db
|
||||
.select({
|
||||
count: count(),
|
||||
})
|
||||
.from(groupPermissions)
|
||||
.leftJoin(groupMembers, eq(groupMembers.groupId, groupPermissions.groupId))
|
||||
.leftJoin(users, eq(users.id, groupMembers.userId))
|
||||
.where(and(eq(groupPermissions.permission, "admin"), eq(users.provider, "credentials")))
|
||||
.then((rows) => rows.at(0)?.count ?? 0);
|
||||
|
||||
const db = getCliDb();
|
||||
if (totalCount > 0) {
|
||||
console.error("Credentials admin user exists");
|
||||
return;
|
||||
}
|
||||
|
||||
const totalCount = await db
|
||||
.select({
|
||||
count: count(),
|
||||
})
|
||||
.from(groupPermissions)
|
||||
.leftJoin(groupMembers, eq(groupMembers.groupId, groupPermissions.groupId))
|
||||
.leftJoin(users, eq(users.id, groupMembers.userId))
|
||||
.where(and(eq(groupPermissions.permission, "admin"), eq(users.provider, "credentials")))
|
||||
.then((rows: { count: number }[]) => rows.at(0)?.count ?? 0);
|
||||
const existingUser = await db.query.users.findFirst({
|
||||
where: eq(users.name, result.data),
|
||||
});
|
||||
|
||||
if (totalCount > 0) {
|
||||
throw new CliError("Credentials admin user exists");
|
||||
}
|
||||
if (existingUser) {
|
||||
console.error("User with this name already exists");
|
||||
return;
|
||||
}
|
||||
|
||||
const existingUser = await db.query.users.findFirst({
|
||||
where: eq(users.name, result.data),
|
||||
});
|
||||
const temporaryGroupId = createId();
|
||||
|
||||
if (existingUser) {
|
||||
throw new CliError("User with this name already exists");
|
||||
}
|
||||
const maxPosition = await getMaxGroupPositionAsync(db);
|
||||
await db.insert(groups).values({
|
||||
id: temporaryGroupId,
|
||||
name: temporaryGroupId,
|
||||
position: maxPosition + 1,
|
||||
});
|
||||
|
||||
const temporaryGroupId = createId();
|
||||
const maxPosition = await db
|
||||
.select({ value: max(groups.position) })
|
||||
.from(groups)
|
||||
.then((result: { value: number | null }[]) => result[0]?.value ?? 1);
|
||||
await db.insert(groupPermissions).values({
|
||||
groupId: temporaryGroupId,
|
||||
permission: "admin",
|
||||
});
|
||||
|
||||
await db.insert(groups).values({
|
||||
id: temporaryGroupId,
|
||||
name: temporaryGroupId,
|
||||
position: maxPosition + 1,
|
||||
});
|
||||
const password = generateSecureRandomToken(24);
|
||||
const hashedPassword = await hashPasswordAsync(password);
|
||||
|
||||
await db.insert(groupPermissions).values({
|
||||
groupId: temporaryGroupId,
|
||||
permission: "admin",
|
||||
});
|
||||
const userId = createId();
|
||||
await db.insert(users).values({
|
||||
id: userId,
|
||||
name: result.data,
|
||||
provider: "credentials",
|
||||
password: hashedPassword,
|
||||
});
|
||||
|
||||
const password = generateSecureRandomToken(24);
|
||||
const hashedPassword = await hashPasswordAsync(password);
|
||||
const userId = createId();
|
||||
await db.insert(groupMembers).values({
|
||||
groupId: temporaryGroupId,
|
||||
userId,
|
||||
});
|
||||
|
||||
await db.insert(users).values({
|
||||
id: userId,
|
||||
name: result.data,
|
||||
provider: "credentials",
|
||||
password: hashedPassword,
|
||||
});
|
||||
|
||||
await db.insert(groupMembers).values({
|
||||
groupId: temporaryGroupId,
|
||||
userId,
|
||||
});
|
||||
|
||||
console.log(
|
||||
"We created a new admin user for you. Please keep in mind, that the admin group of it has a temporary name. You should change it to something more meaningful.",
|
||||
);
|
||||
console.log(`\tUsername: ${result.data}`);
|
||||
console.log(`\tPassword: ${password}`);
|
||||
console.log(`\tGroup: ${temporaryGroupId}`);
|
||||
console.log("");
|
||||
return 0;
|
||||
}
|
||||
console.log(
|
||||
"We created a new admin user for you. Please keep in mind, that the admin group of it has a temporary name. You should change it to something more meaningful.",
|
||||
);
|
||||
console.log(`\tUsername: ${result.data}`);
|
||||
console.log(`\tPassword: ${password}`);
|
||||
console.log(`\tGroup: ${temporaryGroupId}`);
|
||||
console.log(""); // Empty line for better readability
|
||||
},
|
||||
});
|
||||
@@ -1,48 +1,46 @@
|
||||
import { parseArgs } from "node:util";
|
||||
import { command, string } from "@drizzle-team/brocli";
|
||||
|
||||
import { hashPasswordAsync } from "@homarr/auth/security";
|
||||
import { generateSecureRandomToken } from "../utils";
|
||||
import { and, eq } from "drizzle-orm";
|
||||
|
||||
import { getCliDb } from "../cli-db";
|
||||
import { CliError, requireCredentialsProvider } from "../errors";
|
||||
import { hashPasswordAsync } from "@homarr/auth";
|
||||
import { generateSecureRandomToken } from "@homarr/common/server";
|
||||
import { and, db, eq } from "@homarr/db";
|
||||
import { sessions, users } from "@homarr/db/schema";
|
||||
|
||||
export async function resetPasswordHandler(args: string[]): Promise<number> {
|
||||
requireCredentialsProvider();
|
||||
export const resetPassword = command({
|
||||
name: "reset-password",
|
||||
desc: "Reset password for a user",
|
||||
options: {
|
||||
username: string("username").required().alias("u").desc("Name of the user"),
|
||||
},
|
||||
// eslint-disable-next-line no-restricted-syntax
|
||||
handler: async (options) => {
|
||||
if (!process.env.AUTH_PROVIDERS?.toLowerCase().includes("credentials")) {
|
||||
console.error("Credentials provider is not enabled");
|
||||
return;
|
||||
}
|
||||
|
||||
const { values } = parseArgs({
|
||||
args,
|
||||
options: {
|
||||
username: { type: "string", short: "u" },
|
||||
},
|
||||
});
|
||||
const user = await db.query.users.findFirst({
|
||||
where: and(eq(users.name, options.username), eq(users.provider, "credentials")),
|
||||
});
|
||||
|
||||
if (!values.username) {
|
||||
throw new CliError("Missing required option: --username / -u", 2);
|
||||
}
|
||||
if (!user?.password) {
|
||||
console.error(`User ${options.username} not found`);
|
||||
return;
|
||||
}
|
||||
|
||||
const db = getCliDb();
|
||||
const user = await db.query.users.findFirst({
|
||||
where: and(eq(users.name, values.username), eq(users.provider, "credentials")),
|
||||
});
|
||||
// Generates a new password with 48 characters
|
||||
const newPassword = generateSecureRandomToken(24);
|
||||
|
||||
if (!user?.password) {
|
||||
throw new CliError(`User ${values.username} not found`);
|
||||
}
|
||||
await db
|
||||
.update(users)
|
||||
.set({
|
||||
password: await hashPasswordAsync(newPassword),
|
||||
})
|
||||
.where(eq(users.id, user.id));
|
||||
|
||||
const newPassword = generateSecureRandomToken(24);
|
||||
await db.delete(sessions).where(eq(sessions.userId, user.id));
|
||||
console.log(`All sessions for user ${options.username} have been deleted`);
|
||||
|
||||
await db
|
||||
.update(users)
|
||||
.set({
|
||||
password: await hashPasswordAsync(newPassword),
|
||||
})
|
||||
.where(eq(users.id, user.id));
|
||||
|
||||
await db.delete(sessions).where(eq(sessions.userId, user.id));
|
||||
console.log(`All sessions for user ${values.username} have been deleted`);
|
||||
console.log("You can now login with the new password");
|
||||
console.log(`New password for user ${values.username}: ${newPassword}`);
|
||||
return 0;
|
||||
}
|
||||
console.log("You can now login with the new password");
|
||||
console.log(`New password for user ${options.username}: ${newPassword}`);
|
||||
},
|
||||
});
|
||||
@@ -1,47 +1,39 @@
|
||||
import { parseArgs } from "node:util";
|
||||
import { command, string } from "@drizzle-team/brocli";
|
||||
|
||||
import { eq } from "drizzle-orm";
|
||||
|
||||
import type { CliDatabase } from "../cli-db";
|
||||
import { getCliDb } from "../cli-db";
|
||||
import { CliError } from "../errors";
|
||||
import { db, eq } from "@homarr/db";
|
||||
import { users } from "@homarr/db/schema";
|
||||
|
||||
const userLookup: Record<"id" | "username", (db: CliDatabase, value: string) => Promise<{ id: string; name: string | null } | undefined>> = {
|
||||
id: (db, value) =>
|
||||
db.query.users.findFirst({
|
||||
where: eq(users.id, value),
|
||||
}),
|
||||
username: (db, value) =>
|
||||
db.query.users.findFirst({
|
||||
where: eq(users.name, value),
|
||||
}),
|
||||
};
|
||||
export const usersDelete = command({
|
||||
name: "delete",
|
||||
desc: "Delete a user by id or username",
|
||||
options: {
|
||||
id: string("id").alias("i").desc("ID of the user"),
|
||||
username: string("username").alias("u").desc("Name of the user"),
|
||||
},
|
||||
// eslint-disable-next-line no-restricted-syntax
|
||||
handler: async (options) => {
|
||||
if (!options.id && !options.username) {
|
||||
console.error("Either --id or --username must be provided");
|
||||
return;
|
||||
}
|
||||
|
||||
export async function usersDeleteHandler(args: string[]): Promise<number> {
|
||||
const { values } = parseArgs({
|
||||
args,
|
||||
options: {
|
||||
id: { type: "string", short: "i" },
|
||||
username: { type: "string", short: "u" },
|
||||
},
|
||||
});
|
||||
let user;
|
||||
if (options.id) {
|
||||
user = await db.query.users.findFirst({
|
||||
where: eq(users.id, options.id),
|
||||
});
|
||||
} else if (options.username) {
|
||||
user = await db.query.users.findFirst({
|
||||
where: eq(users.name, options.username),
|
||||
});
|
||||
}
|
||||
|
||||
const lookupKey = values.id ? "id" : values.username ? "username" : null;
|
||||
const lookupValue = values.id ?? values.username;
|
||||
if (!user) {
|
||||
console.error("User not found");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!lookupKey || !lookupValue) {
|
||||
throw new CliError("Either --id or --username must be provided", 2);
|
||||
}
|
||||
|
||||
const db = getCliDb();
|
||||
const user = await userLookup[lookupKey](db, lookupValue);
|
||||
|
||||
if (!user) {
|
||||
throw new CliError("User not found");
|
||||
}
|
||||
|
||||
await db.delete(users).where(eq(users.id, user.id));
|
||||
console.log(`User ${user.name ?? user.id} (${user.id}) deleted`);
|
||||
return 0;
|
||||
}
|
||||
await db.delete(users).where(eq(users.id, user.id));
|
||||
console.log(`User ${user.name ?? user.id} (${user.id}) deleted`);
|
||||
},
|
||||
});
|
||||
@@ -1,35 +1,22 @@
|
||||
import { parseArgs } from "node:util";
|
||||
import { command } from "@drizzle-team/brocli";
|
||||
|
||||
import { getCliDb } from "../cli-db";
|
||||
import { printTable } from "../utils";
|
||||
import { db } from "@homarr/db";
|
||||
|
||||
export async function usersListHandler(args: string[] = []): Promise<number> {
|
||||
const { values } = parseArgs({
|
||||
args,
|
||||
options: {
|
||||
json: { type: "boolean", default: false },
|
||||
},
|
||||
strict: false,
|
||||
});
|
||||
export const usersList = command({
|
||||
name: "list",
|
||||
desc: "List all users (id, username, email)",
|
||||
// eslint-disable-next-line no-restricted-syntax
|
||||
handler: async () => {
|
||||
const allUsers = await db.query.users.findMany();
|
||||
|
||||
const db = getCliDb();
|
||||
const allUsers = await db.query.users.findMany();
|
||||
if (allUsers.length === 0) {
|
||||
console.log("No users found");
|
||||
return;
|
||||
}
|
||||
|
||||
if (values.json) {
|
||||
const output = allUsers.map((u) => ({ id: u.id, name: u.name, email: u.email, provider: u.provider }));
|
||||
console.log(JSON.stringify(output, null, 2));
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (allUsers.length === 0) {
|
||||
console.log("No users found");
|
||||
return 0;
|
||||
}
|
||||
|
||||
printTable(
|
||||
["ID", "Username", "Email", "Provider"],
|
||||
allUsers.map((u) => [u.id, u.name ?? "", u.email ?? "", u.provider]),
|
||||
);
|
||||
console.log(`\n${allUsers.length} user(s) total`);
|
||||
return 0;
|
||||
}
|
||||
console.log("ID\t\t\t\tUsername\tEmail");
|
||||
for (const user of allUsers) {
|
||||
console.log(`${user.id}\t${user.name ?? ""}\t${user.email ?? ""}`);
|
||||
}
|
||||
},
|
||||
});
|
||||
@@ -1,66 +1,50 @@
|
||||
import { parseArgs } from "node:util";
|
||||
import { command, string } from "@drizzle-team/brocli";
|
||||
|
||||
import { hashPasswordAsync } from "@homarr/auth/security";
|
||||
import { eq } from "drizzle-orm";
|
||||
|
||||
import type { CliDatabase } from "../cli-db";
|
||||
import { getCliDb } from "../cli-db";
|
||||
import { CliError, requireCredentialsProvider } from "../errors";
|
||||
import { hashPasswordAsync } from "@homarr/auth";
|
||||
import { db, eq } from "@homarr/db";
|
||||
import { sessions, users } from "@homarr/db/schema";
|
||||
|
||||
const userLookup: Record<
|
||||
"id" | "username",
|
||||
(db: CliDatabase, value: string) => Promise<{ id: string; name: string | null; password: string | null } | undefined>
|
||||
> = {
|
||||
id: (db, value) =>
|
||||
db.query.users.findFirst({
|
||||
where: eq(users.id, value),
|
||||
}),
|
||||
username: (db, value) =>
|
||||
db.query.users.findFirst({
|
||||
where: eq(users.name, value),
|
||||
}),
|
||||
};
|
||||
export const usersUpdatePassword = command({
|
||||
name: "update-password",
|
||||
desc: "Update the password for a user (credentials provider only)",
|
||||
options: {
|
||||
id: string("id").alias("i").desc("ID of the user"),
|
||||
username: string("username").alias("u").desc("Name of the user"),
|
||||
password: string("password").alias("p").required().desc("New password"),
|
||||
},
|
||||
// eslint-disable-next-line no-restricted-syntax
|
||||
handler: async (options) => {
|
||||
if (!process.env.AUTH_PROVIDERS?.toLowerCase().includes("credentials")) {
|
||||
console.error("Credentials provider is not enabled");
|
||||
return;
|
||||
}
|
||||
|
||||
export async function usersUpdatePasswordHandler(args: string[]): Promise<number> {
|
||||
requireCredentialsProvider();
|
||||
if (!options.id && !options.username) {
|
||||
console.error("Either --id or --username must be provided");
|
||||
return;
|
||||
}
|
||||
|
||||
const { values } = parseArgs({
|
||||
args,
|
||||
options: {
|
||||
id: { type: "string", short: "i" },
|
||||
username: { type: "string", short: "u" },
|
||||
password: { type: "string", short: "p" },
|
||||
},
|
||||
});
|
||||
const user = await db.query.users.findFirst({
|
||||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
||||
where: options.id ? eq(users.id, options.id) : eq(users.name, options.username!),
|
||||
});
|
||||
|
||||
const lookupKey = values.id ? "id" : values.username ? "username" : null;
|
||||
const lookupValue = values.id ?? values.username;
|
||||
if (!user?.password) {
|
||||
console.error("User not found or has no credentials record");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!lookupKey || !lookupValue) {
|
||||
throw new CliError("Either --id or --username must be provided", 2);
|
||||
}
|
||||
await db
|
||||
.update(users)
|
||||
.set({
|
||||
password: await hashPasswordAsync(options.password),
|
||||
})
|
||||
.where(eq(users.id, user.id));
|
||||
|
||||
if (!values.password) {
|
||||
throw new CliError("Missing required option: --password / -p", 2);
|
||||
}
|
||||
// invalidate existing sessions
|
||||
await db.delete(sessions).where(eq(sessions.userId, user.id));
|
||||
console.log(`All sessions for user ${user.name ?? user.id} have been deleted`);
|
||||
|
||||
const db = getCliDb();
|
||||
const user = await userLookup[lookupKey](db, lookupValue);
|
||||
|
||||
if (!user?.password) {
|
||||
throw new CliError("User not found or has no credentials record");
|
||||
}
|
||||
|
||||
await db
|
||||
.update(users)
|
||||
.set({
|
||||
password: await hashPasswordAsync(values.password),
|
||||
})
|
||||
.where(eq(users.id, user.id));
|
||||
|
||||
await db.delete(sessions).where(eq(sessions.userId, user.id));
|
||||
console.log(`All sessions for user ${user.name ?? user.id} have been deleted`);
|
||||
console.log("Password updated successfully");
|
||||
return 0;
|
||||
}
|
||||
console.log("Password updated successfully");
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,11 @@
|
||||
import { command } from "@drizzle-team/brocli";
|
||||
|
||||
import { usersDelete } from "./users-delete";
|
||||
import { usersList } from "./users-list";
|
||||
import { usersUpdatePassword } from "./users-update-password";
|
||||
|
||||
export const usersRoot = command({
|
||||
name: "users",
|
||||
desc: "Group of commands to manage users",
|
||||
subcommands: [usersList, usersDelete, usersUpdatePassword],
|
||||
});
|
||||
@@ -1,16 +0,0 @@
|
||||
export class CliError extends Error {
|
||||
constructor(
|
||||
message: string,
|
||||
readonly exitCode: 1 | 2 = 1,
|
||||
) {
|
||||
super(message);
|
||||
this.name = "CliError";
|
||||
}
|
||||
}
|
||||
|
||||
export const requireCredentialsProvider = () => {
|
||||
const enabled = process.env.AUTH_PROVIDERS?.toLowerCase().includes("credentials") ?? false;
|
||||
if (!enabled) {
|
||||
throw new CliError("Credentials provider is not enabled");
|
||||
}
|
||||
};
|
||||
+11
-38
@@ -1,41 +1,14 @@
|
||||
import { closeCliDbAsync } from "./cli-db";
|
||||
import { CliError } from "./errors";
|
||||
import { runCliAsync } from "./router";
|
||||
import { run } from "@drizzle-team/brocli";
|
||||
|
||||
const mainAsync = async (): Promise<number> => {
|
||||
const argv = process.argv.slice(2);
|
||||
const start = performance.now();
|
||||
import { fixUsernames } from "./commands/fix-usernames";
|
||||
import { integrationsRoot } from "./commands/integrations";
|
||||
import { recreateAdmin } from "./commands/recreate-admin";
|
||||
import { resetPassword } from "./commands/reset-password";
|
||||
import { usersRoot } from "./commands/users";
|
||||
|
||||
try {
|
||||
const code = await runCliAsync(argv);
|
||||
if (code === 0) {
|
||||
const elapsed = Math.round(performance.now() - start);
|
||||
console.error(`\nDone in ${elapsed}ms`);
|
||||
}
|
||||
return code;
|
||||
} catch (error) {
|
||||
if (error instanceof CliError) {
|
||||
console.error(error.message);
|
||||
return error.exitCode;
|
||||
}
|
||||
const commands = [usersRoot, integrationsRoot, resetPassword, fixUsernames, recreateAdmin];
|
||||
|
||||
if (error instanceof TypeError && error.message.startsWith("Unknown option")) {
|
||||
console.error(error.message);
|
||||
return 2;
|
||||
}
|
||||
|
||||
console.error(error instanceof Error ? error.message : error);
|
||||
return 1;
|
||||
}
|
||||
};
|
||||
|
||||
mainAsync()
|
||||
.then(async (code) => {
|
||||
await closeCliDbAsync();
|
||||
process.exit(code);
|
||||
})
|
||||
.catch(async (error) => {
|
||||
console.error(error instanceof Error ? error.message : error);
|
||||
await closeCliDbAsync();
|
||||
process.exit(1);
|
||||
});
|
||||
void run(commands, {
|
||||
name: "homarr-cli",
|
||||
version: "1.0.0",
|
||||
});
|
||||
@@ -1,167 +0,0 @@
|
||||
import { fixUsernamesHandler } from "./commands/fix-usernames";
|
||||
import { integrationsDeleteHandler } from "./commands/integrations-delete";
|
||||
import { integrationsListHandler } from "./commands/integrations-list";
|
||||
import { recreateAdminHandler } from "./commands/recreate-admin";
|
||||
import { resetPasswordHandler } from "./commands/reset-password";
|
||||
import { usersDeleteHandler } from "./commands/users-delete";
|
||||
import { usersListHandler } from "./commands/users-list";
|
||||
import { usersUpdatePasswordHandler } from "./commands/users-update-password";
|
||||
import { CliError } from "./errors";
|
||||
|
||||
const VERSION = "1.0.0";
|
||||
|
||||
type CommandHandler = (args: string[]) => Promise<number>;
|
||||
|
||||
interface CommandDef {
|
||||
handler: CommandHandler;
|
||||
desc: string;
|
||||
usage: string;
|
||||
}
|
||||
|
||||
type CommandGroup = Record<string, CommandDef>;
|
||||
|
||||
const topLevelCommands: Record<string, CommandDef> = {
|
||||
"reset-password": {
|
||||
handler: resetPasswordHandler,
|
||||
desc: "Reset password for a credentials user",
|
||||
usage: "homarr reset-password -u <username>",
|
||||
},
|
||||
"fix-usernames": {
|
||||
handler: (args) => fixUsernamesHandler(),
|
||||
desc: "Lowercase all credentials usernames",
|
||||
usage: "homarr fix-usernames",
|
||||
},
|
||||
"recreate-admin": {
|
||||
handler: recreateAdminHandler,
|
||||
desc: "Create credentials admin if none exists",
|
||||
usage: "homarr recreate-admin -u <username>",
|
||||
},
|
||||
};
|
||||
|
||||
const commandGroups: Record<string, CommandGroup> = {
|
||||
users: {
|
||||
list: {
|
||||
handler: (args) => usersListHandler(args),
|
||||
desc: "List all users",
|
||||
usage: "homarr users list [--json]",
|
||||
},
|
||||
delete: {
|
||||
handler: usersDeleteHandler,
|
||||
desc: "Delete a user by id or username",
|
||||
usage: "homarr users delete --id <id> | --username <name>",
|
||||
},
|
||||
"update-password": {
|
||||
handler: usersUpdatePasswordHandler,
|
||||
desc: "Set password for a credentials user",
|
||||
usage: "homarr users update-password (--id <id> | --username <name>) --password <pw>",
|
||||
},
|
||||
},
|
||||
integrations: {
|
||||
list: {
|
||||
handler: (args) => integrationsListHandler(args),
|
||||
desc: "List all integrations",
|
||||
usage: "homarr integrations list [--json]",
|
||||
},
|
||||
delete: {
|
||||
handler: integrationsDeleteHandler,
|
||||
desc: "Delete an integration by id or name",
|
||||
usage: "homarr integrations delete --id <id> | --name <name>",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
const HELP_TEXT = `homarr-cli ${VERSION}
|
||||
|
||||
Usage:
|
||||
homarr <command> [options]
|
||||
|
||||
Commands:
|
||||
reset-password Reset password for a credentials user
|
||||
recreate-admin Create credentials admin if none exists
|
||||
fix-usernames Lowercase all credentials usernames
|
||||
users list List all users
|
||||
users delete Delete a user by id or username
|
||||
users update-password Set password for a credentials user
|
||||
integrations list List all integrations
|
||||
integrations delete Delete an integration by id or name
|
||||
|
||||
Global Options:
|
||||
-h, --help Show help (use after a command for command-specific help)
|
||||
-v, --version Show CLI version
|
||||
`;
|
||||
|
||||
const printHelp = () => {
|
||||
console.log(HELP_TEXT);
|
||||
};
|
||||
|
||||
const printCommandHelp = (def: CommandDef) => {
|
||||
console.log(`${def.desc}\n`);
|
||||
console.log(`Usage:\n ${def.usage}\n`);
|
||||
};
|
||||
|
||||
const resolveHandler = (argv: string[]): { handler: CommandHandler; args: string[] } => {
|
||||
const [command, subcommand, ...rest] = argv;
|
||||
|
||||
if (!command) {
|
||||
throw new CliError("Missing command", 2);
|
||||
}
|
||||
|
||||
const group = commandGroups[command];
|
||||
if (group) {
|
||||
if (!subcommand || subcommand === "--help" || subcommand === "-h") {
|
||||
const subcommands = Object.entries(group)
|
||||
.map(([name, def]) => ` ${name.padEnd(18)} ${def.desc}`)
|
||||
.join("\n");
|
||||
console.log(`Usage:\n homarr ${command} <subcommand> [options]\n\nSubcommands:\n${subcommands}\n`);
|
||||
return { handler: async () => subcommand ? 0 : 2, args: [] };
|
||||
}
|
||||
|
||||
const def = group[subcommand];
|
||||
if (!def) {
|
||||
throw new CliError(`Unknown subcommand "${subcommand}" for "${command}"`, 2);
|
||||
}
|
||||
|
||||
if (hasFlag(rest, "--help", "-h")) {
|
||||
printCommandHelp(def);
|
||||
return { handler: async () => 0, args: [] };
|
||||
}
|
||||
|
||||
return { handler: def.handler, args: rest };
|
||||
}
|
||||
|
||||
const def = topLevelCommands[command];
|
||||
if (!def) {
|
||||
throw new CliError(`Unknown command "${command}"`, 2);
|
||||
}
|
||||
|
||||
const args = argv.slice(1);
|
||||
if (hasFlag(args, "--help", "-h")) {
|
||||
printCommandHelp(def);
|
||||
return { handler: async () => 0, args: [] };
|
||||
}
|
||||
|
||||
return { handler: def.handler, args };
|
||||
};
|
||||
|
||||
const hasFlag = (argv: string[], flag: string, short: string) =>
|
||||
argv.some((arg) => arg === flag || arg === short);
|
||||
|
||||
export const runCliAsync = async (argv: string[]): Promise<number> => {
|
||||
if (hasFlag(argv, "--help", "-h") && argv.length === 1) {
|
||||
printHelp();
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (hasFlag(argv, "--version", "-v")) {
|
||||
console.log(VERSION);
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (argv.length === 0) {
|
||||
printHelp();
|
||||
return 2;
|
||||
}
|
||||
|
||||
const { handler, args } = resolveHandler(argv);
|
||||
return handler(args);
|
||||
};
|
||||
@@ -1,18 +0,0 @@
|
||||
import { randomBytes } from "node:crypto";
|
||||
|
||||
export const generateSecureRandomToken = (size: number) => randomBytes(size).toString("hex");
|
||||
|
||||
export const printTable = (headers: string[], rows: string[][]) => {
|
||||
const widths = headers.map((h, i) =>
|
||||
Math.max(h.length, ...rows.map((r) => (r[i] ?? "").length)),
|
||||
);
|
||||
|
||||
const formatRow = (cells: string[]) =>
|
||||
cells.map((cell, i) => cell.padEnd(widths[i]!)).join(" ");
|
||||
|
||||
console.log(formatRow(headers));
|
||||
console.log(widths.map((w) => "─".repeat(w)).join(" "));
|
||||
for (const row of rows) {
|
||||
console.log(formatRow(row));
|
||||
}
|
||||
};
|
||||
@@ -5,3 +5,26 @@ export const capitalize = <T extends string>(str: T) => {
|
||||
export const isNullOrWhitespace = (value: string | null): value is null => {
|
||||
return value == null || value.trim() === "";
|
||||
};
|
||||
|
||||
export const bestMatch = <TItem extends Record<string, unknown>>(
|
||||
search: string,
|
||||
options: TItem[],
|
||||
by: (item: TItem) => string,
|
||||
) => {
|
||||
if (options.length === 0) return null;
|
||||
|
||||
const normalizedSearch = search.toLowerCase().trim();
|
||||
|
||||
return options.reduce<TItem | null>((best, current) => {
|
||||
const currentMatchIndex = by(current).toLowerCase().indexOf(normalizedSearch);
|
||||
|
||||
if (currentMatchIndex === -1) return best;
|
||||
if (best === null) return current;
|
||||
|
||||
const bestMatchIndex = by(best).toLowerCase().indexOf(normalizedSearch);
|
||||
|
||||
if (currentMatchIndex < bestMatchIndex) return current;
|
||||
if (by(current).length < by(best).length && currentMatchIndex === bestMatchIndex) return current;
|
||||
return best;
|
||||
}, null);
|
||||
};
|
||||
@@ -1,6 +1,6 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { describe, expect, test } from "vitest";
|
||||
|
||||
import { capitalize } from "../string";
|
||||
import { bestMatch, capitalize } from "../string";
|
||||
|
||||
const capitalizeTestCases = [
|
||||
["hello", "Hello"],
|
||||
@@ -12,8 +12,45 @@ const capitalizeTestCases = [
|
||||
|
||||
describe("capitalize should capitalize the first letter of a string", () => {
|
||||
capitalizeTestCases.forEach(([input, expected]) => {
|
||||
it(`should capitalize ${input} to ${expected}`, () => {
|
||||
test(`should capitalize ${input} to ${expected}`, () => {
|
||||
expect(capitalize(input)).toEqual(expected);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe("bestMatch should find the best match in an array of options", () => {
|
||||
test("should find exact match for 'nginx'", () => {
|
||||
const options = [
|
||||
{ name: "my-nginx" },
|
||||
{ name: "nginx-proxy" },
|
||||
{ name: "nginx" },
|
||||
{ name: "redis" },
|
||||
{ name: "postgres" },
|
||||
];
|
||||
|
||||
const result = bestMatch("nginx", options, ({ name }) => name);
|
||||
|
||||
expect(result).toEqual({ name: "nginx" });
|
||||
});
|
||||
test("should find closest match for 'nginx' when exact match is not available", () => {
|
||||
const options = [{ name: "redis" }, { name: "nginx-proxy" }, { name: "my-nginx" }, { name: "postgres" }];
|
||||
|
||||
const result = bestMatch("nginx", options, ({ name }) => name);
|
||||
|
||||
expect(result).toEqual({ name: "nginx-proxy" });
|
||||
});
|
||||
test("should return null if no match is found", () => {
|
||||
const options = [{ name: "redis" }, { name: "postgres" }];
|
||||
|
||||
const result = bestMatch("nginx", options, ({ name }) => name);
|
||||
|
||||
expect(result).toBeNull();
|
||||
});
|
||||
test("should return null if options array is empty", () => {
|
||||
const options: { name: string }[] = [];
|
||||
|
||||
const result = bestMatch("nginx", options, ({ name }) => name);
|
||||
|
||||
expect(result).toBeNull();
|
||||
});
|
||||
});
|
||||
@@ -14,7 +14,6 @@
|
||||
"./infrastructure/db": "./src/infrastructure/db/index.ts",
|
||||
"./infrastructure/db/env": "./src/infrastructure/db/env.ts",
|
||||
"./infrastructure/db/constants": "./src/infrastructure/db/constants.ts",
|
||||
"./infrastructure/db/mapping": "./src/infrastructure/db/mapping.ts",
|
||||
"./infrastructure/certificates": "./src/infrastructure/certificates/index.ts",
|
||||
"./infrastructure/certificates/hostnames/db/sqlite": "./src/infrastructure/certificates/hostnames/db/sqlite.ts",
|
||||
"./infrastructure/certificates/hostnames/db/mysql": "./src/infrastructure/certificates/hostnames/db/mysql.ts",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { InferSelectModel } from "drizzle-orm";
|
||||
|
||||
import { createDbMapping as createSchema } from "@homarr/core/infrastructure/db/mapping";
|
||||
import { createSchema } from "@homarr/core/infrastructure/db";
|
||||
|
||||
import * as mysqlSchema from "./mysql";
|
||||
import * as pgSchema from "./postgresql";
|
||||
|
||||
@@ -93,6 +93,7 @@ export type HomarrDocumentationPath =
|
||||
| "/docs/tags/roles"
|
||||
| "/docs/tags/search"
|
||||
| "/docs/tags/search-engines"
|
||||
| "/docs/tags/secrets"
|
||||
| "/docs/tags/security"
|
||||
| "/docs/tags/self-signed"
|
||||
| "/docs/tags/seo"
|
||||
@@ -198,6 +199,7 @@ export type HomarrDocumentationPath =
|
||||
| "/docs/integrations/tracearr"
|
||||
| "/docs/integrations/transmission"
|
||||
| "/docs/integrations/truenas"
|
||||
| "/docs/integrations/umami"
|
||||
| "/docs/integrations/unifi-controller"
|
||||
| "/docs/integrations/unraid"
|
||||
| "/docs/management/api"
|
||||
@@ -244,6 +246,7 @@ export type HomarrDocumentationPath =
|
||||
| "/docs/widgets/system-resources"
|
||||
| "/docs/widgets/timetable"
|
||||
| "/docs/widgets/tracearr"
|
||||
| "/docs/widgets/umami"
|
||||
| "/docs/widgets/video"
|
||||
| "/docs/widgets/weather"
|
||||
| ""
|
||||
|
||||
@@ -376,7 +376,6 @@ export const integrationDefs = {
|
||||
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/umami.svg",
|
||||
category: ["analytics"],
|
||||
defaultUrl: "https://api.umami.is/v1",
|
||||
// @ts-expect-error - docs page will be created when integration is merged
|
||||
documentationUrl: createDocumentationLink("/docs/integrations/umami"),
|
||||
},
|
||||
// This integration only returns mock data, it is used during development (but can also be used in production by directly going to the create page)
|
||||
|
||||
@@ -2,6 +2,7 @@ import dayjs from "dayjs";
|
||||
import type { ContainerInfo, ContainerStats } from "dockerode";
|
||||
import type Dockerode from "dockerode";
|
||||
|
||||
import { bestMatch } from "@homarr/common";
|
||||
import { createLogger } from "@homarr/core/infrastructure/logs";
|
||||
import { ErrorWithMetadata } from "@homarr/core/infrastructure/logs/error";
|
||||
import { db, like, or } from "@homarr/db";
|
||||
@@ -82,12 +83,7 @@ async function getContainersWithStatsAsync() {
|
||||
name: container.Names[0]?.split("/")[1] ?? "Unknown",
|
||||
host: container.instance,
|
||||
state: container.State as ContainerState,
|
||||
iconUrl:
|
||||
dbIcons.find((icon) => {
|
||||
const extractedImage = extractImage(container);
|
||||
if (!extractedImage) return false;
|
||||
return icon.name.toLowerCase().includes(extractedImage.toLowerCase());
|
||||
})?.url ?? null,
|
||||
iconUrl: bestMatch(extractImage(container), dbIcons, (icon) => icon.name)?.url ?? null,
|
||||
cpuUsage,
|
||||
memoryUsage,
|
||||
image: container.Image,
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": ""
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -159,7 +159,7 @@
|
||||
"label": "在新标签页中打开搜索结果"
|
||||
},
|
||||
"ddgBangs": {
|
||||
"label": ""
|
||||
"label": "启用 DuckDuckGo bangs"
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
@@ -252,10 +252,10 @@
|
||||
"changeDdgBangs": {
|
||||
"notification": {
|
||||
"success": {
|
||||
"message": ""
|
||||
"message": "DuckDuckGo bangs 切换成功"
|
||||
},
|
||||
"error": {
|
||||
"message": ""
|
||||
"message": "无法切换 DuckDuckGo bangs"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1093,7 +1093,7 @@
|
||||
},
|
||||
"colorScheme": {
|
||||
"options": {
|
||||
"auto": "",
|
||||
"auto": "自动",
|
||||
"light": "日间",
|
||||
"dark": "暗黑"
|
||||
}
|
||||
@@ -1540,13 +1540,13 @@
|
||||
}
|
||||
},
|
||||
"timetable": {
|
||||
"name": "",
|
||||
"description": "",
|
||||
"title": "",
|
||||
"noStation": "",
|
||||
"name": "时刻表",
|
||||
"description": "显示车站的出发时间",
|
||||
"title": "出发时间 {station}",
|
||||
"noStation": "未选择车站",
|
||||
"option": {
|
||||
"station": {
|
||||
"label": ""
|
||||
"label": "车站"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1621,11 +1621,11 @@
|
||||
}
|
||||
},
|
||||
"anchorNote": {
|
||||
"name": "",
|
||||
"description": "",
|
||||
"name": "锚点笔记",
|
||||
"description": "显示来自锚点的所选笔记",
|
||||
"option": {
|
||||
"noteId": {
|
||||
"label": ""
|
||||
"label": "笔记"
|
||||
},
|
||||
"showTitle": {
|
||||
"label": "显示标题"
|
||||
@@ -1637,16 +1637,16 @@
|
||||
"empty": "选择要显示的笔记",
|
||||
"emptyContent": "此笔记没有内容",
|
||||
"notFound": "未找到笔记",
|
||||
"noNotes": "",
|
||||
"integrationRequired": "",
|
||||
"noNotes": "未找到笔记",
|
||||
"integrationRequired": "请先选择锚点集成",
|
||||
"updatedAt": "更新时间:{date}",
|
||||
"untitled": "未命名",
|
||||
"edit": "编辑",
|
||||
"save": "保存",
|
||||
"cancel": "取消",
|
||||
"readOnlyViewer": "",
|
||||
"saveForbidden": "",
|
||||
"saveFailed": ""
|
||||
"readOnlyViewer": "您对该笔记只有查看权限,编辑已禁用。",
|
||||
"saveForbidden": "您没有编辑此笔记的权限。",
|
||||
"saveFailed": "保存此笔记失败,请重试。"
|
||||
},
|
||||
"iframe": {
|
||||
"name": "iFrame",
|
||||
@@ -1680,7 +1680,7 @@
|
||||
"label": "允许地理位置"
|
||||
},
|
||||
"allowModals": {
|
||||
"label": ""
|
||||
"label": "允许弹窗"
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
@@ -2056,156 +2056,156 @@
|
||||
}
|
||||
},
|
||||
"tracearr": {
|
||||
"name": "",
|
||||
"description": "",
|
||||
"name": "Tracearr",
|
||||
"description": "增强型媒体服务器监控,提供详细的流与转码数据",
|
||||
"option": {
|
||||
"showStreams": {
|
||||
"label": ""
|
||||
"label": "显示活跃流"
|
||||
},
|
||||
"showStats": {
|
||||
"label": ""
|
||||
"label": "显示统计摘要"
|
||||
},
|
||||
"showRecentActivity": {
|
||||
"label": ""
|
||||
"label": "显示近期活动"
|
||||
},
|
||||
"showViolations": {
|
||||
"label": ""
|
||||
"label": "显示违规记录"
|
||||
}
|
||||
},
|
||||
"stats": {
|
||||
"activeStreams": "",
|
||||
"totalUsers": "",
|
||||
"transcodes": "",
|
||||
"bandwidth": ""
|
||||
"activeStreams": "活跃流",
|
||||
"totalUsers": "总用户数",
|
||||
"transcodes": "转码数",
|
||||
"bandwidth": "带宽"
|
||||
},
|
||||
"streams": {
|
||||
"empty": "",
|
||||
"user": "",
|
||||
"media": "",
|
||||
"state": "",
|
||||
"quality": "",
|
||||
"device": "",
|
||||
"progress": "",
|
||||
"empty": "无活跃流",
|
||||
"user": "用户",
|
||||
"media": "媒体",
|
||||
"state": "状态",
|
||||
"quality": "画质",
|
||||
"device": "设备",
|
||||
"progress": "进度",
|
||||
"videoDecision": {
|
||||
"directPlay": "",
|
||||
"transcode": "",
|
||||
"directStream": ""
|
||||
"directPlay": "直接播放",
|
||||
"transcode": "转码",
|
||||
"directStream": "直接串流"
|
||||
}
|
||||
},
|
||||
"recentActivity": {
|
||||
"title": "",
|
||||
"empty": "",
|
||||
"watched": "",
|
||||
"partial": ""
|
||||
"title": "近期活动",
|
||||
"empty": "暂无近期活动",
|
||||
"watched": "已观看",
|
||||
"partial": "部分观看"
|
||||
},
|
||||
"violations": {
|
||||
"title": "",
|
||||
"empty": "",
|
||||
"rule": "",
|
||||
"user": ""
|
||||
"title": "违规记录",
|
||||
"empty": "暂无近期违规",
|
||||
"rule": "规则",
|
||||
"user": "用户"
|
||||
},
|
||||
"noSectionsEnabled": "",
|
||||
"noSectionsEnabled": "未启用任何分区",
|
||||
"error": {
|
||||
"noIntegration": "",
|
||||
"internalServerError": ""
|
||||
"noIntegration": "未配置 Tracearr 集成",
|
||||
"internalServerError": "获取 Tracearr 数据失败"
|
||||
}
|
||||
},
|
||||
"umami": {
|
||||
"name": "",
|
||||
"description": "",
|
||||
"visitors": "",
|
||||
"active": "",
|
||||
"pageviews": "",
|
||||
"visits": "",
|
||||
"bounceRate": "",
|
||||
"avgDuration": "",
|
||||
"name": "Umami 分析",
|
||||
"description": "显示来自 Umami 分析实例的访客统计",
|
||||
"visitors": "访客",
|
||||
"active": "活跃",
|
||||
"pageviews": "浏览量",
|
||||
"visits": "访问数",
|
||||
"bounceRate": "跳出率",
|
||||
"avgDuration": "平均",
|
||||
"option": {
|
||||
"websiteId": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"placeholder": "",
|
||||
"loading": "",
|
||||
"noWebsites": "",
|
||||
"configureIntegrationFirst": ""
|
||||
"label": "网站",
|
||||
"description": "选择您的 Umami 实例所追踪的网站",
|
||||
"placeholder": "选择一个网站",
|
||||
"loading": "正在加载网站……",
|
||||
"noWebsites": "未找到网站",
|
||||
"configureIntegrationFirst": "请先添加 Umami 集成"
|
||||
},
|
||||
"timeFrame": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"label": "时间范围",
|
||||
"description": "用于展示访客数据的时间段",
|
||||
"option": {
|
||||
"today": "",
|
||||
"24h": "",
|
||||
"7d": "",
|
||||
"30d": "",
|
||||
"month": "",
|
||||
"lastMonth": ""
|
||||
"today": "今天",
|
||||
"24h": "过去 24 小时",
|
||||
"7d": "过去 7 天",
|
||||
"30d": "过去 30 天",
|
||||
"month": "本月",
|
||||
"lastMonth": "上月"
|
||||
}
|
||||
},
|
||||
"eventName": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"placeholder": "",
|
||||
"loading": "",
|
||||
"noEvents": "",
|
||||
"none": "",
|
||||
"configureWebsiteFirst": ""
|
||||
"label": "事件",
|
||||
"description": "显示特定事件的总发生次数",
|
||||
"placeholder": "选择一个事件",
|
||||
"loading": "正在加载事件……",
|
||||
"noEvents": "未找到事件",
|
||||
"none": "无事件",
|
||||
"configureWebsiteFirst": "请先选择网站以加载事件"
|
||||
},
|
||||
"chartType": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"label": "图表类型",
|
||||
"description": "图表的显示样式",
|
||||
"option": {
|
||||
"bar": "",
|
||||
"sparkline": ""
|
||||
"bar": "条形图",
|
||||
"sparkline": "迷你趋势图"
|
||||
}
|
||||
},
|
||||
"chartStyle": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"label": "图表样式",
|
||||
"description": "如何在图表中显示事件序列",
|
||||
"option": {
|
||||
"grouped": "",
|
||||
"overlay": ""
|
||||
"grouped": "并排",
|
||||
"overlay": "叠加(子集)"
|
||||
}
|
||||
},
|
||||
"viewMode": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"label": "视图",
|
||||
"description": "组件主体中要显示的内容",
|
||||
"option": {
|
||||
"chart": "",
|
||||
"events": "",
|
||||
"topPages": "",
|
||||
"topReferrers": ""
|
||||
"chart": "图表",
|
||||
"events": "事件图表",
|
||||
"topPages": "热门页面",
|
||||
"topReferrers": "热门来源"
|
||||
}
|
||||
},
|
||||
"eventNames": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"placeholder": "",
|
||||
"loading": "",
|
||||
"noEvents": "",
|
||||
"configureWebsiteFirst": ""
|
||||
"label": "事件",
|
||||
"description": "选择一个或多个要图表化的事件",
|
||||
"placeholder": "选择事件……",
|
||||
"loading": "正在加载事件……",
|
||||
"noEvents": "未找到事件",
|
||||
"configureWebsiteFirst": "请先选择网站以加载事件"
|
||||
},
|
||||
"topCount": {
|
||||
"label": "",
|
||||
"description": ""
|
||||
"label": "显示数量",
|
||||
"description": "要显示的热门项目数量(最大 500)"
|
||||
}
|
||||
},
|
||||
"event": {
|
||||
"occurrences": "",
|
||||
"label": ""
|
||||
"occurrences": "事件",
|
||||
"label": "事件"
|
||||
},
|
||||
"topPages": {
|
||||
"direct": ""
|
||||
"direct": "直接"
|
||||
},
|
||||
"topReferrers": {
|
||||
"direct": ""
|
||||
"direct": "直接"
|
||||
},
|
||||
"events": {
|
||||
"selectPrompt": ""
|
||||
"selectPrompt": "选择要图表化的事件"
|
||||
},
|
||||
"error": {
|
||||
"noIntegration": "",
|
||||
"noWebsite": "",
|
||||
"noData": "",
|
||||
"internalServerError": ""
|
||||
"noIntegration": "未配置 Umami 集成",
|
||||
"noWebsite": "未配置网站",
|
||||
"noData": "无可用数据",
|
||||
"internalServerError": "获取 Umami 数据失败"
|
||||
}
|
||||
},
|
||||
"common": {
|
||||
@@ -2304,50 +2304,50 @@
|
||||
}
|
||||
},
|
||||
"immich-serverStats": {
|
||||
"name": "",
|
||||
"description": "",
|
||||
"name": "Immich 服务器统计",
|
||||
"description": "有关您的 Immich 实例的信息",
|
||||
"option": {
|
||||
"showUsers": {
|
||||
"label": "",
|
||||
"description": ""
|
||||
"label": "显示用户",
|
||||
"description": "显示实例上的用户数量"
|
||||
},
|
||||
"showPhotos": {
|
||||
"label": "显示图片",
|
||||
"description": ""
|
||||
"description": "显示实例上的照片数量"
|
||||
},
|
||||
"showVideos": {
|
||||
"label": "显示视频",
|
||||
"description": ""
|
||||
"description": "显示实例上的视频数量"
|
||||
},
|
||||
"showStorage": {
|
||||
"label": "显示存储",
|
||||
"description": ""
|
||||
"description": "显示已使用的总存储空间"
|
||||
}
|
||||
},
|
||||
"users": "",
|
||||
"photos": "",
|
||||
"videos": "",
|
||||
"storage": ""
|
||||
"users": "用户",
|
||||
"photos": "照片",
|
||||
"videos": "视频",
|
||||
"storage": "已用存储"
|
||||
},
|
||||
"immich-albumCarousel": {
|
||||
"name": "",
|
||||
"name": "Immich 相册",
|
||||
"option": {
|
||||
"albumId": {
|
||||
"label": "",
|
||||
"description": ""
|
||||
"label": "相册ID",
|
||||
"description": "这是一个唯一标识符,用于指向您的 Immich 相册。您可以通过打开相册并从 URL 中复制那段唯一字符串来找到该 ID,例如:'a21aca09-9f05-47dc-b1a1-7b53c547226e'"
|
||||
},
|
||||
"rotationIntervalSeconds": {
|
||||
"label": "",
|
||||
"description": ""
|
||||
"label": "间隔(秒)",
|
||||
"description": "每 X 秒切换一次相册中的图片。最小为 1,最大不得超过 3600。"
|
||||
},
|
||||
"showPhotoInfo": {
|
||||
"label": "显示图片信息",
|
||||
"description": ""
|
||||
"description": "在幻灯片底部显示图片日期和当前索引"
|
||||
}
|
||||
},
|
||||
"description": "",
|
||||
"noAlbumSelected": "",
|
||||
"noPhotos": ""
|
||||
"description": "Immich 相册图片幻灯片",
|
||||
"noAlbumSelected": "未选择相册,请编辑组件并选择一个相册",
|
||||
"noPhotos": "此相册中没有照片"
|
||||
},
|
||||
"downloads": {
|
||||
"name": "下载客户端",
|
||||
@@ -2658,7 +2658,7 @@
|
||||
"label": "隐藏描述"
|
||||
},
|
||||
"showPosterImage": {
|
||||
"label": ""
|
||||
"label": "显示封面图"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -2873,28 +2873,28 @@
|
||||
"option": {}
|
||||
},
|
||||
"speedtestTracker": {
|
||||
"name": "",
|
||||
"description": "",
|
||||
"name": "网速测试追踪器",
|
||||
"description": "显示 网速测试追踪器 实例中的测速结果。",
|
||||
"option": {
|
||||
"showLatestResult": {
|
||||
"label": ""
|
||||
"label": "显示最新结果"
|
||||
},
|
||||
"showStats": {
|
||||
"label": ""
|
||||
"label": "显示平均值"
|
||||
},
|
||||
"showRecentResults": {
|
||||
"label": ""
|
||||
"label": "显示近期结果"
|
||||
},
|
||||
"showPingGraph": {
|
||||
"label": ""
|
||||
"label": "显示 Ping 图表"
|
||||
}
|
||||
},
|
||||
"latestResult": "",
|
||||
"averages": "",
|
||||
"tests": "",
|
||||
"recentResults": "",
|
||||
"recentResultsSpeed": "",
|
||||
"recentResultsPing": "",
|
||||
"latestResult": "最新结果",
|
||||
"averages": "平均值",
|
||||
"tests": "{count}次测试",
|
||||
"recentResults": "近期结果",
|
||||
"recentResultsSpeed": "速度",
|
||||
"recentResultsPing": "Ping",
|
||||
"download": "下载",
|
||||
"upload": "上传",
|
||||
"ping": "Ping",
|
||||
@@ -2902,13 +2902,13 @@
|
||||
"avgDownload": "平均下载",
|
||||
"avgUpload": "平均上传",
|
||||
"avgPing": "平均Ping",
|
||||
"healthy": "",
|
||||
"unhealthy": "",
|
||||
"ok": "",
|
||||
"healthy": "健康",
|
||||
"unhealthy": "不健康",
|
||||
"ok": "正常",
|
||||
"fail": "失败",
|
||||
"noSectionsEnabled": "",
|
||||
"noSectionsEnabled": "请在组件选项中至少启用一个模块。",
|
||||
"error": {
|
||||
"internalServerError": ""
|
||||
"internalServerError": "获取测速数据失败"
|
||||
}
|
||||
},
|
||||
"systemResources": {
|
||||
@@ -3680,7 +3680,7 @@
|
||||
"defaultColorScheme": {
|
||||
"label": "默认配色方案",
|
||||
"options": {
|
||||
"auto": "",
|
||||
"auto": "自动",
|
||||
"light": "日间",
|
||||
"dark": "暗黑"
|
||||
}
|
||||
@@ -3708,7 +3708,7 @@
|
||||
"label": "Minecraft 服务状态"
|
||||
},
|
||||
"timetable": {
|
||||
"label": ""
|
||||
"label": "时刻表"
|
||||
},
|
||||
"iconsUpdater": {
|
||||
"label": "图标更新"
|
||||
@@ -3780,10 +3780,10 @@
|
||||
"label": "天气"
|
||||
},
|
||||
"tracearr": {
|
||||
"label": ""
|
||||
"label": "Tracearr"
|
||||
},
|
||||
"umamiActiveVisitors": {
|
||||
"label": ""
|
||||
"label": "Umami 活跃访客"
|
||||
}
|
||||
},
|
||||
"interval": {
|
||||
@@ -3907,8 +3907,8 @@
|
||||
"subtitle": "在许多语言中,有{count}人贡献了翻译"
|
||||
},
|
||||
"sponsors": {
|
||||
"title": "",
|
||||
"subtitle": ""
|
||||
"title": "赞助商",
|
||||
"subtitle": "{count}人通过财务方式支持该项目"
|
||||
},
|
||||
"libraries": {
|
||||
"title": "相关的库",
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "端口"
|
||||
},
|
||||
"host": {
|
||||
"label": "宿主机"
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
@@ -4496,7 +4499,7 @@
|
||||
"title": "全局命令",
|
||||
"option": {
|
||||
"colorScheme": {
|
||||
"auto": "",
|
||||
"auto": "切换外观模式",
|
||||
"light": "切换到日间模式",
|
||||
"dark": "切换到暗黑模式"
|
||||
},
|
||||
@@ -4548,13 +4551,13 @@
|
||||
"group": {
|
||||
"searchEngine": {
|
||||
"title": "搜索引擎",
|
||||
"tipDdgBangs": "",
|
||||
"tipDdgBangs": "提示:你也可以在此使用任何 DuckDuckGo Bangs,例如 !something",
|
||||
"bang": {
|
||||
"searchWithQuery": "",
|
||||
"pressEnterToOpen": "",
|
||||
"engineSelected": "",
|
||||
"typeQueryToContinue": "",
|
||||
"emptyBangHint": ""
|
||||
"searchWithQuery": "使用“‘’{query}”搜索“{label}”",
|
||||
"pressEnterToOpen": "按 Enter 键打开",
|
||||
"engineSelected": "已选择{label}({bang})",
|
||||
"typeQueryToContinue": "输入搜索查询以继续",
|
||||
"emptyBangHint": "输入 bang,例如 !yt,然后按空格键进行选择"
|
||||
},
|
||||
"children": {
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "crwdns1920:0crwdne1920:0"
|
||||
},
|
||||
"host": {
|
||||
"label": "crwdns4249:0crwdne4249:0"
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "Porty"
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "Porte"
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": ""
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "Ports"
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "Θύρες"
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": ""
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "Puertos"
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": ""
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "Ports"
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "יציאות"
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "Portovi"
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -159,7 +159,7 @@
|
||||
"label": "Nyissa meg a keresési eredményeket új ablakban"
|
||||
},
|
||||
"ddgBangs": {
|
||||
"label": ""
|
||||
"label": "DuckDuckGo parancsok engedélyezése"
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
@@ -252,10 +252,10 @@
|
||||
"changeDdgBangs": {
|
||||
"notification": {
|
||||
"success": {
|
||||
"message": ""
|
||||
"message": "DuckDuckGo parancsok sikeresen bekapcsolódott"
|
||||
},
|
||||
"error": {
|
||||
"message": ""
|
||||
"message": "DuckDuckGo parancsokkat nem sikerült bekapcsolni"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1093,7 +1093,7 @@
|
||||
},
|
||||
"colorScheme": {
|
||||
"options": {
|
||||
"auto": "",
|
||||
"auto": "Automatikus",
|
||||
"light": "Világos",
|
||||
"dark": "Sötét"
|
||||
}
|
||||
@@ -2111,101 +2111,101 @@
|
||||
}
|
||||
},
|
||||
"umami": {
|
||||
"name": "",
|
||||
"description": "",
|
||||
"visitors": "",
|
||||
"active": "",
|
||||
"pageviews": "",
|
||||
"visits": "",
|
||||
"bounceRate": "",
|
||||
"avgDuration": "",
|
||||
"name": "Umami Analitika",
|
||||
"description": "Umami elemzési rendszeréből származó látogatói statisztikák megjelenítése",
|
||||
"visitors": "látogatók",
|
||||
"active": "aktív",
|
||||
"pageviews": "oldalletöltések",
|
||||
"visits": "látogatások",
|
||||
"bounceRate": "visszapattan",
|
||||
"avgDuration": "átl",
|
||||
"option": {
|
||||
"websiteId": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"placeholder": "",
|
||||
"loading": "",
|
||||
"noWebsites": "",
|
||||
"configureIntegrationFirst": ""
|
||||
"label": "Honlap",
|
||||
"description": "Válasszon ki egy olyan webhelyet, amelyet az Ön Umami-példánya követ",
|
||||
"placeholder": "Válasszon ki egy weboldalt",
|
||||
"loading": "Weboldalak betöltése...",
|
||||
"noWebsites": "Nem található weboldal",
|
||||
"configureIntegrationFirst": "Először csatlakoztassa az Umami integrációt"
|
||||
},
|
||||
"timeFrame": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"label": "Időkeret",
|
||||
"description": "Látogatói adatok megjelenítésének időtartama",
|
||||
"option": {
|
||||
"today": "",
|
||||
"24h": "",
|
||||
"7d": "",
|
||||
"30d": "",
|
||||
"month": "",
|
||||
"lastMonth": ""
|
||||
"today": "Ma",
|
||||
"24h": "Elmúlt 24 óra",
|
||||
"7d": "Elmúlt 7 nap",
|
||||
"30d": "Elmúlt 30 nap",
|
||||
"month": "Ez a hónap",
|
||||
"lastMonth": "Előző hónap"
|
||||
}
|
||||
},
|
||||
"eventName": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"placeholder": "",
|
||||
"loading": "",
|
||||
"noEvents": "",
|
||||
"none": "",
|
||||
"configureWebsiteFirst": ""
|
||||
"label": "Esemény",
|
||||
"description": "Egy adott esemény összes előfordulásának megjelenítése",
|
||||
"placeholder": "Válasszon ki egy eseményt",
|
||||
"loading": "Események betöltése...",
|
||||
"noEvents": "Nem található esemény",
|
||||
"none": "Nincs esemény",
|
||||
"configureWebsiteFirst": "Először válasszon ki egy weboldalt az események betöltéséhez"
|
||||
},
|
||||
"chartType": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"label": "Diagramtípus",
|
||||
"description": "A diagram megjelenítési stílusa",
|
||||
"option": {
|
||||
"bar": "",
|
||||
"sparkline": ""
|
||||
"bar": "Oszlopdiagram",
|
||||
"sparkline": "Mikrodiagram"
|
||||
}
|
||||
},
|
||||
"chartStyle": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"label": "Diagramstílus",
|
||||
"description": "Hogyan jeleníthetjük meg az eseménysorozatot a diagramon",
|
||||
"option": {
|
||||
"grouped": "",
|
||||
"overlay": ""
|
||||
"grouped": "Egymás mellett",
|
||||
"overlay": "Átfedés (részhalmaz)"
|
||||
}
|
||||
},
|
||||
"viewMode": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"label": "Megtekintés",
|
||||
"description": "Mit jelenítsen meg a widget törzse",
|
||||
"option": {
|
||||
"chart": "",
|
||||
"events": "",
|
||||
"topPages": "",
|
||||
"topReferrers": ""
|
||||
"chart": "Ábra",
|
||||
"events": "Eseménynaptár",
|
||||
"topPages": "Legnépszerűbb oldalak",
|
||||
"topReferrers": "Legjobb hivatkozások"
|
||||
}
|
||||
},
|
||||
"eventNames": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"placeholder": "",
|
||||
"loading": "",
|
||||
"noEvents": "",
|
||||
"configureWebsiteFirst": ""
|
||||
"label": "Események",
|
||||
"description": "Válasszon ki egy vagy több eseményt a grafikonhoz",
|
||||
"placeholder": "Események kiválasztása...",
|
||||
"loading": "Események betöltése...",
|
||||
"noEvents": "Nem található esemény",
|
||||
"configureWebsiteFirst": "Először válasszon ki egy weboldalt az események betöltéséhez"
|
||||
},
|
||||
"topCount": {
|
||||
"label": "",
|
||||
"description": ""
|
||||
"label": "Items to show",
|
||||
"description": "Megjelenítendő legnépszerűbb elemek száma (max. 500)"
|
||||
}
|
||||
},
|
||||
"event": {
|
||||
"occurrences": "",
|
||||
"label": ""
|
||||
"occurrences": "események",
|
||||
"label": "események"
|
||||
},
|
||||
"topPages": {
|
||||
"direct": ""
|
||||
"direct": "Közvetlen"
|
||||
},
|
||||
"topReferrers": {
|
||||
"direct": ""
|
||||
"direct": "Közvetlen"
|
||||
},
|
||||
"events": {
|
||||
"selectPrompt": ""
|
||||
"selectPrompt": "Válassza ki a grafikonra felveendő eseményeket"
|
||||
},
|
||||
"error": {
|
||||
"noIntegration": "",
|
||||
"noWebsite": "",
|
||||
"noData": "",
|
||||
"internalServerError": ""
|
||||
"noIntegration": "Nincs beállítva az Umami-integráció",
|
||||
"noWebsite": "Nincs beállított webhely",
|
||||
"noData": "Nincs elérhető adat",
|
||||
"internalServerError": "Umami-adatok letöltése nem sikerült"
|
||||
}
|
||||
},
|
||||
"common": {
|
||||
@@ -2745,15 +2745,15 @@
|
||||
}
|
||||
},
|
||||
"importForm": {
|
||||
"title": ""
|
||||
"title": "Importálás a Docker-ből"
|
||||
},
|
||||
"example": {
|
||||
"label": ""
|
||||
"label": "Példa"
|
||||
},
|
||||
"invalid": "",
|
||||
"invalid": "A tároló meghatározása érvénytelen, kérjük, ellenőrizze az értékeket",
|
||||
"noProvider": {
|
||||
"label": "",
|
||||
"tooltip": ""
|
||||
"label": "Nincs Szolgáltató",
|
||||
"tooltip": "A szolgáltató adatai nem értelmezhetők; kérjük, az importálás után állítsa be azokat manuálisan"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -2826,34 +2826,34 @@
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
"integrationsDisconnected": "",
|
||||
"unknownContentOption": ""
|
||||
"integrationsDisconnected": "Nincs elérhető adat, az összes integráció le van választva",
|
||||
"unknownContentOption": "A hálózati állapot-widget ismeretlen tartalmi beállítása: "
|
||||
},
|
||||
"name": "",
|
||||
"description": ""
|
||||
"name": "Hálózat állapota",
|
||||
"description": "A hálózathoz csatlakozó eszközök megjelenítése"
|
||||
},
|
||||
"networkController": {
|
||||
"error": {
|
||||
"internalServerError": ""
|
||||
"internalServerError": "A hálózati vezérlő összefoglalójának letöltése nem sikerült"
|
||||
}
|
||||
},
|
||||
"firewall": {
|
||||
"name": "",
|
||||
"description": "",
|
||||
"name": "Tűzfal-felügyelet",
|
||||
"description": "Megjeleníti a tűzfalak összefoglalóját",
|
||||
"tab": {
|
||||
"system": "",
|
||||
"interfaces": ""
|
||||
"system": "Rendszer",
|
||||
"interfaces": "Interfészek"
|
||||
},
|
||||
"error": {
|
||||
"internalServerError": ""
|
||||
"internalServerError": "Nem sikerült adatokat lekérni a tűzfalról"
|
||||
},
|
||||
"option": {
|
||||
"interfaces": ""
|
||||
"interfaces": "Megjelenítendő hálózati interfészek"
|
||||
},
|
||||
"widget": {
|
||||
"fwname": "",
|
||||
"version": "",
|
||||
"versiontitle": "",
|
||||
"fwname": "Név",
|
||||
"version": "Verzió",
|
||||
"versiontitle": "Verziók",
|
||||
"cputitle": "CPU használat",
|
||||
"memorytitle": "Memória használat",
|
||||
"cpu": "CPU",
|
||||
@@ -2942,63 +2942,63 @@
|
||||
"cpu": "CPU",
|
||||
"memory": "RAM",
|
||||
"gpu": "GPU",
|
||||
"network": "",
|
||||
"up": "",
|
||||
"down": ""
|
||||
"network": "NET",
|
||||
"up": "FÖNN",
|
||||
"down": "LENN"
|
||||
}
|
||||
},
|
||||
"systemDisks": {
|
||||
"name": "",
|
||||
"description": "",
|
||||
"name": "Rendszer lemezek",
|
||||
"description": "A rendszer lemezhasználata",
|
||||
"option": {
|
||||
"showTemperatureIfAvailable": {
|
||||
"label": ""
|
||||
"label": "Ha elérhető, mutassa a hőmérsékletet"
|
||||
},
|
||||
"displayMode": {
|
||||
"label": "",
|
||||
"label": "Megjelenítési mód",
|
||||
"option": {
|
||||
"percentage": {
|
||||
"label": ""
|
||||
"label": "Százalék (pl: 76%)"
|
||||
},
|
||||
"absolute": {
|
||||
"label": ""
|
||||
"label": "Abszolút értékek (pl. 800 Gb / 1 Tb)"
|
||||
},
|
||||
"free": {
|
||||
"label": ""
|
||||
"label": "A szabad hely aránya (pl. 24% szabad)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"showBackgroundBar": {
|
||||
"label": ""
|
||||
"label": "Háttérhasználati sáv megjelenítése"
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"unhealthy": ""
|
||||
"unhealthy": "Hibás"
|
||||
}
|
||||
}
|
||||
},
|
||||
"widgetPreview": {
|
||||
"toggle": {
|
||||
"enabled": "",
|
||||
"disabled": ""
|
||||
"enabled": "Szerkesztési mód engedélyezve",
|
||||
"disabled": "Szerkesztési mód tiltva"
|
||||
},
|
||||
"dimensions": {
|
||||
"title": ""
|
||||
"title": "Dimenzió váltása"
|
||||
}
|
||||
},
|
||||
"board": {
|
||||
"action": {
|
||||
"duplicate": {
|
||||
"title": "",
|
||||
"message": "",
|
||||
"title": "Tábla duplikálása",
|
||||
"message": "Ezzel a {name} tábla teljes tartalmával együtt duplikálódik. Ha a widgetek olyan integrációkra hivatkoznak, amelyek használata nem engedélyezett, azok eltávolításra kerülnek.",
|
||||
"notification": {
|
||||
"success": {
|
||||
"title": "",
|
||||
"message": ""
|
||||
"title": "Tábla duplikálva",
|
||||
"message": "A tábla sikeresen duplikálódott"
|
||||
},
|
||||
"error": {
|
||||
"title": "",
|
||||
"message": ""
|
||||
"title": "Nem lehet duplikálni a táblát",
|
||||
"message": "Nem tudtam duplikálni a táblát"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -3006,44 +3006,44 @@
|
||||
"notification": {
|
||||
"success": {
|
||||
"title": "A módosítások sikeresen alkalmazva",
|
||||
"message": ""
|
||||
"message": "A tábla sikeresen elmentve"
|
||||
},
|
||||
"error": {
|
||||
"title": "Nem sikerült alkalmazni a változtatásokat",
|
||||
"message": ""
|
||||
"message": "A táblát nem sikerült elmenteni"
|
||||
}
|
||||
},
|
||||
"confirmLeave": {
|
||||
"title": "",
|
||||
"message": ""
|
||||
"title": "Mentetlen változtatások",
|
||||
"message": "Nem mentett változtatásai vannak, biztosan el akarja hagyni az oldalt?"
|
||||
}
|
||||
},
|
||||
"oldImport": {
|
||||
"label": "",
|
||||
"label": "Importálás a homarr 1.0.0 előtti verzióból",
|
||||
"notification": {
|
||||
"success": {
|
||||
"title": "",
|
||||
"message": ""
|
||||
"title": "Sikeres importálás",
|
||||
"message": "A tábla sikeresen importálva"
|
||||
},
|
||||
"error": {
|
||||
"title": "",
|
||||
"message": ""
|
||||
"title": "Importálás nem sikerült",
|
||||
"message": "Táblát nem sikerült importálni; további részletekért nézd meg a naplófájlokat"
|
||||
}
|
||||
},
|
||||
"form": {
|
||||
"file": {
|
||||
"label": "",
|
||||
"invalidError": ""
|
||||
"label": "JSON fájl kiválasztása",
|
||||
"invalidError": "Érvénytelen konfigurációs fájl"
|
||||
},
|
||||
"apps": {
|
||||
"label": "Alkalmazások",
|
||||
"avoidDuplicates": {
|
||||
"label": "",
|
||||
"description": ""
|
||||
"label": "Kerülje az ismétlődéseket",
|
||||
"description": "Nem veszi figyelembe azokat az alkalmazásokat, amelyeknél már létezik azonos href-vel rendelkező alkalmazás"
|
||||
},
|
||||
"onlyImportApps": {
|
||||
"label": "",
|
||||
"description": ""
|
||||
"label": "Csak alkalmazások importálása",
|
||||
"description": "Csak az alkalmazásokat adja hozzá, a táblát manuálisan kell újra létrehozni"
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
@@ -3272,15 +3272,15 @@
|
||||
"description": ""
|
||||
},
|
||||
"private": {
|
||||
"title": "",
|
||||
"description": ""
|
||||
"title": "Nyilvános tábla készítése",
|
||||
"description": "Biztosan nyilvánossá szeretnéd tenni ezt a fórumot? Ezzel a fórum mindenki számára elérhetővé válik."
|
||||
}
|
||||
}
|
||||
},
|
||||
"delete": {
|
||||
"label": "",
|
||||
"label": "Törölje ezt a táblát",
|
||||
"description": "",
|
||||
"button": "",
|
||||
"button": "Törölje ezt a táblát",
|
||||
"confirm": {
|
||||
"title": "Tábla törlése",
|
||||
"description": ""
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "Portok"
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -159,7 +159,7 @@
|
||||
"label": "Apri risultati di ricerca in una nuova scheda"
|
||||
},
|
||||
"ddgBangs": {
|
||||
"label": ""
|
||||
"label": "Abilita bangs DuckDuckGo"
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
@@ -252,10 +252,10 @@
|
||||
"changeDdgBangs": {
|
||||
"notification": {
|
||||
"success": {
|
||||
"message": ""
|
||||
"message": "DuckDuckGo bangs attivato con successo"
|
||||
},
|
||||
"error": {
|
||||
"message": ""
|
||||
"message": "Impossibile attivare i bangs DuckDuckGo"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1093,7 +1093,7 @@
|
||||
},
|
||||
"colorScheme": {
|
||||
"options": {
|
||||
"auto": "",
|
||||
"auto": "Automatico",
|
||||
"light": "Chiaro",
|
||||
"dark": "Scuro"
|
||||
}
|
||||
@@ -2111,101 +2111,101 @@
|
||||
}
|
||||
},
|
||||
"umami": {
|
||||
"name": "",
|
||||
"description": "",
|
||||
"visitors": "",
|
||||
"active": "",
|
||||
"pageviews": "",
|
||||
"visits": "",
|
||||
"bounceRate": "",
|
||||
"avgDuration": "",
|
||||
"name": "Umami Analytics",
|
||||
"description": "Visualizza le statistiche dei visitatori dall'istanza Umami analytics",
|
||||
"visitors": "visitatori",
|
||||
"active": "attivo",
|
||||
"pageviews": "pagine viste",
|
||||
"visits": "visite",
|
||||
"bounceRate": "rimbalzo",
|
||||
"avgDuration": "media",
|
||||
"option": {
|
||||
"websiteId": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"placeholder": "",
|
||||
"loading": "",
|
||||
"noWebsites": "",
|
||||
"configureIntegrationFirst": ""
|
||||
"label": "Sito web",
|
||||
"description": "Seleziona un sito web tracciato dalla tua istanza di Umami",
|
||||
"placeholder": "Seleziona un sito web",
|
||||
"loading": "Caricamento siti web...",
|
||||
"noWebsites": "Nessun sito web trovato",
|
||||
"configureIntegrationFirst": "Connetti prima un'integrazione Umami"
|
||||
},
|
||||
"timeFrame": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"label": "Intervallo di tempo",
|
||||
"description": "Il periodo di tempo per visualizzare i dati dei visitatori per",
|
||||
"option": {
|
||||
"today": "",
|
||||
"24h": "",
|
||||
"7d": "",
|
||||
"30d": "",
|
||||
"month": "",
|
||||
"lastMonth": ""
|
||||
"today": "Oggi",
|
||||
"24h": "Ultime 24 ore",
|
||||
"7d": "Ultimi 7 giorni",
|
||||
"30d": "Ultimi 30 giorni",
|
||||
"month": "Questo mese",
|
||||
"lastMonth": "Mese precedente"
|
||||
}
|
||||
},
|
||||
"eventName": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"placeholder": "",
|
||||
"loading": "",
|
||||
"noEvents": "",
|
||||
"none": "",
|
||||
"configureWebsiteFirst": ""
|
||||
"label": "Evento",
|
||||
"description": "Mostra le occorrenze totali di un evento specifico",
|
||||
"placeholder": "Seleziona un evento",
|
||||
"loading": "Caricamento eventi...",
|
||||
"noEvents": "Nessun evento trovato",
|
||||
"none": "Nessun evento",
|
||||
"configureWebsiteFirst": "Seleziona un sito web prima di caricare gli eventi"
|
||||
},
|
||||
"chartType": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"label": "Tipo di grafico",
|
||||
"description": "Stile di visualizzazione del grafico",
|
||||
"option": {
|
||||
"bar": "",
|
||||
"sparkline": ""
|
||||
"bar": "Grafico a barre",
|
||||
"sparkline": "Grafico a linee compatto"
|
||||
}
|
||||
},
|
||||
"chartStyle": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"label": "Stile del grafico",
|
||||
"description": "Come visualizzare la serie di eventi nel grafico",
|
||||
"option": {
|
||||
"grouped": "",
|
||||
"overlay": ""
|
||||
"grouped": "Affiancati",
|
||||
"overlay": "Sovrapponi (subset)"
|
||||
}
|
||||
},
|
||||
"viewMode": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"label": "Vista",
|
||||
"description": "Cosa mostrare nel corpo del widget",
|
||||
"option": {
|
||||
"chart": "",
|
||||
"events": "",
|
||||
"topPages": "",
|
||||
"topReferrers": ""
|
||||
"chart": "Grafico",
|
||||
"events": "Grafico degli eventi",
|
||||
"topPages": "Pagine più visitate",
|
||||
"topReferrers": "Referrer principali"
|
||||
}
|
||||
},
|
||||
"eventNames": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"placeholder": "",
|
||||
"loading": "",
|
||||
"noEvents": "",
|
||||
"configureWebsiteFirst": ""
|
||||
"label": "Eventi",
|
||||
"description": "Scegli uno o più eventi per il grafico",
|
||||
"placeholder": "Seleziona eventi...",
|
||||
"loading": "Caricamento eventi...",
|
||||
"noEvents": "Nessun evento trovato",
|
||||
"configureWebsiteFirst": "Seleziona prima un sito web per caricare gli eventi"
|
||||
},
|
||||
"topCount": {
|
||||
"label": "",
|
||||
"description": ""
|
||||
"label": "Elementi da mostrare",
|
||||
"description": "Numero di elementi principali da visualizzare (max 500)"
|
||||
}
|
||||
},
|
||||
"event": {
|
||||
"occurrences": "",
|
||||
"label": ""
|
||||
"occurrences": "eventi",
|
||||
"label": "eventi"
|
||||
},
|
||||
"topPages": {
|
||||
"direct": ""
|
||||
"direct": "Diretto"
|
||||
},
|
||||
"topReferrers": {
|
||||
"direct": ""
|
||||
"direct": "Diretto"
|
||||
},
|
||||
"events": {
|
||||
"selectPrompt": ""
|
||||
"selectPrompt": "Seleziona gli eventi per il grafico"
|
||||
},
|
||||
"error": {
|
||||
"noIntegration": "",
|
||||
"noWebsite": "",
|
||||
"noData": "",
|
||||
"internalServerError": ""
|
||||
"noIntegration": "Nessuna integrazione di Umami configurata",
|
||||
"noWebsite": "Nessun sito web configurato",
|
||||
"noData": "Nessun dato disponibile",
|
||||
"internalServerError": "Recupero dati Umami fallito"
|
||||
}
|
||||
},
|
||||
"common": {
|
||||
@@ -3680,7 +3680,7 @@
|
||||
"defaultColorScheme": {
|
||||
"label": "Schema colore predefinito",
|
||||
"options": {
|
||||
"auto": "",
|
||||
"auto": "Automatico",
|
||||
"light": "Chiaro",
|
||||
"dark": "Scuro"
|
||||
}
|
||||
@@ -3783,7 +3783,7 @@
|
||||
"label": "Tracearr"
|
||||
},
|
||||
"umamiActiveVisitors": {
|
||||
"label": ""
|
||||
"label": "Visitatori Attivi Umami"
|
||||
}
|
||||
},
|
||||
"interval": {
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "Porte"
|
||||
},
|
||||
"host": {
|
||||
"label": "Host"
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
@@ -4496,7 +4499,7 @@
|
||||
"title": "Comandi generali",
|
||||
"option": {
|
||||
"colorScheme": {
|
||||
"auto": "",
|
||||
"auto": "Attiva/Disattiva modalità aspetto",
|
||||
"light": "Passa al tema chiaro",
|
||||
"dark": "Passa al tema scuro"
|
||||
},
|
||||
@@ -4548,13 +4551,13 @@
|
||||
"group": {
|
||||
"searchEngine": {
|
||||
"title": "Motori di ricerca",
|
||||
"tipDdgBangs": "",
|
||||
"tipDdgBangs": "Suggerimento: puoi usare anche i bang di DuckDuckGo, ad esempio !qualcosa",
|
||||
"bang": {
|
||||
"searchWithQuery": "",
|
||||
"pressEnterToOpen": "",
|
||||
"engineSelected": "",
|
||||
"typeQueryToContinue": "",
|
||||
"emptyBangHint": ""
|
||||
"searchWithQuery": "Cerca \"{query}\" con {label}",
|
||||
"pressEnterToOpen": "Premere Invio per aprire",
|
||||
"engineSelected": "{label} selezionato (!{bang})",
|
||||
"typeQueryToContinue": "Digita la tua query di ricerca per continuare",
|
||||
"emptyBangHint": "Digita un bang, ad es. !yt, poi premi Spazio per selezionare"
|
||||
},
|
||||
"children": {
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "ポート"
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "포트"
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "Prievadai"
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": ""
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "Poorten"
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -159,7 +159,7 @@
|
||||
"label": "Åpne søkeresultater i ny fane"
|
||||
},
|
||||
"ddgBangs": {
|
||||
"label": ""
|
||||
"label": "Aktiver DuckDuckGo bangs"
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
@@ -252,10 +252,10 @@
|
||||
"changeDdgBangs": {
|
||||
"notification": {
|
||||
"success": {
|
||||
"message": ""
|
||||
"message": "DuckDuckGo bangs er endret vellykket"
|
||||
},
|
||||
"error": {
|
||||
"message": ""
|
||||
"message": "Kan ikke slå av/på DuckDuckGo bangs"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1093,7 +1093,7 @@
|
||||
},
|
||||
"colorScheme": {
|
||||
"options": {
|
||||
"auto": "",
|
||||
"auto": "Auto",
|
||||
"light": "Lys",
|
||||
"dark": "Mørk"
|
||||
}
|
||||
@@ -2111,101 +2111,101 @@
|
||||
}
|
||||
},
|
||||
"umami": {
|
||||
"name": "",
|
||||
"description": "",
|
||||
"visitors": "",
|
||||
"active": "",
|
||||
"pageviews": "",
|
||||
"visits": "",
|
||||
"bounceRate": "",
|
||||
"avgDuration": "",
|
||||
"name": "Umami Analytics",
|
||||
"description": "Vise besøkende statistikk fra din Umami-analyseinstans",
|
||||
"visitors": "besøkende",
|
||||
"active": "aktiv",
|
||||
"pageviews": "sidevisninger",
|
||||
"visits": "besøk",
|
||||
"bounceRate": "tilbakesende",
|
||||
"avgDuration": "gjennomsnitt",
|
||||
"option": {
|
||||
"websiteId": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"placeholder": "",
|
||||
"loading": "",
|
||||
"noWebsites": "",
|
||||
"configureIntegrationFirst": ""
|
||||
"label": "Nettsted",
|
||||
"description": "Velg et nettsted som spores av Umami-instansen din",
|
||||
"placeholder": "Velg en nettside",
|
||||
"loading": "Laster inn nettsteder...",
|
||||
"noWebsites": "Ingen nettsteder ble funnet",
|
||||
"configureIntegrationFirst": "Koble til en Umami integrasjon først"
|
||||
},
|
||||
"timeFrame": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"label": "Tidsramme",
|
||||
"description": "Tidsperiode som skal vise besøkende data for",
|
||||
"option": {
|
||||
"today": "",
|
||||
"24h": "",
|
||||
"7d": "",
|
||||
"30d": "",
|
||||
"month": "",
|
||||
"lastMonth": ""
|
||||
"today": "I dag",
|
||||
"24h": "Siste 24 timer",
|
||||
"7d": "Siste 7 dager",
|
||||
"30d": "Siste 30 dager",
|
||||
"month": "Denne måneden",
|
||||
"lastMonth": "Siste måned"
|
||||
}
|
||||
},
|
||||
"eventName": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"placeholder": "",
|
||||
"loading": "",
|
||||
"noEvents": "",
|
||||
"none": "",
|
||||
"configureWebsiteFirst": ""
|
||||
"label": "Hendelse",
|
||||
"description": "Vis totale forekomster av en bestemt hendelse",
|
||||
"placeholder": "Velg en hendelse",
|
||||
"loading": "Laster inn hendelser...",
|
||||
"noEvents": "Ingen hendelser funnet",
|
||||
"none": "Ingen hendelser",
|
||||
"configureWebsiteFirst": "Velg en nettside først for å laste inn hendelser"
|
||||
},
|
||||
"chartType": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"label": "Diagramtype",
|
||||
"description": "Vis stil for diagrammet",
|
||||
"option": {
|
||||
"bar": "",
|
||||
"sparkline": ""
|
||||
"bar": "Søylediagram",
|
||||
"sparkline": "Minigraf"
|
||||
}
|
||||
},
|
||||
"chartStyle": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"label": "Diagramtype",
|
||||
"description": "Hvordan vise hendelsesserier i diagrammet",
|
||||
"option": {
|
||||
"grouped": "",
|
||||
"overlay": ""
|
||||
"grouped": "Side om side",
|
||||
"overlay": "Overlegg (delmengde)"
|
||||
}
|
||||
},
|
||||
"viewMode": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"label": "Visning",
|
||||
"description": "Hva skal vises i widgetkroppen",
|
||||
"option": {
|
||||
"chart": "",
|
||||
"events": "",
|
||||
"topPages": "",
|
||||
"topReferrers": ""
|
||||
"chart": "Diagram",
|
||||
"events": "Hendelser diagram",
|
||||
"topPages": "Toppsider",
|
||||
"topReferrers": "Topp referenter"
|
||||
}
|
||||
},
|
||||
"eventNames": {
|
||||
"label": "",
|
||||
"description": "",
|
||||
"placeholder": "",
|
||||
"loading": "",
|
||||
"noEvents": "",
|
||||
"configureWebsiteFirst": ""
|
||||
"label": "Hendelser",
|
||||
"description": "Velg ett eller flere hendelser i diagrammet",
|
||||
"placeholder": "Velg en hendelse...",
|
||||
"loading": "Laster inn hendelser...",
|
||||
"noEvents": "Ingen hendelser funnet",
|
||||
"configureWebsiteFirst": "Velg en nettside først for å laste inn hendelser"
|
||||
},
|
||||
"topCount": {
|
||||
"label": "",
|
||||
"description": ""
|
||||
"label": "Gjenstander å vise",
|
||||
"description": "Antall oppføringer som skal vises (maks 500)"
|
||||
}
|
||||
},
|
||||
"event": {
|
||||
"occurrences": "",
|
||||
"label": ""
|
||||
"occurrences": "hendelser",
|
||||
"label": "hendelser"
|
||||
},
|
||||
"topPages": {
|
||||
"direct": ""
|
||||
"direct": "Direkte"
|
||||
},
|
||||
"topReferrers": {
|
||||
"direct": ""
|
||||
"direct": "Direkte"
|
||||
},
|
||||
"events": {
|
||||
"selectPrompt": ""
|
||||
"selectPrompt": "Velg hendelser for å diagram"
|
||||
},
|
||||
"error": {
|
||||
"noIntegration": "",
|
||||
"noWebsite": "",
|
||||
"noData": "",
|
||||
"internalServerError": ""
|
||||
"noIntegration": "Ingen Umami integrasjon konfigurert",
|
||||
"noWebsite": "Ingen nettsted konfigurert",
|
||||
"noData": "Ingen data tilgjengelig",
|
||||
"internalServerError": "Kunne ikke hente Umami data"
|
||||
}
|
||||
},
|
||||
"common": {
|
||||
@@ -3680,7 +3680,7 @@
|
||||
"defaultColorScheme": {
|
||||
"label": "Standard fargetema",
|
||||
"options": {
|
||||
"auto": "",
|
||||
"auto": "Auto",
|
||||
"light": "Lys",
|
||||
"dark": "Mørk"
|
||||
}
|
||||
@@ -3783,7 +3783,7 @@
|
||||
"label": "Tracearr"
|
||||
},
|
||||
"umamiActiveVisitors": {
|
||||
"label": ""
|
||||
"label": "Umami Aktive Besøkende"
|
||||
}
|
||||
},
|
||||
"interval": {
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "Porter"
|
||||
},
|
||||
"host": {
|
||||
"label": "Vert"
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
@@ -4496,7 +4499,7 @@
|
||||
"title": "Globale kommandoer",
|
||||
"option": {
|
||||
"colorScheme": {
|
||||
"auto": "",
|
||||
"auto": "Bytt visningsmodus",
|
||||
"light": "Bytt til lys modus",
|
||||
"dark": "Bytt til mørk modus"
|
||||
},
|
||||
@@ -4548,13 +4551,13 @@
|
||||
"group": {
|
||||
"searchEngine": {
|
||||
"title": "Søkemotorer",
|
||||
"tipDdgBangs": "",
|
||||
"tipDdgBangs": "Tips: Du kan også bruke DuckDuckGo-bangs her, f.eks. !something",
|
||||
"bang": {
|
||||
"searchWithQuery": "",
|
||||
"pressEnterToOpen": "",
|
||||
"engineSelected": "",
|
||||
"typeQueryToContinue": "",
|
||||
"emptyBangHint": ""
|
||||
"searchWithQuery": "Søk etter \"{query}\" med {label}",
|
||||
"pressEnterToOpen": "Trykk på Enter for å åpne",
|
||||
"engineSelected": "{label} valgt (!{bang})",
|
||||
"typeQueryToContinue": "Skriv inn søkeordet for å fortsette",
|
||||
"emptyBangHint": "Skriv inn en bang, f.eks. !yt, og trykk deretter på mellomrom for å velge"
|
||||
},
|
||||
"children": {
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "Porty"
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "Portas"
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": ""
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "Porturi"
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "Порты"
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "Porty"
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "Vrata"
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "Portar"
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "Bağlantı noktaları"
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "Порти"
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "Cổng"
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -3970,6 +3970,9 @@
|
||||
},
|
||||
"ports": {
|
||||
"label": "端口"
|
||||
},
|
||||
"host": {
|
||||
"label": ""
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
|
||||
@@ -65,8 +65,8 @@ const columnsRatios: Record<keyof ExtendedDownloadClientItem, number> = {
|
||||
id: 1,
|
||||
index: 1,
|
||||
integration: 1,
|
||||
name: 16,
|
||||
progress: 6,
|
||||
name: 8,
|
||||
progress: 4,
|
||||
ratio: 2,
|
||||
received: 3,
|
||||
sent: 3,
|
||||
|
||||
Generated
+1172
-1527
File diff suppressed because it is too large.
Load diff
+5
-5
@@ -44,7 +44,7 @@ catalog:
|
||||
"@semantic-release/npm": ^13.1.5
|
||||
"@semantic-release/release-notes-generator": ^14.1.0
|
||||
"@t3-oss/env-nextjs": ^0.13.11
|
||||
"@tabler/icons-react": ^3.41.1
|
||||
"@tabler/icons-react": ^3.42.0
|
||||
"@tanstack/react-query": ^5.100.9
|
||||
"@tanstack/react-query-devtools": ^5.100.9
|
||||
"@tanstack/react-query-next-experimental": ^5.100.9
|
||||
@@ -72,7 +72,7 @@ catalog:
|
||||
"@trpc/react-query": ^11.17.0
|
||||
"@trpc/server": ^11.17.0
|
||||
"@trpc/tanstack-react-query": ^11.17.0
|
||||
"@turbo/gen": ^2.9.8
|
||||
"@turbo/gen": ^2.9.9
|
||||
"@types/adm-zip": 0.5.8
|
||||
"@types/bcrypt": 6.0.0
|
||||
"@types/better-sqlite3": 7.6.13
|
||||
@@ -123,12 +123,12 @@ catalog:
|
||||
esbuild: ^0.28.0
|
||||
eslint: ^10.3.0
|
||||
eslint-config-prettier: ^10.1.8
|
||||
eslint-config-turbo: ^2.9.8
|
||||
eslint-config-turbo: ^2.9.9
|
||||
eslint-plugin-import: ^2.32.0
|
||||
eslint-plugin-jsx-a11y: ^6.10.2
|
||||
eslint-plugin-react: ^7.37.5
|
||||
eslint-plugin-react-hooks: ^6.1.1
|
||||
fast-xml-parser: ^5.7.2
|
||||
fast-xml-parser: ^5.7.3
|
||||
fastify: ^5.8.5
|
||||
flag-icons: ^7.5.0
|
||||
glob: ^13.0.6
|
||||
@@ -173,7 +173,7 @@ catalog:
|
||||
trpc-to-openapi: ^3.2.0
|
||||
tsdav: ^2.2.0
|
||||
tsx: 4.20.4
|
||||
turbo: ^2.9.8
|
||||
turbo: ^2.9.9
|
||||
typescript: ^5.9.3
|
||||
typescript-eslint: ^8.58.2
|
||||
undici: 7.24.6
|
||||
|
||||
Reference in new issue
Block a user