stable

Clone or download

Read-only

Use new url pattern for already linked attachments

Following URLs: * /plugins/tracker/?aid=193&field=94&func=preview-attachment&attachment=39 * /plugins/tracker/?aid=193&field=94&func=show-attachment&attachment=39 are deprecated in favor of: * /plugins/tracker/attachments/preview/39-filename.png * /plugins/tracker/attachments/39-filename.png By default new URLs are used. Code dealing with legacy ones will be handled later in a dedicated changeset. Part of story #12964: drag'n drop images in tracker text areas Change-Id: I34d4b290ea8d4733a925688d7131473506c0791f

Modified Files

Name
M plugins/agiledashboard/www/js/card-fields/card-fields-service.js +4 −6 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/File/AttachmentController.php +76 −34 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_File.class.php +10 −16 Go to diff View file
M plugins/tracker/include/trackerPlugin.class.php +15 −3 Go to diff View file
M plugins/tracker/phpunit/Tracker/FormElement/Field/File/AttachmentControllerTest.php +297 −33 Go to diff View file
M tests/rest/tests/ArtifactFilesTest.php +1 −1 Go to diff View file