1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 03:12:41 +01:00
phorge-phorge/src/applications/owners
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 Give Owners packages the "O" monogram 2016-05-13 17:18:15 -07:00
capability Give Owners real view and edit policies 2016-02-15 11:56:35 -08:00
conduit Formally deprecate owners.query Conduit API method 2016-04-20 09:04:45 -07:00
config Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
controller Separate button CSS classes 2017-06-05 20:14:34 +00:00
customfield Fix errors found by PHPStan 2017-02-17 10:10:15 +00:00
editor Use object PHIDs for "Thread-Topic" headers in mail 2018-02-08 06:21:00 -08:00
engineextension Search and Replace calls to setShade 2017-05-22 18:59:53 +00:00
lipsum Add an owners package generator for Lipsum 2017-02-27 09:11:04 -08:00
mail Build separate mail for each recipient, honoring recipient access levels 2015-06-03 18:59:31 -07:00
phid Add more mail stamps: tasks, subscribers, projects, spaces 2018-02-06 04:05:46 -08:00
query Support Ferret engine in Owners 2017-09-07 13:23:46 -07:00
remarkup Give Owners packages the "O" monogram 2016-05-13 17:18:15 -07:00
search Support Ferret engine in Owners 2017-09-07 13:23:46 -07:00
searchfield Flesh out Conduit parmeter types for maniphest.search 2015-12-14 04:24:01 -08:00
storage Fix an issue with attempting to index comments on packages 2017-10-20 09:38:45 -07:00
typeahead Allow "O42" to find packages by monogram in Owners typeaheads 2017-01-04 15:08:37 -08:00
xaction Allow transactions to specialize their mail headers for diff sections 2016-11-07 12:16:39 -08:00