Mauricio Siu and GitHub
5a9c763c4f
Merge pull request #1631 from lorenzomigliorero/fix/remove-sensitive-files-from-static-build
...
fix(security): remove sensitive files on static build
2025-04-06 02:30:35 -06:00
Mauricio Siu and GitHub
4b51744d0d
Merge pull request #1638 from Dokploy/1588-invalid-behavior-when-using-s3-prefix-destination-for-backups
...
feat(backups): implement normalizeS3Path utility and integrate into b…
2025-04-06 02:15:37 -06:00
Mauricio Siu
42fa4008ab
feat(backups): implement normalizeS3Path utility and integrate into backup processes
...
- Added normalizeS3Path function to standardize S3 path formatting by trimming whitespace and removing leading/trailing slashes.
- Updated backup-related modules (MySQL, MongoDB, PostgreSQL, MariaDB, and web server) to utilize normalizeS3Path for consistent S3 path handling.
- Introduced unit tests for normalizeS3Path to ensure correct functionality across various input scenarios.
2025-04-06 02:09:23 -06:00
Mauricio Siu
14bc26e065
feat(websocket): enhance WebSocket server with request validation and client instantiation
...
- Added request validation to ensure user authentication before establishing WebSocket connections.
- Refactored WebSocket client instantiation to simplify connection management.
2025-04-06 00:07:41 -06:00
Mauricio Siu and GitHub
6c8eb3b711
Merge pull request #1635 from Dokploy/fix/use-exec-file
...
feat(registry): refactor Docker login command execution to use execFi…
2025-04-05 23:05:17 -06:00
Mauricio Siu
cb20950dd9
feat(registry): refactor Docker login command execution to use execFileAsync for improved input handling
2025-04-05 23:03:57 -06:00
Mauricio Siu and GitHub
e83efa3379
Merge pull request #1630 from lorenzomigliorero/feat/improve-projects-show-grid
...
feat: improve projects grid
2025-04-04 23:45:09 -06:00
Mauricio Siu
36172491a4
refactor(websocket): streamline WebSocket server setup and client instantiation
...
- Removed the request validation logic from the WebSocket connection handler.
- Added a cleanup function to close the WebSocket server.
- Introduced a singleton pattern for the WebSocket client to manage connections more efficiently.
2025-04-04 01:55:29 -06:00
Mauricio Siu and GitHub
d43b098a7a
Merge pull request #1623 from Dokploy/1606-project-name-starting-with-a-number-causes-a-conflict-with-application-name
...
feat(handle-project): enhance project name validation to disallow sta…
2025-04-04 01:28:07 -06:00
Mauricio Siu
8479f20205
feat(handle-project): enhance project name validation to disallow starting with a number
2025-04-04 01:27:53 -06:00
Mauricio Siu
031d0ce315
Update dokploy version to v0.21.3 in package.json
2025-04-03 00:22:57 -06:00
Mauricio Siu and GitHub
131a1acbbe
Merge pull request #1617 from Dokploy/fix/cover-edge-cases-processor-template
...
fix(templates): add optional chaining to prevent errors when accessin…
2025-04-03 00:22:44 -06:00
Mauricio Siu
9a839de022
feat(templates): add username and email generation using faker
2025-04-03 00:22:29 -06:00
Mauricio Siu
b9de05015f
fix(templates): add optional chaining to prevent errors when accessing template properties
2025-04-03 00:17:09 -06:00
Mauricio Siu
0bdaa81263
fix(backups): replace findAdmin with db query to fetch admin by role for cron job initialization
2025-04-02 07:10:19 -06:00
Mauricio Siu and GitHub
baf36b6fb6
Merge pull request #1608 from Dokploy/fix/move-cron-to-after-migration
...
Fix/move cron to after migration
2025-04-02 06:58:38 -06:00
Mauricio Siu
d632e83799
Update dokploy version to v0.21.2 in package.json
2025-04-02 06:53:41 -06:00
Mauricio Siu
6f52edd845
fix(backups): ensure initCronJobs is awaited before migration to improve backup reliability
2025-04-02 06:53:32 -06:00
Mauricio Siu and GitHub
9d0f5bc8cd
Update package.json
2025-04-02 00:31:55 -06:00
Mauricio Siu and GitHub
3dc558c260
Merge pull request #1599 from vicke4/backup-cron-fix-attempt
...
fix(backups): awaiting initCronJobs call in an attempt to fix backups cron
2025-04-02 00:31:20 -06:00
Mauricio Siu and GitHub
ffc85b04a8
Merge pull request #1572 from thebadking/refactor-show-build-form-and-prettier
...
build form optimization
2025-03-30 03:36:19 -06:00
Mauricio Siu
dbcfc702d4
Merge branch 'canary' into refactor-show-build-form-and-prettier
2025-03-30 03:31:49 -06:00
Mauricio Siu and GitHub
7805efc738
Merge pull request #1584 from Dokploy/1294-duplicate-project-andor-services-accross-projects
...
1294 duplicate project andor services accross projects
2025-03-30 02:50:09 -06:00
Mauricio Siu
3910e22412
Refactor Duplicate Project component and integrate with project detail page
...
- Updated the DuplicateProject component to accept projectId and selectedServiceIds as props, enhancing its flexibility.
- Removed unnecessary state management for service selection within the component.
- Integrated the DuplicateProject component directly into the project detail page, allowing for easier access to duplication functionality.
- Improved the user interface by utilizing DialogTrigger for initiating the duplication process and displaying selected services more clearly.
2025-03-30 02:42:35 -06:00
Mauricio Siu
2f16034cb0
Add Duplicate Project functionality
...
- Introduced a new component for duplicating projects, allowing users to create a new project with the same configuration as an existing one.
- Implemented a mutation in the project router to handle project duplication, including optional service duplication.
- Updated the project detail page to include a dropdown menu for initiating the duplication process.
- Enhanced the API to validate and process the duplication request, ensuring proper handling of services associated with the project.
2025-03-30 02:38:53 -06:00
Mauricio Siu
d4925dd2b7
Update dokploy version to v0.21.0 in package.json
2025-03-30 01:59:43 -06:00
Mauricio Siu and GitHub
5aba6c79a0
Merge pull request #1582 from Dokploy/fix/allow-false-values-in-env
...
Fix/allow false values in env
2025-03-30 01:40:06 -06:00
Mauricio Siu
84f5627471
Enhance environment variable handling in processTemplate: support boolean and number types in env configuration, with tests for both array and object formats.
2025-03-30 01:29:23 -06:00
Mauricio Siu
4eaf8fee0f
Add toml package and update configuration parsing in Dokploy
...
- Added toml package version 3.0.0 to package.json files in both apps/dokploy and packages/server.
- Replaced js-yaml load function with toml parse function for configuration parsing in compose.ts and github.ts files, ensuring compatibility with TOML format.
- Updated pnpm-lock.yaml to reflect the new toml dependency.
2025-03-30 01:12:27 -06:00
Mauricio Siu
adee87b6da
Enhance volume handling in Docker Compose: update addSuffixToVolumesInServices to correctly manage volume paths with subdirectories and improve test coverage for suffix changes in volume names.
2025-03-30 00:32:09 -06:00
Mauricio Siu
e5e987fcf9
Merge branch 'canary' into fix/allow-false-values-in-env
2025-03-29 23:51:48 -06:00
Mauricio Siu
d0a6373dcc
Update Dockerfile to include 'zip' package in production environment for enhanced file handling capabilities.
2025-03-29 23:49:45 -06:00
Mauricio Siu
8ed44066ad
Update Card component in server settings page: adjust width class for better responsiveness and layout consistency.
2025-03-29 23:38:28 -06:00
Mauricio Siu and GitHub
befe2193a7
Merge pull request #1581 from Dokploy/709-back-ups-for-dokploy
...
709 back ups for dokploy
2025-03-29 23:27:29 -06:00
Mauricio Siu
f20c73cdee
Refactor temporary directory creation in web server backup: replace static path with dynamic temp directory using mkdtemp for improved file management and isolation during backup operations.
2025-03-29 23:27:13 -06:00
Mauricio Siu
16bfc09202
Refactor serverId assignment in ShowBackups component: update logic to check for serverId presence in postgres object, improving code clarity and consistency.
2025-03-29 20:24:39 -06:00
Mauricio Siu
d54a61b2a4
Remove commented-out backup commands from restoreWebServerBackup function for cleaner code and improved readability.
2025-03-29 20:14:55 -06:00
Mauricio Siu
60c09a6434
Implement cloud check in backup and restore functions: add IS_CLOUD condition to skip operations for cloud environments in runWebServerBackup and restoreWebServerBackup functions.
2025-03-29 20:14:36 -06:00
Mauricio Siu
5361e9074f
Refactor backup scheduling: consolidate backup handling for multiple database types into a single loop, enhance error logging, and integrate web server backup functionality.
2025-03-29 20:12:55 -06:00
Mauricio Siu
13d4dea504
Enhance ShowBackups component: add Database icon to title for improved UI clarity and wrap ShowBackups in a Card component for better layout in server settings page.
2025-03-29 19:53:25 -06:00
Mauricio Siu
ffc2d593e4
Refactor restoreWebServerBackup function: implement temporary directory creation outside BASE_PATH, streamline filesystem restoration process, and enhance logging for database restore operations.
2025-03-29 19:47:02 -06:00
Mauricio Siu
297439a348
Update restore-backup component and backup router for web server support: set default database name based on type, disable input for web server, and streamline backup restoration process with improved logging and error handling.
2025-03-29 19:27:05 -06:00
Mauricio Siu
ff3e067866
Implement web server backup and restore functionality: add new backup and restore methods for web servers, including S3 integration and improved logging. Refactor existing backup process to support web server type and streamline temporary file management.
2025-03-29 18:43:35 -06:00
Mauricio Siu
f008a45bf2
Enhance backup process: implement temporary directory structure for backups, add filesystem backup, and create zip file of database and filesystem contents. Update logging for better visibility during backup operations.
2025-03-29 18:00:13 -06:00
Mauricio Siu
50c8503cf9
Enhance backup functionality: add support for 'web-server' database type in backup components, update related schemas, and implement new backup procedures. Introduce userId reference in backups schema and adjust UI components to accommodate the new type.
2025-03-29 17:53:57 -06:00
Mauricio Siu and GitHub
930a03de60
Merge pull request #1523 from jrparks/feat/add-gitea-repo
...
Feat/add gitea repo
2025-03-29 15:43:55 -06:00
Mauricio Siu
7a6e1dbc1b
Refactor SecurityAudit component: remove unused root login security check and related UI elements to streamline the code and improve readability.
2025-03-29 15:04:33 -06:00
Mauricio Siu
17a859d26d
Refactor ShowConvertedCompose component: simplify conditional rendering of the compose file display by removing unnecessary null check and ensuring consistent layout.
2025-03-29 15:01:55 -06:00
Mauricio Siu
d793c6a2ec
Add Gitea repository link in SaveGiteaProvider: integrate dynamic repository URL display and enhance user experience with a view link for existing repositories.
2025-03-29 15:00:23 -06:00
Mauricio Siu
3adb9d54f4
Refactor ShowProviderFormCompose component: streamline provider rendering logic and ensure Gitea integration is fully functional with updated tab and content handling.
2025-03-29 14:57:36 -06:00
Mauricio Siu
7144adbf0c
Add migration for '0081_lovely_mentallo': remove gitea_username column and update journal with new version
2025-03-29 14:47:51 -06:00
Mauricio Siu
55328468d1
Refactor Gitea integration: remove giteaProjectId references and update related schemas. Add new fields for gitea repository details in application tests and components.
2025-03-29 14:44:33 -06:00
Mauricio Siu and GitHub
6968cb6930
Merge pull request #1465 from zaaakher/docs/guides
...
docs: update `CONTRIBUTING.md` and add `GUIDES.md`
2025-03-29 14:28:24 -06:00
Mauricio Siu and GitHub
a431e4c58e
Update CONTRIBUTING.md
2025-03-29 14:28:11 -06:00
Mauricio Siu
fe967239b4
Merge branch 'canary' into feat/add-gitea-repo
2025-03-29 13:47:18 -06:00
Mauricio Siu and GitHub
c5b4b85470
Merge pull request #1578 from Dokploy/fix/biome-lint
...
chore(workflow): add Biome code formatting workflow for canary branch
2025-03-29 13:41:49 -06:00
Mauricio Siu
b1ef9d25b1
chore(workflow): add autofix.ci workflow for automatic code formatting on canary branch
2025-03-29 13:41:05 -06:00
Mauricio Siu
74f7c51530
chore(workflow): add autofix.ci workflow for automatic code formatting with Biome
2025-03-29 13:39:57 -06:00
Mauricio Siu
4ba2b9fe8d
chore(workflow): add new Biome formatting workflow for canary branch
2025-03-29 13:38:55 -06:00
Mauricio Siu
413eda50f4
chore(workflow): simplify AutoFix action usage in Biome workflow
2025-03-29 13:37:43 -06:00
Mauricio Siu
9f09681708
chore(workflow): streamline Biome setup by replacing Node.js and pnpm steps with biomeJs action
2025-03-29 13:37:01 -06:00
Mauricio Siu
8eb174812d
chore(workflow): replace manual commit step with AutoFix action for Biome formatting
2025-03-29 13:35:50 -06:00
Mauricio Siu and GitHub
be77f114eb
Merge ca42708035 into beadcf871a
2025-03-29 19:30:24 +00:00
Mauricio Siu
ca42708035
chore(workflow): configure git user for automated commits and enforce push
2025-03-29 13:30:18 -06:00
Mauricio Siu
8b03454a87
chore(workflow): update Biome workflow to push changes to the correct branch
2025-03-29 13:28:50 -06:00
Mauricio Siu
fa7f749f84
refactor(dokploy): standardize code formatting and improve readability across multiple components
2025-03-29 13:26:44 -06:00
Mauricio Siu
3daecd7d71
chore(workflow): update pnpm version to 9.5.0 in Biome workflow
2025-03-29 13:20:48 -06:00
Mauricio Siu
0666b5b292
chore(workflow): add pnpm setup step to Biome workflow
2025-03-29 13:20:07 -06:00
Mauricio Siu
b288ddd826
chore(workflow): add Biome code formatting workflow for canary branch
2025-03-29 13:18:50 -06:00
Mauricio Siu and GitHub
beadcf871a
Merge pull request #1577 from Dokploy/1568-dokploy---nextjs-affected-by-cve-2025-29927
...
refactor(dokploy): remove lucia-auth adapter and related authenticati…
2025-03-29 12:23:26 -06:00
Mauricio Siu
ee49dadf0b
refactor(dokploy): remove lucia-auth adapter and related authentication logic; update next.js version to 15.2.4
2025-03-29 12:17:14 -06:00
Mauricio Siu and GitHub
46de83a1de
Merge pull request #1576 from Dokploy/1564-downloaded-ssh-keys-are-always-named-as-id_rsa-keys
...
refactor(ssh-keys): simplify downloadKey function and filename genera…
2025-03-29 12:13:38 -06:00
Mauricio Siu
fee5024b7d
refactor(ssh-keys): simplify downloadKey function and filename generation logic
2025-03-29 12:13:22 -06:00
Mauricio Siu
e3527f7d69
fix(processors): ensure environment variable processing handles non-string values correctly
2025-03-26 01:48:50 -06:00
Mauricio Siu and GitHub
e0433e9f7b
Merge pull request #1554 from Dokploy/1061-custom-docker-service-hostname
...
1061 custom docker service hostname
2025-03-23 23:58:28 -06:00
Mauricio Siu
d29ff881fc
fix(redis-connection): update Redis host configuration to use environment variable for production
2025-03-23 23:43:38 -06:00
Mauricio Siu
568c3a1d06
chore(workflow): update branches for Dokploy Docker build to use custom hostname
2025-03-23 23:38:55 -06:00
Mauricio Siu
e9fd280fa2
refactor(server): comment out initialization of Postgres, Traefik, and Redis for testing purposes
2025-03-23 23:28:53 -06:00
Mauricio Siu and GitHub
9535fca28f
Merge pull request #1540 from vicke4/backup-deletion-fix
...
fix(backups): auto deletion of backups
2025-03-23 04:31:37 -06:00
Mauricio Siu and GitHub
dd62d603e0
Merge pull request #1550 from Dokploy/1543-preview-docker-compose-button-null-when-git-is-provider
...
feat(dashboard): add informational alert for docker-compose preview r…
2025-03-23 04:30:58 -06:00
Mauricio Siu
8d227e2a2c
feat(dashboard): add informational alert for docker-compose preview requirements
2025-03-23 04:30:00 -06:00
Mauricio Siu
048c8ffc11
feat: Add Docker image push notification in commit message extraction
...
- Enhanced the extractCommitMessage function to include a specific message format for Docker image pushes when the user-agent indicates a Go-http-client. This improves clarity in deployment notifications by providing detailed information about the repository and the pusher.
2025-03-23 04:12:08 -06:00
Mauricio Siu
b59597630c
refactor: Remove commented-out Gitea requirements check in Git providers component
...
- Eliminated unnecessary commented code related to Gitea access token checks in the ShowGitProviders component to enhance code clarity and maintainability.
2025-03-23 04:10:00 -06:00
Mauricio Siu
707463f973
refactor: Streamline Docker service management and error handling
...
- Removed unnecessary console logging in the mechanizeDockerContainer function to enhance code clarity.
- Simplified error handling by directly creating a new service if the existing one is not found, improving the deployment logic.
- Updated the buildNixpacks function to ensure container cleanup is attempted without additional error handling, streamlining the process.
2025-03-23 04:09:06 -06:00
Mauricio Siu
4b3e0805a4
chore: Update dependencies and clean up code formatting
...
- Downgraded '@trpc/server' version in package.json and pnpm-lock.yaml to match other TRPC packages.
- Removed unused dependencies 'node-fetch', 'data-uri-to-buffer', 'fetch-blob', and 'formdata-polyfill' from pnpm-lock.yaml and package.json.
- Improved code formatting in various components for better readability, including adjustments in 'edit-gitea-provider.tsx' and 'security-audit.tsx'.
- Refactored imports in 'auth.ts' for better organization and clarity.
2025-03-23 04:06:35 -06:00
Mauricio Siu
148c30f604
refactor: Remove unnecessary logging in Gitea repository fetching
...
- Eliminated console logging of repositories in the Gitea API router to streamline the code and improve performance.
2025-03-23 03:57:37 -06:00
Mauricio Siu
95f79f2afb
feat: Enhance deployment logic for multiple Git providers
...
- Added support for handling commit normalization across GitHub, GitLab, and Gitea in the deployment API.
- Implemented a new utility function to determine the provider based on request headers.
- Improved deployment path validation to ensure consistency across different source types.
- Cleaned up the code by removing redundant checks and enhancing readability.
2025-03-23 03:55:11 -06:00
Mauricio Siu
a067abd3e4
refactor: Enhance Gitea repository handling and clean up token refresh logic
...
- Updated Gitea repository cloning to use the remote variant for better consistency.
- Removed unnecessary logging and comments in the token refresh function to streamline the code.
- Improved type handling in the cloneGiteaRepository function for better clarity.
2025-03-23 03:35:02 -06:00
Mauricio Siu
9359ee7a04
refactor: Update Gitea provider components and API handling
...
- Adjusted GiteaProviderSchema to ensure watchPaths are correctly initialized and validated.
- Refactored SaveGiteaProvider and SaveGiteaProviderCompose components for improved state management and UI consistency.
- Simplified API router methods for Gitea, enhancing readability and error handling.
- Updated database schema and service functions for better clarity and maintainability.
- Removed unnecessary comments and improved logging for better debugging.
2025-03-23 03:27:19 -06:00
Mauricio Siu and GitHub
91183056f0
Merge pull request #1534 from Dokploy/feat/enable-swarm-overview
...
Feat/enable swarm overview
2025-03-19 00:52:22 -06:00
Mauricio Siu
03bd4398d0
chore(package): bump version to v0.20.8
2025-03-19 00:51:49 -06:00
Mauricio Siu
8c260eff72
feat(cluster): enhance AddNode and ShowNodes components for better user guidance and functionality
...
- Added an AlertBlock in AddNode to inform users about architecture compatibility when adding nodes.
- Updated ShowNodes to correctly handle node deletion actions based on ManagerStatus.
- Refactored cluster API to remove cloud-specific checks and improve command execution for remote servers.
2025-03-19 00:51:27 -06:00
Mauricio Siu
4eef65f1b7
fix(git): update Gitea provider instructions and improve Git providers display
...
- Enhanced the Gitea provider setup instructions by specifying the navigation path for creating a new OAuth2 application.
- Added a blank line for better readability in the Git providers display component.
2025-03-18 21:50:01 -06:00
Mauricio Siu
a7535c6862
Merge branch 'canary' into feat/add-gitea-repo
2025-03-18 21:42:42 -06:00
Mauricio Siu
6e28196b0e
chore(package): bump version to v0.20.7
2025-03-18 21:36:39 -06:00
Mauricio Siu and GitHub
18bacae175
Merge pull request #1507 from nb5p/fix-alpine-linux-compatibility
...
fix(server-setup): resolve Alpine Linux compatibility issues
2025-03-18 21:35:43 -06:00
Mauricio Siu and GitHub
f2be5a378e
Merge pull request #1522 from ensarkurrt/canary
...
fix(ui): Improve Numeric Input Handling in Swarm Cluster Settings, Traefik Port Mappings, and Email Notifications
2025-03-18 21:27:20 -06:00
Mauricio Siu and GitHub
aef24296b9
Merge pull request #1531 from Dokploy/fix/loader-swarm
...
Fix/loader swarm
2025-03-18 21:18:17 -06:00
Mauricio Siu
7123b9b109
feat(cluster): add error handling in AddManager and AddWorker components
...
- Integrated error handling in AddManager and AddWorker components to display error messages using AlertBlock when data fetching fails.
- Updated API query hooks to include error and isError states for improved user feedback during data operations.
2025-03-18 21:17:11 -06:00
Mauricio Siu
891dc840f5
feat(cluster): enhance node management UI with loading indicators and improved tab content
...
- Added loading indicators in AddManager and AddWorker components to enhance user experience during data fetching.
- Updated AddNode component to include overflow handling for tab content.
- Renamed "Show Nodes" to "Show Swarm Nodes" in ShowNodesModal for clarity.
2025-03-18 21:11:50 -06:00