Dan Poltawski
f7febae6d0
Merge branch 'MDL-36422-master' of git://github.com/FMCorz/moodle
2012-11-08 11:07:43 +08:00
Frederic Massart
eec4107bdd
MDL-36422 question: Fixed malformed HTML in manual marking
2012-11-08 10:20:22 +08:00
Sam Hemelryk
f3c306f4e0
MDL-21625 question: Fixed phpdocs
2012-11-05 16:29:28 +13:00
Sam Hemelryk
544c455357
Merge branch 'MDL-21625_b' of git://github.com/rwijaya/moodle
2012-11-05 16:27:43 +13: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
Tim Hunt
a560d636f4
MDL-34399 questions: cache to help load question definitions.
...
At the moment, it takes several DB queries to load each question definition,
so this cache is potentially a big win.
2012-10-26 11:58:02 +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
Rossiani Wijaya
d2c9169a4c
MDL-21625 Question bank: Add accessibility to table layout for viewing question list
2012-10-19 13:25:52 +08: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
Dan Poltawski
76811d0bb8
Merge branch 'MDL-35370' of git://github.com/timhunt/moodle
2012-10-02 12:07:41 +08:00
Dan Poltawski
c07189ebe8
Merge branch 'MDL-35693' of git://github.com/timhunt/moodle
2012-10-02 11:47:50 +08:00
Tim Hunt
1c80e79ac6
MDL-35693 question engine: set id when saving a new question_attempt
2012-09-28 15:28:27 +01:00
Frederic Massart
b825e6c613
MDL-35171 Question: Export to HTML uses more of html_writer
2012-09-28 11:40:40 +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
65cf651fd8
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:44:07 +01: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
Eloy Lafuente (stronk7)
9577f6ee94
Merge branch 'MDL-35419' of git://github.com/timhunt/moodle
2012-09-18 01:28:34 +02:00
Eloy Lafuente (stronk7)
b18816beae
Merge branch 'MDL-34841' of git://github.com/timhunt/moodle
2012-09-18 01:15:14 +02:00
Tim Hunt
2c76c89422
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:33:15 +01:00
Tim Hunt
cacb8fa08a
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-11 15:04:00 +01:00
Eloy Lafuente (stronk7)
24543a2145
Merge branch 'MDL-35272-typo' of git://github.com/mudrd8mz/moodle
2012-09-11 01:03:06 +02: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)
37a74d1e28
Merge branch 'MDL-27799' of git://github.com/timhunt/moodle
2012-09-06 01:29:04 +02:00
David Mudrák
0e5ebc8755
MDL-35272 Fix typo in qformat_blackboard_six.php
...
Credit goes to German Valero for spotting and reporting this.
2012-09-05 14:05:36 +02:00
Eloy Lafuente (stronk7)
5087a95e9c
Merge branch 'MDL-27818' of git://github.com/timhunt/moodle
2012-09-04 01:06:48 +02: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
fc51c2bce2
MDL-27818 question bank: multilang category names don't work.
2012-08-30 22:42:15 +01:00
Tim Hunt
e231a3ffa2
MDL-27799 question bank: remove last traces of qtype constants.
...
Using consants to refer to plugin names is crazy. The whole point of
plugins is that you can install more, hence the list of constants will
never be complete.
2012-08-30 13:15:52 +01: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
Eloy Lafuente (stronk7)
2ab9b983be
MDL-25492 bb6 import: bump version after big changes.
2012-08-28 20:16:54 +02:00
Eloy Lafuente (stronk7)
14941785d7
Merge branch 'MDL-25492' of git://github.com/jmvedrine/moodle
2012-08-28 20:02:02 +02: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
2cdd5d8571
MDL-34549 added IGNORE_MISSING to context call for bc
2012-08-28 12:29:17 +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)
7b0c1bf02a
Merge branch 'MDL-34306' of git://github.com/timhunt/moodle
2012-08-27 20:06:19 +02: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
19de315e83
MDL-34306 gift question format: allow import of general feedback
...
This change introduces #### as a separator for general feedback. You need
to add ####General feedback goes here as the last thing inside the {...}.
For example
// question: 123 name: Shortanswer
::Shortanswer::Which is the best animal?{
=Frog#Good!
=%50%Cat#What is it with Moodlers and cats?
=%0%*#Completely wrong
####Here is some general feedback!
}
Note that this change is not entirely backwards compatible. It will break
any existing GIFT file where the character sequence #### us used between the
{} as part of the question. This seems highly unlikely.
2012-08-25 14:27:40 +01: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
Jean-Michel Vedrine
7ace84e069
MDL-25492 Blackboard V6+ question import is broken.
2012-08-24 13:27:45 +02:00
Ankit Agarwal
5fbe2118bc
MDL-34549 libraries: Changing strictness of context::instance_by_id() when required
2012-08-24 11:30:35 +08:00