1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 01:32:42 +01:00
phorge-phorge/src/applications/phame
epriestley f090fa7426 Use object PHIDs for "Thread-Topic" headers in mail
Summary:
Depends on D19009. Ref T13053. For "Must Encrypt" mail, we must currently strip the "Thread-Topic" header because it sometimes contains sensitive information about the object.

I don't actually know if this header is useful or anyting uses it. My understanding is that it's an Outlook/Exchange thing, but we also implement "Thread-Index" which I think is what Outlook/Exchange actually look at. This header may have done something before we implemented "Thread-Index", or maybe never done anything. Or maybe older versions of Excel/Outlook did something with it and newer versions don't, or do less. So it's possible that an even better fix here would be to simply remove this, but I wasn't able to convince myself of that after Googling for 10 minutes and I don't think it's worth hours of installing Exchange/Outlook to figure out. Instead, I'm just trying to simplify our handling of this header for now, and maybe some day we'll learn more about Exchange/Outlook and can remove it.

In a number of cases we already use the object monogram or PHID as a "Thread-Topic" without users ever complaining, so I think that if this header is useful it probably isn't shown to users, or isn't shown very often (e.g., only in a specific "conversation" sub-view?). Just use the object PHID (which should be unique and stable) as a thread-topic, everywhere, automatically.

Then allow this header through for "Must Encrypt" mail.

Test Plan: Processed some local mail, saw object PHIDs for "Thread-Topic" headers.

Reviewers: amckinley

Maniphest Tasks: T13053

Differential Revision: https://secure.phabricator.com/D19012
2018-02-08 06:21:00 -08:00
..
application Update menu item names for Applications -> Favorites 2017-09-05 19:05:03 -07:00
capability Add Can Create Policy Capability to Phame Blogs 2015-11-08 07:00:18 -08:00
conduit Provide phame.post.edit Conduit API method 2015-12-28 06:55:35 -08:00
constants Ability to archive Phame Posts 2016-06-13 10:47:53 -07:00
controller Fix fatal on logged out Phame Post 2017-08-25 08:47:59 -07:00
editor Use object PHIDs for "Thread-Topic" headers in mail 2018-02-08 06:21:00 -08:00
herald Define available Herald rule repetition options in terms of "isSingleEventAdapter()" 2018-01-26 11:02:35 -08:00
mail Use CommentEditEngine in PhamePost 2016-07-06 12:28:59 -07:00
phid Use CommentEditEngine in PhamePost 2016-07-06 12:28:59 -07:00
query Support Ferret engine in Phame 2017-09-07 13:24:07 -07:00
remarkup Use CommentEditEngine in PhamePost 2016-07-06 12:28:59 -07:00
search Support Ferret engine in Phame 2017-09-07 13:24:07 -07:00
site Allow custom Sites to have custom 404 controllers 2016-11-30 15:25:09 -08:00
storage Fix a couple of other missing getApplicationTransactionCommentObject() implementations 2017-10-24 09:05:23 -07:00
typeahead Improve PhamePost search options 2016-06-30 12:56:28 -07:00
view Improve some Phame custom domain remarkup and link behaviors 2016-06-02 06:28:06 -07:00
xaction Fix fatal on logged out Phame Post 2017-08-25 08:47:59 -07:00