Commit Graph

7674 Commits

Author SHA1 Message Date
Mauricio Siu 4b204dc1b2 Merge branch 'canary' into fix/server-access-remaining
# Conflicts:
#	apps/dokploy/server/api/routers/proprietary/forward-auth.ts
2026-11-23 11:07:48 -06:00
Yash Kumar 3950a5282a Merge pull request #6100 from Dokploy/fix/certificate-traefik-reload
fix(certificates): reload Traefik after certificate changes
2026-11-23 20:54:27 +05:30
Yash Kumar 5ccc51a9cc Merge pull request #6102 from Dokploy/fix/ui-custom-resolver-label
fix(ui): use a neutral resolver name in the Custom Resolver example
2026-11-23 20:43:53 +05:30
Yash Kumar 3796d2f764 fix(ui): use a neutral resolver name in the Custom Resolver example 2026-11-23 20:38:59 +05:30
Narciso E. Núñez Arias 7f6ccf72e9 Merge pull request #6101 from Dokploy/fix/ui-custom-resolver-label
fix(ui): rename "Custom" certificate option to "Custom Resolver"
2026-11-23 10:33:28 -04:00
Narciso E. Núñez Arias 0f46d6b645 Merge pull request #6076 from Dokploy/fix-5611
fix(backups): include MySQL routines and events
2026-11-23 10:32:27 -04:00
Narciso E. Núñez Arias a39f63ab96 Merge pull request #5781 from 1sakshm/fix/search-owner-admin-access
fix(search): return all services to owners and admins in *.search
2026-11-23 10:32:05 -04:00
Yash Kumar a53e8aa07f fix(ui): clarify Custom Resolver help text in the domain form 2026-11-23 19:13:39 +05:30
Yash Kumar b276cb748b fix(ui): rename "Custom" certificate option to "Custom Resolver" 2026-11-23 19:07:25 +05:30
Yash Kumar 581cc6f180 test(certificates): verify Traefik serves certificate changes without restart 2026-11-23 18:19:28 +05:30
Yash Kumar c64c7f3e15 fix(certificates): reload Traefik after certificate changes 2026-11-23 18:10:35 +05:30
Narciso E. Núñez Arias 3b13bcde8d Merge pull request #6090 from Dokploy/feat/role-allowed-domains
feat(roles): restrict allowed domains per custom role
2026-11-20 22:22:23 -04:00
Narciso 9bd09fc10d fix(roles): skip disallowed preview copies, warn on skipped AI domains and merge role rows 2026-11-20 16:22:44 -04:00
Narciso c9ff55d58d fix(roles): only require services for enabled kept domains and parse compose merge keys 2026-11-20 16:00:10 -04:00
Narciso b2ec6e7130 fix(roles): validate template domain paths, HTTPS and kept domains on import 2026-11-20 15:46:48 -04:00
Narciso e9e1cca25e feat(roles): restrict allowed domains per custom role 2026-11-20 15:46:48 -04:00
Narciso E. Núñez Arias ace2490956 Merge pull request #6089 from Dokploy/feat/auto-deactivate-inactive-cloud-accounts
feat(cloud): deactivate accounts inactive for 6 months without a plan or servers
2026-11-20 15:44:14 -04:00
Yash Kumar a8b08cddc5 fix(ui): clarify Dockerfile path and context defaults (#6086) 2026-11-20 21:43:59 +05:30
Yash Kumar bf2349db21 fix(ui): clarify Docker image and registry URL fields (#6087) 2026-11-20 21:43:50 +05:30
Narciso 6b3f15f7d9 fix(cloud): record session activity on refresh so direct session deletes don't lose it 2026-11-20 10:54:56 -04:00
Narciso 17f271d26f feat(cloud): deactivate accounts inactive for 6 months without a plan or servers 2026-11-20 10:46:11 -04:00
Narciso E. Núñez Arias ce0aa08796 Merge pull request #6080 from erwannbst/chore/bump-image-tooling-cves
chore(docker): bump pnpm to 10.34.9 and pack to 0.40.11 to drop fixable CVEs
2026-11-20 10:20:50 -04:00
Narciso E. Núñez Arias 960264fb31 Merge pull request #6084 from Dokploy/fix/cloud-session-real-ip 2026-11-20 08:44:12 -04:00
Yash Kumar 418d441dec fix(search): require active-org membership and gate owner/admin by member role 2026-11-20 15:24:42 +05:30
Yash Kumar db3bf84b4c Merge canary into fix/search-owner-admin-access 2026-11-20 15:24:42 +05:30
Yash Kumar 770526e7d3 Merge pull request #5205 from bestmaa/fix/5171-swarm-healthcheck-serialization
fix(swarm): normalize health check test commands
2026-11-20 11:54:40 +05:30
Yash Kumar a53d13cebd fix(swarm): keep image health check when Test is blank 2026-11-20 11:46:17 +05:30
Yash Kumar 91f181eed0 Merge branch 'canary' into fix/5205-healthcheck
# Conflicts:
#	apps/dokploy/__test__/server/mechanizeDockerContainer.test.ts
2026-11-20 11:46:02 +05:30
Narciso cb90615158 fix(auth): read the client IP from CF-Connecting-IP on Cloud 2026-11-19 16:04:55 -04:00
Yash Kumar c0240edb83 Merge pull request #5807 from moataz-hjaiji/fix/compose-start-custom-command
fix(compose): start with the custom command so its extra compose files are kept
2026-11-19 23:53:29 +05:30
Yash Kumar 7e28d56dff Merge pull request #6049 from Dokploy/feat/strong-password-validation
feat(auth): require strong passwords for login accounts
2026-11-19 23:42:41 +05:30
Yash Kumar 98fd367f93 Merge pull request #6083 from Dokploy/fix-5036
fix(traefik): remove default dokploy.docker.localhost router (#5036)
2026-11-19 23:41:36 +05:30
Yash Kumar a39e404de0 Merge pull request #5460 from mikaoelitiana/fix/preview-deployment-duplicate-race
fix(preview): create one preview per pull request when webhook deliveries race
2026-11-19 23:34:37 +05:30
Yash Kumar d965fc3098 fix(traefik): remove default dokploy.docker.localhost router (#5036) 2026-11-19 22:41:59 +05:30
Yash Kumar 5809e74110 fix(compose): start existing containers when deployed files are gone 2026-11-19 21:44:42 +05:30
Yash Kumar 04a0fa69c1 fix(compose): recreate missing containers on Start from the deployed compose files 2026-11-19 21:31:17 +05:30
Yash Kumar 14a94ad05c chore(compose): remove comments 2026-11-19 21:16:28 +05:30
Yash Kumar 9970830b8d fix(compose): restart stopped containers on Start instead of re-running compose up
Closes #5799
2026-11-19 21:06:16 +05:30
Erwann 9b81910131 chore(docker): bump pnpm to 10.34.9 and pack to 0.40.11 to drop fixable CVEs
pnpm 10.22.0 (installed via corepack in every image) bundles tar 7.5.2
(CVE-2026-59873, critical) plus 33 HIGH advisories; 10.34.9 bundles
tar 7.5.22 and scans clean.

buildpacksio/pack 0.39.1 is built with Go 1.25.5 (CVE-2025-68121) and
kaniko 1.25.5 (CVE-2026-105769); 0.40.11 has no CRITICAL and 1 HIGH
(was 55).

Refs #5736
2026-11-19 12:29:46 +01:00
Yash Kumar 0d71eb853d fix(preview): drop a partially created preview so a retry can rebuild it 2026-11-19 15:43:26 +05:30
Yash Kumar ba83af66e6 fix(preview): build a preview's commit once when deliveries race 2026-11-19 15:34:36 +05:30
Mika Andrianarijaona f0db573418 fix(preview): create one preview per pull request when webhook deliveries race
GitHub sends one `pull_request` delivery per label on top of `opened`, all
within the same second. The handler guarded creation with a non-atomic
`findPreviewDeploymentByApplicationId` → `createPreviewDeployment`, and the
GitHub comment round-trip inside `createPreviewDeployment` widened the window
to several seconds, so every delivery saw no existing preview and created its
own — one container, domain and PR comment each.

Serialize the find-or-create per (application, pull request) so concurrent
deliveries wait for the first to insert and then see its row. A `labeled`
delivery that finds an existing preview now returns without enqueueing a
build: a label never moves the PR head, so there is nothing to rebuild, and
this collapses the N redundant same-SHA builds the extra deliveries used to
queue.

Closes #5086

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-19 15:16:35 +05:30
Yash Kumar b7e09cdfc1 fix(backups): include MySQL routines and events
mysqldump ran without --routines/--events, so stored procedures,
functions and events were omitted from MySQL backups. Add both flags to
the shared command used by native and Compose backups. A quote in the
database name breaks these flags while the plain dump still works, so
fall back to the plain dump for such names.

Closes #5611
2026-11-19 14:23:36 +05:30
Narciso E. Núñez Arias 4e625a569b Merge pull request #6073 from Dokploy/fix/5770-stale-subscription-events 2026-11-18 23:32:51 -04:00
Narciso 3ffdb445bb fix(billing): only adopt live subscriptions from created events 2026-11-18 16:18:48 -04:00
Narciso 1f215b76af fix(billing): skip ended subscriptions in created and checkout events 2026-11-18 16:03:54 -04:00
Narciso 5ad534f824 fix(billing): ignore Stripe events from replaced subscriptions 2026-11-18 15:51:25 -04:00
Narciso E. Núñez Arias 22b5e1c7d7 Merge pull request #6072 from Dokploy/feat/sso-app-allowlist
feat(sso): restrict SSO-protected apps by email, group or email domain
2026-11-18 15:27:19 -04:00
Narciso cfd630f9dc fix(sso): reject allowlist entries that normalize to empty
An email domain of just "@" was stripped to an empty string and dropped,
saving an empty allowlist and silently removing the restriction.
2026-11-18 15:06:00 -04:00
Narciso 0855f47f11 feat(sso): restrict SSO-protected apps by email, group or email domain
SSO forward-auth authenticated users but didn't authorize them, so anyone in
the identity provider could reach every protected app. Each application can
now set an allowlist that is passed to oauth2-proxy's /oauth2/auth and applies
to all its SSO-protected domains and preview deployments.
2026-11-18 14:50:55 -04:00