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

Allow XHPAST to be viewed public

Summary: Ref T4830. Not sure this //should// be public (consume resources?)

Test Plan: View logged out.

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T4830

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

+16
+4
src/applications/phpast/controller/PhabricatorXHPASTViewFrameController.php
··· 5 5 6 6 private $id; 7 7 8 + public function shouldAllowPublic() { 9 + return true; 10 + } 11 + 8 12 public function willProcessRequest(array $data) { 9 13 $this->id = $data['id']; 10 14 }
+4
src/applications/phpast/controller/PhabricatorXHPASTViewFramesetController.php
··· 5 5 6 6 private $id; 7 7 8 + public function shouldAllowPublic() { 9 + return true; 10 + } 11 + 8 12 public function willProcessRequest(array $data) { 9 13 $this->id = $data['id']; 10 14 }
+4
src/applications/phpast/controller/PhabricatorXHPASTViewPanelController.php
··· 6 6 private $id; 7 7 private $storageTree; 8 8 9 + public function shouldAllowPublic() { 10 + return true; 11 + } 12 + 9 13 public function willProcessRequest(array $data) { 10 14 $this->id = $data['id']; 11 15 $this->storageTree = id(new PhabricatorXHPASTViewParseTree())
+4
src/applications/phpast/controller/PhabricatorXHPASTViewTreeController.php
··· 3 3 final class PhabricatorXHPASTViewTreeController 4 4 extends PhabricatorXHPASTViewPanelController { 5 5 6 + public function shouldAllowPublic() { 7 + return true; 8 + } 9 + 6 10 public function processRequest() { 7 11 $storage = $this->getStorageTree(); 8 12 $input = $storage->getInput();