1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-02 03:32:42 +01:00
phorge-phorge/src/applications/herald/field
epriestley e5fe4dffe1 Add a "Published document changed" rule to Herald for Phriction documents
Summary: Depends on D20519. Ref T13283. See PHI1202. Add a new rule which triggers when the current/most-recent transaction group includes a "content" or "publish" transaction, which means the published document content has changed.

Test Plan:
  - Wrote a Herald rule using this field.
  - Created a document (rule matched).
  - Edited a document (rule matched).
  - Edited a document, saving as a draft (no match).
  - Edited a draft, updating it (no match).
  - Published a draft docuemnt (rule matched).

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13283

Differential Revision: https://secure.phabricator.com/D20520
2019-05-16 10:40:52 -07:00
..
__tests__ Add a trivial test case for HeraldField 2015-07-07 23:05:03 +10:00
rule Add "Content type" and "Rule type" fields to Herald rules for Herald rules 2018-04-25 06:54:48 -07:00
HeraldActingUserField.php Add an "Acting user" field to Herald 2018-02-08 09:52:18 -08:00
HeraldAlwaysField.php Group and order Herald fields 2015-07-16 14:13:13 -07:00
HeraldAnotherRuleField.php Correct rendering of "Another Herald Rule" conditions in Herald 2015-07-24 10:57:03 -07:00
HeraldBasicFieldGroup.php Group and order Herald fields 2015-07-16 14:13:13 -07:00
HeraldContentSourceField.php Modularize content sources 2016-03-26 11:59:45 -07:00
HeraldDeprecatedFieldGroup.php Mark the "Reviewer" field for Commits as deprecated 2018-01-26 11:07:02 -08:00
HeraldEditFieldGroup.php Group and order Herald fields 2015-07-16 14:13:13 -07:00
HeraldField.php Add a "Published document changed" rule to Herald for Phriction documents 2019-05-16 10:40:52 -07:00
HeraldFieldGroup.php Use getPhobjectClassConstant() to access class constants 2015-10-01 16:56:21 -07:00
HeraldNewObjectField.php Group and order Herald fields 2015-07-16 14:13:13 -07:00
HeraldRelatedFieldGroup.php Group and order Herald fields 2015-07-16 14:13:13 -07:00
HeraldSupportFieldGroup.php Group and order Herald fields 2015-07-16 14:13:13 -07:00
HeraldTransactionsFieldGroup.php Add a "Published document changed" rule to Herald for Phriction documents 2019-05-16 10:40:52 -07:00