Commit Graph

143 Commits

Author SHA1 Message Date
Eloy Lafuente 41941110fd MDL-22138 backup - I know smaller cathedrals than this, yay quizzes! 2010-10-24 10:43:42 +00:00
Eloy Lafuente e3c3b72ad7 MDL-22138 backup - rest of qtypes backup landed 2010-09-21 01:47:56 +00:00
Eloy Lafuente 215bfaf369 MDL-22164 backup - cleaning questions from old backup code 2010-09-20 21:30:01 +00:00
Pierre Pichet 61dfe97e36 MDL-24168 questions can be created and edited (some commented // echo left for further testing) 2010-09-20 15:57:22 +00:00
Pierre Pichet 0bc0a26502 MDL-24168 questions can be created and edited 2010-09-20 15:55:45 +00:00
Petr Skoda ef14c1e724 MDL-24090 new detection of plugins that were not upgraded to work with Moodle 2.x (uses $plugin->requires) + bumping ancient versions of plugins 2010-09-05 20:36:18 +00:00
Petr Skoda f685e83030 MDL-14679 fixed remaining old style set_field()s 2010-09-03 18:14:55 +00:00
Petr Skoda 0c3c54934a MDL-23784 converted question types to use new pix API and locations 2010-08-12 19:01:28 +00:00
Dongsheng Cai fe6ce23489 MDL-16094 File storage conversion Quiz and Questions 2010-08-10 09:56:48 +00:00
Petr Skoda 2e0406a53a repeating upgrade typo fixed 2010-07-06 16:10:17 +00:00
Tim Hunt 45c4a5c770 quiz MDL-21533 remove all mention of overlib from the quiz, by moving necessary code to qtype_multianswer, which is the only place it is used. 2010-07-05 16:55:39 +00:00
Petr Skoda a4cdd6d2c8 MDL-23068 removing obsolete $result and removing empty upgrade files that would be probably never used at all + minor cleanup/fixing 2010-07-04 10:27:56 +00:00
Helen Foster d87be06cc8 MDL-21695 adding help and link strings 2010-05-25 12:47:39 +00:00
Pierre Pichet c4979f0220 MDL-20585 Adding new lang strings 2010-05-25 03:26:15 +00:00
Pierre Pichet ce0738c9e4 *** empty log message *** 2010-05-12 08:04:12 +00:00
Pierre Pichet f26c529741 MDL-15252 fixing changes to lang files to solve bugs in edit_multianswer_form, some lang texts are temporary
so do not translate
2010-05-12 03:08:15 +00:00
Pierre Pichet 2c580fcf17 MDL-15252 fixing changes to lang files to solve bugs in edit_multinaswer_form, some lang texts are temporary
so do not translate
2010-05-12 03:05:24 +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 001fa4b313 MDL-21694 Moving question types strings into plugin space 2010-03-29 20:40:06 +00:00
Petr Skoda 6c772bcbf2 MDL-21403 hardcoded JS legacy code should not use new $PAGE->requires-> api, switching to html_writer instead 2010-01-26 09:36:00 +00:00
Petr Skoda 9dec75dbcc MDL-21240 shortened urls now start with / everywhere 2010-01-18 20:57:32 +00:00
Pierre Pichet 347fb1755d MDL-12255 Putting back with all functions restored. 2010-01-15 20:37:03 +00:00
Pierre Pichet 8e8f9f3d6f MDL-12255 Removing temporarely the decoding as it does not allow to create a new
question in actual HEAD.
2010-01-15 14:18:46 +00:00
Pierre Pichet ba95414539 MDL-21336 testing with $correct != '' so that correct answer 0 is shown in multianswer 2010-01-14 21:59:07 +00:00
Pierre Pichet b7c81cf066 MDL-20960 testing correctly response 0 as not null line 393 merged from 1.9 2009-12-19 21:30:31 +00:00
Petr Skoda b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +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
Pierre Pichet 03adfa13e5 MDL-20585 correcting so that the confirm check button appears only on reload
if errors are detected but also correcting the test setting an error on confir line
 394
2009-10-26 21:00:04 +00:00
Pierre Pichet 90a92bd0cd MDL-20585 correcting so that the confirm check button appears only on reload
if errors are detected
2009-10-24 03:03:34 +00:00
pichetp d3e3bd6cbc MDL-20585 Warning user of changes when editing a multianswer question used in a quiz
a first beta version, lang files remained to be defined
2009-10-21 13:45:52 +00:00
samhemelryk 458eb0d10c overlib MDL-19735 Overlib is now included only where it is used
At the same time I have converted the calendar block to use YUI instead of overlib, this introduces one regression in that the panel is shown immediatly but should really have a minimal delay for usability.
This will be fixed once the theme changes for 2.0 have been commited
2009-09-17 07:46:20 +00:00
nicolasconnault fef8f84e4b MDL-19822 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:19:00 +00:00
tjhunt 4096752d1d MDL-19690 - first 53 $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:06:39 +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
stronk7 577ba35087 MDL-19350 upgrade blocks - adding missing savepoints to question types 2009-06-03 17:27:07 +00:00
stronk7 74c288a100 MDL-18577 drop enums support - step2: enums out from install.xml files 2009-05-01 14:07:43 +00:00
fmarier 316914bf6e MDL-17037 ran all GIF images through gifsicle and PNG through optipng 2009-04-05 23:33:00 +00:00
tjhunt 4d41f4eee8 Add missing Id tags to all files under question, to help the unmerged files script. 2009-02-19 01:09:44 +00:00
tjhunt 24e8b9b684 question bank: MDL-12719, MDL-15774, MDL-17105, and MDL-18174
These are all to do with the combination of the $form->category, and $form->categorymoveto fields on the question editing forms since Moodle 1.9. These are now resolved to a single ->category value in question.php, which simplifies the logic for the individual question types.

MDL-15774 and MDL-12719 errors editing Cloze question
MDL-17105 problems with qustion saving logic.
MDL-18174 'Select from subcategories' option not preserved when editing a random question.
2009-02-13 06:11:42 +00:00
pichetp 103a800d67 MDL-17995 replacing is_null() by empty(). 2009-01-26 01:21:58 +00:00
pichetp 8795a5ae25 MDL-17995 replacing $wrapped !='' by !is_null($wrapped)
MDL-17857 Allowing multianwer (Cloze) question to have a 0 default grade as other question types
2009-01-25 14:49:02 +00:00
pichetp 0bddf4b6ac Displacing <label> to enclose correctly answer text in question display
so no possible XML problem.
Cleaning comments
Better handling of empty responses when grading,
2008-11-29 15:02:27 +00:00
jamiesensei 2280e147c5 MDL-12418 "Item Analysis shows duplicate responses for Multiple Choice questions with LaTeX in answers" This problem was caused by the formatting of questions in get_actual_responses. Now formatting is done in response_summary rather than get_actual_response which returns an array of unformatted strings.
Have fixed the formatting in responses report and in statistics report to use the correct formatting for the question type.

Created new functions format_responses and format_response. format_responses works on an array and normally just walks through the array calling format_response.
2008-11-28 10:14:19 +00:00
pichetp fd97082c59 MDL-17264 Adding control of usecase for the shortanswer type using SHORTANSER_C or
SAC or MWC
2008-11-24 04:10:43 +00:00
pichetp e95d204d9a MDL-14763 remove automatic numbering of multichoice vertical or horizontal display 2008-11-12 07:02:25 +00:00
pichetp 665e82f8f8 MDL-14763 new lang strings and MDL-17134 2008-11-10 19:47:49 +00:00
pichetp 2605364117 MDL-17104 and MDL-17105 unused old questions are deleted more correclty and take in
account that the actual questiontype/save_question() create a new question when categorytomove
 is not set..
2008-11-09 21:55:58 +00:00
tjhunt 8409cec0df qtype database definitions: MDL-16978 Lots of foreign key definitions in install.xml files erroniously link to the questions table. It should be question. 2008-10-23 07:30:12 +00:00