998 Commits

Author SHA1 Message Date
thepurpleblob
3695cfa93f MDL-16570
Use CDATA sections for text where required. More readable and less error
prone.

Merged from MOODLE_19_STABLE
2008-09-19 10:01:47 +00:00
tjhunt
ddf977898c Clean up code in a couple of places by using my print_js_call function. 2008-09-19 04:53:03 +00:00
tjhunt
766df8f72b MDL-16334 Convert mod/quiz/comment.php to use attemptlib.php - final part of the work on the quiz navigtion, I hope.
MDL-16559 Remove question/comment.html template, and instead just have a function in questionlib.php
MDL-16562 Regression from MDL-16263, notices when regrading.
Sorry, the three got tangled together (coupled through questionlib) while I was fixing bugs in preparation for a demo.
2008-09-18 07:39:10 +00:00
pichetp
fac1189dee MDL-16427 changing $answer=='*' to $answer ==='*' 2008-09-18 06:16:50 +00:00
pichetp
078cc3f044 MDL-16427 implement the '*' convention as for other questiontypes 2008-09-18 06:13:18 +00:00
tjhunt
98e82289b3 MDL-16505 - Removing qtype_datasetdependent questiontype - finish off the database upgrade, after Pierre's previous work. 2008-09-17 05:24:29 +00:00
pichetp
29c6980d5d MDL-16505 Removing qtype_datasetdependent questiontype 2008-09-16 13:06:04 +00:00
pichetp
fbe2cfead1 MDL-16505 Removing qtype_datasetdependent questiontype 2008-09-16 12:59:00 +00:00
nicolasconnault
b9c639d6c2 MDL-16483 Refactored install/upgrade code into lib/adminlib. Created an intermediate MoodleUnitTestCase class that overrides simpletest's constructor, destructor and setup/teardown methods. All moodle unit tests must extend this class. 2008-09-16 12:19:43 +00:00
pichetp
e74f18e020 DB error changing array('id', $state->id) to array('id'=> $state->id) 2008-09-15 18:39:15 +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
a856c14ed6 Whitespace fix. 2008-09-10 05:26:35 +00:00
tjhunt
e056398a10 MDL-16429 Notice when previewing questions since MDL-16263 was implemented. 2008-09-10 02:58:52 +00:00
tjhunt
0cd465770f MDL-7010 - followup - quiz config settings were referred to in two places in the question bank. Since these settings are now in config_plugins, the references need to be update. (Of course, perhaps these should not be referred to at all ...) 2008-09-10 02:44:21 +00:00
tjhunt
fec2094ee6 moodle_database conversion error. 2008-09-09 07:00:16 +00:00
tjhunt
cfd24d98f9 MDL-7308 - followup - fix notices. Thanks to Pierre Pichet for the fix. 2008-09-09 02:03:28 +00:00
tjhunt
770537257a MDL-16398 Remove the unused and unnecessary set_default_options method from the question type API 2008-09-09 01:50:30 +00:00
tjhunt
bc59cef302 Comment update. 2008-09-08 06:59:11 +00:00
tjhunt
bced30229b Fix up question import. Thanks to Christopher Molnar: http://moodle.org/mod/forum/discuss.php?d=105164 2008-09-08 02:33:24 +00:00
tjhunt
9fc523e0be MDL-12814 typo in CSS class name. 2008-09-05 03:38:42 +00:00
tjhunt
81d833adaa MDL-15540 Navigation panel did not work on the review page for multi-page quizzes because of the way states were loaded. Refactor. 2008-09-04 06:37:43 +00:00
pichetp
5967aa032d Improving multichoice display MDL-14763: cleaning code from echos and print_r 2008-09-03 18:24:10 +00:00
tjhunt
ea435fe2fe JS does not work in IE. Grrrr! 2008-09-03 09:30:10 +00:00
tjhunt
f62040ed1f MDL-16263 Flagging questions during a quiz attempt. Save flag state on the review page when JS is off too. 2008-09-03 08:32:29 +00:00
tjhunt
5e9170b43e MDL-16263 Flagging questions during a quiz attempt. Save flag state on submit when JS is off. 2008-09-03 07:11:59 +00:00
tjhunt
d0dfe9491d MDL-16263 Flagging questions during a quiz attempt. Make it work nicely with just the keyboard, no mouse, if JavaScript is on. 2008-09-03 05:50:53 +00:00
tjhunt
c752264fe1 MDL-16263 Flagging questions during a quiz attempt. Update flag state in the navigtion panel when it is updated on the question. 2008-09-03 02:35:56 +00:00
tjhunt
3e32a89358 Remove call to deprecated function. 2008-09-03 01:46:10 +00:00
tjhunt
62e76c6766 MDL-16263 A way for students to flag/bookmark, particular questions during a quiz attempt for later review.
This is an initial implementation that is now at a working state, but with a few things left to do. It seemed like a good idea to commit it before leaving work on Friday night.
2008-08-29 10:08:27 +00:00
thepurpleblob
73b7b195ed MDL-16198
Blackboard V6+ can now handle the .dat file directly as an option to the .zip file
Some changes needed to recover the original filename.

Merged from STABLE_19
2008-08-28 13:49:25 +00:00
thepurpleblob
33ed59a208 MDL-16252
Fixed some notices with essay questions when there is no feedback

Merged from STABLE_19
2008-08-28 10:59:22 +00:00
thepurpleblob
252af403a1 MDL-16251
Changed tests to empty rather than isset to avoid notices when array is set but empty

Merged from STABLE_19
2008-08-28 10:36:16 +00:00
thepurpleblob
b81d2dbee3 MDL-16250
Added support for Essay type questions

Merged from STABLE_19
2008-08-28 10:07:51 +00:00
tjhunt
94a6d656a6 MDL-8475 - Better handling of blank answer - further changes to make it even more robust. Also, make the same changes to the shortanswer question type that were already made to the numerical question type. 2008-08-28 01:48:43 +00:00
skodak
1eda520124 MDL-16223, MDL-16222 - error string improvements 2008-08-27 16:34:23 +00:00
tjhunt
e4686e896e MDL-16200 question/type/datasetdependent/ missing version.php. This was a mistake made when fixing MDL-6095. 2008-08-26 01:09:23 +00:00
pichetp
6f4accc6fb putting negative data from datasets between () to eliminate maths problem MDL-15358 2008-08-20 18:17:27 +00:00
tjhunt
21a4ca7d79 MDL-15654 Incorrect escaping of HTML in the history table on the review quiz attempt page. 2008-08-20 09:46:18 +00:00
thepurpleblob
4a5d721cd6 MDL-8130
Change html_entity_decode to PHP5 version and also fix problem with shortening question to derive name.
2008-08-19 10:46:27 +00:00
scyrma
c951bf6e29 Little bit of performance improvement. 2008-08-19 06:03:18 +00:00
tjhunt
b3efa7078d MDL-14643 - Revert the hugely umpopular change from MDL-10841. 2008-08-19 02:36:12 +00:00
pichetp
e5ebbd53d4 Improving multichoice display MDL-14763 2008-08-18 18:31:31 +00:00
tjhunt
9152f6a5c8 MDL-7308 - followup change - strip unnecssary trailing 0s from the display of these numbers in the question editing form. 2008-08-18 08:39:31 +00:00
skodak
775f811a66 MDL-16002 rewritten upgrade locking and better upgrade progress tracking; MDL-16070 Do not use $a[0] syntax in lang packs + various other upgrade improvements and fixes 2008-08-16 12:16:01 +00:00
pichetp
47c03ecd8d better filtering of null answers MDL-8475 2008-08-15 11:15:26 +00:00
tjhunt
f9a2cf86a9 MDL-7308 - Check all the DB columns used to store grades, and make sure they all use a consistent type. 2008-08-15 11:15:08 +00:00
tjhunt
4f089b2155 MDL-6095 - Question bank tables are created by the quiz module. The really core tables are now created by lib/db, the datasetdependent tables are not created by the datasetdependent question type, and the question_numerical_units table is now created by the numerical question type. The last two are shared by the calculated question type, but there is no problem with them being created in the order they are now created in. In the past, before the policy that upgrade to 2.0 woudl have to go via 1.9, there would have been bit problems to do with the order of updates, but fortunately that is no longer an issue. 2008-08-15 07:23:18 +00:00
tjhunt
8239d2c6c8 Temporary fix to the fact that the files API work has broken question import. 2008-08-15 06:44:12 +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
tjhunt
bd379592df MDL-14431 - followup: after the rename qti2 -> qti_two, there were still some references to the old qti2 folder name. 2008-08-15 03:23:04 +00:00