tjhunt
0a9356aad3
truefalse qtype: MDL-12027 remove spurious alt attribute from truefalse qtype radio buttons.
2008-12-10 00:54:27 +00:00
jamiesensei
2280e147c5
MDL-12418 "Item Analysis shows duplicate responses for Multiple Choice questions with LaTeX in answers" This problem was caused by the formatting of questions in get_actual_responses. Now formatting is done in response_summary rather than get_actual_response which returns an array of unformatted strings.
...
Have fixed the formatting in responses report and in statistics report to use the correct formatting for the question type.
Created new functions format_responses and format_response. format_responses works on an array and normally just walks through the array calling format_response.
2008-11-28 10:14:19 +00:00
tjhunt
8409cec0df
qtype database definitions: MDL-16978 Lots of foreign key definitions in install.xml files erroniously link to the questions table. It should be question.
2008-10-23 07:30:12 +00:00
skodak
775f811a66
MDL-16002 rewritten upgrade locking and better upgrade progress tracking; MDL-16070 Do not use $a[0] syntax in lang packs + various other upgrade improvements and fixes
2008-08-16 12:16:01 +00:00
Francois Marier
6800d78e06
Drift between CVS and git
...
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
jamiesensei
455c3efa13
MDL-14204 "Content for Quiz Statistics report table - Random_guess_score" oops ought to give that function name a 'question_' prefix
2008-06-16 13:59:30 +00:00
jamiesensei
6f51ed72be
MDL-14204 "Content for Quiz Statistics report table - Random_guess_score" added method random_guess_score to question type objects and a new function in questionlib that calls the question type method.
2008-06-16 13:29:00 +00:00
skodak
b1f93b1512
MDL-15246 moving all remaining ddl function to adminlib, keeping old lib/ddllib.php only for BC withexisting code; fixed inline docs related to ddl
2008-06-15 10:32:50 +00:00
nicolasconnault
b9bd6da4f8
CONTRIB-490 Added support for scripted generation of questions. Calculated type not yet supported (datasets too complicated ;)
2008-06-12 09:15:16 +00:00
nicolasconnault
f34488b2e6
MDL-15102 Upgrade to DMLLIB 2.0. Needs further testing and bug-fixing.
2008-06-06 14:43:15 +00:00
skodak
9db7dab2ca
MDL-15095 towards restore lib dml conversion
2008-06-03 22:36:54 +00:00
skodak
219f652b91
MDL-14679 upgrade $DB conversion
2008-05-31 18:05:42 +00:00
tjhunt
3ff8a1877a
MDL-5482 - Backup and restore problems for match, random and truefalse question types.
...
All the credit goes to Paulo Matos who carefully worked out and tested this fix, and updated the patch several times over more than a year while I very slowly got around to reviewing it and checking it in.
2008-05-07 12:32:03 +00:00
tjhunt
df06c4bb88
Improve error messages.
2007-12-13 17:24:54 +00:00
tjhunt
1061756d8e
Minor whitespace fixup.
2007-11-07 15:41:20 +00:00
skodak
f2e4a0818a
preparation for 1.9 beta 2 - setting correct requires in mods and plugins
2007-10-10 16:09:17 +00:00
stronk7
126984a047
Second pass. Questions. Some more default comments are out. MDL-11385
2007-09-24 22:20:37 +00:00
tjhunt
c033e37f16
Notices on restore.
2007-09-20 15:57:02 +00:00
jamiesensei
9fc3100f27
fix for MDL-11106 Images not showing up in shared categories
2007-09-04 11:55:10 +00:00
jamiesensei
271e6decda
merging MOODLE_19_QUESTIONS with HEAD
2007-08-09 21:51:09 +00:00
Martin Langhoff
08103c9364
cvsimport fixups
2007-07-07 14:18:30 +12:00
tjhunt
99a1bf3d9c
MDL-10374 - Quiz layout improvements, selectively merged from OU-moodle.
2007-07-06 16:37:06 +00:00
tjhunt
38dbf2c4ed
Notices from T/F question is you submit without answering in adaptive mode. Merged from OU Moodle.
2007-06-19 16:35:54 +00:00
tjhunt
53a4d39f1c
Clean up whitespace.
2007-04-24 23:26:48 +00:00
tjhunt
fe76ab5006
MDL-9389 - True / False penalty factor field redundant. Merged from MOODLE_18_STABLE.
2007-04-23 16:23:17 +00:00
tjhunt
1b16ecd1ca
MDL-9208 - Only hightlight the correct answer if that option is set.
2007-04-04 18:01:36 +00:00
pichetp
830e47a817
Give the question bank code sensible PHPdocumentor package names.
2007-03-21 02:04:53 +00:00
pichetp
41a89a0748
Give the question bank code sensible PHPdocumentor package names.
2007-03-20 02:10:26 +00:00
tjhunt
f07d1d3197
When editing some question types, the options get jumbled up.
2007-01-29 12:35:29 +00:00
skodak
32db0d42c9
MDL-8166 some forgotten set_defaults converted to set_data
2007-01-12 19:01:31 +00:00
jamiesensei
01ae934f23
renamed file and some changes to form definition etc.
2007-01-07 12:11:57 +00:00
tjhunt
36703ed725
MDL-8003 - part - Use formslib for question editing forms
...
This commit does two things:
1. Gives question types he opion to use formslib for their editing forms, instead of the old mechanism.
2. Converts the truefalse question type to formslib.
2006-12-22 15:39:40 +00:00
vyshane
2b0870563d
Refactored printing of feedback images and printing of feedback html classes. See MDL-7467 for more details.
2006-12-18 06:04:47 +00:00
vyshane
e0c256473d
Changes for MDL-7467.
...
The images show each possible answer's "correctness":
Green tick - correct answer
Amber tick - partially correct answer
Red cross - wrong answer
Each image will have the appropriate alt text.
The answer that the student has picked is highlited by changing the background colour: light green, light amber or light yellow, depending on the correctness of the chosen answer. In addition to this, the image for that answer is much bigger in size than for the other possible answers. The alt text for this image will indicate that this answer was picked.
This way, the visual cues, the relative importance of each answer (chosen/non-chosen), and the relative relationships (correct/wrong) are kept. The chosen answer is emphasised by the background highlighting, by the bigger size of the icon, and by the alt text as well. I think this covers all the bases.
2006-12-14 02:32:32 +00:00
stronk7
5d0fc5c33d
Deprecating old "upgrade" files. MDL-7214
...
Merged from MOODLE_17_STABLE
2006-10-26 22:46:02 +00:00
stronk7
3aac1dc9a0
Deprecating old "upgrade" files. MDL-7214
...
Merged from MOODLE_17_STABLE
2006-10-26 22:39:10 +00:00
stronk7
dfdd533230
New upgrade.php file added for this module. MDL-7214
2006-10-26 18:12:42 +00:00
tjhunt
0f49e5655d
Bug #6303 - True / False applies penalty factor wrongly. Merged from MOODLE_16_STABLE.
2006-08-20 15:37:42 +00:00
tjhunt
948bf30099
Fix Eclipse warnings.
2006-08-20 15:30:31 +00:00
tjhunt
a21567892f
Refactor how question types register themselves with the question bank. This change makes it easier for 3rd party question types to control their destiny, but is also backwards compatible, in that old 3rd party plugins will still work.
See http://moodle.org/mod/forum/discuss.php?d=51796 for more details.
2006-08-15 21:25:38 +00:00
stronk7
d236d4f577
Initial version of the XMLDB file for this plugin
2006-08-12 22:26:05 +00:00
tjhunt
1b8a7434e2
Bug 6239 - Allow questions to have some teacher-supplied commentary.
...
While implementing this, I removed the ~100 lines of very similar code from the top of each question type's editquestion.html template, and moved this to a the function print_question_form_start() in the base class, which uses the template question/type/editquestionstart.html. This is described in more detail here: http://moodle.org/mod/forum/discuss.php?d=51590 , and is why this patch makes the codebase 523 lines smaller.
2006-08-11 14:59:18 +00:00
tjhunt
43595a3370
Replace a few odd tabs with spaces. Merged from MOODLE_16_STABLE.
2006-07-21 08:03:23 +00:00
tjhunt
1cc1fa2425
Bug #5825 redonly attribute does not work on checkboxes, so using disabled instead when displaying quizzes read-only.
2006-06-15 10:12:17 +00:00
moodler
d87a9d7338
Fixed the upgrade_plugins function so that it automatically
...
handles the .sql file for first installation (just like activities)
2006-04-16 16:50:55 +00:00
gustav_delius
6463e8a6b6
Fixing a large number of tidy warnings
2006-04-06 20:35:49 +00:00
gustav_delius
7baa9c8016
Fixing the name of the PostgreSQL files
2006-04-05 06:11:40 +00:00
gustav_delius
0a5b58af89
Many bugfixes accummulated during CVS outage, more to come.
2006-04-05 05:53:18 +00:00
gustav_delius
aaae75b04f
Renaming question/questiontypes/ to question/types/ as requested by Martin
2006-03-24 19:54:13 +00:00