mirror of https://github.com/acanas/swad-core.git
Version 16.140.5
This commit is contained in:
parent
adf8fba5b3
commit
f851fdc1cf
|
@ -193,25 +193,24 @@
|
|||
// TODO: System admin should view link "Visits to course"
|
||||
|
||||
// TODO: Bajo la foto de cada usuario el país
|
||||
// TODO: Permitir elegir entre "Ver actividad de quienes sigo" o "Ver actividad de todos"
|
||||
|
||||
// TODO: Un administrador de institución, ¿debería poder cambiar la contraseña de un usuario de esa institución? No lo tengo claro.
|
||||
|
||||
// TODO: Fix bug reported by Nuria Torres Rosell: Ayer y hoy he intentado crear preguntas test con la opción V/F y, pese a seleccionar como respuesta correcta una de las dos, no me deja crear la pregunta. Constantemente me dice que debo seleccionar V o F.
|
||||
// Por ahora me voy "apañando" con opción única y las respuestas Si o No. Pero resulta un poco raro.
|
||||
// TODO: Register anonymously searches from users for system admins
|
||||
|
||||
/*****************************************************************************/
|
||||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.140.4 (2017-02-24)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.140.5 (2017-02-25)"
|
||||
#define CSS_FILE "swad16.139.6.css"
|
||||
#define JS_FILE "swad16.140.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.140.4: Feb 24, 2017 Fixed bug in T/F test questions, reported by Nuria Torres Rosell. (213009 lines)
|
||||
Version 16.140.5: Feb 25, 2017 Days in recent log changed from 8 to 15. (213008 lines)
|
||||
Version 16.140.4: Feb 24, 2017 Fixed bug in T/F test questions, reported by Nuria Torres Rosell. (213006 lines)
|
||||
Version 16.140.3: Feb 24, 2017 Changed refreshing of timeline from 30 to 10 seconds.
|
||||
Code refactoring in timeline when I do not follow any user. (213006 lines)
|
||||
Version 16.140.2: Feb 24, 2017 Changed text of users to view in global timeline. (212994 lines)
|
||||
|
|
|
@ -446,9 +446,7 @@
|
|||
#define Cfg_LOG_START_MONTH 01 // Month where the log started in the database
|
||||
#define Cfg_LOG_START_DAY 01 // Day where the log started in the database
|
||||
|
||||
#define Cfg_MIN_TIME_BETWEEN_2_CLICKS_FROM_THE_SAME_IP 1 // In seconds (>= 1, recommended 1)
|
||||
|
||||
#define Cfg_DAYS_IN_RECENT_LOG 8 // Only accesses in these last days + 1 are stored in recent log.
|
||||
#define Cfg_DAYS_IN_RECENT_LOG 15 // Only accesses in these last days + 1 are stored in recent log.
|
||||
// Important!!! Must be 1 <= Cfg_DAYS_IN_RECENT_LOG <= 29
|
||||
#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
|
||||
|
|
|
@ -857,7 +857,8 @@ static void Sta_ShowHits (Sta_GlobalOrCourseAccesses_t GlobalOrCourse)
|
|||
Dat_GetBrowserTimeZone (BrowserTimeZone);
|
||||
|
||||
/***** Set table where to find depending on initial date *****/
|
||||
// If initial day is older than current day minus Cfg_DAYS_IN_RECENT_LOG, then use recent log table, else use historic log table */
|
||||
/* If initial day is older than current day minus Cfg_DAYS_IN_RECENT_LOG,
|
||||
then use recent log table, else use historic log table */
|
||||
LogTable = (Dat_GetNumDaysBetweenDates (&Gbl.DateRange.DateIni.Date,&Gbl.Now.Date)
|
||||
<= Cfg_DAYS_IN_RECENT_LOG) ? "log_recent" :
|
||||
"log_full";
|
||||
|
|
Loading…
Reference in New Issue