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

Rename ReleephProjectQuery to ReleephProductQuery

Summary: Ref T3549.

Test Plan: grep/lint

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T3549

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

+13 -13
+2 -2
src/__phutil_library_map__.php
··· 2540 2540 'ReleephProductEditor' => 'applications/releeph/editor/ReleephProductEditor.php', 2541 2541 'ReleephProductHistoryController' => 'applications/releeph/controller/project/ReleephProductHistoryController.php', 2542 2542 'ReleephProductListController' => 'applications/releeph/controller/project/ReleephProductListController.php', 2543 + 'ReleephProductQuery' => 'applications/releeph/query/ReleephProductQuery.php', 2543 2544 'ReleephProductSearchEngine' => 'applications/releeph/query/ReleephProductSearchEngine.php', 2544 2545 'ReleephProductTransaction' => 'applications/releeph/storage/ReleephProductTransaction.php', 2545 2546 'ReleephProductTransactionQuery' => 'applications/releeph/query/ReleephProductTransactionQuery.php', 2546 2547 'ReleephProductViewController' => 'applications/releeph/controller/project/ReleephProductViewController.php', 2547 2548 'ReleephProject' => 'applications/releeph/storage/ReleephProject.php', 2548 - 'ReleephProjectQuery' => 'applications/releeph/query/ReleephProjectQuery.php', 2549 2549 'ReleephReasonFieldSpecification' => 'applications/releeph/field/specification/ReleephReasonFieldSpecification.php', 2550 2550 'ReleephRequest' => 'applications/releeph/storage/ReleephRequest.php', 2551 2551 'ReleephRequestActionController' => 'applications/releeph/controller/request/ReleephRequestActionController.php', ··· 5540 5540 0 => 'ReleephController', 5541 5541 1 => 'PhabricatorApplicationSearchResultsControllerInterface', 5542 5542 ), 5543 + 'ReleephProductQuery' => 'PhabricatorCursorPagedPolicyAwareQuery', 5543 5544 'ReleephProductSearchEngine' => 'PhabricatorApplicationSearchEngine', 5544 5545 'ReleephProductTransaction' => 'PhabricatorApplicationTransaction', 5545 5546 'ReleephProductTransactionQuery' => 'PhabricatorApplicationTransactionQuery', ··· 5553 5554 0 => 'ReleephDAO', 5554 5555 1 => 'PhabricatorPolicyInterface', 5555 5556 ), 5556 - 'ReleephProjectQuery' => 'PhabricatorCursorPagedPolicyAwareQuery', 5557 5557 'ReleephReasonFieldSpecification' => 'ReleephFieldSpecification', 5558 5558 'ReleephRequest' => 5559 5559 array(
+1 -1
src/applications/releeph/conduit/ConduitAPI_releeph_getbranches_Method.php
··· 24 24 protected function execute(ConduitAPIRequest $request) { 25 25 $results = array(); 26 26 27 - $projects = id(new ReleephProjectQuery()) 27 + $projects = id(new ReleephProductQuery()) 28 28 ->setViewer($request->getUser()) 29 29 ->withActive(1) 30 30 ->execute();
+1 -1
src/applications/releeph/controller/branch/ReleephBranchCreateController.php
··· 12 12 $request = $this->getRequest(); 13 13 $viewer = $request->getUser(); 14 14 15 - $product = id(new ReleephProjectQuery()) 15 + $product = id(new ReleephProductQuery()) 16 16 ->setViewer($viewer) 17 17 ->withIDs(array($this->productID)) 18 18 ->requireCapabilities(
+1 -1
src/applications/releeph/controller/project/ReleephProductActionController.php
··· 14 14 $request = $this->getRequest(); 15 15 $viewer = $request->getUser(); 16 16 17 - $product = id(new ReleephProjectQuery()) 17 + $product = id(new ReleephProductQuery()) 18 18 ->withIDs(array($this->id)) 19 19 ->requireCapabilities( 20 20 array(
+1 -1
src/applications/releeph/controller/project/ReleephProductEditController.php
··· 12 12 $request = $this->getRequest(); 13 13 $viewer = $request->getUser(); 14 14 15 - $product = id(new ReleephProjectQuery()) 15 + $product = id(new ReleephProductQuery()) 16 16 ->setViewer($viewer) 17 17 ->withIDs(array($this->productID)) 18 18 ->needArcanistProjects(true)
+1 -1
src/applications/releeph/controller/project/ReleephProductHistoryController.php
··· 16 16 $request = $this->getRequest(); 17 17 $viewer = $request->getUser(); 18 18 19 - $product = id(new ReleephProjectQuery()) 19 + $product = id(new ReleephProductQuery()) 20 20 ->setViewer($viewer) 21 21 ->withIDs(array($this->id)) 22 22 ->executeOne();
+1 -1
src/applications/releeph/controller/project/ReleephProductViewController.php
··· 19 19 $request = $this->getRequest(); 20 20 $viewer = $request->getUser(); 21 21 22 - $product = id(new ReleephProjectQuery()) 22 + $product = id(new ReleephProductQuery()) 23 23 ->setViewer($viewer) 24 24 ->withIDs(array($this->productID)) 25 25 ->executeOne();
+1 -1
src/applications/releeph/phid/ReleephPHIDTypeProduct.php
··· 20 20 PhabricatorObjectQuery $query, 21 21 array $phids) { 22 22 23 - return id(new ReleephProjectQuery()) 23 + return id(new ReleephProductQuery()) 24 24 ->withPHIDs($phids); 25 25 } 26 26
+1 -1
src/applications/releeph/query/ReleephBranchQuery.php
··· 56 56 public function willFilterPage(array $branches) { 57 57 $project_ids = mpull($branches, 'getReleephProjectID'); 58 58 59 - $projects = id(new ReleephProjectQuery()) 59 + $projects = id(new ReleephProductQuery()) 60 60 ->withIDs($project_ids) 61 61 ->setViewer($this->getViewer()) 62 62 ->execute();
+2 -2
src/applications/releeph/query/ReleephProductSearchEngine.php
··· 12 12 } 13 13 14 14 public function buildQueryFromSavedQuery(PhabricatorSavedQuery $saved) { 15 - $query = id(new ReleephProjectQuery()) 16 - ->setOrder(ReleephProjectQuery::ORDER_NAME) 15 + $query = id(new ReleephProductQuery()) 16 + ->setOrder(ReleephProductQuery::ORDER_NAME) 17 17 ->needArcanistProjects(true); 18 18 19 19 $active = $saved->getParameter('active');
+1 -1
src/applications/releeph/query/ReleephProjectQuery.php src/applications/releeph/query/ReleephProductQuery.php
··· 1 1 <?php 2 2 3 - final class ReleephProjectQuery 3 + final class ReleephProductQuery 4 4 extends PhabricatorCursorPagedPolicyAwareQuery { 5 5 6 6 private $active;