Commit Graph

226 Commits

Author SHA1 Message Date
ec3fa1d8eb MDL-13448 - missing the global $db statement. Fix thanks to Samuli Karevaara. 2008-02-19 16:21:36 +00:00
1061756d8e Minor whitespace fixup. 2007-11-07 15:41:20 +00:00
fcdea90774 Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +00:00
07a7d85924 MDL-11267 - Anywone who can view quiz reports can delete student attempts. Merged from MOODLE_18_STABLE. 2007-09-17 16:17:24 +00:00
271e6decda merging MOODLE_19_QUESTIONS with HEAD 2007-08-09 21:51:09 +00:00
00719c02d6 MDL-10656 - Way to control when Overall feedback is displayed, independantly of the other sorts of feedback. Also, improve the layout of those settings on the quiz editing form. 2007-07-30 10:05:11 +00:00
42ff9ce68b MDL-10111 migration of data into new gradebook; added new lib/db/upgradelib.php file (should be used by new groups upgrade code too) 2007-07-22 21:43:47 +00:00
08103c9364 cvsimport fixups 2007-07-07 14:18:30 +12:00
bb4598fcf7 Quiz time limit field: Store it in the DB as an int(10), like the other time-related columns. Also, include the unit (minutes) in the forum label. 2007-07-02 06:48:50 +00:00
ac48e43a89 MDL-648 - Email notification and confirmation when quizzes are submitted. Thanks to Graham Miller for implementing this to my design. 2007-06-26 16:34:05 +00:00
d6dd21084b MDL-9551 Implemented calls of grade_update() function in Quiz 2007-06-10 22:52:41 +00:00
73710a4679 Fixing typo causing some (a few) sites to break on upgrade. Credit
goes to Rafa Gutierrez. MDL-9316

Merged from MOODLE_18_STABLE
2007-04-12 15:34:47 +00:00
d2ab495693 MDL-8127 - bad use of DESCRIPTION constant in quiz module causes upgrade to fail. Thanks to Pavel Krejci for the fix. Merged from MOODLE_17_STABLE. 2007-03-14 21:24:44 +00:00
31f6834e36 Fix upgrade that MySQL could not cope with. 2007-03-01 16:47:55 +00:00
b9ea2b7ad5 Add a unique index to the question_numerical_units table, to prevent duplicate units being created. 2007-02-28 17:19:04 +00:00
2585a68d54 Merged from 1.8. 2007-02-16 08:46:55 +00:00
f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
4c2275d557 fix for MDL-7395, adding capaiblity mod/quiz:ignoretimelimits for quiz takers with disability. 2006-11-23 07:52:54 +00:00
1492a48f3c MDL-7309 Add error checking to the Quiz DB upgrade script. This should prevent the mysterious failures that some people are seeing when upgrading quizzes from 1.5.x to 1.6.x. Merged from MOODLE_16_STABLE. 2006-11-15 12:59:49 +00:00
5d0fc5c33d Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:46:02 +00:00
3aac1dc9a0 Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:39:10 +00:00
b8a342d7ac New upgrade.php file added for this module. MDL-7214 2006-10-26 17:33:40 +00:00
2d5a4f255b Merged fixes for MDL-6907 from stable 2006-10-11 06:21:58 +00:00
a0db31e7e5 commentary text renamed to general feedback 2006-09-29 05:45:24 +00:00
eef868d17d major whitespace cleanup - fixed trailng whitespace in new files and admin area 2006-09-20 21:00:45 +00:00
a6e0172869 renaming question_dataset_items->number to itemnumber (reserved word) and
question->commentarytext to question->generalfeedback
2006-09-20 16:22:19 +00:00
a4514d91de Renamed new commentary feature to 'general feedback'. 2006-09-19 13:35:42 +00:00
717cfb0a7b Rename column question_dataset_items->number to itemnumber, to avoid reserved word. 2006-09-19 10:56:00 +00:00
00adf177ad Changed some default permissions for the guest role 2006-09-12 05:58:42 +00:00
247cdeb68f utf8 migrate support for additional fields MDL-6339 2006-08-30 06:12:12 +00:00
cd06115fa7 Convert mod/quiz/view.php to roles, and further tidy up the code flow in there. This touches other files because I had to change a function in locallib that had an $isteacher parameter.
I have not converted the rest of the quiz, and I don't intend to. I am hoping Moodle.com will do it.

I hope this does not introduce any bugs, but view.php is so complicate (at least it is less complicated than it was) and the quiz has so many options, that it is hard to be sure. This needs lots of testing before 1.7 is released.
2006-08-25 16:03:54 +00:00
2acf462dd9 Renamed column question_sessions->comment at Eloy's
request since comment is a DB reserved word.
(mimic from sql files) Thanks Tim! B-)
2006-08-24 16:57:39 +00:00
3e3e5a4030 Renamed column question_sessions->comment at Eloy's request since comment is a DB reserved word.
I have not been able to test this fully, because I cannot assign roles (e.g. Student and Teacher) in 1.7dev at the moment to test a student answering an essay question then a teacher grading it. However, I have tested as much as possible as admin and cannot get any errors.
2006-08-24 16:44:15 +00:00
ed60c54a94 fix for MDL-6326, add support for quiz_feedaback table 2006-08-23 05:39:41 +00:00
962f8a9b4e quiz_feedback added to XMLDB 2006-08-22 21:55:20 +00:00
8792c16589 Small typo. ;-) 2006-08-22 21:44:07 +00:00
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
c097419986 Reorder the table definitions in the file, to group them more logically. 2006-08-14 13:32:39 +00:00
6750328ba0 Latest changes added + some polish in keys. 2006-08-12 23:03:59 +00:00
6f398232e6 Added une foreign+unique key 2006-08-12 21:40:30 +00:00
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
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
dabfd0ed85 Removed tabs 2006-08-09 13:45:49 +00:00
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
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
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
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
b6640a76ba merged fix for 5720 2006-06-07 06:05:03 +00:00
257c550aae merged fix for 5720 2006-06-07 05:59:25 +00:00
3280c9fcc4 merged fix for 5648, utf8 migration problem 2006-05-30 02:51:52 +00:00