Andras Bacsai
b1abdcee83
feat(environment-variables): implement environment variable analysis for build-time issues
...
- Added EnvironmentVariableAnalyzer trait to analyze and warn about problematic environment variables during the build process.
- Integrated analysis into ApplicationDeploymentJob and Livewire components to provide feedback on potential build issues.
- Introduced a new Blade component for displaying warnings related to environment variables in the UI.
2025-09-23 08:53:14 +02:00
Andras Bacsai
36dfd1bc6e
refactor(github): enhance API request handling and validation
...
- Updated validation rules for 'custom_user' and 'custom_port' fields to be nullable in the GithubController.
- Refactored API request handling in GithubController, GithubPrivateRepository, and helper functions to use a consistent Http::GitHub method with timeout and retry logic.
- Improved error handling for repository and branch loading processes.
2025-09-22 15:41:56 +02:00
Andras Bacsai
4fc62ea33f
Merge pull request #6496 from QarthO/fix/url-validation
...
fix(domains) url validation silently fails with surrounding whitespace
2025-09-22 12:49:43 +02:00
Andras Bacsai
b1ad24eecf
Merge pull request #6657 from ShadowArcanist/shadow/metrics-visual-improvements
...
chore(ui): improve sentinel metrics
2025-09-22 09:46:26 +02:00
Andras Bacsai
4f71d14d39
feat(event): introduce ApplicationConfigurationChanged event to handle team-specific configuration updates and broadcast changes
...
feat(envs): Generate hash from secrets to invalidate docker layers
2025-09-22 09:44:30 +02:00
ShadowArcanist
ee9cf076c3
Removed debug logging for metrics
2025-09-19 23:28:25 +05:30
ShadowArcanist
0ef0247e14
Improved metrics graph tooltip to show usage in a better way and added timestamp to the tooltip
2025-09-19 22:40:08 +05:30
Andras Bacsai
f33df13c4e
feat(environment): replace is_buildtime_only with is_runtime and is_buildtime flags for environment variables, updating related logic and views
2025-09-18 18:14:54 +02:00
Andras Bacsai
074c70c8ab
fix(clone): update destinations method call to ensure correct retrieval of selected destination
2025-09-18 13:44:56 +02:00
Andras Bacsai
c1bee32f09
feat(deployment): introduce 'use_build_secrets' setting for enhanced security during Docker builds and update related logic in deployment process
2025-09-17 10:34:38 +02:00
Andras Bacsai
9e8fb36bc8
feat(deployment): implement cancellation checks during deployment process to enhance user control and prevent unnecessary execution
2025-09-16 13:40:51 +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
97428a4a80
feat(executions): add 'Load All' button to view all logs and implement loadAllLogs method for complete log retrieval
2025-09-15 11:05:29 +02:00
Andras Bacsai
8e155f25b3
refactor(environment): streamline environment variable handling by replacing sorting methods with direct property access and enhancing query ordering for improved performance
2025-09-12 12:09:03 +02:00
Andras Bacsai
20ad2165e7
feat(environment): introduce 'is_buildtime_only' attribute to environment variables for improved build-time configuration
2025-09-11 17:38:16 +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
13af4811f5
feat(storages): add method to retrieve the first storage ID for improved stability in storage display
2025-09-11 13:41:22 +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
0db2835565
fix(application): add functionality to stop and remove Docker containers on server
2025-09-11 12:39:28 +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
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
a7671ed379
refactor(dns-validation): rename DNS validation functions for consistency and clarity, and remove unused code
2025-09-09 09:00:35 +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
339118558c
feat(settings): add option to restrict PR deployments to repository members and contributors
2025-09-05 14:30:51 +02:00
QarthO
bfc8a25b72
move domain trimming before URL validation
2025-08-29 09:09:03 -04: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
saurabhraghuvanshii
3c126927d5
enhancement: allow deploy from container image hash
2025-08-28 02:10:14 +05:30
Andras Bacsai
63fcc0ebc3
feat(acl): Change views/backend code to able to use proper ACL's later on. Currently it is not enabled.
2025-08-26 10:27:38 +02:00
Andras Bacsai
ae1b0de561
feat(auth): enhance authorization checks in Livewire components for resource management
2025-08-26 10:27:38 +02:00
Andras Bacsai
adb8f9d88e
feat(auth): implement authorization checks for database management
2025-08-23 18:50:35 +02:00
Andras Bacsai
6d02f6a60b
feat(auth): add comprehensive authorization checks for all kind of resource creations
2025-08-23 18:47:31 +02:00
Andras Bacsai
6ef16f6170
fix(auth): enhance authorization checks in application management
2025-08-23 18:19:50 +02:00
Andras Bacsai
40f108d6e1
feat(auth): implement authorization checks for application management
2025-08-22 16:47:59 +02:00
Andras Bacsai
8408205955
feat(validation): add custom validation rules for Git repository URLs and branches
...
- Introduced `ValidGitRepositoryUrl` and `ValidGitBranch` validation rules to ensure safe and valid input for Git repository URLs and branch names.
- Updated relevant Livewire components and API controllers to utilize the new validation rules, enhancing security against command injection and invalid inputs.
- Refactored existing validation logic to improve consistency and maintainability across the application.
2025-08-22 14:38:21 +02:00
Andras Bacsai
a6fc39e798
feat(git-settings): add support for shallow cloning in application settings
...
- Introduced a new boolean setting `is_git_shallow_clone_enabled` to the application settings model.
- Updated the `Advanced` component to include a checkbox for enabling shallow cloning.
- Modified the `setGitImportSettings` and `generateGitImportCommands` methods to handle shallow clone logic.
- Created a migration to add the new setting to the database schema.
- Enhanced the deployment process to utilize shallow cloning for improved performance.
2025-08-21 10:16:57 +02:00
Andras Bacsai
5c4a265542
refactor(validation): implement centralized validation patterns across components
...
- Introduced `ValidationPatterns` class to standardize validation rules and messages for various fields across multiple components.
- Updated components including `General`, `StackForm`, `Create`, and `Show` to utilize the new validation patterns, ensuring consistent validation logic.
- Enhanced error messages for required fields and added regex validation for names and descriptions to improve user feedback.
- Adjusted styling in the `create.blade.php` view for better visual hierarchy.
2025-08-19 14:15:31 +02:00
Andras Bacsai
38c0641734
feat(validation): centralize validation patterns for names and descriptions
...
- Introduced `ValidationPatterns` class to standardize validation rules and messages for name and description fields across the application.
- Updated various components and models to utilize the new validation patterns, ensuring consistent sanitization and validation logic.
- Replaced the `HasSafeNameAttribute` trait with `HasSafeStringAttribute` to enhance attribute handling and maintain consistency in name sanitization.
- Enhanced the `CleanupNames` command to align with the new validation rules, allowing for a broader range of valid characters in names.
2025-08-19 12:14:48 +02:00
Andras Bacsai
e958b3761d
feat(cleanup): add command for sanitizing name fields across models
...
- Introduced `CleanupNames` command to sanitize name fields by removing invalid characters, ensuring only letters, numbers, spaces, dashes, underscores, and dots are retained.
- Implemented options for dry run, model-specific cleaning, database backup, and forced execution.
- Updated `Init` command to call the new `cleanup:names` command.
- Enhanced project and environment validation to enforce name sanitization rules.
- Added `HasSafeNameAttribute` trait to relevant models for consistent name handling.
2025-08-19 11:04:23 +02:00
Andras Bacsai
5cfe6464aa
fix(database): conditionally set started_at only if the database is running
2025-08-18 12:09:58 +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
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
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
Andras Bacsai
cc5abc093d
fix(container): sort containers alphabetically by name in ExecuteContainerCommand and update filtering in Terminal Index
2025-08-12 10:06:19 +02:00
peaklabs-dev
279edf696c
chore(docker): remove unused arguments on StopService
2025-08-04 22:12:56 +02:00
🏔️ Peak
2a526c54d5
fix(docker): volumes get delete when stopping a service if Delete Unused Volumes is activated ( #6317 )
2025-08-04 21:15:56 +02:00
Andras Bacsai
5ddaf3a61f
fix(application): add option to suppress toast notifications when loading compose file
2025-07-18 23:22:24 +02:00
Andras Bacsai
039aa86321
fix(application): update service environment variables when generating domain for Docker Compose
2025-07-18 23:16:12 +02:00
Andras Bacsai
43ff38d914
feat(terminal): dispatch focus event for terminal after connection and enhance focus handling in JavaScript
2025-07-18 22:39:42 +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
ef91e43384
feat(container): add updatedSelectedContainer method to connect to non-default containers and update wire:model for improved reactivity
2025-07-18 20:48:56 +02:00
🏔️ Peak
e5e1bdcd4d
fix(backups): large database backups are not working ( #6217 )
2025-07-18 15:47:14 +02:00
Andras Bacsai
13f10028db
feat(previews): implement soft delete and cleanup for ApplicationPreview, enhancing resource management in DeleteResourceJob
2025-07-14 21:17:40 +02:00
Andras Bacsai
5bdf2e8481
refactor(previews): move preview domain generation logic to ApplicationPreview model for better encapsulation and consistency across webhook handlers
2025-07-14 19:12:57 +02:00
Andras Bacsai
a9e542bc4b
fix(previews): enhance domain generation logic for application previews, ensuring unique domains are created when none are set
2025-07-14 15:42:01 +02:00
Andras Bacsai
3bb28c29be
fix(application): sanitize service names for HTML form binding and ensure original names are stored in docker compose domains
2025-07-14 14:45:01 +02:00
Andras Bacsai
0b84792871
feat(deployment): add pull request filtering and pagination to deployment and backup execution components
...
fix(ui): make them more stylish yeah
2025-07-13 12:36:53 +02:00
Andras Bacsai
6d94aaf0f8
refactor(previews): streamline preview URL generation by utilizing application method
2025-07-07 13:14:45 +02:00
Nathan James
4d2910e740
Merge branch 'coollabsio:next' into next
2025-07-04 16:07:31 +01:00
Nathan James
4c4b115008
Correct Typo: 'form' -> 'from'
2025-07-04 16:06:53 +01:00
Andras Bacsai
ca62f8dacc
refactor(terminal): simplify command construction for SSH execution
2025-07-03 15:48:59 +02:00
Andras Bacsai
13a9816770
fix(service): ensure configuration changes are properly tracked and dispatched
2025-07-03 15:08:13 +02:00
Hicro
43bcfe8d02
fix: removing eager loading ( #6071 )
...
since the destionations relationship is not really needed, we could
remove it and avoid the issue with the missing eager constraint.
Co-authored-by: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com>
2025-07-01 11:10:47 +02:00
Andras Bacsai
a1ec86f433
fix(terminal): ensure shell execution only uses valid shell if available in terminal command
2025-07-01 10:37:34 +02:00
Andras Bacsai
8fc79022f3
feat(service): enhance service status handling and UI updates
2025-06-24 12:52:22 +02:00
Andras Bacsai
3643a388bf
fix(github): changing github app breaks the webhook. it does not anymore
2025-06-21 19:28:38 +02:00
Andras Bacsai
f7daddce58
refactor(ui): terminal
2025-06-17 09:28:07 +02:00
Andras Bacsai
87225405a8
refactor(clone-project): enhance server retrieval by including destinations and filtering out build servers
2025-06-16 13:15:40 +02:00
Andras Bacsai
d1d899c0cf
refactor(execute-container-command): simplify connection logic and improve terminal availability checks
2025-06-14 13:56:48 +02:00
Andras Bacsai
64dd648b3f
fix(terminal): now it should work
2025-06-14 13:00:16 +02:00
Andras Bacsai
581151bb11
refactor(resource-operations): filter out build servers from the server list and clean up commented-out code in the resource operations view
2025-06-13 16:49:27 +02:00
Andras Bacsai
d47d2f14f7
refactor(logs): remove unused methods and debug functionality from Logs.php for cleaner code
2025-06-10 10:48:08 +02:00
Andras Bacsai
8e70b2907f
fix(terminal-connection): improve error handling and stability for auto-connection; enhance component readiness checks and retry logic
2025-06-06 21:40:52 +02:00
Andras Bacsai
7df6890920
refactor(terminal-connection): streamline auto-connection logic and improve component readiness checks
2025-06-06 21:34:27 +02:00
Andras Bacsai
ba970d909c
feat(terminal-connection): enhance terminal connection handling with auto-connect feature and improved status messaging
2025-06-06 21:15:50 +02:00
Andras Bacsai
4c887a3126
fix(database-heading): simplify stop database message for clarity
2025-06-05 13:33:02 +02:00
Andras Bacsai
618a7d459c
refactor(logs): enhance container loading logic and improve UI for logs display across various resource types
2025-06-05 13:24:26 +02:00
Andras Bacsai
908c587ea1
refactor(docker-compose): replace hardcoded Docker Compose configuration with external YAML template for improved database detection testing
2025-06-04 11:32:06 +02:00
Andras Bacsai
1704a25a24
fix(previews): escape container names in stopContainers method to prevent shell injection vulnerabilities
2025-06-04 09:11:08 +02:00
Andras Bacsai
32a14b0050
fix(select-component): handle exceptions during parameter retrieval and environment selection in the mount method
2025-06-02 13:02:01 +02:00
Andras Bacsai
ff20cb0b7c
fix(application-configuration): prevent access to preview deployments for deploy_key applications and update menu visibility accordingly
2025-05-30 14:15:07 +02:00
Andras Bacsai
b0e33eb59d
fix(application-management): improve stop messages for application, database, and service to enhance clarity and formatting
2025-05-30 14:04:43 +02:00
Andras Bacsai
200b5cd4fb
refactor(service-management): enhance container stopping logic by implementing parallel processing and removing deprecated methods
2025-05-30 12:56:22 +02:00
Andras Bacsai
9f06e7193e
feat(previews): add force deploy without cache functionality and update deploy method to accept force rebuild parameter
2025-05-30 10:09:13 +02:00
Andras Bacsai
9480fc2b2f
refactor(environment-variables): remove debug logging from bulk submit handling for cleaner code
2025-05-30 09:11:40 +02:00
Andras Bacsai
05a03c44d3
refactor(terminal): enhance terminal connection management and error handling, including improved reconnection logic and cleanup procedures
2025-05-29 14:36:13 +02:00
Andras Bacsai
261a2fe564
feat(ca-certificate): add CA certificate management functionality with UI integration and routing
2025-05-29 14:27:28 +02:00
Andras Bacsai
9d71900952
refactor(terminal-access): streamline resource retrieval and enhance terminal access messaging in UI
2025-05-29 14:26:48 +02:00
Andras Bacsai
46b4cfac68
feat(terminal-access): implement terminal access control for servers and containers, including UI updates and backend logic
2025-05-29 14:09:05 +02:00
Andras Bacsai
58be59a7b3
refactor(service): remove informational dispatch during service stop for cleaner execution
2025-05-29 11:11:49 +02:00
Andras Bacsai
102bdb5bc3
refactor(application): enhance application stopping logic to support multiple servers
2025-05-26 21:44:34 +02:00
Andras Bacsai
be0453d9df
fix: Traefik start on new server validation
...
fix: Multiple server selection ui flow
2025-05-26 21:06:00 +02:00
Andras Bacsai
0603ab13c2
fix(project): update selected environment handling to use environment name instead of UUID
2025-05-22 14:35:31 +02:00
peaklabs-dev
cb41670af9
refactor(ui): show toast when server does not work and on stop
2025-05-20 15:22:13 +02:00
Andras Bacsai
9c3817ee14
fix(deploy): update resource timestamp handling in deploy_resource method
2025-05-20 11:15:31 +02:00
Andras Bacsai
35b08453e1
refactor(service): consolidate configuration change dispatch logic and remove unused navbar component
2025-05-20 11:15:31 +02:00
Andras Bacsai
2424bd408b
Update app/Livewire/Project/Service/Heading.php
...
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-05-20 11:15:07 +02:00
peaklabs-dev
79e620eac5
fix(ui): add back missing service navbar components
2025-05-19 23:35:17 +02:00
Andras Bacsai
786bfa960f
improvement(core): simplify events for app/db/service status changes
2025-05-19 21:50:32 +02:00
Andras Bacsai
daefe28fd8
fix(database): include DatabaseStatusChanged event in activityMonitor dispatch
2025-05-19 13:46:52 +02:00
Andras Bacsai
365bf3cbf0
fix(dev): mount points?!
2025-05-03 09:59:42 +02:00
Andras Bacsai
ed0961e0dc
refactor(database): enhance application conversion logic and add existence checks for databases and applications
2025-04-30 18:30:33 +02:00
Andras Bacsai
0a1a403940
Update app/Livewire/Project/Service/Database.php
...
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-04-30 18:26:43 +02:00
Andras Bacsai
114fafb270
refactor(database): update DB facade usage for consistency across service files
2025-04-30 17:39:41 +02:00
Andras Bacsai
fe24296de7
feat(backup): implement custom database type selection and enhance scheduled backups management
2025-04-30 16:44:44 +02:00
Andras Bacsai
e062edb689
refactor(core): streamline container stopping process and reduce timeout duration; update related methods for consistency
2025-04-30 15:28:59 +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
65be880d70
fix(ui): Change application image validation to be nullable in service application view
2025-04-29 09:23:26 +02:00
Andras Bacsai
d47946a0ad
fix(ui): Disable livewire navigate feature (causing spam of setInterval())
2025-04-29 09:04:24 +02:00
Andras Bacsai
78ef80f800
refactor
2025-04-23 13:22:01 +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
00fe6e9003
refactor(environment-variables): remove protected variable checks from delete methods for cleaner logic
2025-04-22 11:40:35 +02:00
Andras Bacsai
cd2f71b463
feat(deployment): add repository_project_id handling for private GitHub apps and clean up unused Caddy label logic
2025-04-22 10:20:57 +02:00
Christopher Kaster
2634f516d5
feat: Add HTTP Basic Authentication
2025-04-17 14:14:32 +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
ec36825545
feat(SourceManagement): add functionality to change Git source and display current source in the application settings
2025-04-11 18:22:42 +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
Andras Bacsai
68bd945b09
refactor(Application): rename network_aliases to custom_network_aliases across the application for clarity and consistency
2025-04-09 08:42:50 +02:00
Andras Bacsai
f8607ddf6a
Merge branch 'next' into docker-network-aliases
2025-04-08 13:27:59 +02:00
Andras Bacsai
f63415f027
feat(EnvironmentVariable): implement protection for critical environment variables and enhance deletion logic
2025-04-07 22:57:26 +02:00
Andras Bacsai
f31624c6eb
fix(General): change redis_password property to nullable string
2025-04-06 21:13:15 +02:00
Andras Bacsai
d383344ab9
feat(EnvironmentVariable): add handling for Redis credentials in the environment variable component
2025-04-06 21:13:11 +02:00
Andras Bacsai
3176106222
fix(CheckProxy, Status): prevent proxy checks when force_stop is active; remove debug statement in General
2025-04-05 14:32:51 +02:00
Andras Bacsai
fcfd00eebe
feat(application): add SPA configuration and update Nginx generation logic
2025-03-31 15:10:50 +02:00
Andras Bacsai
d6d1c9ad82
feat(database): add CA certificate generation for database servers
2025-03-31 14:02:15 +02:00
Andras Bacsai
7686ebfd6c
refactor(file-storage): add loadStorageOnServer method for improved error handling
2025-03-28 21:05:34 +01:00
Andras Bacsai
3be6be4c1b
refactor(database): require PEM key file for SSL certificate regeneration
2025-03-27 10:02:25 +01:00
Andras Bacsai
1857a54d92
refactor(database): update import statements for Auth in database components
2025-03-26 18:31:42 +01:00
Andras Bacsai
44bf3f4ee3
refactor(database): streamline event listeners in Redis General component
2025-03-26 18:30:52 +01:00
Andras Bacsai
d7ded7f8e5
refactor(database): enhance SSL configuration handling for various databases
2025-03-26 17:24:46 +01:00
Andras Bacsai
5e6c112fcc
feat(github): enhance repository loading and validation in applications
2025-03-24 14:29:17 +01:00
Andras Bacsai
806d892031
refactor(application): streamline healthcheck parsing from Dockerfile
2025-03-24 11:43:10 +01:00
Andras Bacsai
120facfca3
feat(api): unify service creation endpoint and enhance validation
2025-03-21 11:31:17 +01:00
Andras Bacsai
950acffe0b
refactor(database): streamline SSL configuration handling across database types
2025-03-17 15:15:54 +01:00
Andras Bacsai
009cee1bbd
Merge branch 'next' into feat-db-ssl
2025-03-17 15:15:24 +01:00
Andras Bacsai
b8f99bbda0
fix(core): redirect healthcheck route for dockercompose applications
2025-03-17 11:28:43 +01:00
Piotr Wójcik
0baeaa982b
Merge branch 'next' into docker-network-aliases
2025-03-16 14:50:26 +01:00
Andras Bacsai
798aab6955
refactor(ScheduledTask): clean up code formatting and remove unused import
2025-03-14 16:11:41 +01:00
Andras Bacsai
d894c3d903
feat(database): implement two-step confirmation for database deletion
...
Added a new delete method in the Database component that includes a two-step confirmation process requiring the user to enter their password. If two-step confirmation is disabled, the deletion proceeds without password verification. Additionally, a confirmation modal has been integrated into the database view to prompt users before deletion, enhancing the safety of this critical operation.
2025-03-12 16:33:35 +01:00
Andras Bacsai
a7318c2d77
fix(domain): dispatch refreshStatus event after successful domain update
2025-03-12 15:37:06 +01:00
Andras Bacsai
3f62225ec3
refactor(scheduled-tasks): Improve scheduled task creation and management
2025-02-27 13:26:35 +01:00
Andras Bacsai
1e28cf56ac
fix(ui): Correct redirect routes after task deletion
2025-02-27 13:26:24 +01:00
Andras Bacsai
f98c58a0a3
fix(ui): Restrict service retrieval to current team
2025-02-27 12:17:23 +01:00
Andras Bacsai
27e4882d57
feat(core): You can validate compose files with docker compose config
...
fix(core): labels are now accepted with both compose styles
refactor: remove lots of ray's
2025-02-27 11:29:04 +01:00
Andras Bacsai
40ad118492
fix(core): add server functionality check before dispatching container status
2025-02-22 12:51:22 +01:00
peaklabs-dev
225f24e650
chore: improve code quality suggested by code rabbit
2025-02-19 18:04:58 +01:00
🏔️ Peak
9557957f18
Merge branch 'next' into feat-db-ssl
2025-02-19 17:57:59 +01:00
Andras Bacsai
6e802f43ba
fix(core): update service status refresh event handling
2025-02-17 09:52:18 +01:00
Andras Bacsai
a25e2072d3
fix(deployment): improve server selection for deployment cancellation
...
- Add fallback for build server and deployment server selection
- Use `ownedByCurrentTeam()` scope when finding servers
- Handle cases where server IDs might be null
2025-02-12 10:51:26 +01:00
peaklabs-dev
4fdd5679c9
fix(ui): enable SSL is not working correctly for KeyDB
2025-02-11 20:18:42 +01:00
peaklabs-dev
3e95387e10
Full: SSL Support for KeyDB
2025-02-10 21:29:45 +01:00
peaklabs-dev
90e681e24b
feat: Full SSL support for DrangonflyDB
2025-02-10 21:29:20 +01:00
peaklabs-dev
4547647e98
feat(ssl): improve Redis and remove modes
2025-02-10 19:23:39 +01:00
peaklabs-dev
6b6a9f57f3
fix(ui): remove unused mode for MongoDB
2025-02-10 15:26:05 +01:00
peaklabs-dev
484fc5140b
fix(ssl): rename Redis mode to verify-ca as it is not verify-full
2025-02-08 16:43:15 +01:00
🏔️ Peak
c7840bdf1b
Merge branch 'next' into feat-db-ssl
2025-02-07 23:01:46 +01:00
peaklabs-dev
7b30b1aff1
feat(ssl): Full SSL support for Redis
2025-02-07 22:36:36 +01:00
peaklabs-dev
5b347f3d0f
fix(ssl): remove mode selection for MariaDB as it is not supported
2025-02-07 21:07:40 +01:00
peaklabs-dev
bd33f65c0a
feat(ssl): new modes for MongoDB and get caCert and mountPath correctly
2025-02-07 18:31:41 +01:00
peaklabs-dev
62fb2c2877
fix(ssl): ger caCert and mountPath correctly
2025-02-07 18:30:07 +01:00
peaklabs-dev
367eebc9fc
feat: Add full SSL support to MongoDB
2025-02-05 22:56:29 +01:00
peaklabs-dev
951a454cbc
fix(ssl): regenerating certs for a specific DB
...
- fix: add mount path to make file mounts work correctly
- fix: get CA cert of the server not some random cert
2025-02-05 21:22:54 +01:00
peaklabs-dev
e81ed1aad8
feat(ssl): Add full MariaDB SSL support
2025-02-04 21:08:20 +01:00
peaklabs-dev
3f857c6dac
feat(ssl): Add full MySQL SSL Support
2025-02-04 18:29:35 +01:00
peaklabs-dev
3c62130e86
fix(ssl): improve SSL cert file mounts
...
- If SSL is disabled, delete the SSL crt and file mounts in the DB
- If SSL is disabled, delete the SSL folder
- If SSL is enabled, make sure the file mounts are added inside the helper
- remove old file mounts first to make sure the ssl crt content is always up to date and no duplicates are added
2025-02-04 16:34:24 +01:00
Andras Bacsai
d632eb2be9
refactor: simplify service start and restart workflows
2025-02-04 14:34:34 +01:00
Andras Bacsai
8033a89dee
fix(ui): simplify service templates loading logic
2025-02-04 13:30:27 +01:00
peaklabs-dev
fd5b7492f8
chore(ui): improve valid until handling
2025-02-03 23:21:09 +01:00
peaklabs-dev
53510928d2
feat(ssl): regenerate certificate and valid until UI
2025-02-03 22:54:31 +01:00
🏔️ Peak
f871c1067b
Merge branch 'next' into feat-db-ssl
2025-02-03 22:20:51 +01:00
Andras Bacsai
0ff7c468c8
fix(ui): skip SERVICE_FQDN and SERVICE_URL variables during update
2025-02-03 15:44:15 +01:00
Andras Bacsai
83f0f9fca4
fix(core): improve public repository URL parsing for branch and base directory
2025-01-31 18:17:00 +01:00
peaklabs-dev
875d1d49bb
feat(ui): Add ssl settings to Postgres ui
2025-01-29 13:25:05 +01:00
Andras Bacsai
e9fd2d8d6f
feat(core): add dynamic label reset for application settings
2025-01-28 13:38:26 +01:00
Andras Bacsai
1ec15af1ad
fix(database): adjust MongoDB restore command and import view styling
2025-01-28 12:41:22 +01:00
Andras Bacsai
8f1bde2534
fix(core): check cron expression on save
2025-01-28 11:01:50 +01:00
Efthymis Sarmpanis
01b9cbdfea
fix: validate cron expression in Scheduled Task update
2025-01-27 22:50:54 +02:00
Andras Bacsai
fddaf9134d
fix: disable certain parts if readonly label is turned off
2025-01-27 14:05:18 +01:00
peaklabs-dev
ec9f8de873
fix(labels): generate labels when they are empty not when they are already generated
2025-01-23 14:57:18 +01:00
peaklabs-dev
cc640ad710
fix(labels): docker labels do not generated correctly
2025-01-23 12:42:53 +01:00
peaklabs-dev
09d64d4bf6
feat(terminal): show terminal unavailable if the container does not have a shell on the global terminal UI
2025-01-23 11:51:01 +01:00
peaklabs-dev
007e291bef
fix(terminal): terminal shows that it is not available, even though it is
2025-01-23 11:50:06 +01:00
peaklabs-dev
9f3c6b4b76
fix(env): shared variables can not be updated
2025-01-22 17:02:11 +01:00
Andras Bacsai
52a38f238b
fix(redis): update environment variable keys from standalone_redis_id to resourceable_id
2025-01-22 11:54:53 +01:00
peaklabs-dev
31992f4d02
fix(ui):show error on terminal if container has no shell (bash/sh)
2025-01-21 18:36:38 +01:00
Andras Bacsai
4b74ca56c3
feat(core): wip version of coolify.json
2025-01-21 14:09:12 +01:00
Andras Bacsai
57f61d4589
fix: docker image parser
2025-01-20 13:59:02 +01:00
Andras Bacsai
618b89f648
Merge pull request #4842 from peaklabs-dev/docker-cleanup-executions-ui
...
feat: Docker cleanup execution UI and some UI improvements
2025-01-16 21:42:02 +01:00
Andras Bacsai
3c83c7fd6c
Merge pull request #4754 from coollabsio/improve-git-and-service-provider
...
Improves: GitHub handling, AppServiceProvider and 500 error message rendering
2025-01-16 21:09:08 +01:00
🏔️ Peak
11d1a9e6fd
Merge branch 'next' into docker-cleanup-executions-ui
2025-01-16 14:41:23 +01:00
Andras Bacsai
55d61ffaee
fix: add finished_at to app deployment jobs
...
fix: show deployment job running measurements
fix: terminal should not be wire:navigated
2025-01-16 12:05:59 +01:00
🏔️ Peak
e2a9cb61aa
Merge branch 'next' into docker-cleanup-executions-ui
2025-01-16 11:28:09 +01:00
Andras Bacsai
23e7463a40
refactor: update redirect calls to use a consistent navigation method in deployment functions
2025-01-16 11:14:04 +01:00
🏔️ Peak
881914dc86
Merge branch 'next' into docker-cleanup-executions-ui
2025-01-16 11:13:57 +01:00
Andras Bacsai
433dff2684
improve navigation
2025-01-16 11:04:50 +01:00
peaklabs-dev
85f38b7cb5
refactor: improve data formatting and UI
...
- move date and duration functions to a shared function
- remove duplicate code
- redesigned the deployment executions tab
- added start and end times for backups, scheduled tasks, deployments and docker cleanup executions
- calculated the duration for backups, scheduled tasks, deployments and Docker cleanup executions
- redesigned status badges with colors to make it easier to see your current status
- removed dependency on dayjs
- fixed calculation of execution time was sometimes incorrect
2025-01-15 18:35:20 +01:00
Andras Bacsai
d9965fbdbe
fix: wording
2025-01-14 09:22:15 +01:00
Andras Bacsai
b01ea8b46d
Merge pull request #4818 from peaklabs-dev/feat-backup-retention
...
Feat: Improve backup retention (for database backups)
2025-01-14 09:10:33 +01:00
Andras Bacsai
6a8cc0f80d
Merge branch 'next' into fix-cloning
2025-01-14 08:50:22 +01:00
peaklabs-dev
8709a7749b
fix: db without s3 should still backup
2025-01-13 21:26:20 +01:00
peaklabs-dev
e9f691bf45
fix: storage retention setting
...
- feat: add storage retention to local storage as well
- fix: UI input for max storage now allows exact decimals so MB input is now also possible
- fix: Database column is now decimal instead of integer
- fix: variable naming of storage check no longer overwrites $backup - renamed it to $backupExecution
2025-01-13 19:49:12 +01:00
peaklabs-dev
3dfca4e4bd
fix: backup job deletion - delete all backups from s3 and local
2025-01-13 17:31:55 +01:00
peaklabs-dev
c03b629e85
fix: deletion of single backup
2025-01-13 17:21:03 +01:00
peaklabs-dev
a5fadb0536
fix: function calls
2025-01-13 16:54:17 +01:00
peaklabs-dev
a8b77b389a
feat: use new backup deletion functions
2025-01-13 16:38:16 +01:00
Andras Bacsai
dd2d306abc
feat: force deployment of services
...
fix: added advanced ui dropdown to services
2025-01-13 12:03:03 +01:00
peaklabs-dev
43dacd83c9
chore: use the new job dispatch
2025-01-13 11:13:35 +01:00
Andras Bacsai
c4a75f4b87
fix: service update statsu
2025-01-13 11:06:10 +01:00
Andras Bacsai
706602b3a8
Merge pull request #4799 from coollabsio/hotfix
...
Hotfix
2025-01-13 09:33:37 +01:00
🏔️ Peak
0905479c8b
Merge pull request #4767 from peaklabs-dev/fix-backup-executions
...
fix: edge case where backup executions could be null
2025-01-10 20:57:27 +01:00
Andras Bacsai
a396d51452
Merge branch 'next' into hotfix
2025-01-10 20:23:29 +01:00
Andras Bacsai
02400added
fix: horizon job checker
2025-01-10 18:27:48 +01:00
Andras Bacsai
765e1ea04b
feat: add horizon server details to queue
2025-01-10 15:39:22 +01:00
🏔️ Peak
c1504fa5ff
Merge branch 'next' into improve-git-and-service-provider
2025-01-09 21:18:30 +01:00
peaklabs-dev
34873b2c59
feat: volume cloning for ResourceOperations
2025-01-09 14:13:09 +01:00
peaklabs-dev
e01401a4dd
fix: volume and fileStorages cloning
...
- fix: volume naming
- fix: clone file and directory mounts for services
- fix: clone volumes for services
- fix: clone scheduled tasks for service applications
- fix: clone backup schedules for service databases
- feat: clone Volume data for services and applications
2025-01-09 13:49:44 +01:00
peaklabs-dev
3723c84624
feat: docker volume data cloning
...
- UI implementation
- functional implementation for databases - volume gets cloned successfully
2025-01-08 23:13:05 +01:00
peaklabs-dev
249e39ea71
fix: implement all the cloneMe changes for ResourceOperations as well
2025-01-08 17:26:59 +01:00
peaklabs-dev
3868a4c5e6
fix: clone naming for different database data volumes
2025-01-08 17:26:18 +01:00
peaklabs-dev
fc1963f642
chore: remove unused computed fields
2025-01-08 17:08:36 +01:00
peaklabs-dev
259d23d4c6
fix: labels and URL generation when cloning
2025-01-08 17:07:20 +01:00
peaklabs-dev
3d4e8b9867
chore: switch up readonly lables to make more sense
2025-01-08 17:05:11 +01:00
peaklabs-dev
d45e2d18b7
fix: Service and database cloning and label generation
...
Databases:
- clone tags
- clone volumes
- clone file and directory mounts
- clone backup schedules
Services:
- clone tags
- clone scheduled task
- clone environment variables
2025-01-08 16:26:02 +01:00
peaklabs-dev
66d0926142
fix: Undefined variable $fs_path for databases
2025-01-08 16:00:49 +01:00
peaklabs-dev
b77a223ec9
fix: Application cloning
...
- disable URL auto generation
- clone Application settings as well
- clone tags
- clone scheduled tasks
- clone preview deployment settings
- clone file and directory mounts
2025-01-07 20:27:54 +01:00
peaklabs-dev
91e1220912
fix: service cloning on a separate server
...
- To be able to clone a service to a new server we need to set the server_id as well, otherwise it will be cloned on the same server.
2025-01-07 19:26:25 +01:00
peaklabs-dev
d53065967e
fix: exclude system and computed fields from model replication
...
- Remove auto-generated properties (`id`, `created_at` and `updated_at` ) from replicate
- Exclude computed count properties (`additional_servers_count`, `additional_networks_count`) loaded by global scope to prevent errors
2025-01-07 17:18:04 +01:00
Andras Bacsai
1fe4dd722b
Revert "rector: arrrrr"
...
This reverts commit 16c0cd10d8 .
2025-01-07 15:31:43 +01:00
Andras Bacsai
16c0cd10d8
rector: arrrrr
2025-01-07 14:52:08 +01:00
peaklabs-dev
96d2a1a512
fix: edge case where executions could be null
2025-01-07 14:49:04 +01:00
Andras Bacsai
965d656c5b
fix: update import command to append file redirection for database restoration
2025-01-07 14:39:31 +01:00
Andras Bacsai
40d9e05c0b
feat: restore backup from server file
2025-01-07 14:39:31 +01:00
Andras Bacsai
5064fa246e
feat/fix: able to import full db backups for pg/mysql/mariadb
2025-01-07 13:00:41 +01:00
Andras Bacsai
af482f0572
fix: show if only build servers are added to your team
2025-01-07 10:43:21 +01:00
Andras Bacsai
f2b62e93ce
fix: readonly does not exists
...
fix: validate after setting timezone to the new value
2025-01-07 09:29:38 +01:00
peaklabs-dev
2c4bdb76bd
chore: use new functions
2025-01-06 16:58:20 +01:00
Piotr Wojcik
9acde06795
Custom network aliases for Dockerfile and Docker Image apps
2025-01-05 07:47:57 +01:00
Andras Bacsai
c33132d8d9
fix: show backup timezone on the UI
2025-01-03 20:39:27 +01:00
Andras Bacsai
07984ce74f
Merge branch 'next' into fix-postgres-init-scripts
2024-12-18 10:35:16 +01:00
Andras Bacsai
9e3467578f
feat: add environment_uuid support and update API documentation
...
- Introduced `environment_uuid` as a required field in various API endpoints and schemas.
- Updated descriptions to clarify that either `environment_name` or `environment_uuid` must be provided.
- Modified routes and controller methods to accommodate the new UUID parameter.
- Adjusted frontend components to utilize `environment_uuid` for better consistency and clarity.
- Removed deprecated fields related to environment handling.
This change enhances the API's flexibility in identifying environments, improving overall usability.
2024-12-17 13:42:16 +01:00
Andras Bacsai
bf9d89f279
Merge branch 'next' into fix-environement-route
2024-12-17 12:17:50 +01:00
Andras Bacsai
38256af9b3
fix: refactor database view
2024-12-17 12:10:55 +01:00
Andras Bacsai
b7748479d4
fix: service ui structure
2024-12-17 11:13:17 +01:00
Andras Bacsai
2a9d499251
feat: migrate env variables to polymorphic relationship
...
fix: proxy status query ui
2024-12-17 10:38:42 +01:00
Andras Bacsai
e76817d401
improve application view
2024-12-16 14:11:45 +01:00
🏔️ Peak
f8a2d92ea0
Merge branch 'next' into fix-postgres-init-scripts
2024-12-16 12:36:50 +01:00
Andras Bacsai
d58abd1998
refactor
2024-12-16 10:38:18 +01:00
Andras Bacsai
2565deba4f
fix: resource clone name + volume name generation
2024-12-16 10:25:56 +01:00
Andras Bacsai
acf10f39f3
fix: compose loading seq
2024-12-16 10:19:11 +01:00
Andras Bacsai
4901b12279
fix: service status indicator + oauth saving
2024-12-13 12:03:10 +01:00
Andras Bacsai
528bfce832
fix: migration call
2024-12-11 17:09:53 +01:00
🏔️ Peak
12a48a1439
Merge branch 'next' into fix-postgres-init-scripts
2024-12-09 19:50:54 +01:00
Andras Bacsai
664b718ea3
fix: always have download logs button on scheduled tasks
2024-12-09 11:53:50 +01:00
Andras Bacsai
6b936a3e92
feat: able to download schedule task logs
2024-12-09 11:36:39 +01:00
Andras Bacsai
e0aaed892d
Merge branch 'next' into logs-for-tasks
2024-12-09 11:22:00 +01:00
🏔️ Peak
6aa87116e9
Merge branch 'main' into next
2024-12-08 16:17:23 +01:00
Philip Heinser
4b89b84353
paginate task logs
2024-12-08 15:26:51 +07:00
Andras Bacsai
946ab81d87
is_required is not required for shared envs
2024-12-07 14:35:14 +01:00
Andras Bacsai
e67a93e6a5
feat: able to deploy without cache on every commit
2024-12-05 10:46:27 +01:00
🏔️ Peak
7328724f3d
Merge branch 'coollabsio:main' into fix-postgres-init-scripts
2024-12-04 13:15:58 +01:00
Andras Bacsai
51ed798789
add container name validation to terminal
2024-12-04 12:43:41 +01:00
Andras Bacsai
869eaedaf5
revert query logic
2024-12-03 14:02:12 +01:00
Andras Bacsai
d7703efcdc
optimize db query
2024-12-02 13:12:25 +01:00
Andras Bacsai
0d6c21d77b
fix: application view loading
2024-11-27 08:07:54 +01:00
peaklabs-dev
33435a1bdb
Use placeholder and not the Coolify logo if no logo is provided.
2024-11-25 22:08:51 +01:00
Andras Bacsai
504caefb8c
fix: new resource icons
2024-11-25 15:33:42 +01:00
Andras Bacsai
3b427dbbdc
fix: heading
2024-11-23 20:44:27 +01:00
peaklabs-dev
bde895b6cd
fix scheduled task url
2024-11-22 16:08:27 +01:00
peaklabs-dev
277fd78769
new uuid routes
2024-11-22 16:03:20 +01:00
peaklabs-dev
5a8bff5e96
Update Heading.php
2024-11-22 15:53:11 +01:00
peaklabs-dev
9630efce67
uuid deplyment
2024-11-22 15:52:36 +01:00
peaklabs-dev
5f1adc98d8
fix environment select
2024-11-22 15:45:46 +01:00
peaklabs-dev
4c21807b7a
navigate to environment via uuid
2024-11-22 15:38:54 +01:00
peaklabs-dev
b1dc8dec88
fix preselect environment if there is only one
2024-11-22 15:30:17 +01:00
peaklabs-dev
e776302a25
use new route for dash and project
2024-11-22 15:28:06 +01:00
Andras Bacsai
7dc65dfd79
fix: make sure important jobs/actions are running on high prio queue
2024-11-22 11:16:01 +01:00
Andras Bacsai
469e009600
Merge pull request #4287 from peaklabs-dev/fix-backups
...
Fix: Backups
2024-11-15 10:49:48 +01:00
Andras Bacsai
fba1242213
Merge pull request #4288 from retrymp3/XSS-vuln-fix
2024-11-14 22:01:24 +01:00
retrymp3
e66e59048f
Fix for the XSS vulnerability
2024-11-14 23:00:30 +05:30
peaklabs-dev
4cc4e28f29
fix clear frequency on exit and error
2024-11-14 18:27:06 +01:00
peaklabs-dev
67bd06d4f2
fix s3 is always set to true if you make an error like invalid cron
2024-11-14 18:25:04 +01:00
peaklabs-dev
b282c1f3ed
fix backup job without s3 can not be added
2024-11-14 18:20:26 +01:00
Andras Bacsai
33183ab344
fix: fallback to local coolify.png
2024-11-14 13:12:27 +01:00
Andras Bacsai
a77ed93695
fix: if service img not found, use github as a source
2024-11-14 13:04:51 +01:00
Andras Bacsai
b379e50d90
feat: custom nginx configuration for static deployments + fix 404 redirects in nginx conf
2024-11-11 14:37:36 +01:00
peaklabs-dev
78a96b4efe
fix validate import is missing
2024-11-08 15:10:08 +01:00
Andras Bacsai
c7daa32e21
ui fix
2024-11-08 11:48:15 +01:00
Andras Bacsai
a9832e2783
Merge pull request #3949 from peaklabs-dev/fix-project-deletion
...
Fix: Projects can be deleted with resources
2024-11-07 13:43:56 +01:00
Andras Bacsai
e86d9e3ca2
mariadb desc is too long
2024-11-07 12:32:30 +01:00
Andras Bacsai
376a2341af
refactor scheduled task job (and related stuffs)
2024-11-07 11:09:38 +01:00
Andras Bacsai
a0dd1fbfb1
fix
2024-11-05 12:30:04 +01:00
Andras Bacsai
a07605205e
refactor application advanced view
2024-11-05 12:28:33 +01:00
Andras Bacsai
9b578b2003
do not use Rule (deprecated), changed to Validate
2024-11-05 09:36:40 +01:00
Andras Bacsai
bf29dd4789
fix: keydb view
2024-11-04 14:33:44 +01:00
Andras Bacsai
431c67e9b1
fix: sort servers by name
2024-11-04 14:33:10 +01:00