From eec4e21751a279e9da06d43517d7f6e56359905e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 13 Feb 2026 04:18:39 +0000 Subject: [PATCH 1/3] Initial plan From 7928d117b37eaa7b58f9d5b10319a8df7ecca44b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 13 Feb 2026 04:21:31 +0000 Subject: [PATCH 2/3] Fix Discord and Gotify decoration button reverting bug Co-authored-by: Siumauricio <47042324+Siumauricio@users.noreply.github.com> --- .../dashboard/settings/notifications/handle-notifications.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/dokploy/components/dashboard/settings/notifications/handle-notifications.tsx b/apps/dokploy/components/dashboard/settings/notifications/handle-notifications.tsx index 7b477c92b..3eac18522 100644 --- a/apps/dokploy/components/dashboard/settings/notifications/handle-notifications.tsx +++ b/apps/dokploy/components/dashboard/settings/notifications/handle-notifications.tsx @@ -353,7 +353,7 @@ export const HandleNotifications = ({ notificationId }: Props) => { volumeBackup: notification.volumeBackup, type: notification.notificationType, webhookUrl: notification.discord?.webhookUrl, - decoration: notification.discord?.decoration || undefined, + decoration: notification.discord?.decoration ?? undefined, name: notification.name, dockerCleanup: notification.dockerCleanup, serverThreshold: notification.serverThreshold, @@ -400,7 +400,7 @@ export const HandleNotifications = ({ notificationId }: Props) => { volumeBackup: notification.volumeBackup, type: notification.notificationType, appToken: notification.gotify?.appToken, - decoration: notification.gotify?.decoration || undefined, + decoration: notification.gotify?.decoration ?? undefined, priority: notification.gotify?.priority, serverUrl: notification.gotify?.serverUrl, name: notification.name, From aa579977e35987b893fb12cf271948628f2307e6 Mon Sep 17 00:00:00 2001 From: Mauricio Siu Date: Fri, 13 Feb 2026 00:16:37 -0600 Subject: [PATCH 3/3] feat(auth): update trusted providers configuration to use environment variable - Replaced database query for trusted providers with an environment variable, allowing for more flexible configuration of SSO integrations. --- packages/server/src/lib/auth.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/server/src/lib/auth.ts b/packages/server/src/lib/auth.ts index 7f7f2eba3..a5fcbc0f2 100644 --- a/packages/server/src/lib/auth.ts +++ b/packages/server/src/lib/auth.ts @@ -18,9 +18,7 @@ import { getHubSpotUTK, submitToHubSpot } from "../utils/tracking/hubspot"; import { sendEmail } from "../verification/send-verification-email"; import { getPublicIpWithFallback } from "../wss/utils"; -const query = await db.query.ssoProvider.findMany(); - -const trustedProviders = query.map((provider) => provider.providerId); +const trustedProviders = process.env?.TRUSTED_PROVIDERS?.split(",") || []; const { handler, api } = betterAuth({ database: drizzleAdapter(db, {