Sam Hemelryk
f9e009a744
MDL-21625 question: Fixed phpdocs
2012-11-05 16:29:38 +13:00
Sam Hemelryk
18f6238b88
Merge branch 'MDL-21625_b_m23' of git://github.com/rwijaya/moodle into MOODLE_23_STABLE
2012-11-05 16:27:30 +13:00
Matt Petro
2cae75aacc
MDL-36025 qtype calculated: Fix handling of "-0"
2012-11-02 12:11:01 -04:00
Sam Hemelryk
1d6d520a5a
Merge branch 'MDL-36076_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
2012-10-30 12:59:12 +13:00
Nadav Kavalerchik
00c7657edf
MDL-36033 - Left align Numeric value fields in Calculated and Numeric question, when in RTL mode
2012-10-19 10:24:46 +02:00
Rossiani Wijaya
d2d17341e8
MDL-21625 Question bank: Add accessibility to table layout for viewing question list
2012-10-19 13:32:11 +08:00
Tim Hunt
db05d59534
MDL-36076 qtype multichoice: validation fails on '0' answer.
2012-10-17 13:55:52 +08:00
Frederic Massart
ad87b3a2cc
MDL-35858 question: Fixed display of feedback in cloze questions
2012-10-09 16:13:33 +08:00
Dan Poltawski
845cc02904
Merge branch 'MDL-34570-23' of git://github.com/FMCorz/moodle into MOODLE_23_STABLE
2012-10-02 13:57:00 +08:00
Dan Poltawski
d9cada0a9d
Merge branch 'MDL-35370_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
2012-10-02 12:09:36 +08:00
Dan Poltawski
d0154d2996
Merge branch 'MDL-35693_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
2012-10-02 11:47:57 +08:00
Tim Hunt
0222cd9545
MDL-35693 question engine: set id when saving a new question_attempt
2012-09-28 15:29:57 +01:00
Frederic Massart
d3187c299a
MDL-34570 Accessibility: Adding labels on text inputs and selects to questions
2012-09-28 11:39:32 +08:00
Rossiani Wijaya
daa3c5ff1b
MDL-34570 accessibility compliance for question: edit string label
2012-09-28 11:39:32 +08:00
Tim Hunt
f0f2014316
MDL-35620 question engine: should distinguish NULL and 0.
...
This only matters in an obscure edge case, but it is an edge case we hit
with one of the OU question types.
This load data code is processing the results of a LEFT JOIN, so is_null
is the correct logic.
2012-09-27 12:35:55 +01:00
Tim Hunt
ad1a52e07c
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:35:35 +01:00
Eloy Lafuente (stronk7)
c59d51b67d
Merge branch 'MDL-35419_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
2012-09-18 01:28:46 +02:00
Eloy Lafuente (stronk7)
0f5c4b8397
Merge branch 'MDL-34841_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
2012-09-18 01:15:31 +02:00
Tim Hunt
c21f901559
MDL-35419 question manual grading: valdiation must handle 0,5
...
Yet another , as decimal separator issue!
To fix this nicely, I refactored some code into question_utils.
2012-09-13 16:40:02 +01:00
Tim Hunt
5df0a6b47e
MDL-34841 error importing questions with long names.
...
The problem was with the non-UTF-8-safe way that a question name
was being constructed from the question text.
I have done a proper fix with methods in the base class to
carefully construct a question name that is reasonable, and
which will fit in the database column. Then I have changed all
importers to use the new methods.
I also remembered not to break the lesson in the process.
2012-09-12 17:38:40 +01:00
David Mudrák
babf5f522e
MDL-35272 Fix typo in qformat_blackboard_six.php
...
Credit goes to German Valero for spotting and reporting this.
2012-09-11 01:03:22 +02:00
Tim Hunt
817fcbb549
MDL-35343 JavaScript visible in multichoice choice feedback.
...
Also, Match correct answer, and calculated multi and multianswer
feedback.
2012-09-10 13:08:14 +01:00
Eloy Lafuente (stronk7)
2b567e3687
Merge branch 'MDL-27818_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
2012-09-04 01:07:51 +02:00
Eloy Lafuente (stronk7)
8a716e2362
Merge branch 'MDL-33306_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
2012-09-04 00:30:59 +02:00
Tim Hunt
5d22b22274
MDL-27818 question bank: multilang category names don't work.
2012-08-30 22:45:51 +01:00
Tim Hunt
3b5245cd6b
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:46:59 +01:00
Eloy Lafuente (stronk7)
56c5e1db1b
MDL-25492 bb6 import: bump version after big changes.
2012-08-28 20:15:18 +02:00
Eloy Lafuente (stronk7)
ed29fa1274
Merge branch 'MDL-25492_23' of git://github.com/jmvedrine/moodle into MOODLE_23_STABLE
2012-08-28 20:08:19 +02:00
Aparup Banerjee
4eb3f12797
Merge branch 'MDL-31837_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
2012-08-28 17:04:19 +08:00
Aparup Banerjee
6ec3ae6f14
Merge branch 'MDL-32464_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
2012-08-28 16:54:31 +08:00
Eloy Lafuente (stronk7)
9507653269
Merge branch 'MDL-34430_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
2012-08-27 18:51:01 +02:00
Eloy Lafuente (stronk7)
79a6a832d7
Merge branch 'MDL-34993_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
2012-08-27 18:35:54 +02:00
Eloy Lafuente (stronk7)
e9c306f10e
Merge branch 'MDL-35026_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
2012-08-27 17:54:20 +02:00
Eloy Lafuente (stronk7)
b14d76c59f
Merge branch 'MDL-35003_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
2012-08-27 17:51:24 +02:00
Tim Hunt
a129b76cc3
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:52 +01:00
Jean-Michel Vedrine
cc0188c21c
MDL-25492 Blackboard V6+ question import is broken.
2012-08-24 13:52:05 +02:00
Tim Hunt
765e7564cc
MDL-35026 qtype multianswer: misnamed string.
...
AMOS BEGIN
MOV [questionnadded,qtype_multianswer],[questionsadded,qtype_multianswer]
AMOS END
2012-08-23 19:15:15 +01:00
Tim Hunt
07eca71195
MDL-35023 qtype calculated: fix strict syntax problem.
2012-08-23 19:14:55 +01:00
Tim Hunt
872e445a48
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:14:38 +01:00
Tim Hunt
7f8d657531
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:14:19 +01:00
Tim Hunt
ff43c30f0a
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 18:59:15 +01:00
Tim Hunt
49e77191cc
MDL-34430 qtype essay: upgrade from MDL-31393 needs a progress bar.
2012-08-22 22:15:36 +01:00
Jean-Michel Vedrine
9832fde1c0
MDL-34738 fix for the problem found during testing : dat files not accepted on some servers
2012-08-22 16:38:08 +02:00
Dan Poltawski
8172f3b2d3
MDL-34808 qformat_examview - increment version
2012-08-21 11:05:58 +08:00
Dan Poltawski
b02734b77d
Merge branch 'MDL-34808_23' of git://github.com/jmvedrine/moodle into MOODLE_23_STABLE
2012-08-21 11:00:49 +08:00
Dan Poltawski
b747690361
MDL-34738 qformat_blackboard - increment version number
2012-08-21 09:55:50 +08:00
Dan Poltawski
d73f22d94e
Merge branch 'MDL-34738_23' of git://github.com/jmvedrine/moodle into MOODLE_23_STABLE
2012-08-21 09:42:12 +08:00
Eloy Lafuente (stronk7)
ac97fc2122
Merge branch 'MDL-34810_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
2012-08-21 01:36:36 +02:00
Jean-Michel Vedrine
2e941f3356
MDL-34808 load sample xml file from fixtures in tests
2012-08-20 10:47:31 +02:00
Jean-Michel Vedrine
f3ad0ed27d
MDL-34738 load sample dat file in tests
2012-08-20 09:52:53 +02:00