stable

Clone or download

Read-only

Do not initiate upload if file is too big

In a follow-up comment, try to drop an image bigger than sys_max_size_upload (local.inc). An error message should be displayed. Part of story #12964: drag'n drop images in tracker text areas Change-Id: I885e836fdbb64d1f83df2abd818a22c2fdda0729

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/RichTextareaProvider.php +5 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/View/Edit.class.php +8 −4 Go to diff View file
M src/www/scripts/codendi/RichTextEditor.js +2 −1 Go to diff View file
M src/www/scripts/package-lock.json +5 −0 Go to diff View file
M src/www/scripts/package.json +1 −0 Go to diff View file
M src/www/scripts/tuleap/ckeditor/getUploadImageOptions.js +14 −1 Go to diff View file
M src/www/scripts/tuleap/ckeditor/po/fr.po +8 −0 Go to diff View file