Commit Graph
5 Commits
Author SHA1 Message Date
Michał Fox 5c57b63d00 Validate upload size against the node limit before uploading (#7305)
the file manager only found out a file was over the node's upload limit
after sending the whole thing. the client server resource now exposes
the node's `upload_size` and `useFileUploader` rejects bigger files
before any bytes go out. added `useFileUploader.spec.tsx`, the api
fixtures have the new field.
2026-11-11 12:34:47 -05:00
robert dennis e71c2c1e22 upload drop check 2026-10-20 15:30:15 -04:00
Haseeb d9c303f951 Fix file upload detection (#7299)
Files with an empty MIME type were incorrectly rejected as folders when
their size was 0 or exactly 4096 bytes. One matching file also blocked
the entire upload batch.
This removes the MIME type and size heuristic from `useFileUploader` and
checks dropped items using `webkitGetAsEntry()` instead. Actual
directories remain rejected when the browser provides directory entry
information.
2026-10-19 15:06:19 -04:00
robert dennis cceaa535b8 lint cleanup 2026-10-08 16:54:59 -04:00
6c0413e39b Start 2.0 development
Co-authored-by: Anthony <anthony@infraly.co>
Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
2026-10-05 18:10:18 -04:00