Commit graph

432 commits

Author SHA1 Message Date
scyrma
59fa45d0f1 MDL-11113: simplify the code - use only one function to check for html editor availability 2008-05-07 07:40:50 +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
pichetp
0410e50698 MDL-12572 splitting code and create get_questions_atttempts_data function
improve CVS, XLS and ODS downloads so that data is easily sort.
2008-03-17 14:21:20 +00:00
pichetp
169b607dc4 MDL-13427 Adding strip tags filtering for download and question text
limit to CSV download
2008-03-16 00:22:49 +00:00
pichetp
7eb7798b9f MDL-12572 Removing storage of database search in $SESSION 2008-03-15 20:55:07 +00:00
pichetp
b9568564ed MDL-12572 Adding storage of database search in $SESSION
TODO new getstrings , test echo removing etc.
2008-03-15 12:58:43 +00:00
pichetp
093c15be54 MDL-12572 MDL-13427 New HTML cleaning code 2008-03-11 19:20:03 +00:00
pichetp
92f4826927 MDL-12572 MDL-13427 New HTML export mode useable with Excel or Word 2008-03-11 17:13:33 +00:00
nicolasconnault
b64792f664 MDL-13736 Wrapped the link in a div and fixed the style. Merging from MOODLE_19_STABLE 2008-02-29 21:46:14 +00:00
nicolasconnault
fb739b77e0 MDL-13050 merging from 1.9 2008-02-04 13:57:36 +00:00
stronk7
044197030b Deleting core uses of sql_isnull(). MDL-12970 ; merged from 19_STABLE 2008-01-27 01:28:25 +00:00
nicolasconnault
6dac764d18 MDL-13050 Reverting, it's not working out as well as planned 2008-01-21 13:40:47 +00:00
nicolasconnault
406af084a3 MDL-13050 Modules were updated, and grades.php files were added to the lesson and hotpot modules 2008-01-18 14:44:45 +00:00
pichetp
fa1661c27c MDL12932 -Random Short-Answer Matching does not display correctly in Item analysis report 2008-01-11 14:24:10 +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
f4850b7e52 MDL-12635 - Manual grading report does not check capabilites - also, only show the tabs for the reports people can access. Merged from MOODLE_19_STABLE. 2007-12-18 16:12:11 +00:00
tjhunt
636b8f19cb Strip out an unneccessary HTML table that way causing a 'button moves when you try to click on it' problem. 2007-12-17 17:17:22 +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
scyrma
d417533252 Fix for par of the missing strings, as reported in MDL-12294 2007-11-26 04:10:08 +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
d309fd0926 MDL-5262 - PHP notice when sorting on R% coloumn in the Item analysis report - I adopted the simple solution of stopping people sorting on that column, since it is the same as sorting on rcount, I think. Merged from MOODLE_19_STABLE. 2007-10-16 21:26:50 +00:00
tjhunt
38e179a4ed MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.
This check-in removes about 400 lines of code. I hope I have not screwed anything up. I would be grateful if people could review this change, and keep an eye on the navigation bar in modules.

Any navigation bar bugs you find in the near future, feel free to file them in the tracker and assign them to me. Thanks.

If not to many problems are found, I think I would like to backport this to 1.9 stable, but I am not sure that is a good idea. Opinions to the General Developer Forum please. I am about to start a thread there.
2007-10-12 15:55:49 +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
fca490bca0 MDL-6315 - When processing a manul grading action, if both the comment and the score are blank - as might be the case on the 'Grade all' page of the manual grading when the teacher uses it to grade some, but not all of the students - then do not record the question as graded. Merged from MOODLE_18_STABLE. 2007-09-19 10:56:24 +00:00
tjhunt
6c554fc9b8 XHTML Strictness. Merged from MOODLE_18_STABLE. 2007-09-19 10:32:09 +00:00
tjhunt
01c4e87acf MDL-11095 - Use absolute path to include tabs.php, not a relative path, for greater robustness. Merged from MOODLE_18_STABLE. 2007-09-19 10:26:39 +00:00
tjhunt
c767d3b7d3 MDL-11317 - Slashes displayed in incorrect responses for short answer questions. Fix by adding stripslashes in the appropriate place. Merged from MOODLE_18_STABLE. 2007-09-18 12:15:22 +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
tjhunt
8472a14d71 MDL-11213 - Quiz preview attempts show up in item analysis. Fix thanks to Jean-Michel Vedrine. Merged from MOODLE_18_STABLE. 2007-09-13 16:25:00 +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
moodler
9216897888 Removing the space will make this string print better in RTL languages MDL-10768 2007-08-09 08:49:05 +00:00