Tim Hunt
60802d3a1c
MDL-48829 quiz nav: add a data attr to buttons giving the page
...
This way, if you need to know which page each button goes to in
JavaScript, you can find out.
2015-01-15 10:18:06 +00:00
Mark Nelson
3cae9f4d13
MDL-47692 mod_quiz: added additional question_manually_graded trigger
2015-01-06 15:09:25 -08:00
Eloy Lafuente (stronk7)
d8283bf54f
MDL-48410 quiz behat: add missing CFG global or editlib stuff will fail
2014-12-23 02:35:40 +01:00
Tim Hunt
a0ecc72e1c
MDL-48666 quiz: let JS to get a Qs slot number on the summary page
2014-12-19 14:39:43 +00:00
Tim Hunt
e3f04ff410
MDL-48410 quiz behat: add missing require_once.
2014-12-10 12:12:47 +00:00
Tim Hunt
0f0855277b
MDL-48410 behat, quiz: step for efficiently adding questions
2014-12-05 12:19:18 +00:00
Tim Hunt
f79f761d1a
MDL-48382 quiz behat: make add question step more robust.
2014-11-28 13:43:42 +00:00
Dan Poltawski
c2aac9f91c
Merge branch 'MDL-48146_27' of git://github.com/timhunt/moodle into MOODLE_27_STABLE
2014-11-18 12:04:49 +00:00
Tim Hunt
00102dba3e
MDL-48146 quiz settings: fix non-percent feedback boundaries
2014-11-12 15:47:07 +00:00
Tim Hunt
9775fc1672
MDL-47618 quiz statistics: fatal error with groups.
...
The problem was that the names of query placeholders were changing. The
fix was to do things ourself, rather than using get_in_or_equal.
2014-11-11 18:29:36 +00:00
Andrew Nicols
f3e6ff8a6c
MDL-47898 mod_quiz: Correct path when checking content_editable
...
Addresses a number of issues when using the text editor in a quiz using
secure mode.
2014-10-28 07:32:42 +08:00
Tim Hunt
e6d8ca248d
MDL-46088 quiz secure window: further Atto JS fixes.
2014-10-24 17:11:24 +01:00
Damyon Wiese
d61b59175c
MDL-46088 Quiz: Prevent alert when clicking in editor in secure popup
2014-10-24 17:11:16 +01:00
Dan Poltawski
0930a859ac
Merge branch 'MDL-47651_27' of git://github.com/timhunt/moodle into MOODLE_27_STABLE
2014-10-20 17:44:35 +01:00
Tim Hunt
bb7030cf98
MDL-47673 quiz generator: default grade 100 & fix review options
...
The review option defaults need to be like what you get from the editing
form, no what is stored in the database, or they don't work!
2014-10-20 12:05:42 +01:00
Tim Hunt
c5b928ce4a
MDL-47651 quiz responses: allow for qtypes without responses
2014-10-20 12:05:26 +01:00
Eloy Lafuente (stronk7)
2893aa4904
Merge branch 'MDL-47266_27' of git://github.com/timhunt/moodle into MOODLE_27_STABLE
2014-09-23 01:12:22 +02:00
Tim Hunt
a733c2ce43
MDL-37998 quiz settings: disableif rules should account for overrides.
...
Some form fields are disabled if only one attempt is allowed. However,
there may be an override allowing some students more attempts. We need
to account for that possiblity when setting up the disabled if rules.
Note the disabledIf is good for usability on this complex form, which is
why I don't just want to get rid of them.
2014-09-22 16:24:51 +01:00
Tim Hunt
77c9d6d7e5
MDL-40006 searchableselector does not work in IE or Safari.
...
This fix is a horrible hack, but one I have used for years in tool_editrolesbycap
https://github.com/moodleou/moodle-tool_editrolesbycap/blob/master/yui/capabilityformfield/capabilityformfield.js
and it seems to be reliable.
As an added bonus, I removed the use of YUI2 here.
Also, I fixed the related button in quiz to be GET not POST.
2014-09-19 21:57:56 +01:00
Tim Hunt
3024caa173
MDL-47266 quiz: fix restore log message.
2014-09-16 14:42:31 +01:00
Tim Hunt
cb81111118
MDL-46088 Impossible to click on Atto in a Quiz in 'Secure' mode.
2014-09-06 18:18:36 +01:00
Ray Morris
d560fb3e26
MDL-41513 mod_quiz: Scrollbar not working in JS Security Popup
2014-08-14 15:44:51 -05:00
Andrew Nicols
90e4b26229
MDL-45759 mod_quiz: Correct behat test to reflect changes from a translation fix
2014-08-13 15:49:45 +08:00
Andrew Nicols
4f88c9f38d
MDL-45780 mod_quiz: Autosave should listen for textarea:change events too
2014-08-11 12:32:15 +08:00
Tim Hunt
ea9f3057da
MDL-44492 quiz: fix hilighting of graded attempt
...
In various places, when showing several attempts, we try to hilight the
most significant one (the one that gave the final grade if the quiz is
set to first/last/best attempt). That was not working because the table
zebra stripes were a more specific rule.
Also, the colour was inconsistent, not nice, and not very bootstrapy, so
I changed it.
2014-07-08 13:33:41 +01:00
Tim Hunt
f1406d3b39
MDL-44492 quiz reports: revert some style overrides.
...
But add one more. This makes Clean theme look a lot better.
2014-07-08 13:33:38 +01:00
Tim Hunt
91251e4889
MDL-44492 Rough unit test for the report SQL.
...
We really ought to test more cases, but this hits one of the most tricky cases.
2014-07-08 13:33:36 +01:00
Tim Hunt
8994593332
MDL-44492 quiz reports: make show only graded attempt work.
...
It needs to only affect finished attempts, and the wording needs to be
modified to make it clear that is what it does.
2014-07-08 13:33:33 +01:00
Tim Hunt
fa6db7b8c1
MDL-46163 quiz/questions: fix missing hidden fields.
...
I have done this by eliminating the duplication between the base class
and the subclass.
This was a regression introdcued by MDL-40313.
2014-07-02 15:04:56 +01:00
Eloy Lafuente (stronk7)
022a58af8d
Merge branch 'MDL-45445_m27' of https://github.com/markn86/moodle into MOODLE_27_STABLE
2014-06-25 00:47:43 +02:00
Damyon Wiese
9134f3f0df
Merge branch 'MDL-35453_27' of git://github.com/timhunt/moodle into MOODLE_27_STABLE
2014-06-23 12:30:41 +08:00
Tim Hunt
63dd180030
MDL-46086 quiz: fix unit test on Oracle
2014-06-20 22:29:28 +01:00
Tim Hunt
8eacbd5a32
MDL-35453 quiz reports: don't order by id.
...
We were using ORDER BY id even though there was a perfectly good
attempt column to order the attempts by one user at one quiz.
Also, Oracle was complaining:
Debug info: ORA-01799: a column may not be outer-joined to a subquery
2014-06-20 16:55:35 +01:00
Eloy Lafuente (stronk7)
d56f3531b4
Merge branch 'MDL-45970_27' of git://github.com/timhunt/moodle into MOODLE_27_STABLE
2014-06-17 01:15:47 +02:00
Marina Glancy
abd980d36d
Merge branch 'MDL-45901_Quiz_MOODLE-27-STABLE' of git://github.com/nadavkav/moodle into MOODLE_27_STABLE
2014-06-16 17:27:40 +08:00
Damyon Wiese
2538e2dab1
Merge branch 'MDL-45803_m27' of https://github.com/markn86/moodle into MOODLE_27_STABLE
2014-06-16 11:01:04 +08:00
Nadav Kavalerchik
cb201e866b
MDL-45901 - Quiz - Random question category question are not visible, in RTL mode
2014-06-14 00:42:30 +03:00
Mark Nelson
cc6a8bc792
MDL-45445 events: added '(optional)' to event params where applicable
2014-06-12 20:47:21 -07:00
Tim Hunt
8fbc1919df
MDL-45970 quiz editing: fix display of random questions.
...
The pass by reference meant the function was clobbering the variable in
the calling function. Once that was change, it was not strictly
necessary to rename the variable in the function, but I did anyway for
clarity.
Thanks to Rajesh Taneja for finding the problem, and identifying which
bit of code was broken. I really just made the patch.
2014-06-12 19:43:42 +01:00
Mark Nelson
635493f6dd
MDL-45803 mod_quiz: removed the quiz_fire_attempt_started function
...
Also commented in mod/quiz/upgrade.txt to inform developers.
2014-06-11 13:57:24 -07:00
Mark Nelson
0f583e0c91
MDL-45803 mod_quiz: removed usage of the function quiz_fire_attempt_started_event
2014-06-11 13:57:24 -07:00
Mark Nelson
1a7ded8989
MDL-45803 mod_quiz: prevented the attempt_started event from being triggered twice
2014-06-11 13:57:23 -07:00
Mark Nelson
159e18c977
MDL-45803 mod_quiz: added attempt snapshot for the attempt and preview started events
2014-06-11 13:57:23 -07:00
Marina Glancy
5248eb8831
Merge branch 'MDL-20154-27' of git://github.com/merrill-oakland/moodle into MOODLE_27_STABLE
2014-06-10 15:42:13 +08:00
Damyon Wiese
6a927661f2
Merge branch 'MDL-45763-27' of https://github.com/merrill-oakland/moodle into MOODLE_27_STABLE
2014-06-10 13:12:07 +08:00
Eric Merrill
c11ac48868
MDL-20154 quiz: Remove unused random questions
...
When a random question is removed from a quiz, and it is not
in use elsewhere, it should be deleted.
2014-06-05 11:06:59 -04:00
Tim Hunt
a1d932bd82
MDL-44054 quiz_statistics fix lang string concatenation.
2014-06-03 13:01:25 +01:00
Damyon Wiese
3d4f5c6bf8
MDL-45781 mod_quiz: Shifted files did not match CI version
2014-06-03 12:14:07 +08:00
Eric Merrill
5f86aa9d14
MDL-45763 question Random qtype should use '0' or '1' question text.
...
Some time ago, it when from using '0' for no-subcategories to blank.
Change to properly define '0' or '1', update old questions, and make
sure to fix newly restored questions.
2014-06-02 15:33:00 -04:00
Tim Hunt
23f43bb4c4
MDL-45781 quiz autosave: detect and report when the session is lost.
...
and also other errors.
2014-05-30 16:29:56 +01:00