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

Update various hard-coded URIs

Summary: Fixes T7918. Update hard-coded ApplicationSearch URIs for parameterized typeaheads.

Test Plan: Found all these links and clicked 'em. Probably.

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T7918

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

+7 -11
+3 -5
src/applications/home/controller/PhabricatorHomeMainController.php
··· 148 148 } 149 149 150 150 $href = urisprintf( 151 - '/maniphest/?statuses=%s&priorities=%s#R', 152 - implode(',', ManiphestTaskStatus::getOpenStatusConstants()), 151 + '/maniphest/?statuses=open()&priorities=%s#R', 153 152 $unbreak_now); 154 153 $title = pht('Unbreak Now!'); 155 154 $panel = new PHUIObjectBoxView(); ··· 199 198 200 199 $title = pht('Needs Triage'); 201 200 $href = urisprintf( 202 - '/maniphest/?statuses=%s&priorities=%s&userProjects=%s#R', 203 - implode(',', ManiphestTaskStatus::getOpenStatusConstants()), 201 + '/maniphest/?statuses=open()&priorities=%s&projects=projects(%s)#R', 204 202 $needs_triage, 205 203 $user->getPHID()); 206 204 $panel = new PHUIObjectBoxView(); ··· 290 288 } 291 289 292 290 $title = pht('Assigned Tasks'); 293 - $href = '/maniphest'; 291 + $href = '/maniphest/query/assigned/'; 294 292 $panel = new PHUIObjectBoxView(); 295 293 $panel->setHeader($this->renderSectionHeader($title, $href)); 296 294 $panel->appendChild($this->buildTaskListView($tasks));
+1 -1
src/applications/maniphest/controller/ManiphestReportController.php
··· 465 465 } 466 466 } 467 467 468 - $base_link = '/maniphest/?allProjects='; 468 + $base_link = '/maniphest/?projects='; 469 469 $leftover_name = phutil_tag('em', array(), pht('(No Project)')); 470 470 $col_header = pht('Project'); 471 471 $header = pht('Open Tasks by Project and Priority (%s)', $date);
+1 -2
src/applications/people/controller/PhabricatorPeopleController.php
··· 70 70 if (PhabricatorApplication::isClassInstalledForViewer($class, $viewer)) { 71 71 $phid = $user->getPHID(); 72 72 $view_uri = sprintf( 73 - '/maniphest/?statuses=%s&assigned=%s#R', 74 - implode(',', ManiphestTaskStatus::getOpenStatusConstants()), 73 + '/maniphest/?statuses=open()&assigned=%s#R', 75 74 $phid); 76 75 $nav->addIcon( 77 76 'maniphest', pht('Open Tasks'), 'fa-anchor', null, $view_uri);
+2 -3
src/applications/project/controller/PhabricatorProjectController.php
··· 76 76 if (PhabricatorApplication::isClassInstalledForViewer($class, $viewer)) { 77 77 $phid = $project->getPHID(); 78 78 $query_uri = urisprintf( 79 - '/maniphest/?statuses=%s&allProjects=%s#R', 80 - implode(',', ManiphestTaskStatus::getOpenStatusConstants()), 81 - $phid); 79 + '/maniphest/?statuses=open()&projects=%s#R', 80 + $phid); 82 81 $nav->addIcon(null, pht('Open Tasks'), 'fa-anchor', null, $query_uri); 83 82 } 84 83