mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-19 23:17:07 +02:00
Version19.145.
This commit is contained in:
parent
e1bdd19086
commit
d12c21756a
|
@ -497,7 +497,7 @@ 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.145.5 (2020-03-10)"
|
#define Log_PLATFORM_VERSION "SWAD 19.145.6 (2020-03-11)"
|
||||||
#define CSS_FILE "swad19.145.5.css"
|
#define CSS_FILE "swad19.145.5.css"
|
||||||
#define JS_FILE "swad19.91.1.js"
|
#define JS_FILE "swad19.91.1.js"
|
||||||
/*
|
/*
|
||||||
|
@ -520,12 +520,11 @@ Param
|
||||||
// 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: Miguel Damas: por defecto, marcar "Permitir que los profesores..." en los test (que ya esté marcado en lugar de desmarcado)
|
|
||||||
// TODO: Miguel Damas: al principio de los exámenes tendría que poner cuánto resta cada pregunta
|
// TODO: Miguel Damas: al principio de los exámenes tendría que poner cuánto resta cada pregunta
|
||||||
// TODO: Si el alumno ha marcado "Permitir que los profesores...", entonces pedir confirmación al pulsar el botón azul, para evitar que se envíe por error antes de tiempo
|
// TODO: Si el alumno ha marcado "Permitir que los profesores...", entonces pedir confirmación al pulsar el botón azul, para evitar que se envíe por error antes de tiempo
|
||||||
// TODO: Oresti Baños: cambiar ojos por candados en descriptores para prohibir/permitir y dejar los ojos para poder elegir descriptores
|
// TODO: Oresti Baños: cambiar ojos por candados en descriptores para prohibir/permitir y dejar los ojos para poder elegir descriptores
|
||||||
// TODO: Comprobar los resultados de partidas de juegos con preguntas eliminadas
|
|
||||||
|
|
||||||
|
Version 19.145.6: Mar 11, 2020 By default, teachers are allowed to see test exams. Suggested by Miguel Damas Hermoso. (282391 lines)
|
||||||
Version 19.145.5: Mar 10, 2020 Changed icon to comment in timeline. (282390 lines)
|
Version 19.145.5: Mar 10, 2020 Changed icon to comment in timeline. (282390 lines)
|
||||||
1 change necessary in database:
|
1 change necessary in database:
|
||||||
ALTER TABLE tl_posts CHANGE COLUMN Content Txt LONGTEXT NOT NULL;
|
ALTER TABLE tl_posts CHANGE COLUMN Content Txt LONGTEXT NOT NULL;
|
||||||
|
@ -589,9 +588,9 @@ ALTER TABLE prg_items ADD COLUMN Level INT NOT NULL DEFAULT 1 AFTER ItmInd;
|
||||||
Version 19.134.1: Feb 26, 2020 Order course program items by indexes. (282022 lines)
|
Version 19.134.1: Feb 26, 2020 Order course program items by indexes. (282022 lines)
|
||||||
Version 19.134: Feb 26, 2020 Move up and down a course program item. Not finished. (281991 lines)
|
Version 19.134: Feb 26, 2020 Move up and down a course program item. Not finished. (281991 lines)
|
||||||
5 changes necessary in database:
|
5 changes necessary in database:
|
||||||
ALTER TABLE prg_items CHANGE COLUMN PrgItmCod ItmCod INT NOT NULL AUTO_INCREMENT;
|
ALTER TABLE prg_items CHANGE COLUMN PrgIteCod ItmCod INT NOT NULL AUTO_INCREMENT;
|
||||||
ALTER TABLE prg_items ADD COLUMN ItmInd INT NOT NULL DEFAULT 0 AFTER ItmCod;
|
ALTER TABLE prg_items ADD COLUMN ItmInd INT NOT NULL DEFAULT 0 AFTER ItmCod;
|
||||||
ALTER TABLE prg_grp CHANGE COLUMN PrgItmCod ItmCod INT NOT NULL;
|
ALTER TABLE prg_grp CHANGE COLUMN PrgIteCod ItmCod INT NOT NULL;
|
||||||
Only if you use MyISAM:
|
Only if you use MyISAM:
|
||||||
ALTER TABLE prg_items ENGINE=MyISAM;
|
ALTER TABLE prg_items ENGINE=MyISAM;
|
||||||
ALTER TABLE prg_grp ENGINE=MyISAM;
|
ALTER TABLE prg_grp ENGINE=MyISAM;
|
||||||
|
|
|
@ -360,7 +360,7 @@ void Gbl_InitializeGlobals (void)
|
||||||
Gbl.Test.Config.Pluggable = Tst_PLUGGABLE_UNKNOWN;
|
Gbl.Test.Config.Pluggable = Tst_PLUGGABLE_UNKNOWN;
|
||||||
Gbl.Test.Config.Visibility = TsV_VISIBILITY_DEFAULT;
|
Gbl.Test.Config.Visibility = TsV_VISIBILITY_DEFAULT;
|
||||||
Gbl.Test.NumQsts = Tst_CONFIG_DEFAULT_DEF_QUESTIONS;
|
Gbl.Test.NumQsts = Tst_CONFIG_DEFAULT_DEF_QUESTIONS;
|
||||||
Gbl.Test.AllowTeachers = false; // Must the test result be saved?
|
Gbl.Test.AllowTeachers = true; // Test result will be visible by teachers?
|
||||||
Gbl.Test.AllAnsTypes = false;
|
Gbl.Test.AllAnsTypes = false;
|
||||||
Gbl.Test.ListAnsTypes[0] = '\0';
|
Gbl.Test.ListAnsTypes[0] = '\0';
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
/*********************************** Headers *********************************/
|
/*********************************** Headers *********************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
|
#include <stdlib.h> // For free
|
||||||
#include <string.h> // For strlen
|
#include <string.h> // For strlen
|
||||||
|
|
||||||
#include "swad_action.h"
|
#include "swad_action.h"
|
||||||
|
|
|
@ -398,9 +398,10 @@ void Tst_ShowNewTest (void)
|
||||||
/***** Test result will be saved? *****/
|
/***** Test result will be saved? *****/
|
||||||
HTM_DIV_Begin ("class=\"CM\"");
|
HTM_DIV_Begin ("class=\"CM\"");
|
||||||
HTM_LABEL_Begin ("class=\"%s\"",The_ClassFormInBox[Gbl.Prefs.Theme]);
|
HTM_LABEL_Begin ("class=\"%s\"",The_ClassFormInBox[Gbl.Prefs.Theme]);
|
||||||
HTM_INPUT_CHECKBOX ("Save",false,
|
HTM_INPUT_CHECKBOX ("AllowTchs",false, // Don't submit on change
|
||||||
"value=\"Y\"%s",
|
"value=\"Y\"%s",
|
||||||
Gbl.Test.AllowTeachers ? " checked=\"checked\"" : "");
|
Gbl.Test.AllowTeachers ? " checked=\"checked\"" :
|
||||||
|
"");
|
||||||
HTM_TxtF (" %s",Txt_Allow_teachers_to_consult_this_test);
|
HTM_TxtF (" %s",Txt_Allow_teachers_to_consult_this_test);
|
||||||
HTM_LABEL_End ();
|
HTM_LABEL_End ();
|
||||||
HTM_DIV_End ();
|
HTM_DIV_End ();
|
||||||
|
@ -463,8 +464,8 @@ void Tst_AssessTest (void)
|
||||||
/* Get number of questions */
|
/* Get number of questions */
|
||||||
Tst_GetParamNumQst ();
|
Tst_GetParamNumQst ();
|
||||||
|
|
||||||
/***** Get if test must be saved *****/
|
/***** Get if test will be visible by teachers *****/
|
||||||
Gbl.Test.AllowTeachers = Par_GetParToBool ("Save");
|
Gbl.Test.AllowTeachers = Par_GetParToBool ("AllowTchs");
|
||||||
|
|
||||||
/***** Get questions and answers from form to assess a test *****/
|
/***** Get questions and answers from form to assess a test *****/
|
||||||
Tst_GetQuestionsAndAnswersFromForm ();
|
Tst_GetQuestionsAndAnswersFromForm ();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user