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

Allow Tokens on Badge

Summary: Might as well for consistency.

Test Plan: Given a token to a badge.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

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

+11
+1
src/__phutil_library_map__.php
··· 5391 5391 'PhabricatorPolicyInterface', 5392 5392 'PhabricatorApplicationTransactionInterface', 5393 5393 'PhabricatorSubscribableInterface', 5394 + 'PhabricatorTokenReceiverInterface', 5394 5395 'PhabricatorFlaggableInterface', 5395 5396 'PhabricatorDestructibleInterface', 5396 5397 ),
+10
src/applications/badges/storage/PhabricatorBadgesBadge.php
··· 5 5 PhabricatorPolicyInterface, 6 6 PhabricatorApplicationTransactionInterface, 7 7 PhabricatorSubscribableInterface, 8 + PhabricatorTokenReceiverInterface, 8 9 PhabricatorFlaggableInterface, 9 10 PhabricatorDestructibleInterface { 10 11 ··· 187 188 public function shouldAllowSubscription($phid) { 188 189 return true; 189 190 } 191 + 192 + 193 + /* -( PhabricatorTokenReceiverInterface )---------------------------------- */ 194 + 195 + 196 + public function getUsersToNotifyOfTokenGiven() { 197 + return array($this->getCreatorPHID()); 198 + } 199 + 190 200 191 201 192 202 /* -( PhabricatorDestructibleInterface )----------------------------------- */