From 7d597c4322ddc519cba273cad995cbb8fa829507 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Thu, 30 Nov 2017 10:08:37 +0100 Subject: [PATCH] Version 17.26.6 --- swad_changelog.h | 18 +++++++++++++++++- swad_config.h | 4 ++-- swad_survey.c | 2 +- swad_user.h | 4 ++-- 4 files changed, 22 insertions(+), 6 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index cadea287..6581d89d 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -260,17 +260,33 @@ // TODO: After "Do not show it again" nothing is displayed. +// TODO: Non-editing teachers should can control assistance of students in their groups + +// TODO: Enviar correo a todos los profesores de una asignatura, sugerido por Pedro Villar Castro + /*****************************************************************************/ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 17.26.3 (2017-11-13)" +#define Log_PLATFORM_VERSION "SWAD 17.26.6 (2017-11-30)" #define CSS_FILE "swad17.25.4.css" #define JS_FILE "swad17.17.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 +/* Printing: +En local: +enscript -1 --file-align=2 --highlight --line-numbers -o - * > swad17.26.5_bn_1_columna.ps +enscript -1 --color --file-align=2 --highlight --line-numbers -o - * > swad17.26.5_color_1_columna.ps +enscript -2 --landscape --file-align=2 --highlight --line-numbers -o - * > swad17.26.5_bn_2_columnas.ps +enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - * > swad17.26.5_color_2_columnas.ps +En OpenSWAD: +ps2pdf fuente.ps destino.pdf +*/ /* + Version 17.26.6: Nov 30, 2017 Fixed bug in surveys. (234400 lines) + Version 17.26.5: Nov 26, 2017 Maximum number of columns in class photo changed from 50 to 100. (234391 lines) + Version 17.26.4: Nov 13, 2017 Session expires in 8 hours. (234388 lines) Version 17.26.3: Nov 13, 2017 Fixed bug converting string to Title (for example in surnames). (234387 lines) Version 17.26.2: Nov 12, 2017 Fixed bug in marks, reported by Francisco Ocaņa Lara. (234383 lines) Version 17.26.1: Nov 10, 2017 Default theme is white. (234380 lines) diff --git a/swad_config.h b/swad_config.h index d93d5712..aa51cdf1 100644 --- a/swad_config.h +++ b/swad_config.h @@ -453,8 +453,8 @@ #define Cfg_TIMES_PER_SECOND_REFRESH_CONNECTED 2 // Execute this CGI to refresh connected users about these times per second #define Cfg_MIN_TIME_TO_REFRESH_CONNECTED ((time_t)( 60UL)) // Refresh period of connected users in seconds #define Cfg_MAX_TIME_TO_REFRESH_CONNECTED ((time_t)( 15UL * 60UL)) // Refresh period of connected users in seconds -#define Cfg_TIME_TO_CLOSE_SESSION_FROM_LAST_REFRESH ((time_t)(Cfg_MAX_TIME_TO_REFRESH_CONNECTED * 2)) // After these seconds without refresh of connected users, session is closed -#define Cfg_TIME_TO_CLOSE_SESSION_FROM_LAST_CLICK ((time_t)( 2 * 60UL * 60UL)) // After these seconds without user's clicks, session is closed +#define Cfg_TIME_TO_CLOSE_SESSION_FROM_LAST_REFRESH ((time_t)(Cfg_MAX_TIME_TO_REFRESH_CONNECTED * 4)) // After these seconds without refresh of connected users, session is closed +#define Cfg_TIME_TO_CLOSE_SESSION_FROM_LAST_CLICK ((time_t)( 8 * 60UL * 60UL)) // After these seconds without user's clicks, session is closed #define Cfg_TIME_TO_REFRESH_LAST_CLICKS ((time_t)( 1UL * 1000UL)) // Refresh period of last clicks in miliseconds diff --git a/swad_survey.c b/swad_survey.c index 8f8571aa..0879ee5a 100644 --- a/swad_survey.c +++ b/swad_survey.c @@ -3197,7 +3197,7 @@ static void Svy_ListSvyQuestions (struct Survey *Svy,struct SurveyQuestion *SvyQ Tbl_StartTableWideMargin (2); fprintf (Gbl.F.Out,""); if (Svy->Status.ICanEdit) - fprintf (Gbl.F.Out,""); + fprintf (Gbl.F.Out,""); fprintf (Gbl.F.Out,"" "%s" "" diff --git a/swad_user.h b/swad_user.h index df1ada9d..10cb7542 100644 --- a/swad_user.h +++ b/swad_user.h @@ -71,8 +71,8 @@ #define Usr_MAX_CHARS_PHONE 16 #define Usr_MAX_BYTES_PHONE Usr_MAX_CHARS_PHONE -#define Usr_CLASS_PHOTO_COLS_DEF 10 // Default number of columns in a class photo -#define Usr_CLASS_PHOTO_COLS_MAX 50 // Maximum number of columns in a class photo +#define Usr_CLASS_PHOTO_COLS_DEF 10 // Default number of columns in a class photo +#define Usr_CLASS_PHOTO_COLS_MAX 100 // Maximum number of columns in a class photo #define Usr_LIST_WITH_PHOTOS_DEF true