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

Remove leading whitespace if no prefix is configured for Asana sync

Summary: Ref T2852. If the prefix is removed by configuration, we'll incorrectly leave a leading space. Trim any leading whitespace off.

Test Plan: Ran `bin/feed republish` to sync an object to Asana

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T2852

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

+2 -2
+1 -1
src/applications/differential/doorkeeper/DifferentialDoorkeeperRevisionFeedStoryPublisher.php
··· 51 51 52 52 $title = $object->getTitle(); 53 53 54 - return "{$prefix} {$lines} D{$id}: {$title}"; 54 + return ltrim("{$prefix} {$lines} D{$id}: {$title}"); 55 55 } 56 56 57 57 public function getObjectURI($object) {
+1 -1
src/applications/diffusion/doorkeeper/DiffusionDoorkeeperCommitFeedStoryPublisher.php
··· 112 112 113 113 $title = $object->getSummary(); 114 114 115 - return "{$prefix} {$name}: {$title}"; 115 + return ltrim("{$prefix} {$name}: {$title}"); 116 116 } 117 117 118 118 public function getObjectURI($object) {