Version19.83.1

This commit is contained in:
Antonio Cañas Vargas 2019-12-05 15:47:23 +01:00
parent 4aa68192af
commit cf673a19b8
4 changed files with 15 additions and 10 deletions

View File

@ -490,14 +490,16 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
En OpenSWAD:
ps2pdf source.ps destination.pdf
*/
#define Log_PLATFORM_VERSION "SWAD 19.83 (2019-12-04)"
#define Log_PLATFORM_VERSION "SWAD 19.83.1 (2019-12-05)"
#define CSS_FILE "swad19.82.3.css"
#define JS_FILE "swad19.70.js"
/*
// 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: En cada juego, poder listar los resultados en una tabla como la de resultados globales
// TODO: Arreglar bug en timeline: al enviar un comentario a un post en el timeline personal, se muestra el timeline global.
*
Version 19.83.1: Dec 05, 2019 Fixed bug in user's timeline. (247827 lines)
Version 19.83: Dec 04, 2019 Removed API function playMatch.
API function getMatchStatus finished. (247823 lines)
Version 19.82.3: Dec 04, 2019 Code refactoring in matches.

View File

@ -28,9 +28,9 @@
/** Uncomment one of the following installations of SWAD or create your own **/
/*****************************************************************************/
//#define LOCALHOST_UBUNTU // Comment this line if not applicable
#define LOCALHOST_UBUNTU // Comment this line if not applicable
//#define OPENSWAD_ORG // Comment this line if not applicable
#define SWAD_UGR_ES // Comment this line if not applicable
//#define SWAD_UGR_ES // Comment this line if not applicable
//#define SWADBERRY_UGR_ES // Comment this line if not applicable
/*****************************************************************************/

View File

@ -801,10 +801,7 @@ static void Lay_WriteScriptParamsAJAX (void)
/* In all the actions related to view or editing user's timeline ==>
put parameters used by AJAX */
if (Gbl.Usrs.Other.UsrDat.UsrCod <= 0)
Usr_GetParamOtherUsrCodEncryptedAndGetListIDs ();
if (!Gbl.Usrs.Other.UsrDat.Nickname[0])
Nck_GetNicknameFromUsrCod (Gbl.Usrs.Other.UsrDat.UsrCod,
Gbl.Usrs.Other.UsrDat.Nickname);
Usr_GetParamOtherUsrCodEncrypted (&Gbl.Usrs.Other.UsrDat);
// Refresh parameters
HTM_TxtF ("var RefreshParamNxtActOldPub = \"act=%ld\";\n"
"var RefreshParamUsr = \"OtherUsrCod=%s\";\n",

View File

@ -2426,6 +2426,8 @@ static void TL_PutTextarea (const char *Placeholder,const char *ClassTextArea)
void TL_ReceivePostUsr (void)
{
long NotCod;
/***** Get user whom profile is displayed *****/
Usr_GetParamOtherUsrCodEncryptedAndGetUsrData ();
@ -2437,7 +2439,8 @@ void TL_ReceivePostUsr (void)
/***** Receive and store post, and
write updated timeline after publication (user) *****/
TL_ReceivePostGbl ();
NotCod = TL_ReceivePost ();
TL_ShowTimelineUsrHighlightingNot (NotCod);
/***** End section *****/
HTM_SECTION_End ();
@ -3350,6 +3353,8 @@ static long TL_GetParamPubCod (void)
void TL_ReceiveCommentUsr (void)
{
long NotCod;
/***** Get user whom profile is displayed *****/
Usr_GetParamOtherUsrCodEncryptedAndGetUsrData ();
@ -3361,7 +3366,8 @@ void TL_ReceiveCommentUsr (void)
/***** Receive comment in a note
and write updated timeline after commenting (user) *****/
TL_ReceiveCommentGbl ();
NotCod = TL_ReceiveComment ();
TL_ShowTimelineUsrHighlightingNot (NotCod);
/***** End section *****/
HTM_SECTION_End ();