stable

Clone or download

Read-only

Be able to update release with links in the web UI

this is part of story #9692 Have a field in the FRS where I can add a link You should be able to add new links directly in UI. In order to ease reviews: This patch only concern edit of an existing release, release creation process will be done in a dedicated commit And it's not possible to remove a link via the UI. This will be done in dedicated commit. Change-Id: Ia171ca3ccd917b0c94e4da5db19e657d0be645b5

Modified Files

Name
M src/common/Sanitizer/URISanitizer.php +7 −2 Go to diff View file
M src/common/autoload.php +5 −2 Go to diff View file
M src/common/frs/UploadedLinkPresenter.php +12 −2 Go to diff View file
M src/common/frs/UploadedLinkUpdateTablePresenter.php +5 −1 Go to diff View file
M src/common/frs/UploadedLinksDao.php +14 −0 Go to diff View file
A src/common/frs/UploadedLinksInvalidFormException.php +25 −0 Go to diff View file
A src/common/frs/UploadedLinksRequestFormatter.php +62 −0 Go to diff View file
A src/common/frs/UploadedLinksUpdater.php +51 −0 Go to diff View file
M src/common/layout/BaseLayout.php +2 −2 Go to diff View file
M src/common/wiki/phpwiki/lib/plugin/FrameInclude.php +4 −4 Go to diff View file
M src/common/wiki/phpwiki/lib/plugin/Transclude.php +1 −1 Go to diff View file
M src/templates/frs/uploaded-links-form.mustache +23 −6 Go to diff View file
M src/www/file/file_utils.php +12 −0 Go to diff View file
M src/www/file/scripts/frs.js +71 −44 Go to diff View file
M src/www/themes/common/css/utils/_frs.scss +4 −0 Go to diff View file
M tests/simpletest/common/Sanitizer/URISanitizerTest.php +23 −2 Go to diff View file
A tests/simpletest/common/frs/UploadedLinksRequestFormatterTest.php +80 −0 Go to diff View file