coolify/resources/views/livewire/project
Andras Bacsai eaaf258f25 fix(service): block UI editing of file volumes exceeding 5 MiB
Large host files mounted via Docker volumes caused the storages page to
become unusable — full file content was stored in the encrypted mediumText
column and serialised into the Livewire payload, crashing the browser.

- Add MAX_CONTENT_SIZE (5 MiB), BINARY_PLACEHOLDER, and TOO_LARGE_PLACEHOLDER
  constants to LocalFileVolume
- Check remote file size via stat/wc before cat in loadStorageOnServer and
  saveStorageOnServer; store placeholder instead of content when limit exceeded
- Expose is_too_large computed attribute (appended for Livewire serialisation)
- Guard submit, instantSave, and syncData in FileStorage Livewire component
- Truncate oversized content in Storage::refreshStorages to prevent payload bloat
- Show distinct warning banner in file-storage blade; mark textarea readonly and
  hide Save/Convert buttons for too-large files
- Add unit tests covering constants, computed flags, and toArray serialisation

Fixes #4701
2026-04-28 22:36:56 +02:00
..
application fix(logs): disable auto-scroll on user scroll-up, re-enable on scroll-to-bottom 2026-04-28 10:33:08 +02:00
database fix(validation): allow decimals for database backups max storage 2026-04-25 22:27:26 +05:30
new chore(swarm): mark docker swarm as deprecated 2026-04-17 23:41:39 +02:00
resource refactor(breadcrumb): optimize queries and simplify state management 2026-03-20 00:02:18 +01:00
service fix(service): block UI editing of file volumes exceeding 5 MiB 2026-04-28 22:36:56 +02:00
shared fix(logs): disable auto-scroll on user scroll-up, re-enable on scroll-to-bottom 2026-04-28 10:33:08 +02:00
add-empty.blade.php feat(ui): Upgrade to Tailwind v4 (#5710) 2025-05-14 12:43:23 +02:00
clone-me.blade.php refactor(ui): enhance project cloning interface with improved table layout for server and resource selection 2025-07-01 11:34:44 +02:00
delete-environment.blade.php refactor: Update confirmation button text for deletion actions 2024-09-23 08:58:04 +02:00
delete-project.blade.php refactor: Update confirmation button text for deletion actions 2024-09-23 08:58:04 +02:00
edit.blade.php refactor: simplify project data retrieval and enhance OAuth settings handling 2025-10-27 17:03:19 +01:00
environment-edit.blade.php Add toggleable wire:navigate SPA navigation with prefetching 2025-12-17 12:09:13 +01:00
index.blade.php fix: optimize queries and caching for projects and environments 2026-01-16 11:51:26 +01:00
show.blade.php Add toggleable wire:navigate SPA navigation with prefetching 2025-12-17 12:09:13 +01:00