diff --git a/icon/filext16x16/ggb16x16.gif b/icon/filext16x16/ggb16x16.gif new file mode 100644 index 000000000..58fe6a10e Binary files /dev/null and b/icon/filext16x16/ggb16x16.gif differ diff --git a/icon/filext16x16/ggt16x16.gif b/icon/filext16x16/ggt16x16.gif new file mode 100644 index 000000000..58fe6a10e Binary files /dev/null and b/icon/filext16x16/ggt16x16.gif differ diff --git a/icon/filext32x32/ggb32x32.gif b/icon/filext32x32/ggb32x32.gif new file mode 100644 index 000000000..8b892eb45 Binary files /dev/null and b/icon/filext32x32/ggb32x32.gif differ diff --git a/icon/filext32x32/ggt32x32.gif b/icon/filext32x32/ggt32x32.gif new file mode 100644 index 000000000..8b892eb45 Binary files /dev/null and b/icon/filext32x32/ggt32x32.gif differ diff --git a/swad_changelog.h b/swad_changelog.h index e658d2287..6f22df0ed 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -183,13 +183,20 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.81.1 (2016-12-01)" +#define Log_PLATFORM_VERSION "SWAD 16.81.2 (2016-12-01)" #define CSS_FILE "swad16.69.css" #define JS_FILE "swad16.46.1.js" // Number of lines (includes comments but not blank lines) has been got with the following command: // nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*?.h sql/swad*.sql | tail -1 /* + Version 16.81.2: Dec 01, 2016 New file types for GeoGebra, suggested by Sandra Quero Ramones. (209174 lines) +Copy the following icons to icon public directory: +sudo cp icon/filext16x16/ggb16x16.gif /var/www/html/swad/icon/filext16x16/ +sudo cp icon/filext16x16/ggt16x16.gif /var/www/html/swad/icon/filext16x16/ +sudo cp icon/filext32x32/ggb32x32.gif /var/www/html/swad/icon/filext32x32/ +sudo cp icon/filext32x32/ggt32x32.gif /var/www/html/swad/icon/filext32x32/ + Version 16.81.1: Dec 01, 2016 Table locations moved to table agendas. (209164 lines) 3 changes necessary in database: CREATE TABLE IF NOT EXISTS agendas (AgdCod INT NOT NULL AUTO_INCREMENT,UsrCod INT NOT NULL,Hidden ENUM('N','Y') NOT NULL DEFAULT 'N',StartTime DATETIME NOT NULL,EndTime DATETIME NOT NULL,Event VARCHAR(255) NOT NULL,Location VARCHAR(255) NOT NULL,Txt TEXT NOT NULL,UNIQUE INDEX(AgdCod),INDEX(UsrCod,Hidden)); diff --git a/swad_file_browser.c b/swad_file_browser.c index b1401839e..858370559 100644 --- a/swad_file_browser.c +++ b/swad_file_browser.c @@ -1152,6 +1152,8 @@ const char *Brw_FileExtensionsAllowed[] = "eps" , "fdf" , "flv" , + "ggb" , + "ggt" , "gif" , "gz" , "h" , @@ -1282,6 +1284,8 @@ const char *Brw_MIMETypesAllowed[] = "application/stream", // PDF in Mac? "application/unknown", "application/vnd.fdf", // Forms Data Format + "application/vnd.geogebra.file", // GeoGebra .ggb + "application/vnd.geogebra.tool", // GeoGebra .ggt "application/vnd.msexcel", // Microsoft Excel .xls "application/vnd.ms-excel", // Microsoft Excel .xls "application/vnd.ms-powerpoint", // Microsoft PowerPoint .ppt or .pps