@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 Audit actions for "transaction.search" in a basic way

Summary: Ref T13210. See PHI841. This mirrors D19509 for Differential.

Test Plan: Called `transaction.search` on a commit with a bunch of audit activity, got appropriate labels in the results.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13210

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

+32
+8
src/applications/diffusion/xaction/DiffusionCommitAcceptTransaction.php
··· 70 70 $this->renderObject()); 71 71 } 72 72 73 + public function getTransactionTypeForConduit($xaction) { 74 + return 'accept'; 75 + } 76 + 77 + public function getFieldValuesForConduit($object, $data) { 78 + return array(); 79 + } 80 + 73 81 }
+8
src/applications/diffusion/xaction/DiffusionCommitConcernTransaction.php
··· 76 76 $this->renderObject()); 77 77 } 78 78 79 + public function getTransactionTypeForConduit($xaction) { 80 + return 'concern'; 81 + } 82 + 83 + public function getFieldValuesForConduit($object, $data) { 84 + return array(); 85 + } 86 + 79 87 }
+8
src/applications/diffusion/xaction/DiffusionCommitResignTransaction.php
··· 63 63 $this->renderObject()); 64 64 } 65 65 66 + public function getTransactionTypeForConduit($xaction) { 67 + return 'resign'; 68 + } 69 + 70 + public function getFieldValuesForConduit($object, $data) { 71 + return array(); 72 + } 73 + 66 74 }
+8
src/applications/diffusion/xaction/DiffusionCommitVerifyTransaction.php
··· 68 68 $this->renderObject()); 69 69 } 70 70 71 + public function getTransactionTypeForConduit($xaction) { 72 + return 'request-verification'; 73 + } 74 + 75 + public function getFieldValuesForConduit($object, $data) { 76 + return array(); 77 + } 78 + 71 79 }