1806 Commits

Author SHA1 Message Date
Tim Hunt
0652547685 MDL-27410 qtype_calculated start working on the new code for the question type.
This is an attempt to start thinking about how to handle the dataset values.
2011-05-17 18:28:16 +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
8200ccd66f MDL-27411 qtype_calculatedsimple Fix lots of coding style issues. 2011-05-17 16:01:51 +01:00
Tim Hunt
29b689142f MDL-27412 qtype_calculatedmulti Fix lots of coding style issues. 2011-05-17 16:01:16 +01:00
Tim Hunt
f184c65cda MDL-27410 Big cleanup of the coding style in qtype_calculated. 2011-05-16 18:48:50 +01:00
Tim Hunt
8f9145bb52 MDL-27505 Remove the ou-specific question types from the main branch.
The OU question types are now available from https://github.com/timhunt.
2011-05-16 08:30:44 +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
aac80ff319 MDL-20636 fix most of the remaining codechecker issues in mod/quiz and lib/questionlib.php. 2011-05-13 00:33:44 +01:00
Tim Hunt
d3bab68c78 MDL-27408 update all question and quiz plugin version.php files. 2011-05-12 23:18:47 +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
fca599a683 MDL-20636 Question engine upgrade unit tests for description, essay, match and numerical. 2011-05-11 18:17:11 +01:00
Tim Hunt
d04626e4cd MDL-20636 Question engine upgrade unit tests for shortanswer, random and multichoice. 2011-05-11 17:19:12 +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
Wale Olujide
3546187e63 MDL-20636 Fix for minor css issue for wip#372 2011-05-10 11:45:08 +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
3b3d5e799d MDL-20636 Fix 2 essay issues. Wrong file area name and broken backup/restore. 2011-05-05 21:23:41 +01:00
Tim Hunt
7bbe96dc16 MDL-27394 Moodle 2.0 backup and restore may randomise the order of multichoice/numerical/shortanswer answers 2011-05-05 19:17:41 +01:00
Tim Hunt
9e06daf251 MDL-27394 Moodle 2.0 backup and restore may randomise the order of multichoice/numerical/shortanswer answers 2011-05-05 18:53:43 +01:00
Eloy Lafuente (stronk7)
c0977cccd1 Merge branch 'MDL-26714_master' of git://github.com/timhunt/moodle 2011-05-02 11:46:10 +02:00
Tim Hunt
64d5c1c376 MDL-27155 qtype_numerical problem with GIFT import. 2011-04-29 14:14:55 +01:00
Tim Hunt
4c51e56d98 MDL-26714 qtype_multianswer regression from the previous commit for numerical subquestions. 2011-04-28 23:31:07 +01:00
Tim Hunt
d1de533164 MDL-20636 qtype_numerical oops, I deleted a function from the wrong place. Fix. 2011-04-28 20:22:45 +01:00
Tim Hunt
5073fb743f MDL-20636 qtype_numerical multi-choice units now work, I think. 2011-04-28 20:06:51 +01:00
Tim Hunt
ae3e2e6e7f MDL-20636 qtype_numerical Fix a bunch of minor issues found by Pierre. 2011-04-28 20:06:49 +01:00
Tim Hunt
5d2465c3f4 MDL-20636 numerical qtype: assorted changes
1. database upgrade to merge instructions into the questiontext field,
and remove the UNITDISPLAY option.

2. Changes to the validation in deferred feedback mode, so students
are warned about incomplete answers.

3. Using this to wark students if they enter an answer that is not
recognised as a number.
2011-04-28 20:06:47 +01:00
Tim Hunt
52ad7e0c1b MDL-20636 Tidy-up of numerical questiontype.php. 2011-04-28 20:06:45 +01:00
Tim Hunt
d7d8cee279 MDL-20636 Finish implementing answer processing. 2011-04-28 20:06:43 +01:00
Tim Hunt
b3c9da2f0a MDL-20636 I think I have now find a reliable way to parse responses. 2011-04-28 20:06:41 +01:00
Tim Hunt
544de1c035 MDL-20636 Lots of work on numerical answer matching.
Still more to do. Not all the unit tests pass at the moment.
2011-04-28 20:06:39 +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
fdd015b779 MDL-20636 Fix some minor editing problems, and a bunch of coding style. 2011-04-28 20:06:35 +01:00
Tim Hunt
1fa3936440 MDL-20636 Fix the numerical qtype editing form. 2011-04-28 20:06:33 +01:00
Tim Hunt
397bd29549 MDL-20636 Fix qtype_numerical get_question_options. 2011-04-28 20:06:31 +01:00
Tim Hunt
0ff173d3f2 MDL-20636 Fix numerical unit tests. 2011-04-28 20:06:29 +01:00
Tim Hunt
50c0296698 MDL-26724 notice from numerical qtype when no answer is given. 2011-04-28 20:06:27 +01:00
ppichet
062f7e95c9 MDL-26445 question -fix numerical unit grade
fix unit penalty grading and display

Signed-off-by: ppichet <pichet.pierre@uqam.ca>
2011-04-28 20:06:25 +01:00
Tim Hunt
f77f47ec56 MDL-20636 Start converting the numerical question type. 2011-04-28 20:06:24 +01:00
Tim Hunt
f902a54e5a MDL-20636 Fix method scope. 2011-04-23 12:57:02 +01:00
Tim Hunt
d2c69d9373 MDL-20636 Fix query so that it works on MySQL. 2011-04-23 12:56:47 +01:00
Petr Skoda
cf717dc26b MDL-27148 use new get_in_or_equal() param prefix instead of start 2011-04-14 15:15:01 +02:00
Tim Hunt
3f469e808b MDL-20636 Notice when editing shortanswer questions. #339 2011-04-08 18:21:53 +01:00
Tim Hunt
33dae771db MDL-20636 Fix bare in language string in OU code. #427, #429 2011-04-08 16:58:43 +01:00
Tim Hunt
1631ceeaec MDL-20636 Fix codechecker issues in the question behaviours. 2011-04-08 07:24:24 +01:00