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

Add tokens to Macro

Summary: A foolish consistency is the hobgoblin of little minds, adored by little statesmen and philosophers and divines.

Test Plan: Award a token to a macro.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

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

+12
+1
src/__phutil_library_map__.php
··· 5924 5924 'PhabricatorSubscribableInterface', 5925 5925 'PhabricatorApplicationTransactionInterface', 5926 5926 'PhabricatorFlaggableInterface', 5927 + 'PhabricatorTokenReceiverInterface', 5927 5928 'PhabricatorPolicyInterface', 5928 5929 ), 5929 5930 'PhabricatorFileImageTransform' => 'PhabricatorFileTransform',
+11
src/applications/macro/storage/PhabricatorFileImageMacro.php
··· 5 5 PhabricatorSubscribableInterface, 6 6 PhabricatorApplicationTransactionInterface, 7 7 PhabricatorFlaggableInterface, 8 + PhabricatorTokenReceiverInterface, 8 9 PhabricatorPolicyInterface { 9 10 10 11 protected $authorPHID; ··· 116 117 117 118 public function shouldAllowSubscription($phid) { 118 119 return true; 120 + } 121 + 122 + 123 + /* -( PhabricatorTokenRecevierInterface )---------------------------------- */ 124 + 125 + 126 + public function getUsersToNotifyOfTokenGiven() { 127 + return array( 128 + $this->getAuthorPHID(), 129 + ); 119 130 } 120 131 121 132