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