Page MenuHomePhabricator

Improve rules for embedding files received via email
ClosedPublic

Authored by epriestley on Apr 1 2015, 12:42 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 20, 6:23 AM
Unknown Object (File)
Thu, Dec 19, 11:44 PM
Unknown Object (File)
Tue, Dec 17, 12:37 AM
Unknown Object (File)
Nov 19 2024, 1:15 PM
Unknown Object (File)
Oct 14 2024, 10:31 PM
Unknown Object (File)
Oct 14 2024, 10:27 PM
Unknown Object (File)
Oct 14 2024, 10:26 PM
Unknown Object (File)
Oct 14 2024, 10:24 PM
Subscribers

Details

Summary

Ref T7199. Ref T7712. This improves the file rules for email:

  • Embed visible images as thumbnails.
  • Put all other file types in a nice list.

This "fixes" an issue caused by the opposite of the problem described in T7712 -- files being dropped if the default ruleset is too restrictive. T7712 is the real solution here, but use a half-measure for now.

Test Plan
  • Sent mail with two non-images and two images.
  • Got a nice list of non-images and embeds of images.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Improve rules for embedding files received via email.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Apr 1 2015, 3:06 PM
This revision was automatically updated to reflect the committed changes.