200 Commits

Author SHA1 Message Date
tjhunt
a4514d91de Renamed new commentary feature to 'general feedback'. 2006-09-19 13:35:42 +00:00
tjhunt
717cfb0a7b Rename column question_dataset_items->number to itemnumber, to avoid reserved word. 2006-09-19 10:56:00 +00:00
moodler
00adf177ad Changed some default permissions for the guest role 2006-09-12 05:58:42 +00:00
toyomoyo
247cdeb68f utf8 migrate support for additional fields MDL-6339 2006-08-30 06:12:12 +00:00
tjhunt
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
stronk7
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
tjhunt
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
toyomoyo
ed60c54a94 fix for MDL-6326, add support for quiz_feedaback table 2006-08-23 05:39:41 +00:00
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
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
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
moodler
dabfd0ed85 Removed tabs 2006-08-09 13:45:49 +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
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
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
toyomoyo
3280c9fcc4 merged fix for 5648, utf8 migration problem 2006-05-30 02:51:52 +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
gustav_delius
36be25f6e5 Introduce question_attempts table, closing bug 5468
Fixed incorrect check for whether to update state or insert new one in save_question_session()
Deal with manually graded states correctly during regrading
Increase state sequence number during manual grading
Supplied missing userid to quiz_save_best_grade() during manual grading
2006-05-13 16:57:17 +00:00
gustav_delius
28a8ec9148 Make sure that the newgraded field always points to a valid state. 2006-04-30 16:23:55 +00:00
mjollnir_
88a6724534 Fixing missing global in quiz pg upgrade 2006-04-27 23:25:06 +00:00
stronk7
81c2aa8051 Checking one table and one column that, uder some servers didn't get
correctly upgraded. Bug 5321. PG need testing!
(http://moodle.org/bugs/bug.php?op=show&bugid=5321)
2006-04-27 22:56:25 +00:00
gustav_delius
a2c0f03e5e I incorrectly had renamed quiz_ to question_ in some places. 2006-04-26 20:05:21 +00:00
vyshane
5f672a4dd8 Fixed inserts for log_display. 2006-04-24 09:05:08 +00:00
toyomoyo
f21cc86bca changed formats for log_display table 2006-04-24 08:10:55 +00:00
toyomoyo
8f23f49004 fix for 5209 2006-04-18 06:43:29 +00:00
gustav_delius
cbe20043b5 Whenever a question is edited the version field is set to question_hash(), see bug 2958. 2006-04-10 22:10:32 +00:00
gustav_delius
34b40897db Added action 'continue attempt' to log_display 2006-04-10 19:13:21 +00:00
sam_marshall
3a2c772f4e Fixed syntax error (extra comma) in Postgres version of quiz sql 2006-04-10 09:48:47 +00:00
toyomoyo
a35af29014 question->qtype 2006-04-10 05:08:19 +00:00
gustav_delius
955567ad2f Make sure all random questions have their parent field correctly set, just in case something went wrong here in the past. This may have been the cause of bug 5137 2006-04-09 21:59:55 +00:00
gustav_delius
934eea9e43 Introduce field for teacher comments, in preparation for manual grading. I am afraid I forgot to commit this yesterday, so now it is possible that some new beta testers installed Moodle without this new field. 2006-04-07 05:28:18 +00:00
gustav_delius
3a5a6f59a3 Introduce field for teacher comments, in preparation for manual grading 2006-04-06 16:42:00 +00:00
gustav_delius
6dfc23760f The obsolete table quiz_attemptonlast_datasets should no longer get created 2006-03-22 22:04:31 +00:00
gustav_delius
ead293420d Questiontypes are doing their own database upgrade now.
I modified the enrollment plugin mechanism to work for any type of plugin
2006-03-22 10:44:54 +00:00
gustav_delius
3be86ca6b3 In preparation of the qtype plugin-mechanism give set version information for all questiontypes that already have database tables. 2006-03-22 08:41:56 +00:00
gustav_delius
6040798269 Abolished the qtype integers. The question types are now indexed by their name as specified by their directory name. This will avoid a lot of confusion in future when we have plugable question types. 2006-03-21 23:08:36 +00:00
gustav_delius
32a189d636 More renamings to separate questions from quiz. Some other small fixes. 2006-03-12 21:17:42 +00:00
skodak
38b7336ed1 short php tags 2006-03-07 21:35:13 +00:00
patrickslee
7130abaf90 Missed undoing the changes to one line for the last revert 2006-03-02 03:02:35 +00:00
patrickslee
13c6d7e6bc Backup last commit regarding to the "quiz_" prefixes. There must been something wrong with the upgrade code that not renaming those tables. 2006-03-02 03:00:31 +00:00
patrickslee
38393aad2d Added missing "quiz_" prefixes to table names 2006-03-02 02:25:22 +00:00