Commit graph

1362 commits

Author SHA1 Message Date
stronk7
962f8a9b4e quiz_feedback added to XMLDB 2006-08-22 21:55:20 +00:00
stronk7
8792c16589 Small typo. ;-) 2006-08-22 21:44:07 +00:00
tjhunt
199e43d470 Fix Eclipse warnings. 2006-08-22 19:00:18 +00:00
tjhunt
212b7b8cd9 MDL-5270 - give students a feeback comment for their performance in the entire quiz.
Also, along the way I noticed and fixed MDL-6290 student grades not rescaled when quiz maximum grade changed.
2006-08-22 17:31:26 +00:00
tjhunt
1751eebc69 Reverting toyomoyo's conversion of mod/quiz/view.php to roles because his changes made no sense.
Admittedly, this file is pretty incomprehensible and it is not clear at first what it is trying to do. (Even though it is more comprehensible now than it was a week ago.) I'll to a proper conversion of this file to RnP once I have checked in my other changes there - assuming I can actually get Moodle to work so I can test my changes.
2006-08-22 13:53:39 +00:00
tjhunt
a4a6eb8a17 Fix toyomoyo's syntax errors. 2006-08-22 13:12:24 +00:00
toyomoyo
5cf38a57cd some quiz capabilities 2006-08-22 09:04:23 +00:00
toyomoyo
3765fd5367 some capabilities for quiz and questions, need to load them in access.php 2006-08-21 08:40:06 +00:00
tjhunt
dcc0a7e25f Bug #6305 - Quiz settings form field order could be better. Merged from MOODLE_16_STABLE. 2006-08-20 20:11:05 +00:00
tjhunt
865b753486 Code cleanup. Merged from MOODLE_16_STABLE. 2006-08-18 22:26:04 +00:00
tjhunt
b169c31e39 Save two queries if we are not going to output anything. 2006-08-16 16:54:20 +00:00
tjhunt
920b93d1e3 Remove horrific code duplication in mod/quiz/lib.php. 2006-08-16 08:46:10 +00:00
tjhunt
eeaeff8e04 Corrected include. 2006-08-15 20:44:21 +00:00
tjhunt
4e3487c59c Remove horrific code duplication in mod/quiz/mod.html. 2006-08-15 15:29:38 +00:00
tjhunt
c097419986 Reorder the table definitions in the file, to group them more logically. 2006-08-14 13:32:39 +00:00
stronk7
6750328ba0 Latest changes added + some polish in keys. 2006-08-12 23:03:59 +00:00
stronk7
6f398232e6 Added une foreign+unique key 2006-08-12 21:40:30 +00:00
stronk7
613f306d1d XMLDB schema initial commit for the quiz module.
Some doubts are pending to finish it properly.
2006-08-11 19:29:47 +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
2c3968c407 Major code cleanup of this report (that started as a small code cleanup). None of the functionality should have changed - crosses fingers. 2006-08-10 21:52:07 +00:00
moodler
dabfd0ed85 Removed tabs 2006-08-09 13:45:49 +00:00
skodak
f9d5371b28 new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283 2006-08-08 22:09:55 +00:00
moodler
bbbf2d4015 ROLES AND PERMISSIONS - FIRST CHECK-IN
=======================================

WARNING:  DEV IS CURRENTLY VERY UNSTABLE.

This is a mega-checkin of the new Roles system.   A lot of changes have
been made in core and modules.

Currently there are a lot of rough edges and known problems.  We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).

Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
tjhunt
00c300692f Fix whitespace. 2006-08-04 16:47:57 +00:00
tjhunt
bc5694133a Bug #6206 - Quiz can't be created on some mysql configurations. Merged from MOODLE_1.6_STABLE. 2006-08-03 16:30:38 +00:00
tjhunt
3b48ba9dc1 Bug #6157 - lang strings using concatenation, not $a. Merged from MOODLE_16_STABLE. 2006-07-24 14:40:48 +00:00
tjhunt
45d5305e19 Bug #6048 - Fix 'are you sure you want to start an attempt' warning. 2006-07-18 16:49:33 +00:00
tjhunt
ee26dfd17b Bug #6116 - Quiz database upgrade scripts call renamed function by the old name. Merged from MOODLE_16_STABLE. 2006-07-18 11:01:06 +00:00
tjhunt
a92a796a6a Bug 6092 - Give quiz finish time as well as start time in the quiz overview report. 2006-07-17 16:35:34 +00:00
tjhunt
079aa26d7d Bug #6077 - Teacher saving their grades destroys student essay! Merged from MOODLE_16_STABLE. 2006-07-11 16:14:23 +00:00
skodak
b2ec10959a workaround for Bug #6035 - editing quiz in one tab changes quiz in other; merged from MOODLE_16_STABLE 2006-07-11 13:02:42 +00:00
tjhunt
00aeaec820 Bug 6019: Quiz timer does not submit the form when it reaches zero. Merged from MOODLE_16_STABLE. 2006-07-05 10:43:53 +00:00
tjhunt
c358d62055 Bug 5967 - Missing lang strings and help for quiz reports. Merged from MOODLE_16_STABLE. 2006-06-30 10:31:44 +00:00
tjhunt
04a4cd2a0e Bug #5918 - essay question comments from teachers lost in 1.6 upgrade. Thanks to Mark Nielsen the suggestion of how to fix. Merged from MOODLE_16_STABLE. 2006-06-28 17:21:53 +00:00
tjhunt
5190eed81b Bug #5945: Lang string name missmatch when starting quiz attempt. Merged from MOODLE_16_STABLE. 2006-06-28 10:13:40 +00:00
tjhunt
0d8b8f1777 Quiz module sometimes left the user staring at a blank page. Now there is an error message. Merged from MOODLE_16_STABLE. 2006-06-13 18:59:41 +00:00
stronk7
daec7cda9b One notice() was preventing the upgrade to 1.7dev to continue. Bug 5773.
(http://moodle.org/bugs/bug.php?op=show&bugid=5773)
2006-06-09 10:15:03 +00:00
stronk7
8326d5afa3 Now the question_attempts creation and dotation will be
only executed if it hasn't been done in MOODLE_16_STABLE. Bug 5717.
(http://moodle.org/bugs/bug.php?op=show&bugid=5717)
2006-06-07 17:56:47 +00:00
toyomoyo
b6640a76ba merged fix for 5720 2006-06-07 06:05:03 +00:00
toyomoyo
257c550aae merged fix for 5720 2006-06-07 05:59:25 +00:00
tjhunt
37611ee17c Bug #5559: revised fix - using better CSS class names. Merged from MOODLE_16_STABLE. 2006-06-06 17:10:04 +00:00
tjhunt
7d83bbc2bd Bug #5506: Fix for calculated questions where each one builds on the last. Merged from MOODLE_16_STABLE. 2006-06-06 14:29:05 +00:00
tjhunt
4919564de9 Fix notices from the quiz module on backup and restore. Merged from MOODLE_16_STABLE. 2006-06-06 14:15:48 +00:00
tjhunt
6d456aa2c1 Fixed reference to incorrect language string. Merged from MOODLE_16_STABLE. 2006-06-05 14:24:13 +00:00
skodak
fce786b146 Bug #5721 - students cannot take quiz when course language set to French; merged from MOODLE_16_STABLE 2006-06-04 23:01:13 +00:00
skodak
a5e7cb78fa Making sure timelimit is converted to integer before being written to database, otherwise postgreSQL complains. Closing bug 5401; merged from MOODLE_15_STABLE 2006-06-02 16:02:10 +00:00
tjhunt
042e68477d Bug #5559: Move CLOZE qtype hightight colours into CSS insted of hardcoding, so themes can override. Merged from 1.6stable. 2006-06-02 15:39:41 +00:00
tjhunt
cd70aa32f2 Bug 5247: stop people creating tests with a close date before the open date. 2006-06-01 14:27:37 +00:00
tjhunt
7baff8aa1a Fix for bug 5379: Item analysis report should not have a hard coded list of question types.
Please test this if you have a moodle install with some unusual question types. Thanks.

Merged from 1.6stable.
2006-05-31 15:58:39 +00:00
tjhunt
ce687025b7 Fix some Eclipse code style warnings. 2006-05-31 10:35:17 +00:00