View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|11668||Feature requests||Survey editing||public||2016-09-18 13:41||2019-06-11 09:00|
|Summary||11668: default file types which are allowed for upload|
When making a file upload question there are several default file types which are allowed. doc is allowed but docx is not. Should be changed to allow file types of Microsoft Office 2010 and newer which uses docx etc.
|Tags||No tags attached.|
This is on application/helpers/questionHelper.php:1315
Currently default is: png, gif, doc, odt, jpg, pdf
Seems to be a list of examples. I don't think we really want a catch all here. This setting should probably be customized for each instance of this question type.
Maybe just amend to: png, gif, docx, odt, jpg, pdf?
(Sorry for the second note. Made the first one based on an old version.)
If you want to add file types to a file upload question, you can use the advanced settings.
IMHO there is no default filetype set. Perhaps a global setting in the config file or a small dialog in global settings with a few sets to choose from.
() Default (png, gif, doc, odt, jpg, pdf) TBD
@c_schmitz, can we add these file types at LS 4?
My opinion : add a default_upload_filetype = 'jpg,jpe,jpeg,png,gif' only in config-default NO dox or docx … maybe pdf.
@DenisChenu, I was actually looking at config-defaults for such settings but they were missing. Adding the defaults there makes sense!
Yep … missing …
|2016-09-18 13:41||pmonstad||New Issue|
|2016-09-23 02:55||mfavetti||Note Added: 40923|
|2016-09-23 11:39||jelo||File Added: 20160923.ls25fileupload.jpg|
|2016-09-23 11:39||jelo||Note Added: 40931|
|2016-09-23 11:51||jelo||Note Added: 40932|
|2019-06-04 15:43||Mazi||Note Added: 52296|
|2019-06-11 02:42||DenisChenu||Note Added: 52343|
|2019-06-11 08:26||Mazi||Note Added: 52344|
|2019-06-11 09:00||DenisChenu||Note Added: 52345|
|2019-11-01 17:25||c_schmitz||Category||Survey design => Survey editing|