Version20.10.2

This commit is contained in:
acanas 2021-02-02 13:29:19 +01:00
parent 4159f567e6
commit cd134a5281
4 changed files with 14110 additions and 2 deletions

File diff suppressed because it is too large Load Diff

View File

@ -553,7 +553,7 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
En OpenSWAD:
ps2pdf source.ps destination.pdf
*/
#define Log_PLATFORM_VERSION "SWAD 20.10.1 (2021-01-28)"
#define Log_PLATFORM_VERSION "SWAD 20.10.2 (2021-02-02)"
#define CSS_FILE "swad20.8.css"
#define JS_FILE "swad20.6.2.js"
/*
@ -602,6 +602,7 @@ TODO: DNI de un estudiante sale err
TODO: Reportado por Javier Fernández Baldomero. Un profesor debería poder cambiar la foto de un estudiante confirmado. Sale el icono, pero luego dice ue no hay permiso
Version 20.10.2: Feb 02, 2021 Pending password is deleted when used for the first time. (304870 lines)
Version 20.10.1: Jan 28, 2021 Exam print returns to the main tab to avoid bug when the student changes the course. (304864 lines)
Version 20.10: Jan 27, 2021 Exam print is visible just after answering it. (304863 lines)
Version 20.9.1: Jan 27, 2021 Code refactoring in exam results. (304865 lines)

View File

@ -28,7 +28,7 @@
/** Uncomment one of the following installations of SWAD or create your own **/
/*****************************************************************************/
#define LOCALHOST_UBUNTU // Comment this line if not applicable
ls -#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 SWADBERRY_UGR_ES // Comment this line if not applicable

View File

@ -156,6 +156,12 @@ void Pwd_AssignMyPendingPasswordToMyCurrentPassword (void)
/***** Update my current password *****/
Str_Copy (Gbl.Usrs.Me.UsrDat.Password,Gbl.Usrs.Me.PendingPassword,
Pwd_BYTES_ENCRYPTED_PASSWORD);
/***** Remove my pending password from database
since it is not longer necessary *****/
DB_QueryDELETE ("can not remove pending password",
"DELETE FROM pending_passwd WHERE UsrCod=%ld",
Gbl.Usrs.Me.UsrDat.UsrCod);
}
/*****************************************************************************/