From 196fb976dc3dcd09b8556320ba11150906938d3d Mon Sep 17 00:00:00 2001 From: Christopher Alphonse Date: Fri, 26 Sep 2025 23:13:33 -0400 Subject: [PATCH 1/7] : --- .nvmrc | 2 +- Dockerfile | 2 +- Dockerfile.cloud | 2 +- Dockerfile.schedule | 2 +- Dockerfile.server | 2 +- apps/dokploy/.nvmrc | 2 +- apps/dokploy/package.json | 2 +- package.json | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.nvmrc b/.nvmrc index 593cb75bc5..e5b34ed3f9 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20.16.0 \ No newline at end of file +20.19.5 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index c41df8c730..9693ff852d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1 -FROM node:20.9-slim AS base +FROM node:20.19.5-slim AS base ENV PNPM_HOME="/pnpm" ENV PATH="$PNPM_HOME:$PATH" RUN corepack enable diff --git a/Dockerfile.cloud b/Dockerfile.cloud index c234259dc4..aaaec4b1ee 100644 --- a/Dockerfile.cloud +++ b/Dockerfile.cloud @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1 -FROM node:20.9-slim AS base +FROM node:20.19.5-slim AS base ENV PNPM_HOME="/pnpm" ENV PATH="$PNPM_HOME:$PATH" RUN corepack enable diff --git a/Dockerfile.schedule b/Dockerfile.schedule index 70976523c5..1657840ef8 100644 --- a/Dockerfile.schedule +++ b/Dockerfile.schedule @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1 -FROM node:20.9-slim AS base +FROM node:20.19.5-slim AS base ENV PNPM_HOME="/pnpm" ENV PATH="$PNPM_HOME:$PATH" RUN corepack enable diff --git a/Dockerfile.server b/Dockerfile.server index e911c87805..2264ba324c 100644 --- a/Dockerfile.server +++ b/Dockerfile.server @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1 -FROM node:20.9-slim AS base +FROM node:20.19.5-slim AS base ENV PNPM_HOME="/pnpm" ENV PATH="$PNPM_HOME:$PATH" RUN corepack enable diff --git a/apps/dokploy/.nvmrc b/apps/dokploy/.nvmrc index 593cb75bc5..e5b34ed3f9 100644 --- a/apps/dokploy/.nvmrc +++ b/apps/dokploy/.nvmrc @@ -1 +1 @@ -20.16.0 \ No newline at end of file +20.19.5 \ No newline at end of file diff --git a/apps/dokploy/package.json b/apps/dokploy/package.json index 03ecb57281..2714faab17 100644 --- a/apps/dokploy/package.json +++ b/apps/dokploy/package.json @@ -188,7 +188,7 @@ }, "packageManager": "pnpm@9.5.0", "engines": { - "node": "^20.16.0", + "node": "^20.19.5", "pnpm": ">=9.5.0" }, "lint-staged": { diff --git a/package.json b/package.json index 53ff00643b..2c22115fed 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ }, "packageManager": "pnpm@9.5.0", "engines": { - "node": "^20.16.0", + "node": "^20.19.5", "pnpm": ">=9.5.0" }, "lint-staged": { From 8bfea0ea14e27cc7550c66bcb9be4609196638b1 Mon Sep 17 00:00:00 2001 From: ChristopherAlphonse Date: Wed, 1 Oct 2025 22:33:25 -0400 Subject: [PATCH 2/7] fix issue --- .../advanced/security/handle-security.tsx | 3 ++- .../advanced/security/show-security.tsx | 7 +++++-- .../shared/toggle-visibility-input.tsx | 5 ++++- apps/dokploy/pages/register.tsx | 17 ++++++++++------- package.json | 2 +- 5 files changed, 22 insertions(+), 12 deletions(-) diff --git a/apps/dokploy/components/dashboard/application/advanced/security/handle-security.tsx b/apps/dokploy/components/dashboard/application/advanced/security/handle-security.tsx index e7bc0cd1f3..887d71a6e2 100644 --- a/apps/dokploy/components/dashboard/application/advanced/security/handle-security.tsx +++ b/apps/dokploy/components/dashboard/application/advanced/security/handle-security.tsx @@ -25,6 +25,7 @@ import { useEffect, useState } from "react"; import { useForm } from "react-hook-form"; import { toast } from "sonner"; import { z } from "zod"; +import { ToggleVisibilityInput } from "../../../../shared/toggle-visibility-input"; const AddSecuritychema = z.object({ username: z.string().min(1, "Username is required"), @@ -151,7 +152,7 @@ export const HandleSecurity = ({ Password - + diff --git a/apps/dokploy/components/dashboard/application/advanced/security/show-security.tsx b/apps/dokploy/components/dashboard/application/advanced/security/show-security.tsx index 92439f5117..a4468ffc03 100644 --- a/apps/dokploy/components/dashboard/application/advanced/security/show-security.tsx +++ b/apps/dokploy/components/dashboard/application/advanced/security/show-security.tsx @@ -11,11 +11,12 @@ import { api } from "@/utils/api"; import { LockKeyhole, Trash2 } from "lucide-react"; import { toast } from "sonner"; import { HandleSecurity } from "./handle-security"; - +import { PASSWORD_RANGE } from "../../../../../pages/register"; interface Props { applicationId: string; } + export const ShowSecurity = ({ applicationId }: Props) => { const { data, refetch } = api.application.one.useQuery( { @@ -69,7 +70,9 @@ export const ShowSecurity = ({ applicationId }: Props) => {
Password - {security.password} + {security.password + ? "*".repeat(PASSWORD_RANGE) + : ""}
diff --git a/apps/dokploy/components/shared/toggle-visibility-input.tsx b/apps/dokploy/components/shared/toggle-visibility-input.tsx index bb11eeaef2..8c74bf64a9 100644 --- a/apps/dokploy/components/shared/toggle-visibility-input.tsx +++ b/apps/dokploy/components/shared/toggle-visibility-input.tsx @@ -18,6 +18,7 @@ export const ToggleVisibilityInput = ({ ...props }: InputProps) => {
-
diff --git a/apps/dokploy/components/shared/toggle-visibility-input.tsx b/apps/dokploy/components/shared/toggle-visibility-input.tsx index bb11eeaef2..8c74bf64a9 100644 --- a/apps/dokploy/components/shared/toggle-visibility-input.tsx +++ b/apps/dokploy/components/shared/toggle-visibility-input.tsx @@ -18,6 +18,7 @@ export const ToggleVisibilityInput = ({ ...props }: InputProps) => {
-