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
Tim Hunt
4d18892676
MDL-32220 question import: files sometimes stored in the wrong context.
...
Sadly, this involves a small API change, but I don't believe anyone was
using the argument I had to remove (because we were sometimes passing a
wrong value, and there is not way to compute the right value at that
point in the code.)
Also sadly, the code to compute the context we are importing into is now
rather spaghetti-like, but it works.
2012-03-29 14:13:28 +01:00
Petr Skoda
e2bb3c9275
MDL-32094 some more E_STRICT fixes
2012-03-18 20:40:20 +01:00
Tim Hunt
45bdcf1134
MDL-28438 Aiken question import broken since MDL-24594.
2011-08-15 14:44:57 +01:00
Tim Hunt
1e20dea9b2
MDL-28508 bad string trunction in Aiken format.
2011-07-28 11:51:07 +01:00
Tim Hunt
9c197f4445
MDL-20636 Fix some more codechecker issues.
2011-05-14 22:53:25 +01:00
Tim Hunt
c7df5006b9
MDL-20636 Add lots of missing public/protected/private.
2011-03-23 16:22:25 +00:00
Tim Hunt
a17b297d60
MDL-20636 Add missing defined('MOODLE_INTERNAL') || die();
2011-02-23 16:00:20 +00:00
Tim Hunt
d3603157bf
MDL-20636 Add @package and GPL boiler-plate to files in /question.
2011-02-22 19:59:12 +00:00
Moodle HQ git importer
14e31fa388
Fixing drift between CVS and git
2009-11-06 00:33:01 +00:00
Petr Skoda
3fac41f8dd
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-04 11:57:54 +00:00
Petr Skoda
aeb15530b8
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-04 11:57:52 +00:00
tjhunt
47de80c701
Aiken question import: MDL-18423 Greater robustness when parsing.
2009-03-03 05:11:55 +00:00
scyrma
c951bf6e29
Little bit of performance improvement.
2008-08-19 06:03:18 +00:00
tjhunt
5712be1c6f
MDL-16056 - Aiken format should treat input as plain text, and so escape HTML special characters.
2008-08-15 03:13:24 +00:00
skodak
294ce9870f
MDL-15189 magic quotes finally removed
2008-06-09 16:53:30 +00:00
thepurpleblob
f0c1799e43
MDL-10415:
...
Aiken format returns/
2007-07-11 09:18:32 +00:00
thepurpleblob
a8c733a97b
MDL-8226
Move aiken import format from head into contrib. No longer maintained. Use GIFT instead.
2007-01-19 14:35:44 +00:00
tjhunt
2befe77859
Convert tabs to spaces.
2006-08-10 18:23:09 +00:00
thepurpleblob
6e5a360ad1
Question object not always initialised. Bug #5369
2006-05-01 07:35:33 +00:00
gustav_delius
f5565b6969
Removing some more references to quiz from import/export code
2006-03-01 07:36:09 +00:00
thepurpleblob
84769fd8a8
Moving quiz import/export files to new question area.
2006-02-24 15:14:09 +00:00