Tim Hunt
330c1148a4
MDL-20636 Quiz report graph not showing up due to an SQL error. #426
2011-04-08 18:09:24 +01:00
Tim Hunt
3c6185e979
MDL-20636 Move restart preview button into the quiz nav block & remove unnecessary titles.
...
Also, remove automatic redirects to the quiz edit page. Show a message and a button instead.
2011-02-25 12:12:09 +00:00
Tim Hunt
2daffca554
MDL-20636 Fix 30 TODOs
2011-02-24 17:47:51 +00:00
Tim Hunt
446166a628
MDL-20636 Minor bug-fixes
2011-02-24 12:01:37 +00:00
Tim Hunt
f7970e3ca7
MDL-20636 Eliminate integer and boolean in PHPdoc comments. should be int and bool.
2011-02-23 16:25:25 +00:00
Tim Hunt
a17b297d60
MDL-20636 Add missing defined('MOODLE_INTERNAL') || die();
2011-02-23 16:00:20 +00:00
Tim Hunt
0ff4bd0877
MDL-20636 Fix new stdClass -> stdClass(), and trailing whitespace.
2011-02-21 18:10:19 +00:00
Tim Hunt
ba6438471b
MDL-20636 Fix top of file boilerplate in mod/quiz.
2011-02-21 16:13:25 +00:00
Tim Hunt
9b40c540ee
MDL-20636 Responses report mostly working.
2011-02-14 17:57:47 +00:00
Tim Hunt
cf3b65686a
MDL-20636 Finished conversion of the manual grading report.
2011-02-14 17:57:44 +00:00
Tim Hunt
2709ee45d3
MDL-20636 Working on converting the reports, starting with the manual grading report. Very much a work-in-progress.
...
Also, some random bug-fixing.
2011-02-11 18:47:08 +00:00
Tim Hunt
f255782339
MDL-20636 You can now create a quiz, and edit the settings.
...
Little else works, but this is just the first step.
2011-02-09 20:18:06 +00:00
Petr Skoda
99d19c13ae
MDL-25855 some more missing filelib includes
2011-01-23 18:34:41 +01:00
Eloy Lafuente
8ad6765887
NOBUG quiz - overview & responses reports fixes
2010-09-17 01:07:17 +00:00
Tim Hunt
a49cb927fd
NOBUG more consistent use of URLs for the quiz reports.
2010-07-28 15:08:34 +00:00
Petr Skoda
aeb15530b8
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-04 11:57:52 +00:00
tjhunt
1dc12a6475
quiz reports: MDL-20316 per-question averages not shown with the quiz only allows one attempt.
...
Problem found thanks to OU testing. Fix thanks to Mahmoud Kassaie.
2009-09-18 13:42:23 +00:00
tjhunt
1ddfb914fd
quiz reports: Fix ordering of reports broken by MDL-16438.
2009-07-22 09:20:04 +00:00
skodak
17da2e6f28
MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions
2009-06-19 14:25:56 +00:00
tjhunt
84e628a027
quiz settings: MDL-18485 Improve quiz settings form
...
* Reorder form fields to group things more logically.
** and on the corresponding admin page too.
* Set some options to be 'Advanced' by default:
** Apply penalties.
** Each attempt builds on the last.
** Decimal places for question grades.
** The five 'Extra restrictions on attempts' settings. (password, etc.)
* Admins can still change this to suit their institiution at Administration > Plugins > Activity modules > Quiz.
* These new defaults are applied if the admin had not previously set any fields to be advanced.
* Disable some filds when they are not applicable:
** Grading method, if num attempts = 1
** Penaly scheme, if adaptive mode = no
** Each attempt builds of last, if num attempts = 1
** Review after quiz closed options, if no close date.
** Delay between 1st and 2nd attempts, if num attempts = 1
** Delay between later attempts, if num attempts < 3
* Convert quiz.timelimit to be in seconds, for consistency, and ready for the new duration field type (MDL 18500).
** Including ensuring that backup and restore is backwards compatible.
* MDL-5537 New setting, questiondecimalpoints, so, for example, you can show the quiz grade as an integer, but have fractional question grades.
** There is a 'Same as overall decimal points' option, which is the default.
* Improve some field labels.
* Make corresponding changes in the help files.
2009-03-10 08:39:51 +00:00
jamiesensei
bbf4f440ee
MDL-15326 "allow for per report capabilities to replace mod/quiz:viewreports"
2008-11-25 12:11:27 +00:00
tjhunt
78268862d3
quiz reports: MDL-16948 SQL does not work in Oracle - you are not allowed to refer to output column names in GROUP BY. Fix thanks to Francois Marier.
2008-10-21 05:45:39 +00:00
jamiesensei
04299b1f19
MDL-16632 "green highlighting should not be applied to grading method in quiz responses report form" Ooops. We do need highlighting on the reponses report. The responses page does have a grade displayed that needs highlighting. I was looking at an ungraded quiz. Need highlighting to highlight grade of graded attempt.
...
Reverted earlier patch and instead using a different colour for highlighting graded grade. Now using light yellow with a darker yellow border instead of green which is used in reports to highlight the correct answer.
2008-09-24 10:45:05 +00:00
jamiesensei
14133ad913
MDL-16632 "green highlighting should not be applied to grading method in quiz responses report form"
2008-09-23 10:39:12 +00:00
jamiesensei
8b92c1e3f6
MDL-16529 "Only include closed attempts in manual grade counts"
2008-09-23 09:52:55 +00:00
jamiesensei
869309b8d8
MDL-14202 "Replace Item Analysis Report with new improved 'Statistics' report." finished statistics report. This patch includes some changes to lib/tablelib.php so that it is possible to export the content of a table as part of a multi table export - with mutliple tables / multiple worksheets.
2008-09-11 12:48:08 +00:00
tjhunt
530d9866c4
Unbreak quiz report graphs. lib.php, which is now required, was not being included.
2008-08-15 10:48:29 +00:00
tjhunt
f88fb62c40
MDL-10682 - Ensure quiz and question grades are formatted consisently and correctly. While testing, I also fixed a few XHTML Strrrict errors.
2008-08-15 06:42:38 +00:00
jamiesensei
43ec99aa74
MDL-15268 "Content for Quiz Statistics report table" further work on quiz statistics report.
2008-07-30 09:02:44 +00:00
tjhunt
fb7396a1ff
Manual grading report - change query to work on Postgres.
2008-07-29 13:10:02 +00:00
jamiesensei
6559096f2c
MDL-15728 "quiz_report_load_questions should alias qqi.grade to maxgrade so that questions array has the required fields expected by much of the question code."
2008-07-21 09:06:46 +00:00
tjhunt
17312b83c5
Change group-by. I know what was there was equivalent, but Postgres is pedantic about these thigns, and was reporting an error.
2008-07-14 15:57:49 +00:00
jamiesensei
98f38217bb
MDL-14216 "Improvements to regrade report - improved reporting of actions and dry run / regrade"
2008-07-11 07:27:14 +00:00
jamiesensei
67d4dfb84b
MDL-15545 "sql to fetch question states in overview report should use a JOIN instead of passing attempt ids in IN clause when downloading data with no paging"
2008-07-05 05:57:22 +00:00
jamiesensei
334edb71c1
MDL-15198 "non-standard sql in reportlib.php" fixed this with new sql that does not require a limit clause.
2008-06-30 11:53:47 +00:00
jamiesensei
8b2f8253ad
MDL-15264 "Bar graph image missed when group with no attempts selected" added a query to check for sure that there are some grades there to display in the graph. Also now displaying grades for all groups a user has permission to view - but only if that is up to 4 groups and only if there are less than 500 grades total.
...
Merged from 1.9 branch
2008-06-19 14:03:24 +00:00
dongsheng
a5047f1553
"MDL-14129, fix print_error"
2008-06-13 09:10:05 +00:00
jamiesensei
0c1c764e82
MDL-14203 "split report into two seperate reports - Quiz Statistics report and Individual Item Analysis report" started quiz statistics report in directory 'statistics'
2008-06-10 16:18:10 +00:00
jamiesensei
8673a56615
MDL-15113 "quiz dml conversion" - fixing some sql broken during the conversion and removing unnecessary comma seperated list of ids where there are arrays of ids that can be used instead.
2008-06-09 13:27:31 +00:00
nicolasconnault
9cf4a18b41
MDL-15113 Upgrade to DMLLIB 2.0. Needs further testing and bug-fixing.
...
MDL-15100 Fixed a bug in gradelib.php
Plus edited tablelib.php for table_sql upgrade to dmllib 2.0
2008-06-09 10:00:35 +00:00
jamiesensei
181608b708
MDL-15092 "Quiz overview report won't display if there are more than 29 questions" fixed this by going back to the old way of fetching data for display in the table. However still use table JOINs when user wants to sort by question grade. The user can sort by a maximum of two columns at once so the JOINs will not exceed the limit.
2008-06-06 13:21:50 +00:00
skodak
c6307ef24d
MDL-14679 removed all instances of get_records_sql_menu()
2008-06-01 16:08:16 +00:00
jamiesensei
f17a34b5ef
MDL-15011 "grading report : allow user to select to grade next 10 ungraded attempts" added a new link and options to the grading report page to display only the next 10 ungraded attempts to grade. Also some fixes for faulty sql for ungraded option which was not respecting the users groups selection.
2008-05-29 14:14:27 +00:00
jamiesensei
f522bf51be
MDL-14988 "tables have been hardcoded with a prefix of "mdl" - causing an error." Ooops!
2008-05-26 12:51:04 +00:00
jamiesensei
720be6f2c3
MDL-5241 "When manually grading, identity questions by their number within the quiz as well as by question name"
...
Also added a drop down box to select question to mark instead of the viewquestions table. The drop down box is available at the top of every page, but only if there is more than one manually gradeable question in the quiz. If there is only one question it is automatically selected for marking.
Also added a new constant QUESTION_EVENTS_GRADED during a general refactoring of UI code in grading report and some improvements to efficiency of SQL in report.
Merged from Moodle 1.9 branch
2008-05-26 11:39:51 +00:00
jamiesensei
b392a56cab
MDL-14844 "Quiz Report: Bar Graph doesn't displayed maximum grade" Now using php ceil function to round up $bands as in some cases it could be a non integer.
2008-05-16 14:56:23 +00:00
jamiesensei
ca35974827
MDL-14852 "improve sql in overview report for fetching question grades" moved all querying for question grades into main attempts sql query. AND MDL-14200 "Add group and course averages" some fixes for functionality to display question grades averages. Grade averages are not displayed when grading method is set to Average - as this cannot be done in sql and would be expensive to do in memory.
...
merged from 1.9 branch
2008-05-15 13:59:52 +00:00
jamiesensei
aad5b0fca9
MDL-14200 "Add group and course averages" added extra rows to the end of the table in quiz overview report also MDL-14187 "Improve tablelib - improve api and add functionality to download table contents in a variety of formats - XLS, ODS and CSV" implemented the first of my proposals for improving tablelib. Added a extra method to use keyed arrays to add a row to a table. Seems obvious that this is an improvement to tablelib and it is an addition to the API so won't affect existing code.
...
Merged from 1.9 branch.
2008-05-15 12:27:27 +00:00
jamiesensei
a568653185
MDL-14844 "Quiz Report: Bar Graph doesn't displayed maximum grade" added perfect grade to last 'band' on graph.
2008-05-15 11:01:23 +00:00
jamiesensei
c187720b74
MDL-14201 "Summary graph" - small improvement to robustness for sql.
...
Merged from 1.9 branch.
2008-05-14 11:18:04 +00:00