@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Make new EditEngine Audit transactions apply old mail tags

Summary: Ref T10978. Until T10448 makes mail tags modular, keep the old tags working.

Test Plan: Made some commit edits, ran `bin/phd debug task` to process mail for them.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10978

Differential Revision: https://secure.phabricator.com/D17190

+12
+12
src/applications/audit/storage/PhabricatorAuditTransaction.php
··· 438 438 public function getMailTags() { 439 439 $tags = array(); 440 440 switch ($this->getTransactionType()) { 441 + case DiffusionCommitAcceptTransaction::TRANSACTIONTYPE: 442 + $tags[] = self::MAILTAG_ACTION_ACCEPT; 443 + break; 444 + case DiffusionCommitConcernTransaction::TRANSACTIONTYPE: 445 + $tags[] = self::MAILTAG_ACTION_CONCERN; 446 + break; 447 + case DiffusionCommitResignTransaction::TRANSACTIONTYPE: 448 + $tags[] = self::MAILTAG_ACTION_RESIGN; 449 + break; 450 + case DiffusionCommitAuditorsTransaction::TRANSACTIONTYPE: 451 + $tags[] = self::MAILTAG_ADD_AUDITORS; 452 + break; 441 453 case PhabricatorAuditActionConstants::ACTION: 442 454 switch ($this->getNewValue()) { 443 455 case PhabricatorAuditActionConstants::CONCERN: