Eloy Lafuente (stronk7)
19c8fd9e8b
Merge branch 'MDL-29644_21' of git://github.com/timhunt/moodle into MOODLE_21_STABLE
2011-10-04 23:40:23 +02:00
Tim Hunt
0bfc2dde8f
MDL-29644 qtype multianswer, hints lost doing Moodle XML export.
...
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.
2011-10-04 22:28:35 +01:00
Tim Hunt
5e69fe4971
MDL-29571 qtype description refactor unit test code a bit.
2011-10-04 11:52:20 +02:00
Tim Hunt
35d5f1c28d
MDL-27948 The question engine should use recordsets to load attempt data
...
This should be good for performance (memory usage). It also avoids having to construct a meaningless, unique, first column, which is a pain on MyQSL.
2011-06-22 18:53:15 +01:00
Eloy Lafuente (stronk7)
faf1f957ac
Merge branch 'MDL-27490' of git://github.com/timhunt/moodle
2011-06-17 17:24:51 +02:00
Tim Hunt
fde4560dae
MDL-27490 Implement a manage question behaviours admin page
...
While doing this, I found various bugs in the manages question types admin page, and so fixed them, and updated the code
there to use $OUTPUT and html_writer.
AMOS BEGIN
MOV [cannotdeletemissingqtype,admin],[cannotdeletemissingqtype,question]
MOV [cannotdeleteqtypeinuse,admin],[cannotdeleteqtypeinuse,question]
MOV [cannotdeleteqtypeneeded,admin],[cannotdeleteqtypeneeded,question]
MOV [deleteqtypeareyousure,admin],[deleteqtypeareyousure,question]
MOV [deleteqtypeareyousuremessage,admin],[deleteqtypeareyousuremessage,question]
MOV [deletingqtype,admin],[deletingqtype,question]
MOV [numquestions,admin],[numquestions,question]
MOV [numquestionsandhidden,admin],[numquestionsandhidden,question]
MOV [qtypedeletefiles,admin],[qtypedeletefiles,question]
MOV [uninstallqtype,admin],[uninstallqtype,question]
AMOS END
2011-06-17 16:21:32 +01:00
Tim Hunt
5f79a9bcb6
MDL-27898 fix question/engine/simpletest/testdatalib.php unit tests.
...
Now that MDL-27897 is fixed.
2011-06-17 11:28:05 +01:00
Tim Hunt
af2f98ee39
MDL-27747 Imporove API for getting the standard fraction choices.
...
This includes moving the None option to the top, which is slightly better for usability.
2011-06-07 13:53:29 +01:00
Tim Hunt
a4c982917e
MDL-20636 truefalse qtype clean up other unit tests to use the new way of making test tf questions.
2011-05-27 14:43:28 +01:00
Tim Hunt
c014b989ba
MDL-27649 Convert the calculated question types to use the new variants mechanism.
2011-05-26 21:53:47 +01:00
Tim Hunt
1da821bbde
MDL-27649 support question variants as a first-class concept in the question engine.
2011-05-26 21:23:56 +01:00
Tim Hunt
efe3e87b61
MDL-27411 upgrade the calculatedsimple qtype to the new question engine.
2011-05-19 12:20:49 +01:00
Tim Hunt
9c197f4445
MDL-20636 Fix some more codechecker issues.
2011-05-14 22:53:25 +01:00
Tim Hunt
a2ac234956
MDL-20636 Merge remote-tracking branch 'moodle/master' into upgrade
...
Conflicts:
lib/filestorage/file_storage.php
mod/quiz/attemptlib.php
mod/quiz/lib.php
mod/quiz/mod_form.php
mod/quiz/report/overview/overview_table.php
mod/quiz/report/overview/report.php
mod/quiz/report/responses/report.php
mod/quiz/report/responses/responses_table.php
mod/quiz/report/statistics/db/install.xml
mod/quiz/report/statistics/qstats.php
mod/quiz/report/statistics/report.php
mod/quiz/report/statistics/statistics_question_table.php
mod/quiz/report/statistics/statistics_table.php
mod/quiz/report/statistics/version.php
mod/quiz/review.php
mod/quiz/reviewquestion.php
mod/quiz/startattempt.php
mod/quiz/styles.css
mod/quiz/view.php
question/type/essay/questiontype.php
question/type/match/backup/moodle2/backup_qtype_match_plugin.class.php
question/type/match/backup/moodle2/restore_qtype_match_plugin.class.php
question/type/numerical/display.html
question/type/numerical/questiontype.php
question/type/questiontype.php
question/type/random/questiontype.php
question/type/shortanswer/questiontype.php
theme/base/style/question.css
2011-05-11 20:29:49 +01:00
Tim Hunt
91d431240f
MDL-20636 Better way of handling the creation of test questions for different question types.
2011-04-28 20:06:37 +01:00
Tim Hunt
217f9a618c
MDL-20636 Essay submission now handles attachments. #216
2011-03-31 12:45:02 +01:00
Tim Hunt
894e8b4e93
MDL-6535 new features for the essay qtype. Part I DB tables and editing form.
...
Also MDL-8229, MDL-10861, MDL-11080
The features are attachements with repsonses, control over whether the respons can contain images, letting the question author set the size for the input box, and allowing the author to input some text that is shown to the grader.
2011-03-31 12:44:38 +01:00
Tim Hunt
c7df5006b9
MDL-20636 Add lots of missing public/protected/private.
2011-03-23 16:22:25 +00:00
Tim Hunt
f39cf78c02
MDL-20636 Only show the full summary of attempt table on the first page of the review.
2011-02-25 12:24:55 +00:00
Tim Hunt
22cebed503
MDL-20636 Review and fix the format parameter to all calls to format_text.
2011-02-24 20:18:16 +00:00
Tim Hunt
2daffca554
MDL-20636 Fix 30 TODOs
2011-02-24 17:47:51 +00:00
Tim Hunt
d649fb0221
MDL-20636 Remove all references to global $QTYPES.
...
Except in the question types that have not yet been converted to the new question engine.
2011-02-24 15:29:07 +00:00
Tim Hunt
5e8a85aa64
MDL-20636 Massively reduce the number of references to quiz in the question code.
...
This mostly involves moving lang strings around, but I don't have time to do an AMOS script now.
2011-02-23 18:53:50 +00:00
Tim Hunt
88f0eb1546
MDL-20636 Reveiw all throw statements.
2011-02-23 16:50:09 +00:00
Tim Hunt
a17b297d60
MDL-20636 Add missing defined('MOODLE_INTERNAL') || die();
2011-02-23 16:00:20 +00:00
Tim Hunt
017bc1d9f3
MDL-20636 Fix @package names in question/behaviour, question/engine and question top level.
2011-02-22 20:50:18 +00:00
Tim Hunt
0ff4bd0877
MDL-20636 Fix new stdClass -> stdClass(), and trailing whitespace.
2011-02-21 18:10:19 +00:00
Tim Hunt
0f33deafaa
MDL-20636 Fix question/enigne/datalib.php unit tests.
2011-02-15 18:19:55 +00:00
Tim Hunt
1c2ed7c501
MDL-20636 Conversion of the OU multi-response question type.
2011-01-18 19:23:26 +00:00
Tim Hunt
fe0412432f
MDL-20636 And fix XML import unit tests too.
2011-01-18 16:06:05 +00:00
Tim Hunt
5f7cfba7fa
MDL-20636 Question XML export unit tests now all pass.
2011-01-18 14:36:40 +00:00
Tim Hunt
2ac0843f4b
MDL-20636 Fix behaviour unit tests. (all but opaque)
2011-01-14 16:30:27 +00:00
Tim Hunt
7a7197482d
MDL-20636 Fix if the use of the File API so images work in questions.
2011-01-13 18:35:57 +00:00
Tim Hunt
068b4594ba
MDL-20636 Conversion of the shortanswer question type to the new question engine.
...
This commit includes minor bug fixes elsewhere in the system.
2011-01-13 18:35:49 +00:00
Tim Hunt
d1b7e03d5d
MDL-20636 Current work-in-progress converting the question engine to Moodle 2.0
2011-01-13 18:35:29 +00:00