Add a "Comment content" field to Herald
commit1f7c736f9ab6a155632a2a8ad014ce4b994ff8bd
authorepriestley <git@epriestley.com>
Fri, 16 Oct 2020 20:19:38 +0000 (16 13:19 -0700)
committerepriestley <git@epriestley.com>
Fri, 16 Oct 2020 20:42:56 +0000 (16 13:42 -0700)
treeeac87d5e1b438e933d5cd4082b6427f78852951d
parent0f27cd46ccadb2522babca5c5ab18ab26a3b5dbc
Add a "Comment content" field to Herald

Summary: Ref T13583. To improve support for making it harder to improperly mix data retention policies, allow Herald to act on comment content.

Test Plan:
  - Wrote comment content Herald rules in Maniphest and Differential.
  - Submitted non-matching comments (no action) and matching comments (Herald action).
  - In Differential, triggered rules by submitting non-matching main content and a matching inline comment.

Maniphest Tasks: T13583

Differential Revision: https://secure.phabricator.com/D21479
src/__phutil_library_map__.php
src/applications/herald/field/HeraldCommentContentField.php [new file with mode: 0644]