tjhunt
6b22437658
MDL-16058 - Remove obsolete quiz_question_versions table.
2008-08-15 08:23:09 +00:00
sam_marshall
2bc710366d
MDL-14679 minor dml conversion errors in quiz backup
2008-07-01 13:19:24 +00:00
skodak
245ac55791
MDL-14679 last forgotten bits of dml conversion
2008-06-09 19:48:24 +00:00
nicolasconnault
9cf4a18b41
MDL-15113 Upgrade to DMLLIB 2.0. Needs further testing and bug-fixing.
...
MDL-15100 Fixed a bug in gradelib.php
Plus edited tablelib.php for table_sql upgrade to dmllib 2.0
2008-06-09 10:00:35 +00:00
tjhunt
a6a89b9eab
Strip some trailing whitespace.
2008-03-07 12:35:10 +00:00
jamiesensei
b667e698fd
MDL-13156 "insert_category_and_question_ids() function name can cause name conflicts" Fixed :
2008-01-25 07:01:18 +00:00
jamiesensei
ede67707a6
MDL-13034 fixes "insertion of question / category ids at the CONTEXT_MODULE level does not respect whether the instance of the module has been selected for backup" and cleans up code a little.
2008-01-18 14:49:59 +00:00
tjhunt
8cfd7faf10
Ensure links of the form /mod/quiz/view.php?q=332 are backed up and restored correctly.
2007-12-21 15:38:36 +00:00
tjhunt
27cabbe626
MDL-12575 - Backup and restore problems with the new question bank. Merged from MOODLE_19_STABLE.
2007-12-13 18:48:30 +00:00
tjhunt
1061756d8e
Minor whitespace fixup.
2007-11-07 15:41:20 +00:00
skodak
8df73369ce
MDL-11517 reserved word MOD used in table alias in questions backup code
2007-09-29 16:26:13 +00:00
tjhunt
c0ca082d2f
Remove spurious characters from some SQL statements.
2007-09-25 14:39:42 +00:00
jamiesensei
b36e36aa05
removed all ASes from table aliases in question / quiz code - MDL-10344
2007-08-12 13:57:57 +00:00
jamiesensei
271e6decda
merging MOODLE_19_QUESTIONS with HEAD
2007-08-09 21:51:09 +00:00
jamiesensei
62f34fdb20
fix for some notices in insert_category_ids function.
2007-08-08 03:29:29 +00:00
tjhunt
5a56d93857
Clean up whitespace.
2007-04-25 15:37:01 +00:00
tjhunt
8745405435
MDL-4084 Backup all question categories in a course, not just the ones from which questions are used in a quiz. Merged from MOODLE_18_STABLE.
2007-03-20 15:06:48 +00:00
moodler
f274fe073c
Merged AS keyword fixes from stable MDL-7207
2006-10-25 09:04:25 +00:00
tjhunt
2559409081
Changes to dmllib seem to have broken quiz backup. This makes it work again. Merged from MOODLE_17_STABLE.
2006-10-16 14:54:55 +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
gustav_delius
c5d94c4150
Moved questiontype specific backup functions into questiontype classes
2006-03-21 18:15:09 +00:00
gustav_delius
fe1106f0d1
Now the question backup code has been separated from the quiz backup code.
2006-03-21 16:50:42 +00:00
gustav_delius
75cd257be8
Moved the quiz constants into lib.php to keep things simple.
2006-03-20 20:59:46 +00:00
gustav_delius
c0749a1605
Fixed backup and restore for match questions
2006-03-19 09:50:43 +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
martinlanghoff
20b36bed42
mod/quiz/backuplib: tiny syntax fix - thanks Nigel
2006-02-24 01:10:08 +00:00
gustav_delius
c6293e00db
Backing up the 'originalquestion' field
2006-02-23 19:16:39 +00:00
gustav_delius
c4c7a2a67b
Revert the fix to $status because it turns out that for example backup_putid() returns false when called with an id that has already been added.
2006-02-19 21:46:36 +00:00
gustav_delius
e1eed5ccfc
Fix for bug 4217
2006-02-19 17:41:27 +00:00
gustav_delius
997bcf0eb8
As Eloy pointed out, my recent addition for including child categories used by random questions did not restrict to the course or the instances currently being backed up.
2006-02-16 18:15:15 +00:00
gustav_delius
6a687a0e98
Now contains code to also backup those categories needed by random questions that recurse into child categories.
...
Fixed the way the $status flag is handled.
2006-02-15 22:30:54 +00:00
gustav_delius
03d1753c1c
Renamed table quiz_newest_states to question_sessions
2006-02-15 08:38:41 +00:00
moodler
fd198b8776
Adding new feature: Time delay between quiz attempts
2006-02-13 01:49:52 +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
mjollnir_
1ecea97679
Granular backup & restore:
...
This patch allows the much requested selection of individual instances of modules within a course to backup and restore.
It needs A LOT of testing and probably some prettyifying too.
2006-01-13 03:45:31 +00:00
michaelpenne
503114809f
Added backup/restore code for essay question type. In the process of testing, fixed several other bugs
...
in the quiz restore code regarding state restoration.
2005-09-19 22:38:18 +00:00
mjollnir_
300dfca610
Merged from MOODLE_15_STABLE: Fixing typo in call to get_record that was causing a lot of noise in the db error log
2005-08-26 04:53:39 +00:00
stronk7
bb7e09a453
Latest changes merged from MOODLE_15_STABLE
...
Moving the MERGED tag for the whole quiz directory
as talked with Gustav...
2005-07-06 09:05:17 +00:00
gustav_delius
d115d8c736
I have introduced the new field $attempt->uniqueid, see http://mantis.york.ac.uk/moodle/mod/forum/discuss.php?d=852#3380
2005-07-02 18:14:51 +00:00
gustav_delius
fc44ee0de8
Merged from stable
2005-06-05 20:51:15 +00:00
stronk7
87dddc1445
Replaced some (not all) tabs to spaces.
...
I've leave unmodified formats and nusoap library
2005-05-16 22:51:16 +00:00
stronk7
8636eb6560
Changed backup of numerical questions to use the new DB model
2005-05-11 21:54:21 +00:00
gustav_delius
9a62a7634b
Made sure the questions that can be parent questions are backed up and restored first so that the recoding of the parent field will work.
2005-05-10 09:49:58 +00:00
gustav_delius
2e1111c5b1
Towards a Moodle 1.5 quiz backup and restore. Not tested yet.
...
I moved some quiz speicific functions out of backup/backuplib.php into mod/quiz/backuplib.php
2005-05-10 09:37:09 +00:00
gustav_delius
14a02d9595
updated the database diagrams
2005-05-08 15:11:31 +00:00
gustav_delius
57ddd6adba
upgraded backuplib.php. Outstanding issues: quiz_rqp_type table and all of Julian's question-type specific stuff.
2005-05-08 14:33:34 +00:00
gustav_delius
ee1fb969c8
Merging in from the MOODLE_15_QUIZREFACTOR branch.
...
The quiz module now can handle adaptive questions and can render remote questions via RQP web services.
2005-05-06 06:24:04 +00:00