1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +01:00

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
This commit is contained in:
epriestley 2018-10-25 04:58:06 -07:00
parent 61ec434208
commit 65e953658a
4 changed files with 32 additions and 0 deletions

View file

@ -70,4 +70,12 @@ final class DiffusionCommitAcceptTransaction
$this->renderObject());
}
public function getTransactionTypeForConduit($xaction) {
return 'accept';
}
public function getFieldValuesForConduit($object, $data) {
return array();
}
}

View file

@ -76,4 +76,12 @@ final class DiffusionCommitConcernTransaction
$this->renderObject());
}
public function getTransactionTypeForConduit($xaction) {
return 'concern';
}
public function getFieldValuesForConduit($object, $data) {
return array();
}
}

View file

@ -63,4 +63,12 @@ final class DiffusionCommitResignTransaction
$this->renderObject());
}
public function getTransactionTypeForConduit($xaction) {
return 'resign';
}
public function getFieldValuesForConduit($object, $data) {
return array();
}
}

View file

@ -68,4 +68,12 @@ final class DiffusionCommitVerifyTransaction
$this->renderObject());
}
public function getTransactionTypeForConduit($xaction) {
return 'request-verification';
}
public function getFieldValuesForConduit($object, $data) {
return array();
}
}