Tim Hunt
18ab06bac5
MDL-27639 restore of attempt data from 2.0 - first attempt.
...
This is now at the stage where it mostly appears to work, at lease on
one backup file.
2011-06-14 12:11:19 +01:00
Eloy Lafuente (stronk7)
1db15c2718
MDL-20636 changes to core & questions upgrade code
...
Changes include:
- fixing versions and requires to current weekly (2011060313)
- fix essay wrong upgrade step. Review & test!
- fix numerical missing savepoint.
2011-06-06 17:16:11 +01:00
Tim Hunt
4c5743343f
MDL-20636 make qe upgrade tests independent of html2text details.
...
Based on Eloy's change, but refactored to be slightly nicer.
2011-06-06 17:05:54 +01:00
Tim Hunt
1da821bbde
MDL-27649 support question variants as a first-class concept in the question engine.
2011-05-26 21:23:56 +01:00
Tim Hunt
e0736817f0
MDL-20636 fix some more coding style issues in the question code.
2011-05-20 18:50:41 +01:00
Tim Hunt
9c197f4445
MDL-20636 Fix some more codechecker issues.
2011-05-14 22:53:25 +01:00
Tim Hunt
c468ce5922
MDL-20636 Fix upgrade of numerical questions.
2011-05-13 11:04:23 +01:00
Tim Hunt
d3bab68c78
MDL-27408 update all question and quiz plugin version.php files.
2011-05-12 23:18:47 +01:00
Tim Hunt
d04626e4cd
MDL-20636 Question engine upgrade unit tests for shortanswer, random and multichoice.
2011-05-11 17:19:12 +01:00
Tim Hunt
c749527bec
MDL-20636 Finished backup and restore of attempt data. Yay
2011-05-05 21:26:25 +01:00
Tim Hunt
59f26004cd
MDL-20636 Fix codechecker issues in qtype_random.
2011-04-08 05:07:57 +01:00
Tim Hunt
c7df5006b9
MDL-20636 Add lots of missing public/protected/private.
2011-03-23 16:22:25 +00:00
Tim Hunt
42663bb78e
MDL-20636 Fix a bunch of missing strings caused by separating question from quiz.
2011-03-02 17:42:53 +00:00
Tim Hunt
e2cba246b7
MDL-20636 Merge vle/master into ouqe2
...
Conflicts:
mod/quiz/locallib.php
mod/quiz/report/overview/overview_table.php
mod/quiz/report/overview/report.php
mod/quiz/report/responses/report.php
question/type/random/questiontype.php
2011-03-02 17:34:18 +00:00
Tim Hunt
2daffca554
MDL-20636 Fix 30 TODOs
2011-02-24 17:47:51 +00:00
Tim Hunt
5e8a85aa64
MDL-20636 Massively reduce the number of references to quiz in the question code.
...
This mostly involves moving lang strings around, but I don't have time to do an AMOS script now.
2011-02-23 18:53:50 +00:00
Tim Hunt
f7970e3ca7
MDL-20636 Eliminate integer and boolean in PHPdoc comments. should be int and bool.
2011-02-23 16:25:25 +00:00
Tim Hunt
a17b297d60
MDL-20636 Add missing defined('MOODLE_INTERNAL') || die();
2011-02-23 16:00:20 +00:00
Tim Hunt
7764183a4a
MDL-20636 Fix @package names and PHPdoc layout.
2011-02-23 13:38:16 +00:00
Tim Hunt
0ff4bd0877
MDL-20636 Fix new stdClass -> stdClass(), and trailing whitespace.
2011-02-21 18:10:19 +00:00
Tim Hunt
b04a4319d6
MDL-20636 Remove © from all PHPdoc comments, and tidy them up a bit.
2011-02-21 14:51:02 +00:00
Tim Hunt
a13d4fbd20
MDL-20636 Fix lots of minor quiz editing glitches.
2011-02-11 17:36:30 +00:00
Tim Hunt
c991ecb49d
MDL-26236 random essay questions do not work due to bad regex.
...
Essays can have multi-line answers that start with a newline, which breaks the regex here.
2011-02-10 23:06:22 +00:00
Tim Hunt
f9b0500f7f
MDL-20636 Quiz editing now works, as does the random question type.
...
However, all this needs more testing.
Also, a bit of a purge of training whitespace and global .
2011-02-10 20:50:18 +00:00
Tim Hunt
94dbfb3a82
quiz editing MDL-24750 The Add random button should also let you add questions from an existing category.
...
Also includes a fix for MDL-24749 by Sam Hemelryk. Thanks Sam.
This commit also includes a certain amount of code cleaning up.
2010-11-22 09:52:42 +00:00
Helen Foster
b0363c4138
MDL-25151 new help string thanks to Mark Nelson for reporting it missing
2010-11-12 11:31:53 +00:00
Eloy Lafuente
41941110fd
MDL-22138 backup - I know smaller cathedrals than this, yay quizzes!
2010-10-24 10:43:42 +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
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
4bcc51185c
MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions
2009-12-30 15:19:55 +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
samhemelryk
1d58b567be
question MDL-19820 Replaced deprecated functions
2009-09-25 04:16:27 +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
fmarier
316914bf6e
MDL-17037 ran all GIF images through gifsicle and PNG through optipng
2009-04-05 23:33:00 +00:00
tjhunt
63265f262f
question types: MDL-18350 oops missed a bit.
2009-02-25 07:16:57 +00:00
tjhunt
4995b9c19c
question types: API cleanup.
...
MDL-18350 remove backwards compatibility support for question types having their lang strings in the quiz language module.
MDL-16407 settings.php support for question types. Remove the old get_config_options from question types. I don't think anyone was using it.
2009-02-25 07:01:57 +00:00
tjhunt
3cac440b76
quiz editing: MDL-18173 Make clear in the UI whether a random question selects from subcategories or not.
2009-02-24 05:16:23 +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
5348b899c4
random question: MDL-18174 Fix notice when adding a random question to a quiz.
2009-02-17 06:14:54 +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
tjhunt
f24493ec9b
random essay questions: MDL-8648 Allow essay questions to be selected by random question.
...
In the 1.9 branch this is controlled by a new option under Admin -> Experimental. In Moodle 2.0 dev it is not optional, it just works.
The main change is letting the manual grading report know which random questions might need manual grading. MDL-4004 - this depends on the random question under consideration, which requires a new questiontype method.
I also changed the random question code so that I could remove some global variables.
2008-11-28 06:07:11 +00:00
tjhunt
bcc234b0a7
random question editing: Don't show permission information when editing a random question. It is just confusing.
2008-11-26 05:19:34 +00:00
pilpi
a9b6e4b88a
question: MDL-17337 Add the new essay and random question icons
2008-11-20 18:26:35 +00:00
tjhunt
41d3730951
random questions: MDL-17185 regression from MDL-17160 random questions were no longer randomising.
...
Backporting Jamie's fix to 1.9, and making a minor improvement along the way.
2008-11-10 07:56:37 +00:00
jamiesensei
01bb194a4e
MDL-17185 "random questions always the same!" Randomized question selection
2008-11-10 07:32:05 +00:00