Tim Hunt
92111e8d2c
MDL-27747 questions remove all references to the recently deprecated get_grade_options()
2011-06-07 14:00:07 +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
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
9c197f4445
MDL-20636 Fix some more codechecker issues.
2011-05-14 22:53:25 +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
2b7c9bd235
MDL-20636 Fix codechecker issues in qtype_missingtype.
2011-04-08 05:07:24 +01:00
Tim Hunt
c7df5006b9
MDL-20636 Add lots of missing public/protected/private.
2011-03-23 16:22:25 +00:00
Tim Hunt
ef31a28343
MDL-20636 Split question_definition::init_first_step into start_attempt and apply_attempt_state.
2011-02-24 19:12:42 +00:00
Tim Hunt
2daffca554
MDL-20636 Fix 30 TODOs
2011-02-24 17:47:51 +00:00
Tim Hunt
88f0eb1546
MDL-20636 Reveiw all throw statements.
2011-02-23 16:50:09 +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
56e82d993d
MDL-20636 Images in questions now work in quiz attempts.
2011-02-09 20:33:51 +00:00
Tim Hunt
6e34cd2924
MDL-20636 Rename the question type editing forms to start with qtype_...
2011-01-28 18:50:20 +00:00
Tim Hunt
14ed1aa2d8
MDL-20636 Clean up.
2011-01-27 19:11:17 +00:00
Tim Hunt
1c2ed7c501
MDL-20636 Conversion of the OU multi-response question type.
2011-01-18 19:23:26 +00:00
Tim Hunt
ce5e4fb620
MDL-20636 Better icon for missing qtype.
2011-01-13 18:36:11 +00:00
Tim Hunt
9481434019
MDL-20636 Conversion of the missingtype question type.
2011-01-13 18:36:05 +00:00
Tim Hunt
ec3d4ef543
MDL-20636 Actually, passing to get_question summary is silly. Revert.
2011-01-13 18:36:03 +00:00
Tim Hunt
2b7da64586
MDL-20636 It is now possible to save a truefalse question you have created.
...
This includes all the necessary DB upgrades.
Also all unit tests in question/type/simpletest and question/type/truefalse now pass.
2011-01-13 18:35:41 +00:00
Tim Hunt
d1b7e03d5d
MDL-20636 Current work-in-progress converting the question engine to Moodle 2.0
2011-01-13 18:35:29 +00:00
Tim Hunt
a9efae50e3
question upgrade MDL-16094 fix up earlier mistakes in the text format upgrade.
...
There was a mistake in the text format upgrade in the question bank. The wrong conversions were performed, and the wrong arguments were passed to text_to_html in the conversions that were done.
Also, not all the calls to format_text had been updated to use the values in the new format columns.
I think this change fixes everything, but I have only had very limited time to test it. I am committing it anyway, because that seems to me to be the best way to maximise testing. I think that the new code is certainly better than the old code was.
2010-11-11 17:32:25 +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
aeb15530b8
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-04 11:57:52 +00:00
nicolasconnault
723d610c91
MDL-19820 Migrated calls to print_heading
2009-08-06 08:26:06 +00:00
stronk7
1a861d244b
NOBUG Fixed error happening when restoring missingtype questions if answers weren't present (cast error) Merged from 19_STABLE
2009-07-29 19:00:55 +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
2aef1fe52f
question editing: MDL-18035 Nice refactoring from Oleg Sychev that saves 50+ lines of code between the various editing forms.
2009-02-18 06:52:11 +00:00
Jonathan Newman
4d933beb8a
cvsimport fixups
2009-01-20 23:53:34 +00:00
skodak
a78890d593
MDL-12133 validate() method tidying up; merged from MOODLE_19_STABLE
2007-11-23 22:15:07 +00:00
tjhunt
fe93ba838b
MDL-12133 - Errors calling parent::validation in a moodle form subclass because the base class method signature was changed. This patch fixes all calls to parent::validation in the question editing forms. Merged from MOODLE_19_STABLE.
2007-11-20 12:41:04 +00:00
jamiesensei
9fc3100f27
fix for MDL-11106 Images not showing up in shared categories
2007-09-04 11:55:10 +00:00
jamiesensei
271e6decda
merging MOODLE_19_QUESTIONS with HEAD
2007-08-09 21:51:09 +00:00
pichetp
830e47a817
Give the question bank code sensible PHPdocumentor package names.
2007-03-21 02:04:53 +00:00
pichetp
1976496e38
Give the question bank code sensible PHPdocumentor package names.
2007-03-19 22:04:30 +00:00
jamiesensei
3a298174e8
important security fix previous use of ['type'] in repeatedeloptions array would not have worked.
2007-01-21 10:32:42 +00:00
jamiesensei
71534002d0
migrated 'missingtype' questoin creation forms to use formslib
2007-01-18 10:22:56 +00:00
tjhunt
a21567892f
Refactor how question types register themselves with the question bank. This change makes it easier for 3rd party question types to control their destiny, but is also backwards compatible, in that old 3rd party plugins will still work.
See http://moodle.org/mod/forum/discuss.php?d=51796 for more details.
2006-08-15 21:25:38 +00:00
tjhunt
1b8a7434e2
Bug 6239 - Allow questions to have some teacher-supplied commentary.
...
While implementing this, I removed the ~100 lines of very similar code from the top of each question type's editquestion.html template, and moved this to a the function print_question_form_start() in the base class, which uses the template question/type/editquestionstart.html. This is described in more detail here: http://moodle.org/mod/forum/discuss.php?d=51590 , and is why this patch makes the codebase 523 lines smaller.
2006-08-11 14:59:18 +00:00
tjhunt
d7444d442f
Bug #6033 - missing string for unknown questiontype. Also tidied up some messy code. Merged from MOODLE_16_STABLE.
2006-07-18 15:34:24 +00:00
gustav_delius
2be604b665
Missingtype now also works without notices when the missing question has no answers.
2006-04-30 17:30:22 +00:00
gustav_delius
0a5b58af89
Many bugfixes accummulated during CVS outage, more to come.
2006-04-05 05:53:18 +00:00
gustav_delius
4eda4eecbd
Added question type that is used if a question of unknown type is encountered.
...
Also removed some of the unnecessary calls to name()
2006-03-24 21:21:59 +00:00