@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.

Show repository in Differential emails

Summary: Ref T5137. Listing the repository in Differential emails makes it easy to filter.

Test Plan: Eye-ball it.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: young_hwi, epriestley, Korvin

Maniphest Tasks: T5137

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

+22
+22
src/applications/differential/customfield/DifferentialRepositoryField.php
··· 143 143 return $this->renderHandleList($handles); 144 144 } 145 145 146 + public function shouldAppearInTransactionMail() { 147 + return true; 148 + } 149 + 150 + public function updateTransactionMailBody( 151 + PhabricatorMetaMTAMailBody $body, 152 + PhabricatorApplicationTransactionEditor $editor, 153 + array $xactions) { 154 + 155 + if (!$editor->getDiffUpdateTransaction($xactions)) { 156 + return; 157 + } 158 + 159 + $repository = $this->getObject()->getRepository(); 160 + if ($repository === null) { 161 + return; 162 + } 163 + 164 + $body->addTextSection(pht('REPOSITORY'), 165 + $repository->getMonogram().' '.$repository->getName()); 166 + } 167 + 146 168 }