mirror of https://github.com/acanas/swad-core.git
Version19.128.6
This commit is contained in:
parent
8bfad6f5bf
commit
3ca3b7e1fd
|
@ -179,6 +179,7 @@ struct swad__getTestConfigOutput
|
||||||
int defQuestions;
|
int defQuestions;
|
||||||
int maxQuestions;
|
int maxQuestions;
|
||||||
char *feedback;
|
char *feedback;
|
||||||
|
int visibility;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* getTests */
|
/* getTests */
|
||||||
|
|
|
@ -3676,6 +3676,9 @@ int swad__getTestConfig (struct soap *soap,
|
||||||
getTestConfigOut->minQuestions =
|
getTestConfigOut->minQuestions =
|
||||||
getTestConfigOut->defQuestions =
|
getTestConfigOut->defQuestions =
|
||||||
getTestConfigOut->maxQuestions = 0;
|
getTestConfigOut->maxQuestions = 0;
|
||||||
|
getTestConfigOut->visibility = TsV_MIN_VISIBILITY;
|
||||||
|
|
||||||
|
/* TODO: Remove these lines in 2021 */
|
||||||
getTestConfigOut->feedback = (char *) soap_malloc (Gbl.soap,TsR_MAX_BYTES_FEEDBACK_TYPE + 1);
|
getTestConfigOut->feedback = (char *) soap_malloc (Gbl.soap,TsR_MAX_BYTES_FEEDBACK_TYPE + 1);
|
||||||
getTestConfigOut->feedback[0] = '\0';
|
getTestConfigOut->feedback[0] = '\0';
|
||||||
|
|
||||||
|
@ -3687,6 +3690,7 @@ int swad__getTestConfig (struct soap *soap,
|
||||||
getTestConfigOut->minQuestions = (int) Gbl.Test.Config.Min;
|
getTestConfigOut->minQuestions = (int) Gbl.Test.Config.Min;
|
||||||
getTestConfigOut->defQuestions = (int) Gbl.Test.Config.Def;
|
getTestConfigOut->defQuestions = (int) Gbl.Test.Config.Def;
|
||||||
getTestConfigOut->maxQuestions = (int) Gbl.Test.Config.Max;
|
getTestConfigOut->maxQuestions = (int) Gbl.Test.Config.Max;
|
||||||
|
getTestConfigOut->visibility = (int) Gbl.Test.Config.Visibility;
|
||||||
|
|
||||||
/* Convert from visibility to old feedback */
|
/* Convert from visibility to old feedback */
|
||||||
/* TODO: Remove these lines in 2021 */
|
/* TODO: Remove these lines in 2021 */
|
||||||
|
|
|
@ -497,29 +497,31 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
|
||||||
En OpenSWAD:
|
En OpenSWAD:
|
||||||
ps2pdf source.ps destination.pdf
|
ps2pdf source.ps destination.pdf
|
||||||
*/
|
*/
|
||||||
#define Log_PLATFORM_VERSION "SWAD 19.128.5 (2020-02-19)"
|
#define Log_PLATFORM_VERSION "SWAD 19.128.6 (2020-02-19)"
|
||||||
#define CSS_FILE "swad19.118.css"
|
#define CSS_FILE "swad19.118.css"
|
||||||
#define JS_FILE "swad19.91.1.js"
|
#define JS_FILE "swad19.91.1.js"
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
// TODO: Geolocalización:
|
// TODO: Geolocalización:
|
||||||
* Función API
|
Función API sendLocation...
|
||||||
sendLocation
|
|
||||||
Parámetros: string con ubicación (ej. "Aula 0.1")
|
Parámetros: string con ubicación (ej. "Aula 0.1")
|
||||||
|
|
||||||
Poblar base de datos:
|
Poblar base de datos:
|
||||||
En Usuarios > Ubicación aparecería un botón pequeño de "Añadir ubicación". Se preguntaría a SWAD a través de una función de la API
|
En Usuarios > Ubicación aparecería un botón pequeño de "Añadir ubicación".
|
||||||
si el usuario tiene permiso para añadir ubicaciones. Si es así, se llamaría a la función:
|
Se preguntaría a SWAD a través de una función de la API
|
||||||
sendPoint
|
si el usuario tiene permiso para añadir ubicaciones.
|
||||||
|
Función API checkPermission...
|
||||||
|
|
||||||
|
Si es así, se llamaría a la función:
|
||||||
|
Función API newLocation...
|
||||||
Paramétros: MAC, string con ubicación (ej. "Aula 0.1")
|
Paramétros: MAC, string con ubicación (ej. "Aula 0.1")
|
||||||
|
|
||||||
*
|
|
||||||
// TODO: Hacer un nuevo rol en los TFG: tutor externo (profesor de áreas no vinculadas con el centro, profesionales de empresas, etc.)
|
// TODO: Hacer un nuevo rol en los TFG: tutor externo (profesor de áreas no vinculadas con el centro, profesionales de empresas, etc.)
|
||||||
// TODO: Impedir la creación y edición de proyectos si no son editables.
|
// TODO: Impedir la creación y edición de proyectos si no son editables.
|
||||||
// TODO: No se puede entrar con DNI '1' suponiendo que no tenga password ¿por qué?
|
// TODO: No se puede entrar con DNI '1' suponiendo que no tenga password ¿por qué?
|
||||||
// TODO: En la lista de conectados central, poner el logo de la institución a la que pertenece el usuario
|
// TODO: En la lista de conectados central, poner el logo de la institución a la que pertenece el usuario
|
||||||
// TODO: Add visibility to API function getTestConfig
|
|
||||||
|
|
||||||
|
Version 19.128.6: Feb 19, 2020 Visibility added to API function getTestConfig. (279156 lines)
|
||||||
Version 19.128.5: Feb 19, 2020 Visibility added to API function getGames. (279151 lines)
|
Version 19.128.5: Feb 19, 2020 Visibility added to API function getGames. (279151 lines)
|
||||||
Version 19.128.4: Feb 19, 2020 Increased separation between answers in matches, suggested by Jesús González Peñalver. (279151 lines)
|
Version 19.128.4: Feb 19, 2020 Increased separation between answers in matches, suggested by Jesús González Peñalver. (279151 lines)
|
||||||
Version 19.128.3: Feb 19, 2020 Changes in match results. (279151 lines)
|
Version 19.128.3: Feb 19, 2020 Changes in match results. (279151 lines)
|
||||||
|
|
Loading…
Reference in New Issue