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
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
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
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
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
toyomoyo
f21cc86bca
changed formats for log_display table
2006-04-24 08:10:55 +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
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
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
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
gustav_delius
dc1f00de19
Some little fixes and more renaming to cleanly separate question code from quiz code
...
Renaming tables:
quiz_answers -> question_answers
quiz_categories -> question_categories
Renaming functions:
quiz_get_category_menu -> question_category_menu
quiz_get_category_coursename -> question_category_coursename
quiz_categorylist -> question_categorylist
2006-03-01 07:03:57 +00:00
gustav_delius
4f48fb42af
Towards removing reference to quiz module from the question code
...
Renaming tables:
quiz_questions -> question
quiz_states -> question_states
Renaming functions:
quiz_delete_question -> delete_question
quiz_get_question_options -> get_question_options
quiz_get_states -> get_question_states
quiz_restore_state -> restore_question_state
quiz_save_question_session -> save_question_session
quiz_state_is_graded -> question_state_is_graded
quiz_extract_responses -> question_extract_responses
quiz_regrade_question_in_attempt -> regrade_question_in_attempt
quiz_process_responses -> question_process_responses
quiz_isgradingevent -> question_isgradingevent($event)
quiz_search_for_duplicate_responses -> question_search_for_duplicate_responses
quiz_apply_penalty_and_timelimit -> question_apply_penalty_and_timelimit
quiz_print_question_icon -> print_question_icon
quiz_get_image -> get_question_image
quiz_make_name_prefix -> question_make_name_prefix
quiz_get_id_from_name_prefix -> question_get_id_from_name_prefix
quiz_new_attempt_uniqueid -> question_new_attempt_uniqueid
quiz_get_renderoptions -> question_get_renderoptions
quiz_print_quiz_question -> print_question
quiz_get_question_responses -> get_question_responses
quiz_get_question_actual_response -> get_question_actual_response
quiz_get_question_fraction_grade -> get_question_fraction_grade
quiz_get_default_category -> get_default_question_category
Renaming constants:
QUIZ_EVENT.... -> QUESTION_EVENT....
QUIZ_MAX_NUMBER_ANSWERS -> QUESTION_NUMANS
2006-02-28 09:26:00 +00:00
gustav_delius
38992f7e23
Changed grade fields to type real, added missing essay question tables.
2006-02-20 09:04:09 +00:00
gustav_delius
03d1753c1c
Renamed table quiz_newest_states to question_sessions
2006-02-15 08:38:41 +00:00
mjollnir_
347723bda2
fixing bug # 4751 - adding unique key in postgres for mod/quiz for gustav
2006-02-14 02:01:06 +00:00
gustav_delius
b04523d1c4
convert sequence field to text to accomodate very long sequences, see bug 4257
2006-02-13 23:34:30 +00:00
gustav_delius
a42f000635
Matching questions now no longer give away the answer in the page source, see bug 694 (that is an old bug!)
2006-02-13 23:15:40 +00:00
gustav_delius
162cbee229
Added field to versioning table needed by new versioning table (to be committed later)
2006-02-12 15:28:17 +00:00
gustav_delius
5a981c9480
shuffleanswers option can now also be set at the question level, see http://moodle.org/mod/forum/discuss.php?d=39371
2006-02-12 09:46:34 +00:00
moodler
cab300a85f
Add two new fields for time enforced delay between two quizzes
2006-02-08 04:41:31 +00:00
michaelpenne
4f1b940454
The two .sql scripts were missing the uniqueid column in the quiz_attempts table.
2005-09-19 19:12:35 +00:00
patrickslee
4e980e5a92
Mass cleanup of bad postgres upgrade scripts(merged from 15_stable)
2005-08-15 23:17:58 +00:00
mjollnir_
b71748a86c
Merged from MOODLE_15_STABLE: Fixing typo on index for rqp type (bug 3547)
2005-06-19 21:31:26 +00:00
mjollnir_
adf19ef5b4
Merged from MOODLE_15_STABLE: Fixing bug 3502 - 2 postgres problems - one in db creation (my fault) and one in '' instead of 0 for int in sql query
2005-06-15 22:49:02 +00:00
mjollnir_
f010d33875
Merged from MOODLE_14_STABLE. Merging in my last unmerged patch. Corrects a bad constraint name in postgres for quiz. Bumped quiz version
2005-05-17 21:51:29 +00:00
mindforge
e81abe1e3e
The remaining DB files for the previous fix.
2005-05-14 17:28:17 +00:00
mjollnir_
9c05be5508
Change new to newest for quiz_newest_states (reserved word)
2005-05-08 10:38:56 +00:00
mjollnir_
730e965b17
New postgres7.sql for quiz -- There is a bug in this to do with reserved words (see bug #3148 ) but committing anyway as is clean apart from this.
2005-05-07 00:23:50 +00:00
moodler
6477dadd33
Allow answer choices of any length. Bug 2814. (SE)
2005-04-20 05:19:35 +00:00
gustav_delius
1909875912
Renamed quiz_question_version to quiz_question_versions as suggested by Eloy in bug 2777
2005-03-23 20:59:55 +00:00
gustav_delius
4dd7a7fd6e
Fixed log, bug 2778
2005-03-21 00:06:04 +00:00
gustav_delius
c6bfdec3fc
Versioning of questions: when editing questions the teacher is told about the quizzes in which the question is used and is asked whether to replace them with the new version or not. If there are already attempts at a question than the original version is always kept in the database for audit purposes. More details at http://moodle.org/mod/forum/discuss.php?d=16479
2005-03-03 15:17:45 +00:00
stronk7
72036f9305
New quiz option addded: decimalpoints
...
(used to decide the number of decimals showed in grades)
2005-02-14 18:24:24 +00:00
defacer
28926a08e9
Changing that despicable grade column from mdl_quiz_grades to a
...
floating point data type, as it should be.
2005-01-27 03:10:57 +00:00
skodak
577f51902e
fixed typo
2005-01-10 21:32:44 +00:00
kaipe
d70ccc495c
New feature:
...
Maximum-number-of-questions-per-page
2005-01-03 00:41:33 +00:00
gustav_delius
ac27e47dc4
Hierarchical question categories from mediagonal, see http://moodle.org/bugs/bug.php?op=show&bugid=1947
2005-01-02 15:10:50 +00:00
moodler
f5a1c0c064
New field popup to control new feature: launch quiz in fullscreen popup window
2004-12-14 06:43:22 +00:00
kaipe
2ad1b388f7
Updating database and backup/restore in order to make it possible
...
for teachers to choose number of decimals for calculated questions.
Can someone please check if the database update for postgres7 turns out alright?
2004-12-05 12:56:01 +00:00
mjollnir_
556b96786e
Merged from MOODLE_14_STABLE: Indexes for quiz and version bump (honoring partial freeze)
2004-11-19 04:14:13 +00:00
kaipe
813ac2e00a
The previous update was supposed to be an enlargement of answer in quiz_responses (not quiz_answers)
...
It is now correct and the mistake never made it to the stable version :-)
2004-11-13 19:25:13 +00:00
moodler
193ba8e7c4
Enlarge answer field to TEXT (see http://moodle.org/mod/forum/discuss.php?d=10333 )
2004-10-17 04:08:32 +00:00
paca70
55bcf883c3
Fixes for new postgres database creation
2004-09-24 07:49:40 +00:00
paca70
20cb89ec4e
Quickly tested updates for postgresql. (seems to work here)
2004-08-11 10:27:00 +00:00