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

Fix TokenGiven stories for Asana

Summary: Ref T6201. This isn't quite perfect but should be good enough. At some point far in the future I plan to revamp feed rendering a bit. This should possibly become a real ApplicationTransaction story eventually, too.

Test Plan: {F211777}

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T6201

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

+9
+9
src/applications/tokens/feed/PhabricatorTokenGivenFeedStory.php
··· 53 53 return $title; 54 54 } 55 55 56 + public function renderAsTextForDoorkeeper( 57 + DoorkeeperFeedStoryPublisher $publisher) { 58 + // TODO: This is slightly wrong, as it does not respect implied context 59 + // on the publisher, so it will always say "awarded D123 a token" when it 60 + // should sometimes say "awarded this revision a token". 61 + return $this->renderText(); 62 + } 63 + 64 + 56 65 }