Andras Bacsai
abb568c600
fix: bypass port validation when saving advanced checkboxes
...
Add instantSaveSettings() method to save gzip, stripprefix, and
exclude_from_status checkboxes without triggering port validation modal.
These settings don't require domain/port validation.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-12-01 13:39:15 +01:00
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
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
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
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
2b84ce841b
refactor(ui): remove unnecessary step3ButtonText attributes from modal confirmation components for cleaner code
2025-06-30 09:15:23 +02:00
Andras Bacsai
90817914d9
refactor(ui): separate views for instance settings to separate paths to make it cleaner
2025-06-30 08:50:17 +02:00
Andras Bacsai
3cd2405b5d
fix(ui): update padding for trademarks policy and enhance spacing in advanced settings section
2025-06-25 13:12:15 +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
1c804a7409
fix(ui): Remove required attribute from image input in service application view
2025-04-29 09:23:03 +02:00
Andras Bacsai
b84d39ba56
refactor: Update confirmation button text for deletion actions
2024-09-23 08:58:04 +02:00
ayntk-ai
fc3c69f687
Feat: more conformations and fixes
2024-09-05 17:54:32 +02:00
Duarte OC
930a611374
Fix domains example
2024-04-18 18:20:51 +02:00
Andras Bacsai
a66090b594
ui + package updates
2024-03-25 10:41:44 +01:00
Andras Bacsai
b5775ff9d2
ui ui ui ui ui ui ux ux ux ux ux ux
2024-03-21 12:44:32 +01:00
Andras Bacsai
8385bbb0a0
feat: gzip enabled & stipprefix setting
...
refactor: code
2024-03-04 10:46:13 +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