1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-04 12:42:43 +01:00
phorge-phorge/src/applications/diffusion/controller
epriestley 89fe84f978 Add a "/source/..." URI for Diffusion commits which redirects
Summary:
See PHI112. The install presumably wants to generate links to Diffusion commits from an external tool, but only knows the short name of the repository.

Provide a `/source/phabricator/commit/abcdef908273` URI which redirects to the canonical URI for the commit.

Test Plan:
  - Visited `/source/` URI for a commit, got a redirect.
  - Visited normal URI for a commit, got a commit page.
  - Visited `/branches/` and `/tags/` for a `/source/` repository, got proper pages.

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D18676
2017-10-03 13:27:03 -07:00
..
DiffusionBranchTableController.php Mobile layouts for Diffusion 2017-08-30 12:28:00 -07:00
DiffusionBrowseController.php Correct bad context path when doing pattern search inside a repository 2017-09-29 14:51:49 -07:00
DiffusionChangeController.php Update Diffusion UI 2016-03-17 12:05:14 -07:00
DiffusionCloneController.php Move Clone Repository to Dialog 2017-07-11 13:16:47 -07:00
DiffusionCommitBranchesController.php Show first 10 branches, then "More Branches" for commits on huge numbers of branches 2016-02-16 15:10:01 -08:00
DiffusionCommitController.php Add a "/source/..." URI for Diffusion commits which redirects 2017-10-03 13:27:03 -07:00
DiffusionCommitEditController.php Replace old commit edit controller with new EditEngine controller 2017-01-11 10:37:53 -08:00
DiffusionCommitListController.php Merge "Audit" more completely into "Diffusion" 2017-01-11 16:28:42 -08:00
DiffusionCommitTagsController.php Show first 10 branches, then "More Branches" for commits on huge numbers of branches 2016-02-16 15:10:01 -08:00
DiffusionCompareController.php Mobile layouts for Diffusion 2017-08-30 12:28:00 -07:00
DiffusionController.php List branch on main repository view 2017-08-17 12:15:53 -07:00
DiffusionDiffController.php Modernize most somewhat-weird Diffusion controllers 2016-01-05 14:00:57 -08:00
DiffusionExternalController.php Fix two issues with callsign-free repositories 2016-02-26 06:13:46 -08:00
DiffusionGraphController.php Mobile layouts for Diffusion 2017-08-30 12:28:00 -07:00
DiffusionHistoryController.php Add branch, tag info to Diffusion Headers 2017-08-16 12:16:15 -07:00
DiffusionInlineCommentController.php Correctly clear draft markers when deleting an inline comment 2015-07-21 11:36:46 -07:00
DiffusionInlineCommentPreviewController.php Touch up PHP/JS interactions for inline comments 2015-03-27 17:08:31 -07:00
DiffusionLastModifiedController.php Simplify Diffusion Browse Table 2017-07-09 09:43:57 -07:00
DiffusionLintController.php Set border on crumbs on Lint page 2017-08-16 12:19:35 -07:00
DiffusionPathCompleteController.php Modernize most somewhat-weird Diffusion controllers 2016-01-05 14:00:57 -08:00
DiffusionPathTreeController.php Modernize most somewhat-weird Diffusion controllers 2016-01-05 14:00:57 -08:00
DiffusionPathValidateController.php Modernize most somewhat-weird Diffusion controllers 2016-01-05 14:00:57 -08:00
DiffusionPushEventViewController.php Fix an issue with PHID/handle management in push logs 2016-04-20 04:47:10 -07:00
DiffusionPushLogController.php Diffusion - return 404 errors for bad URIs 2015-01-09 13:29:08 -08:00
DiffusionPushLogListController.php Modernize more Diffusion controllers 2016-01-05 14:00:20 -08:00
DiffusionRefTableController.php Modernize more Diffusion controllers 2016-01-05 14:00:20 -08:00
DiffusionRepositoryController.php Mobile layouts for Diffusion 2017-08-30 12:28:00 -07:00
DiffusionRepositoryDefaultController.php Redirect /source/x (no slash) to /source/x/ (canonical) when viewer is logged out and "x" is public 2016-12-20 07:48:20 -08:00
DiffusionRepositoryEditActivateController.php Provide more UI guidance when creating repositories 2016-05-11 06:35:35 -07:00
DiffusionRepositoryEditController.php Simplify Create Repository page 2017-08-15 11:05:50 -07:00
DiffusionRepositoryEditDangerousController.php Provide basic support for Subversion revprops 2016-06-24 13:43:32 -07:00
DiffusionRepositoryEditDeleteController.php Sort out EditController / ManageController / EditproController Diffusion hierarchy 2016-05-10 05:14:09 -07:00
DiffusionRepositoryEditUpdateController.php Update Repository Management pages to new fixed UI 2017-09-05 19:01:27 -07:00
DiffusionRepositoryListController.php Fix two strings with missing pht() 2017-04-07 10:07:01 -07:00
DiffusionRepositoryManageController.php Update Repository Management pages to new fixed UI 2017-09-05 19:01:27 -07:00
DiffusionRepositoryManagePanelsController.php Update Repository Management pages to new fixed UI 2017-09-05 19:01:27 -07:00
DiffusionRepositoryProfilePictureController.php Add more repo images 2017-08-08 17:51:15 -07:00
DiffusionRepositoryTestAutomationController.php Sort out EditController / ManageController / EditproController Diffusion hierarchy 2016-05-10 05:14:09 -07:00
DiffusionRepositoryURICredentialController.php Fill in new URI credential edit web UI interfaces 2016-05-02 04:26:13 -07:00
DiffusionRepositoryURIDisableController.php Prevent users from disabling repository builtin URIs 2016-05-12 12:09:23 -07:00
DiffusionRepositoryURIEditController.php Flesh out more web UI actions for new URI interface 2016-04-29 17:16:15 -07:00
DiffusionRepositoryURIViewController.php Add a border on diffusion uri page 2017-09-06 20:44:37 +00:00
DiffusionServeController.php Swap "-R" and "serve" argument order for Mercurial 2017-09-15 13:07:43 -07:00
DiffusionSymbolController.php Update Diffusion UI 2016-03-17 12:05:14 -07:00
DiffusionTagListController.php Add branch, tag info to Diffusion Headers 2017-08-16 12:16:15 -07:00