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
ShadowArcanist
eab9f91879
Fixed incorrect proxy config file path on ui
2025-09-21 20:20:32 +05:30
Andras Bacsai
1ca94b90da
fix(proxy): replace CheckConfiguration with GetProxyConfiguration and SaveConfiguration with SaveProxyConfiguration for improved clarity and consistency in proxy management
2025-09-09 12:52:19 +02:00
Andras Bacsai
3ffc751f1a
feat(auth): implement authorization checks for server updates across multiple components
...
- Added authorization checks using the `authorize` method in various Livewire components to ensure only authorized users can update server settings.
- Updated `ServerPolicy` to restrict update permissions to admin users and their respective teams.
- Enhanced security and access control for server management functionalities.
2025-08-22 13:02:11 +02:00
Andras Bacsai
ffaa2917d5
fix(ui): enhance status refresh buttons with loading indicators
2025-06-24 13:34:56 +02:00
Andras Bacsai
9ad2304229
refactor(proxy): streamline proxy status handling and improve dashboard availability checks
2025-06-11 12:02:39 +02:00
Andras Bacsai
1cdc01194b
feat(proxy-dashboard): implement ProxyDashboardCacheService to manage Traefik dashboard cache; clear cache on configuration changes and proxy actions
2025-06-06 19:18:32 +02:00
Andras Bacsai
2576e868b5
feat(navbar): add Traefik dashboard availability check and server IP handling; refactor dynamic configurations loading
2025-06-06 18:50:32 +02:00
Andras Bacsai
ddcb14500d
refactor(proxy-status): refactored how the proxy status is handled on the UI and on the backend
...
feat(cloudflare): improved cloudflare tunnel automated installation
2025-06-06 14:47:54 +02:00
Andras Bacsai
1886347b55
fix: proxy change behaviour
2024-12-06 14:08:37 +01:00
Kael
bc89b84539
Merge branch 'next' into feat/disable-default-redirect
2024-11-18 21:02:20 +11:00
Andras Bacsai
055c613ba5
feat: add proxy type change to create/update apis
2024-11-12 14:30:05 +01:00
Kael
1408bc58fb
Merge branch 'next' into feat/disable-default-redirect
2024-11-01 16:52:09 +11:00
Lucas Michot
8e1444eaa7
Get rid of many useless blank lines
2024-10-31 17:44:01 +01:00
Kael
b997b7393b
feat: allow disabling default redirect, set status to 503
2024-10-11 02:44:52 +11:00
Andras Bacsai
f65789bdbb
fix: proxy status
2024-09-19 12:32:56 +02:00
Andras Bacsai
0b000919cf
feat: able to generate only the required labels for resources
2024-08-07 18:27:50 +02:00
Andras Bacsai
2c92cc40e1
refactor: Update code to use str() instead of Str::of() for string manipulation
2024-06-25 10:37:10 +02:00
Thijmen
d86274cc37
Fix styling
2024-06-10 20:43:34 +00:00
Andras Bacsai
4d181eef8e
Refactor proxy type retrieval in Server and Proxy classes
2024-03-12 12:45:55 +01:00
Andras Bacsai
b576014d07
fix: reload caddy issue
2024-03-12 10:42:56 +01:00
Andras Bacsai
cee6b54033
Add proxy start functionality when selecting a proxy type
2024-03-04 10:42:54 +01:00
Andras Bacsai
62278126e4
fixes
2024-03-04 09:12:23 +01:00
Andras Bacsai
22431eee9a
fix: change proxy view
2024-01-16 11:32:56 +01:00
Andras Bacsai
718603e37e
wip: migrate to livewire 3
2023-12-07 19:06:32 +01:00