From 081e1222591740faefed1b2fdd01af5aa49c9141 Mon Sep 17 00:00:00 2001 From: acanas Date: Wed, 25 Nov 2020 08:58:05 +0100 Subject: [PATCH] Version20.7.1 --- swad_changelog.h | 6 +++++- swad_file_MIME.c | 4 ++++ swad_file_extension.c | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/swad_changelog.h b/swad_changelog.h index 7f81d7baa..97ab425bd 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -555,7 +555,7 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - * En OpenSWAD: ps2pdf source.ps destination.pdf */ -#define Log_PLATFORM_VERSION "SWAD 20.7 (2020-11-25)" +#define Log_PLATFORM_VERSION "SWAD 20.7.1 (2020-11-25)" #define CSS_FILE "swad20.1.1.css" #define JS_FILE "swad20.6.2.js" /* @@ -602,6 +602,10 @@ Juan Miguel. TODO: Fix bug: un profesor editor no puede ver las carpetas de TFG (proyectos) de otros. Debería poder. TODO: DNI de un estudiante sale erróneamente como ******* en lugar de mostrarse al ver los accesos de un estudiante a la asignatura. + Version 20.7.1: Nov 25, 2020 New file extension .ipynb, suggested by Pedro A. García Sánchez. (304688 lines) + Copy the following icon to icon public directory: +sudo cp icon/filext32x32/ipynb32x32.gif /var/www/html/swad/icon/filext32x32/ + Version 20.7: Nov 25, 2020 Editing match title and groups. (304680 lines) Version 20.6.2: Nov 24, 2020 Fixed JavaScript bug contracting folders. Reported by Christian Agustín Morillas Gutiérrez. (? lines) Version 20.6.1: Nov 23, 2020 Fix bug while removing messages. Reported by Christian Agustín Morillas Gutiérrez. (304522 lines) diff --git a/swad_file_MIME.c b/swad_file_MIME.c index d185532e1..20cf5be19 100644 --- a/swad_file_MIME.c +++ b/swad_file_MIME.c @@ -82,6 +82,9 @@ const char *MIM_MIMETypesAllowed[] = "application/vnd.fdf", // Forms Data Format "application/vnd.geogebra.file", // GeoGebra .ggb "application/vnd.geogebra.tool", // GeoGebra .ggt + "application/vnd.jupyter", // Jupyter and IPython + "application/vnd.jupyter.cells", // Jupyter and IPython + "application/vnd.jupyter.dragindex", // Jupyter and IPython "application/vnd.msexcel", // Microsoft Excel .xls "application/vnd.ms-excel", // Microsoft Excel .xls "application/vnd.ms-powerpoint", // Microsoft PowerPoint .ppt or .pps @@ -123,6 +126,7 @@ const char *MIM_MIMETypesAllowed[] = "application/x-gtar", // GNU tar gtar "application/x-gunzip", // GNU ZIP gz, gzip "application/x-gzip", // GNU ZIP gz, gzip + "application/x-ipynb+json", // Jupyter and IPython "application/x-latex", // LateX latex (LateX) "application/x-midi", // MIDI mid "application/x-msdos-program", // MSDOS program diff --git a/swad_file_extension.c b/swad_file_extension.c index 7d5c638c4..8b7263b45 100644 --- a/swad_file_extension.c +++ b/swad_file_extension.c @@ -70,6 +70,7 @@ const char *Ext_FileExtensionsAllowed[] = "htm" , "html" , "img" , + "ipynb", // Jupyter Notebook "java" , "jpg" , "jpeg" ,