Page MenuHomePhabricator

Add filesize limits for document rendering engines and support partial/complete rendering
ClosedPublic

Authored by epriestley on Mar 19 2018, 7:40 PM.
Tags
None
Referenced Files
F18921717: D19239.id46063.diff
Nov 9 2025, 2:36 PM
F18862449: D19239.id.diff
Nov 2 2025, 7:23 PM
F18848843: D19239.diff
Oct 30 2025, 6:34 AM
F18798593: D19239.id.diff
Oct 17 2025, 7:06 AM
F18772559: D19239.diff
Oct 9 2025, 3:06 AM
F18764928: D19239.diff
Oct 7 2025, 8:38 AM
F18509455: D19239.id.diff
Sep 5 2025, 3:25 AM
F18502426: D19239.diff
Sep 4 2025, 10:26 PM
Subscribers
None

Details

Summary

Depends on D19238. Ref T13105. Give document engines some reasonable automatic support for degrading gracefully when someone tries to hexdump a 100MB file or similar.

Also, make "Video" sort above "Audio" for files which could be rendered either way.

Test Plan

Viewed audio, video, image, and other files. Adjusted limits and saw full, partial, and fallback/error rendering.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Mar 19 2018, 10:18 PM
This revision was automatically updated to reflect the committed changes.