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
sepcnt
45a7370b55
fix(socialite): add custom base URL support for GitLab provider in OAuth settings
2025-09-09 21:47:02 +08: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
Yanluis Fermin
e572017d27
fix(api): duplicated logs in application endpoint ( #6292 )
2025-08-11 14:03:46 +02:00
Trung-DV
4f77bd4347
Fix volume target, use the last part
...
Signed-off-by: Trung-DV <TrungDV.PMB@gmail.com>
2025-08-06 10:21:54 +07:00
jvdboog
7a110880c1
feat: Improve detection of special network modes
2025-07-20 22:15:42 +02:00
Andras Bacsai
9651e3a7ec
revert(parser): enhance FQDN generation logic for services and applications
2025-07-18 23:10:08 +02:00
Andras Bacsai
90ccaeba51
feat(application): implement environment variable updates for Docker Compose applications, including creation, updating, and deletion of SERVICE_FQDN and SERVICE_URL variables
2025-07-18 20:48:56 +02:00
Andras Bacsai
5e693eb4b5
refactor(services): simplify environment variable updates by using updateOrCreate and add cleanup for removed FQDNs
2025-07-18 20:48:56 +02:00
Andras Bacsai
9ed77e5eef
fix(services): update environment variable naming convention to use underscores instead of dashes for SERVICE_FQDN and SERVICE_URL
2025-07-18 20:48:56 +02:00
Andras Bacsai
94f9c54256
fix(deployment): refactor domain parsing and environment variable generation using Spatie URL library
2025-07-08 10:42:34 +02:00
Andras Bacsai
95da765a9e
fix(deployment): improve docker-compose domain handling and environment variable generation
2025-07-07 16:07:08 +02:00
Andras Bacsai
085529dc63
fix(deployment): enhance COOLIFY_URL and COOLIFY_FQDN variable generation for better compatibility
2025-07-07 12:55:35 +02:00
Andras Bacsai
6a90bdf9fa
fix(env): Generate literal env variables better
2025-07-07 12:30:44 +02:00
Andras Bacsai
f732220b8f
refactor(shared): improve error handling in getTopLevelNetworks function to return network name on invalid docker-compose.yml
2025-07-07 10:20:54 +02:00
Andras Bacsai
2f68f965a7
refactor(shared): enhance FQDN generation logic for services in newParser function
2025-07-03 21:29:57 +02:00
Andras Bacsai
485e45bbb8
fix(shared): refactor gzip handling for Pocketbase in newParser function for improved clarity
2025-06-26 21:59:53 +02:00
Andras Bacsai
34135f2b4a
fix(parser): enable gzip compression conditionally for Pocketbase images and streamline service creation logic
2025-06-25 13:12:11 +02:00
Andras Bacsai
b7602e30b3
fix(docker): conditionally enable gzip compression in Traefik labels based on configuration
2025-06-25 13:11:44 +02:00
Andras Bacsai
e42c5baedd
fix(parser): improve FQDN generation and update environment variable handling
2025-06-24 13:28:52 +02:00
Hauke Schnau
1968d4d494
feat(auth): add Zitadel OAuth Provider ( #5490 )
2025-06-18 14:35:54 +02:00
Yassir Elmarissi
a77bd88258
feat(auth): Add Clerk OAuth Provider ( #5553 )
2025-06-18 14:29:46 +02:00
Yassir Elmarissi
4375f52c5d
feat(auth): Add Discord OAuth Provider ( #5552 )
2025-06-18 14:19:01 +02:00
Andras Bacsai
81d6cb539b
refactor(remoteProcess): update sanitize_utf8_text function to accept nullable string parameter for improved type safety
2025-06-10 10:53:23 +02:00
Andras Bacsai
ddcb14500d
refactor(proxy-status): refactored how the proxy status is handled on the UI and on the backend
...
feat(cloudflare): improved cloudflare tunnel automated installation
2025-06-06 14:47:54 +02:00
Andras Bacsai
8e8400f595
feat(utf8-handling): implement UTF-8 sanitization for command outputs and enhance error handling in logs processing
2025-06-05 14:27:39 +02:00
Andras Bacsai
842f22340e
refactor(database-detection): enhance isDatabaseImage function to utilize service configuration for improved detection accuracy
2025-06-04 11:44:37 +02:00
Andras Bacsai
2361c34a53
refactor(error-handling): replace generic Exception with RuntimeException for improved error specificity
2025-05-29 10:49:55 +02:00
Andras Bacsai
698b090b4d
fix(docker): ensure correct parsing of environment variables by limiting explode to 2 parts
2025-05-22 14:27:55 +02:00
Andras Bacsai
2189c44ba5
fix(shared): remove unused relation from queryDatabaseByUuidWithinTeam function
2025-05-20 15:08:20 +02:00
Arnaud Dezandee
587a927b8b
feat(oauth): set redirect uri as optional and add default value ( #5760 )
2025-05-20 14:35:39 +02:00
Andras Bacsai
24b7b53973
Revert "fix(dev): mount points?!"
...
This reverts commit 365bf3cbf0 .
2025-05-05 08:55:44 +02:00
Andras Bacsai
cf7a6eccab
fix(dev): proxy mount point
2025-05-03 12:44:32 +02:00
Andras Bacsai
365bf3cbf0
fix(dev): mount points?!
2025-05-03 09:59:42 +02:00
Andras Bacsai
22b88d55b3
fix(applications): include pull_request_id in deployment queue check to prevent duplicate deployments
2025-04-30 15:28:47 +02:00
Andras Bacsai
d8c3418e72
feat(Service): Add functionality to convert between applications and databases in docker-compose based applications
...
fix(ui): Fix service layout refresh on compose change
2025-04-29 14:27:17 +02:00
Andras Bacsai
08d2ad83ee
fix(docker): enhance hostname and GPU option validation in Docker run to compose conversion
2025-04-23 13:34:27 +02:00
Andras Bacsai
04e1d5c75d
fix(docker): ensure password hashing only occurs when HTTP Basic Authentication is enabled
2025-04-23 13:30:27 +02:00
Andras Bacsai
78ef80f800
refactor
2025-04-23 13:22:01 +02:00
Andras Bacsai
e4648bcf9c
feat(docker): add HTTP Basic Authentication support and enhance hostname parsing in Docker run conversion
2025-04-23 11:57:26 +02:00
Andras Bacsai
8520beff51
refactor(docker): remove debug statement and enhance hostname handling in Docker run conversion
2025-04-23 11:21:37 +02:00
Andras Bacsai
bce8bb1f2d
Merge branch 'next' into add-hostname
2025-04-22 22:03:45 +02:00
Andras Bacsai
9e608f7ba5
refactor(http-basic-auth): rename 'http_basic_auth_enable' to 'http_basic_auth_enabled' across application files for consistency
2025-04-22 21:30:27 +02:00
Andras Bacsai
7e0373e439
Merge branch 'next' into feat/add-http-basic-auth
2025-04-22 21:18:43 +02:00
Andras Bacsai
02b6aaaaf0
refactor(shared): remove unused ray debugging statement from newParser function
2025-04-21 09:58:56 +02:00
Andras Bacsai
6d12e7edc7
refactor(database): simplify database type checks in ServiceDatabase and enhance image validation in Docker helper
2025-04-21 09:57:27 +02:00
Christopher Kaster
2634f516d5
feat: Add HTTP Basic Authentication
2025-04-17 14:14:32 +02:00
Andras Bacsai
618e546966
feat(core): Enable magic env variables for compose based applications
2025-04-16 15:26:40 +02:00
Andras Bacsai
3894023a2e
fix(parser): transform associative array labels into key=value format for better compatibility
2025-04-15 18:41:21 +02:00
Andras Bacsai
f453b610bb
Merge pull request #5579 from YaRissi/fix/compose-service-duplicate
...
fix(service): Dont duplicate the service entry if image changed
2025-04-14 12:02:34 +02:00
Andras Bacsai
4c95dccfb3
refactor(SourceManagement): sort sources by name and improve UI for changing Git source with better error handling
2025-04-11 20:25:25 +02:00
Andras Bacsai
d075241289
feat(Deployment): enhance queue_application_deployment to handle existing deployments and return appropriate status messages
2025-04-11 15:27:56 +02:00
elmariss
11c1babc85
fix check if image changed
2025-04-10 01:06:01 +02:00
sebi
4f5df53f1f
add hostname
2025-04-04 18:39:52 +01:00
Andras Bacsai
b366b45914
Merge branch 'next' into fix_service_app_log_drain
2025-03-31 17:45:06 +02:00
Andras Bacsai
fcfd00eebe
feat(application): add SPA configuration and update Nginx generation logic
2025-03-31 15:10:50 +02:00
Leonid Zharikov
c4ef08d419
fix(parser): Add logging support for applications in services
2025-03-29 23:52:12 +00:00
Andras Bacsai
b376d6df2a
reverting: encrypting mount and fs_path
2025-03-29 22:16:12 +01:00
Andras Bacsai
c2941abe57
fix(file-storage): double save on compose volumes
2025-03-28 22:10:33 +01:00
Andras Bacsai
98add9fd0f
refactor(docker): parse and sanitize YAML compose file before encoding
2025-03-28 21:11:28 +01:00
Andras Bacsai
f060b7d3d2
refactor(shared): enhance job status check to include 'reserved'
2025-03-28 15:42:25 +01:00
Andras Bacsai
735fcaad33
refactor(shared): add logging for running deployment jobs
2025-03-28 15:30:21 +01:00
Andras Bacsai
2a08f4d653
refactor(shared): simplify deployment status check logic
2025-03-28 15:09:38 +01:00