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/transactions/engineextension
epriestley 1bf64e5cbc Add Differential and Herald mail stamps and some refinements
Summary:
Ref T13053. Adds revision stamps (status, reviewers, etc). Adds Herald rule stamps, like the existing X-Herald-Rules header.

Removes the "self" stamps, since you can just write a rule against `whatever(@epriestley)` equivalently. If there's routing logic around this, it can live in the routing layer. This avoids tons of self-actor, self-mention, self-reviewer, self-blocking-reviewer, self-resigned-reviewer, etc., stamps.

Use `natcasesort()` instead of `sort()` so that numeric values (like monograms) sort `9, 80, 700` instead of `700, 80, 9`.

Remove the commas from rendering since they don't really add anything.

Test Plan: Edited tasks and revisions, looked at mail stamps, saw stamps that looked pretty reasonable (with no more self stuff, no more commas, sorting numbers, and Herald stamps).

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13053

Differential Revision: https://secure.phabricator.com/D18997
2018-02-06 04:06:07 -08:00
..
PhabricatorApplicationObjectMailEngineExtension.php Add basic support for mail "stamps" to improve client mail routing 2018-02-06 04:04:13 -08:00
PhabricatorCommentEditEngineExtension.php Organize bulk edit actions into nice groups 2018-01-19 13:22:25 -08:00
PhabricatorEditEngineExtension.php Organize bulk edit actions into nice groups 2018-01-19 13:22:25 -08:00
PhabricatorEditEngineExtensionModule.php Redesign Config Application 2016-08-29 15:49:49 -07:00
PhabricatorEditorMailEngineExtension.php Add Differential and Herald mail stamps and some refinements 2018-02-06 04:06:07 -08:00
PhabricatorSubtypeEditEngineExtension.php Make bulk edit <select /> fields a little more natrual and set options for subtype transactions 2018-01-19 13:17:28 -08:00
PhabricatorTransactionsDestructionEngineExtension.php Fully modularize DestructionEngine 2015-12-21 17:03:44 -08:00
PhabricatorTransactionsFulltextEngineExtension.php Allow the fulltext index to select only transactions with comments 2017-09-28 12:55:23 -07:00