stable

Clone or download

Read-only

feat: Display uploaded images

The table contains information about uploaded images. A preview of images is displayed in a modal. Part of story #38630: Export to file Change-Id: Ie9b97fdbab66df9a9ef801216125565d3e938d3e

Modified Files

Name
M plugins/pdftemplate/include/PdfTemplate/Admin/Image/IndexImagesController.php +9 −0 Go to diff View file
M plugins/pdftemplate/include/PdfTemplate/Admin/Image/IndexImagesPresenter.php +6 −0 Go to diff View file
A plugins/pdftemplate/include/PdfTemplate/Admin/Image/PdfTemplateImagePresenter.php +60 −0 Go to diff View file
M plugins/pdftemplate/include/PdfTemplate/Admin/Image/index.mustache +85 −12 Go to diff View file
M plugins/pdftemplate/include/PdfTemplate/Image/PdfTemplateImageDao.php +15 −1 Go to diff View file
A plugins/pdftemplate/include/PdfTemplate/Image/PdfTemplateImageDisplayController.php +61 −0 Go to diff View file
A plugins/pdftemplate/include/PdfTemplate/Image/PdfTemplateImageHrefBuilder.php +31 −0 Go to diff View file
M plugins/pdftemplate/include/PdfTemplate/Image/PdfTemplateImageStorage.php +1 −1 Go to diff View file
A plugins/pdftemplate/include/PdfTemplate/Image/RejectAnonymousMiddleware.php +49 −0 Go to diff View file
A plugins/pdftemplate/include/PdfTemplate/Image/RetrieveImage.php +28 −0 Go to diff View file
A plugins/pdftemplate/include/PdfTemplate/Image/RetrieveImageMiddleware.php +63 −0 Go to diff View file
M plugins/pdftemplate/include/pdftemplatePlugin.php +20 −0 Go to diff View file
M plugins/pdftemplate/scripts/admin/src/_images.scss +4 −0 Go to diff View file
M plugins/pdftemplate/scripts/admin/src/initiate-modals.ts +4 −1 Go to diff View file
M plugins/pdftemplate/site-content/fr_FR/LC_MESSAGES/tuleap-pdftemplate.po +9 −0 Go to diff View file
A plugins/pdftemplate/tests/unit/PdfTemplate/Image/RejectAnonymousMiddlewareTest.php +76 −0 Go to diff View file
A plugins/pdftemplate/tests/unit/PdfTemplate/Image/RetrieveImageMiddlewareTest.php +123 −0 Go to diff View file
A plugins/pdftemplate/tests/unit/PdfTemplate/Stubs/RetrieveImageStub.php +49 −0 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +24 −0 Go to diff View file
M site-content/ko_KR/LC_MESSAGES/tuleap-core.po +24 −0 Go to diff View file
M site-content/pt_BR/LC_MESSAGES/tuleap-core.po +24 −0 Go to diff View file
A src/common/File/Size/HumanReadableFilesize.php +46 −0 Go to diff View file
A tests/unit/common/File/Size/HumanReadableFilesizeTest.php +51 −0 Go to diff View file