chore(release): automatic release v1.57.0

This commit is contained in:
homarr-releases[bot] authored and GitHub committed 2026-03-27 19:40:44 +00:00
commit 531d87a83b
69 files changed
+1819 -1346

No files matched your search

+1
View File
@@ -33,6 +33,7 @@ body:
options: options:
# The below comment is used to insert a new version with on-release.yml # The below comment is used to insert a new version with on-release.yml
#NEXT_VERSION# #NEXT_VERSION#
- 1.56.1
- 1.56.0 - 1.56.0
- 1.55.0 - 1.55.0
- 1.54.0 - 1.54.0
+14 -14
View File
@@ -48,21 +48,21 @@
"@homarr/ui": "workspace:^0.1.0", "@homarr/ui": "workspace:^0.1.0",
"@homarr/validation": "workspace:^0.1.0", "@homarr/validation": "workspace:^0.1.0",
"@homarr/widgets": "workspace:^0.1.0", "@homarr/widgets": "workspace:^0.1.0",
"@mantine/colors-generator": "^8.3.17", "@mantine/colors-generator": "^8.3.18",
"@mantine/core": "^8.3.17", "@mantine/core": "^8.3.18",
"@mantine/dropzone": "^8.3.17", "@mantine/dropzone": "^8.3.18",
"@mantine/hooks": "^8.3.17", "@mantine/hooks": "^8.3.18",
"@mantine/modals": "^8.3.17", "@mantine/modals": "^8.3.18",
"@mantine/tiptap": "^8.3.17", "@mantine/tiptap": "^8.3.18",
"@million/lint": "1.0.14", "@million/lint": "1.0.14",
"@tabler/icons-react": "^3.40.0", "@tabler/icons-react": "^3.40.0",
"@tanstack/react-query": "^5.90.21", "@tanstack/react-query": "^5.91.2",
"@tanstack/react-query-devtools": "^5.91.3", "@tanstack/react-query-devtools": "^5.91.3",
"@tanstack/react-query-next-experimental": "^5.91.0", "@tanstack/react-query-next-experimental": "^5.91.0",
"@trpc/client": "^11.13.4", "@trpc/client": "^11.14.1",
"@trpc/next": "^11.13.4", "@trpc/next": "^11.14.1",
"@trpc/react-query": "^11.13.4", "@trpc/react-query": "^11.14.1",
"@trpc/server": "^11.13.4", "@trpc/server": "^11.14.1",
"@xterm/addon-canvas": "^0.7.0", "@xterm/addon-canvas": "^0.7.0",
"@xterm/addon-fit": "0.11.0", "@xterm/addon-fit": "0.11.0",
"@xterm/xterm": "^6.0.0", "@xterm/xterm": "^6.0.0",
@@ -73,10 +73,10 @@
"dotenv": "^17.3.1", "dotenv": "^17.3.1",
"flag-icons": "^7.5.0", "flag-icons": "^7.5.0",
"glob": "^13.0.6", "glob": "^13.0.6",
"isomorphic-dompurify": "^3.3.0", "isomorphic-dompurify": "^3.6.0",
"jotai": "^2.18.1", "jotai": "^2.18.1",
"mantine-react-table": "2.0.0-beta.9", "mantine-react-table": "2.0.0-beta.9",
"next": "16.1.7", "next": "16.2.1",
"postcss-preset-mantine": "^1.18.0", "postcss-preset-mantine": "^1.18.0",
"prismjs": "^1.30.0", "prismjs": "^1.30.0",
"react": "19.2.4", "react": "19.2.4",
@@ -85,7 +85,7 @@
"react-simple-code-editor": "^0.14.1", "react-simple-code-editor": "^0.14.1",
"sass": "^1.98.0", "sass": "^1.98.0",
"superjson": "2.2.6", "superjson": "2.2.6",
"swagger-ui-react": "^5.32.0", "swagger-ui-react": "^5.32.1",
"use-deep-compare-effect": "^1.8.1", "use-deep-compare-effect": "^1.8.1",
"zod": "^4.2.1" "zod": "^4.2.1"
}, },
@@ -13,6 +13,7 @@ import type { useForm } from "@homarr/form";
import { useZodForm } from "@homarr/form"; import { useZodForm } from "@homarr/form";
import { showErrorNotification, showSuccessNotification } from "@homarr/notifications"; import { showErrorNotification, showSuccessNotification } from "@homarr/notifications";
import { useScopedI18n } from "@homarr/translation/client"; import { useScopedI18n } from "@homarr/translation/client";
import { sanitizeRedirectionUrl } from "@homarr/validation/redirection-url";
import { userSignInSchema } from "@homarr/validation/user"; import { userSignInSchema } from "@homarr/validation/user";
type Provider = "credentials" | "ldap" | "oidc"; type Provider = "credentials" | "ldap" | "oidc";
@@ -70,7 +71,7 @@ export const LoginForm = ({ providers, oidcClientName, isOidcAutoLoginEnabled, c
// Redirect to the callback URL if the response is defined and comes from a credentials provider (ldap or credentials). oidc is redirected automatically. // Redirect to the callback URL if the response is defined and comes from a credentials provider (ldap or credentials). oidc is redirected automatically.
await revalidatePathActionAsync("/"); await revalidatePathActionAsync("/");
router.push(callbackUrl); router.push(sanitizeRedirectionUrl(callbackUrl));
}, },
[t, router, callbackUrl], [t, router, callbackUrl],
); );
@@ -4,6 +4,7 @@ import { Card, Center, Stack, Text, Title } from "@mantine/core";
import { env } from "@homarr/auth/env"; import { env } from "@homarr/auth/env";
import { auth } from "@homarr/auth/next"; import { auth } from "@homarr/auth/next";
import { getScopedI18n } from "@homarr/translation/server"; import { getScopedI18n } from "@homarr/translation/server";
import { sanitizeRedirectionUrl } from "@homarr/validation/redirection-url";
import { HomarrLogoWithTitle } from "~/components/layout/logo/homarr-logo"; import { HomarrLogoWithTitle } from "~/components/layout/logo/homarr-logo";
import { LoginForm } from "./_login-form"; import { LoginForm } from "./_login-form";
@@ -19,7 +20,7 @@ export default async function Login(props: LoginProps) {
const session = await auth(); const session = await auth();
if (session) { if (session) {
redirect(searchParams.callbackUrl ?? "/"); redirect(sanitizeRedirectionUrl(searchParams.callbackUrl));
} }
const t = await getScopedI18n("user.page.login"); const t = await getScopedI18n("user.page.login");
@@ -264,6 +264,5 @@ const usePreventLeaveWithDirty = (isDirty: boolean) => {
window.removeEventListener("popstate", handlePopState); window.removeEventListener("popstate", handlePopState);
window.removeEventListener("beforeunload", handleBeforeUnload); window.removeEventListener("beforeunload", handleBeforeUnload);
}; };
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [isDirty]); }, [isDirty]);
}; };
@@ -27,7 +27,6 @@ export const BoardReadyProvider = ({ children }: PropsWithChildren) => {
useEffect(() => { useEffect(() => {
setReadySections((previous) => previous.filter((id) => board.sections.some((section) => section.id === id))); setReadySections((previous) => previous.filter((id) => board.sections.some((section) => section.id === id)));
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [board.sections.length, setReadySections]); }, [board.sections.length, setReadySections]);
const markAsReady = useCallback((id: string) => { const markAsReady = useCallback((id: string) => {
@@ -14,7 +14,7 @@ import { ApiKeysManagement } from "./components/api-keys";
export async function generateMetadata() { export async function generateMetadata() {
const session = await auth(); const session = await auth();
if (!session?.user || !session.user.permissions.includes("admin")) { if (!session?.user.permissions.includes("admin")) {
return {}; return {};
} }
@@ -27,7 +27,7 @@ export async function generateMetadata() {
export default async function ApiPage() { export default async function ApiPage() {
const session = await auth(); const session = await auth();
if (!session?.user || !session.user.permissions.includes("admin")) { if (!session?.user.permissions.includes("admin")) {
notFound(); notFound();
} }
const document = openApiDocument(extractBaseUrlFromHeaders(await headers())); const document = openApiDocument(extractBaseUrlFromHeaders(await headers()));
@@ -76,6 +76,7 @@ const createColumns = (
accessorKey: "ports", accessorKey: "ports",
header: t("docker.field.ports.label"), header: t("docker.field.ports.label"),
Cell({ cell }) { Cell({ cell }) {
if (!cell.row.original.ports) return null;
if (!cell.row.original.ports.length) return null; if (!cell.row.original.ports.length) return null;
return ( return (
<OverflowBadge overflowCount={1} data={cell.row.original.ports.map((port) => port.PrivatePort.toString())} /> <OverflowBadge overflowCount={1} data={cell.row.original.ports.map((port) => port.PrivatePort.toString())} />
@@ -18,7 +18,7 @@ import { LogContextProvider } from "./log-context";
export async function generateMetadata() { export async function generateMetadata() {
const session = await auth(); const session = await auth();
if (!session?.user || !session.user.permissions.includes("admin")) { if (!session?.user.permissions.includes("admin")) {
return {}; return {};
} }
const t = await getScopedI18n("management"); const t = await getScopedI18n("management");
@@ -30,7 +30,7 @@ export async function generateMetadata() {
export default async function LogsManagementPage() { export default async function LogsManagementPage() {
const session = await auth(); const session = await auth();
if (!session?.user || !session.user.permissions.includes("other-view-logs")) { if (!session?.user.permissions.includes("other-view-logs")) {
notFound(); notFound();
} }
@@ -75,7 +75,6 @@ const executeHealthCheckSafelyAsync = async (
}, },
}; };
} catch (error) { } catch (error) {
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions
logger.error(new ErrorWithMetadata("Healthcheck failed", { name }, { cause: error })); logger.error(new ErrorWithMetadata("Healthcheck failed", { name }, { cause: error }));
return { return {
status: "unhealthy", status: "unhealthy",
@@ -117,7 +117,6 @@ const InnerContent = ({ item, ...dimensions }: InnerContentProps) => {
when={ when={
widgetSupportsIntegrations && widgetSupportsIntegrations &&
item.integrationIds.length === 0 && item.integrationIds.length === 0 &&
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
(!("integrationsRequired" in definition) || definition.integrationsRequired !== false) (!("integrationsRequired" in definition) || definition.integrationsRequired !== false)
} }
/> />
@@ -206,7 +206,6 @@ export const useGridstack = (section: Omit<Section, "items">, itemIds: string[])
} }
// Only run this effect when the section items change // Only run this effect when the section items change
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [itemIds.length, columnCount]); }, [itemIds.length, columnCount]);
/** /**
+1 -1
View File
@@ -41,7 +41,7 @@
"dotenv": "^17.3.1", "dotenv": "^17.3.1",
"fastify": "^5.8.2", "fastify": "^5.8.2",
"superjson": "2.2.6", "superjson": "2.2.6",
"undici": "7.18.2" "undici": "7.24.5"
}, },
"devDependencies": { "devDependencies": {
"@homarr/eslint-config": "workspace:^0.2.0", "@homarr/eslint-config": "workspace:^0.2.0",
+1 -1
View File
@@ -27,7 +27,7 @@
"@homarr/validation": "workspace:^0.1.0", "@homarr/validation": "workspace:^0.1.0",
"dotenv": "^17.3.1", "dotenv": "^17.3.1",
"tsx": "4.20.4", "tsx": "4.20.4",
"ws": "^8.19.0" "ws": "^8.20.0"
}, },
"devDependencies": { "devDependencies": {
"@homarr/eslint-config": "workspace:^0.2.0", "@homarr/eslint-config": "workspace:^0.2.0",
+10 -10
View File
@@ -42,8 +42,8 @@
"@semantic-release/github": "^12.0.6", "@semantic-release/github": "^12.0.6",
"@semantic-release/npm": "^13.1.5", "@semantic-release/npm": "^13.1.5",
"@semantic-release/release-notes-generator": "^14.1.0", "@semantic-release/release-notes-generator": "^14.1.0",
"@testcontainers/redis": "^11.12.0", "@testcontainers/redis": "^11.13.0",
"@turbo/gen": "^2.8.17", "@turbo/gen": "^2.8.20",
"@vitejs/plugin-react": "^5.2.0", "@vitejs/plugin-react": "^5.2.0",
"@vitest/coverage-v8": "^4.1.0", "@vitest/coverage-v8": "^4.1.0",
"@vitest/ui": "^4.1.0", "@vitest/ui": "^4.1.0",
@@ -53,8 +53,8 @@
"json5": "^2.2.3", "json5": "^2.2.3",
"prettier": "^3.8.1", "prettier": "^3.8.1",
"semantic-release": "^25.0.3", "semantic-release": "^25.0.3",
"testcontainers": "^11.12.0", "testcontainers": "^11.13.0",
"turbo": "^2.8.17", "turbo": "^2.8.20",
"typescript": "^5.9.3", "typescript": "^5.9.3",
"vite-tsconfig-paths": "^6.1.1", "vite-tsconfig-paths": "^6.1.1",
"vitest": "^4.1.0" "vitest": "^4.1.0"
@@ -77,8 +77,8 @@
"tree-sitter-json" "tree-sitter-json"
], ],
"overrides": { "overrides": {
"@babel/helpers@<7.26.10": ">=7.28.6", "@babel/helpers@<7.26.10": ">=7.29.2",
"@babel/runtime@<7.26.10": ">=7.28.6", "@babel/runtime@<7.26.10": ">=7.29.2",
"axios@>=1.0.0 <1.8.2": ">=1.13.6", "axios@>=1.0.0 <1.8.2": ">=1.13.6",
"brace-expansion@>=2.0.0 <=2.0.1": ">=5.0.4", "brace-expansion@>=2.0.0 <=2.0.1": ">=5.0.4",
"brace-expansion@>=1.0.0 <=1.1.11": ">=5.0.4", "brace-expansion@>=1.0.0 <=1.1.11": ">=5.0.4",
@@ -86,16 +86,16 @@
"form-data@>=4.0.0 <4.0.4": ">=4.0.5", "form-data@>=4.0.0 <4.0.4": ">=4.0.5",
"hono@<4.6.5": ">=4.12.8", "hono@<4.6.5": ">=4.12.8",
"linkifyjs@<4.3.2": ">=4.3.2", "linkifyjs@<4.3.2": ">=4.3.2",
"nanoid@>=4.0.0 <5.0.9": ">=5.1.6", "nanoid@>=4.0.0 <5.0.9": ">=5.1.7",
"prismjs@<1.30.0": ">=1.30.0", "prismjs@<1.30.0": ">=1.30.0",
"proxmox-api>undici": "7.19.2", "proxmox-api>undici": "7.24.5",
"react-is": "^19.2.4", "react-is": "^19.2.4",
"rollup@>=4.0.0 <4.22.4": ">=4.59.0", "rollup@>=4.0.0 <4.22.4": ">=4.60.0",
"sha.js@<=2.4.11": ">=2.4.12", "sha.js@<=2.4.11": ">=2.4.12",
"tar-fs@>=3.0.0 <3.0.9": ">=3.1.2", "tar-fs@>=3.0.0 <3.0.9": ">=3.1.2",
"tar-fs@>=2.0.0 <2.1.3": ">=3.1.2", "tar-fs@>=2.0.0 <2.1.3": ">=3.1.2",
"tmp@<=0.2.3": ">=0.2.5", "tmp@<=0.2.3": ">=0.2.5",
"vite@>=5.0.0 <=5.4.18": ">=8.0.0" "vite@>=5.0.0 <=5.4.18": ">=8.0.1"
}, },
"patchedDependencies": { "patchedDependencies": {
"@types/node-unifi": "patches/@types__node-unifi.patch", "@types/node-unifi": "patches/@types__node-unifi.patch",
+7 -7
View File
@@ -41,17 +41,17 @@
"@homarr/translation": "workspace:^0.1.0", "@homarr/translation": "workspace:^0.1.0",
"@homarr/validation": "workspace:^0.1.0", "@homarr/validation": "workspace:^0.1.0",
"@kubernetes/client-node": "^1.4.0", "@kubernetes/client-node": "^1.4.0",
"@tanstack/react-query": "^5.90.21", "@tanstack/react-query": "^5.91.2",
"@trpc/client": "^11.13.4", "@trpc/client": "^11.14.1",
"@trpc/react-query": "^11.13.4", "@trpc/react-query": "^11.14.1",
"@trpc/server": "^11.13.4", "@trpc/server": "^11.14.1",
"@trpc/tanstack-react-query": "^11.13.4", "@trpc/tanstack-react-query": "^11.14.1",
"lodash.clonedeep": "^4.5.0", "lodash.clonedeep": "^4.5.0",
"next": "16.1.7", "next": "16.2.1",
"react": "19.2.4", "react": "19.2.4",
"react-dom": "19.2.4", "react-dom": "19.2.4",
"superjson": "2.2.6", "superjson": "2.2.6",
"trpc-to-openapi": "^3.1.0", "trpc-to-openapi": "^3.2.0",
"zod": "^4.2.1" "zod": "^4.2.1"
}, },
"devDependencies": { "devDependencies": {
@@ -140,7 +140,7 @@ interface DockerContainer {
id: string; id: string;
state: ContainerState; state: ContainerState;
image: string; image: string;
ports: Port[]; ports: Port[] | undefined;
iconUrl: string | null; iconUrl: string | null;
cpuUsage: number; cpuUsage: number;
memoryUsage: number; memoryUsage: number;
+51 -4
View File
@@ -1,11 +1,13 @@
import { TRPCError } from "@trpc/server"; import { TRPCError } from "@trpc/server";
import type { MySqlRawQueryResult } from "drizzle-orm/mysql2";
import type { QueryResult } from "pg";
import { z } from "zod/v4"; import { z } from "zod/v4";
import { createSaltAsync, hashPasswordAsync } from "@homarr/auth"; import { createSaltAsync, hashPasswordAsync } from "@homarr/auth";
import { createId } from "@homarr/common"; import { createId } from "@homarr/common";
import { createLogger } from "@homarr/core/infrastructure/logs"; import { createLogger } from "@homarr/core/infrastructure/logs";
import type { Database } from "@homarr/db"; import type { Database } from "@homarr/db";
import { and, eq, like } from "@homarr/db"; import { and, eq, handleTransactionsAsync, like } from "@homarr/db";
import { getMaxGroupPositionAsync } from "@homarr/db/queries"; import { getMaxGroupPositionAsync } from "@homarr/db/queries";
import { boards, groupMembers, groupPermissions, groups, invites, users } from "@homarr/db/schema"; import { boards, groupMembers, groupPermissions, groups, invites, users } from "@homarr/db/schema";
import { selectUserSchema } from "@homarr/db/validationSchemas"; import { selectUserSchema } from "@homarr/db/validationSchemas";
@@ -90,10 +92,55 @@ export const userRouter = createTRPCRouter({
await checkUsernameAlreadyTakenAndThrowAsync(ctx.db, "credentials", input.username); await checkUsernameAlreadyTakenAndThrowAsync(ctx.db, "credentials", input.username);
await createUserAsync(ctx.db, input); const salt = await createSaltAsync();
const hashedPassword = await hashPasswordAsync(input.password, salt);
// Delete invite as it's used const userId = createId();
await ctx.db.delete(invites).where(inviteWhere); const user = {
id: userId,
name: input.username,
password: hashedPassword,
salt,
};
await handleTransactionsAsync(ctx.db, {
async handleAsync(db, schema) {
await db.transaction(async (trx) => {
await trx.insert(schema.users).values(user);
// Delete invite as it's used
const queryResult = (await trx.delete(schema.invites).where(inviteWhere)) as
| QueryResult
| MySqlRawQueryResult;
let count = 0;
if (Array.isArray(queryResult)) {
count = queryResult[0].affectedRows;
} else {
count = queryResult.rowCount ?? 0;
}
if (count === 0) {
throw new TRPCError({
code: "FORBIDDEN",
message: "Invalid invite",
});
}
});
},
handleSync(db) {
db.transaction((trx) => {
trx.insert(users).values(user).run();
// Delete invite as it's used
const result = trx.delete(invites).where(inviteWhere).run();
if (result.changes === 0) {
throw new TRPCError({
code: "FORBIDDEN",
message: "Invalid invite",
});
}
});
},
});
}), }),
create: permissionRequiredProcedure create: permissionRequiredProcedure
.requiresPermission("admin") .requiresPermission("admin")
+1 -1
View File
@@ -34,7 +34,7 @@
"bcrypt": "^6.0.0", "bcrypt": "^6.0.0",
"cookies": "^0.9.1", "cookies": "^0.9.1",
"ldapts": "8.1.7", "ldapts": "8.1.7",
"next": "16.1.7", "next": "16.2.1",
"next-auth": "5.0.0-beta.30", "next-auth": "5.0.0-beta.30",
"react": "19.2.4", "react": "19.2.4",
"react-dom": "19.2.4", "react-dom": "19.2.4",
+2 -2
View File
@@ -30,11 +30,11 @@
"@paralleldrive/cuid2": "^3.3.0", "@paralleldrive/cuid2": "^3.3.0",
"cookie": "1.1.1", "cookie": "1.1.1",
"dayjs": "^1.11.20", "dayjs": "^1.11.20",
"next": "16.1.7", "next": "16.2.1",
"octokit": "^5.0.5", "octokit": "^5.0.5",
"react": "19.2.4", "react": "19.2.4",
"react-dom": "19.2.4", "react-dom": "19.2.4",
"undici": "7.18.2", "undici": "7.24.5",
"zod": "^4.2.1", "zod": "^4.2.1",
"zod-validation-error": "^5.0.0" "zod-validation-error": "^5.0.0"
}, },
+3 -3
View File
@@ -41,8 +41,8 @@
"better-sqlite3": "^12.6.2", "better-sqlite3": "^12.6.2",
"dns-caching": "^0.2.9", "dns-caching": "^0.2.9",
"drizzle-orm": "^0.45.1", "drizzle-orm": "^0.45.1",
"ioredis": "5.10.0", "ioredis": "5.10.1",
"mysql2": "3.19.1", "mysql2": "3.20.0",
"pg": "^8.20.0", "pg": "^8.20.0",
"superjson": "2.2.6", "superjson": "2.2.6",
"winston": "3.19.0", "winston": "3.19.0",
@@ -53,7 +53,7 @@
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"@types/better-sqlite3": "7.6.13", "@types/better-sqlite3": "7.6.13",
"@types/pg": "^8.18.0", "@types/pg": "^8.20.0",
"eslint": "^9.39.4", "eslint": "^9.39.4",
"typescript": "^5.9.3" "typescript": "^5.9.3"
} }
+4 -4
View File
@@ -28,10 +28,10 @@
"@homarr/common": "workspace:^0.1.0", "@homarr/common": "workspace:^0.1.0",
"@homarr/core": "workspace:^0.1.0", "@homarr/core": "workspace:^0.1.0",
"@homarr/cron-jobs": "workspace:^0.1.0", "@homarr/cron-jobs": "workspace:^0.1.0",
"@tanstack/react-query": "^5.90.21", "@tanstack/react-query": "^5.91.2",
"@trpc/client": "^11.13.4", "@trpc/client": "^11.14.1",
"@trpc/server": "^11.13.4", "@trpc/server": "^11.14.1",
"@trpc/tanstack-react-query": "^11.13.4", "@trpc/tanstack-react-query": "^11.14.1",
"node-cron": "^4.2.1", "node-cron": "^4.2.1",
"react": "19.2.4", "react": "19.2.4",
"zod": "^4.2.1" "zod": "^4.2.1"
+6 -6
View File
@@ -47,16 +47,16 @@
"@homarr/core": "workspace:^0.1.0", "@homarr/core": "workspace:^0.1.0",
"@homarr/definitions": "workspace:^0.1.0", "@homarr/definitions": "workspace:^0.1.0",
"@homarr/server-settings": "workspace:^0.1.0", "@homarr/server-settings": "workspace:^0.1.0",
"@mantine/core": "^8.3.17", "@mantine/core": "^8.3.18",
"@paralleldrive/cuid2": "^3.3.0", "@paralleldrive/cuid2": "^3.3.0",
"@testcontainers/mysql": "^11.12.0", "@testcontainers/mysql": "^11.13.0",
"@testcontainers/postgresql": "^11.12.0", "@testcontainers/postgresql": "^11.13.0",
"better-sqlite3": "^12.6.2", "better-sqlite3": "^12.6.2",
"dotenv": "^17.3.1", "dotenv": "^17.3.1",
"drizzle-kit": "^0.31.9", "drizzle-kit": "^0.31.10",
"drizzle-orm": "^0.45.1", "drizzle-orm": "^0.45.1",
"drizzle-zod": "^0.8.3", "drizzle-zod": "^0.8.3",
"mysql2": "3.19.1", "mysql2": "3.20.0",
"pg": "^8.20.0", "pg": "^8.20.0",
"superjson": "2.2.6" "superjson": "2.2.6"
}, },
@@ -65,7 +65,7 @@
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"@types/better-sqlite3": "7.6.13", "@types/better-sqlite3": "7.6.13",
"@types/pg": "^8.18.0", "@types/pg": "^8.20.0",
"dotenv-cli": "^11.0.0", "dotenv-cli": "^11.0.0",
"esbuild": "^0.27.4", "esbuild": "^0.27.4",
"eslint": "^9.39.4", "eslint": "^9.39.4",
+1 -1
View File
@@ -24,7 +24,7 @@
"prettier": "@homarr/prettier-config", "prettier": "@homarr/prettier-config",
"dependencies": { "dependencies": {
"@homarr/common": "workspace:^0.1.0", "@homarr/common": "workspace:^0.1.0",
"fast-xml-parser": "^5.5.5", "fast-xml-parser": "^5.5.7",
"zod": "^4.2.1" "zod": "^4.2.1"
}, },
"devDependencies": { "devDependencies": {
+1 -1
View File
@@ -217,7 +217,7 @@ export const integrationDefs = {
name: "Nextcloud", name: "Nextcloud",
secretKinds: [["username", "password"]], secretKinds: [["username", "password"]],
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/nextcloud.svg", iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/nextcloud.svg",
category: ["calendar"], category: ["calendar", "notifications"],
documentationUrl: createDocumentationLink("/docs/integrations/nextcloud"), documentationUrl: createDocumentationLink("/docs/integrations/nextcloud"),
}, },
unifiController: { unifiController: {
+1 -1
View File
@@ -26,7 +26,7 @@
"@homarr/common": "workspace:^0.1.0", "@homarr/common": "workspace:^0.1.0",
"@homarr/translation": "workspace:^0.1.0", "@homarr/translation": "workspace:^0.1.0",
"@homarr/validation": "workspace:^0.1.0", "@homarr/validation": "workspace:^0.1.0",
"@mantine/form": "^8.3.17", "@mantine/form": "^8.3.18",
"mantine-form-zod-resolver": "^1.3.0", "mantine-form-zod-resolver": "^1.3.0",
"zod": "^4.2.1" "zod": "^4.2.1"
}, },
+1 -1
View File
@@ -30,7 +30,7 @@
"@homarr/translation": "workspace:^0.1.0", "@homarr/translation": "workspace:^0.1.0",
"@homarr/ui": "workspace:^0.1.0", "@homarr/ui": "workspace:^0.1.0",
"@homarr/validation": "workspace:^0.1.0", "@homarr/validation": "workspace:^0.1.0",
"@mantine/core": "^8.3.17", "@mantine/core": "^8.3.18",
"react": "19.2.4", "react": "19.2.4",
"zod": "^4.2.1" "zod": "^4.2.1"
}, },
+2 -2
View File
@@ -38,7 +38,7 @@
"@homarr/redis": "workspace:^0.1.0", "@homarr/redis": "workspace:^0.1.0",
"@homarr/translation": "workspace:^0.1.0", "@homarr/translation": "workspace:^0.1.0",
"@homarr/validation": "workspace:^0.1.0", "@homarr/validation": "workspace:^0.1.0",
"@immich/sdk": "^2.5.6", "@immich/sdk": "^2.6.1",
"@jellyfin/sdk": "^0.13.0", "@jellyfin/sdk": "^0.13.0",
"@octokit/auth-app": "^8.2.0", "@octokit/auth-app": "^8.2.0",
"ical.js": "^2.2.1", "ical.js": "^2.2.1",
@@ -47,7 +47,7 @@
"octokit": "^5.0.5", "octokit": "^5.0.5",
"proxmox-api": "1.1.1", "proxmox-api": "1.1.1",
"tsdav": "^2.1.8", "tsdav": "^2.1.8",
"undici": "7.18.2", "undici": "7.24.5",
"xml2js": "^0.6.2", "xml2js": "^0.6.2",
"zod": "^4.2.1" "zod": "^4.2.1"
}, },
@@ -33,6 +33,7 @@ export class DashDotIntegration extends Integration implements ISystemHealthMoni
const memoryLoad = await this.getCurrentMemoryLoadAsync(); const memoryLoad = await this.getCurrentMemoryLoadAsync();
const storageLoad = await this.getCurrentStorageLoadAsync(); const storageLoad = await this.getCurrentStorageLoadAsync();
const networkLoad = await this.getCurrentNetworkLoadAsync(); const networkLoad = await this.getCurrentNetworkLoadAsync();
const gpuLoad = await this.getCurrentGpuLoadAsync();
const channel = this.getChannel(); const channel = this.getChannel();
const history = await channel.getSliceUntilTimeAsync(dayjs().subtract(15, "minutes").toDate()); const history = await channel.getSliceUntilTimeAsync(dayjs().subtract(15, "minutes").toDate());
@@ -56,6 +57,14 @@ export class DashDotIntegration extends Integration implements ISystemHealthMoni
availablePkgUpdates: 0, availablePkgUpdates: 0,
rebootRequired: false, rebootRequired: false,
smart: [], // API endpoint does not provide S.M.A.R.T data. smart: [], // API endpoint does not provide S.M.A.R.T data.
gpu: gpuLoad.map((gpu, index) => ({
gpuId: `gpu-${index}`,
name: info.gpuNames[index] ?? `GPU ${index}`,
memoryUtilization: gpu.memory ?? 0,
processorUtilization: gpu.load ?? 0,
temperature: null,
fanSpeed: null,
})),
uptime: info.uptime, uptime: info.uptime,
version: `${info.operatingSystemVersion}`, version: `${info.operatingSystemVersion}`,
loadAverage: { loadAverage: {
@@ -76,6 +85,7 @@ export class DashDotIntegration extends Integration implements ISystemHealthMoni
cpuModel: serverInfo.cpu.model, cpuModel: serverInfo.cpu.model,
operatingSystemVersion: `${serverInfo.os.distro} ${serverInfo.os.release} (${serverInfo.os.kernel})`, operatingSystemVersion: `${serverInfo.os.distro} ${serverInfo.os.release} (${serverInfo.os.kernel})`,
uptime: serverInfo.os.uptime, uptime: serverInfo.os.uptime,
gpuNames: serverInfo.gpu.map((gpu) => gpu.brand),
}; };
} }
@@ -150,6 +160,17 @@ export class DashDotIntegration extends Integration implements ISystemHealthMoni
return await networkLoadApi.parseAsync(JSON.parse(result)); return await networkLoadApi.parseAsync(JSON.parse(result));
} }
private async getCurrentGpuLoadAsync() {
const response = await fetchWithTrustedCertificatesAsync(this.url("/load/gpu"));
const result = await response.text();
// response is either valid json or empty if gpu widget is disabled.
if (result.length === 0) return [];
const data = await gpuLoadApi.parseAsync(JSON.parse(result));
return data.layout;
}
private getChannel() { private getChannel() {
return createChannelEventHistoryOld<z.infer<typeof cpuLoadPerCoreApiList>>( return createChannelEventHistoryOld<z.infer<typeof cpuLoadPerCoreApiList>>(
`integration:${this.integration.id}:history:cpu`, `integration:${this.integration.id}:history:cpu`,
@@ -198,6 +219,23 @@ const internalServerInfoApi = z.object({
), ),
}), }),
), ),
gpu: z
.array(
z.object({
brand: z.string(),
model: z.string().optional(),
}),
)
.default([]),
}); });
const cpuLoadPerCoreApiList = z.array(cpuLoadPerCoreApi); const cpuLoadPerCoreApiList = z.array(cpuLoadPerCoreApi);
const gpuLoadApi = z.object({
layout: z.array(
z.object({
load: z.number().min(0).optional(),
memory: z.number().min(0).optional(),
}),
),
});
@@ -59,6 +59,14 @@ export class GlancesIntegration extends Integration implements ISystemHealthMoni
loadAverage: null, loadAverage: null,
smart: [], smart: [],
cpuTemp: undefined, cpuTemp: undefined,
gpu: stats.gpu.map((gpu) => ({
gpuId: gpu.gpu_id,
name: gpu.name,
memoryUtilization: gpu.mem ?? 0,
processorUtilization: gpu.proc ?? 0,
temperature: gpu.temperature ?? null,
fanSpeed: gpu.fan_speed ?? null,
})),
}; };
} }
@@ -150,4 +158,16 @@ const allSchema = z.object({
quicklook: z.object({ quicklook: z.object({
cpu_name: z.string(), cpu_name: z.string(),
}), }),
gpu: z
.array(
z.object({
gpu_id: z.string(),
name: z.string(),
mem: z.number().nullable().optional(),
proc: z.number().nullable().optional(),
temperature: z.number().nullable().optional(),
fan_speed: z.number().nullable().optional(),
}),
)
.default([]),
}); });
@@ -31,6 +31,14 @@ export interface SystemHealthMonitoring {
overallStatus: string; overallStatus: string;
healthy: boolean; healthy: boolean;
}[]; }[];
gpu: {
gpuId: string;
name: string;
memoryUtilization: number;
processorUtilization: number;
temperature: number | null;
fanSpeed: number | null;
}[];
} }
// TODO: in the future decouple this from the Proxmox integration // TODO: in the future decouple this from the Proxmox integration
@@ -36,6 +36,16 @@ export class SystemHealthMonitoringMockService implements ISystemHealthMonitorin
healthy: true, healthy: true,
}, },
], ],
gpu: [
{
gpuId: "mock0",
name: "Mock GPU RTX 4090",
memoryUtilization: Math.floor(Math.random() * 100),
processorUtilization: Math.floor(Math.random() * 100),
temperature: Math.floor(Math.random() * 90),
fanSpeed: Math.floor(Math.random() * 2000),
},
],
}); });
} }
} }
@@ -5,8 +5,10 @@ import utc from "dayjs/plugin/utc";
import type { RequestInit as NodeFetchRequestInit } from "node-fetch"; import type { RequestInit as NodeFetchRequestInit } from "node-fetch";
import * as ical from "node-ical"; import * as ical from "node-ical";
import { DAVClient } from "tsdav"; import { DAVClient } from "tsdav";
import { z } from "zod";
import { createHttpsAgentAsync } from "@homarr/core/infrastructure/http"; import { ResponseError } from "@homarr/common/server";
import { createHttpsAgentAsync, fetchWithTrustedCertificatesAsync } from "@homarr/core/infrastructure/http";
import { createLogger } from "@homarr/core/infrastructure/logs"; import { createLogger } from "@homarr/core/infrastructure/logs";
import { HandleIntegrationErrors } from "../base/errors/decorator"; import { HandleIntegrationErrors } from "../base/errors/decorator";
@@ -16,6 +18,21 @@ import { Integration } from "../base/integration";
import type { TestingResult } from "../base/test-connection/test-connection-service"; import type { TestingResult } from "../base/test-connection/test-connection-service";
import type { ICalendarIntegration } from "../interfaces/calendar/calendar-integration"; import type { ICalendarIntegration } from "../interfaces/calendar/calendar-integration";
import type { CalendarEvent } from "../interfaces/calendar/calendar-types"; import type { CalendarEvent } from "../interfaces/calendar/calendar-types";
import type { Notification } from "../interfaces/notifications/notification-types";
import type { INotificationsIntegration } from "../interfaces/notifications/notifications-integration";
const notificationSchema = z.object({
ocs: z.object({
data: z.array(
z.object({
notification_id: z.number(),
datetime: z.string(),
subject: z.string(),
message: z.string(),
}),
),
}),
});
const logger = createLogger({ module: "nextcloudIntegration" }); const logger = createLogger({ module: "nextcloudIntegration" });
@@ -23,7 +40,7 @@ dayjs.extend(utc);
dayjs.extend(timezone); dayjs.extend(timezone);
@HandleIntegrationErrors([integrationTsdavHttpErrorHandler]) @HandleIntegrationErrors([integrationTsdavHttpErrorHandler])
export class NextcloudIntegration extends Integration implements ICalendarIntegration { export class NextcloudIntegration extends Integration implements ICalendarIntegration, INotificationsIntegration {
protected async testingAsync(input: IntegrationTestingInput): Promise<TestingResult> { protected async testingAsync(input: IntegrationTestingInput): Promise<TestingResult> {
const client = await this.createCalendarClientAsync(await createHttpsAgentAsync(input.options)); const client = await this.createCalendarClientAsync(await createHttpsAgentAsync(input.options));
await client.login(); await client.login();
@@ -104,6 +121,29 @@ export class NextcloudIntegration extends Integration implements ICalendarIntegr
.flat(); .flat();
} }
public async getNotificationsAsync(): Promise<Notification[]> {
const url = this.url("/ocs/v2.php/apps/notifications/api/v2/notifications", { format: "json" });
const response = await fetchWithTrustedCertificatesAsync(url, {
headers: {
Authorization: `Basic ${Buffer.from(
`${this.getSecretValue("username")}:${this.getSecretValue("password")}`,
).toString("base64")}`,
"OCS-APIRequest": "true",
},
});
if (!response.ok) throw new ResponseError(response);
const json = notificationSchema.parse(await response.json());
return json.ocs.data.map((notification) => ({
id: String(notification.notification_id),
time: new Date(notification.datetime),
title: notification.subject,
body: notification.message,
}));
}
private async createCalendarClientAsync(agent?: Agent) { private async createCalendarClientAsync(agent?: Agent) {
return new DAVClient({ return new DAVClient({
serverUrl: this.integration.url, serverUrl: this.integration.url,
@@ -86,6 +86,7 @@ export class OpenMediaVaultIntegration extends Integration implements ISystemHea
cpuTemp: cpuTempResult.success ? cpuTempResult.data.response.cputemp : undefined, cpuTemp: cpuTempResult.success ? cpuTempResult.data.response.cputemp : undefined,
fileSystem, fileSystem,
smart, smart,
gpu: [], // OpenMediaVault does not expose GPU monitoring via its RPC API.
}; };
} }
@@ -297,6 +297,7 @@ export class TrueNasIntegration extends Integration implements ISystemHealthMoni
version: systemInformation.version, version: systemInformation.version,
cpuModelName: systemInformation.model, cpuModelName: systemInformation.model,
rebootRequired: false, rebootRequired: false,
gpu: [],
}; };
} }
@@ -70,6 +70,7 @@ export class UnraidIntegration extends Integration implements ISystemHealthMonit
// See ArrayDiskStatus from https://studio.apollographql.com/public/Unraid-API/variant/current/explorer // See ArrayDiskStatus from https://studio.apollographql.com/public/Unraid-API/variant/current/explorer
healthy: disk.status === "DISK_OK", healthy: disk.status === "DISK_OK",
})), })),
gpu: [],
}; };
} }
+2 -2
View File
@@ -33,10 +33,10 @@
"@homarr/translation": "workspace:^0.1.0", "@homarr/translation": "workspace:^0.1.0",
"@homarr/ui": "workspace:^0.1.0", "@homarr/ui": "workspace:^0.1.0",
"@homarr/validation": "workspace:^0.1.0", "@homarr/validation": "workspace:^0.1.0",
"@mantine/core": "^8.3.17", "@mantine/core": "^8.3.18",
"@tabler/icons-react": "^3.40.0", "@tabler/icons-react": "^3.40.0",
"dayjs": "^1.11.20", "dayjs": "^1.11.20",
"next": "16.1.7", "next": "16.2.1",
"react": "19.2.4", "react": "19.2.4",
"react-dom": "19.2.4", "react-dom": "19.2.4",
"zod": "^4.2.1" "zod": "^4.2.1"
@@ -57,10 +57,12 @@ export const AddBoardModal = createModal(({ actions }) => {
{...form.getInputProps("name")} {...form.getInputProps("name")}
description={ description={
boardNameStatus.description ? ( boardNameStatus.description ? (
<Group c={boardNameStatus.description.color} gap="xs" align="center"> <span>
{boardNameStatus.description.icon ? <boardNameStatus.description.icon size={16} /> : null} <Group c={boardNameStatus.description.color} gap="xs" align="center">
<span>{boardNameStatus.description.label}</span> {boardNameStatus.description.icon ? <boardNameStatus.description.icon size={16} /> : null}
</Group> <span>{boardNameStatus.description.label}</span>
</Group>
</span>
) : null ) : null
} }
/> />
@@ -21,7 +21,7 @@ export const AddDockerAppToHomarrModal = createModal<AddDockerAppToHomarrProps>(
{ {
initialValues: { initialValues: {
containerUrls: innerProps.selectedContainers.map((container) => { containerUrls: innerProps.selectedContainers.map((container) => {
if (container.ports[0]) { if (Array.isArray(container.ports) && container.ports[0]) {
return `http://${container.ports[0].IP}:${container.ports[0].PublicPort}`; return `http://${container.ports[0].IP}:${container.ports[0].PublicPort}`;
} }
+2 -2
View File
@@ -24,8 +24,8 @@
"dependencies": { "dependencies": {
"@homarr/translation": "workspace:^0.1.0", "@homarr/translation": "workspace:^0.1.0",
"@homarr/ui": "workspace:^0.1.0", "@homarr/ui": "workspace:^0.1.0",
"@mantine/core": "^8.3.17", "@mantine/core": "^8.3.18",
"@mantine/hooks": "^8.3.17", "@mantine/hooks": "^8.3.18",
"react": "19.2.4" "react": "19.2.4"
}, },
"devDependencies": { "devDependencies": {
+1 -1
View File
@@ -24,7 +24,7 @@
"prettier": "@homarr/prettier-config", "prettier": "@homarr/prettier-config",
"dependencies": { "dependencies": {
"@homarr/ui": "workspace:^0.1.0", "@homarr/ui": "workspace:^0.1.0",
"@mantine/notifications": "^8.3.17", "@mantine/notifications": "^8.3.18",
"@tabler/icons-react": "^3.40.0" "@tabler/icons-react": "^3.40.0"
}, },
"devDependencies": { "devDependencies": {
+4 -4
View File
@@ -37,10 +37,10 @@
"@homarr/translation": "workspace:^0.1.0", "@homarr/translation": "workspace:^0.1.0",
"@homarr/ui": "workspace:^0.1.0", "@homarr/ui": "workspace:^0.1.0",
"@homarr/validation": "workspace:^0.1.0", "@homarr/validation": "workspace:^0.1.0",
"@mantine/core": "^8.3.17", "@mantine/core": "^8.3.18",
"@mantine/hooks": "^8.3.17", "@mantine/hooks": "^8.3.18",
"adm-zip": "0.5.16", "adm-zip": "0.5.16",
"next": "16.1.7", "next": "16.2.1",
"react": "19.2.4", "react": "19.2.4",
"react-dom": "19.2.4", "react-dom": "19.2.4",
"superjson": "2.2.6", "superjson": "2.2.6",
@@ -51,7 +51,7 @@
"@homarr/eslint-config": "workspace:^0.2.0", "@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"@types/adm-zip": "0.5.7", "@types/adm-zip": "0.5.8",
"eslint": "^9.39.4", "eslint": "^9.39.4",
"typescript": "^5.9.3" "typescript": "^5.9.3"
} }
@@ -101,6 +101,7 @@ const optionMapping: OptionMapping = {
allowMicrophone: (oldOptions) => oldOptions.allowMicrophone, allowMicrophone: (oldOptions) => oldOptions.allowMicrophone,
allowGeolocation: (oldOptions) => oldOptions.allowGeolocation, allowGeolocation: (oldOptions) => oldOptions.allowGeolocation,
allowScrolling: (oldOptions) => oldOptions.allowScrolling, allowScrolling: (oldOptions) => oldOptions.allowScrolling,
allowModals: () => undefined,
}, },
video: { video: {
feedUrl: (oldOptions) => oldOptions.FeedUrl, feedUrl: (oldOptions) => oldOptions.FeedUrl,
@@ -161,6 +162,7 @@ const optionMapping: OptionMapping = {
sectionIndicatorRequirement: (oldOptions) => sectionIndicatorRequirement: (oldOptions) =>
"sectionIndicatorColor" in oldOptions ? oldOptions.sectionIndicatorColor : undefined, "sectionIndicatorColor" in oldOptions ? oldOptions.sectionIndicatorColor : undefined,
showUptime: () => undefined, showUptime: () => undefined,
gpu: () => undefined,
visibleClusterSections: (oldOptions) => { visibleClusterSections: (oldOptions) => {
if (!("showNode" in oldOptions)) return undefined; if (!("showNode" in oldOptions)) return undefined;
+1 -1
View File
@@ -26,7 +26,7 @@
"@homarr/core": "workspace:^", "@homarr/core": "workspace:^",
"@homarr/db": "workspace:^", "@homarr/db": "workspace:^",
"@homarr/definitions": "workspace:^", "@homarr/definitions": "workspace:^",
"ioredis": "5.10.0", "ioredis": "5.10.1",
"superjson": "2.2.6" "superjson": "2.2.6"
}, },
"devDependencies": { "devDependencies": {
+1 -1
View File
@@ -33,7 +33,7 @@
"dayjs": "^1.11.20", "dayjs": "^1.11.20",
"octokit": "^5.0.5", "octokit": "^5.0.5",
"superjson": "2.2.6", "superjson": "2.2.6",
"undici": "7.18.2", "undici": "7.24.5",
"zod": "^4.2.1" "zod": "^4.2.1"
}, },
"devDependencies": { "devDependencies": {
+2 -1
View File
@@ -1,5 +1,6 @@
import dayjs from "dayjs"; import dayjs from "dayjs";
import type { ContainerInfo, ContainerStats } from "dockerode"; import type { ContainerInfo, ContainerStats } from "dockerode";
import type Dockerode from "dockerode";
import { db, like, or } from "@homarr/db"; import { db, like, or } from "@homarr/db";
import { icons } from "@homarr/db/schema"; import { icons } from "@homarr/db/schema";
@@ -72,7 +73,7 @@ async function getContainersWithStatsAsync() {
cpuUsage, cpuUsage,
memoryUsage, memoryUsage,
image: container.Image, image: container.Image,
ports: container.Ports, ports: container.Ports as Dockerode.Port[] | undefined,
}; };
}); });
+2 -2
View File
@@ -25,8 +25,8 @@
"dependencies": { "dependencies": {
"@homarr/db": "workspace:^0.1.0", "@homarr/db": "workspace:^0.1.0",
"@homarr/server-settings": "workspace:^0.1.0", "@homarr/server-settings": "workspace:^0.1.0",
"@mantine/dates": "^8.3.17", "@mantine/dates": "^8.3.18",
"next": "16.1.7", "next": "16.2.1",
"react": "19.2.4", "react": "19.2.4",
"react-dom": "19.2.4" "react-dom": "19.2.4"
}, },
+4 -4
View File
@@ -33,12 +33,12 @@
"@homarr/settings": "workspace:^0.1.0", "@homarr/settings": "workspace:^0.1.0",
"@homarr/translation": "workspace:^0.1.0", "@homarr/translation": "workspace:^0.1.0",
"@homarr/ui": "workspace:^0.1.0", "@homarr/ui": "workspace:^0.1.0",
"@mantine/core": "^8.3.17", "@mantine/core": "^8.3.18",
"@mantine/hooks": "^8.3.17", "@mantine/hooks": "^8.3.18",
"@mantine/spotlight": "^8.3.17", "@mantine/spotlight": "^8.3.18",
"@tabler/icons-react": "^3.40.0", "@tabler/icons-react": "^3.40.0",
"jotai": "^2.18.1", "jotai": "^2.18.1",
"next": "16.1.7", "next": "16.2.1",
"react": "19.2.4", "react": "19.2.4",
"react-dom": "19.2.4", "react-dom": "19.2.4",
"use-deep-compare-effect": "^1.8.1" "use-deep-compare-effect": "^1.8.1"
@@ -94,7 +94,6 @@ const createSpotlightContext = (displayName: string) => {
context.unregisterItems(key); context.unregisterItems(key);
}; };
// We ignore the results // We ignore the results
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [...dependencyArray, key]); }, [...dependencyArray, key]);
}; };
+1 -1
View File
@@ -32,7 +32,7 @@
"dayjs": "^1.11.20", "dayjs": "^1.11.20",
"deepmerge": "4.3.1", "deepmerge": "4.3.1",
"mantine-react-table": "2.0.0-beta.9", "mantine-react-table": "2.0.0-beta.9",
"next": "16.1.7", "next": "16.2.1",
"next-intl": "4.8.3", "next-intl": "4.8.3",
"react": "19.2.4", "react": "19.2.4",
"react-dom": "19.2.4" "react-dom": "19.2.4"
+50 -50
View File
@@ -1746,114 +1746,114 @@
"name": "Calendar", "name": "Calendar",
"description": "Display events from your integrations in a calendar view within a certain relative time period", "description": "Display events from your integrations in a calendar view within a certain relative time period",
"duration": { "duration": {
"allDay": "" "allDay": "All day"
}, },
"option": { "option": {
"releaseType": { "releaseType": {
"label": "", "label": "Radarr release type",
"options": { "options": {
"inCinemas": "", "inCinemas": "In cinemas",
"digitalRelease": "", "digitalRelease": "Digital release",
"physicalRelease": "" "physicalRelease": "Physical release"
} }
}, },
"filterPastMonths": { "filterPastMonths": {
"label": "" "label": "Start from"
}, },
"filterFutureMonths": { "filterFutureMonths": {
"label": "" "label": "End at"
}, },
"showUnmonitored": { "showUnmonitored": {
"label": "" "label": "Show unmonitored"
} }
} }
}, },
"weather": { "weather": {
"name": "", "name": "Weather",
"description": "", "description": "Displays the current weather information of a set location.",
"option": { "option": {
"isFormatFahrenheit": { "isFormatFahrenheit": {
"label": "" "label": "Temperature in Fahrenheit"
}, },
"disableTemperatureDecimals": { "disableTemperatureDecimals": {
"label": "" "label": "Disable temperature decimals"
}, },
"showCurrentWindSpeed": { "showCurrentWindSpeed": {
"label": "", "label": "Show current wind speed",
"description": "" "description": "Only on current weather"
}, },
"useImperialSpeed": { "useImperialSpeed": {
"label": "" "label": "Use mph for windspeed"
}, },
"location": { "location": {
"label": "" "label": "Weather location"
}, },
"showCity": { "showCity": {
"label": "" "label": "Show city"
}, },
"hasForecast": { "hasForecast": {
"label": "" "label": "Show forecast"
}, },
"forecastDayCount": { "forecastDayCount": {
"label": "", "label": "Amount of forecast days",
"description": "" "description": "When the widget is not wide enough, less days are shown"
}, },
"dateFormat": { "dateFormat": {
"label": "", "label": "Date Format",
"description": "" "description": "How the date should look like"
} }
}, },
"currentWindSpeed": "", "currentWindSpeed": "{currentWindSpeed} {unit}",
"dailyForecast": { "dailyForecast": {
"sunrise": "", "sunrise": "Sunrise",
"sunset": "", "sunset": "Sunset",
"maxWindSpeed": "", "maxWindSpeed": "Max wind speed: {maxWindSpeed} {unit}",
"maxWindGusts": "" "maxWindGusts": "Max wind gusts: {maxWindGusts} {unit}"
}, },
"kind": { "kind": {
"clear": "", "clear": "Clear",
"mainlyClear": "", "mainlyClear": "Mainly clear",
"fog": "", "fog": "Fog",
"drizzle": "", "drizzle": "Drizzle",
"freezingDrizzle": "", "freezingDrizzle": "Freezing drizzle",
"rain": "Rain", "rain": "Rain",
"freezingRain": "Freezing rain", "freezingRain": "Freezing rain",
"snowFall": "Snow fall", "snowFall": "Snow fall",
"snowGrains": "", "snowGrains": "Snow grains",
"rainShowers": "", "rainShowers": "Rain showers",
"snowShowers": "", "snowShowers": "Snow showers",
"thunderstorm": "", "thunderstorm": "Thunderstorm",
"thunderstormWithHail": "", "thunderstormWithHail": "Thunderstorm with hail",
"unknown": "" "unknown": "Unknown"
} }
}, },
"indexerManager": { "indexerManager": {
"name": "", "name": "Indexer manager status",
"description": "", "description": "Status of your indexers",
"option": { "option": {
"openIndexerSiteInNewTab": { "openIndexerSiteInNewTab": {
"label": "" "label": "Open indexer site in new tab"
} }
}, },
"title": "", "title": "Indexer manager",
"testAll": "", "testAll": "Test all",
"error": { "error": {
"internalServerError": "" "internalServerError": "Failed to fetch indexers status"
} }
}, },
"healthMonitoring": { "healthMonitoring": {
"name": "", "name": "System Health Monitoring",
"description": "", "description": "Displays information showing the health and status of your system(s).",
"tab": { "tab": {
"system": "", "system": "System",
"cluster": "" "cluster": "Cluster"
}, },
"option": { "option": {
"fahrenheit": { "fahrenheit": {
"label": "" "label": "CPU Temp in Fahrenheit"
}, },
"cpu": { "cpu": {
"label": "" "label": "Show CPU Info"
}, },
"memory": { "memory": {
"label": "" "label": ""
+8 -1
View File
@@ -1625,6 +1625,9 @@
}, },
"allowGeolocation": { "allowGeolocation": {
"label": "Allow geolocation" "label": "Allow geolocation"
},
"allowModals": {
"label": "Allow modals"
} }
}, },
"error": { "error": {
@@ -1858,6 +1861,9 @@
"memory": { "memory": {
"label": "Show Memory Info" "label": "Show Memory Info"
}, },
"gpu": {
"label": "Show GPU Info"
},
"showUptime": { "showUptime": {
"label": "Show Uptime" "label": "Show Uptime"
}, },
@@ -2033,7 +2039,6 @@
"directStream": "Direct Stream" "directStream": "Direct Stream"
} }
}, },
"recentActivity": { "recentActivity": {
"title": "Recent Activity", "title": "Recent Activity",
"empty": "No recent activity", "empty": "No recent activity",
@@ -2726,6 +2731,7 @@
"option": { "option": {
"cpu": "CPU", "cpu": "CPU",
"memory": "Memory", "memory": "Memory",
"gpu": "GPU",
"network": "Network" "network": "Network"
} }
}, },
@@ -2742,6 +2748,7 @@
"card": { "card": {
"cpu": "CPU", "cpu": "CPU",
"memory": "MEM", "memory": "MEM",
"gpu": "GPU",
"network": "NET", "network": "NET",
"up": "UP", "up": "UP",
"down": "DOWN" "down": "DOWN"
+46 -46
View File
@@ -27,7 +27,7 @@
"description": "Configurer le comportement d'importation" "description": "Configurer le comportement d'importation"
}, },
"boardSelection": { "boardSelection": {
"title": "Tableaux {count} trouvés", "title": "{count} tableaux trouvés",
"description": "Choisissez tous les tableaux avec la taille que vous souhaitez importer", "description": "Choisissez tous les tableaux avec la taille que vous souhaitez importer",
"action": { "action": {
"selectAll": "Tout sélectionner", "selectAll": "Tout sélectionner",
@@ -1997,36 +1997,36 @@
} }
}, },
"tracearr": { "tracearr": {
"name": "", "name": "Tracearr",
"description": "", "description": "Surveillance avancée du serveur multimédia avec des données détaillées de flux et de transcodage",
"option": { "option": {
"showStreams": { "showStreams": {
"label": "" "label": ""
}, },
"showStats": { "showStats": {
"label": "" "label": "Afficher le résumé des statistiques"
}, },
"showRecentActivity": { "showRecentActivity": {
"label": "" "label": "Afficher l'activité récente"
}, },
"showViolations": { "showViolations": {
"label": "" "label": "Afficher les violations"
} }
}, },
"stats": { "stats": {
"activeStreams": "", "activeStreams": "",
"totalUsers": "", "totalUsers": "Utilisateurs totaux",
"transcodes": "", "transcodes": "",
"bandwidth": "" "bandwidth": "Bande passante"
}, },
"streams": { "streams": {
"empty": "", "empty": "",
"user": "", "user": "Utilisateur",
"media": "", "media": "Média",
"state": "", "state": "",
"quality": "", "quality": "Qualité",
"device": "", "device": "Appareil",
"progress": "", "progress": "Progression",
"videoDecision": { "videoDecision": {
"directPlay": "", "directPlay": "",
"transcode": "", "transcode": "",
@@ -2034,21 +2034,21 @@
} }
}, },
"recentActivity": { "recentActivity": {
"title": "", "title": "Activité récente",
"empty": "", "empty": "Aucune activité récente",
"watched": "", "watched": "",
"partial": "" "partial": ""
}, },
"violations": { "violations": {
"title": "", "title": "Violations",
"empty": "", "empty": "Aucune violation récente",
"rule": "", "rule": "Règle",
"user": "" "user": "Utilisateur"
}, },
"noSectionsEnabled": "", "noSectionsEnabled": "",
"error": { "error": {
"noIntegration": "", "noIntegration": "Aucune intégration Tracearr configurée",
"internalServerError": "" "internalServerError": "Impossible de récupérer les données de Tracearr"
} }
}, },
"common": { "common": {
@@ -2147,50 +2147,50 @@
} }
}, },
"immich-serverStats": { "immich-serverStats": {
"name": "", "name": "Statistiques du serveur Immich",
"description": "", "description": "Informations sur votre instance Immich",
"option": { "option": {
"showUsers": { "showUsers": {
"label": "", "label": "Afficher les utilisateurs",
"description": "" "description": "Afficher le nombre d'utilisateurs de l'instance"
}, },
"showPhotos": { "showPhotos": {
"label": "", "label": "Afficher les photos",
"description": "" "description": "Afficher le nombre de photos de l'instance"
}, },
"showVideos": { "showVideos": {
"label": "", "label": "Afficher les vidéos",
"description": "" "description": "Afficher le nombre de vidéos de l'instance"
}, },
"showStorage": { "showStorage": {
"label": "", "label": "Affiche le stockage",
"description": "" "description": "Afficher le stockage total utilisé"
} }
}, },
"users": "", "users": "Utilisateurs",
"photos": "", "photos": "Photos",
"videos": "", "videos": "Vidéos",
"storage": "" "storage": "Stockage utilisé"
}, },
"immich-albumCarousel": { "immich-albumCarousel": {
"name": "", "name": "Album Immich",
"option": { "option": {
"albumId": { "albumId": {
"label": "", "label": "Identifiant de l'album",
"description": "" "description": "C'est l'identifiant unique qui correspond à l'album Immich. Vous pouvez le trouver en ouvrant un album et copiant l'identifiant unique depuis l'URL, par exemple 'a21aca09-9f05-47dc-b1a1-7b53c547226e'"
}, },
"rotationIntervalSeconds": { "rotationIntervalSeconds": {
"label": "", "label": "Intervalle en secondes",
"description": "" "description": "Rotation entre les images de l'album chaque X secondes. Doit être entre 1 et 3600."
}, },
"showPhotoInfo": { "showPhotoInfo": {
"label": "", "label": "Afficher les informations de la photo",
"description": "" "description": "Afficher la date et l'index de la photo en bas du diaporama"
} }
}, },
"description": "", "description": "Diaporama de photos dans votre album Immich",
"noAlbumSelected": "", "noAlbumSelected": "Aucun album sélectionné, modifier le widget et choisissez un album",
"noPhotos": "" "noPhotos": "Aucune photo dans cet album"
}, },
"downloads": { "downloads": {
"name": "Client de téléchargement", "name": "Client de téléchargement",
@@ -3575,7 +3575,7 @@
"label": "Météo" "label": "Météo"
}, },
"tracearr": { "tracearr": {
"label": "" "label": "Tracearr"
} }
}, },
"interval": { "interval": {
+4 -4
View File
@@ -30,13 +30,13 @@
"@homarr/settings": "workspace:^0.1.0", "@homarr/settings": "workspace:^0.1.0",
"@homarr/translation": "workspace:^0.1.0", "@homarr/translation": "workspace:^0.1.0",
"@homarr/validation": "workspace:^0.1.0", "@homarr/validation": "workspace:^0.1.0",
"@mantine/core": "^8.3.17", "@mantine/core": "^8.3.18",
"@mantine/dates": "^8.3.17", "@mantine/dates": "^8.3.18",
"@mantine/hooks": "^8.3.17", "@mantine/hooks": "^8.3.18",
"@tabler/icons-react": "^3.40.0", "@tabler/icons-react": "^3.40.0",
"crypto-js": "^4.2.0", "crypto-js": "^4.2.0",
"mantine-react-table": "2.0.0-beta.9", "mantine-react-table": "2.0.0-beta.9",
"next": "16.1.7", "next": "16.2.1",
"react": "19.2.4", "react": "19.2.4",
"react-dom": "19.2.4", "react-dom": "19.2.4",
"svgson": "^5.3.1" "svgson": "^5.3.1"
@@ -0,0 +1,14 @@
/**
* Sanitizes the URL from malicious payloads.
* Prevents open redirects such as //example.com/path
* and prevents XSS such as javascript:().
* Returns / as a default or when unsafe.
* @param url The URL to sanitize
*/
export const sanitizeRedirectionUrl = (url?: string) => {
if (url && url.startsWith("/") && !url.startsWith("//")) {
return url;
} else {
return "/"; // Safe default
}
};
+20 -20
View File
@@ -48,31 +48,31 @@
"@homarr/translation": "workspace:^0.1.0", "@homarr/translation": "workspace:^0.1.0",
"@homarr/ui": "workspace:^0.1.0", "@homarr/ui": "workspace:^0.1.0",
"@homarr/validation": "workspace:^0.1.0", "@homarr/validation": "workspace:^0.1.0",
"@mantine/charts": "^8.3.17", "@mantine/charts": "^8.3.18",
"@mantine/core": "^8.3.17", "@mantine/core": "^8.3.18",
"@mantine/hooks": "^8.3.17", "@mantine/hooks": "^8.3.18",
"@tabler/icons-react": "^3.40.0", "@tabler/icons-react": "^3.40.0",
"@tiptap/extension-color": "3.20.2", "@tiptap/extension-color": "3.20.4",
"@tiptap/extension-highlight": "3.20.2", "@tiptap/extension-highlight": "3.20.4",
"@tiptap/extension-image": "3.20.2", "@tiptap/extension-image": "3.20.4",
"@tiptap/extension-link": "^3.20.2", "@tiptap/extension-link": "^3.20.4",
"@tiptap/extension-placeholder": "^3.20.2", "@tiptap/extension-placeholder": "^3.20.4",
"@tiptap/extension-table": "3.20.2", "@tiptap/extension-table": "3.20.4",
"@tiptap/extension-table-cell": "3.20.2", "@tiptap/extension-table-cell": "3.20.4",
"@tiptap/extension-table-header": "3.20.2", "@tiptap/extension-table-header": "3.20.4",
"@tiptap/extension-table-row": "3.20.2", "@tiptap/extension-table-row": "3.20.4",
"@tiptap/extension-task-item": "3.20.2", "@tiptap/extension-task-item": "3.20.4",
"@tiptap/extension-task-list": "3.20.2", "@tiptap/extension-task-list": "3.20.4",
"@tiptap/extension-text-align": "3.20.2", "@tiptap/extension-text-align": "3.20.4",
"@tiptap/extension-text-style": "3.20.2", "@tiptap/extension-text-style": "3.20.4",
"@tiptap/extension-underline": "3.20.2", "@tiptap/extension-underline": "3.20.4",
"@tiptap/react": "^3.20.2", "@tiptap/react": "^3.20.4",
"@tiptap/starter-kit": "^3.20.2", "@tiptap/starter-kit": "^3.20.4",
"clsx": "^2.1.1", "clsx": "^2.1.1",
"dayjs": "^1.11.20", "dayjs": "^1.11.20",
"mantine-form-zod-resolver": "^1.3.0", "mantine-form-zod-resolver": "^1.3.0",
"mantine-react-table": "2.0.0-beta.9", "mantine-react-table": "2.0.0-beta.9",
"next": "16.1.7", "next": "16.2.1",
"react": "19.2.4", "react": "19.2.4",
"react-dom": "19.2.4", "react-dom": "19.2.4",
"react-markdown": "^10.1.0", "react-markdown": "^10.1.0",
@@ -19,6 +19,9 @@ export const { definition, componentLoader } = createWidgetDefinition("healthMon
memory: factory.switch({ memory: factory.switch({
defaultValue: true, defaultValue: true,
}), }),
gpu: factory.switch({
defaultValue: true,
}),
showUptime: factory.switch({ showUptime: factory.switch({
defaultValue: true, defaultValue: true,
}), }),
@@ -0,0 +1,64 @@
import { Center, RingProgress, Stack, Text, Tooltip } from "@mantine/core";
import { IconDeviceDesktop } from "@tabler/icons-react";
import { progressColor } from "../system-health";
interface GpuRingProps {
gpu: {
gpuId: string;
name: string;
memoryUtilization: number;
processorUtilization: number;
temperature: number | null;
fanSpeed: number | null;
};
isTiny: boolean;
fahrenheit: boolean;
}
export const GpuRing = ({ gpu, isTiny, fahrenheit }: GpuRingProps) => {
const tempDisplay =
gpu.temperature != null
? fahrenheit
? `${(gpu.temperature * 1.8 + 32).toFixed(0)}°F`
: `${gpu.temperature}°C`
: null;
return (
<Tooltip
label={
<Stack gap={2}>
<Text size="xs" fw={600}>
{gpu.name}
</Text>
<Text size="xs">VRAM: {gpu.memoryUtilization.toFixed(1)}%</Text>
{tempDisplay && <Text size="xs">Temp: {tempDisplay}</Text>}
{gpu.fanSpeed != null && <Text size="xs">Fan: {gpu.fanSpeed} RPM</Text>}
</Stack>
}
multiline
>
<RingProgress
className={`health-monitoring-gpu health-monitoring-gpu-${gpu.gpuId}`}
roundCaps
size={isTiny ? 50 : 100}
thickness={isTiny ? 4 : 8}
label={
<Center style={{ flexDirection: "column" }}>
<Text
className="health-monitoring-gpu-utilization-value"
size={isTiny ? "8px" : "xs"}
>{`${gpu.processorUtilization.toFixed(0)}%`}</Text>
<IconDeviceDesktop className="health-monitoring-gpu-utilization-icon" size={isTiny ? 8 : 16} />
</Center>
}
sections={[
{
value: Number(gpu.processorUtilization.toFixed(2)),
color: progressColor(Number(gpu.processorUtilization.toFixed(2))),
},
]}
/>
</Tooltip>
);
};
@@ -39,6 +39,7 @@ import { useI18n } from "@homarr/translation/client";
import type { WidgetComponentProps } from "../definition"; import type { WidgetComponentProps } from "../definition";
import { CpuRing } from "./rings/cpu-ring"; import { CpuRing } from "./rings/cpu-ring";
import { CpuTempRing } from "./rings/cpu-temp-ring"; import { CpuTempRing } from "./rings/cpu-temp-ring";
import { GpuRing } from "./rings/gpu-ring";
import { formatMemoryUsage, MemoryRing } from "./rings/memory-ring"; import { formatMemoryUsage, MemoryRing } from "./rings/memory-ring";
import classes from "./system-health.module.css"; import classes from "./system-health.module.css";
@@ -187,6 +188,10 @@ export const SystemHealthMonitoring = ({
isTiny={isTiny} isTiny={isTiny}
/> />
)} )}
{options.gpu &&
healthInfo.gpu.map((gpu) => (
<GpuRing key={gpu.gpuId} gpu={gpu} isTiny={isTiny} fahrenheit={options.fahrenheit} />
))}
</Flex> </Flex>
{ {
<Text className="health-monitoring-status-update-time" c="dimmed" size="xs" ta="center"> <Text className="health-monitoring-status-update-time" c="dimmed" size="xs" ta="center">
@@ -105,6 +105,10 @@ const getSandboxFlags = (
baseSandbox.push("allow-popups-to-escape-sandbox"); baseSandbox.push("allow-popups-to-escape-sandbox");
} }
if (permissions.allowModals) {
baseSandbox.push("allow-modals");
}
return baseSandbox; return baseSandbox;
}; };
@@ -115,4 +119,5 @@ const permissionMapping = {
allowGeolocation: "geolocation", allowGeolocation: "geolocation",
allowMicrophone: "microphone", allowMicrophone: "microphone",
allowPayment: "payment", allowPayment: "payment",
allowModals: "allow-modals",
} satisfies Record<keyof Omit<WidgetComponentProps<"iframe">["options"], "embedUrl" | "allowScrolling">, string>; } satisfies Record<keyof Omit<WidgetComponentProps<"iframe">["options"], "embedUrl" | "allowScrolling">, string>;
+1
View File
@@ -17,6 +17,7 @@ export const { definition, componentLoader } = createWidgetDefinition("iframe",
allowMicrophone: factory.switch(), allowMicrophone: factory.switch(),
allowCamera: factory.switch(), allowCamera: factory.switch(),
allowGeolocation: factory.switch(), allowGeolocation: factory.switch(),
allowModals: factory.switch(),
})); }));
}, },
}).withDynamicImport(() => import("./component")); }).withDynamicImport(() => import("./component"));
@@ -0,0 +1,52 @@
import { Paper, Text } from "@mantine/core";
import { IconDeviceDesktop } from "@tabler/icons-react";
import { useScopedI18n } from "@homarr/translation/client";
import type { LabelDisplayModeOption } from "..";
import { CommonChart } from "./common-chart";
export const SystemResourceGPUChart = ({
gpuUsageOverTime,
hasShadow,
labelDisplayMode,
}: {
gpuUsageOverTime: number[];
hasShadow: boolean;
labelDisplayMode: LabelDisplayModeOption;
}) => {
const chartData = gpuUsageOverTime.map((usage, index) => ({ index, usage }));
const t = useScopedI18n("widget.systemResources.card");
return (
<CommonChart
data={chartData}
dataKey={"index"}
series={[{ name: "usage", color: "grape.5" }]}
title={t("gpu")}
icon={IconDeviceDesktop}
lastValue={
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
gpuUsageOverTime.length > 0 ? `${Math.round(gpuUsageOverTime[gpuUsageOverTime.length - 1]!)}%` : undefined
}
chartType={hasShadow ? "area" : "line"}
yAxisProps={{ domain: [0, 100] }}
labelDisplayMode={labelDisplayMode}
tooltipProps={{
content: ({ payload }) => {
if (!payload) {
return null;
}
const value = payload[0] ? Number(payload[0].value) : 0;
return (
<Paper px={3} py={2} withBorder shadow="md" radius="md">
<Text c="dimmed" size="xs">
{value.toFixed(0)}%
</Text>
</Paper>
);
},
}}
/>
);
};
@@ -9,6 +9,7 @@ import { clientApi } from "@homarr/api/client";
import type { WidgetComponentProps } from "../definition"; import type { WidgetComponentProps } from "../definition";
import { CombinedNetworkTrafficChart } from "./chart/combined-network-traffic"; import { CombinedNetworkTrafficChart } from "./chart/combined-network-traffic";
import { SystemResourceCPUChart } from "./chart/cpu-chart"; import { SystemResourceCPUChart } from "./chart/cpu-chart";
import { SystemResourceGPUChart } from "./chart/gpu-chart";
import { SystemResourceMemoryChart } from "./chart/memory-chart"; import { SystemResourceMemoryChart } from "./chart/memory-chart";
import { NetworkTrafficChart } from "./chart/network-traffic"; import { NetworkTrafficChart } from "./chart/network-traffic";
@@ -23,10 +24,16 @@ export default function SystemResources({ integrationIds, options }: WidgetCompo
const memoryCapacityInBytes = const memoryCapacityInBytes =
(data[0]?.healthInfo.memAvailableInBytes ?? 0) + (data[0]?.healthInfo.memUsedInBytes ?? 0); (data[0]?.healthInfo.memAvailableInBytes ?? 0) + (data[0]?.healthInfo.memUsedInBytes ?? 0);
const [items, setItems] = useState<{ cpu: number; memory: number; network: { up: number; down: number } | null }[]>( const [items, setItems] = useState<
{ cpu: number; memory: number; gpu: number; network: { up: number; down: number } | null }[]
>(
data.map((item) => ({ data.map((item) => ({
cpu: item.healthInfo.cpuUtilization, cpu: item.healthInfo.cpuUtilization,
memory: item.healthInfo.memUsedInBytes, memory: item.healthInfo.memUsedInBytes,
gpu:
item.healthInfo.gpu.length > 0
? item.healthInfo.gpu.reduce((acc, g) => acc + g.processorUtilization, 0) / item.healthInfo.gpu.length
: 0,
network: item.healthInfo.network, network: item.healthInfo.network,
})), })),
); );
@@ -41,6 +48,10 @@ export default function SystemResources({ integrationIds, options }: WidgetCompo
const next = { const next = {
cpu: data.healthInfo.cpuUtilization, cpu: data.healthInfo.cpuUtilization,
memory: data.healthInfo.memUsedInBytes, memory: data.healthInfo.memUsedInBytes,
gpu:
data.healthInfo.gpu.length > 0
? data.healthInfo.gpu.reduce((acc, g) => acc + g.processorUtilization, 0) / data.healthInfo.gpu.length
: 0,
network: data.healthInfo.network, network: data.healthInfo.network,
}; };
@@ -75,6 +86,15 @@ export default function SystemResources({ integrationIds, options }: WidgetCompo
/> />
</Box> </Box>
)} )}
{options.visibleCharts.includes("gpu") && (
<Box h={rowHeight}>
<SystemResourceGPUChart
gpuUsageOverTime={items.map((item) => item.gpu)}
hasShadow={options.hasShadow}
labelDisplayMode={options.labelDisplayMode}
/>
</Box>
)}
{showNetwork && {showNetwork &&
(width > 256 ? ( (width > 256 ? (
<Group h={rowHeight} gap="xs" grow> <Group h={rowHeight} gap="xs" grow>
@@ -19,7 +19,7 @@ export const { definition, componentLoader } = createWidgetDefinition("systemRes
return optionsBuilder.from((factory) => ({ return optionsBuilder.from((factory) => ({
hasShadow: factory.switch({ defaultValue: true }), hasShadow: factory.switch({ defaultValue: true }),
visibleCharts: factory.multiSelect({ visibleCharts: factory.multiSelect({
options: (["cpu", "memory", "network"] as const).map((key) => ({ options: (["cpu", "memory", "gpu", "network"] as const).map((key) => ({
value: key, value: key,
label: (t) => t(`widget.systemResources.option.visibleCharts.option.${key}`), label: (t) => t(`widget.systemResources.option.visibleCharts.option.${key}`),
})), })),
-1
View File
@@ -79,7 +79,6 @@ const Feed = ({ options }: Pick<WidgetComponentProps<"video">, "options">) => {
], ],
}); });
// All other properties are updated with other useEffect // All other properties are updated with other useEffect
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [videoRef]); }, [videoRef]);
useEffect(() => { useEffect(() => {
+1253 -1119
View File
File diff suppressed because it is too large. Load diff
+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":"tancak","avatar_url":"https://avatars.githubusercontent.com/u/11760749?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/uLine 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":"tancak","avatar_url":"https://avatars.githubusercontent.com/u/11760749?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/uLine truncated
+1 -1
View File
@@ -1 +1 @@
[{"username":"carlchina","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/6697/medium/d22bbe7797bbeb30dbdc73a5648d329a_default.png"},{"username":"zielmann","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/7795/medium/ad22b8b8d5eb33e4154d53a454c862fd_default.png"},{"username":"Thalyn","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12494028/medium/5faf5acc945a874ed116c4567edaa09f_default.png"},{"username":"magnushj","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12503488/medium/68f32e33ea7b891960055c9f831f7344_default.png"},{"username":"almontegil","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12580457/medium/f4136cacbdfdb4c28ae7f85dc5f840db_default.png"},{"username":"andibing","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12664938/medium/b8be63e4dcb2e791ced1ffc9e3a049a5.jpg"},{"username":"gronare","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12680911/medium/c6eb14d1504156f34a158e507f73aa3d_default.png"},{"username":"SmartPhoneLover","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12701640/medium/ec95486662ec875cda080e778c3ff702.jpg"},{"username":"marcelotk_15","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12773227/medium/ecf6bea16ab0c873c131df2154ee9718_default.png"},{"username":"S3OD177","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13051544/medium/11dd990837f61f7e8f7d36b041a7fddb_default.png"},{"username":"marcg","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13153301/medium/ebcf60fbf27deb148ec40a659566c6ff_default.png"},{"username":"BeersTeddy","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13185230/medium/2f1f4e1effe74a23422b195cbefb2a95_default.png"},{"username":"jamesmcmahon0","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13245578/medium/586aa873b4abddbd9abc6f3de99ab70e.jpeg"},{"username":"b1nar10","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13286752/medium/249b02e3368752cb175446082015737c_default.png"},{"username":"vannCN","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13330448/medium/9b8a9ee3611e51e951e22d5fd4eb7d8d.jpg"},{"username":"binswm","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13343482/medium/45dde0e6097b9b72705d2eba9dbbc276_default.png"},{"username":"SkewRam","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13496556/medium/188f5c2deb7938eda51eb786cc4539ca.jpeg"},{"username":"raphcatarino","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13547726/medium/b003511e67df13a4b4b5689488fa8099.jpg"},{"username":"shillos5","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13600557/medium/b17650b2b84f829d54fa548c44c1ab27.jpeg"},{"username":"wolong98","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13641407/medium/f4634edc58c7857a357e5293543c15cf.jpg"},{"username":"spair0039","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14012333/medium/72430e96027c09c19141cac38eae4617.png"},{"username":"MajorMarcin","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14072183/medium/0a197e64bb92b6ea94cecbb607512c45.jpg"},{"username":"KosmoMoustache","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14103535/medium/51c438cdd9f86e8811c75f4869de479c.png"},{"username":"Soochaehwa","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14118689/medium/496a1ce63111547bf455a1e0a7ac75f1_default.png"},{"username":"garryfield","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14187035/medium/520c964706676045f6eeec1b08edc880.jpg"},{"username":"droidenko","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14444264/medium/4aa3a8e824f72bc9e5ec0d8de307095e.jpeg"},{"username":"maathis","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14489950/medium/6eeddf13a757ee35f78f1763f94d95e1.jpeg"},{"username":"bukvam","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14546502/medium/a819dc40a13c57395a17dc46e847d3ce.jpg"},{"username":"gm.cinalli","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14670666/medium/2d466a0fdbda40764526be86c97c0ab4.jpeg"},{"username":"antoine2tt","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14722148/medium/f88d926900862dd59007ea4b3419cb9d.png"},{"username":"cretzen","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14799754/medium/3ba5c1805ec20c000d5810c07985afe9.jpg"},{"username":"ktKongTong","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14817246/medium/97cfc3c028dbdaf85ebd1102da71e58c.jpeg"},{"username":"marinkaberg","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14861042/medium/2d5c4e62613f03082f3e645fa92efd59.jpeg"},{"username":"djismgaming","avatarUrl":"httpsLine truncated [{"username":"carlchina","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/6697/medium/d22bbe7797bbeb30dbdc73a5648d329a_default.png"},{"username":"zielmann","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/7795/medium/ad22b8b8d5eb33e4154d53a454c862fd_default.png"},{"username":"Thalyn","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12494028/medium/5faf5acc945a874ed116c4567edaa09f_default.png"},{"username":"magnushj","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12503488/medium/68f32e33ea7b891960055c9f831f7344_default.png"},{"username":"almontegil","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12580457/medium/f4136cacbdfdb4c28ae7f85dc5f840db_default.png"},{"username":"andibing","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12664938/medium/b8be63e4dcb2e791ced1ffc9e3a049a5.jpg"},{"username":"gronare","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12680911/medium/c6eb14d1504156f34a158e507f73aa3d_default.png"},{"username":"SmartPhoneLover","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12701640/medium/ec95486662ec875cda080e778c3ff702.jpg"},{"username":"marcelotk_15","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12773227/medium/ecf6bea16ab0c873c131df2154ee9718_default.png"},{"username":"S3OD177","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13051544/medium/11dd990837f61f7e8f7d36b041a7fddb_default.png"},{"username":"marcg","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13153301/medium/ebcf60fbf27deb148ec40a659566c6ff_default.png"},{"username":"BeersTeddy","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13185230/medium/2f1f4e1effe74a23422b195cbefb2a95_default.png"},{"username":"jamesmcmahon0","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13245578/medium/586aa873b4abddbd9abc6f3de99ab70e.jpeg"},{"username":"b1nar10","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13286752/medium/249b02e3368752cb175446082015737c_default.png"},{"username":"vannCN","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13330448/medium/9b8a9ee3611e51e951e22d5fd4eb7d8d.jpg"},{"username":"binswm","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13343482/medium/45dde0e6097b9b72705d2eba9dbbc276_default.png"},{"username":"SkewRam","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13496556/medium/188f5c2deb7938eda51eb786cc4539ca.jpeg"},{"username":"raphcatarino","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13547726/medium/b003511e67df13a4b4b5689488fa8099.jpg"},{"username":"shillos5","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13600557/medium/b17650b2b84f829d54fa548c44c1ab27.jpeg"},{"username":"wolong98","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13641407/medium/f4634edc58c7857a357e5293543c15cf.jpg"},{"username":"spair0039","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14012333/medium/72430e96027c09c19141cac38eae4617.png"},{"username":"MajorMarcin","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14072183/medium/0a197e64bb92b6ea94cecbb607512c45.jpg"},{"username":"KosmoMoustache","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14103535/medium/51c438cdd9f86e8811c75f4869de479c.png"},{"username":"Soochaehwa","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14118689/medium/496a1ce63111547bf455a1e0a7ac75f1_default.png"},{"username":"garryfield","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14187035/medium/520c964706676045f6eeec1b08edc880.jpg"},{"username":"droidenko","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14444264/medium/4aa3a8e824f72bc9e5ec0d8de307095e.jpeg"},{"username":"maathis","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14489950/medium/6eeddf13a757ee35f78f1763f94d95e1.jpeg"},{"username":"bukvam","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14546502/medium/a819dc40a13c57395a17dc46e847d3ce.jpg"},{"username":"gm.cinalli","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14670666/medium/2d466a0fdbda40764526be86c97c0ab4.jpeg"},{"username":"antoine2tt","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14722148/medium/f88d926900862dd59007ea4b3419cb9d.png"},{"username":"cretzen","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14799754/medium/3ba5c1805ec20c000d5810c07985afe9.jpg"},{"username":"ktKongTong","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14817246/medium/97cfc3c028dbdaf85ebd1102da71e58c.jpeg"},{"username":"marinkaberg","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14861042/medium/2d5c4e62613f03082f3e645fa92efd59.jpeg"},{"username":"djismgaming","avatarUrl":"httpsLine truncated
+3 -3
View File
@@ -17,14 +17,14 @@
}, },
"prettier": "@homarr/prettier-config", "prettier": "@homarr/prettier-config",
"dependencies": { "dependencies": {
"@next/eslint-plugin-next": "16.1.6", "@next/eslint-plugin-next": "16.2.1",
"eslint-config-prettier": "^10.1.8", "eslint-config-prettier": "^10.1.8",
"eslint-config-turbo": "^2.8.17", "eslint-config-turbo": "^2.8.20",
"eslint-plugin-import": "^2.32.0", "eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5", "eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^6.1.1", "eslint-plugin-react-hooks": "^6.1.1",
"typescript-eslint": "^8.57.0" "typescript-eslint": "^8.57.1"
}, },
"devDependencies": { "devDependencies": {
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",