505 Commits

Author SHA1 Message Date
Tim Hunt
05d2a8b7f1 MDL-26416 avoid subtracting two unsigned ints, which breaks MySQL since 5.5.5. 2011-02-18 16:27:49 +00:00
Tim Hunt
e24ee794b2 MDL-20636 Convert the overview report. 2011-02-16 17:33:51 +00:00
Tim Hunt
2a3bdbf98e MDL-20636 Fix some minor bugs. 2011-02-16 14:06:12 +00:00
Tim Hunt
04853f273a MDL-20636 Convert quiz statistics report. 2011-02-15 17:22:31 +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
adaad5f224 MDL-20636 Fix install 2011-02-13 07:34:32 +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
7ee80cab53 MDL-20636 Manual comment popup comment.php now works. 2011-02-09 20:29:59 +00:00
Tim Hunt
b2607ccc19 MDL-20636 Now the quiz review page works. 2011-02-09 20:18:24 +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
Tim Hunt
74c479f212 MDL-20636 Merge branch 'master' into qe2_wip
Conflicts:
	lib/questionlib.php
	question/type/calculated/lang/en/qtype_calculated.php
	question/type/questiontype.php
2011-02-03 11:18:40 +00:00
Helen Foster
82b15e2811 MDL-21250 capital letters removal
Also some spotted leading and trailing whitespace was removed from some
strings.
2011-01-27 16:24:30 +01:00
Petr Skoda
99d19c13ae MDL-25855 some more missing filelib includes 2011-01-23 18:34:41 +01:00
Tim Hunt
cce1b6556c MDL-20636 Fix a bunch of minor errors in the truefalse preview.
Most significantly, all behaviours now work.
2011-01-13 18:35:46 +00:00
Tim Hunt
6577832390 quiz reports MDL-25206 Make it more obvious how to review the students responses. 2010-11-15 16:41:42 +00:00
Tim Hunt
a9efae50e3 question upgrade MDL-16094 fix up earlier mistakes in the text format upgrade.
There was a mistake in the text format upgrade in the question bank. The wrong conversions were performed, and the wrong arguments were passed to text_to_html in the conversions that were done.

Also, not all the calls to format_text had been updated to use the values in the new format columns.

I think this change fixes everything, but I have only had very limited time to test it. I am committing it anyway, because that seems to me to be the best way to maximise testing. I think that the new code is certainly better than the old code was.
2010-11-11 17:32:25 +00:00
Sam Hemelryk
367a75fae4 themes lib MDL-24895 Multiple fixes to better handle overflow.
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00
Tim Hunt
e09ca95eba quiz reports MDL-24603 columns in the overview report should be collapsible. 2010-11-01 14:36:58 +00:00
Tim Hunt
fde29fa59c quiz & qbank MDL-24453 some more return URLs that I missed the first time.
Also, fix a double-escaping bug when cancelling the form.
2010-10-18 15:53:54 +00:00
Sam Hemelryk
9db1789832 mod-quiz MDL-24418 Overflow fix allow horizontal scrolling of quiz results. 2010-09-29 03:02:18 +00:00
Tim Hunt
4033062b33 quiz statistics report NOBUG   was not being escaped twice in Analysis of responses of some qtypes. 2010-09-22 15:35:27 +00:00
Petr Skoda
39790bd805 MDL-24321 switching to stdClass in /mod/ 2010-09-21 08:37:36 +00:00
Eloy Lafuente
8ad6765887 NOBUG quiz - overview & responses reports fixes 2010-09-17 01:07:17 +00:00
Petr Skoda
0f21a964a5 MDL-24079 fixing recent regressions caused by api changes in tablelib; sorry I did not find the problem earlier 2010-09-05 12:35:51 +00:00
Tim Hunt
414e727676 quiz reports MDL-23161 notify(get_string('nostudentsyet')) breaking downloads. 2010-08-11 18:34:42 +00:00
Tim Hunt
d39ba35c34 quiz overview report MDL-17569 you should be see essay questions that need grading in the report. 2010-08-06 18:09:48 +00:00
Sam Hemelryk
73eba4be68 navigation MDL-20276 Fixed use of override_active_url. 2010-08-06 05:49:47 +00:00
Tim Hunt
c68287a928 mod_quiz / navigation MDL-20276 replace make_active with override_active_url
It doesn't work, but I am committing it, so Sam H can take a look.
2010-08-05 18:15:17 +00:00
Tim Hunt
fc3472d5ed quiz manual grading NOBUG fix performance issue with printing the user picture. 2010-08-05 15:35:45 +00:00
Tim Hunt
ea906bb45c quiz reports MDL-21111 Quiz duration is reported in years if Time Finish is before Time Start
Suppose you have two load-balanced servers with badly-synchronised clocks, and
a student does a really quick quiz attempt.

Then it is possible that quiz_attemtp.timestart is greater than quiz_attemtp.timefinish.
And these columns are unsigned (on MySQL) so timefinish - timestart is compulted as
a number close to 2^64, which is about 42 times the age of the universe.

Do the subtraction in PHP instead. (But we still need to compute a duration columnin PHP
because sometimes we sort on it.)
2010-08-05 12:43:13 +00:00
Tim Hunt
f6c7f15883 quiz reports MDL-17388 tweak layout so more useful stuff fits on the first page.
In particular, I think you should be able to see at least the top of the table or results without scrolling, if your monitor is not too small.
2010-08-04 18:45:05 +00:00
Tim Hunt
7383c63398 quiz statistics report NOBUG remove debug code. Sorry. 2010-08-04 16:25:24 +00:00
Tim Hunt
24f17d7588 quiz responses report MDL-23377 responses report needs to be fixed in HEAD as well as overview. 2010-08-04 15:05:31 +00:00
Tim Hunt
f05fedc84d quiz overview report MDL-23377 can't delete attempts when there are no students.
Actually, reviewing this, I noticed some other security checks were missing, for
example we should ensure the users can only delete attempts belonging to this quiz!
2010-08-03 13:15:27 +00:00
Tim Hunt
07a2b2f0f0 quiz overview MDL-23377 whitespace cleanup, before doing the real fix. 2010-08-03 12:54:23 +00:00
Tim Hunt
b0e4fa419e quiz statistics NOBUG code cleanup. 2010-08-03 11:10:57 +00:00
David Mudrak
7292c11f51 MDL-21695 quiz: deprecated setHelpButton() and old_help_icon() replaced with new calls
Some help icons dropped without replacement as suggested by Helen, the
Help Writer. Some strings moved to core_question.

AMOS BEGIN
 HLP quiz/timelimit.html,[timelimit_help,mod_quiz]
 HLP quiz/grademethod.html,[grademethod_help,mod_quiz]
 HLP quiz/questionsperpage.html,[newpage_help,mod_quiz]
 HLP quiz/shufflewithin.html,[shufflewithin_help,mod_quiz]
 HLP quiz/penaltyscheme.html,[penaltyscheme_help,mod_quiz]
 HLP quiz/repeatattempts.html,[eachattemptbuildsonthelast_help,mod_quiz]
 HLP quiz/reviewoptions.html,[reviewoptionsheading_help,mod_quiz]
 HLP quiz/showuserpicture.html,[showuserpicture_help,mod_quiz]
 HLP quiz/decimalpoints.html,[decimalplaces_help,mod_quiz]
 HLP quiz/decimalplacesquestion.html,[decimalplacesquestion_help,mod_quiz]
 HLP quiz/requirepassword.html,[requirepassword_help,mod_quiz]
 HLP quiz/requiresubnet.html,[requiresubnet_help,mod_quiz]
 HLP quiz/timedelay1.html,[delay1st2nd_help,mod_quiz]
 HLP quiz/timedelay2.html,[delaylater_help,mod_quiz]
 HLP quiz/overallfeedback.html,[overallfeedback_help,mod_quiz]
 HLP quiz_statistics/negcovar.html,[negcovar_help,quiz_statistics]
 MOV [penaltyfactor,mod_quiz],[penaltyfactor,core_question]
 MOV [penaltyfactor_help,mod_quiz],[penaltyfactor_help,core_question]
 HLP quiz/penalty.html,[penaltyfactor_help,core_question]
AMOS END
2010-08-02 20:56:15 +00:00
Tim Hunt
a49cb927fd NOBUG more consistent use of URLs for the quiz reports. 2010-07-28 15:08:34 +00:00
Sam Hemelryk
304f00da6c quiz-report-grading MDL-20724 Fixed display of table when no results are available due to firstname/surname filtering. Merged from 19 2010-07-23 06:09:23 +00:00
Tim Hunt
45c4a5c770 quiz MDL-21533 remove all mention of overlib from the quiz, by moving necessary code to qtype_multianswer, which is the only place it is used. 2010-07-05 16:55:39 +00:00
Petr Skoda
3a11c09f5b MDL-21676 user_picture refactoring, reenabling email requirement - towards Gravatar support 2010-07-04 18:36:34 +00:00
Petr Skoda
a4cdd6d2c8 MDL-23068 removing obsolete $result and removing empty upgrade files that would be probably never used at all + minor cleanup/fixing 2010-07-04 10:27:56 +00:00
David Mudrak
6855dc3088 MDL-21695 Removing unused help files
tableexportformats.html removed as suggested by Helen.
2010-06-28 14:36:50 +00:00
Tim Hunt
cd0a2ed882 quiz reports MDL-22847 Cannot delete quiz attempts when a group is selected. 2010-06-23 20:09:09 +00:00
Rossiani Wijaya
f484c0ad08 MDL-22257 - Change the fields value (3rd parameter) from 'id' to 'u.id' 2010-05-28 07:24:01 +00:00
Sam Marshall
31c9330392 accesslib MDL-22527 Batch change to replace 'legacy' arrays with 'archetypes' arrays in access.php 2010-05-21 11:51:23 +00:00
Rossiani Wijaya
942308b74d Change the fields value (3rd parameter) from 'id' to 'u.id' 2010-05-21 03:50:00 +00:00
Sam Hemelryk
56ed242b51 navigation MDL-20276 Fixed up the navigation for the quiz module and question section as per Tim's recommendation.
* Routine navigation through the quiz and question modules
* Fixed navbar through quiz and questions
* Pages headers added throughout
* Added method to turn a navigation node into a tabs array suitable for use with print tabs
2010-05-21 03:15:48 +00:00
Rossiani Wijaya
ef7700377b fixed typo for parameter value from treu to true. 2010-05-21 02:33:43 +00:00