Andras Bacsai
bcd225bd22
feat: Implement required port validation for service applications
...
- Added `requiredPort` property to `ServiceApplicationView` to track the required port for services.
- Introduced modal confirmation for removing required ports, including methods to confirm or cancel the action.
- Enhanced `Service` model with `getRequiredPort` and `requiresPort` methods to retrieve port information from service templates.
- Implemented `extractPortFromUrl` method in `ServiceApplication` to extract port from FQDN URLs.
- Updated frontend views to display warnings when required ports are missing from domains.
- Created unit tests for service port validation and extraction logic, ensuring correct behavior for various scenarios.
- Added feature tests for Livewire component handling of domain submissions with required ports.
2025-11-06 14:32:36 +01:00
Andras Bacsai
26bbf94d66
fix: update syncData method to use data_get for safer property access
2025-11-04 10:51:46 +01:00
Andras Bacsai
faa62dec57
refactor: Remove SynchronizesModelData trait and implement syncData method for model synchronization
2025-11-04 09:18:05 +01:00
Andras Bacsai
e2c254a5a8
Changes auto-committed by Conductor
2025-10-16 17:08:08 +02:00
Andras Bacsai
f77ad4cbd9
Complete Livewire legacy model binding migration (25+ components)
...
This completes the migration from Livewire's legacy `id="model.property"`
pattern to explicit properties with manual synchronization. This allows
disabling the `legacy_model_binding` feature flag.
**Components Migrated (Final Session - 9 components):**
- Server/Proxy.php (1 field)
- Service/EditDomain.php (1 field) - Fixed Collection/string bug & parent sync
- Application/Previews.php (2 fields - array handling)
- Service/EditCompose.php (4 fields)
- Service/FileStorage.php (6 fields)
- Service/Database.php (7 fields)
- Service/ServiceApplicationView.php (10 fields)
- Application/General.php (53 fields) - LARGEST migration
- Application/PreviewsCompose.php (1 field)
**Total Migration Summary:**
- 25+ components migrated across all phases
- 150+ explicit properties added
- 0 legacy bindings remaining (verified via grep)
- All wire:model, id, @entangle bindings updated
- All updater hooks renamed (updatedApplicationX → updatedX)
**Technical Changes:**
- Added explicit public properties (camelCase)
- Implemented syncData(bool $toModel) bidirectional sync
- Updated validation rules (removed model. prefix)
- Updated all action methods (mount, submit, instantSave)
- Fixed updater hooks: updatedBuildPack, updatedBaseDirectory, updatedIsStatic
- Updated Blade views (id & wire:model bindings)
- Applied Collection/string confusion fixes
- Added model refresh + re-sync pattern
**Critical Fixes:**
- EditDomain.php Collection/string confusion (use intermediate variables)
- EditDomain.php parent component sync (refresh + re-sync after save)
- General.php domain field empty (syncData at end of mount)
- General.php wire:model bindings (application.* → property)
- General.php updater hooks (wrong naming convention)
**Files Modified:** 34 files
- 17 PHP Livewire components
- 17 Blade view templates
- 1 MIGRATION_REPORT.md (documentation)
**Ready to disable legacy_model_binding flag in config/livewire.php**
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-13 15:38:59 +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
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
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
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
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
peaklabs-dev
ff60189285
fix 2 step confirmation password is now checked if it is enabled
2024-10-24 16:20:01 +02:00
peaklabs-dev
6dfe6a8142
fix disable tow step confirmation when there is a password
2024-10-22 12:29:48 +02:00
Andras Bacsai
97aab8ba28
feat: show warning if people would like to use sslip with https
2024-10-20 22:26:30 +02:00
Andras Bacsai
b75c2dc604
pint
2024-10-17 22:08:23 +02:00
Andras Bacsai
24eaa2c9b2
fix: sanitize and validate application domains
2024-10-11 10:14:27 +02:00
Andras Bacsai
98e744e808
refactor: Update Docker cleanup label in Heading.php and Navbar.php
2024-09-19 10:27:44 +02:00
ayntk-ai
fc3c69f687
Feat: more conformations and fixes
2024-09-05 17:54:32 +02:00
Thijmen
d86274cc37
Fix styling
2024-06-10 20:43:34 +00:00
Andras Bacsai
8bf0561009
Refactor code for domain usage and validation
2024-04-08 12:15:44 +02:00
Andras Bacsai
b63aaad645
Update warning message for multiple domains in ServiceApplicationView.php
2024-04-08 11:16:25 +02:00
Andras Bacsai
c223408c3c
Add updatedApplicationFqdn method to ServiceApplicationView
2024-04-05 15:59:59 +02:00
Andras Bacsai
db5d7857c8
fix: warning if you use multiple domains for a service
2024-04-02 15:15:43 +02:00
Andras Bacsai
8b7e1e4169
Refactor code and update UI components
2024-03-22 11:34:15 +01:00
Andras Bacsai
c20aa0b256
Refactor method names to use camel case
2024-03-04 11:01:14 +01:00
Andras Bacsai
8385bbb0a0
feat: gzip enabled & stipprefix setting
...
refactor: code
2024-03-04 10:46:13 +01:00
Andras Bacsai
c7218f2856
Update success messages
2024-02-22 14:53:42 +01:00
Andras Bacsai
45e404b15b
feat: disable gzip compression on service applications
2024-02-15 20:44:01 +01:00
Andras Bacsai
49f5240ff8
fix: better server validation and installation process
...
fix: add destination to queue deployment
feat: force start deployment
2024-02-05 14:40:54 +01:00