125 Commits

Author SHA1 Message Date
jamiesensei
51ca9f3095 MDL-14201 Summary graph in Overview Report - needed a little more spacing between bars of graph in some cases.
Merged from 1.9 stable branch.
2008-05-13 15:05:35 +00:00
jamiesensei
c5fedf065c MDL-14223 "Add a column for the user's idnumber, controllable by a site-wide setting" and MDL-14224 "Add a site-wide setting to hide the user profile image from quiz reports"
The quiz overview report now respect the settings for the gradebook - whether to display idnumbers and user pictures.

Also re-factored the code to build table / download content a little to reduce code duplication.
2008-05-09 13:59:36 +00:00
jamiesensei
44eb3b6e9e For the overview report : MDL-14199 "Option to only show / export final grade" small improvement to UI. Include highlighted message in the form about what the current grading method is.
Merged from 1.9 branch.
2008-05-08 09:53:31 +00:00
jamiesensei
b621e1a006 MDL-14198 "Make it clear which student attempt gives the final grade, if the scoring method is first, last or highest score" adding a message about the highlighting above the table.
Merged from 1.9 branch.
2008-05-08 09:35:08 +00:00
jamiesensei
2fecd85ba6 MDL-14734 "improve interface for deleting attempts"
* The control for deleting attempts is a drop down box with onchange javascript to submit the form, you cannot see the label to say what the drop down box does. Better to use a button. The button label is visible so you can see what it does.
* Checkboxes should be displayed when there is no attempt to delete.
* The whole column for checkboxes should be removed when no attempts are displayed ie. when showing students with no attempts.
2008-05-07 16:00:56 +00:00
jamiesensei
8b87ab0000 MDL-14201 "Summary graph" included a summary graph at the bottom of overview report page. Shows the distribution of grades achieved by students. If a group is selected the grades from the group are compared with the grades for all participants. 2008-05-07 14:38:18 +00:00
jamiesensei
9b617d9210 For the overview report : MDL-14199 "Option to only show / export final grade" fixing a notice warning from the form definition 2008-05-07 14:01:04 +00:00
jamiesensei
f4ed09faae For the overview report : MDL-14199 "Option to only show / export final grade" and MDL-14198 "Make it clear which student attempt gives the final grade, if the scoring method is first, last or highest score" fixed a small problem I noticed in this patch. 2008-05-06 18:04:03 +00:00
jamiesensei
4469159e2d For the overview report : MDL-14199 "Option to only show / export final grade" and MDL-14198 "Make it clear which student attempt gives the final grade, if the scoring method is first, last or highest score" 2008-05-06 17:34:39 +00:00
jamiesensei
0217f93275 For overview report - MDL-14185 "Switch to using formslib and improve the interface" and MDL-14186 "Switch to using moodle_url and eliminate the use of $SESSION global" 2008-05-05 13:12:11 +00:00
jamiesensei
1a85336b79 non consequential, little typo. 2008-05-03 13:56:32 +00:00
jamiesensei
2badf2e6ec MDL-14677 "should rescale the grades displayed for each question in the detailed marks view of the overview report so that all grades add up to the sum total grade" used quiz_rescale_grades function to rescale the grade properly before displaying it. Also this patch includes some general clean up and refactoring of overview report. 2008-05-03 13:06:49 +00:00
jamiesensei
e49906d3b1 MDL-14666 "overview report is very inefficient when view detailed marks is selected. There are several sql queries per row." 2008-05-02 15:26:47 +00:00
jamiesensei
92c5499a84 MDL-14666 "overview report is very inefficient when view detailed marks is selected. There are several sql queries per row." Made a new query outside the loop for adding rows. 2008-05-02 15:11:59 +00:00
jamiesensei
e0b01669ce MDL-14664 "sorting by question mark when viewing detailled mark in overview quiz report not working" Found that the problem ocurred when attempt.id != attempt.uniqueid as the sql was using the wrong field to join the question records. 2008-05-02 14:21:33 +00:00
jamiesensei
85a8704fe2 MDL-14663 "link_to_popup_window displays 'Click here....' as the link text if you pass in 0 as the link text."
Solved this by formatting the grade using number_format to display the grade with a number of decimal places. So for 0 we display something like 0.00 and this displays OK in link_to_popup_window.
2008-05-02 13:27:49 +00:00
jamiesensei
f33c438e5c MDL-13678 "Change default number of rows per page on quiz reports" Made a new constant to say how many attempts / questions to list per page by default. 2008-05-01 07:08:28 +00:00
jamiesensei
2018fb15ae MDL-7772 "Quiz results overview: not all combinations of Show attempts with ... & Groups settings work properly"
Second patch, found a bug while merging and testing in 1.9.
2008-04-30 08:22:20 +00:00
jamiesensei
86a1f1d5b9 MDL-7772 "Quiz results overview: not all combinations of Show attempts with ... & Groups settings work properly"
This patch is based on Ann Adamcik's latest code, thanks Ann. Made a couple of small changes.
2008-04-30 04:47:39 +00:00
tjhunt
c711a7aeab MDL-14391 - Timestart shown twice in quiz overview report, instead of timefinish 2008-04-16 14:39:37 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
stronk7
044197030b Deleting core uses of sql_isnull(). MDL-12970 ; merged from 19_STABLE 2008-01-27 01:28:25 +00:00
tjhunt
b7b4f8bdc4 Improve the quiz_rescale_grade function, and call it from one other place, instead of duplicating code. Merged from MOODLE_19_STABLE. 2007-12-18 18:20:25 +00:00
tjhunt
129b80c592 MDL-11267 - follow-up - don't show the checkboxes in the overview report if you cannot do anything with them. Merged from MOODLE_19_STABLE. 2007-12-12 19:13:09 +00:00
tjhunt
2a13e454f9 MDL-9459 - Provide information relating to groups in the summary message "Attemts: 123". Now, depending on the situation, you see one of three messages: "Attempts: 123", "Attemtps 123 (45 from your groups)" or "Attemtps 123 (45 from this group)".
I also took the opportunity to improve the layout of this message slightly, and clarify the message that tells you that you cannot add or remove questions from the quiz if there are attemts.

Merged from MOODLE_19_STABLE.
2007-12-12 17:23:55 +00:00
tjhunt
02e48901b4 MDL-12543 - Quiz overview report displays a grade of 0 the same way as a missing grade for an incomplete attempt. Merged from MOODLE_19_STABLE. 2007-12-11 16:55:54 +00:00
tjhunt
6c58e1985b MDL-6376 - fix minor errors in the previous commit.
More significantly, this patch changes the '1 Students have made 1 attempts' string.

To start with, this code was being produced in five different places, so I made a function to do the work!. Next, as you can see, it is not gramatical. Also, some people find it confusing, as in MDL-6376.

Therefore, it now just says 'Attempts: 1'.

Merged from MOODLE_19_STABLE.
2007-10-30 19:29:45 +00:00
tjhunt
01600b5190 MDL-11580 - refinement to Yu's checkin, including removing the $CFG->openuniversityhacks.
Also, reviewing the new code made me realise that the code in mod/quiz/report/overview/report.php was a mess, so I cleaned it up a bit.
2007-10-04 15:57:09 +00:00
toyomoyo
fb72e817d9 MDL-11580, hide quiz grades when user has no grade:viewhidden capability and quiz is still open, need $CFG->openuniversityhacks flag set 2007-10-04 08:22:55 +00:00
tjhunt
260812ba06 MDL-10972 - The lang string 'fullname', which is normally used for course fullnames, was being used for a person's full name in some quiz reports. This dual usage is not translatable into all languages. Merged from MOODLE_18_STABLE. 2007-09-19 15:52:27 +00:00
tjhunt
07a7d85924 MDL-11267 - Anywone who can view quiz reports can delete student attempts. Merged from MOODLE_18_STABLE. 2007-09-17 16:17:24 +00:00
mattc-catalyst
5ada3c8e3a MDL-10888: groupings - mod/quiz - add groupings support 2007-08-27 03:56:39 +00:00
skodak
1d68419596 MDL-10383 - deprecated groups_members_from_sql and friends - we do not need them anymore because we reverted to 1.7 style groups in 1.9 2007-08-15 19:28:11 +00:00
jamiesensei
b36e36aa05 removed all ASes from table aliases in question / quiz code - MDL-10344 2007-08-12 13:57:57 +00:00
tjhunt
de266537a7 MDL-10300 - cleaning incorrectly applied to overall feedback. 2007-07-30 10:33:43 +00:00
tjhunt
be161556ce OU Bug 2867 - Overview report keeps forgetting the 'Display options' settings. Merged MOODLE_18_STABLE. 2007-07-25 17:08:41 +00:00
tjhunt
96f3629bd5 MDL-7772 - improve the SQL for showing users without attemtps. Merged from MOODLE_18_STABLE. 2007-06-21 16:21:47 +00:00
tjhunt
ff51d64621 Make a library function for deleting quiz attempts, rather than having duplicated code. Merged from OU Moodle. 2007-06-18 16:19:00 +00:00
tjhunt
bc301dc93a Remove unused variable. 2007-06-15 10:42:02 +00:00
skodak
d6dd21084b MDL-9551 Implemented calls of grade_update() function in Quiz 2007-06-10 22:52:41 +00:00
tjhunt
18dfa59377 Eliminate trailing whitespace. 2007-06-05 14:56:12 +00:00
tjhunt
2ac5177aff MDL-10006 - Sorting the quiz overview report on feedback breaks it. Merged from MOODLE_18_STABLE. 2007-06-03 07:26:54 +00:00
tjhunt
19faed1ab3 MDL-9914 - Can't download mark details from the quiz overview report. Merged from MOODLE_18_STABLE. 2007-05-23 10:21:43 +00:00
jamiesensei
1f21cc88f7 removed global vars declaration for var not used in method. 2007-04-27 05:55:57 +00:00
tjhunt
15aa9df958 MDL-5799 - quiz previews were sometimes showing up in the quiz overview report. Merged from MOODLE_18_STABLE. 2007-04-12 20:11:27 +00:00
tjhunt
807ae30aaa MDL-9079 - Paging broken in quiz overview report. Merged from MOODLE_17_STABLE. 2007-04-11 20:38:02 +00:00
toyomoyo
2d7617c67f merged fix for MDL-9185 2007-04-04 04:05:53 +00:00
toyomoyo
862c219ae9 merged replacing <fieldset> with <div> 2007-02-28 08:01:41 +00:00
toyomoyo
375ec5a5b0 merged fix for MDL-8655, replacing <fieldset> with <div> 2007-02-28 07:11:58 +00:00
vyshane
0927589412 Xhtml fixes for MDL-7861. 2007-01-09 09:07:16 +00:00