diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 9c5824dcd..0dabeb329 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -31,6 +31,7 @@ body: label: Version description: What version of Homarr are you running? options: + - 1.24.0 - 1.23.0 - 1.22.0 - 1.21.0 diff --git a/apps/nextjs/package.json b/apps/nextjs/package.json index 74330ef29..73cc93437 100644 --- a/apps/nextjs/package.json +++ b/apps/nextjs/package.json @@ -48,21 +48,21 @@ "@homarr/ui": "workspace:^0.1.0", "@homarr/validation": "workspace:^0.1.0", "@homarr/widgets": "workspace:^0.1.0", - "@mantine/colors-generator": "^8.1.0", - "@mantine/core": "^8.1.0", - "@mantine/dropzone": "^8.1.0", - "@mantine/hooks": "^8.1.0", - "@mantine/modals": "^8.1.0", - "@mantine/tiptap": "^8.1.0", + "@mantine/colors-generator": "^8.1.1", + "@mantine/core": "^8.1.1", + "@mantine/dropzone": "^8.1.1", + "@mantine/hooks": "^8.1.1", + "@mantine/modals": "^8.1.1", + "@mantine/tiptap": "^8.1.1", "@million/lint": "1.0.14", "@tabler/icons-react": "^3.34.0", - "@tanstack/react-query": "^5.80.7", - "@tanstack/react-query-devtools": "^5.80.7", - "@tanstack/react-query-next-experimental": "^5.80.7", - "@trpc/client": "^11.4.1", - "@trpc/next": "^11.4.1", - "@trpc/react-query": "^11.4.1", - "@trpc/server": "^11.4.1", + "@tanstack/react-query": "^5.80.10", + "@tanstack/react-query-devtools": "^5.80.10", + "@tanstack/react-query-next-experimental": "^5.80.10", + "@trpc/client": "^11.4.2", + "@trpc/next": "^11.4.2", + "@trpc/react-query": "^11.4.2", + "@trpc/server": "^11.4.2", "@xterm/addon-canvas": "^0.7.0", "@xterm/addon-fit": "0.10.0", "@xterm/xterm": "^5.5.0", @@ -74,7 +74,7 @@ "glob": "^11.0.3", "jotai": "^2.12.5", "mantine-react-table": "2.0.0-beta.9", - "next": "15.3.3", + "next": "15.3.4", "postcss-preset-mantine": "^1.17.0", "prismjs": "^1.30.0", "react": "19.1.0", @@ -83,22 +83,22 @@ "react-simple-code-editor": "^0.14.1", "sass": "^1.89.2", "superjson": "2.2.2", - "swagger-ui-react": "^5.24.1", + "swagger-ui-react": "^5.25.2", "use-deep-compare-effect": "^1.8.1", - "zod": "^3.25.64" + "zod": "^3.25.67" }, "devDependencies": { "@homarr/eslint-config": "workspace:^0.2.0", "@homarr/prettier-config": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0", "@types/chroma-js": "3.1.1", - "@types/node": "^22.15.31", + "@types/node": "^22.15.32", "@types/prismjs": "^1.26.5", "@types/react": "19.1.8", "@types/react-dom": "19.1.6", "@types/swagger-ui-react": "^5.18.0", "concurrently": "^9.1.2", - "eslint": "^9.28.0", + "eslint": "^9.29.0", "node-loader": "^2.1.0", "prettier": "^3.5.3", "typescript": "^5.8.3" diff --git a/apps/nextjs/src/app/[locale]/manage/integrations/_components/test-connection/test-connection-certificate.tsx b/apps/nextjs/src/app/[locale]/manage/integrations/_components/test-connection/test-connection-certificate.tsx index a84302b55..1a9de69a6 100644 --- a/apps/nextjs/src/app/[locale]/manage/integrations/_components/test-connection/test-connection-certificate.tsx +++ b/apps/nextjs/src/app/[locale]/manage/integrations/_components/test-connection/test-connection-certificate.tsx @@ -30,6 +30,8 @@ export const CertificateErrorDetails = ({ error, url }: CertificateErrorDetailsP const { mutateAsync: trustHostnameAsync } = clientApi.certificates.trustHostnameMismatch.useMutation(); const { mutateAsync: addCertificateAsync } = clientApi.certificates.addCertificate.useMutation(); + const rootCertificate = getHeighestCertificate(error.data.certificate); + const handleTrustHostname = () => { const { hostname } = new URL(url); openConfirmModal({ @@ -72,7 +74,7 @@ export const CertificateErrorDetails = ({ error, url }: CertificateErrorDetailsP const formData = new FormData(); formData.append( "file", - new File([error.data.certificate.pem], `${hostname}-${createId()}.crt`, { + new File([rootCertificate.pem], `${hostname}-${createId()}.crt`, { type: "application/x-x509-ca-cert", }), ); @@ -110,11 +112,11 @@ export const CertificateErrorDetails = ({ error, url }: CertificateErrorDetailsP <> {description} - + {error.data.reason === "hostnameMismatch" && } - {!error.data.certificate.isSelfSigned && error.data.reason === "untrusted" && } + {!rootCertificate.isSelfSigned && error.data.reason === "untrusted" && } {showRetryButton && (