pichetp
665e82f8f8
MDL-14763 new lang strings and MDL-17134
2008-11-10 19:47:49 +00:00
tjhunt
41d3730951
random questions: MDL-17185 regression from MDL-17160 random questions were no longer randomising.
...
Backporting Jamie's fix to 1.9, and making a minor improvement along the way.
2008-11-10 07:56:37 +00:00
jamiesensei
01bb194a4e
MDL-17185 "random questions always the same!" Randomized question selection
2008-11-10 07:32:05 +00:00
pichetp
2605364117
MDL-17104 and MDL-17105 unused old questions are deleted more correclty and take in
...
account that the actual questiontype/save_question() create a new question when categorytomove
is not set..
2008-11-09 21:55:58 +00:00
tjhunt
339ef4c246
random questions: MDL-17160 Adding random questions, maximum option.
...
When counting how many options to put in the add NN random questions dropdown, we should only count questions of types that are usable by random.
2008-11-07 05:50:02 +00:00
tjhunt
4568bf99a8
Fix misleading comment.
2008-11-05 08:10:17 +00:00
tjhunt
da012eb63a
qtype multichoice: MDL-17029 - followup - revert my overzealous copying and pasting. Thanks to Myles Carrick for noticing my mistake.
2008-10-27 23:36:07 +00:00
tjhunt
4b31ac5cd1
qtype multichoice: MDL-17029 answernumbering option was not being backed up or restored.
2008-10-27 04:23:23 +00:00
tjhunt
6cfa5ec17d
qtype match: MDL-16450 Change validation so it is possible to create matching questions with two stems and three answers.
...
Thanks to Oleg Sychev for implementing this.
2008-10-27 02:33:34 +00:00
tjhunt
41c96651b5
question bank category editing: To be honest, I can't rememeber exactly what bug this fixes, but it was a problem I found and fixed while preparing to demo stuff at the Brisbane Moodle Moot. In the process of fixing whatever issue it was (I think it was something to do with the permissions checks in some cases) I cleaned to code up and made it easier to understand, and I trust myself, so I am checking this in.
2008-10-23 09:23:52 +00:00
tjhunt
ef33a9cd37
Question bank: error when deleting empty categories.
2008-10-23 09:17:50 +00:00
tjhunt
8409cec0df
qtype database definitions: MDL-16978 Lots of foreign key definitions in install.xml files erroniously link to the questions table. It should be question.
2008-10-23 07:30:12 +00:00
tjhunt
834f7c4a5a
qtype description: MDL-16863 Put back edit icon next to descriptions for teachers.
2008-10-21 06:34:14 +00:00
tjhunt
a0a88627cc
Remove obsolete method.
2008-10-21 06:22:16 +00:00
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