Tim Hunt
97cdc1de72
MDL-27747 quiz summary, add a CSS class to the table rows based on question state.
...
The standard themes do not use this for anything, but it makes it easier for themers to do cool stuff.
Also improve the API for getting the question state class.
2011-06-07 15:11:04 +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
4c5743343f
MDL-20636 make qe upgrade tests independent of html2text details.
...
Based on Eloy's change, but refactored to be slightly nicer.
2011-06-06 17:05:54 +01:00
Eloy Lafuente (stronk7)
36e91f1de1
MDL-20636 Whitespace fixes
2011-06-06 16:38:46 +01:00
Tim Hunt
1027301215
MDL-20636 Implement the ability to only upgrade some of the quiz attempts during the main upgrade.
2011-05-27 19:44:53 +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
61e2c3fb3f
MDL-20636 fix question flag icons on the review page.
2011-05-26 19:27:38 +01:00
Tim Hunt
ab50232b7e
MDL-27413 start conversion of the multianswer qtype to the new question engine.
2011-05-23 16:45:12 +01:00
Tim Hunt
667cdde361
MDL-20636 Implement upgrade of calculated* question type attempts.
2011-05-20 18:22:35 +01:00
Tim Hunt
ffe4d23abd
MDL-20636 make question upgrade more robust for incompatible question types.
2011-05-19 20:27:09 +01:00
Tim Hunt
e35ba43c91
MDL-20636 make syncronised datasets work for calculated* questions.
2011-05-19 19:06:07 +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
afe24f850b
MDL-20636 Rename questiontype.php to questiontypebase.php. Also some conde-checker issues.
2011-05-17 16:46:57 +01:00
Tim Hunt
9c197f4445
MDL-20636 Fix some more codechecker issues.
2011-05-14 22:53:25 +01:00
Tim Hunt
bee82469d4
MDL-27408 Database upgrade for adaptive mode.
...
Could really do with more unit tests.
2011-05-13 16:55:14 +01:00
Tim Hunt
c468ce5922
MDL-20636 Fix upgrade of numerical questions.
2011-05-13 11:04:23 +01:00
Tim Hunt
39759ac468
MDL-27408 fix a few minor bugs with the upgrade from 2.0.
...
More testing, and adaptive mode, still to come.
2011-05-12 21:03:24 +01:00
Tim Hunt
bb28e3bc5e
MDL-27408 Moved the question engine install/upgrade code into the proper place.
...
I have tested upgrade from the previous development version, and a clean install. Upgrade from 2.0 still needs more work.
2011-05-12 18:58:50 +01:00
Tim Hunt
dcd03928ab
MDL-20636 split question/engine/lib.php into several smaller files.
2011-05-12 10:28:09 +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
38d42fc476
MDL-27408 question engine upgrade, change to update the quiz settings in config_plugins.
...
Also start creating the unit tests for the upgrade.
2011-05-11 15:32:29 +01:00
Tim Hunt
cd300cf34c
MDL-20636 Initial pass at converting this code to Moodle 2.0 style.
2011-05-11 15:32:26 +01:00
Tim Hunt
0859ff6503
MDL-20636 Re-organise all the old upgrade code, before I start work on it for real.
2011-05-11 15:32:14 +01:00
Tim Hunt
c749527bec
MDL-20636 Finished backup and restore of attempt data. Yay
2011-05-05 21:26:25 +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
d2c69d9373
MDL-20636 Fix query so that it works on MySQL.
2011-04-23 12:56:47 +01:00
Tim Hunt
dbf76faf52
MDL-20636 Fix two HTML validation issues.
2011-03-31 15:24:37 +01:00
Tim Hunt
48d9c17db3
MDL-20636 Essay questions can now handle files in the HTML editor. #216
2011-03-31 12:45:36 +01:00
Tim Hunt
6b5f24d376
MDL-20636 Handle deleting response files when the usage is deleted. #216
2011-03-31 12:45:17 +01:00
Tim Hunt
cd3557e64c
MDL-20636 Essay question type, make is_same_response consider files. #216
2011-03-31 12:45:07 +01:00
Tim Hunt
217f9a618c
MDL-20636 Essay submission now handles attachments. #216
2011-03-31 12:45:02 +01:00
Tim Hunt
783af2523e
MDL-20636 Implement display of grader instructions. #216
2011-03-31 12:44:57 +01:00
Tim Hunt
8026d4aa0a
MDL-20636 Can now display the file picker in essay questions with attachments #216
2011-03-31 12:44:52 +01:00
Tim Hunt
caeeff0726
MDL-20636 Can now display the attachments to an essay question that has attachments.
2011-03-31 12:44:47 +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
92d04f0b4c
MDL-20636 Problem processing submissions if slots is not given explicitly.
...
James found this during load testing.
2011-03-21 12:43:00 +00:00
Tim Hunt
56b0df7eac
MDL-20636 Kill Left over addslashes in the question engine code. #223
2011-03-11 13:45:38 +00:00
Tim Hunt
07f8858406
MDL-20636 Cannot really delete questions that were only used in previews #196
2011-03-07 16:23:11 +00:00
Tim Hunt
404da23812
MDL-20636 Fix question flag javascript.
2011-02-25 15:36:07 +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
ef31a28343
MDL-20636 Split question_definition::init_first_step into start_attempt and apply_attempt_state.
2011-02-24 19:12:42 +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
f7970e3ca7
MDL-20636 Eliminate integer and boolean in PHPdoc comments. should be int and bool.
2011-02-23 16:25:25 +00:00