Commit graph

432 commits

Author SHA1 Message Date
jamiesensei
aa3133bcb9 MDL-15268 "Content for Quiz Statistics report table" display blank cell if statistic is not calculatable 2008-07-30 09:49:09 +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
06d1324803 Fix calculation of median with an odd number of attempts. 2008-07-29 13:56:37 +00:00
tjhunt
c89f2f13d8 Fix comment. 2008-07-29 13:32:28 +00:00
tjhunt
fb7396a1ff Manual grading report - change query to work on Postgres. 2008-07-29 13:10:02 +00:00
tjhunt
bd03752be8 Fix notices. 2008-07-25 14:18:19 +00:00
tjhunt
92718f4c44 No manually graded questions found is not an error contidion, so return true, not false. 2008-07-25 14:11:22 +00:00
tjhunt
3f8e526ec1 Fix notices in 'Students' without attempts mode. 2008-07-25 14:05:40 +00:00
jamiesensei
162f96353b MDL-14208 Cache results of calculations, "recompute now" functionality -- forgot one field for questions stats. 2008-07-25 12:15:07 +00:00
jamiesensei
9859e26cc0 MDL-14208 "add cron routine to clean up cache records" 2008-07-24 17:45:01 +00:00
jamiesensei
d1789d5d64 MDL-14208 Cache results of calculations, "recompute now" functionality -- added message about when the stats were last calculated and how many attempts there have been since then and a recompute now button. 2008-07-24 17:42:06 +00:00
jamiesensei
daae98e118 MDL-14216 "change query to work on Postgres." - some adjustments to make it work on mysql again too. 2008-07-24 16:10:26 +00:00
tjhunt
1e98b864e5 MDL-14216 - change query to work on Postgres. 2008-07-24 15:34:15 +00:00
jamiesensei
71a2b878fa MDL-14208 'Improvement of Item Analysis Report : Cache results of calculations, "recompute now" functionality' - using new tables to cache stats results. 2008-07-24 13:25:07 +00:00
tjhunt
23277af8f1 MDL-14216 - change query to work on Postgres. 2008-07-24 12:58:05 +00:00
jamiesensei
a1db71cb25 MDL-15198 "non-standard sql in reportlib.php" similar sql used here, fixing. 2008-07-22 13:06:54 +00:00
jamiesensei
182dbc6f4d MDL-15751 "Quiz statistics report : only list random questions once when there are several consecutive random questions picking from the same category with the same options to recurse into sub directories" sorting of questions by id, so they appear in some kind of order. 2008-07-22 12:33:05 +00:00
jamiesensei
d49e5bd87c MDL-15751 "Quiz statistics report : only list random questions once when there are several consecutive random questions picking from the same category with the same options to recurse into sub directories" oops. Regression meant a row was added for every attempt at a random question 2008-07-22 12:27:11 +00:00
jamiesensei
051bc0e192 MDL-15751 "Quiz statistics report : only list random questions once when there are several consecutiver random questions picking from the same category with the same options to recurse into sub directories" 2008-07-22 09:48:16 +00:00
jamiesensei
62373088dd 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 14:40:26 +00:00
jamiesensei
002ef81dc5 MDL-15736 "deleting regrade report. Regrade functionality is now part of overview report" 2008-07-21 14:17:00 +00:00
jamiesensei
16de0ed32b MDL-15732 "question_load_questions has changed in HEAD and expects an array instead of a comma seperated list of question ids" 2008-07-21 13:06:57 +00:00
jamiesensei
670b895478 MDL-15631 "move detailled responses report out of contrib into main distribution" minor fix to html to align select all / deselect all with table 2008-07-21 12:09:19 +00:00
jamiesensei
e5395a5fd5 MDL-15730 "in detailled report : scale grade to a fraction of the max grade and THEN use it for calculating whether this is a correct / partially correct / or wrong answer" 2008-07-21 11:24:14 +00:00
jamiesensei
3e71541fde MDL-15729 "detailled responses report not showing responses" 2008-07-21 10:27:47 +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
jamiesensei
d71226a4ac whitespace fixes 2008-07-21 08:02:37 +00:00
jamiesensei
35bf63526a MDL-15718 "overview report slow for large data sets - print_user_picture queries the db if only provided with a userid" 2008-07-20 14:40:22 +00:00
jamiesensei
162db41723 MDL-15198 "non-standard sql in reportlib.php" using CASE statement to wrap logic in fields list 2008-07-20 14:34:53 +00:00
jamiesensei
7f29a7dbe4 MDL-15631 "move detailled responses report out of contrib into main distribution" adding responses report to main distribution 2008-07-20 14:29:10 +00:00
jamiesensei
55caa1d5dc MDL-15198 "non-standard sql in reportlib.php" using CASE statement to wrap logic in fields list 2008-07-20 12:52:14 +00:00
jamiesensei
66eb3b5930 MDL-15268 "Content for Quiz Statistics report table" fixed a bug where every a row was added to the table for every time a subquestion was attempted. 2008-07-20 11:58:15 +00:00
jamiesensei
375381a006 MDL-15718 "overview report slow for large data sets - print_user_picture queries the db if only provided with a userid" 2008-07-20 11:56:35 +00:00
jamiesensei
4f5ffac022 MDL-15268 "Content for Quiz Statistics report table" seperated quiz item / position stats code into a seperate class in qstats.php and now calculating item statistics too. 2008-07-18 14:36:24 +00:00
jamiesensei
ea751786e0 MDL-15268 "Content for Quiz Statistics report table" know looping through all question grades fetched from the db to calculate position statistics. 2008-07-16 11:55:38 +00:00
tjhunt
b55797b8cc MDL-15452 - Put the OU quiz navigation improvements into the Moodle codebase. I was able to factor out some commonalities with review.php along the way. 2008-07-15 15:30:39 +00:00
jamiesensei
b6943d3731 MDL-14216 "Improvements to regrade report - improved reporting of actions and dry run / regrade" if condition around buttons to not output them when downloading table data. 2008-07-15 07:22:26 +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
fb94cd4848 MDL-15268 "Content for Quiz Statistics report table" some fixes to strings. 2008-07-14 06:40:36 +00:00
jamiesensei
8b048aae0c MDL-14216 "Improvements to regrade report - improved reporting of actions and dry run / regrade" Install.xml was out of sync with upgrade script. 2008-07-11 07:56:33 +00:00
jamiesensei
57d6a267a6 MDL-14216 "Improvements to regrade report - improved reporting of actions and dry run / regrade" oops. Fixing notice about $this->context not being set in overview report table. 2008-07-11 07:48:25 +00:00
jamiesensei
314b8a20d4 MDL-14216 "Improvements to regrade report - improved reporting of actions and dry run / regrade" added some if conditions to not display regrade buttons if the user doesn't have the permission to grade. 2008-07-11 07:39:11 +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
7660aa80e0 MDL-15393 "show group name in drop down select for what to show in report" AND MDL-15394 "disable showing 'all attempts' and remove option from drop down box in form if there is a group selected" 2008-06-24 16:36:44 +00:00
jamiesensei
d86bbdd6f7 MDL-15309 "Switch role to student, take quiz, can't delete attempt" switching default of overview report to show all attempts whether or not the attempt is for a currently enrolled student.
Merged from 1.9 branch.
2008-06-24 12:32:23 +00:00
jamiesensei
abe67b24a7 MDL-15378 "Quizz: sql error if not student in the group" now have extra logic to not display the table if there are no students at all or in current group - still displaying form and graph were appropriate.
Merged from 1.9 branch
2008-06-24 12:18:47 +00:00
jamiesensei
c386eaa3df MDL-15384 'change name of quiz report classes to "quiz_{reportname}_report"' easy to do, changed class name of all reports and changed the code in report.php which instantiates the correct class. 2008-06-24 08:59:29 +00:00
jamiesensei
0b8953aec3 MDL-15165 "Essay quiz Manual grading "these are no attempts to show" when there are actually attempts" - not resolved. But while reviewing the query I found a LIMIT clause in sql that I've replace with params to the get_records_sql function. Also made the logic in attempt_sql method more robust.
Merged from 1.9
2008-06-19 15:24:27 +00:00