Compare commits

..
Author SHA1 Message Date
Manuel 4dbdfe8133 Revert "chore(deps): update pnpm to v11 (#5660)"
This reverts commit b8e0123893.
2026-05-08 15:11:13 +02:00
Manuel 51e6951b58 Revert "chore(deps): update pnpm to v11.0.4 (#5668)"
This reverts commit c4ec45a9d0.
2026-05-08 15:10:21 +02:00
60 changed files with 712 additions and 1227 deletions

No files matched your search

-6
View File
@@ -45,12 +45,6 @@ DB_URL='FULL_PATH_TO_YOUR_SQLITE_DB_FILE'
TURBO_TELEMETRY_DISABLED=1
# Comma-separated paths to Docker-compatible Unix sockets.
# Useful for connecting to multiple runtimes (Docker + Podman) simultaneously.
# When unset and no TCP hosts configured, defaults to /var/run/docker.sock.
# Example: DOCKER_SOCKET_PATHS=/var/run/docker.sock,/run/user/1000/podman/podman.sock
# DOCKER_SOCKET_PATHS=
# Enable kubernetes tool
# ENABLE_KUBERNETES=true
-1
View File
@@ -33,7 +33,6 @@ 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
-25
View File
@@ -1,28 +1,3 @@
## [1.61.0](https://github.com/homarr-labs/homarr/compare/v1.60.0...v1.61.0) (2026-05-08)
### Features
* add auto/system appearance mode + fix dark mode system resources charts ([#5492](https://github.com/homarr-labs/homarr/issues/5492)) ([831b622](https://github.com/homarr-labs/homarr/commit/831b6221fdf21fe4913b0f165ef551afeada4f33))
* add pwa support ([#5530](https://github.com/homarr-labs/homarr/issues/5530)) ([277a509](https://github.com/homarr-labs/homarr/commit/277a509f490d57bb6547c86c417c29c0e7af7e40))
* add Umami Analytics integration and widget ([#5362](https://github.com/homarr-labs/homarr/issues/5362)) ([43cc68b](https://github.com/homarr-labs/homarr/commit/43cc68bdd49c4877012e39e23355f6506aea7f4e))
* **docker:** Podman compatibility, multi-socket support, per-host error isolation ([#5425](https://github.com/homarr-labs/homarr/issues/5425)) ([56af6bc](https://github.com/homarr-labs/homarr/commit/56af6bcaf00e980e4c7a40d8e912901cd1395f5a))
* **entity-state:** add data attributes for custom-css styling ([#5655](https://github.com/homarr-labs/homarr/issues/5655)) ([0937555](https://github.com/homarr-labs/homarr/commit/0937555d49c29455bc33307ae5e50bf5b812c7c7))
* **installations:** support secrets file for all environment variables ([#5125](https://github.com/homarr-labs/homarr/issues/5125)) ([4d30a2e](https://github.com/homarr-labs/homarr/commit/4d30a2e8c48f818bb4947a651b0fec5f64cbf569))
* **qbittorrent:** add api-key support ([#5677](https://github.com/homarr-labs/homarr/issues/5677)) ([756e8d1](https://github.com/homarr-labs/homarr/commit/756e8d172455f91e40cd8fb5faff6953cc9778c5))
* **spotlight:** rework !bang search UX ([#4813](https://github.com/homarr-labs/homarr/issues/4813)) ([b5c316b](https://github.com/homarr-labs/homarr/commit/b5c316b825bdffa267fd173a3c39a12269142665))
### Bug Fixes
* **apps:** creation on the fly broken ([#5605](https://github.com/homarr-labs/homarr/issues/5605)) ([3183914](https://github.com/homarr-labs/homarr/commit/3183914a1502555681b73975062ed6ca8a48cb75))
* **calendar:** keep working integrations when one fails ([#5629](https://github.com/homarr-labs/homarr/issues/5629)) ([44bd16d](https://github.com/homarr-labs/homarr/commit/44bd16d6770d289054df6c7c93adff42d2243252))
* **lang:** portuguese is linked to brazilian portuguese on crowdin ([#5622](https://github.com/homarr-labs/homarr/issues/5622)) ([62be81e](https://github.com/homarr-labs/homarr/commit/62be81ea607a609a816157686700c54540e1568b))
* **qbittorrent:** support version 5.2 ([#5672](https://github.com/homarr-labs/homarr/issues/5672)) ([00a0552](https://github.com/homarr-labs/homarr/commit/00a055283e8848542b67d88a656a99fdd0bcb444))
* **update-checker:** hide prereleases on non-prerelease versions ([#5645](https://github.com/homarr-labs/homarr/issues/5645)) ([b07a4a0](https://github.com/homarr-labs/homarr/commit/b07a4a0f3e3af384ec477bf5c505a705b003de47))
### Reverts
* **deps:** downgrade pnpm to v10 ([#5673](https://github.com/homarr-labs/homarr/issues/5673)) ([44a2973](https://github.com/homarr-labs/homarr/commit/44a2973b1aba1e2c6bd818be022205f3cdb7c943))
## [1.60.0](https://github.com/homarr-labs/homarr/compare/v1.59.3...v1.60.0) (2026-05-01)
### Features
-4
View File
@@ -3,11 +3,7 @@
# Exempt Renovate‑managed files (no owners)
package.json
**/package.json
package-lock.json
**/package-lock.json
pnpm-lock.yaml
**/pnpm-lock.yaml
pnpm-workspace.yaml
Dockerfile
docker-compose.yml
@@ -58,18 +58,6 @@ const createColumns = (
return <ContainerStateBadge state={cell.row.original.state} />;
},
},
{
accessorKey: "host",
header: t("docker.field.host.label"),
size: 140,
Cell({ row }) {
return (
<Text truncate="end" title={row.original.host}>
{row.original.host}
</Text>
);
},
},
{
accessorKey: "image",
header: t("docker.field.containerImage.label"),
+2 -2
View File
@@ -4,10 +4,10 @@
"dependencies": {
"better-sqlite3": "^12.9.0"
},
"packageManager": "pnpm@10.33.3",
"packageManager": "pnpm@10.33.2",
"engines": {
"node": ">=24.15.0",
"pnpm": ">=10.33.3"
"pnpm": ">=10.33.2"
},
"pnpm": {
"onlyBuiltDependencies": [
+4 -4
View File
@@ -1,6 +1,6 @@
{
"name": "homarr",
"version": "1.61.0",
"version": "1.60.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.3",
"packageManager": "pnpm@10.33.2",
"engines": {
"node": ">=24.15.0",
"pnpm": ">=10.33.3"
"pnpm": ">=10.33.2"
},
"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.3",
"rollup@>=4.0.0 <4.22.4": ">=4.60.2",
"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",
@@ -138,7 +138,6 @@ const getContainerOrThrowAsync = async (id: string) => {
interface DockerContainer {
name: string;
id: string;
host: string;
state: ContainerState;
image: string;
ports: Port[] | undefined;
-23
View File
@@ -5,26 +5,3 @@ 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);
};
+3 -40
View File
@@ -1,6 +1,6 @@
import { describe, expect, test } from "vitest";
import { describe, expect, it } from "vitest";
import { bestMatch, capitalize } from "../string";
import { capitalize } from "../string";
const capitalizeTestCases = [
["hello", "Hello"],
@@ -12,45 +12,8 @@ const capitalizeTestCases = [
describe("capitalize should capitalize the first letter of a string", () => {
capitalizeTestCases.forEach(([input, expected]) => {
test(`should capitalize ${input} to ${expected}`, () => {
it(`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();
});
});
@@ -93,7 +93,6 @@ 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"
@@ -199,7 +198,6 @@ 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"
@@ -246,7 +244,6 @@ export type HomarrDocumentationPath =
| "/docs/widgets/system-resources"
| "/docs/widgets/timetable"
| "/docs/widgets/tracearr"
| "/docs/widgets/umami"
| "/docs/widgets/video"
| "/docs/widgets/weather"
| ""
+2 -1
View File
@@ -61,7 +61,7 @@ export const integrationDefs = {
},
qBittorrent: {
name: "qBittorrent",
secretKinds: [["apiKey"], ["username", "password"]],
secretKinds: [["username", "password"]],
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/qbittorrent.svg",
category: ["downloadClient", "torrent"],
documentationUrl: createDocumentationLink("/docs/integrations/q-bittorent"),
@@ -376,6 +376,7 @@ 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)
+1 -3
View File
@@ -4,11 +4,9 @@ import { createBooleanSchema, createEnv } from "@homarr/core/infrastructure/env"
export const env = createEnv({
server: {
// Comma separated list of docker hostnames that can be used to connect to query the docker endpoints (localhost,host.docker.internal, ...)
// Comma separated list of docker hostnames that can be used to connect to query the docker endpoints (localhost:2375,host.docker.internal:2375, ...)
DOCKER_HOSTNAMES: z.string().optional(),
DOCKER_PORTS: z.string().optional(),
// Comma separated paths to Docker-compatible Unix sockets (e.g., /var/run/docker.sock,/run/user/1000/podman/podman.sock)
DOCKER_SOCKET_PATHS: z.string().optional(),
ENABLE_DOCKER: createBooleanSchema(true),
ENABLE_KUBERNETES: createBooleanSchema(false),
},
+20 -32
View File
@@ -11,43 +11,31 @@ export class DockerSingleton {
private static instances: DockerInstance[] | null = null;
private createInstances() {
const socketPaths = env.DOCKER_SOCKET_PATHS;
const hostVariable = env.DOCKER_HOSTNAMES;
const portVariable = env.DOCKER_PORTS;
// Socket instances from DOCKER_SOCKET_PATHS
const socketInstances: DockerInstance[] = socketPaths
? socketPaths.split(",").map((socketPath) => ({
host: socketPath,
instance: new Docker({ socketPath }),
}))
: [];
// TCP instances from existing DOCKER_HOSTNAMES/DOCKER_PORTS
let tcpInstances: DockerInstance[] = [];
if (hostVariable !== undefined && portVariable !== undefined) {
const hostnames = hostVariable.split(",");
const ports = portVariable.split(",");
if (hostnames.length !== ports.length) {
throw new Error("The number of hosts and ports must match");
}
tcpInstances = hostnames.map((host, i) => ({
host: `${host}:${ports[i]}`,
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
instance: new Docker({ host, port: parseInt(ports[i]!, 10) }),
}));
}
const instances = [...socketInstances, ...tcpInstances];
// Default: local socket if nothing else configured
if (instances.length === 0) {
if (hostVariable === undefined || portVariable === undefined) {
return [{ host: "socket", instance: new Docker() }];
}
const hostnames = hostVariable.split(",");
const ports = portVariable.split(",");
return instances;
if (hostnames.length !== ports.length) {
throw new Error("The number of hosts and ports must match");
}
return hostnames.map((host, i) => {
// Check above ensures that ports[i] is not undefined
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
const port = ports[i]!;
return {
host: `${host}:${port}`,
instance: new Docker({
host,
port: parseInt(port, 10),
}),
};
});
}
public static findInstance(host: string): DockerInstance | undefined {
-110
View File
@@ -1,110 +0,0 @@
import { beforeEach, describe, expect, test, vi } from "vitest";
import { DockerSingleton } from "../singleton";
const mockEnv = vi.hoisted(() => ({
DOCKER_SOCKET_PATHS: undefined as string | undefined,
DOCKER_HOSTNAMES: undefined as string | undefined,
DOCKER_PORTS: undefined as string | undefined,
ENABLE_DOCKER: true,
ENABLE_KUBERNETES: false,
}));
vi.mock("dockerode", () => {
return {
default: class MockDocker {
constructor(public opts?: Record<string, unknown>) {}
},
};
});
vi.mock("../env", () => ({
env: mockEnv,
}));
describe("DockerSingleton", () => {
beforeEach(() => {
// Reset singleton cache between tests
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access
(DockerSingleton as any).instances = null;
// Reset env to defaults
mockEnv.DOCKER_SOCKET_PATHS = undefined;
mockEnv.DOCKER_HOSTNAMES = undefined;
mockEnv.DOCKER_PORTS = undefined;
});
test("should return default socket when no env vars set", () => {
const instances = DockerSingleton.getInstances();
expect(instances).toHaveLength(1);
expect(instances[0]?.host).toBe("socket");
});
test("should return TCP instances only when DOCKER_HOSTNAMES and DOCKER_PORTS set", () => {
mockEnv.DOCKER_HOSTNAMES = "remote-host";
mockEnv.DOCKER_PORTS = "2375";
const instances = DockerSingleton.getInstances();
expect(instances).toHaveLength(1);
expect(instances[0]?.host).toBe("remote-host:2375");
});
test("should return multiple TCP instances", () => {
mockEnv.DOCKER_HOSTNAMES = "host1,host2";
mockEnv.DOCKER_PORTS = "2375,2376";
const instances = DockerSingleton.getInstances();
expect(instances).toHaveLength(2);
expect(instances[0]?.host).toBe("host1:2375");
expect(instances[1]?.host).toBe("host2:2376");
});
test("should throw when hostname and port counts do not match", () => {
mockEnv.DOCKER_HOSTNAMES = "host1,host2";
mockEnv.DOCKER_PORTS = "2375";
expect(() => DockerSingleton.getInstances()).toThrow("The number of hosts and ports must match");
});
test("should return socket instances when DOCKER_SOCKET_PATHS set", () => {
mockEnv.DOCKER_SOCKET_PATHS = "/var/run/docker.sock";
const instances = DockerSingleton.getInstances();
expect(instances).toHaveLength(1);
expect(instances[0]?.host).toBe("/var/run/docker.sock");
});
test("should return multiple socket instances", () => {
mockEnv.DOCKER_SOCKET_PATHS = "/var/run/docker.sock,/run/user/1000/podman/podman.sock";
const instances = DockerSingleton.getInstances();
expect(instances).toHaveLength(2);
expect(instances[0]?.host).toBe("/var/run/docker.sock");
expect(instances[1]?.host).toBe("/run/user/1000/podman/podman.sock");
});
test("should combine socket and TCP instances", () => {
mockEnv.DOCKER_SOCKET_PATHS = "/var/run/docker.sock,/run/user/1000/podman/podman.sock";
mockEnv.DOCKER_HOSTNAMES = "remote-host";
mockEnv.DOCKER_PORTS = "2375";
const instances = DockerSingleton.getInstances();
expect(instances).toHaveLength(3);
expect(instances[0]?.host).toBe("/var/run/docker.sock");
expect(instances[1]?.host).toBe("/run/user/1000/podman/podman.sock");
expect(instances[2]?.host).toBe("remote-host:2375");
});
test("should cache instances on subsequent calls", () => {
const first = DockerSingleton.getInstances();
const second = DockerSingleton.getInstances();
expect(first).toBe(second);
});
});
@@ -90,18 +90,10 @@ export class QBitTorrentIntegration extends Integration implements IDownloadClie
}
private async getClientAsync(dispatcher?: Dispatcher) {
const credentials = this.hasSecretValue("apiKey")
? {
apiKey: this.getSecretValue("apiKey"),
}
: {
username: this.getSecretValue("username"),
password: this.getSecretValue("password"),
};
return new QBittorrent({
...credentials,
baseUrl: this.url("/").toString(),
username: this.getSecretValue("username"),
password: this.getSecretValue("password"),
dispatcher: dispatcher ?? (await createCertificateAgentAsync()),
});
}
+18 -34
View File
@@ -2,9 +2,6 @@ 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";
import { icons } from "@homarr/db/schema";
import type { ContainerState } from "@homarr/docker";
@@ -12,8 +9,6 @@ import { dockerLabels, DockerSingleton } from "@homarr/docker";
import { createCachedWidgetRequestHandler } from "./lib/cached-widget-request-handler";
const logger = createLogger({ module: "dockerRequestHandler" });
export const dockerContainersRequestHandler = createCachedWidgetRequestHandler({
queryKey: "dockerContainersResult",
widgetKind: "dockerContainers",
@@ -23,34 +18,19 @@ export const dockerContainersRequestHandler = createCachedWidgetRequestHandler({
cacheDuration: dayjs.duration(20, "seconds"),
});
const dockerInstances = DockerSingleton.getInstances();
const extractImage = (container: ContainerInfo) => container.Image.split("/").at(-1)?.split(":").at(0) ?? "";
async function getContainersWithStatsAsync() {
const dockerInstances = DockerSingleton.getInstances();
const results = await Promise.allSettled(
const containers = await Promise.all(
dockerInstances.map(async ({ instance, host }) => {
const instanceContainers = await instance.listContainers({ all: true });
return instanceContainers
.filter((container) => !(dockerLabels.hide in container.Labels))
.map((container) => ({ ...container, instance: host }));
}),
);
const containers = results.flatMap((result, index) => {
if (result.status === "fulfilled") return result.value;
logger.warn(
new ErrorWithMetadata(
"Failed to list containers from Docker host",
{
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
host: dockerInstances[index]!.host,
},
{ cause: result.reason },
),
);
return [];
});
).then((res) => res.flat());
const likeQueries = containers.map((container) => like(icons.name, `%${extractImage(container)}%`));
const dbIcons =
@@ -64,6 +44,8 @@ async function getContainersWithStatsAsync() {
const instance = dockerInstances.find(({ host }) => host === container.instance)?.instance;
if (!instance) return null;
// Get stats, falling back to an empty stats object if fetch fails
// calculateCpuUsage and calculateMemoryUsage will return 0 for invalid/missing stats
const stats = await instance
.getContainer(container.Id)
.stats({ stream: false, "one-shot": true })
@@ -81,9 +63,13 @@ async function getContainersWithStatsAsync() {
return {
id: container.Id,
name: container.Names[0]?.split("/")[1] ?? "Unknown",
host: container.instance,
state: container.State as ContainerState,
iconUrl: bestMatch(extractImage(container), dbIcons, (icon) => icon.name)?.url ?? null,
iconUrl:
dbIcons.find((icon) => {
const extractedImage = extractImage(container);
if (!extractedImage) return false;
return icon.name.toLowerCase().includes(extractedImage.toLowerCase());
})?.url ?? null,
cpuUsage,
memoryUsage,
image: container.Image,
@@ -94,10 +80,9 @@ async function getContainersWithStatsAsync() {
return (await Promise.all(containerStatsPromises)).filter((container) => container !== null);
}
export function calculateCpuUsage(stats: ContainerStats): number {
// Handle containers with missing or invalid stats (e.g., exited, dead containers, Podman responses)
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
if (!stats.cpu_stats?.online_cpus || stats.cpu_stats.online_cpus === 0 || !stats.cpu_stats.cpu_usage?.total_usage) {
function calculateCpuUsage(stats: ContainerStats): number {
// Handle containers with missing or invalid stats (e.g., exited, dead containers)
if (!stats.cpu_stats.online_cpus || stats.cpu_stats.online_cpus === 0 || !stats.cpu_stats.cpu_usage.total_usage) {
return 0;
}
@@ -110,10 +95,9 @@ export function calculateCpuUsage(stats: ContainerStats): number {
return (stats.cpu_stats.cpu_usage.total_usage / usage) * numberOfCpus * 100;
}
export function calculateMemoryUsage(stats: ContainerStats): number {
// Handle containers with missing or invalid stats (e.g., exited, dead containers, Podman responses)
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
if (!stats.memory_stats?.usage) {
function calculateMemoryUsage(stats: ContainerStats): number {
// Handle containers with missing or invalid stats (e.g., exited, dead containers)
if (!stats.memory_stats.usage) {
return 0;
}
@@ -1,121 +0,0 @@
import type { ContainerStats } from "dockerode";
import { describe, expect, test, vi } from "vitest";
import { createDb } from "@homarr/db/test";
import { calculateCpuUsage, calculateMemoryUsage } from "../docker";
vi.mock("@homarr/db", async (importActual) => {
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
const actual = await importActual<typeof import("@homarr/db")>();
return {
...actual,
db: createDb(),
};
});
// Helper to create a partial stats object, cast to ContainerStats.
// This mirrors what Podman and other Docker-compatible runtimes may return
// at runtime, even though @types/dockerode declares all fields as required.
const createStats = (overrides: Record<string, unknown> = {}) => overrides as unknown as ContainerStats;
describe("calculateCpuUsage", () => {
test("should return 0 when cpu_stats is undefined (Podman)", () => {
const stats = createStats({ cpu_stats: undefined });
expect(calculateCpuUsage(stats)).toBe(0);
});
test("should return 0 when online_cpus is 0", () => {
const stats = createStats({
cpu_stats: { online_cpus: 0, cpu_usage: { total_usage: 1000 }, system_cpu_usage: 5000 },
});
expect(calculateCpuUsage(stats)).toBe(0);
});
test("should return 0 when online_cpus is undefined", () => {
const stats = createStats({
cpu_stats: { cpu_usage: { total_usage: 1000 }, system_cpu_usage: 5000 },
});
expect(calculateCpuUsage(stats)).toBe(0);
});
test("should return 0 when cpu_usage is undefined", () => {
const stats = createStats({
cpu_stats: { online_cpus: 4, system_cpu_usage: 5000 },
});
expect(calculateCpuUsage(stats)).toBe(0);
});
test("should return 0 when total_usage is 0", () => {
const stats = createStats({
cpu_stats: { online_cpus: 4, cpu_usage: { total_usage: 0 }, system_cpu_usage: 5000 },
});
expect(calculateCpuUsage(stats)).toBe(0);
});
test("should return 0 when system_cpu_usage is 0", () => {
const stats = createStats({
cpu_stats: { online_cpus: 4, cpu_usage: { total_usage: 1000 }, system_cpu_usage: 0 },
});
expect(calculateCpuUsage(stats)).toBe(0);
});
test("should calculate correct CPU percentage for valid stats", () => {
const stats = createStats({
cpu_stats: { online_cpus: 4, cpu_usage: { total_usage: 2000 }, system_cpu_usage: 10000 },
});
// (2000 / 10000) * 4 * 100 = 80
expect(calculateCpuUsage(stats)).toBe(80);
});
test("should handle fractional CPU usage", () => {
const stats = createStats({
cpu_stats: { online_cpus: 2, cpu_usage: { total_usage: 500 }, system_cpu_usage: 100000 },
});
// (500 / 100000) * 2 * 100 = 1
expect(calculateCpuUsage(stats)).toBe(1);
});
});
describe("calculateMemoryUsage", () => {
test("should return 0 when memory_stats is undefined (Podman)", () => {
const stats = createStats({ memory_stats: undefined });
expect(calculateMemoryUsage(stats)).toBe(0);
});
test("should return 0 when memory_stats.usage is 0", () => {
const stats = createStats({ memory_stats: { usage: 0 } });
expect(calculateMemoryUsage(stats)).toBe(0);
});
test("should return 0 when memory_stats.usage is undefined", () => {
const stats = createStats({ memory_stats: {} });
expect(calculateMemoryUsage(stats)).toBe(0);
});
test("should subtract cache from usage", () => {
const stats = createStats({
memory_stats: { usage: 1000, stats: { cache: 200 } },
});
expect(calculateMemoryUsage(stats)).toBe(800);
});
test("should use total_inactive_file when cache is absent", () => {
const stats = createStats({
memory_stats: { usage: 1000, stats: { total_inactive_file: 300 } },
});
expect(calculateMemoryUsage(stats)).toBe(700);
});
test("should use inactive_file as last fallback", () => {
const stats = createStats({
memory_stats: { usage: 1000, stats: { inactive_file: 150 } },
});
expect(calculateMemoryUsage(stats)).toBe(850);
});
test("should return raw usage when memory_stats.stats is undefined", () => {
const stats = createStats({ memory_stats: { usage: 512 } });
expect(calculateMemoryUsage(stats)).toBe(512);
});
});
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": ""
},
"host": {
"label": ""
}
},
"action": {
+160 -163
View File
@@ -159,7 +159,7 @@
"label": "在新标签页中打开搜索结果"
},
"ddgBangs": {
"label": "启用 DuckDuckGo bangs"
"label": ""
}
},
"error": {
@@ -252,10 +252,10 @@
"changeDdgBangs": {
"notification": {
"success": {
"message": "DuckDuckGo bangs 切换成功"
"message": ""
},
"error": {
"message": "无法切换 DuckDuckGo bangs"
"message": ""
}
}
},
@@ -1093,7 +1093,7 @@
},
"colorScheme": {
"options": {
"auto": "自动",
"auto": "",
"light": "日间",
"dark": "暗黑"
}
@@ -1540,13 +1540,13 @@
}
},
"timetable": {
"name": "时刻表",
"description": "显示车站的出发时间",
"title": "出发时间 {station}",
"noStation": "未选择车站",
"name": "",
"description": "",
"title": "",
"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": "Tracearr",
"description": "增强型媒体服务器监控,提供详细的流与转码数据",
"name": "",
"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": "未配置 Tracearr 集成",
"internalServerError": "获取 Tracearr 数据失败"
"noIntegration": "",
"internalServerError": ""
}
},
"umami": {
"name": "Umami 分析",
"description": "显示来自 Umami 分析实例的访客统计",
"visitors": "访客",
"active": "活跃",
"pageviews": "浏览量",
"visits": "访问数",
"bounceRate": "跳出率",
"avgDuration": "平均",
"name": "",
"description": "",
"visitors": "",
"active": "",
"pageviews": "",
"visits": "",
"bounceRate": "",
"avgDuration": "",
"option": {
"websiteId": {
"label": "网站",
"description": "选择您的 Umami 实例所追踪的网站",
"placeholder": "选择一个网站",
"loading": "正在加载网站……",
"noWebsites": "未找到网站",
"configureIntegrationFirst": "请先添加 Umami 集成"
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noWebsites": "",
"configureIntegrationFirst": ""
},
"timeFrame": {
"label": "时间范围",
"description": "用于展示访客数据的时间段",
"label": "",
"description": "",
"option": {
"today": "今天",
"24h": "过去 24 小时",
"7d": "过去 7 天",
"30d": "过去 30 天",
"month": "本月",
"lastMonth": "上月"
"today": "",
"24h": "",
"7d": "",
"30d": "",
"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": "要显示的热门项目数量(最大 500)"
"label": "",
"description": ""
}
},
"event": {
"occurrences": "事件",
"label": "事件"
"occurrences": "",
"label": ""
},
"topPages": {
"direct": "直接"
"direct": ""
},
"topReferrers": {
"direct": "直接"
"direct": ""
},
"events": {
"selectPrompt": "选择要图表化的事件"
"selectPrompt": ""
},
"error": {
"noIntegration": "未配置 Umami 集成",
"noWebsite": "未配置网站",
"noData": "无可用数据",
"internalServerError": "获取 Umami 数据失败"
"noIntegration": "",
"noWebsite": "",
"noData": "",
"internalServerError": ""
}
},
"common": {
@@ -2304,50 +2304,50 @@
}
},
"immich-serverStats": {
"name": "Immich 服务器统计",
"description": "有关您的 Immich 实例的信息",
"name": "",
"description": "",
"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": "Immich 相册",
"name": "",
"option": {
"albumId": {
"label": "相册ID",
"description": "这是一个唯一标识符,用于指向您的 Immich 相册。您可以通过打开相册并从 URL 中复制那段唯一字符串来找到该 ID,例如:'a21aca09-9f05-47dc-b1a1-7b53c547226e'"
"label": "",
"description": ""
},
"rotationIntervalSeconds": {
"label": "间隔(秒)",
"description": "每 X 秒切换一次相册中的图片。最小为 1,最大不得超过 3600。"
"label": "",
"description": ""
},
"showPhotoInfo": {
"label": "显示图片信息",
"description": "在幻灯片底部显示图片日期和当前索引"
"description": ""
}
},
"description": "Immich 相册图片幻灯片",
"noAlbumSelected": "未选择相册,请编辑组件并选择一个相册",
"noPhotos": "此相册中没有照片"
"description": "",
"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": "显示 Ping 图表"
"label": ""
}
},
"latestResult": "最新结果",
"averages": "平均值",
"tests": "{count}次测试",
"recentResults": "近期结果",
"recentResultsSpeed": "速度",
"recentResultsPing": "Ping",
"latestResult": "",
"averages": "",
"tests": "",
"recentResults": "",
"recentResultsSpeed": "",
"recentResultsPing": "",
"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": "Tracearr"
"label": ""
},
"umamiActiveVisitors": {
"label": "Umami 活跃访客"
"label": ""
}
},
"interval": {
@@ -3907,8 +3907,8 @@
"subtitle": "在许多语言中,有{count}人贡献了翻译"
},
"sponsors": {
"title": "赞助商",
"subtitle": "{count}人通过财务方式支持该项目"
"title": "",
"subtitle": ""
},
"libraries": {
"title": "相关的库",
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "端口"
},
"host": {
"label": "宿主机"
}
},
"action": {
@@ -4499,7 +4496,7 @@
"title": "全局命令",
"option": {
"colorScheme": {
"auto": "切换外观模式",
"auto": "",
"light": "切换到日间模式",
"dark": "切换到暗黑模式"
},
@@ -4551,13 +4548,13 @@
"group": {
"searchEngine": {
"title": "搜索引擎",
"tipDdgBangs": "提示:你也可以在此使用任何 DuckDuckGo Bangs,例如 !something",
"tipDdgBangs": "",
"bang": {
"searchWithQuery": "使用“‘’{query}”搜索“{label}”",
"pressEnterToOpen": "按 Enter 键打开",
"engineSelected": "已选择{label}({bang})",
"typeQueryToContinue": "输入搜索查询以继续",
"emptyBangHint": "输入 bang,例如 !yt,然后按空格键进行选择"
"searchWithQuery": "",
"pressEnterToOpen": "",
"engineSelected": "",
"typeQueryToContinue": "",
"emptyBangHint": ""
},
"children": {
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "crwdns1920:0crwdne1920:0"
},
"host": {
"label": "crwdns4249:0crwdne4249:0"
}
},
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "Porty"
},
"host": {
"label": ""
}
},
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "Porte"
},
"host": {
"label": ""
}
},
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": ""
},
"host": {
"label": ""
}
},
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "Ports"
},
"host": {
"label": ""
}
},
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "Θύρες"
},
"host": {
"label": ""
}
},
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": ""
},
"host": {
"label": ""
}
},
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "Ports"
},
"host": {
"label": "Host"
}
},
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "Puertos"
},
"host": {
"label": ""
}
},
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": ""
},
"host": {
"label": ""
}
},
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "Ports"
},
"host": {
"label": ""
}
},
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "יציאות"
},
"host": {
"label": ""
}
},
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "Portovi"
},
"host": {
"label": ""
}
},
"action": {
+123 -126
View File
@@ -159,7 +159,7 @@
"label": "Nyissa meg a keresési eredményeket új ablakban"
},
"ddgBangs": {
"label": "DuckDuckGo parancsok engedélyezése"
"label": ""
}
},
"error": {
@@ -252,10 +252,10 @@
"changeDdgBangs": {
"notification": {
"success": {
"message": "DuckDuckGo parancsok sikeresen bekapcsolódott"
"message": ""
},
"error": {
"message": "DuckDuckGo parancsokkat nem sikerült bekapcsolni"
"message": ""
}
}
},
@@ -1093,7 +1093,7 @@
},
"colorScheme": {
"options": {
"auto": "Automatikus",
"auto": "",
"light": "Világos",
"dark": "Sötét"
}
@@ -2111,101 +2111,101 @@
}
},
"umami": {
"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",
"name": "",
"description": "",
"visitors": "",
"active": "",
"pageviews": "",
"visits": "",
"bounceRate": "",
"avgDuration": "",
"option": {
"websiteId": {
"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"
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noWebsites": "",
"configureIntegrationFirst": ""
},
"timeFrame": {
"label": "Időkeret",
"description": "Látogatói adatok megjelenítésének időtartama",
"label": "",
"description": "",
"option": {
"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"
"today": "",
"24h": "",
"7d": "",
"30d": "",
"month": "",
"lastMonth": ""
}
},
"eventName": {
"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"
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"none": "",
"configureWebsiteFirst": ""
},
"chartType": {
"label": "Diagramtípus",
"description": "A diagram megjelenítési stílusa",
"label": "",
"description": "",
"option": {
"bar": "Oszlopdiagram",
"sparkline": "Mikrodiagram"
"bar": "",
"sparkline": ""
}
},
"chartStyle": {
"label": "Diagramstílus",
"description": "Hogyan jeleníthetjük meg az eseménysorozatot a diagramon",
"label": "",
"description": "",
"option": {
"grouped": "Egymás mellett",
"overlay": "Átfedés (részhalmaz)"
"grouped": "",
"overlay": ""
}
},
"viewMode": {
"label": "Megtekintés",
"description": "Mit jelenítsen meg a widget törzse",
"label": "",
"description": "",
"option": {
"chart": "Ábra",
"events": "Eseménynaptár",
"topPages": "Legnépszerűbb oldalak",
"topReferrers": "Legjobb hivatkozások"
"chart": "",
"events": "",
"topPages": "",
"topReferrers": ""
}
},
"eventNames": {
"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"
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"configureWebsiteFirst": ""
},
"topCount": {
"label": "Items to show",
"description": "Megjelenítendő legnépszerűbb elemek száma (max. 500)"
"label": "",
"description": ""
}
},
"event": {
"occurrences": "események",
"label": "események"
"occurrences": "",
"label": ""
},
"topPages": {
"direct": "Közvetlen"
"direct": ""
},
"topReferrers": {
"direct": "Közvetlen"
"direct": ""
},
"events": {
"selectPrompt": "Válassza ki a grafikonra felveendő eseményeket"
"selectPrompt": ""
},
"error": {
"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"
"noIntegration": "",
"noWebsite": "",
"noData": "",
"internalServerError": ""
}
},
"common": {
@@ -2745,15 +2745,15 @@
}
},
"importForm": {
"title": "Importálás a Docker-ből"
"title": ""
},
"example": {
"label": "Példa"
"label": ""
},
"invalid": "A tároló meghatározása érvénytelen, kérjük, ellenőrizze az értékeket",
"invalid": "",
"noProvider": {
"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"
"label": "",
"tooltip": ""
}
}
},
@@ -2826,34 +2826,34 @@
}
},
"error": {
"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: "
"integrationsDisconnected": "",
"unknownContentOption": ""
},
"name": "Hálózat állapota",
"description": "A hálózathoz csatlakozó eszközök megjelenítése"
"name": "",
"description": ""
},
"networkController": {
"error": {
"internalServerError": "A hálózati vezérlő összefoglalójának letöltése nem sikerült"
"internalServerError": ""
}
},
"firewall": {
"name": "Tűzfal-felügyelet",
"description": "Megjeleníti a tűzfalak összefoglalóját",
"name": "",
"description": "",
"tab": {
"system": "Rendszer",
"interfaces": "Interfészek"
"system": "",
"interfaces": ""
},
"error": {
"internalServerError": "Nem sikerült adatokat lekérni a tűzfalról"
"internalServerError": ""
},
"option": {
"interfaces": "Megjelenítendő hálózati interfészek"
"interfaces": ""
},
"widget": {
"fwname": "Név",
"version": "Verzió",
"versiontitle": "Verziók",
"fwname": "",
"version": "",
"versiontitle": "",
"cputitle": "CPU használat",
"memorytitle": "Memória használat",
"cpu": "CPU",
@@ -2942,63 +2942,63 @@
"cpu": "CPU",
"memory": "RAM",
"gpu": "GPU",
"network": "NET",
"up": "FÖNN",
"down": "LENN"
"network": "",
"up": "",
"down": ""
}
},
"systemDisks": {
"name": "Rendszer lemezek",
"description": "A rendszer lemezhasználata",
"name": "",
"description": "",
"option": {
"showTemperatureIfAvailable": {
"label": "Ha elérhető, mutassa a hőmérsékletet"
"label": ""
},
"displayMode": {
"label": "Megjelenítési mód",
"label": "",
"option": {
"percentage": {
"label": "Százalék (pl: 76%)"
"label": ""
},
"absolute": {
"label": "Abszolút értékek (pl. 800 Gb / 1 Tb)"
"label": ""
},
"free": {
"label": "A szabad hely aránya (pl. 24% szabad)"
"label": ""
}
}
},
"showBackgroundBar": {
"label": "Háttérhasználati sáv megjelenítése"
"label": ""
}
},
"status": {
"unhealthy": "Hibás"
"unhealthy": ""
}
}
},
"widgetPreview": {
"toggle": {
"enabled": "Szerkesztési mód engedélyezve",
"disabled": "Szerkesztési mód tiltva"
"enabled": "",
"disabled": ""
},
"dimensions": {
"title": "Dimenzió váltása"
"title": ""
}
},
"board": {
"action": {
"duplicate": {
"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.",
"title": "",
"message": "",
"notification": {
"success": {
"title": "Tábla duplikálva",
"message": "A tábla sikeresen duplikálódott"
"title": "",
"message": ""
},
"error": {
"title": "Nem lehet duplikálni a táblát",
"message": "Nem tudtam duplikálni a táblát"
"title": "",
"message": ""
}
}
},
@@ -3006,44 +3006,44 @@
"notification": {
"success": {
"title": "A módosítások sikeresen alkalmazva",
"message": "A tábla sikeresen elmentve"
"message": ""
},
"error": {
"title": "Nem sikerült alkalmazni a változtatásokat",
"message": "A táblát nem sikerült elmenteni"
"message": ""
}
},
"confirmLeave": {
"title": "Mentetlen változtatások",
"message": "Nem mentett változtatásai vannak, biztosan el akarja hagyni az oldalt?"
"title": "",
"message": ""
}
},
"oldImport": {
"label": "Importálás a homarr 1.0.0 előtti verzióból",
"label": "",
"notification": {
"success": {
"title": "Sikeres importálás",
"message": "A tábla sikeresen importálva"
"title": "",
"message": ""
},
"error": {
"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"
"title": "",
"message": ""
}
},
"form": {
"file": {
"label": "JSON fájl kiválasztása",
"invalidError": "Érvénytelen konfigurációs fájl"
"label": "",
"invalidError": ""
},
"apps": {
"label": "Alkalmazások",
"avoidDuplicates": {
"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"
"label": "",
"description": ""
},
"onlyImportApps": {
"label": "Csak alkalmazások importálása",
"description": "Csak az alkalmazásokat adja hozzá, a táblát manuálisan kell újra létrehozni"
"label": "",
"description": ""
}
},
"name": {
@@ -3272,15 +3272,15 @@
"description": ""
},
"private": {
"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."
"title": "",
"description": ""
}
}
},
"delete": {
"label": "Törölje ezt a táblát",
"label": "",
"description": "",
"button": "Törölje ezt a táblát",
"button": "",
"confirm": {
"title": "Tábla törlése",
"description": ""
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "Portok"
},
"host": {
"label": ""
}
},
"action": {
+73 -76
View File
@@ -159,7 +159,7 @@
"label": "Apri risultati di ricerca in una nuova scheda"
},
"ddgBangs": {
"label": "Abilita bangs DuckDuckGo"
"label": ""
}
},
"error": {
@@ -252,10 +252,10 @@
"changeDdgBangs": {
"notification": {
"success": {
"message": "DuckDuckGo bangs attivato con successo"
"message": ""
},
"error": {
"message": "Impossibile attivare i bangs DuckDuckGo"
"message": ""
}
}
},
@@ -1093,7 +1093,7 @@
},
"colorScheme": {
"options": {
"auto": "Automatico",
"auto": "",
"light": "Chiaro",
"dark": "Scuro"
}
@@ -2111,101 +2111,101 @@
}
},
"umami": {
"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",
"name": "",
"description": "",
"visitors": "",
"active": "",
"pageviews": "",
"visits": "",
"bounceRate": "",
"avgDuration": "",
"option": {
"websiteId": {
"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"
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noWebsites": "",
"configureIntegrationFirst": ""
},
"timeFrame": {
"label": "Intervallo di tempo",
"description": "Il periodo di tempo per visualizzare i dati dei visitatori per",
"label": "",
"description": "",
"option": {
"today": "Oggi",
"24h": "Ultime 24 ore",
"7d": "Ultimi 7 giorni",
"30d": "Ultimi 30 giorni",
"month": "Questo mese",
"lastMonth": "Mese precedente"
"today": "",
"24h": "",
"7d": "",
"30d": "",
"month": "",
"lastMonth": ""
}
},
"eventName": {
"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"
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"none": "",
"configureWebsiteFirst": ""
},
"chartType": {
"label": "Tipo di grafico",
"description": "Stile di visualizzazione del grafico",
"label": "",
"description": "",
"option": {
"bar": "Grafico a barre",
"sparkline": "Grafico a linee compatto"
"bar": "",
"sparkline": ""
}
},
"chartStyle": {
"label": "Stile del grafico",
"description": "Come visualizzare la serie di eventi nel grafico",
"label": "",
"description": "",
"option": {
"grouped": "Affiancati",
"overlay": "Sovrapponi (subset)"
"grouped": "",
"overlay": ""
}
},
"viewMode": {
"label": "Vista",
"description": "Cosa mostrare nel corpo del widget",
"label": "",
"description": "",
"option": {
"chart": "Grafico",
"events": "Grafico degli eventi",
"topPages": "Pagine più visitate",
"topReferrers": "Referrer principali"
"chart": "",
"events": "",
"topPages": "",
"topReferrers": ""
}
},
"eventNames": {
"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"
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"configureWebsiteFirst": ""
},
"topCount": {
"label": "Elementi da mostrare",
"description": "Numero di elementi principali da visualizzare (max 500)"
"label": "",
"description": ""
}
},
"event": {
"occurrences": "eventi",
"label": "eventi"
"occurrences": "",
"label": ""
},
"topPages": {
"direct": "Diretto"
"direct": ""
},
"topReferrers": {
"direct": "Diretto"
"direct": ""
},
"events": {
"selectPrompt": "Seleziona gli eventi per il grafico"
"selectPrompt": ""
},
"error": {
"noIntegration": "Nessuna integrazione di Umami configurata",
"noWebsite": "Nessun sito web configurato",
"noData": "Nessun dato disponibile",
"internalServerError": "Recupero dati Umami fallito"
"noIntegration": "",
"noWebsite": "",
"noData": "",
"internalServerError": ""
}
},
"common": {
@@ -3680,7 +3680,7 @@
"defaultColorScheme": {
"label": "Schema colore predefinito",
"options": {
"auto": "Automatico",
"auto": "",
"light": "Chiaro",
"dark": "Scuro"
}
@@ -3783,7 +3783,7 @@
"label": "Tracearr"
},
"umamiActiveVisitors": {
"label": "Visitatori Attivi Umami"
"label": ""
}
},
"interval": {
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "Porte"
},
"host": {
"label": "Host"
}
},
"action": {
@@ -4499,7 +4496,7 @@
"title": "Comandi generali",
"option": {
"colorScheme": {
"auto": "Attiva/Disattiva modalità aspetto",
"auto": "",
"light": "Passa al tema chiaro",
"dark": "Passa al tema scuro"
},
@@ -4551,13 +4548,13 @@
"group": {
"searchEngine": {
"title": "Motori di ricerca",
"tipDdgBangs": "Suggerimento: puoi usare anche i bang di DuckDuckGo, ad esempio !qualcosa",
"tipDdgBangs": "",
"bang": {
"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"
"searchWithQuery": "",
"pressEnterToOpen": "",
"engineSelected": "",
"typeQueryToContinue": "",
"emptyBangHint": ""
},
"children": {
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "ポート"
},
"host": {
"label": ""
}
},
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "포트"
},
"host": {
"label": ""
}
},
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "Prievadai"
},
"host": {
"label": ""
}
},
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": ""
},
"host": {
"label": ""
}
},
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "Poorten"
},
"host": {
"label": ""
}
},
"action": {
+73 -76
View File
@@ -159,7 +159,7 @@
"label": "Åpne søkeresultater i ny fane"
},
"ddgBangs": {
"label": "Aktiver DuckDuckGo bangs"
"label": ""
}
},
"error": {
@@ -252,10 +252,10 @@
"changeDdgBangs": {
"notification": {
"success": {
"message": "DuckDuckGo bangs er endret vellykket"
"message": ""
},
"error": {
"message": "Kan ikke slå av/på DuckDuckGo bangs"
"message": ""
}
}
},
@@ -1093,7 +1093,7 @@
},
"colorScheme": {
"options": {
"auto": "Auto",
"auto": "",
"light": "Lys",
"dark": "Mørk"
}
@@ -2111,101 +2111,101 @@
}
},
"umami": {
"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",
"name": "",
"description": "",
"visitors": "",
"active": "",
"pageviews": "",
"visits": "",
"bounceRate": "",
"avgDuration": "",
"option": {
"websiteId": {
"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"
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noWebsites": "",
"configureIntegrationFirst": ""
},
"timeFrame": {
"label": "Tidsramme",
"description": "Tidsperiode som skal vise besøkende data for",
"label": "",
"description": "",
"option": {
"today": "I dag",
"24h": "Siste 24 timer",
"7d": "Siste 7 dager",
"30d": "Siste 30 dager",
"month": "Denne måneden",
"lastMonth": "Siste måned"
"today": "",
"24h": "",
"7d": "",
"30d": "",
"month": "",
"lastMonth": ""
}
},
"eventName": {
"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"
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"none": "",
"configureWebsiteFirst": ""
},
"chartType": {
"label": "Diagramtype",
"description": "Vis stil for diagrammet",
"label": "",
"description": "",
"option": {
"bar": "Søylediagram",
"sparkline": "Minigraf"
"bar": "",
"sparkline": ""
}
},
"chartStyle": {
"label": "Diagramtype",
"description": "Hvordan vise hendelsesserier i diagrammet",
"label": "",
"description": "",
"option": {
"grouped": "Side om side",
"overlay": "Overlegg (delmengde)"
"grouped": "",
"overlay": ""
}
},
"viewMode": {
"label": "Visning",
"description": "Hva skal vises i widgetkroppen",
"label": "",
"description": "",
"option": {
"chart": "Diagram",
"events": "Hendelser diagram",
"topPages": "Toppsider",
"topReferrers": "Topp referenter"
"chart": "",
"events": "",
"topPages": "",
"topReferrers": ""
}
},
"eventNames": {
"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"
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"configureWebsiteFirst": ""
},
"topCount": {
"label": "Gjenstander å vise",
"description": "Antall oppføringer som skal vises (maks 500)"
"label": "",
"description": ""
}
},
"event": {
"occurrences": "hendelser",
"label": "hendelser"
"occurrences": "",
"label": ""
},
"topPages": {
"direct": "Direkte"
"direct": ""
},
"topReferrers": {
"direct": "Direkte"
"direct": ""
},
"events": {
"selectPrompt": "Velg hendelser for å diagram"
"selectPrompt": ""
},
"error": {
"noIntegration": "Ingen Umami integrasjon konfigurert",
"noWebsite": "Ingen nettsted konfigurert",
"noData": "Ingen data tilgjengelig",
"internalServerError": "Kunne ikke hente Umami data"
"noIntegration": "",
"noWebsite": "",
"noData": "",
"internalServerError": ""
}
},
"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": "Umami Aktive Besøkende"
"label": ""
}
},
"interval": {
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "Porter"
},
"host": {
"label": "Vert"
}
},
"action": {
@@ -4499,7 +4496,7 @@
"title": "Globale kommandoer",
"option": {
"colorScheme": {
"auto": "Bytt visningsmodus",
"auto": "",
"light": "Bytt til lys modus",
"dark": "Bytt til mørk modus"
},
@@ -4551,13 +4548,13 @@
"group": {
"searchEngine": {
"title": "Søkemotorer",
"tipDdgBangs": "Tips: Du kan også bruke DuckDuckGo-bangs her, f.eks. !something",
"tipDdgBangs": "",
"bang": {
"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"
"searchWithQuery": "",
"pressEnterToOpen": "",
"engineSelected": "",
"typeQueryToContinue": "",
"emptyBangHint": ""
},
"children": {
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "Porty"
},
"host": {
"label": ""
}
},
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "Portas"
},
"host": {
"label": ""
}
},
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": ""
},
"host": {
"label": ""
}
},
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "Porturi"
},
"host": {
"label": ""
}
},
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "Порты"
},
"host": {
"label": ""
}
},
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "Porty"
},
"host": {
"label": ""
}
},
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "Vrata"
},
"host": {
"label": ""
}
},
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "Portar"
},
"host": {
"label": ""
}
},
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "Bağlantı noktaları"
},
"host": {
"label": ""
}
},
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "Порти"
},
"host": {
"label": ""
}
},
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "Cổng"
},
"host": {
"label": ""
}
},
"action": {
-3
View File
@@ -3970,9 +3970,6 @@
},
"ports": {
"label": "端口"
},
"host": {
"label": ""
}
},
"action": {
-13
View File
@@ -79,19 +79,6 @@ const createColumns = (
return <ContainerStateBadge state={row.original.state} />;
},
},
{
id: "host",
accessorKey: "host",
size: 100,
header: t("field.host.label"),
Cell({ row }) {
return (
<Text size="xs" truncate="end">
{row.original.host}
</Text>
);
},
},
{
id: "cpuUsage",
sortingFn: (rowA, rowB) => {
+214 -222
View File
File diff suppressed because it is too large. Load diff
+11 -11
View File
@@ -6,7 +6,7 @@ catalog:
"@auth/core": ^0.41.2
"@auth/drizzle-adapter": ^1.11.2
"@ctrl/deluge": ^8.0.0
"@ctrl/qbittorrent": ^9.12.1
"@ctrl/qbittorrent": ^9.11.2
"@ctrl/transmission": ^7.4.0
"@dnd-kit/core": ^6.3.1
"@dnd-kit/modifiers": ^9.0.0
@@ -14,7 +14,7 @@ catalog:
"@dnd-kit/utilities": ^3.2.2
"@drizzle-team/brocli": ^0.12.0
'@eslint/js': 10.0.1
"@extractus/feed-extractor": 7.2.1
"@extractus/feed-extractor": 7.1.7
"@gitbeaker/rest": ^43.8.0
"@homarr/gridstack": ^1.12.0
"@homarr/node-unifi": ^2.6.0
@@ -44,10 +44,10 @@ 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.42.0
"@tanstack/react-query": ^5.100.9
"@tanstack/react-query-devtools": ^5.100.9
"@tanstack/react-query-next-experimental": ^5.100.9
"@tabler/icons-react": ^3.41.1
"@tanstack/react-query": ^5.100.8
"@tanstack/react-query-devtools": ^5.100.8
"@tanstack/react-query-next-experimental": ^5.100.8
"@testcontainers/mysql": ^11.14.0
"@testcontainers/postgresql": ^11.14.0
"@testcontainers/redis": ^11.14.0
@@ -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.9
"@turbo/gen": ^2.9.7
"@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.9
eslint-config-turbo: ^2.9.7
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.3
fast-xml-parser: ^5.7.2
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.9
turbo: ^2.9.7
typescript: ^5.9.3
typescript-eslint: ^8.58.2
undici: 7.24.6
@@ -185,7 +185,7 @@ catalog:
ws: ^8.20.0
xml2js: ^0.6.2
yaml: 2.8.4
zod: ^4.4.3
zod: ^4.4.2
zod-form-data: ^3.0.1
zod-validation-error: ^5.0.0
catalogMode: strict
-13
View File
@@ -18,19 +18,6 @@ if [ "${PUID}" != "0" ] || [ "${PGID}" != "0" ]; then
echo "Changing owner to $PUID:$PGID, done."
fi
# support _FILE Suffix for environment variables
for file_var in $(env | cut -d '=' -f 1 | grep "_FILE$"); do
target_var=$(echo "$file_var" | cut -d'=' -f1 | sed 's/_FILE//')
file_path=$(printenv "$file_var")
if [ -f "$file_path" ]; then
export "$target_var"=$(cat "$file_path" | tr -d '\n\r')
echo "Info: Loaded secret for $target_var from $file_path"
else
echo "Warning: Secret file $file_path not found for $target_var"
fi
done
if [ "${PUID}" != "0" ]; then
exec su-exec $PUID:$PGID "$@"
else
+5
View File
@@ -19,6 +19,11 @@ export AUTH_SECRET=$(openssl rand -base64 32)
# Cron job API key is generated every time the container starts as it is required for communication between nextjs-api and tasks-api
export CRON_JOB_API_KEY=$(openssl rand -base64 32)
# Support secret file for encryption key (is not empty and file exists)
if [ -n "$SECRET_ENCRYPTION_KEY_FILE" ] && [ -f "$SECRET_ENCRYPTION_KEY_FILE" ]; then
export SECRET_ENCRYPTION_KEY=$(cat $SECRET_ENCRYPTION_KEY_FILE)
fi
# Start nginx proxy
# 1. Replace the HOSTNAME in the nginx template file
# 2. Create the nginx configuration file from the template
+1 -1
View File
@@ -1 +1 @@
[{"login":"ajnart","avatar_url":"https://avatars.githubusercontent.com/u/49837342?v=4"},{"login":"manuel-rw","avatar_url":"https://avatars.githubusercontent.com/u/30572287?v=4"},{"login":"Meierschlumpf","avatar_url":"https://avatars.githubusercontent.com/u/63781622?v=4"},{"login":"SeDemal","avatar_url":"https://avatars.githubusercontent.com/u/26098587?v=4"},{"login":"lammersbjorn","avatar_url":"https://avatars.githubusercontent.com/u/71191962?v=4"},{"login":"LarveyOfficial","avatar_url":"https://avatars.githubusercontent.com/u/39219859?v=4"},{"login":"c00ldude1oo","avatar_url":"https://avatars.githubusercontent.com/u/15677803?v=4"},{"login":"InterN0te","avatar_url":"https://avatars.githubusercontent.com/u/10882916?v=4"},{"login":"Aimsucks","avatar_url":"https://avatars.githubusercontent.com/u/1828486?v=4"},{"login":"JannesV","avatar_url":"https://avatars.githubusercontent.com/u/5984244?v=4"},{"login":"MauriceNino","avatar_url":"https://avatars.githubusercontent.com/u/18658092?v=4"},{"login":"hillaliy","avatar_url":"https://avatars.githubusercontent.com/u/950010?v=4"},{"login":"Skeeww","avatar_url":"https://avatars.githubusercontent.com/u/9639992?v=4"},{"login":"RichyHBM","avatar_url":"https://avatars.githubusercontent.com/u/5472275?v=4"},{"login":"Bonfire","avatar_url":"https://avatars.githubusercontent.com/u/5704760?v=4"},{"login":"wieli99","avatar_url":"https://avatars.githubusercontent.com/u/46794825?v=4"},{"login":"ishaanparlikar","avatar_url":"https://avatars.githubusercontent.com/u/43013132?v=4"},{"login":"Zareix","avatar_url":"https://avatars.githubusercontent.com/u/29818713?v=4"},{"login":"tuggan","avatar_url":"https://avatars.githubusercontent.com/u/4325608?v=4"},{"login":"Spillebulle","avatar_url":"https://avatars.githubusercontent.com/u/46653946?v=4"},{"login":"spkesDE","avatar_url":"https://avatars.githubusercontent.com/u/1682314?v=4"},{"login":"j3lte","avatar_url":"https://avatars.githubusercontent.com/u/2557568?v=4"},{"login":"dslatt","avatar_url":"https://avatars.githubusercontent.com/u/5211001?v=4"},{"login":"Malong11-007","avatar_url":"https://avatars.githubusercontent.com/u/40298510?v=4"},{"login":"StefanB7","avatar_url":"https://avatars.githubusercontent.com/u/22056509?v=4"},{"login":"souravghosh01","avatar_url":"https://avatars.githubusercontent.com/u/37548139?v=4"},{"login":"SR3u","avatar_url":"https://avatars.githubusercontent.com/u/2380522?v=4"},{"login":"Rikpat","avatar_url":"https://avatars.githubusercontent.com/u/33869814?v=4"},{"login":"NormanJS","avatar_url":"https://avatars.githubusercontent.com/u/83409549?v=4"},{"login":"No-Maines-Land","avatar_url":"https://avatars.githubusercontent.com/u/20687725?v=4"},{"login":"stark1tty","avatar_url":"https://avatars.githubusercontent.com/u/69326376?v=4"},{"login":"Momcilo42","avatar_url":"https://avatars.githubusercontent.com/u/10118137?v=4"},{"login":"marius-arch","avatar_url":"https://avatars.githubusercontent.com/u/72494359?v=4"},{"login":"Lumilias","avatar_url":"https://avatars.githubusercontent.com/u/10852161?v=4"},{"login":"Havock94","avatar_url":"https://avatars.githubusercontent.com/u/7635248?v=4"},{"login":"Lollyde","avatar_url":"https://avatars.githubusercontent.com/u/11347524?v=4"},{"login":"krishnamuppaneni","avatar_url":"https://avatars.githubusercontent.com/u/4703366?v=4"},{"login":"devtobi","avatar_url":"https://avatars.githubusercontent.com/u/28538704?v=4"},{"login":"TyxTang","avatar_url":"https://avatars.githubusercontent.com/u/90897955?v=4"},{"login":"alotlikebeans","avatar_url":"https://avatars.githubusercontent.com/u/19630511?v=4"},{"login":"WillyJL","avatar_url":"https://avatars.githubusercontent.com/u/49810075?v=4"},{"login":"anonysoul","avatar_url":"https://avatars.githubusercontent.com/u/105715150?v=4"},{"login":"cospeedster","avatar_url":"https://avatars.githubusercontent.com/u/52749645?v=4"},{"login":"diederbert","avatar_url":"https://avatars.githubusercontent.com/u/162878798?v=4"},{"login":"digdilem","avatar_url":"https://avatars.githubusercontent.com/u/4052275?v=4"},{"login":"dinghino","avatar_url":"https://avatars.githubusercontent.com/u/14729459?v=4"},{"login":"gfomichev","avatar_url":"https://avatars.githubusercontent.com/u/1596146?v=4"},{"login":"gnattu","avatar_url":"https://avatars.githubusercontent.com/u/12995396?v=4"},{"login":"tuxpizza","avatar_url":"https://avatars.githubusercontent.com/u/84710786?v=4"},{"login":"xmarkurion","avatar_url":"https://avatars.githubusercontent.com/u/46654687?v=4"},{"login":"huanga","avatar_url":"https://avatars.githubusercontent.com/u/732970?v=4"},{"login":"taos15","avatar_url":"https://avatars.githubusercontent.com/u/122130728?v=4"},{"login":"arghyadipchak","avatar_url":"https://avatars.githubusercontent.com/u/32430374?v=4"},{"login":"AuthorShin","avatar_url":"https://avatars.githubusercontent.com/u/4959043?v=4"},{"login":"benniblot","avatar_url":"https://avatars.githubusercontent.com/u/47495914?v=4"},{"login":"bebsworthy","avatar_url":"https://avatars.githubusercontent.cLine truncated
[{"login":"ajnart","avatar_url":"https://avatars.githubusercontent.com/u/49837342?v=4"},{"login":"manuel-rw","avatar_url":"https://avatars.githubusercontent.com/u/30572287?v=4"},{"login":"Meierschlumpf","avatar_url":"https://avatars.githubusercontent.com/u/63781622?v=4"},{"login":"SeDemal","avatar_url":"https://avatars.githubusercontent.com/u/26098587?v=4"},{"login":"lammersbjorn","avatar_url":"https://avatars.githubusercontent.com/u/71191962?v=4"},{"login":"LarveyOfficial","avatar_url":"https://avatars.githubusercontent.com/u/39219859?v=4"},{"login":"c00ldude1oo","avatar_url":"https://avatars.githubusercontent.com/u/15677803?v=4"},{"login":"InterN0te","avatar_url":"https://avatars.githubusercontent.com/u/10882916?v=4"},{"login":"Aimsucks","avatar_url":"https://avatars.githubusercontent.com/u/1828486?v=4"},{"login":"JannesV","avatar_url":"https://avatars.githubusercontent.com/u/5984244?v=4"},{"login":"MauriceNino","avatar_url":"https://avatars.githubusercontent.com/u/18658092?v=4"},{"login":"hillaliy","avatar_url":"https://avatars.githubusercontent.com/u/950010?v=4"},{"login":"Skeeww","avatar_url":"https://avatars.githubusercontent.com/u/9639992?v=4"},{"login":"RichyHBM","avatar_url":"https://avatars.githubusercontent.com/u/5472275?v=4"},{"login":"Bonfire","avatar_url":"https://avatars.githubusercontent.com/u/5704760?v=4"},{"login":"wieli99","avatar_url":"https://avatars.githubusercontent.com/u/46794825?v=4"},{"login":"ishaanparlikar","avatar_url":"https://avatars.githubusercontent.com/u/43013132?v=4"},{"login":"Zareix","avatar_url":"https://avatars.githubusercontent.com/u/29818713?v=4"},{"login":"tuggan","avatar_url":"https://avatars.githubusercontent.com/u/4325608?v=4"},{"login":"Spillebulle","avatar_url":"https://avatars.githubusercontent.com/u/46653946?v=4"},{"login":"spkesDE","avatar_url":"https://avatars.githubusercontent.com/u/1682314?v=4"},{"login":"j3lte","avatar_url":"https://avatars.githubusercontent.com/u/2557568?v=4"},{"login":"dslatt","avatar_url":"https://avatars.githubusercontent.com/u/5211001?v=4"},{"login":"Malong11-007","avatar_url":"https://avatars.githubusercontent.com/u/40298510?v=4"},{"login":"StefanB7","avatar_url":"https://avatars.githubusercontent.com/u/22056509?v=4"},{"login":"souravghosh01","avatar_url":"https://avatars.githubusercontent.com/u/37548139?v=4"},{"login":"SR3u","avatar_url":"https://avatars.githubusercontent.com/u/2380522?v=4"},{"login":"Rikpat","avatar_url":"https://avatars.githubusercontent.com/u/33869814?v=4"},{"login":"NormanJS","avatar_url":"https://avatars.githubusercontent.com/u/83409549?v=4"},{"login":"No-Maines-Land","avatar_url":"https://avatars.githubusercontent.com/u/20687725?v=4"},{"login":"stark1tty","avatar_url":"https://avatars.githubusercontent.com/u/69326376?v=4"},{"login":"Momcilo42","avatar_url":"https://avatars.githubusercontent.com/u/10118137?v=4"},{"login":"marius-arch","avatar_url":"https://avatars.githubusercontent.com/u/72494359?v=4"},{"login":"Lumilias","avatar_url":"https://avatars.githubusercontent.com/u/10852161?v=4"},{"login":"Havock94","avatar_url":"https://avatars.githubusercontent.com/u/7635248?v=4"},{"login":"Lollyde","avatar_url":"https://avatars.githubusercontent.com/u/11347524?v=4"},{"login":"krishnamuppaneni","avatar_url":"https://avatars.githubusercontent.com/u/4703366?v=4"},{"login":"devtobi","avatar_url":"https://avatars.githubusercontent.com/u/28538704?v=4"},{"login":"TyxTang","avatar_url":"https://avatars.githubusercontent.com/u/90897955?v=4"},{"login":"alotlikebeans","avatar_url":"https://avatars.githubusercontent.com/u/19630511?v=4"},{"login":"WillyJL","avatar_url":"https://avatars.githubusercontent.com/u/49810075?v=4"},{"login":"anonysoul","avatar_url":"https://avatars.githubusercontent.com/u/105715150?v=4"},{"login":"cospeedster","avatar_url":"https://avatars.githubusercontent.com/u/52749645?v=4"},{"login":"diederbert","avatar_url":"https://avatars.githubusercontent.com/u/162878798?v=4"},{"login":"digdilem","avatar_url":"https://avatars.githubusercontent.com/u/4052275?v=4"},{"login":"dinghino","avatar_url":"https://avatars.githubusercontent.com/u/14729459?v=4"},{"login":"gfomichev","avatar_url":"https://avatars.githubusercontent.com/u/1596146?v=4"},{"login":"gnattu","avatar_url":"https://avatars.githubusercontent.com/u/12995396?v=4"},{"login":"tuxpizza","avatar_url":"https://avatars.githubusercontent.com/u/84710786?v=4"},{"login":"xmarkurion","avatar_url":"https://avatars.githubusercontent.com/u/46654687?v=4"},{"login":"huanga","avatar_url":"https://avatars.githubusercontent.com/u/732970?v=4"},{"login":"taos15","avatar_url":"https://avatars.githubusercontent.com/u/122130728?v=4"},{"login":"arghyadipchak","avatar_url":"https://avatars.githubusercontent.com/u/32430374?v=4"},{"login":"AuthorShin","avatar_url":"https://avatars.githubusercontent.com/u/4959043?v=4"},{"login":"benniblot","avatar_url":"https://avatars.githubusercontent.com/u/47495914?v=4"},{"login":"bebsworthy","avatar_url":"https://avatars.githubusercontent.cLine truncated
-1
View File
@@ -37,7 +37,6 @@
"DB_DRIVER",
"DOCKER_HOSTNAMES",
"DOCKER_PORTS",
"DOCKER_SOCKET_PATHS",
"NODE_ENV",
"PORT",
"LOCAL_CERTIFICATE_PATH",