Andras Bacsai
f152ec00ad
fix: Detect read-only Docker volumes with long-form syntax and enable refresh
...
- Fixed isReadOnlyVolume() to detect both short-form (:ro) and long-form (read_only: true) Docker Compose volume syntax
- Fixed path matching to use mount_path only (fs_path is transformed during parsing from ./file to absolute path)
- Added "Load from server" button for read-only volumes to allow users to refresh content
- Changed loadStorageOnServer() authorization from 'update' to 'view' since loading is a read operation
- Added helper text to Content field warning users that content may be outdated
- Applied fixes to both LocalFileVolume and LocalPersistentVolume models
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-11 14:18:58 +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
Andras Bacsai
b4cfb78f86
feat(storage): add read-only volume handling and UI notifications
...
- Introduced `isReadOnlyVolume` method in `LocalFileVolume` and `LocalPersistentVolume` models to determine if a volume is read-only based on Docker Compose configuration.
- Updated `FileStorage` and `Show` components to set `isReadOnly` state during mounting.
- Enhanced UI to display notifications for read-only volumes, preventing modification actions in the interface.
- Refactored file storage and directory management forms to conditionally enable or disable actions based on read-only status.
2025-10-03 20:05:43 +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
7686ebfd6c
refactor(file-storage): add loadStorageOnServer method for improved error handling
2025-03-28 21:05:34 +01:00
Andras Bacsai
1fe4dd722b
Revert "rector: arrrrr"
...
This reverts commit 16c0cd10d8 .
2025-01-07 15:31:43 +01:00
Andras Bacsai
16c0cd10d8
rector: arrrrr
2025-01-07 14:52:08 +01: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
b570ccd7d3
format
2024-09-23 19:51:31 +02:00
Andras Bacsai
5ec45d547a
Merge branch 'next' into fix-#2546-deletion-issues
2024-09-18 18:05:06 +02:00
ayntk-ai
fc3c69f687
Feat: more conformations and fixes
2024-09-05 17:54:32 +02:00
Andras Bacsai
7d7cdf41f7
fix: storages with preserved git repository
2024-08-21 14:31:17 +02:00
Andras Bacsai
0e54ed1343
feat: preserve git repository with advanced file storages
2024-08-12 16:06:24 +02:00
Andras Bacsai
ea5101c814
fix: file storages (dir/file mount) handled properly
2024-08-05 20:00:57 +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
035e145cd1
feat: add more persistent storage types
2024-05-27 14:14:44 +02:00
Andras Bacsai
d62b471afe
Refactor dispatch event names to use snake_case in General.php, FileStorage.php, Storage.php, All.php, and Show.php
2024-04-17 11:32:35 +02:00
Andras Bacsai
85b33a60b3
feat: can edit file/dir volumes from ui in compose based apps
2024-04-15 19:47:17 +02:00
Andras Bacsai
c6844ff47a
Add keydb, dragonfly and clickhouse
2024-04-10 15:00:46 +02:00
Andras Bacsai
c7218f2856
Update success messages
2024-02-22 14:53:42 +01:00
Andras Bacsai
73e64d9052
fix: file volume creation
...
fix: network_mode host compose
2024-02-14 15:00:24 +01:00
Andras Bacsai
718603e37e
wip: migrate to livewire 3
2023-12-07 19:06:32 +01:00