tjhunt
571da76788
MDL-6368 and MDL-6369 - supplimental - I missed one bit.
2007-04-27 11:18:08 +00:00
tjhunt
5df53d0082
* Fix layout problem on password form. (invisiblefieldset).
* Question state fixes:
+ Don't change from EVENTOPEN too soon.
+ Make sure all questions get closed at the end of the attempt in adaptive mode.
* Get rid of the delay on the redirect when you submit all and finish.
2007-04-25 15:45:24 +00:00
mattc-catalyst
70c6c0ad70
MDL-9474: Updated build_navigation() to use global $COURSE
...
- Removed $course parameter from build_navigation()
- Updated all calls to build_navigation()
Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-23 21:11:10 +00:00
mattc-catalyst
9ac0c1b328
Breadcrumbs: mod/quiz changes
...
- Modified to use build_navigation() for breadcrumb generation.
- Removed print_header method is now provided by base class.
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:23:17 +00:00
tjhunt
99ba746d29
MDL-6368 and MDL-6369 - allow question type plugins to easily provide some bits of Javascript and CSS.
...
If there are any of the files styles.css, styles.php, script.js or script.php in the plugin folder, they will be linked to in the head of the quiz attempt page (only for the question types used on that page).
If you need to do something more complicated in your question type, you can override the get_html_head_contributions method instead.
2007-04-12 15:58:32 +00:00
tjhunt
86ccf19cdb
MDL-9280 - JavaScript countdown timer did not work in 1.8 due to XHTML strict changes.
Also, fixing a few more XHTML strrrrict things in attempt.php.
Merged from MOODLE_18_STABLE.
2007-04-11 20:07:36 +00:00
tjhunt
50d7b53ecb
attempt.php refactor.
...
* Move all output code to the end.
* Make comment style consistent.
* Trim trailing whitespace from lines.
2007-04-10 14:27:56 +00:00
tjhunt
dc6c8ca1ac
Minor cleanups to the quiz code.
2007-04-10 13:02:09 +00:00
tjhunt
46e910c7cd
Fix notice. Merged from MOODLE_17_STABLE.
2007-03-30 09:34:05 +00:00
tjhunt
fb708c1130
MDL-6269, MDL-8958, MDL-8990 - Major fix to do with each attempt builds on last:
...
It used not to work with random questions, and there were problems with the computation of the grade, and regrading. Fix thanks to Paulo Matos, who not only fixed the bug and tested it, but was also incredibly patient waiting for me to have time to commit the changes to CVS.
Merged from MOODLE_17_STABLE.
2007-03-29 16:36:16 +00:00
tjhunt
a6b691d84d
Add developer debugging to something that should not happen, and fix one instance of it.
2007-03-29 16:05:55 +00:00
toyomoyo
e5c158bbbd
fixing javascript error in MDL-8652
2007-03-01 05:47:57 +00:00
tjhunt
645dff1cf7
Correct logic for stopping people using guest access from doing quizzes. Merged from MOODLE_18_STABLE.
2007-02-28 11:34:50 +00:00
toyomoyo
5328c274d5
merged fix for MDL-8686, MDL-8576, replacing <fieldset> with <div> for display issues
2007-02-28 04:58:48 +00:00
vyshane
0927589412
Xhtml fixes for MDL-7861.
2007-01-09 09:07:16 +00:00
skodak
b7dc225654
MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead
2007-01-04 21:32:36 +00:00
moodler
f4ba7e1a54
Bend over for XHTML 1.0 Strict ... MDL-8049
...
Removed Javascript language attribute tags and added CDATA
2007-01-03 14:44:17 +00:00
skodak
b708f1bf47
MDL-7631 Incorrect grading when Each attempt builds on the last and questions on more than one page
2006-11-26 23:00:28 +00:00
toyomoyo
4c2275d557
fix for MDL-7395, adding capaiblity mod/quiz:ignoretimelimits for quiz takers with disability.
2006-11-23 07:52:54 +00:00
tjhunt
40cc892b6a
Fix bug with getting the capability.
2006-09-20 16:17:27 +00:00
toyomoyo
4f83ae95ca
adding capabilities
2006-08-31 08:51:09 +00:00
tjhunt
a4a6eb8a17
Fix toyomoyo's syntax errors.
2006-08-22 13:12:24 +00:00
toyomoyo
5cf38a57cd
some quiz capabilities
2006-08-22 09:04:23 +00:00
moodler
dabfd0ed85
Removed tabs
2006-08-09 13:45:49 +00:00
skodak
f9d5371b28
new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283
2006-08-08 22:09:55 +00:00
tjhunt
00c300692f
Fix whitespace.
2006-08-04 16:47:57 +00:00
tjhunt
00aeaec820
Bug 6019: Quiz timer does not submit the form when it reaches zero. Merged from MOODLE_16_STABLE.
2006-07-05 10:43:53 +00:00
tjhunt
7d83bbc2bd
Bug #5506 : Fix for calculated questions where each one builds on the last. Merged from MOODLE_16_STABLE.
2006-06-06 14:29:05 +00:00
skodak
5e205b74dd
fixed bug #5562 I hope; merged from MOODLE_16_STABLE
2006-05-24 18:56:33 +00:00
gustav_delius
91d7ead073
Answers to essay questions are now saved correctly when navigating to another page, fixing bug 4478
2006-05-15 20:42:14 +00:00
gustav_delius
2e8973e779
Teachers now can preview timelimited quizzes even after the closing date
2006-04-11 21:49:43 +00:00
urs_hunkler
d975f343ba
replaced DEPRECATED center tag with a div. introduced a new class=mdl-align with the CSS text-align: center
2006-04-07 16:17:17 +00:00
gustav_delius
9c7c8d63f4
Prevent student from seeing quiz when closed, bug 5070
2006-04-05 09:43:29 +00:00
gustav_delius
d23e3e11dd
Moved the code for basing new attempts on previous attempts from questions to quiz and fixed the bug reported at http://moodle.org/mod/forum/discuss.php?d=42029#194212 in the process
2006-03-26 07:59:43 +00:00
gustav_delius
0429cd86c3
Deleting attempts properly now
2006-03-22 18:27:28 +00:00
gustav_delius
4dca7e51ca
Some minor improvements in the handling of review options, the setting of timestamp, and improvements to the documentation
2006-03-22 17:22:36 +00:00
gustav_delius
609c7d517d
Fixed bug 4953
2006-03-22 17:18:55 +00:00
moodler
92b6d775b2
No reports or grading when there are no questions
2006-03-21 09:28:08 +00:00
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
b9618e80bd
Truncated long action name in log, see http://moodle.org/mod/forum/discuss.php?d=41446#190858
2006-03-13 00:21:35 +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
03d1753c1c
Renamed table quiz_newest_states to question_sessions
2006-02-15 08:38:41 +00:00
moodler
72ef06cfe5
Added new feature, the time enforced delay on attempting quizzes
2006-02-08 04:44:57 +00:00
moodler
f8432d2500
Merged from stable (Bug #4423 - Short Answer Quiz Q's Saving Form Entries)
2005-12-05 06:11:26 +00:00
gustav_delius
86831b4c69
Fixed bug 3950
2005-08-26 08:56:18 +00:00
gustav_delius
36fb738b2a
fix for bug 3822 provided by razzor
2005-07-27 17:22:21 +00:00
gustav_delius
bb52d44c6a
Due date and start date are now optional, as requested in bug 867 and bug 3635
2005-07-07 17:16:56 +00:00
gustav_delius
2b46608c3a
Merged from STABLE, satsifying bug 3696
2005-07-07 14:41:15 +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