Commit graph

1402 commits

Author SHA1 Message Date
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
toyomoyo
3280c9fcc4 merged fix for 5648, utf8 migration problem 2006-05-30 02:51:52 +00:00
skodak
97bf7d6271 Bug #5456 - Item Analysis fails to calculate results for random question type; merged from MOODLE_16_STABLE 2006-05-26 06:55:25 +00:00
skodak
cebf9a83e9 Bug #5472 - Download quiz grades in Excel format does not show correct foelds; merged from MOODLE_16_STABLE 2006-05-26 06:48:25 +00:00
skodak
be41c83691 Bug #5416 - sorting by question column in overview report plugin broken - please test; merged from MOODLE_16_STABLE 2006-05-25 10:00:06 +00:00
skodak
5e205b74dd fixed bug #5562 I hope; merged from MOODLE_16_STABLE 2006-05-24 18:56:33 +00:00
martinlanghoff
ba838c8d1f moodle16cleanup: mod/quiz correctly sync the constraints and indexes
which was not changed when it was moved from quiz module to question lib
2006-05-17 06:57:03 +00:00
martinlanghoff
f470a1c6d5 moodle16cleanup: mod/quiz uniqueid does not exists, taking upgrade script
from mysql.php ver 2005070202. dropping some unused tables during the
transition from quiz to question lib
2006-05-17 06:56:14 +00:00
mjollnir_
0c49258b99 mod/quiz/view No-longer display final grade when quiz settings forbid it.
Changed view.php so that it checked if there were any attempts with
concealed grades before printing the student's overall score.
Credit: Peter Bulmer <peter.bulmer@catalyst.net.nz>
Merged from MOODLE_16_STABLE
2006-05-15 21:52:18 +00:00
skodak
2c3432e684 fixed problem when set both loginhttps and https in wwwroot, closes bug #5507 and #3848; merged from MOODLE_16_STABLE 2006-05-15 21:36:46 +00:00
gustav_delius
91d7ead073 Answers to essay questions are now saved correctly when navigating to another page, fixing bug 4478 2006-05-15 20:42:14 +00:00