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
mjollnir_
ed2482dfae
Fixing up some RENAME tables in postgres for quiz
2006-03-02 01:30:04 +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
mjollnir_
6ae92cf9b0
Fixing up a badly named quiz table in postgres. PLEASE remember that you cannot just do RENAME - it breaks the sequences
2006-03-01 02:17:47 +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
f02c6f017e
Renamed QUIZ_QTYPES to QTYPES
2006-02-24 13:48:43 +00:00
toyomoyo
f841494c62
see changes for admin/utfdbmigrate.php
2006-02-24 08:20:13 +00:00
gustav_delius
f7cf31f594
Some mysql versions appear not to be willing to convert an empty string into a float. So setting all empty fields to 0 first.
2006-02-22 19:12:29 +00:00
gustav_delius
38992f7e23
Changed grade fields to type real, added missing essay question tables.
2006-02-20 09:04:09 +00:00
toyomoyo
7541b03f28
changed some grade fields into float type, see #4806
2006-02-20 01:41:00 +00:00
mjollnir_
ebe2c5057b
Fixed up a few tiny syntax errors in quiz upgrade
2006-02-19 23:15:55 +00:00
gustav_delius
0f03f3a0c2
This way around will work better. Sorry, I am tired.
2006-02-19 23:08:52 +00:00
gustav_delius
e3d36faadf
Tables for essay questions. Penny will check I didn't mess this up.
2006-02-19 23:06:25 +00:00
gustav_delius
c1e24bcd8e
Changing grade fields to float for postgre
2006-02-19 22:49:30 +00:00
gustav_delius
3dd1a5c432
Changing grade fields to float for mysql. Asking Penny to do the same for postgreSQL
2006-02-19 22:19:00 +00:00
gustav_delius
f0b2c1cc2b
Applied fixes from bug 4319. Thanks to Jaroslav
2006-02-15 08:59:32 +00:00
gustav_delius
03d1753c1c
Renamed table quiz_newest_states to question_sessions
2006-02-15 08:38:41 +00:00
gustav_delius
832d40420c
Renamed table quiz_newest_states to question_sessions
2006-02-15 08:34:36 +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
353138dc11
Added a unique index for attempt->uniqueid
2006-02-13 13:20:57 +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
gustav_delius
7c4127efad
Put the default grade option onto question edit forms, see http://moodle.org/mod/forum/discuss.php?d=39371#181767
2006-02-11 21:07:08 +00:00
moodler
cab300a85f
Add two new fields for time enforced delay between two quizzes
2006-02-08 04:41:31 +00:00
moodler
136b6ab33f
changed to use utfconvert function
2006-01-31 02:15:21 +00:00
moodler
0e15269a94
bug fixing
2006-01-23 05:41:51 +00:00
moodler
f6691427d9
Added default values where needed for columns in the MySQL creation script mysql.sql.
...
Added default values to migrate2utf8.xml, for any varchar and text field types, if the default values for these fields were not defined as '' in the MySQL table creation script.
Committed by vyshane
2006-01-17 07:37:29 +00:00
toyomoyo
e8f7b20f9a
more bug fixes =(
2006-01-13 07:24:43 +00:00
toyomoyo
7c5406967d
some bug fixes
2006-01-12 02:39:13 +00:00
toyomoyo
c8ee027b0e
added 2 fields in xml, addindex and dropindex, and bug fixes
2006-01-11 01:46:22 +00:00
toyomoyo
1e4d9ff6dc
utf8 migration support scripts
2006-01-09 06:06:49 +00:00
mjollnir_
5cde495031
Merged from MOODLE_15_STABLE (ish): Fixing the mass migrate postgres upgrade to be silent in quiz. Added a fix to a previous rename table that breaks pg_dump & pg_restore (incorrectly named sequence)
2005-10-05 01:36:59 +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
gustav_delius
286a5c6e36
Fixed a table comment
2005-07-14 09:42:10 +00:00
gustav_delius
35bcb92150
fixed typo, see bug 3687
2005-07-08 00:21:02 +00:00
gustav_delius
27d132c0f7
Fixed bug 3687
2005-07-07 14:57:28 +00:00
gustav_delius
39e3c1f1c3
Merged from STABLE
2005-07-06 07:53: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
ed460c8e04
I am committing the essay question type contributed by Mark Nielsen, see http://moodle.org/mod/forum/discuss.php?d=25845 .
2005-06-26 16:21:11 +00:00
mjollnir_
f45ea97457
Merged from MOODLE_15_STABLE: Fixing postgres upgrade to match postgres7.sql (bug 3547)
2005-06-19 21:38:39 +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