907 Commits

Author SHA1 Message Date
jamiesensei
3efbe6bc89 MDL-14676 "In question bank, problem with moodle/question:edit* when do not have moodle/question:move*" Fixed logic for processing submission of question form and also added some validation to check that the user has permissions to move a question. 2008-10-08 10:27:38 +00:00
tjhunt
c6106dd9b7 MDL-16720 The edit icon in the quiz preview screen pops up the edit form in a window that is too small 2008-09-28 08:59:50 +00:00
tjhunt
2930500104 MDL-16706 - eliminate miscellaneous inine JavaScript
This does the quiz (apart from the bloody 'secure' window), the question bank and a couple of others.
2008-09-26 10:49:31 +00:00
tjhunt
16851b22ad MDL-16676 All references to the text.html and emoticons.html files need to be updated to point to text2.html and emoticons2.html 2008-09-25 10:04:01 +00:00
dongsheng
9ee948813a "MDL-14129, fixed hardcoded print_error" 2008-09-25 08:03:54 +00:00
skodak
4313348e36 MDL-14679 fixed some more addslashes() 2008-09-23 21:22:04 +00:00
skodak
4370f063b3 MDL-16644 removing stripslahses() and friends 2008-09-23 21:15:41 +00:00
pichetp
5d0b1e40c1 MDL-15233 improve interface handling of various functions in datasetitems_form.php 2008-09-23 15:01:36 +00:00
pichetp
450f11274f MDL-15233 add answers tolerance modificaions in datasetitems_form.php 2008-09-22 20:54:13 +00:00
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