Tim Hunt
06f1bd03be
question XML import/export MDL-18916 Fix import of questions with images exported from Moodle 1.9.
...
Thanks again to Patrick Pollet
2010-11-19 14:24:18 +00:00
Tim Hunt
4f2900771d
question XML import/export MDL-18916 should include question tags.
2010-11-19 12:33:48 +00:00
Tim Hunt
b80d424c50
question export MDL-25324 Better file names for question exports.
2010-11-19 11:02:28 +00:00
Tim Hunt
9dd460390c
question import MDL-25200 was ignoring the category specified in the file.
2010-11-15 15:27:24 +00:00
Tim Hunt
13bb604ed5
question export MDL-25088 this is the first part. I think question export is now working for all types.
...
Import to follow soon.
2010-11-12 12:06:48 +00:00
Tim Hunt
4673212416
xml import/export MDL-25103 was not working due to out-of-memory errors when calling xmltidy, which broke XML wellformedness.
...
The solution is to not tidy the XML. The XML generated is already quite well laid out, and if we want it better, we should fix that, rather than trying to load the whole file into memory to reformat it.
Also, while investigating this, I found that we were not handling the mime-type of the exported file very elegantly, so I added a new mime_type method (defaults to getting the mime type of the file extension).
2010-11-08 15:51:10 +00:00
Dongsheng Cai
cde2709a88
MDL-15573, question export rewrite
2010-11-05 06:34:00 +00:00
Petr Skoda
7f38934243
MDL-24321 switching to stdClass in /question/ - I am sure Tim will be very happy
2010-09-21 08:20:46 +00:00
Petr Skoda
07ea95609a
fixed time limit
2010-09-18 11:41:16 +00:00
Petr Skoda
aab03169d7
MDL-24058 fixing docs
2010-09-02 12:41:58 +00:00
Petr Skoda
bec167f34a
MDL-16094 preventing execution of question code that is trying to access dataroot files - we must use new api instead
2010-08-29 10:00:18 +00:00
Dongsheng Cai
fe6ce23489
MDL-16094 File storage conversion Quiz and Questions
2010-08-10 09:56:48 +00:00
Tim Hunt
728d60a1f6
question import/export: MDL-22100 ' / etc. in category names confuse the import/export.
2010-07-02 13:36:49 +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
88bc20c30f
question types: MDL-20157 export_to_xml and import_from_xml functions for question types using extra_question_fields.
...
Thanks to Oleg Sychev for the implementation.
2009-09-30 13:38:36 +00:00
nicolasconnault
fef8f84e4b
MDL-19822 Upgraded calls to helpbutton, print_simple_box* and notify
2009-08-18 05:19:00 +00:00
nicolasconnault
6dbcaceef1
MDL-19418 Replaced ereg* by preg*
2009-06-22 01:22:37 +00:00
skodak
bb4b6010f3
MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup
2009-06-13 17:17:10 +00:00
skodak
bf8e93d704
MDL-18293 $DB->somethiong is using exceptions, no need for ifs tehre, removing useless strings
2009-06-03 20:00:08 +00:00
thepurpleblob
10b4a508ae
MDL-18579:
...
Provide nicer message if 'Stop on error' is selected and errors are found.
Merged from STABLE_19
2009-03-18 11:15:51 +00:00
tjhunt
0cd465770f
MDL-7010 - followup - quiz config settings were referred to in two places in the question bank. Since these settings are now in config_plugins, the references need to be update. (Of course, perhaps these should not be referred to at all ...)
2008-09-10 02:44:21 +00:00
thepurpleblob
73b7b195ed
MDL-16198
...
Blackboard V6+ can now handle the .dat file directly as an option to the .zip file
Some changes needed to recover the original filename.
Merged from STABLE_19
2008-08-28 13:49:25 +00:00
tjhunt
1b8b535dda
MDL-11905 - Users with the capability to export questions may not have the capability to access backupdata. Therefore we need to change where question export files are stored. Merged from the 1.9 stable branch.
...
Note that once the file API is finished, this will have to be redone. I have created MDL-15573 for that.
2008-07-08 11:23:31 +00:00
thepurpleblob
5ca9e32d97
MDL-13010
...
Now correctly checks for category context id and does not fail if it isn't there.
Merged from STABLE_19
2008-07-03 14:50:30 +00:00
dongsheng
d9f30321da
"MDL-14129, fix print_error"
2008-06-15 11:07:51 +00:00
thepurpleblob
e5d7d1dc02
MDL-15229
...
Fixed incorrect options array for DB call
2008-06-13 10:52:58 +00:00
skodak
294ce9870f
MDL-15189 magic quotes finally removed
2008-06-09 16:53:30 +00:00
nicolasconnault
f34488b2e6
MDL-15102 Upgrade to DMLLIB 2.0. Needs further testing and bug-fixing.
2008-06-06 14:43:15 +00:00
thepurpleblob
3f5633df11
MDL-14406
...
Ensure 'length' field for description type questions is 0 and that
default for all questions is 0
Merged from STABLE_19
2008-05-01 12:21:55 +00:00
dongsheng
1e7386c9ad
MDL-14129, cannot use a full string in the param
2008-04-09 03:10:26 +00:00
dongsheng
5a2a53316f
MDL-14129, remove all the other error() call
2008-04-04 02:54:20 +00:00
thepurpleblob
40e7144323
Reverting Mike C's change in MDL-12016
2008-01-15 14:35:59 +00:00
jamiesensei
2c44a3d393
MDL-12410 - a way to select which questions to export, includes debug messages
2007-12-11 03:24:35 +00:00
mchurch
488eaca44a
MDL-12016 Category text not being sent to 'create_category_path'.
2007-11-15 14:05:17 +00:00
mchurch
ce2df2884a
MDL-12015 Import question count was wrong.
2007-11-15 13:43:51 +00:00
thepurpleblob
8cc7d98a31
Forgot to take out duplicate question count check.
...
Merged from STABLE_18
2007-09-17 11:01:53 +00:00
thepurpleblob
2c6d2c888c
MDL-11279:
...
Code was not properly checking for empty category.
Check moved to right place and proper print_error() function called as appropriate
Merged from STABLE_18
2007-09-17 10:57:49 +00:00
jamiesensei
0647e82b57
check for viewall / viewmine permission for each question in a category selected for export.
2007-08-29 03:04:01 +00:00
thepurpleblob
c1828e0b19
MDL-10689:
...
No questions imported if "stop on error" selected and there are invalid grades.
Merged from STABLE_18
2007-08-20 10:06:57 +00:00
jamiesensei
271e6decda
merging MOODLE_19_QUESTIONS with HEAD
2007-08-09 21:51:09 +00:00
thepurpleblob
a41e328736
MDL-6367:
...
First shot at import/export support in plugins.
2007-08-08 10:45:09 +00:00
thepurpleblob
717357948e
MDL-10234
...
Encoded images in subdirectories failed to load.
Thanks to Enrique Castro for fix.
2007-06-28 15:15:06 +00:00
tjhunt
eedb2494ed
Fix whitespace.
2007-06-15 10:24:29 +00:00
thepurpleblob
67c1252753
Added some set_time_limit()s in case of slow servers timing out.
2007-05-23 14:07:12 +00:00
pichetp
093414d200
Setting import_process =true in defaultquestion() function used on imports
2007-05-11 13:00:34 +00:00
thepurpleblob
460135234c
MDL-9700:
...
Added more comprehensive checks for missing fields not exported in
previous versions.
More could be done, but this covers the basics and works for 1.6 (and
probably 1.5) exports.
2007-05-08 14:24:13 +00:00
thepurpleblob
5931ea94a1
MDL-9675:
...
Default value added for 'answernumbering'. Default is 'abc'
2007-05-05 14:44:12 +00:00
thepurpleblob
cdeabc0638
Fixed hard coded string
2007-05-04 14:31:56 +00:00
thepurpleblob
fccf96bdeb
Mmm... bit of comment oddness crept in. Don't know if it was a slip of an
...
editor key by yours truly!
2007-03-28 12:04:08 +00:00
thepurpleblob
5fd8f999d3
A couple of changes to Pierre's calculated question import/export
...
export_process and import_process flags now apply to all questions
and what looked like a development print_r has been commented out.
2007-03-28 11:58:44 +00:00