1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-03 20:22:46 +01:00
phorge-phorge/src/applications/diffusion/conduit
epriestley d6fd365704 Correct Diffusion browse behavior when visiting a path URI with no trailing slash
Summary:
See PHI1983. Ref T13599. Ref T13589. Currently, if you browse to a path browse URI in Diffusion without a trailing slash (`/browse/master/src`), you get a nonsensical view (the directory as a single item).

Be more precise in how "git ls-tree" arguments are constructed.

Test Plan: Visited files and directories in the browse view, with and without trailing slashes. Saw improved behavior for directories with no trailing slash and reasonable behavior in all other cases.

Maniphest Tasks: T13599, T13589

Differential Revision: https://secure.phabricator.com/D21528
2021-01-28 08:52:58 -08:00
..
DiffusionBlameConduitAPIMethod.php Implement a dedicated "diffusion.blame" API method 2016-01-06 09:24:03 -08:00
DiffusionBranchQueryConduitAPIMethod.php Fix diffusion.branchquery returning dictionary instead of array when branches are filtered out 2020-02-12 11:50:22 -08:00
DiffusionBrowseQueryConduitAPIMethod.php Correct Diffusion browse behavior when visiting a path URI with no trailing slash 2021-01-28 08:52:58 -08:00
DiffusionCommitEditConduitAPIMethod.php Add "diffusion.commit.edit", a v3 edit API endpoint for commits 2017-01-11 10:38:14 -08:00
DiffusionCommitParentsQueryConduitAPIMethod.php Give Conduit params/return/errors protected visibility 2015-04-13 11:58:35 -07:00
DiffusionCommitSearchConduitAPIMethod.php Add diffusion.commit.search Conduit API method 2017-01-12 13:23:29 -08:00
DiffusionConduitAPIMethod.php Fix some missing renames of Application classes 2014-07-24 18:03:59 -07:00
DiffusionDiffQueryConduitAPIMethod.php Fix errors found by PHPStan 2017-02-17 10:10:15 +00:00
DiffusionExistsQueryConduitAPIMethod.php Disambiguate Git ref selectors in some Git command line invocations 2021-01-13 12:31:28 -08:00
DiffusionFileContentQueryConduitAPIMethod.php Make logic for streaming VCS stuff directly to Files more reusable 2016-08-27 09:10:20 -07:00
DiffusionFindSymbolsConduitAPIMethod.php Add repository parameter to diffusion.findsymbols method 2015-05-05 08:27:08 +10:00
DiffusionGetLintMessagesConduitAPIMethod.php Change "lint save" to not use Arcanist Projects 2015-05-19 00:07:47 +10:00
DiffusionGetRecentCommitsByPathConduitAPIMethod.php Deprecate Conduit method "diffusion.getrecentcommitsbypath" 2018-08-03 09:48:58 -07:00
DiffusionHistoryQueryConduitAPIMethod.php Further correct and disambigutate ref selectors passed to Git on the CLI 2021-01-20 12:07:14 -08:00
DiffusionInternalAncestorsConduitAPIMethod.php Support an "Ancestors Of: ..." constraint in commit queries 2018-05-08 15:51:42 -07:00
DiffusionInternalCommitSearchConduitAPIMethod.php Add "internal.commit.search" to replace the cache bypass mode of "diffusion.querycommits" 2020-09-15 17:36:38 -07:00
DiffusionInternalGitRawDiffQueryConduitAPIMethod.php Further correct and disambigutate ref selectors passed to Git on the CLI 2021-01-20 12:07:14 -08:00
DiffusionLastModifiedQueryConduitAPIMethod.php Further correct and disambigutate ref selectors passed to Git on the CLI 2021-01-20 12:07:14 -08:00
DiffusionLookSoonConduitAPIMethod.php Convert diffusion.looksoon to use repository identifiers instead of callsigns 2016-01-04 06:54:20 -08:00
DiffusionMergedCommitsQueryConduitAPIMethod.php Further correct and disambigutate ref selectors passed to Git on the CLI 2021-01-20 12:07:14 -08:00
DiffusionQueryCommitsConduitAPIMethod.php Wrap all direct access to author/committer properties on "CommitData" 2020-09-15 17:36:39 -07:00
DiffusionQueryConduitAPIMethod.php Lift Diffusion Conduit call proxying to the root level of Conduit 2020-09-15 17:36:37 -07:00
DiffusionQueryPathsConduitAPIMethod.php Disambiguate Git ref selectors in some Git command line invocations 2021-01-13 12:31:28 -08:00
DiffusionRawDiffQueryConduitAPIMethod.php Return Diffusion diffs through Files, not directly over Conduit 2016-08-27 09:11:03 -07:00
DiffusionRefsQueryConduitAPIMethod.php Further correct and disambigutate ref selectors passed to Git on the CLI 2021-01-20 12:07:14 -08:00
DiffusionRepositoryEditConduitAPIMethod.php Trivially implement RepositoryEditEngine and API methods 2016-04-17 16:02:13 -07:00
DiffusionRepositorySearchConduitAPIMethod.php Trivially implement RepositoryEditEngine and API methods 2016-04-17 16:02:13 -07:00
DiffusionResolveRefsConduitAPIMethod.php Only resolve branch names to branches 2015-04-27 03:51:53 -07:00
DiffusionSearchQueryConduitAPIMethod.php Disambiguate Git ref selectors in some Git command line invocations 2021-01-13 12:31:28 -08:00
DiffusionTagsQueryConduitAPIMethod.php Version clustered, observed repositories in a reasonable way (by largest discovered HEAD) 2016-05-30 09:53:01 -07:00
DiffusionUpdateCoverageConduitAPIMethod.php Update PhabricatorLiskDAO::chunkSQL() for new %Q semantics 2018-11-13 08:59:18 -08:00
DiffusionURIEditConduitAPIMethod.php Add diffusion.uri.edit for creating and editing repository URIs 2016-04-29 13:55:48 -07:00