@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 Releeph "Project" PHID type to "Product"

Summary: Ref T3549.

Test Plan: `grep`, loaded some pages

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T3549

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

+9 -9
+2 -2
src/__phutil_library_map__.php
··· 2531 2531 'ReleephLevelFieldSpecification' => 'applications/releeph/field/specification/ReleephLevelFieldSpecification.php', 2532 2532 'ReleephOriginalCommitFieldSpecification' => 'applications/releeph/field/specification/ReleephOriginalCommitFieldSpecification.php', 2533 2533 'ReleephPHIDTypeBranch' => 'applications/releeph/phid/ReleephPHIDTypeBranch.php', 2534 - 'ReleephPHIDTypeProject' => 'applications/releeph/phid/ReleephPHIDTypeProject.php', 2534 + 'ReleephPHIDTypeProduct' => 'applications/releeph/phid/ReleephPHIDTypeProduct.php', 2535 2535 'ReleephPHIDTypeRequest' => 'applications/releeph/phid/ReleephPHIDTypeRequest.php', 2536 2536 'ReleephProductActionController' => 'applications/releeph/controller/project/ReleephProductActionController.php', 2537 2537 'ReleephProductController' => 'applications/releeph/controller/project/ReleephProductController.php', ··· 5527 5527 'ReleephLevelFieldSpecification' => 'ReleephFieldSpecification', 5528 5528 'ReleephOriginalCommitFieldSpecification' => 'ReleephFieldSpecification', 5529 5529 'ReleephPHIDTypeBranch' => 'PhabricatorPHIDType', 5530 - 'ReleephPHIDTypeProject' => 'PhabricatorPHIDType', 5530 + 'ReleephPHIDTypeProduct' => 'PhabricatorPHIDType', 5531 5531 'ReleephPHIDTypeRequest' => 'PhabricatorPHIDType', 5532 5532 'ReleephProductActionController' => 'ReleephProductController', 5533 5533 'ReleephProductController' => 'ReleephController',
+5 -5
src/applications/releeph/phid/ReleephPHIDTypeProject.php src/applications/releeph/phid/ReleephPHIDTypeProduct.php
··· 1 1 <?php 2 2 3 - final class ReleephPHIDTypeProject extends PhabricatorPHIDType { 3 + final class ReleephPHIDTypeProduct extends PhabricatorPHIDType { 4 4 5 5 const TYPECONST = 'REPR'; 6 6 ··· 9 9 } 10 10 11 11 public function getTypeName() { 12 - return pht('Releeph Project'); 12 + return pht('Releeph Product'); 13 13 } 14 14 15 15 public function newObject() { ··· 30 30 array $objects) { 31 31 32 32 foreach ($handles as $phid => $handle) { 33 - $project = $objects[$phid]; 33 + $product = $objects[$phid]; 34 34 35 - $handle->setName($project->getName()); 36 - $handle->setURI($project->getURI()); 35 + $handle->setName($product->getName()); 36 + $handle->setURI($product->getURI()); 37 37 } 38 38 } 39 39
+1 -1
src/applications/releeph/storage/ReleephProductTransaction.php
··· 10 10 } 11 11 12 12 public function getApplicationTransactionType() { 13 - return ReleephPHIDTypeProject::TYPECONST; 13 + return ReleephPHIDTypeProduct::TYPECONST; 14 14 } 15 15 16 16 public function getColor() {
+1 -1
src/applications/releeph/storage/ReleephProject.php
··· 33 33 } 34 34 35 35 public function generatePHID() { 36 - return PhabricatorPHID::generateNewPHID(ReleephPHIDTypeProject::TYPECONST); 36 + return PhabricatorPHID::generateNewPHID(ReleephPHIDTypeProduct::TYPECONST); 37 37 } 38 38 39 39 public function getDetail($key, $default = null) {