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

Fix some Maniphest links

Summary: A few things link to old URIs for Maniphest, update them.

Test Plan: Clicked all the things.

Reviewers: chad, btrahan

Reviewed By: chad

CC: aran

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

+16 -36
+6 -6
src/__celerity_resource_map__.php
··· 3367 3367 ), 3368 3368 'phabricator-project-tag-css' => 3369 3369 array( 3370 - 'uri' => '/res/ebe357eb/rsrc/css/application/projects/project-tag.css', 3370 + 'uri' => '/res/535b8b7a/rsrc/css/application/projects/project-tag.css', 3371 3371 'type' => 'css', 3372 3372 'requires' => 3373 3373 array( ··· 4380 4380 'uri' => '/res/pkg/f32597c9/javelin.pkg.js', 4381 4381 'type' => 'js', 4382 4382 ), 4383 - 'ad2ed1da' => 4383 + '36d5d071' => 4384 4384 array( 4385 4385 'name' => 'maniphest.pkg.css', 4386 4386 'symbols' => ··· 4389 4389 1 => 'maniphest-transaction-detail-css', 4390 4390 2 => 'phabricator-project-tag-css', 4391 4391 ), 4392 - 'uri' => '/res/pkg/ad2ed1da/maniphest.pkg.css', 4392 + 'uri' => '/res/pkg/36d5d071/maniphest.pkg.css', 4393 4393 'type' => 'css', 4394 4394 ), 4395 4395 '83a3853e' => ··· 4505 4505 'javelin-vector' => 'f32597c9', 4506 4506 'javelin-workflow' => 'f32597c9', 4507 4507 'lightbox-attachment-css' => '606d1ed1', 4508 - 'maniphest-task-summary-css' => 'ad2ed1da', 4509 - 'maniphest-transaction-detail-css' => 'ad2ed1da', 4508 + 'maniphest-task-summary-css' => '36d5d071', 4509 + 'maniphest-transaction-detail-css' => '36d5d071', 4510 4510 'phabricator-action-list-view-css' => '606d1ed1', 4511 4511 'phabricator-application-launch-view-css' => '606d1ed1', 4512 4512 'phabricator-busy' => '8977e356', ··· 4532 4532 'phabricator-object-selector-css' => '44bfe40c', 4533 4533 'phabricator-phtize' => '8977e356', 4534 4534 'phabricator-prefab' => '8977e356', 4535 - 'phabricator-project-tag-css' => 'ad2ed1da', 4535 + 'phabricator-project-tag-css' => '36d5d071', 4536 4536 'phabricator-property-list-view-css' => '606d1ed1', 4537 4537 'phabricator-remarkup-css' => '606d1ed1', 4538 4538 'phabricator-shaped-request' => '5e9e5c4e',
+1 -1
src/applications/maniphest/controller/ManiphestController.php
··· 21 21 ->addNavigationItems($nav->getMenu()); 22 22 23 23 $nav->addLabel(pht('Reports')); 24 - $nav->addFilter('reports', pht('Reports'), 'report/'); 24 + $nav->addFilter('report', pht('Reports')); 25 25 26 26 $nav->selectFilter(null); 27 27
+4 -14
src/applications/maniphest/controller/ManiphestReportController.php
··· 411 411 $leftover_closed = idx($result_closed, '', array()); 412 412 unset($result_closed['']); 413 413 414 - $base_link = '/maniphest/?users='; 415 - $leftover_name = phutil_tag( 416 - 'a', 417 - array( 418 - 'href' => $base_link.ManiphestTaskOwner::OWNER_UP_FOR_GRABS, 419 - ), 420 - phutil_tag('em', array(), pht('(Up For Grabs)'))); 414 + $base_link = '/maniphest/?assigned='; 415 + $leftover_name = phutil_tag('em', array(), pht('(Up For Grabs)')); 421 416 $col_header = pht('User'); 422 417 $header = pht('Open Tasks by User and Priority (%s)', $date); 423 418 break; ··· 448 443 } 449 444 } 450 445 451 - $base_link = '/maniphest/view/all/?projects='; 452 - $leftover_name = phutil_tag( 453 - 'a', 454 - array( 455 - 'href' => $base_link.ManiphestTaskOwner::PROJECT_NO_PROJECT, 456 - ), 457 - phutil_tag('em', array(), pht('(No Project)'))); 446 + $base_link = '/maniphest/?allProjects[]='; 447 + $leftover_name = phutil_tag('em', array(), pht('(No Project)')); 458 448 $col_header = pht('Project'); 459 449 $header = pht('Open Tasks by Project and Priority (%s)', $date); 460 450 break;
+2 -2
src/applications/maniphest/event/ManiphestPeopleMenuEventListener.php
··· 24 24 25 25 $object = $event->getValue('object'); 26 26 if ($object instanceof PhabricatorUser) { 27 - $href = '/maniphest/view/action/?users='.$object->getPHID(); 27 + $href = '/maniphest/?assigned='.$object->getPHID(); 28 28 $actions[] = $action->setHref($href); 29 29 } else if ($object instanceof PhabricatorProject) { 30 - $href = '/maniphest/view/all/?projects='.$object->getPHID(); 30 + $href = '/maniphest/?allProjects[]='.$object->getPHID(); 31 31 $actions[] = $action->setHref($href); 32 32 33 33 $actions[] = id(new PhabricatorActionView())
+1 -3
src/applications/maniphest/view/ManiphestTaskProjectsView.php
··· 32 32 } 33 33 } else { 34 34 $tags[] = phutil_tag( 35 - 'a', 35 + 'span', 36 36 array( 37 37 'class' => 'phabricator-project-tag phabricator-project-tag-grey', 38 - 'href' => '/maniphest/view/all/?s&projects='. 39 - ManiphestTaskOwner::PROJECT_NO_PROJECT 40 38 ), 41 39 pht('No Project')); 42 40 }
+1 -10
src/applications/project/controller/PhabricatorProjectProfileController.php
··· 177 177 178 178 $open = number_format($count); 179 179 180 - $more_link = phutil_tag( 181 - 'a', 182 - array( 183 - 'href' => '/maniphest/view/all/?projects='.$project->getPHID(), 184 - ), 185 - pht("View All Open Tasks \xC2\xBB")); 186 - 187 180 $content = hsprintf( 188 181 '<div class="phabricator-profile-info-group profile-wrap-responsive"> 189 182 <h1 class="phabricator-profile-info-header">%s</h1>'. 190 183 '<div class="phabricator-profile-info-pane">'. 191 184 '%s'. 192 - '<div class="phabricator-profile-info-pane-more-link">%s</div>'. 193 185 '</div> 194 186 </div>', 195 187 pht('Open Tasks (%s)', $open), 196 - $task_list, 197 - $more_link); 188 + $task_list); 198 189 199 190 return $content; 200 191 }
+1
webroot/rsrc/css/application/projects/project-tag.css
··· 27 27 border: 1px solid #ccc; 28 28 background: #f7f7f7; 29 29 color: {$lightgreytext}; 30 + cursor: default; 30 31 } 31 32 32 33 .phabricator-project-tag.phabricator-project-tag-grey:hover {