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
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
d6eefe7491
fix(database): update label for image input field to improve clarity
2025-04-30 16:43:48 +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
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
97aab8ba28
feat: show warning if people would like to use sslip with https
2024-10-20 22:26:30 +02:00
Andras Bacsai
f35b7ab6f4
Update labels for database accessibility in blade files
2024-04-11 08:55:11 +02:00
Andras Bacsai
89cc4d1df4
Update database URL label to include IP and PORT (public)
2024-03-25 12:36:04 +01:00
Andras Bacsai
7c580f898c
fix: public service database
2024-03-25 12:13:43 +01: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
718603e37e
wip: migrate to livewire 3
2023-12-07 19:06:32 +01:00
Andras Bacsai
3b20eee909
feat: enable/disable log drain by service
2023-11-17 20:08:21 +01:00
Andras Bacsai
61e1fdede9
feat: make service databases public
2023-11-09 14:59:38 +01:00
Andras Bacsai
f0abdcc2da
okay, now it is way better
2023-09-27 12:45:53 +02:00
Andras Bacsai
3eb628b773
fix: containerstatusjob
2023-09-26 15:07:33 +02:00
Andras Bacsai
fabb97330a
puh, fixes
2023-09-26 14:45:52 +02:00
Andras Bacsai
0fbc382467
feat: image tag for services
2023-09-25 17:51:04 +02:00
Andras Bacsai
0b11093d18
feat: services
2023-09-25 15:48:43 +02:00
Andras Bacsai
58522b59b7
- package updates
...
- feat: service fixes
- ui: help menu
2023-09-25 12:49:55 +02:00
Andras Bacsai
67078fdc71
wip: services
...
feat: able to map port<->domain
2023-09-22 14:47:25 +02:00
Andras Bacsai
c91f426af3
wip: services
2023-09-22 12:08:51 +02:00
Andras Bacsai
53d1fa0331
wip: ui for services
2023-09-22 11:23:49 +02:00