Tim Hunt
1c2e363c0e
MDL-46086 quiz: fix unit test on Oracle
2014-06-20 22:25:21 +01:00
Damyon Wiese
1df546a77e
Merge branch 'MDL-45803_master' of https://github.com/markn86/moodle
2014-06-16 11:00:26 +08:00
Mark Nelson
62a3472e24
MDL-45803 mod_quiz: removed usage of the function quiz_fire_attempt_started_event
2014-06-11 13:53:03 -07:00
Eric Merrill
828a4e9f6e
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:26 -04:00
Petr Skoda
b649341dab
MDL-43557 add missing description to \mod_quiz\event\attempt_becameoverdue
2014-04-30 15:00:03 +08:00
Dan Poltawski
ac13361b77
Merge branch 'MDL-45023-master' of git://github.com/jamiepratt/moodle
2014-04-18 13:47:10 +08:00
Mark Nelson
92089e0ecc
MDL-45057 mod_quiz: restored the user/group override deleted events
2014-04-13 22:32:06 -07:00
Dan Poltawski
97c274ded7
MDL-40063/MDL-45057 quiz: disable related unit tests
...
I kept the commit number format same as the last commit just
to annoy Fred.
2014-04-11 17:36:40 +08:00
James Pratt
ea6db479dd
MDL-45023 quiz statistics report : refactoring of tests for code reuse
2014-04-11 15:07:08 +07:00
Mark Nelson
9d65d3e70b
MDL-40063 mod_quiz: created 'override_created' events
2014-04-10 20:42:44 -07:00
Mark Nelson
e8365f27e5
MDL-40063 mod_quiz: replaced ‘manualgrade’ add_to_log call with an event
2014-04-10 20:42:24 -07:00
Mark Nelson
a2caf56dff
MDL-40063 mod_quiz: replaced 'attempt' add_to_log call with an event
2014-04-10 20:41:56 -07:00
Mark Nelson
45e1e3bd76
MDL-40063 mod_quiz: replaced 'preview' add_to_log call with an event
2014-04-10 20:41:54 -07:00
Mark Nelson
e0114708af
MDL-40063 mod_quiz: replaced 'continue attempt' add_to_log call with an event
2014-04-10 20:41:39 -07:00
Mark Nelson
8de2eb3582
MDL-40063 mod_quiz: replaced 'delete override' add_to_log call with events
2014-04-10 20:41:09 -07:00
Mark Nelson
e7d80a059a
MDL-40063 mod_quiz: replaced 'edit override' add_to_log call with events
2014-04-10 20:40:51 -07:00
Mark Nelson
60ab03eb10
MDL-40063 mod_quiz: replaced 'view summary' add_to_log call with an event
2014-04-10 20:40:25 -07:00
Mark Nelson
2a3f82041f
MDL-40063 mod_quiz: replaced 'review' add_to_log call with an event
2014-04-10 20:40:13 -07:00
Mark Nelson
2ec79ad996
MDL-40063 mod_quiz: replaced 'report' add_to_log call with an event
2014-04-10 20:39:56 -07:00
Mark Nelson
7dad3d95fd
MDL-40063 mod_quiz: replaced 'delete attempt' add_to_log call with an event
2014-04-10 20:39:15 -07:00
Mark Nelson
5e8f736565
MDL-40063 mod_quiz: replaced 'editquestions' add_to_log call with an event
2014-04-10 20:34:27 -07:00
Sam Hemelryk
46c627cf05
Merge branch 'MDL-44690-master' of git://github.com/jamiepratt/moodle
2014-03-26 13:25:51 +13:00
James Pratt
49dda8fe6e
MDL-44690 core_questions : amending unit tests
...
to use more human friendly format for submitted question type data.
2014-03-25 14:37:51 +07:00
Eloy Lafuente (stronk7)
1c774322ba
Merge branch 'MDL-41760-master-v8' of https://github.com/jamiepratt/moodle
...
Conflicts:
version.php
2014-03-19 02:14:00 +01:00
James Pratt
038014c415
MDL-41760 quiz_statistics : response analysis for first/last/all tries
2014-03-18 18:47:19 +07:00
David Monllao
0176d12dd6
MDL-44246 behat: New mod_quiz test when JS is disabled
...
Also including a modification in behat_question_base
to make the internal method work with both JS and non-JS.
2014-03-18 15:32:58 +08:00
Tim Hunt
2f83d71ccc
MDL-44534 also fix the mod_quiz behat tests.
...
They had duplicated code. I refactored.
2014-03-13 18:33:27 +01:00
David Monllao
759b323e0e
MDL-43236 behat: Updating references to deprecated methods
2014-03-07 16:05:21 +08:00
Dan Poltawski
a59b2e18d8
Merge branch '44180-27' of git://github.com/samhemelryk/moodle
2014-03-05 12:47:17 +08:00
Damyon Wiese
267c4b4292
Merge branch 'MDL-43738_master' of git://github.com/dmonllao/moodle
2014-03-04 13:29:03 +08:00
Sam Hemelryk
01773a6d00
MDL-44180 mod_quiz: unified @package use
2014-03-03 08:37:06 +13:00
Tim Hunt
ccba5b8805
MDL-43749 normalise quiz database structure.
...
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.
2014-03-02 10:00:40 +01:00
David Monllao
8aff0eec9d
MDL-43738 behat: Refactoring the field type guesser
...
The previous behaviour delegates the responsability
of overwriting the 3 public methods to the child
classes, now the field type or moodleform field is
guessed earlier in the execution flow.
Other changes introduced here:
- Fix wrong moodleform detection when there is a form
in the page but the field we are dealing with is
not inside it.
- Updating the last week feature files to these new
step definitions.
- Some coding style changes.
2014-02-27 18:43:20 +08:00
Damyon Wiese
a18c3591c6
MDL-40619 mod_quiz: Remove commented non-js behat scenario
2014-02-25 11:02:03 +08:00
Damyon Wiese
fce9daa806
Merge branch 'wip-MDL-40619-master' of git://github.com/marinaglancy/moodle
2014-02-25 10:53:09 +08:00
James Pratt
99caa248a8
MDL-43478 quiz responses report : display last / first / all tries
...
when using multiple try question behaviour
2014-02-23 13:39:08 +07:00
Marina Glancy
7f051de21d
MDL-40619 behat: test for creating a one-question quiz
2014-02-17 14:19:32 +08:00
Rajesh Taneja
623a32e50d
MDL-43736 Events: Updated unit test to test context not used in event
2014-01-29 11:39:50 +08:00
Tim Hunt
e101ec9fd7
MDL-43874 quiz, teacher comments should respect display options.
...
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.
2014-01-27 12:01:32 +00:00
Tim Hunt
7051f3a882
MDL-43690 quiz_question_tostring missing s().
...
This meant that the edit quiz page sometimes had invalid HTML.
2014-01-17 10:56:27 +00:00
Marina Glancy
7fbe33fcf1
MDL-42400 generator: module generators call add_moduleinfo instead of direct inserts
2013-10-26 14:00:23 +11:00
Frederic Massart
0a8b091d41
MDL-41039 mod_quiz: Renaming event to attempt_becameoverdue
2013-09-26 16:43:20 +08:00
Frederic Massart
d900f1dc05
MDL-41039 mod_quiz: Replace events_trigger to new events
2013-09-26 16:43:03 +08:00
Jamie Pratt
764f6153d1
MDL-41572 pass through question behaviour vars with correct prefix
...
Through prepare_simulated_post_data. Also includes unit tests for
multiple attempts and tries.
2013-09-15 17:52:18 +07:00
Jamie Pratt
707825265d
MDL-41540 remove use of $USER
...
by quiz_create_attempt internally.
2013-09-10 14:36:30 +07:00
Jamie Pratt
3652dddda8
MDL-40077 quiz stats : Test stats as expected for csv file responses
2013-08-10 11:17:47 +07:00
Jamie Pratt
e39a2faa58
MDL-40729 check marks and grades from quiz attempts
...
compare to marks in csv file.
2013-07-23 16:04:13 +08:00
Jamie Pratt
da6bb0c506
MDL-40076 Build entire quiz attempts by supplying attempt
...
data for each question in the quiz, pulling responses
from a csv file.
2013-07-23 15:59:53 +08:00
Jamie Pratt
c2b051c7aa
MDL-40542 need to be able to select variant
...
in unit tests
2013-07-23 15:11:56 +08:00
Jamie Pratt
c2f2e7f008
MDL-40541 need to be able to select random q
...
in unit tests
2013-07-23 15:08:32 +08:00