Commit Graph

103 Commits

Author SHA1 Message Date
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
gustav_delius ad7e7ba882 Two name changes:
1) in all module-indpendent code the variable $quiz has been renamed to $cmoptions (it holds the options set by the course module which does not necessarily have to be a quiz, it could be a lesson for example).
2) quiz_restore_question_sessions() has the simpler name quiz_get_states
Also got rid of the quizfile.php in favour of file.php
2005-07-02 16:07:05 +00:00
gustav_delius fc44ee0de8 Merged from stable 2005-06-05 20:51:15 +00:00
gustav_delius 7bbe08a267 Merged from stable 2005-06-04 09:58:35 +00:00
gustav_delius 6851e7cd4a merged fix of bug 3377 2005-06-01 06:44:35 +00:00
mindforge ee676b5ace Fixed typo. 2005-05-20 10:36:27 +00:00
gustav_delius 488cf46b65 Cleaned up issues to do with timing. So for example late submissions are now detected correctly. 2005-05-15 11:45:12 +00:00
gustav_delius 3e34b1dc14 Changed table field name 'new' to 'newest' for postgres compatibility 2005-05-08 10:35:47 +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
stronk7 b681000402 Now quiz->name supports filterall. 2005-04-03 00:19:11 +00:00
gustav_delius cd8d4471c8 Print course in footer 2005-03-17 15:12:07 +00:00
moodler 5cae3a321c Fixed timesincestart stuff, I think. bug 2466 2005-03-03 08:42:43 +00:00
gustav_delius ec81373f50 In order to ensure that when a teacher hides a resource or an activity that students really can't get at it, even if they know the direct links to its pages, I have given an optional third argument $cm to the functions require_login() and require_course_login(). Pages showing information about a particular course module now pass the course module object in this third argument. The login functions will then test if either the course module is visible or the user is a teacher. If neither is the case then the user is redirected to the course homepage after being shown a message "Sorry, this activity is currently hidden".
(While I was at it I also turned the autologinguests off for most module pages, except on the index.php pages and the view.php pages for those modules that allow guests)
2005-02-16 10:40:48 +00:00
moodler 1ac2128075 No message popups during secure quizzes 2005-02-10 05:13:05 +00:00
gustav_delius 76cacec819 split quiz lib.php into a locallib.php for functions that are only used from within the quiz module and a much smaller lib.php for functions that are used from elsewhere in Moodle. 2005-01-08 20:06:00 +00:00