1858 Commits

Author SHA1 Message Date
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
17f1782c12 MDL-15818 "allow quiz reports to register cron routines" - Quiz reports can now include files cron.php which include functions quiz_report_{reportname}_cron that will be executed from the moodle cron. They must also modify their quiz_report record to set cron to the number of seconds between cron execution. 2008-07-24 17:36:33 +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
moodler
3b120e464f MDL-10107 - First check-in of Messaging 2.0 code from Luis Rodrigues, GSOC student.
This new messaging system replaces all the various email_to_user() calls.
They are now replaced by events triggers, and the messages are then
processed centrally according to user preferences and sent to one or more
processors (email, popup, jabber etc...)

This code is not finished yet, a lot of work still has to be done on the
interface.  However, the basic structure is there and should be working.
Luis and I will be reviewing and polishing this heavily in the next few weeks.
2008-07-24 08:38:03 +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
tjhunt
5533791abc MDL-15750 - After the close date, the teacher cannot preview a quiz becuase the timer thinks the time is already up. Also, move the timer in to the new navigation block. 2008-07-22 11:37:01 +00:00
tjhunt
5bbf20b48d Error with submitting quizzes - regression caused by MDL-15542. 2008-07-22 11:01:56 +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
tjhunt
5c98fcd402 Error with submitting quizzes - regression caused by MDL-15542. 2008-07-22 09:03:51 +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
68f332f391 MDL-15452 - "Fix regressions introduced by my recent work on this bug and its children. Thanks to Paul Johnson for his testing." - fix xhtml error. 2008-07-21 12:14:32 +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
9f9eec1ef0 MDL-15542 - Refactor quiz response processing into a separate processresponses.php. 2008-07-15 16:46:24 +00:00
tjhunt
ccc4515578 MDL-15541 - add a comment about where this code originated. 2008-07-15 16:31:22 +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
tjhunt
baef998bb9 MDL-15622 - Add the quiz navigation panel to the review page
Also, improve the styling a bit.
2008-07-14 15:40:24 +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
04c8148a4f MDL-15102 "Upgrade to DMLLIB 2.0. Needs further testing and bug-fixing." fixing a couple of typos which were causing errors. 2008-07-14 06:37:39 +00:00
tjhunt
3c168fbb66 MDL-15543 - Display the quiz navigation on the attempt.php page
and most of

MDL-15540 - Write code to render the navigation panel - it does it all apart from working out the correct state in which to show each button, and apply appropriate styles as a result.
2008-07-11 17:03:43 +00:00
tjhunt
a0083206b8 MDL-15452 - Fix regressions introduced by my recent work on this bug and its children. Thanks to Paul Johnson for his testing. 2008-07-11 13:04:09 +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
tjhunt
e153801c1c Remove debug code. 2008-07-10 17:34:18 +00:00
tjhunt
793f3a0e69 MDL-15452 - Fix regressions introduced by my recent work on this bug and its children. Thanks to Paul Johnson for his testing. 2008-07-10 17:31:12 +00:00
tjhunt
b9b3aa9459 MDL-15452 - Fix regressions introduced by my recent work on this bug and its children. Thanks to Paul Johnson for his testing. 2008-07-10 17:23:56 +00:00
tjhunt
b1103f2bf2 MDL-15535 - URLs are changing from attempt.php?id=XXX to attempt.php?attempt =YYY - implement a sensible redirect if we recieve an old-style URL, since they are stored in a few places like the logs. Also update all URLs we generate that point to attempt.php. 2008-07-09 17:00:26 +00:00
tjhunt
453c96f68b Missing $this. 2008-07-09 16:58:47 +00:00