237 Commits

Author SHA1 Message Date
Helen Foster
82b15e2811 MDL-21250 capital letters removal
Also some spotted leading and trailing whitespace was removed from some
strings.
2011-01-27 16:24:30 +01:00
Sam Hemelryk
912d099cc9 Merge branch 'MDL-25637' 2011-01-24 16:20:51 +08:00
Aparup Banerjee
b692e4aa29 Performance MDL-25637 moved static count/sizeof functions out of for loop conditions 2011-01-24 14:51:21 +08:00
Tim Hunt
2c00fa161e qformat_gift MDL-26059 fails to import truefalse questions with answer true. 2011-01-18 21:38:34 +00:00
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
5b744492a6 gift import/export MDL-25088 another attempt at fixing it, this time with unit tests. 2010-11-19 10:27:29 +00:00
Tim Hunt
a5e8e6e5de qtype multicoice xml export MDL-25208 / MDL-25104 revert incorrect change in qtype_multichoice and do a proper fix in XML export. 2010-11-19 09:35:54 +00:00
Pierre Pichet
ab152de445 MDL-25192 and MDL-25194 import and saving images using instructions ['files'] array 2010-11-15 14:14:43 +00:00
Tim Hunt
69988ed452 questions MDL-25104 and MDL-25088 fix question editing and import
Editing of some qtypes was broken since a previous commit by me earlier in the week.

Import of XML and GIFT should now work, but could use some more testing.
2010-11-12 17:11:34 +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
Pierre Pichet
a207b735a2 MDL-25168 decoding questiontext using new questiontext array [text].... 2010-11-12 02:45:30 +00:00
Pierre Pichet
c8fdd86791 MDL-25104 Fixing cloze import and export 2010-11-09 04:07:37 +00:00
Pierre Pichet
0814c09938 MDL-25104 Fixing some other error about $files in $instructions param of numerical 2010-11-09 00:02:57 +00:00
Pierre Pichet
ae2c091f09 MDL-25104 Fixing some litle errors about $instructions param of numerical 2010-11-08 20:58:32 +00:00
Tim Hunt
2ed801777a question XML import MDL-25104 fix a whole bunch of minor errors. 2010-11-08 17:25:53 +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
Pierre Pichet
ac582c3b25 MDL-25086 first modifications, numerical options for numerical questions 2010-11-06 02:16:07 +00:00
Dongsheng Cai
cde2709a88 MDL-15573, question export rewrite 2010-11-05 06:34:00 +00:00
Petr Skoda
4756e9c9e2 MDL-21915 fixing remaining chmod and mkdir to use moodle file permissions 2010-10-06 19:06:52 +00:00
Petr Skoda
676a5e6a88 bad luck, qti_two needs to be converted to new file api 2010-09-18 11:43:59 +00:00
Petr Skoda
672945b489 PHP4 not used any more 2010-09-18 11:42:02 +00:00
Petr Skoda
9cc41dfd6d MDL-24058 replacing forbidden addslashes with something that is most probably completely useless 2010-09-02 12:40:34 +00:00
Tim Hunt
688d875300 qformat xml MDL-22743 questiontextformat not imported correctly since the fix for MDL-9700 went in. 2010-08-05 13:11:27 +00:00
Tim Hunt
05c3103186 qformat_multianswer NOBUG fix comment. 2010-08-05 13:04:42 +00:00
Tim Hunt
87eeac9071 multianswer question import MDL-11326 make a better question name.
Also fix coding style in this file.
2010-08-05 12:13:27 +00:00
Petr Skoda
0384043b59 MDL-23450 moving question/format/hotpot to contrib for now, because it is not ready for Moodle 2.0 yet 2010-07-24 17:30:46 +00:00
Gordon Bateson
8785967704 mod/hotpot MDL-22726 fix importing of intructions from a Hot Potatoes quiz file into the Moodle question bank 2010-06-10 23:42:23 +00:00
Helen Foster
aedf58841f MDL-21695 adding help and link strings 2010-05-18 07:50:24 +00:00
Helen Foster
1e3c2cbf71 MDL-21695 adding help string 2010-05-17 15:04:19 +00:00
Helen Foster
7d90f8ff23 MDL-21695 adding help and link strings 2010-05-17 14:06:05 +00:00
Helen Foster
d099fcc685 MDL-21695 adding help and link strings 2010-05-17 13:59:49 +00:00
Helen Foster
eed47b019a MDL-21695 adding help and link strings 2010-05-16 22:36:44 +00:00
Helen Foster
5facc08bd9 MDL-21695 adding help and link strings 2010-05-16 22:21:43 +00:00
Helen Foster
4731ced4da MDL-21695 adding help and link strings 2010-05-16 22:05:46 +00:00
Helen Foster
ca387bc1c4 MDL-21695 adding help and link strings 2010-05-15 17:08:07 +00:00
Pierre Pichet
04d8268d82 MDL-10110 adding import export xml for calculatedmulti and calculatedsimple 2010-04-23 23:10:11 +00:00
David Mudrak
30c8dd34f7 MDL-15252 Re-committing all English strings exported from AMOS
From now on, all English strings use the new syntax. They are not
eval()'ed any more and the only valid placeholders are {$a} and
{$a->foobar}. No extra quotes escaping, dollar sign escaping and putting
double percent signs.

The modified files were exported from AMOS database repository in the
new syntax and were re-ordered by stringid. Standard GNU/GPL and PHPdoc
blocks are added. Where there was no copyright note so far, I added the
default one with Martin Dougiamas as the copyright holder.

Live long and prosper.
2010-04-10 14:01:45 +00:00
Petr Skoda
3a915b0667 MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs 2010-04-10 07:24:56 +00:00
David Mudrak
9d68aee786 MDL-21694 Moving question formats strings 2010-03-29 22:20:53 +00:00
Petr Skoda
2f67a9b3a5 MDL-20700 whitespace terror returns yet again 2009-12-16 22:22:37 +00:00
Petr Skoda
4454447d56 MDL-20700 whitespace terror returns 2009-12-16 22:14:17 +00:00
Gordon Bateson
cb514f984e for consistency, use 0x80 instead of 128 in hotpot_charcode_to_utf8() 2009-12-14 03:29:33 +00:00
Gordon Bateson
eaa658c4b2 MDL-20810: add missing function hotpot_charcode_to_utf8() required when importing Hot Potatoes files containing non-ascii chars into Moodle question bank 2009-12-08 04:13:20 +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
964c571975 question import/export: MDL-20299 fix regression I introduced yesterday in hotpot import/export 2009-10-01 10:12:29 +00:00
tjhunt
eaf3fd7a45 question import/export: MDL-20299 fatal error cause by hotpot format changes
Replaced copy and paste code from mod/hotpot/lib.php with a require_once.
2009-09-30 17:19:32 +00:00