- 31 May, 2022 1 commit
-
-
Tim Hunt authored
This commit implements the necessary core hooks to ensure we only allow a regrade of a quetion attempt to take place if the new and old versions of the question are sufficiently similar. It will be followed by commits to each question type where the new method needs to be implemented. Automated tests will be included in the first of those (mulitple choice) becuse we need a question type that implements the hooks to test the core changes.
-
- 08 Apr, 2022 1 commit
-
-
Tim Hunt authored
The main issue to fix is that questions vesions which should not have been used (that is, hidden or draft versions) were getting offered as an option and acutally being used. As part of this I was able to substantially un-tangle mod_quiz\question\bank\qbank_helper, which previously was a mass of functions calling other functions in a complicated way. Hopefully, it is now a bit easer to understand, and perhaps less buggy.
-
- 25 Mar, 2022 1 commit
-
-
Tim Hunt authored
-
- 22 Mar, 2022 1 commit
-
-
Tim Hunt authored
-
- 24 Feb, 2022 1 commit
-
-
The tertiary navigation added for quiz module. - Added tertiary nav buttons for the edit, attempt and view page - urlselector is added to the overrides page to access user/groups - The secondary tabs are highlighted when user navigates to each page in quiz. - Updated the behat tests for the changes made. This commit is mostly Sujith's work, with further changes by Tim Hunt <T.J.Hunt@open.ac.uk> so we share the blame/credit.
-
- 15 Feb, 2022 1 commit
-
-
Sujith Haridasan authored
This reverts commit 6ba821dc.
-
- 03 Feb, 2022 1 commit
-
-
Safat Shahin authored
The versioning changes will require some major changes in the backup and restore of question bank and its elements. This change introduces those changes to make it compatible with the new world of versioning in question bank. This commit also removes quiz_slots fields and quiz_slot_tags table. This commit will also introduce the versioning db structure and some major changes to the quiz and quiz attempts for the question, random question and the view. This commit implements the behat changes for versioning in core question and associated locations.
-
- 06 Dec, 2021 1 commit
-
-
Sujith Haridasan authored
Update the tertiary navigation for this activity.
-
- 04 Oct, 2021 1 commit
-
-
Peter Dias authored
AMOS BEGIN MOV [completionpass,mod_quiz],[completionpassgrade,core_completion] MOV [completionpassdesc,mod_quiz],[completionpassgrade_desc,core_completion] MOV [completionpass_help,mod_quiz],[completionpassgrade_help,core_completion] AMOS END
-
- 05 May, 2021 1 commit
-
-
Juan Leyva authored
-
- 11 Nov, 2020 1 commit
-
-
Juan Leyva authored
-
- 23 Sep, 2020 1 commit
-
-
Juan Leyva authored
-
- 23 Feb, 2019 1 commit
-
-
Michael Hughes authored
-
- 02 Aug, 2018 1 commit
-
-
Adrian Greeve authored
-
- 01 Mar, 2018 1 commit
-
-
Shamim Rezaie authored
-
- 08 Feb, 2018 1 commit
-
-
Ryan Wyllie authored
-
- 11 Jul, 2017 1 commit
-
-
Dan Poltawski authored
-
- 10 Jul, 2017 1 commit
-
-
Adrian Greeve authored
All events equals all calendar events including completion events.
-
- 27 Jul, 2016 1 commit
-
-
dani authored
-
- 19 Feb, 2016 1 commit
-
-
Tim Hunt authored
-
- 10 Feb, 2016 1 commit
-
-
Tim Hunt authored
Even though you are not normally allowed to remove the last question in a section.
-
- 20 Jan, 2016 1 commit
-
-
Tim Hunt authored
-
- 19 Jan, 2016 1 commit
-
-
Tim Hunt authored
1. Don't show a warning if there are a limited number of attempts, only if there is a time limit. 2. Merge that time-limit warning into the same form that is used for entering a password, etc. 3. Make that form an JavaScript dialogue when you click the start attempt button. AMOS BEGIN MOV ['confirmstarttimelimit', 'mod_quiz'], ['confirmstart', 'quizaccess_timelimit'] AMOS END
-
- 10 Dec, 2015 1 commit
-
-
Dan Poltawski authored
-
- 05 Apr, 2015 1 commit
-
-
M Kassaei authored
The sections are created on the edit quiz page, and then appear in the navigation panel when the quiz is being attempted to help students find their way around. The 'Shuffle questions' setting has been moved from being per-quiz to being a per-section. This commit is actually the joint work of Mahmoud Kassaei and Tim Hunt from The Open University. We could only use one persons name for the commit and this time Mahmoud gets the credit/blame.
-
- 31 Mar, 2015 1 commit
-
-
Tim Hunt authored
This feature is designed for use on pracice or formative quizzes. It is available for quizzes that use Interactive or Immediate feedback behaviour. If the teacher turns this on in the quiz settings, then once a student has finished a question, they get a 'Redo question' button beside the question. If they click it, then the question they finished is replaced by a new one so they can try again to practise that particul skill or bit of knowledge a bit more. When randomisation is involved, the studnets will be given a question or variant that they have not seen before if possible.
-
- 18 Mar, 2015 1 commit
-
-
Tim Hunt authored
Further improvements to this code, including resolving edge cases: * The new feature can only be used when it is possible for the previous question in the quiz to be complete. * Also, this new feature cannot be used in combination with shuffle questions, because that make no sense; nor in combination with sequential navigation, because to make that work properly would be a lot of effort. If someone needs that to work later, it should be possible for them to implement it. * There were changes in the edit renderer API, to try to make things more consistent, and to make it less likely we will need to change things again in the future. See mod/quiz/upgrade.txt. * As part of this change, the styling of the Edit quiz page was tweaked to make slighly more efficient use of the horizontal space, and to be more symmetrical.
-
- 20 Oct, 2014 1 commit
-
-
Tim Hunt authored
If a quiz is set to have a grace period when time has expired, we only email studnets to warn them about their overdue attempt if they have put in an answer to at least one question that is worth some marks.
-
- 03 Oct, 2014 3 commits
-
-
Tim Hunt authored
-
Tim Hunt authored
While doing this code clean-up, I noticed that the question bank pop-up was only showing the question name, whereas it should have been showing the question name and the start of the question text, so I fixed that.
-
Colin Chambers authored
This commit is actually the joint work of Mahmoud Kassaei, Colin Chambers and Tim Hunt from The Open University. We could only use one persons name for the commit, and this time Colin gets the credit/blame. The goal of this work was to increase usability, and also clean up the page enough that it will be possible to add new features in future. Display of mod/quiz/edit.php is now entirely generated by mod_quiz\output\edit_renderer. This uses a helper class mod_quiz\structure to provide details of the structure of the quiz, and mod_quiz\repaginate to alter that structure. (Acutally, there are still some modification methods on mod_quiz\structure. Expect that to be cleaned up in future.) The new code uses much more ajax, and there are new scripts mod/quiz/edit_rest.php and mod/quiz/repaginate.php to handle this. (Again, don't be surprised if those two scripts get merged in future.) Also questionbank.ajax.php (which may, in future, be made more generic, and moved into the core question bank code.) Most of the new JavaScript code has intentionally copied the way things are done when editing activities on the course page. As a result of this, mod/quiz/editlib.php is now much shorter than it was. (In future, expect the remaining code in here to move into mod/quiz/classes.)
-
- 12 Jun, 2014 1 commit
-
-
Mark Nelson authored
Also commented in mod/quiz/upgrade.txt to inform developers.
-
- 02 Mar, 2014 1 commit
-
-
Tim Hunt authored
The sequence of questions that made up a quiz used to be stored as a comma-separated list in quiz.questions. Now the same information is stored in the rows in the quiz_slots table. This is not just 'better' in a database design sense, but it allows for the future changes we will need as we enhance the quiz in the MDL-40987 epic. Having changed the database structure, all the rest of the code needs to be changed to account for it, and that is done here. Note that there are not many unit tests for the changed bit. That is because as part of MDL-40987 we will be changing the code further, and we will add unit tests then.
-
- 17 Jan, 2014 1 commit
-
-
Tim Hunt authored
Some columns needed to be renamed: * quiz -> quizid * question -> questionid * grade -> maxmark Then all the places that refer to those needed to be fixed.
-
- 07 Nov, 2013 1 commit
-
-
rwijaya authored
-
- 21 Aug, 2013 1 commit
-
-
Tim Hunt authored
The "No more attempts are allowed" message was being shown twice. I checked back, and it has been like that since before the quiz was converted to use a renderer. Still, it looks horrible, so changing it.
-
- 21 Aug, 2012 1 commit
-
-
Tim Hunt authored
This fix a small API change in mod_quiz_renderer::finish_review_link. At least the required change is an improvement, since it gives the renderer more flexibility.
-