Commit graph

284 commits

Author SHA1 Message Date
tjhunt
6d456aa2c1 Fixed reference to incorrect language string. Merged from MOODLE_16_STABLE. 2006-06-05 14:24:13 +00:00
tjhunt
7baff8aa1a Fix for bug 5379: Item analysis report should not have a hard coded list of question types.
Please test this if you have a moodle install with some unusual question types. Thanks.

Merged from 1.6stable.
2006-05-31 15:58:39 +00:00
skodak
97bf7d6271 Bug #5456 - Item Analysis fails to calculate results for random question type; merged from MOODLE_16_STABLE 2006-05-26 06:55:25 +00:00
skodak
cebf9a83e9 Bug #5472 - Download quiz grades in Excel format does not show correct foelds; merged from MOODLE_16_STABLE 2006-05-26 06:48:25 +00:00
skodak
be41c83691 Bug #5416 - sorting by question column in overview report plugin broken - please test; merged from MOODLE_16_STABLE 2006-05-25 10:00:06 +00:00
gustav_delius
3b62b2ba13 Fixed column names. Thanks Jean-Michel. See bug 5262 2006-05-02 08:37:46 +00:00
gustav_delius
d6d29245e7 Now there is an option to see all attempts, even for users who have since unenrolled. That is necessary in order to be able to delete these attempts, see http://moodle.org/mod/forum/discuss.php?d=34421 2006-04-13 00:02:36 +00:00
gustav_delius
ffa6ed53e4 Fixed display of information about existing attempts. 2006-04-12 23:24:58 +00:00
gustav_delius
375ab4586f use function from questionlib.php to delete attempt data 2006-04-12 22:57:01 +00:00
gustav_delius
78517b5a6b Don't show users who have unenrolled.
Show display options also when current options lead to empty table.
2006-04-12 22:48:58 +00:00
mark-nielsen
804d664acf [BugFix] Bug #5072: user name now links to user profile, Attempts column changed to Completed On, new column with link Grade to grade all attempts. Other table changes include collapsible columns and its id has been changed to attempts to reuse styles for the attempts table. 2006-04-11 02:20:58 +00:00
gustav_delius
9d4cbe5615 Manual grading report plugin is now no longer essay-specific. 2006-04-10 20:28:46 +00:00
mark-nielsen
caca24d5d3 Minor updates:
comments no longer print inside the question (only in the textfield)
  fixed problem with quotes by adding addslashes
2006-04-08 21:46:59 +00:00
mark-nielsen
e99b375972 Updated the form handling code. This report is now functional again. 2006-04-08 20:55:03 +00:00
mark-nielsen
fbe4d5ce51 Updated viewquestion to be more generic and moved it to its own function 2006-04-08 18:56:39 +00:00
mark-nielsen
0a52521122 Updated the viewquestions action to be more generic so that any manually graded question type would be compatible.
Moved viewquestions code to function view_questions.  This is an attempt to make the code much more readable.  All action code will eventually be moved to its own function.
2006-04-08 18:24:49 +00:00
gustav_delius
ec65c6ad7c This has extra code to exclude preview attempts from the grading 2006-04-08 08:13:26 +00:00
gustav_delius
b6e907a245 Manual grading 2006-04-07 16:00:29 +00:00
gustav_delius
80bbc7d7d1 Some code cleanup, relying more on the functions from questionlib.php. Not currently functional, awaiting the central manual grading feature. 2006-04-06 16:45:14 +00:00
gustav_delius
0a5b58af89 Many bugfixes accummulated during CVS outage, more to come. 2006-04-05 05:53:18 +00:00
gustav_delius
3082b744ac Moving <td>, fixing bug 5019 2006-03-29 08:45:36 +00:00
gustav_delius
31e95855b8 Improved quiz report plugin mechanism and converted the manual grading script into a report plugin 2006-03-27 08:41:20 +00:00
gustav_delius
5f9ef821df Moved detailed responses report into contrib 2006-03-26 12:02:46 +00:00
gustav_delius
7befd0188d If a student has not attempted a question then the grade column for that question will show -- instead of 0. 2006-03-13 18:36:36 +00:00
gustav_delius
3e2c988f0c Somehow missed this table reference during renaming. 2006-03-13 18:30:35 +00:00
gustav_delius
dc2ff7c341 Fixed incorrect function name, spotted by Penny 2006-03-01 10:42:15 +00:00
mjollnir_
ecb5d875af Updated the comments around the horrible sql construction in the quiz reports for overview & response 2006-03-01 03:00:33 +00:00
mjollnir_
eeaf5ebce1 Ported the rework of the reports to the responses report. PLEASE try not to load all users into memory and then implode it into a string for the sql - just JOIN, it is what the database is good at :( 2006-03-01 02:46:15 +00:00
mjollnir_
3d45832721 Tidyup of whitespace and commented out stuff from last commit 2006-03-01 02:44:38 +00:00
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