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

Expose the commit/task/revision relationship edges to "edge.search"

Summary: Fixes T12480.

Test Plan: {F4465908}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12480

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

+74
+13
src/applications/differential/edge/DifferentialRevisionHasCommitEdgeType.php
··· 12 12 return true; 13 13 } 14 14 15 + public function getConduitKey() { 16 + return 'revision.commit'; 17 + } 18 + 19 + public function getConduitName() { 20 + return pht('Revision Has Commit'); 21 + } 22 + 23 + public function getConduitDescription() { 24 + return pht( 25 + 'The source revision is associated with the destination commit.'); 26 + } 27 + 15 28 public function getTransactionAddString( 16 29 $actor, 17 30 $add_count,
+12
src/applications/differential/edge/DifferentialRevisionHasTaskEdgeType.php
··· 12 12 return true; 13 13 } 14 14 15 + public function getConduitKey() { 16 + return 'revision.task'; 17 + } 18 + 19 + public function getConduitName() { 20 + return pht('Revision Has Task'); 21 + } 22 + 23 + public function getConduitDescription() { 24 + return pht('The source revision is associated with the destination task.'); 25 + } 26 + 15 27 public function getTransactionAddString( 16 28 $actor, 17 29 $add_count,
+13
src/applications/diffusion/edge/DiffusionCommitHasRevisionEdgeType.php
··· 12 12 return true; 13 13 } 14 14 15 + public function getConduitKey() { 16 + return 'commit.revision'; 17 + } 18 + 19 + public function getConduitName() { 20 + return pht('Commit Has Revision'); 21 + } 22 + 23 + public function getConduitDescription() { 24 + return pht( 25 + 'The source commit is associated with the destination revision.'); 26 + } 27 + 15 28 }
+12
src/applications/diffusion/edge/DiffusionCommitHasTaskEdgeType.php
··· 12 12 return ManiphestTaskHasCommitEdgeType::EDGECONST; 13 13 } 14 14 15 + public function getConduitKey() { 16 + return 'commit.task'; 17 + } 18 + 19 + public function getConduitName() { 20 + return pht('Commit Has Task'); 21 + } 22 + 23 + public function getConduitDescription() { 24 + return pht('The source commit is associated with the destination task.'); 25 + } 26 + 15 27 public function getTransactionAddString( 16 28 $actor, 17 29 $add_count,
+12
src/applications/maniphest/edge/ManiphestTaskHasCommitEdgeType.php
··· 12 12 return DiffusionCommitHasTaskEdgeType::EDGECONST; 13 13 } 14 14 15 + public function getConduitKey() { 16 + return 'task.commit'; 17 + } 18 + 19 + public function getConduitName() { 20 + return pht('Task Has Commit'); 21 + } 22 + 23 + public function getConduitDescription() { 24 + return pht('The source task is associated with the destination commit.'); 25 + } 26 + 15 27 public function getTransactionAddString( 16 28 $actor, 17 29 $add_count,
+12
src/applications/maniphest/edge/ManiphestTaskHasRevisionEdgeType.php
··· 12 12 return true; 13 13 } 14 14 15 + public function getConduitKey() { 16 + return 'task.revision'; 17 + } 18 + 19 + public function getConduitName() { 20 + return pht('Task Has Revision'); 21 + } 22 + 23 + public function getConduitDescription() { 24 + return pht('The source task is associated with the destination revision.'); 25 + } 26 + 15 27 public function getTransactionAddString( 16 28 $actor, 17 29 $add_count,