Adam Olley
7c95cf02af
MDL-41600: qformat_blackboard_six Fix test_import_match fail w/ddmatch
...
With qtype_ddmatch installed, the unit tests for qformat_blackboard_six
fail as they generate ddmatch questions instead of match ones. This
patch checks for ddmatch and changes the test to expect that instead if
its installed.
2013-09-10 09:16:29 +09:30
Dan Poltawski
5fa41023da
Merge branch 'MDL-39507_24' of git://github.com/timhunt/moodle into MOODLE_24_STABLE
2013-08-14 21:58:14 +08:00
Tim Hunt
12cc56072a
MDL-39507 Question HTML export: fix image handling.
...
Some code got committed to stable branches that relied on a new API that
was in master only. This fixes it to use the old API.
2013-08-14 11:04:10 +01:00
Dan Poltawski
2e91dfc66c
Merge branch 'MDL-39507_24' of git://github.com/timhunt/moodle into MOODLE_24_STABLE
2013-08-13 09:53:31 +08:00
Tim Hunt
06a42cff90
MDL-39507 questions: fix pluginfile URLs before format_text.
...
This commit build's on Jean-Michel's work, tidying up a few lose ends.
2013-08-12 13:13:54 +01:00
Jean-Michel Vedrine
cda91161df
MDL-39507 questions: fix pluginfile URLs before format_text.
2013-08-12 10:36:40 +01:00
Jean-Michel Vedrine
390cb87e76
MDL-30001 WEBCT Import does not work for 2.0
2013-08-11 08:06:13 +02:00
Dan Poltawski
ce024436be
Merge branch 'MDL-39283_24' of git://github.com/jmvedrine/moodle into MOODLE_24_STABLE
2013-04-24 14:35:09 +01:00
Jean-Michel Vedrine
c8fbd8b0c3
MDL-39283 GIFT and XML question export broken for unsupported qtypes
...
Do no write any data to the export for unsupported qtypes
2013-04-23 09:52:47 +02:00
Jean-Michel Vedrine
3b44cab37b
MDL-39172 Import of .dat files is broken in blackboard_six import format
2013-04-18 17:48:08 +02:00
Jean-Michel Vedrine
50a9a7d498
MDL-38880 Imported Cloze questions lose embedded images or other media
2013-04-11 16:29:34 +02:00
Jean-Michel Vedrine
720b0f5eb0
MDL-19072 XHTML export for match questions fix for distractors
2013-04-09 11:02:27 +02:00
Jonathon Fowler
ffbc0d6f2f
MDL-38388 qformat_blackboard_six: fix question image import
...
This works on the expectation that the returned array from readdata()
is opaque and will be fed directly into readquestions() since
filebase is different per file and needs to be set up appropriately
before each parse.
2013-03-15 09:09:54 +10:00
Eloy Lafuente (stronk7)
097404cd2b
Merge branch 'MDL-37967_24' of git://github.com/jmvedrine/moodle into MOODLE_24_STABLE
2013-02-20 00:34:36 +01:00
Dan Poltawski
ff7a518119
Merge branch 'MDL-38051_24' of git://github.com/jmvedrine/moodle into MOODLE_24_STABLE
2013-02-19 11:23:46 +08:00
Jean-Michel Vedrine
ddc03b10d5
MDL-37967 Improve XML question import format handling of duplicated files
2013-02-18 07:54:30 +01:00
Jean-Michel Vedrine
ffcc444fa7
MDL-38051 Annihilate all the CRLFs present in some questions/fixtures...
2013-02-16 14:41:35 +01:00
Jean-Michel Vedrine
58a43ebebe
MDL-37934 Blackboard_six question import fails in some cases
...
Import fails if the same image is used several times
in the same field of the same question.
2013-02-14 14:43:32 +01:00
Jean-Michel Vedrine
d53ba71a24
MDL-37172 Hardcoded strings in some question imports formats
...
AMOS BEGIN
CPY [unknownorunhandledtype,qformat_blackboard_six],[unknownorunhandledtype,question]
AMOS END
2013-01-25 22:45:47 +01:00
Dan Poltawski
d08da96c20
MDL-37313 question: fix trailing whitespace
2013-01-16 09:40:40 +08:00
Dan Poltawski
7a82b70970
Merge branch 'MDL-37313_24' of git://github.com/jmvedrine/moodle into MOODLE_24_STABLE
2013-01-16 09:39:54 +08:00
Jean-Michel Vedrine
dce48cf576
MDL-37313 Sample files with images for XML import
2013-01-11 09:37:44 +01:00
Jean-Michel Vedrine
af8a122872
MDL-37313 Moodle XML import format should use draft file areas, not arrays
2013-01-11 09:37:42 +01:00
Dan Poltawski
9910a5d7eb
Merge branch 'MDL-28183_24' of git://github.com/jmvedrine/moodle into MOODLE_24_STABLE
2013-01-08 12:17:58 +08:00
Tim Hunt
56003ca491
MDL-37068 qformat_learnwise: fix UTF8 and other issues.
2013-01-07 13:40:24 +13:00
Jean-Michel Vedrine
a7eec81ec6
MDL-28183 add num parts correct and clear wrong to multianswer
2012-12-21 05:18:02 +01:00
Jean-Michel Vedrine
cf617e112f
MDL-36243 question->questiontext and question->generalfeedback should always be strings
2012-12-11 16:24:24 +08:00
Sam Hemelryk
35cb0e4a4c
Merge branch 'MDL-36942' of git://github.com/timhunt/moodle into MOODLE_24_STABLE
2012-12-11 15:04:22 +13:00
Dan Poltawski
0e7cadca03
MDL-36887 quiz: reorder upgrade.txt's
2012-12-10 11:49:03 +13:00
Tim Hunt
7e252acff1
MDL-36942 xml question import: don't add spaces.
...
They are not necessary anyway, there is a \n character at the end of
each line.
Thanks to Richard Lobb for fining the problem and how to fix it.
2012-11-30 15:59:11 +00:00
Eloy Lafuente (stronk7)
663dbbc2e6
MDL-36933 Bump everything to 2012112900
...
(versions, requires and dependencies)
2012-11-30 03:30:09 +01:00
Jean-Michel Vedrine
bedbfd6dfa
MDL-32865 Backwards compatibility, deal with the old image tag
2012-11-17 16:38:03 +01:00
Jean-Michel Vedrine
7c86628de6
MDL-32865 CLOZE Questions imported from another course end up with broken image links
2012-11-17 16:38:02 +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
Eloy Lafuente (stronk7)
b18816beae
Merge branch 'MDL-34841' of git://github.com/timhunt/moodle
2012-09-18 01:15:14 +02: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
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
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
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
a4290d5803
Merge branch 'MDL-32464' of git://github.com/timhunt/moodle
2012-08-28 16:53:41 +08: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
Jean-Michel Vedrine
7263fd6c53
MDL-34738 fix for the problem found during testing : dat files not accepted on some servers
2012-08-22 15:19:54 +02:00
Dan Poltawski
29e8b15d83
MDL-34808 qformat_examview - increment version
2012-08-21 11:05:22 +08:00
Dan Poltawski
6a721e3ebb
Merge branch 'MDL-34808' of git://github.com/jmvedrine/moodle
2012-08-21 11:00:38 +08:00