stable

Clone or download

Read-only

Dowload LFS files in GitPHP view

This is part of story #12325 use git-lfs objects in pull requests and web view The real file is downloaded instead of the LFS formatted one. Change-Id: I634bdb0d55fef2900b82eadd01a8e2db3b496fd8

Modified Files

Name
M plugins/git/include/GitPHP/Events/DisplayFileContentInGitView.php +41 −2 Go to diff View file
M plugins/git/include/GitPHP/controller/Controller_Blob.php +2 −1 Go to diff View file
M plugins/git/templates/gitphp/tuleap/blob-header.tpl +5 −1 Go to diff View file
A plugins/gitlfs/include/Download/FileDownloaderController.php +120 −0 Go to diff View file
R plugins/gitlfs/include/Detector/Detector.php Go to diff View file
A plugins/gitlfs/include/GitPHPDisplay/DownloadURLBuilder.php +56 −0 Go to diff View file
M plugins/gitlfs/include/LFSObject/LFSObjectRetriever.php +14 −0 Go to diff View file
M plugins/gitlfs/include/gitlfsPlugin.class.php +35 −9 Go to diff View file
R plugins/gitlfs/phpunit/Detector/DetectorTest.php Go to diff View file
A plugins/gitlfs/phpunit/GitPHPDisplay/DownloadURLBuilderTest.php +92 −0 Go to diff View file
M plugins/gitlfs/site-content/fr_FR/LC_MESSAGES/tuleap-gitlfs.po +6 −0 Go to diff View file
M plugins/gitlfs/site-content/tuleap-gitlfs.pot +6 −0 Go to diff View file