264 Commits

Author SHA1 Message Date
gustav_delius
6b11a0e863 Renaming constants QUIZ_ADAPTIVE and QUIZ_IGNORE_DUPRESP to QUESTION_..... and moved them to lib/questionlib.php because they are used for question-level options. 2006-03-20 20:45:55 +00:00
gustav_delius
077588e2a4 Removed references to quiz 2006-03-20 20:19:29 +00:00
gustav_delius
7347c60b52 Teacher-provided text is now printed without cleaning. 2006-03-19 19:49:37 +00:00
gustav_delius
3abfa3a013 Show All link below question list. 2006-03-19 19:23:07 +00:00
gustav_delius
d38bd8c1be Removed a notice 2006-03-19 18:33:35 +00:00
gustav_delius
afabbb3374 Almost forgot to take out diagnostic echo 2006-03-19 18:31:48 +00:00
gustav_delius
f30bbcaf5b Improved handling of event types so that now graded states can always be distinguished from ungraded ones. 2006-03-19 18:28:29 +00:00
gustav_delius
570c30aaa0 slightly more informative error message 2006-03-19 11:05:04 +00:00
gustav_delius
b2315a929d Don't try to recode empty answers. 2006-03-19 11:03:12 +00:00
gustav_delius
96e5e2e251 I hadn't known that ! has higher precedence than == 2006-03-19 11:02:36 +00:00
gustav_delius
18bd0d680c miniscule change: subquestion code only has to be unique within question 2006-03-19 10:43:12 +00:00
gustav_delius
549880a59d temporary fix to essay print_question... This really should be converted to using templates. 2006-03-19 10:21:23 +00:00
gustav_delius
c0749a1605 Fixed backup and restore for match questions 2006-03-19 09:50:43 +00:00
gustav_delius
28b904c8c2 Fixed multichoice restore
Print message when recoding fails
2006-03-19 09:20:42 +00:00
gustav_delius
ccccf04f70 Multianswer restore now works.
Timelimit is rounded to integer before saving in the database
Some more diagnostic error messages
Towards more plugable question types: $QUIZ_MENU is now populated by the question types themselves.
2006-03-18 14:14:55 +00:00
gustav_delius
c6abbe5e39 Some incomplete work on the restore code (committing only because I am moving to a different machine) 2006-03-16 21:17:31 +00:00
thepurpleblob
ced7916cee More coding style improvements. 2006-03-14 16:01:40 +00:00
thepurpleblob
fd14913ed6 fixed yet another missing courseid parameter :-) 2006-03-14 09:57:54 +00:00
skodak
a3182bd7e7 updated language detection 2006-03-13 22:11:56 +00:00
thepurpleblob
cbc87100f7 Added ability to import files already in the course files area. (Bug #3896)
Also started tidying up the code, more to do.
2006-03-13 19:32:42 +00:00
gustav_delius
31d21f22a5 Better display of response history 2006-03-13 00:20:34 +00:00
gustav_delius
12fcd27da6 Some work on question restore code, not complete 2006-03-13 00:18:38 +00:00
gustav_delius
b2b97d6834 Every questiontype should have its own backup and restore code. This is a first step in that direction. I have created the individual restore libraries for all question types but they are not yet used. 2006-03-12 21:27:14 +00:00
gustav_delius
32a189d636 More renamings to separate questions from quiz. Some other small fixes. 2006-03-12 21:17:42 +00:00
thepurpleblob
1e3d6fd804 Fixed up some more links.
Fixed up a bunch of hardcoded text.
Added test for exporting category with no questions.
2006-03-09 16:17:45 +00:00
thepurpleblob
d1c9748130 Adding support for BlackBoard V6 (and 7). Modified from contrib version.
Needs more testing and some fixes, but more-or-less works.
2006-03-08 14:32:54 +00:00
thepurpleblob
a0e512feac Fixed missing courseid param in paging bar 2006-03-08 14:27:26 +00:00
thepurpleblob
07663430ac Fixed some urls (mod/quiz to question). 2006-03-08 13:58:55 +00:00
thepurpleblob
5a4bcbc37c changed filename cleaning from PARAM_CLEANFILE to PARAM_FILE 2006-03-08 13:12:46 +00:00
skodak
e92d8ccf4d fixed category switching bug 2006-03-07 23:59:33 +00:00
skodak
b1f00c8985 incorrect use of required_param() 2006-03-07 23:51:21 +00:00
skodak
107e7612b5 short php tags once more 2006-03-07 21:46:34 +00:00
thepurpleblob
dcd51df25e Another bunch of missing courseid parameters.
Deleting questions was not working.
2006-03-03 15:20:48 +00:00
thepurpleblob
4967818418 Quiz directory path incorect in download link fixed (bug #4424) 2006-03-03 14:19:15 +00:00
thepurpleblob
5d77ace20b Added missing courseid link to final continue button. 2006-03-03 11:17:23 +00:00
thepurpleblob
5cda54cf25 space missing in html output 2006-03-03 11:07:26 +00:00
thepurpleblob
c4c06b6713 Fixed continue button. Link now requires courseid parameter. 2006-03-03 10:37:55 +00:00
gustav_delius
5433ee83ee When the question name is taken from the question text it is now cut off at 15 characters. 2006-03-02 14:08:48 +00:00
gustav_delius
f4b72cdb74 Made to work with the new templating system. 2006-03-02 14:02:49 +00:00
gustav_delius
2662cf46fc Some improvements to how the tabs and links behave. 2006-03-01 21:16:28 +00:00
gustav_delius
37a12367c5 Templates and css hooks for more questiontypes. Essay and RQP will be done at a later date. 2006-03-01 16:15:30 +00:00
gustav_delius
70c01adb91 Improvement to tabbed interface 2006-03-01 09:30:21 +00:00
gustav_delius
567709c4e0 Tabs on question bank editing pages 2006-03-01 08:43:41 +00:00
gustav_delius
f5565b6969 Removing some more references to quiz from import/export code 2006-03-01 07:36:09 +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
c902637954 Committed fix for bug 4829 2006-02-28 20:43:06 +00:00
gustav_delius
062f1125cc *** empty log message *** 2006-02-28 09:36:31 +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
urs_hunkler
e03f2fec99 some template structure corrections and enhancements 2006-02-25 17:29:02 +00:00
michaelpenne
0ac9372517 [BugFix] Bug #4828 - \ stripping problem 2006-02-24 19:42:13 +00:00