Andras Bacsai
c1799bdae6
fix(docker): redirect stderr to stdout for container log retrieval to capture error messages
2025-09-18 12:51:03 +02:00
Andras Bacsai
60e31a1381
refactor(remoteProcess): remove file transfer handling from remote_process and instant_remote_process functions to simplify code
2025-09-15 17:59:35 +02:00
Andras Bacsai
133e72336a
Revert "refactor(file-transfer): replace base64 encoding with direct file transfer method in various components for improved clarity and efficiency"
...
This reverts commit feacedbb04
.
2025-09-15 17:56:48 +02:00
Andras Bacsai
393745b68c
Revert "refactor(file-transfer): replace base64 encoding with direct file transfer method across multiple database actions for improved clarity and efficiency"
...
This reverts commit 18068857b1
.
2025-09-15 17:55:08 +02:00
Andras Bacsai
3255f42385
refactor(remoteProcess): remove command log comments for file transfers to simplify code
2025-09-15 15:39:27 +02:00
Andras Bacsai
77c7da39e2
feat(deployment): enhance deployment status reporting with detailed information on active deployments and team members
2025-09-15 14:10:20 +02:00
Andras Bacsai
5b3b4bbc43
refactor(environment): remove 'is_build_time' attribute from environment variable handling across the application to simplify configuration
2025-09-11 16:51:56 +02:00
Andras Bacsai
501e6a2650
refactor(environment): standardize service name formatting by replacing '-' and '.' with '_' in environment variable keys
2025-09-11 13:59:02 +02:00
Andras Bacsai
5e0b86f322
Merge pull request #6170 from mindedtech/Add-SERVICE_NAME-variable-for-docker-compose-services
...
Add SERVICE_NAME variable for docker compose services
2025-09-11 13:06:10 +02:00
Andras Bacsai
ff29525dd9
refactor(clone): enhance application cloning by separating production and preview environment variable handling
2025-09-11 12:52:35 +02:00
Andras Bacsai
6ed2fd5d66
refactor(clone): integrate preview cloning logic directly into application cloning function for improved clarity and maintainability
2025-09-11 12:29:49 +02:00
Andras Bacsai
e74da06465
refactor(clone): consolidate application cloning logic into a dedicated function for improved maintainability and readability
2025-09-11 10:38:08 +02:00
Andras Bacsai
d10e4fa388
refactor(deployment): streamline next deployment queuing logic by repositioning queue_next_deployment call
2025-09-10 13:26:35 +02:00
Andras Bacsai
f18dff186d
refactor(remoteProcess): remove debugging statement from transfer_file_to_container function for cleaner code
2025-09-10 13:25:23 +02:00
Andras Bacsai
b6113839ec
refactor(deployment): enhance queuing logic to support concurrent deployments by including pull request ID in checks
2025-09-10 12:49:42 +02:00
Andras Bacsai
52312e9de6
refactor(github-webhook): restructure application processing by grouping applications by server for improved deployment handling
2025-09-10 09:30:43 +02:00
Andras Bacsai
1ca94b90da
fix(proxy): replace CheckConfiguration with GetProxyConfiguration and SaveConfiguration with SaveProxyConfiguration for improved clarity and consistency in proxy management
2025-09-09 12:52:19 +02:00
Andras Bacsai
feacedbb04
refactor(file-transfer): replace base64 encoding with direct file transfer method in various components for improved clarity and efficiency
2025-09-09 11:10:38 +02:00
Andras Bacsai
ad58dfc62e
feat(sudo-helper): add helper functions for command parsing and ownership management with sudo
2025-09-09 09:00:42 +02:00
Andras Bacsai
a7671ed379
refactor(dns-validation): rename DNS validation functions for consistency and clarity, and remove unused code
2025-09-09 09:00:35 +02:00
Andras Bacsai
ccc9ceb734
refactor(remoteProcess): remove debugging statement from transfer_file_to_server function to clean up code
2025-09-09 08:56:16 +02:00
Arnaud B
e23ab1e621
feat(deployment): add SERVICE_NAME variables for service discovery
...
This change introduces automatically generated `SERVICE_NAME_<SERVICE>`
environment variables for each service within a Docker Compose deployment.
This allows services to reliably reference each other by name, which is particularly
useful in pull request environments where container names are dynamically suffixed.
- The application parser now generates and injects these `SERVICE_NAME` variables
into the environment of all services in the compose file.
- `ApplicationDeploymentJob` is updated to correctly handle and filter these
new variables during deployment.
- UI components and the `EnvironmentVariableProtection` trait have been updated
to make these generated variables read-only, preventing accidental modification.
This commit introduces two new helper functions to standardize resource naming
for pull request deployments:
- `addPreviewDeploymentSuffix()`: Generates a consistent suffix format (-pr-{id})
for resource names in preview deployments
- `generateDockerComposeServiceName()`: Creates SERVICE_NAME environment variables
for Docker Compose services
2025-09-08 15:22:44 +02:00
Andras Bacsai
18068857b1
refactor(file-transfer): replace base64 encoding with direct file transfer method across multiple database actions for improved clarity and efficiency
2025-09-08 14:04:24 +02:00
Andras Bacsai
852b2688d9
refactor(error-handling): remove ray debugging statements from CheckUpdates and shared helper functions to clean up error reporting
2025-09-08 14:03:27 +02:00
Andras Bacsai
4bd29bf966
refactor(ssh): enhance error handling in SSH command execution and improve connection validation logging
2025-09-07 18:45:44 +02:00
Andras Bacsai
579cc25898
fix(ssh): introduce SshRetryHandler and SshRetryable trait for enhanced SSH command retry logic with exponential backoff and error handling
2025-09-07 17:17:35 +02:00
Andras Bacsai
75b61a6b00
feat(domains): add force_domain_override option and enhance domain conflict detection responses
2025-08-28 11:21:30 +02:00
Andras Bacsai
80499a03d8
feat(domains): implement domain conflict detection and user confirmation modal across application components
2025-08-28 10:52:41 +02:00
Andras Bacsai
e0aa28ba31
refactor(domains): rename check_domain_usage to checkDomainUsage and update references across the application
2025-08-28 10:00:19 +02:00
Andras Bacsai
2e85ce0e0e
refactor(urls): replace generateFqdn with generateUrl for consistent URL generation across applications
2025-08-28 09:49:58 +02:00
Andras Bacsai
efc1264810
fix(parsers): do not modify service names, only for getting fqdns and related envs
2025-08-27 21:22:04 +02:00
Andras Bacsai
3e816c8281
refactor(parsers): remove unnecessary hyphen-to-underscore replacement for service names in serviceParser function
2025-08-27 18:36:58 +02:00
Andras Bacsai
21fc1ba254
fix(docker): update parser version in FQDN generation for service-specific URLs
2025-08-27 17:02:38 +02:00
Andras Bacsai
cde528bf5e
fix(parsers): enhance volume string handling by preserving mode in application and service parsers. Update related unit tests for validation.
2025-08-27 16:54:49 +02:00
Andras Bacsai
5fbad08e45
fix(parsers): implement parseDockerVolumeString function to handle various Docker volume formats and modes, including environment variables and Windows paths. Add unit tests for comprehensive coverage.
2025-08-27 16:39:38 +02:00
Andras Bacsai
4a1eb064a4
fix(parsers): replace hyphens with underscores in service names for consistency. this allows to properly parse custom domains in docker compose based applications
2025-08-27 16:22:37 +02:00
Andras Bacsai
74ebaef17b
feat(api): enhance IP access control in middleware and settings; support CIDR notation and special case for 0.0.0.0 to allow all IPs
2025-08-26 10:27:38 +02:00
Aditya Tripathi
8a35295f13
fix(proxy): filter host network from default proxy ( #6383 )
2025-08-18 17:48:24 +02:00
Andras Bacsai
ee502b9f76
feat(email): implement email change request and verification process
...
- Added functionality for users to request an email change, including generating a verification code and setting an expiration time.
- Implemented methods in the User model to handle email change requests, code validation, and confirmation.
- Created a new job to update the user's email in Stripe after confirmation.
- Introduced rate limiting for email change requests and verification attempts to prevent abuse.
- Added a new notification for email change verification.
- Updated the profile component to manage email change requests and verification UI.
2025-08-18 14:54:08 +02:00
Andras Bacsai
460198bb05
fix(application): clear Docker Compose specific data when switching away from dockercompose
2025-08-18 11:31:14 +02:00
Andras Bacsai
be34c0c2b4
refactor(parsers): update volume parsing logic to use beforeLast and afterLast for improved accuracy
2025-08-17 18:36:28 +02:00
Andras Bacsai
1675c85d4d
refactor(shared helpers): remove unused parseServiceVolumes function to clean up codebase
2025-08-17 18:09:59 +02:00
Andras Bacsai
9b98891269
Merge branch 'next' into fix-volume-variable-with-default
2025-08-17 18:03:38 +02:00
Andras Bacsai
42bdc2a5fd
refactor(docker compose): remove deprecated newParser function and associated test file to streamline codebase
2025-08-17 18:03:00 +02:00
Andras Bacsai
0dada987a2
feat(backup): add disable local backup option and related logic for S3 uploads
2025-08-17 12:34:20 +02:00
Andras Bacsai
970fd3d9e6
refactor(parsers): streamline domain handling in applicationParser and improve DNS validation logic
2025-08-12 10:07:11 +02:00
Andras Bacsai
39f25573bf
refactor(templates): update service template file handling to use dynamic file name from constants
2025-08-12 10:06:19 +02:00
Andras Bacsai
936a192236
fix(parsers): clarify comments and update variable checks for FQDN and URL handling
2025-08-12 10:06:19 +02:00
Andras Bacsai
e8892b3d29
feat(core): finally fqdn is fqdn and url is url. haha
2025-08-12 10:06:19 +02:00
Andras Bacsai
a0bc4dac55
fix(application): streamline environment variable updates for Docker Compose services and enhance FQDN generation logic
2025-08-12 10:06:19 +02:00