mirror of https://github.com/acanas/swad-core.git
Version18.84.1
This commit is contained in:
parent
ae32543f69
commit
7e598fe52a
|
@ -459,10 +459,12 @@ En OpenSWAD:
|
||||||
ps2pdf source.ps destination.pdf
|
ps2pdf source.ps destination.pdf
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 18.84 (2019-03-20)"
|
#define Log_PLATFORM_VERSION "SWAD 18.84.1 (2019-03-20)"
|
||||||
#define CSS_FILE "swad18.83.css"
|
#define CSS_FILE "swad18.83.css"
|
||||||
#define JS_FILE "swad18.80.js"
|
#define JS_FILE "swad18.80.js"
|
||||||
/*
|
/*
|
||||||
|
Version 18.84.1: Mar 20, 2019 Added MIME type application/vnd.wolfram.mathematica.package, reported by José Martínez Aroza.
|
||||||
|
Conversion of BMP images to JPG, reported by José Martínez Aroza. (240587 lines)
|
||||||
Version 18.84: Mar 20, 2019 Temporary directories for download are created in a two level system to avoid overflow number of directories. (240582 lines)
|
Version 18.84: Mar 20, 2019 Temporary directories for download are created in a two level system to avoid overflow number of directories. (240582 lines)
|
||||||
Version 18.83.1: Mar 20, 2019 Fixed bug in removal of old files in a directory. (240561 lines)
|
Version 18.83.1: Mar 20, 2019 Fixed bug in removal of old files in a directory. (240561 lines)
|
||||||
Version 18.83: Mar 20, 2019 Important optimization on removing of temporary files to increase speed.
|
Version 18.83: Mar 20, 2019 Important optimization on removing of temporary files to increase speed.
|
||||||
|
|
|
@ -106,6 +106,7 @@ const char *MIM_MIMETypesAllowed[] =
|
||||||
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", // Excel Microsoft Office Open XML Format Spreadsheet .xlsx
|
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", // Excel Microsoft Office Open XML Format Spreadsheet .xlsx
|
||||||
"application/vnd.openxmlformats-officedocument.wordprocessingml.document", // Word Microsoft Office Open XML Format Document .docx
|
"application/vnd.openxmlformats-officedocument.wordprocessingml.document", // Word Microsoft Office Open XML Format Document .docx
|
||||||
"application/vnd.pdf", // PDF
|
"application/vnd.pdf", // PDF
|
||||||
|
"application/vnd.wolfram.mathematica.package", // Octave .m file
|
||||||
"application/x-7z-compressed", // 7 zip compressed file
|
"application/x-7z-compressed", // 7 zip compressed file
|
||||||
"application/x-bz2", // Bzip 2 UNIX Compressed File
|
"application/x-bz2", // Bzip 2 UNIX Compressed File
|
||||||
"application/x-bzip", // Bzip 2 UNIX Compressed File
|
"application/x-bzip", // Bzip 2 UNIX Compressed File
|
||||||
|
|
|
@ -1738,12 +1738,14 @@ static Med_Type_t Med_GetTypeFromExtAndMIME (const char *Extension,
|
||||||
!strcasecmp (Extension,"jpeg") ||
|
!strcasecmp (Extension,"jpeg") ||
|
||||||
!strcasecmp (Extension,"png" ) ||
|
!strcasecmp (Extension,"png" ) ||
|
||||||
!strcasecmp (Extension,"tif" ) ||
|
!strcasecmp (Extension,"tif" ) ||
|
||||||
!strcasecmp (Extension,"tiff"))
|
!strcasecmp (Extension,"tiff") ||
|
||||||
|
!strcasecmp (Extension,"bmp" ))
|
||||||
if (!strcmp (MIMEType,"image/jpeg" ) ||
|
if (!strcmp (MIMEType,"image/jpeg" ) ||
|
||||||
!strcmp (MIMEType,"image/pjpeg" ) ||
|
!strcmp (MIMEType,"image/pjpeg" ) ||
|
||||||
!strcmp (MIMEType,"image/png" ) ||
|
!strcmp (MIMEType,"image/png" ) ||
|
||||||
!strcmp (MIMEType,"image/x-png" ) ||
|
!strcmp (MIMEType,"image/x-png" ) ||
|
||||||
!strcmp (MIMEType,"image/tiff" ) ||
|
!strcmp (MIMEType,"image/tiff" ) ||
|
||||||
|
!strcmp (MIMEType,"image/bmp" ) ||
|
||||||
!strcmp (MIMEType,"application/octet-stream") ||
|
!strcmp (MIMEType,"application/octet-stream") ||
|
||||||
!strcmp (MIMEType,"application/octetstream" ) ||
|
!strcmp (MIMEType,"application/octetstream" ) ||
|
||||||
!strcmp (MIMEType,"application/octet" ))
|
!strcmp (MIMEType,"application/octet" ))
|
||||||
|
|
Loading…
Reference in New Issue