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

Missing verb in StoryPhriction renderText

Test Plan: Get feed.query with a Phriction story

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

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

authored by

John Watson and committed by
epriestley
d67b42dc 38626dce

+5 -1
+2 -1
src/applications/feed/conduit/ConduitAPI_feed_query_Method.php
··· 22 22 'filterPHIDs' => 'optional list <phid>', 23 23 'limit' => 'optional int (default '.$this->getDefaultLimit().')', 24 24 'after' => 'optional int', 25 - 'view' => 'optional string (data, html, html-summary)', 25 + 'view' => 'optional string (data, html, html-summary, text)', 26 26 ); 27 27 } 28 28 ··· 31 31 'html' => 'Full HTML presentation of story', 32 32 'data' => 'Dictionary with various data of the story', 33 33 'html-summary' => 'Story contains only the title of the story', 34 + 'text' => 'Simple one-line plain text representation of story', 34 35 ); 35 36 } 36 37
+3
src/applications/feed/story/PhabricatorFeedStoryPhriction.php
··· 51 51 $document_title = $document_handle->getLinkName(); 52 52 $document_uri = PhabricatorEnv::getURI($document_handle->getURI()); 53 53 54 + $action = $this->getValue('action'); 55 + $verb = PhrictionActionConstants::getActionPastTenseVerb($action); 56 + 54 57 $text = "{$author_name} {$verb} the document". 55 58 "{$document_title} {$document_uri}"; 56 59