Eloy Lafuente (stronk7)
663dbbc2e6
MDL-36933 Bump everything to 2012112900
...
(versions, requires and dependencies)
2012-11-30 03:30:09 +01:00
Frederic Massart
c384744304
MDL-36638 usability: Core changes for new quiz/question icons
2012-11-29 12:41:29 +08:00
Tim Hunt
5f137dcbe2
MDL-36760 formslib: fix frozen elements with [] in name.
...
This was a regression caused by MDL-30845 or, to be precise, the related
issue MDL-32785.
Form elements with names like multipier[0] require special handling,
such as is present in HTML_QuickForm_element::_prepareValue. I have
added equivalent handling to MoodleQuickForm::exportValues. I am afraid
that I could not think of a way to do this reliably without duplicating
code.
2012-11-23 10:53:14 +00:00
Dan Poltawski
91b0d0b75a
Merge branch 'MDL-36571' of git://github.com/timhunt/moodle
2012-11-20 14:59:34 +08:00
Tim Hunt
acb9f7f47d
MDL-36683 qtype match restore: better subq indentification.
...
This is very similar to what MDL-30018 did for question_answers.
2012-11-19 17:46:25 +00:00
Tim Hunt
8a7d763c77
MDL-36571 qtype multichoice: don't corrupt unicode characters.
...
It seems that \s includes non-breaking space, and the typical one-byte
representation of that is the same as some parts of multibyte unicode
characters. Therefore, you need to include the u modifer on the regular
expressions.
Also, remove any number of <br /> at the end of the answer.
Thanks to Joseph Rézeau and Jean-Michel Vedrine for working out what the
problem was, and how to fix it.
2012-11-19 17:21:00 +00:00
Sam Hemelryk
41b4e5ec7f
Merge branch 'MDL-36076' of git://github.com/timhunt/moodle
2012-10-30 12:59:23 +13:00
Dan Poltawski
506263cfee
Merge branch 'WIP-MDL-36033-master' of git://github.com/nadavkav/moodle
2012-10-29 14:59:45 +08:00
Tim Hunt
15dd772736
MDL-34399 questions cleanup: straighten out strange links to question objects.
2012-10-26 11:58:14 +08:00
Nadav Kavalerchik
f12117250d
MDL-36033 - Left align Numeric value fields in Calculated and Numeric question, when in RTL mode
2012-10-19 10:24:03 +02:00
Tim Hunt
16c7457f57
MDL-36076 qtype multichoice: validation fails on '0' answer.
2012-10-17 13:54:45 +08:00
Ankit Agarwal
76b4a3d118
MDL-30845 formslib: Removing persistant true as its not needed anymore
2012-10-15 14:01:47 +08:00
Frederic Massart
588d1b595a
MDL-35858 question: Fixed display of feedback in cloze questions
2012-10-09 10:28:21 +08:00
Dan Poltawski
ed27ce0163
Merge branch 'MDL-34570-master' of git://github.com/FMCorz/moodle
2012-10-02 13:56:48 +08:00
Frederic Massart
c3cdf1e4cb
MDL-34570 Accessibility: Adding labels on text inputs and selects to questions
2012-09-28 11:40:40 +08:00
Rossiani Wijaya
83690170be
MDL-34570 accessibility compliance for question: edit string label
2012-09-28 11:40:40 +08:00
Tim Hunt
b2a79cc1e8
MDL-35370 cloze qtype: distinguish wrong & unanswered subqs
...
This affects the subquestions that appear as an embedded text input box.
There are three cases:
1. Input for subq left blank
2. Input for subq was wrong, and matched by a * wildcard.
3. Input for subq was wrong, and did not match any answer.
2. and 3. should look identical, apart from any feedback in case 2.
1. is different. The state should be displayed as "Not answered" even
though the mark for this part is still shown as 0.
There are some new unit tests for these cases.
Also, we slighly improve handling of , for decimal point in multianswer,
although there are still issues.
While working on this, I made some minor clean-ups in shortanswer and
numerical qtypes.
2012-09-27 12:43:21 +01:00
Tim Hunt
8e8a397b16
MDL-35343 JavaScript visible in multichoice choice feedback.
...
Also, Match correct answer, and calculated multi and multianswer
feedback.
2012-09-10 13:06:47 +01:00
Eloy Lafuente (stronk7)
a39c97ca4a
Merge branch 'MDL-33306' of git://github.com/timhunt/moodle
2012-09-04 00:30:35 +02:00
Tim Hunt
89269fc2c8
MDL-33306 qtype multichoice: fix display of right answer.
...
Also, fix higlighing of last edited question in the qeustion bank, when
it co-incides with a grey row.
2012-08-29 17:47:48 +01:00
Aparup Banerjee
23d82edc91
Merge branch 'MDL-31837' of git://github.com/timhunt/moodle
2012-08-28 17:03:55 +08:00
Aparup Banerjee
a4290d5803
Merge branch 'MDL-32464' of git://github.com/timhunt/moodle
2012-08-28 16:53:41 +08:00
Aparup Banerjee
9455f48280
Merge branch 'MDL-34549-master' of git://github.com/ankitagarwal/moodle
2012-08-28 11:45:11 +08:00
Eloy Lafuente (stronk7)
af08f5d0af
Merge branch 'MDL-34430' of git://github.com/timhunt/moodle
2012-08-27 18:50:29 +02:00
Eloy Lafuente (stronk7)
d683fcdf98
Merge branch 'MDL-34993' of git://github.com/timhunt/moodle
2012-08-27 18:35:23 +02:00
Eloy Lafuente (stronk7)
4299f5f6a8
Merge branch 'MDL-35026' of git://github.com/timhunt/moodle
2012-08-27 17:53:59 +02:00
Eloy Lafuente (stronk7)
7f7cda07f2
Merge branch 'MDL-35003' of git://github.com/timhunt/moodle
2012-08-27 17:50:55 +02:00
Tim Hunt
aa9d6e4300
MDL-32464 qformat multianswer: fix missing include.
...
Also, add a sample file that can be used for testing, and add a unit
test to verify this is working.
2012-08-24 16:56:18 +01:00
Ankit Agarwal
5fbe2118bc
MDL-34549 libraries: Changing strictness of context::instance_by_id() when required
2012-08-24 11:30:35 +08:00
Ankit Agarwal
d197ea4300
MDL-34549 libraries: Replace get_context_instance_by_id() by context::instance_by_id()
2012-08-24 11:30:10 +08:00
Tim Hunt
ca9385682f
MDL-34430 qtype essay: upgrade from MDL-31393 needs a progress bar.
2012-08-23 20:08:30 +01:00
Tim Hunt
e7a6779efb
MDL-35026 qtype multianswer: misnamed string.
...
AMOS BEGIN
MOV [questionnadded,qtype_multianswer],[questionsadded,qtype_multianswer]
AMOS END
2012-08-23 19:28:53 +01:00
Tim Hunt
2b3f70dbad
MDL-35023 qtype calculated: fix strict syntax problem.
2012-08-23 19:28:38 +01:00
Tim Hunt
9c2e178e2f
MDL-35003 questions: remove stray full stop after correct answer.
...
In a few situations, this full stop makes things a bit more grammatical,
but there are many other situations where it causes problems. So, on
balance we will remove it.
2012-08-23 19:28:20 +01:00
Tim Hunt
d2acbd1ad4
MDL-34993 questions: convert numeric fields to float on load.
...
NUMBER(X,Y) typically come back from the DB as strings. If you don't
convert them to float, then when you display them, it appears as
1.0000000, which is not normally what you want.
Also, increase the size of the field on the edit form, so if you
question does have default mark 0.1234567, you can see that!
2012-08-23 19:28:05 +01:00
Tim Hunt
93266d0fe0
MDL-31837 numerical tolerance: better handling of very small tolerances.
...
The changes between Moodle 1.9 and 2.1 made the marking of very small
answers like 10^-20 almost impossible. This change fixes it.
This fix is almost entirely due the the careful research of Pierre
Pichet, who carefully testing various proposals, and worked out that
this one seemed best.
2012-08-23 19:15:15 +01:00
Frederic Massart
21c08c63ca
MDL-34458 Librairies: Replaced deprecated get_context_instance()
2012-07-24 16:58:17 +08:00
Dan Poltawski
5082d87c03
Merge branch 'wip-mdl-32940' of git://github.com/rajeshtaneja/moodle
2012-07-24 13:39:59 +08:00
Aparup Banerjee
acb88dbed3
Merge branch 'wip-mdl-32942' of git://github.com/rajeshtaneja/moodle
2012-07-24 12:14:17 +08:00
Rajesh Taneja
61cca0b7fc
MDL-32940 libraries: Replaced deprecated PARAM_NUMBER with PARAM_FLOAT
2012-07-23 17:21:05 +08:00
Dan Poltawski
bdaff201bb
Merge branch 'MDL-34226' of git://github.com/timhunt/moodle
2012-07-23 13:53:46 +08:00
Tim Hunt
be1d8ed194
MDL-34226 multianswer qtype: basic unit test.
...
This verifies the previous fix, and gets rid of a rather embarassing TODO.
2012-07-19 12:50:47 +01:00
Tim Hunt
c0a912e5ac
MDL-34226 multichoice qtype: correct is_complete_response for multianswer
...
The multianswer qtype uses the multi-choice one, and the way it does its
responses array breaks an assumption that multi-choice was making.
2012-07-19 12:50:47 +01:00
Rajesh Taneja
405aca3532
MDL-32942 libraries: Replaced deprecated PARAM_ACTION and PARAM_FORMAT with PARAM_ALPHANUMEXT
2012-07-19 15:46:10 +08:00
Rajesh Taneja
1e12c1203b
MDL-30651 libraries: Replaced deprecated PARAM_INTEGER with PARAM_INT
2012-07-19 15:37:46 +08:00
Dan Poltawski
7e867bb39f
Merge branch 'MDL-26587' of git://github.com/nebgor/moodle
2012-07-16 15:50:44 +08:00
Aparup Banerjee
4b92f65351
MDL-26587 Question : fixed restoring shortanswer where answers are missing due to data error in mbz file.
2012-07-11 13:41:00 +08:00
Tim Hunt
05038fcba0
MDL-34065 questions: also fix two typos in comments.
...
Amended to change 2 accordin => according
2012-07-05 13:49:05 +02:00
Aparup Banerjee
99c3c503e0
MDL-34096 Installation : Added 2.3 upgrade line to db upgrade scripts.
2012-06-29 11:41:09 +08:00
Dan Poltawski
3248a1e1e4
Merge branch 'MDL-33794' of git://github.com/stronk7/moodle
...
Conflicts:
mod/assign/version.php
2012-06-18 16:08:39 +08:00