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

at recaptime-dev/main 38 lines 953 B view raw
1<?php 2 3final class PhamePostListController extends PhamePostController { 4 5 public function shouldAllowPublic() { 6 return true; 7 } 8 9 public function handleRequest(AphrontRequest $request) { 10 $query_key = $request->getURIData('queryKey'); 11 $controller = id(new PhabricatorApplicationSearchController()) 12 ->setQueryKey($query_key) 13 ->setSearchEngine(new PhamePostSearchEngine()) 14 ->setNavigation($this->buildSideNavView()); 15 16 return $this->delegateToController($controller); 17 } 18 19 public function buildSideNavView() { 20 $viewer = $this->getRequest()->getUser(); 21 22 $nav = new AphrontSideNavFilterView(); 23 $nav->setBaseURI(new PhutilURI($this->getApplicationURI())); 24 25 id(new PhamePostSearchEngine()) 26 ->setViewer($viewer) 27 ->addNavigationItems($nav->getMenu()); 28 29 $nav->addLabel(pht('Blogs')); 30 $nav->addFilter('blog/', pht('Manage Blogs')); 31 32 $nav->selectFilter(null); 33 34 return $nav; 35 } 36 37 38}