coolify/resources/views
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
..
auth test: add Pest browser testing with SQLite :memory: schema 2026-02-11 15:25:47 +01:00
components fix(helper): add Alpine.js click toggle to info helper popup 2026-04-26 12:55:34 +02:00
emails feat(security): support expiration on API tokens with warning notifications 2026-04-20 14:28:38 +02:00
errors chore: prepare for PR 2026-03-03 12:37:06 +01:00
invitation refactor: split invitation endpoint into GET (show) and POST (accept) 2026-03-26 14:30:27 +01:00
layouts fix(forms): use Alpine state for password visibility toggles 2026-03-29 20:47:36 +02:00
livewire fix(service): block UI editing of file volumes exceeding 5 MiB 2026-04-28 22:36:56 +02:00
server fix: server validation process 2023-10-09 11:00:18 +02:00
source Add toggleable wire:navigate SPA navigation with prefetching 2025-12-17 12:09:13 +01:00
vendor/mail Update version numbers and fix UI styling 2024-03-25 16:42:41 +01:00