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

Make JumpNav work with Paste

Summary: Fixes T2336

Test Plan: Searched for Pastes successfully.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T2336

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

authored by

Debarghya Das and committed by
epriestley
ed2c050b 760ab135

+6
+2
src/applications/directory/controller/PhabricatorDirectoryMainController.php
··· 72 72 $jump = $request->getStr('jump'); 73 73 74 74 $response = PhabricatorJumpNavHandler::jumpPostResponse($jump); 75 + 75 76 if ($response) { 77 + 76 78 return $response; 77 79 } else if ($request->isFormPost()) { 78 80 $query = new PhabricatorSearchQuery();
+4
src/applications/search/engine/PhabricatorJumpNavHandler.php
··· 19 19 '/^r([A-Z]+)(\S+)$/' => 'commit', 20 20 '/^d(\d+)$/i' => 'revision', 21 21 '/^t(\d+)$/i' => 'task', 22 + '/^p(\d+)$/i' => 'paste', 22 23 '/^p\s+(.+)$/i' => 'project', 23 24 '/^u\s+(\S+)$/i' => 'user', 24 25 '/^task:\s*(.+)/i' => 'create-task', ··· 49 50 case 'user': 50 51 return id(new AphrontRedirectResponse()) 51 52 ->setURI('/p/'.$matches[1].'/'); 53 + case 'paste': 54 + return id(new AphrontRedirectResponse()) 55 + ->setURI('/P'.$matches[1]); 52 56 case 'project': 53 57 $project = self::findCloselyNamedProject($matches[1]); 54 58 if ($project) {