Commit 40ac86301906f6d6335a3d75a21ce4ff7a3a123a
1 parent
e826388c
Exists in
master
and in
1 other branch
- Fix bug on points of questions info and warn. Removed support from these, use …
…information and warning instead.
Showing
2 changed files
with
4 additions
and
4 deletions
Show diff stats
BUGS.md
1 | 1 | ||
2 | # BUGS | 2 | # BUGS |
3 | 3 | ||
4 | -- no test3 está contar 1.0 valores numa pergunta do tipo info? acontece para type: info, e não para type: information | ||
5 | - mostrar solucao na revisao de prova nas perguntas radio e checkbox. | 4 | - mostrar solucao na revisao de prova nas perguntas radio e checkbox. |
6 | - impedir os eventos copy/paste. alunos usam isso para trazer codigo ja feito nos computadores. Obrigar a fazer reset? fazer um copy automaticamente? | 5 | - impedir os eventos copy/paste. alunos usam isso para trazer codigo ja feito nos computadores. Obrigar a fazer reset? fazer um copy automaticamente? |
7 | - se aluno entrar com l12345 rebenta. numa funcao get_... ver imagem no ipad | 6 | - se aluno entrar com l12345 rebenta. numa funcao get_... ver imagem no ipad |
@@ -65,6 +64,7 @@ ou usar push (websockets?) | @@ -65,6 +64,7 @@ ou usar push (websockets?) | ||
65 | 64 | ||
66 | # FIXED | 65 | # FIXED |
67 | 66 | ||
67 | +- no test3 está contar 1.0 valores numa pergunta do tipo info? acontece para type: info, e não para type: information | ||
68 | - default correct in checkbox must be 1.0, so that the pairs (right,wrong) still work with `correct` left undefined. | 68 | - default correct in checkbox must be 1.0, so that the pairs (right,wrong) still work with `correct` left undefined. |
69 | - textarea com codemirror | 69 | - textarea com codemirror |
70 | - decorador para user 0, evita o "if uid==0" em muitas funcoes. | 70 | - decorador para user 0, evita o "if uid==0" em muitas funcoes. |
questionfactory.py
@@ -56,10 +56,10 @@ class QuestionFactory(dict): | @@ -56,10 +56,10 @@ class QuestionFactory(dict): | ||
56 | 'numeric-interval': QuestionNumericInterval, | 56 | 'numeric-interval': QuestionNumericInterval, |
57 | 'textarea' : QuestionTextArea, | 57 | 'textarea' : QuestionTextArea, |
58 | # -- informative panels -- | 58 | # -- informative panels -- |
59 | - 'information': QuestionInformation, 'info': QuestionInformation, | ||
60 | - 'warning' : QuestionInformation, 'warn': QuestionInformation, | ||
61 | - 'alert' : QuestionInformation, | 59 | + 'information': QuestionInformation, |
62 | 'success' : QuestionInformation, | 60 | 'success' : QuestionInformation, |
61 | + 'warning' : QuestionInformation, | ||
62 | + 'alert' : QuestionInformation | ||
63 | } | 63 | } |
64 | 64 | ||
65 | 65 |