diff --git a/soap/swad_web_service.h b/soap/swad_web_service.h index 4a3cafd87..c0b2d0cba 100644 --- a/soap/swad_web_service.h +++ b/soap/swad_web_service.h @@ -256,6 +256,7 @@ struct swad__game char *text; int numQuestions; float maxGrade; + int visibility; }; struct swad__gamesArray { diff --git a/swad_API.c b/swad_API.c index bbf6050e4..ccca25870 100644 --- a/swad_API.c +++ b/swad_API.c @@ -4564,8 +4564,7 @@ int swad__getGames (struct soap *soap, getGamesOut->gamesArray.__ptr[NumGame].maxGrade = 0.0; /* Get visibility (row[5]) */ - // TODO: Get visibility - // getGamesOut->gamesArray.__ptr[NumGame].Visibility = TsV_GetVisibilityFromStr (row[5]); + getGamesOut->gamesArray.__ptr[NumGame].visibility = TsV_GetVisibilityFromStr (row[5]); /* Get title of the game (row[6]) */ Length = strlen (row[6]); diff --git a/swad_changelog.h b/swad_changelog.h index 4e84518ad..043ffa36c 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -497,7 +497,7 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - * En OpenSWAD: ps2pdf source.ps destination.pdf */ -#define Log_PLATFORM_VERSION "SWAD 19.128.3 (2020-02-19)" +#define Log_PLATFORM_VERSION "SWAD 19.128.5 (2020-02-19)" #define CSS_FILE "swad19.118.css" #define JS_FILE "swad19.91.1.js" /* @@ -519,10 +519,10 @@ Param // 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: Add visibility to API function getTestConfig -// TODO: Get visibility IN API function getGames -// TODO: Sugerencia de Jesús González Peñalver: añadir un poco más de espacio entre pregunta y pregunta en las opciones de un juego - Version 19.128.3: Feb 18, 2020 Changes in match results. (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.3: Feb 19, 2020 Changes in match results. (279151 lines) Copy the following icons to icon public directory: sudo cp -a icon/file-alt.svg /var/www/html/swad/icon/ sudo cp -a icon/file-signature.svg /var/www/html/swad/icon/ @@ -538,9 +538,9 @@ sudo cp -a icon/spell-check-red.svg /var/www/html/swad/icon/ sudo cp -a icon/tasks-red.svg /var/www/html/swad/icon/ sudo cp -a icon/check-circle-regular-red.svg /var/www/html/swad/icon/ - Version 19.128.2: Feb 18, 2020 Changes in match results. (279119 lines) - Version 19.128.1: Feb 18, 2020 Changes in match results. (279117 lines) - Version 19.128: Feb 18, 2020 Changes in match results. (279175 lines) + Version 19.128.2: Feb 19, 2020 Changes in match results. (279119 lines) + Version 19.128.1: Feb 19, 2020 Changes in match results. (279117 lines) + Version 19.128: Feb 19, 2020 Changes in match results. (279175 lines) Copy the following icons to icon public directory: sudo cp -a icon/file-regular-red.svg /var/www/html/swad/icon/ sudo cp -a icon/file-alt-regular-green.svg /var/www/html/swad/icon/ diff --git a/swad_test.c b/swad_test.c index 6680d899d..12f5d7773 100644 --- a/swad_test.c +++ b/swad_test.c @@ -4096,7 +4096,7 @@ void Tst_WriteChoiceAnsViewMatch (long MchCod,unsigned QstInd,long QstCod, Mch_GetIndexes (MchCod,QstInd,Indexes); /***** Begin table *****/ - HTM_TABLE_BeginWidePadding (5); + HTM_TABLE_BeginWidePadding (10); /***** Show options distributed in columns *****/ for (NumOpt = 0;