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

Add arcanist project phid to differential.query

Summary: Fixes T3535. Also, flip flop on that spacing thing and make the spaces purdy

Test Plan: got an arcanist projected phid in the json dict

Reviewers: epriestley

Reviewed By: epriestley

CC: Korvin, epriestley, aran

Maniphest Tasks: T3535

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

+20 -19
+20 -19
src/applications/differential/conduit/ConduitAPI_differential_query_Method.php
··· 202 202 $auxiliary_fields = $this->loadAuxiliaryFields( 203 203 $revision, $request->getUser()); 204 204 $result = array( 205 - 'id' => $id, 206 - 'phid' => $revision->getPHID(), 207 - 'title' => $revision->getTitle(), 208 - 'uri' => PhabricatorEnv::getProductionURI('/D'.$id), 209 - 'dateCreated' => $revision->getDateCreated(), 210 - 'dateModified' => $revision->getDateModified(), 211 - 'authorPHID' => $revision->getAuthorPHID(), 212 - 'status' => $revision->getStatus(), 213 - 'statusName' => 205 + 'id' => $id, 206 + 'phid' => $revision->getPHID(), 207 + 'title' => $revision->getTitle(), 208 + 'uri' => PhabricatorEnv::getProductionURI('/D'.$id), 209 + 'dateCreated' => $revision->getDateCreated(), 210 + 'dateModified' => $revision->getDateModified(), 211 + 'authorPHID' => $revision->getAuthorPHID(), 212 + 'status' => $revision->getStatus(), 213 + 'statusName' => 214 214 ArcanistDifferentialRevisionStatus::getNameForRevisionStatus( 215 215 $revision->getStatus()), 216 - 'branch' => $diff->getBranch(), 217 - 'summary' => $revision->getSummary(), 218 - 'testPlan' => $revision->getTestPlan(), 219 - 'lineCount' => $revision->getLineCount(), 220 - 'diffs' => $revision->getDiffIDs(), 221 - 'commits' => $revision->getCommitPHIDs(), 222 - 'reviewers' => array_values($revision->getReviewers()), 223 - 'ccs' => array_values($revision->getCCPHIDs()), 224 - 'hashes' => $revision->getHashes(), 225 - 'auxiliary' => $auxiliary_fields, 216 + 'branch' => $diff->getBranch(), 217 + 'summary' => $revision->getSummary(), 218 + 'testPlan' => $revision->getTestPlan(), 219 + 'lineCount' => $revision->getLineCount(), 220 + 'diffs' => $revision->getDiffIDs(), 221 + 'commits' => $revision->getCommitPHIDs(), 222 + 'reviewers' => array_values($revision->getReviewers()), 223 + 'ccs' => array_values($revision->getCCPHIDs()), 224 + 'hashes' => $revision->getHashes(), 225 + 'auxiliary' => $auxiliary_fields, 226 + 'arcanistProjectPHID' => $diff->getArcanistProjectPHID() 226 227 ); 227 228 228 229 // TODO: This is a hacky way to put permissions on this field until we