mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
d1fb2f7fb9
Summary: Fixes T9319. Proxied requests (e.g., in the cluster) for binary files (like images) currently fail because we can not return binary data over Conduit in JSON. Although Conduit will eventually support binary-safe encodings, a cleaner approach to this is just to return a `filePHID` instead of the raw content. This is generally faster and more flexible, and gives us more opportunities to add caching later. After making the call, the client pulls the file data separately. We also no longer need to return a complex data structure because we don't do blame over this call any longer. Test Plan: - Viewed images in Diffusion. - Viewed READMEs in Diffusion. - Used `bin/differential attach-commit rX Dy` to hit attach pathway. Reviewers: chad Reviewed By: chad Maniphest Tasks: T9319 Differential Revision: https://secure.phabricator.com/D14970 |
||
---|---|---|
.. | ||
DiffusionBranchTableController.php | ||
DiffusionBrowseController.php | ||
DiffusionChangeController.php | ||
DiffusionCommitBranchesController.php | ||
DiffusionCommitController.php | ||
DiffusionCommitEditController.php | ||
DiffusionCommitTagsController.php | ||
DiffusionController.php | ||
DiffusionDiffController.php | ||
DiffusionExternalController.php | ||
DiffusionHistoryController.php | ||
DiffusionInlineCommentController.php | ||
DiffusionInlineCommentPreviewController.php | ||
DiffusionLastModifiedController.php | ||
DiffusionLintController.php | ||
DiffusionMirrorDeleteController.php | ||
DiffusionMirrorEditController.php | ||
DiffusionPathCompleteController.php | ||
DiffusionPathTreeController.php | ||
DiffusionPathValidateController.php | ||
DiffusionPushEventViewController.php | ||
DiffusionPushLogController.php | ||
DiffusionPushLogListController.php | ||
DiffusionRefTableController.php | ||
DiffusionRepositoryController.php | ||
DiffusionRepositoryCreateController.php | ||
DiffusionRepositoryDefaultController.php | ||
DiffusionRepositoryEditActionsController.php | ||
DiffusionRepositoryEditActivateController.php | ||
DiffusionRepositoryEditAutomationController.php | ||
DiffusionRepositoryEditBasicController.php | ||
DiffusionRepositoryEditBranchesController.php | ||
DiffusionRepositoryEditController.php | ||
DiffusionRepositoryEditDangerousController.php | ||
DiffusionRepositoryEditDeleteController.php | ||
DiffusionRepositoryEditEncodingController.php | ||
DiffusionRepositoryEditHostingController.php | ||
DiffusionRepositoryEditMainController.php | ||
DiffusionRepositoryEditStagingController.php | ||
DiffusionRepositoryEditStorageController.php | ||
DiffusionRepositoryEditSubversionController.php | ||
DiffusionRepositoryEditUpdateController.php | ||
DiffusionRepositoryListController.php | ||
DiffusionRepositoryNewController.php | ||
DiffusionRepositorySymbolsController.php | ||
DiffusionRepositoryTestAutomationController.php | ||
DiffusionServeController.php | ||
DiffusionSymbolController.php | ||
DiffusionTagListController.php |