Commit graph

205 commits

Author SHA1 Message Date
mjollnir_
03c8c27ee0 By popular request - quiz report now shows students with attempts only, students with no attempts only, students with attempts AND no attempts. This fixes bugs #4406 and #4353 2006-03-01 02:20:32 +00:00
mjollnir_
cfe3f66f47 Added comments in the horribly complicated sql around the quiz report (fixes bug # 4406) 2006-03-01 00:49:49 +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
gustav_delius
80a5e194ff Updated quiz scripts to work with the separate question scripts in moodle/question 2006-02-24 10:43:06 +00:00
gustav_delius
03d1753c1c Renamed table quiz_newest_states to question_sessions 2006-02-15 08:38:41 +00:00
gustav_delius
193b283985 removed a warning, see bug 4406 2006-02-14 23:24:10 +00:00
gustav_delius
8779eab55d Avoid error messages in case $quiz->sumgrades is zero, closing bug 4454. Merged from STABLE 2006-02-12 21:08:43 +00:00
mjollnir_
f90672bf85 Added back a field I missed when reworking the sql for quiz reports - qa.uniqueid as attemptuniqueid - after skype discussion with gustav 2006-02-06 20:58:27 +00:00
stronk7
8867a3bb88 Now Quiz is using the new Excel generation API.
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 16:43:05 +00:00
mjollnir_
e366107f67 Merged from MOODLE_15_STABLE: Fixing bug 4345: merging problem when fixing bug 4303 2005-11-18 21:03:05 +00:00
mjollnir_
526cdd63a0 Merged from MOODLE_15_STABLE: Fixing merging problem in the quiz report fix ealier - disabling wrong checkbox for site course quizes 2005-11-16 01:38:07 +00:00
mjollnir_
39a2761465 Merged from MOODLE_15_STABLE: Fixing bug 4303 - quiz reports dying on large enrolments - getting all users into an array and imploding it into an IN() replaced with joins. This changes the functionality SLIGHTLY in two ways - 1. show students with no attempts now JUST shows students with no attempts, rather than both. Show students with no attempts is now disabled for the site course as is not really relevant and could be ridiculously large 2005-11-15 22:23:43 +00:00
moodler
69ef01c00d We don't show unenrolled users in quiz reports normally 2005-11-08 06:52:32 +00:00
moodler
708b521a6d Merged changes from STABLE.
Not sure I did the right thing on questiontypes/calculated/questiontype.php
Hope I didn't create a bug there.

(can people please remember to merge changes into head whenever they change stable?)
2005-11-01 03:29:58 +00:00
moodler
fcf5aebf0f Fix for incorrect order of question numbers when downloading detailed
results as Excel spreadsheet. Merged from STABLE. (SE)
2005-10-28 03:54:33 +00:00
patrickslee
2f5fe55234 Fixed dis-ordered displaying for quiz overview report when no soring is specified (Merged from MOODLE_15_STABLE) 2005-10-28 02:22:34 +00:00
patrickslee
3f7f17bfa1 Fixed a small bug which displays quiz name incorrectly in quiz regrade report 2005-10-17 01:18:04 +00:00
gustav_delius
dbc72c9959 Fix for bug 3995 2005-09-17 13:09:43 +00:00
gustav_delius
a567590ba5 Fix for bug 4019 2005-09-17 12:33:29 +00:00
gustav_delius
3db6659d2d fix for bug 3953 provided by Jean-Michel 2005-08-26 08:00:19 +00:00
gustav_delius
376b8cd217 The fixes for the item analysis plug-in that were assembled by Jean-Michel, see http://moodle.org/mod/forum/discuss.php?d=27553 2005-07-23 09:12:42 +00:00
gustav_delius
c24aca42c5 Resetting the timout counter to avoid the timeouts reported at http://moodle.org/mod/forum/discuss.php?d=24790#129431 2005-07-22 20:42:16 +00:00
gustav_delius
80ed3fe6b0 New report plug-in contributed by Jean-Michel, see http://moodle.org/mod/forum/discuss.php?d=27730 2005-07-22 11:41:12 +00:00
gustav_delius
970d0fe02c Improvements contributed by Jean-Michel Vedrine, see http://moodle.org/mod/forum/post.php?reply=130818.
- you can change # of attempts per page displayed on screen
- you can download results to Excel/text file, including detailed grades if you check this option.
2005-07-22 09:43:23 +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
39395fd60b merged from stable 2005-06-12 09:57:13 +00:00
ecastrolt
d8247a98d6 *** empty log message *** 2005-06-06 18:14:12 +00:00
gustav_delius
fc44ee0de8 Merged from stable 2005-06-05 20:51:15 +00:00
gustav_delius
e132d90e02 merged Enrique's correction from stable 2005-06-04 22:14:08 +00:00
ecastrolt
9f701b4c5e *** empty log message *** 2005-06-04 21:14:57 +00:00
defacer
491cc6d617 Merging from STABLE:
Fixing all Tidy warnings in this page. This has to be A Good Thing.
2005-06-04 17:53:36 +00:00
gustav_delius
7bbe08a267 Merged from stable 2005-06-04 09:58:35 +00:00
ecastrolt
083fc55c3e *** empty log message *** 2005-05-29 23:53:50 +00:00
gustav_delius
a472ce5960 New version of item analysis from Enrique 2005-05-23 07:25:33 +00:00
gustav_delius
1ddb7f4efc Printing of header moved into plugins themselves to allow them to provide export functionality which does not want a header printed. Thanks to Enrique for doing this. 2005-05-20 08:52:33 +00:00
gustav_delius
43f14820fd Updated version of item analysis report from Enrique 2005-05-18 19:52:21 +00:00
gustav_delius
1b6fe5003a Removed some notices, some polishing.
No need to load all users and then remove teachers, can simply load all students.
2005-05-15 19:37:37 +00:00
gustav_delius
0fc5939983 item analysis report contributed by Enrique Castro 2005-05-15 14:40:38 +00:00
gustav_delius
1105b32da0 Use round() instead of format_float() to limit decimal points to a MAXIMUM of $quiz->decimalpoints. format_float() always displays EXACTLY that number of digits after the decimal point which is not really desirable. 2005-05-07 13:48:25 +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
4f063738c6 Julian has fixed "Attempted on" and "Time taken" display and removed a javascript error. 2005-03-31 20:01:04 +00:00
defacer
c2bf38fd9b Fix for bug 2793: Unfinished quiz attempts no longer shown in the overview table. 2005-03-26 13:41:00 +00:00
defacer
8d6c341045 Obsolete. 2005-03-18 14:38:46 +00:00
defacer
ab6d7869ca Use global code in javascript-static.php instead of utility.js 2005-03-18 14:38:08 +00:00
defacer
88b917d614 Fixing behavior of (de)select all commands and some issues with non-JS-enabled clients. 2005-03-18 14:23:45 +00:00
defacer
bc5750fa6d IE doesn't display anything after a script include tag that closes with />.
Please close all your script tags like <script></script> or else.

Disgusting.
2005-03-11 03:29:41 +00:00
defacer
239d185a75 Updating the overview screen "sort by question grade" hack to work with the
multiple sort column suppport.
2005-03-10 16:40:13 +00:00