- 21 May, 2020 1 commit
-
-
Mahmoud Kassaei authored
-
- 11 Mar, 2020 2 commits
- 29 Mar, 2019 1 commit
-
-
Tim Hunt authored
-
- 11 Feb, 2019 1 commit
-
-
John Beedell authored
-
- 15 Jan, 2019 1 commit
-
-
Shamim Rezaie authored
-
- 21 Sep, 2018 1 commit
-
-
John Beedell authored
-
- 14 Jun, 2018 1 commit
-
-
Huong Nguyen authored
Support all 'question numbers' that might be needed
-
- 27 Mar, 2018 1 commit
-
-
Simey Lameze authored
-
- 04 Mar, 2016 1 commit
-
-
Tim Hunt authored
Previously, the Check button was often shown disabled when it could not be used (e.g. when the question was finished, or when an interactive question was in the try-again state). Eventually we realised it was better usability to hide it in these cases. Note that when a teacher reviews an in-progress quiz attempt, they will see a disabled Check button if the student doing the quiz can see the button.
-
- 27 Mar, 2015 1 commit
-
-
Tim Hunt authored
* A method to change the max mark for one question_attempt in the usage * A method to replace one question in a usage with another, moving the old question_attempt to the end. * Methods to set and get metadata (string name value pairs) for each question_attempt in the usage. This gets stored in the first step in a way that should not interfere with anything else.
-
- 05 Dec, 2014 1 commit
-
-
Tim Hunt authored
The new steps make it more efficient to create questions. While making the changes, I took the opportunity to alter the tests to follow Behat best practices, and only test one thing per scenario.
-
- 03 Jul, 2014 1 commit
-
-
Tim Hunt authored
Having had one subtle bug cased be this, I decided to do a search and fix all of these.
-
- 27 Jan, 2014 1 commit
-
-
Tim Hunt authored
Whether the comments on manually graded questions were visible to students should have been controlled by the 'Specific feedback' Review option in the quiz settings. However, the quiz was not setting $displayoptions->manualcomment, so it did not work.
-
- 24 Jan, 2014 1 commit
-
-
M Kassaei authored
-
- 23 Jan, 2014 1 commit
-
-
Tim Hunt authored
With fixes for the issues unearthed by these tests.
-
- 16 Jan, 2014 1 commit
-
-
Kyle Temkin authored
Adds a set of options to the essay question type which implement the following new features: -Adds an input format which accepts only file uploads, and no inline text. -Adds an option to make the inline text response optional when attachments are enabled, so students can choose to upload an essay file. -Adds an option to make attachments required, so essays without attachments will be marked incomplete.
-
- 05 Oct, 2013 1 commit
-
-
Tim Hunt authored
This parallels question_attempt->minfraction, which allows the fractional mark to go below zere. This is needed to allow the certainty-base marking behaviours to work better.
-
- 10 Sep, 2013 1 commit
-
-
Jamie Pratt authored
out of question/engine/tests/helpers.php to question/engine/lib.php
-
- 02 Aug, 2013 1 commit
-
-
Ruslan Kabalin authored
At the moment, when attempt is built on the last one, "not yet answered" message is shown, which confuses many people. This patch modifies the state to "complete" for attempt based on previous and modifies the output string. Many thanks to Tim Hunt for guiding me through quiz infrastructure and some code suggestions.
-
- 23 Jul, 2013 1 commit
-
-
in unit tests
-
- 17 Jul, 2013 1 commit
-
-
Petr Škoda authored
-
- 09 Jul, 2013 1 commit
-
-
- 09 May, 2013 1 commit
-
-
Jean-Michel Vedrine authored
as it was in Moodle 1.9
-
- 04 Apr, 2013 1 commit
-
-
Tim Hunt authored
-
- 02 Apr, 2013 1 commit
-
-
Tim Hunt authored
Also change the unit tests to detect this problem.
-
- 29 Mar, 2013 1 commit
-
-
Tim Hunt authored
1. Split the question_attempt tests into one class per file. 2. Imporve the API to give tests more control, and to test more of the important code. Some of this is not used here, but it is about to be.
-
- 05 Mar, 2013 1 commit
-
-
Tim Hunt authored
Comment format (FORMAT_...) was correctly being processed when the manual grading happened as the result of a form submission. It was only when done using the question_usage or question_attempt API method that there was no way to specify the format. (Although I think the only place this API as used was in the unit tests.) Note that question_attempt::manual_grade API had to change, but I don't think that is a real API change. Calling code should be using question_usage::question_attempt, which is backwards compatible. Note that now, if you don't pass format, then no error is generated, but a developer debugging message is generated.
-
- 04 Feb, 2013 1 commit
-
-
Tim Hunt authored
This was incorrect use of PARAM_CLEANHTML for these inputs. This fix also adds some unit tests to try to verify that this does not break again in future.
-
- 18 Jan, 2013 1 commit
-
-
Tim Hunt authored
For preg_quote to work reliably, you must pass the delimiter you are using for your regular expression. In many places we were failing to do that.
-
- 24 Jul, 2012 1 commit
-
-
Frederic Massart authored
-
- 15 Jun, 2012 1 commit
-
-
Tim Hunt authored
-
- 16 May, 2012 1 commit
-
-
Tim Hunt authored
-
- 11 May, 2012 1 commit
-
-
Tim Hunt authored
Three things: 1. Fixes to select expectation. 2. Fixes to match walkthrough tests (No idea how these managed to pass under Simpletest!) 3. Fix expected values for multianswer upgrade tests.
-
- 11 Apr, 2012 1 commit
-
-
Petr Skoda authored
MDL-32323 make base test case classes abstract to prevent empty testcase warnings, fix property access
-
- 10 Apr, 2012 1 commit
-
-
Petr Skoda authored
1/ type/match/tests/walkthrough_test.php - tests are failing randomly, looks like some weird randomisation is going on there - see TODOs 2/ type/multianswer/tests/upgradelibnewqe_test.php contains invalid expected value - see TODO
-
- 29 Mar, 2012 1 commit
-
-
Petr Skoda authored
-
- 21 Jan, 2012 1 commit
-
-
Tim Hunt authored
-
- 05 Oct, 2011 1 commit
-
-
Tim Hunt authored
This commit also includes a lot of useful tidying up of some of the unit test helper code. I turned out that I could not use all the helper code in my new tests, but despite that it will be useful in the future, so I am committing it here.
-
- 04 Oct, 2011 1 commit
-
-