1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 07:42:40 +01:00
phorge-phorge/src/applications/badges
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 Spelling fix 2017-04-25 12:19:27 -07:00
capability Have Badges use getMostOpenPolicy for View 2015-07-24 11:03:43 -07:00
conduit Prevent use of the "quality" constraint in the Badge search API 2017-03-09 12:26:58 -08:00
constants Converting badge quality property from color to an integer representation for later sorting purposes 2016-03-30 17:28:34 -07:00
controller Remove needRecipients and needAwards from Badges 2017-03-03 08:41:58 -08:00
editor Use object PHIDs for "Thread-Topic" headers in mail 2018-02-08 06:21:00 -08:00
icon Add more icon choices to Badges 2017-03-03 13:45:53 -08:00
lipsum Prevent use of the "quality" constraint in the Badge search API 2017-03-09 12:26:58 -08:00
mail Add MAILTAGs to Badges 2015-07-25 13:34:43 -07:00
phid Add PhabricatorBadgeArchiveController 2015-12-09 13:29:03 -08:00
query Allow searching for Badge Awards by Badge status 2017-03-15 12:44:01 -07:00
storage Remove needRecipients and needAwards from Badges 2017-03-03 08:41:58 -08:00
typeahead First stab at a badges typeahead 2016-04-11 10:33:07 -07:00
view Fix two typos ("Adminstrator", "Recipents") 2017-03-12 14:23:43 -07:00
xaction Fix a transposed feed story in Badges 2018-01-16 13:57:01 -08:00