stable

Clone or download

Read-only

story #12812: get FRS file content via REST

The URLs currently used are directed to the new ones. Change-Id: I0761af0a5376da34e750b31b4744764a280355a0

Modified Files

Name
M plugins/frs/include/FRS/REST/v1/FileRepresentation.php +2 −2 Go to diff View file
M plugins/frs/tests/rest/FRS/FileTest.php +9 −2 Go to diff View file
M site-content/en_US/file/file.tab +0 −9 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +7 −4 Go to diff View file
M site-content/fr_FR/file/file.tab +0 −9 Go to diff View file
M src/common/Request/RouteCollector.php +34 −4 Go to diff View file
M src/common/frs/FRSFile.class.php +0 −14 Go to diff View file
A src/common/frs/FRSFileDownloadController.php +106 −0 Go to diff View file
A src/common/frs/FRSFileDownloadOldURLRedirectionController.php +50 −0 Go to diff View file
A src/common/frs/FRSFileNotPresentInStorage.php +34 −0 Go to diff View file
D src/common/frs/FileDownloadController.php +0 −73 Go to diff View file
M src/common/frs/ServiceFile.class.php +0 −7 Go to diff View file
M src/common/include/URL.class.php +5 −11 Go to diff View file
M src/www/file/confirm_download.php +6 −5 Go to diff View file
M src/www/file/showfiles.php +5 −6 Go to diff View file
A tests/phpunit/common/Frs/FRSFileDownloadControllerTest.php +203 −0 Go to diff View file
A tests/phpunit/common/Frs/FRSFileDownloadOldURLRedirectionControllerTest.php +50 −0 Go to diff View file
M tests/simpletest/common/include/URLTest.php +2 −8 Go to diff View file