Tim Hunt
41be2f3587
MDL-29341 qtype numerical/calc: display of mc units badly laid out.
2011-09-30 23:42:27 +01:00
Eloy Lafuente (stronk7)
0518140c31
Merge branch 'MDL-28202_21' of git://github.com/timhunt/moodle into MOODLE_21_STABLE
2011-09-26 22:28:47 +02:00
Tim Hunt
f8431a1933
MDL-29528 qtype multichoice and caclulated combined feedback format overwritten during upgrade.
2011-09-26 13:39:11 +01:00
Kyle Temkin
18d81bdb3c
MDL-28202 qtype_calculated fix edge case in the rounding code.
2011-09-22 12:14:44 +01:00
Tim Hunt
3d233b9dab
MDL-28444 unit test to verify the fix.
2011-08-20 13:18:05 +01:00
Henning Bostelmann
5c364504a6
MDL-28444 synchronized datasets: fix typo in get_variants_selection_seed()
2011-08-20 11:45:41 +01:00
Eloy Lafuente (stronk7)
c89c390759
Merge branch 'MDL-28652_21' of git://github.com/timhunt/moodle into MOODLE_21_STABLE
2011-08-17 00:29:23 +02:00
Henning Bostelmann
fe34282df6
MDL-28655 qtype_calculated question engine upgrade: fix return value
2011-08-09 09:15:33 +01:00
Tim Hunt
65be66e4d4
MDL-28652 qtype calculated, bad display of placeholder names on the editing form.
2011-08-08 13:14:20 +01:00
Aparup Banerjee
2fa78e85e9
MDL-28169 Installation Added 2.1 upgrade (idiot proof) lines to upgrade scripts.
2011-07-07 10:24:38 +02:00
Tim Hunt
01533e9cce
MDL-28138 fix calculated-specific format float function
...
Sadly this has to be done in question.php and in two places in the ugprade code :-(.
2011-07-01 09:14:56 +01:00
Eloy Lafuente (stronk7)
88933f08cb
Merge branch 'MDL-27418' of git://github.com/timhunt/moodle
2011-06-29 23:51:33 +02:00
Tim Hunt
3aa159706c
MDL-27418 fix typo
...
I really should refactor to eliminate this duplicated code.
2011-06-28 17:34:24 +01:00
Tim Hunt
0366ef262a
MDL-28035 problems with upgrade/restore of ataptive quizzes from 2.0
...
There were two main problems:
1. The unit tests for upgrading adaptive quiz attempts had slighly the
wrong $expectedqa, and so matching that the upgrade was doing the wrong
thing in certain situations. The main issue was that it was setting
-_try = 1 on the first step, which broke the penalty calculation when
the quiz was regraded. There were also some other subtleties with
incrementing -_try that were not right before.
2. It was possible in 2.0 and earlier for two question_states to get the
same seq_number, and restoring 2.0 backups was rashly assuming that that
was unique.
2011-06-27 17:10:02 +01:00
Tim Hunt
eb624cf7e0
MDL-27937 Calculated tolerance field should have the label Tolerance +-
2011-06-22 19:49:39 +01:00
Tim Hunt
fb17f129a3
MDL-27907 calculated* editing form inheritance mix up.
...
Lead to duplicate fields appearing on the editing forms.
2011-06-18 12:53:32 +01:00
Tim Hunt
5cf69d7ff5
MDL-27868 Hints (and some other things) lost when re-editing calculated* questions.
2011-06-17 15:42:03 +01:00
Tim Hunt
e6d7658337
MDL-27865 fix editing of calculated* questions.
2011-06-15 12:20:26 +01:00
David Mudrak
b61cf3ff8a
MDL-22414 Merge branch 'master' into backup-convert
...
Conflicts:
theme/base/style/core.css
2011-06-09 13:04:49 +02:00
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
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
David Mudrak
c0e3796e1b
MDL-27626 calculated qtype conversion support
...
uff...
2011-06-03 21:57:00 +02:00
Tim Hunt
c014b989ba
MDL-27649 Convert the calculated question types to use the new variants mechanism.
2011-05-26 21:53:47 +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
df4be1222e
MDL-27410 Fix broken calculated qytpe install. #670
2011-05-26 11:00:17 +01:00
Tim Hunt
0c3fa8209e
MDL-20636 a bit of clode clean-up in calculated*.
2011-05-23 16:44:21 +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
667cdde361
MDL-20636 Implement upgrade of calculated* question type attempts.
2011-05-20 18:22:35 +01:00
Tim Hunt
e35ba43c91
MDL-20636 make syncronised datasets work for calculated* questions.
2011-05-19 19:06:07 +01:00
Tim Hunt
d1770e4258
MDL-27410, MDL-27412 make the calculated* qtypes work in the statistics report.
2011-05-19 18:12:38 +01:00
Tim Hunt
b130270d2d
MDL-20636 Add support for hints to the calculated* questions.
2011-05-19 17:38:38 +01:00
Tim Hunt
cdece95ea4
MDL-27412 Upgrade the calculatedmulti question type to the new question engine.
2011-05-19 17:14:09 +01:00
Tim Hunt
efe3e87b61
MDL-27411 upgrade the calculatedsimple qtype to the new question engine.
2011-05-19 12:20:49 +01:00
Tim Hunt
18f9b2d2cf
MDL-27410 qtype_calculated fix basic question editing and preview.
...
At least, after these changes, I was able to create a calculated question through the Moodle UI and then preview it. I am sure more testing and fixing is needed to make sure everything works.
2011-05-18 21:15:25 +01:00
Tim Hunt
1da4060f65
MDL-27410 qtype_calculated works in my unit tests.
...
Probably does not work through the Moodle UI yet.
2011-05-18 17:21:26 +01:00
Tim Hunt
19e911a251
MDL-27410 qtype_calculated better errorhandling for invalid expressions.
...
Better method names.
2011-05-18 14:12:34 +01:00
Tim Hunt
0652547685
MDL-27410 qtype_calculated start working on the new code for the question type.
...
This is an attempt to start thinking about how to handle the dataset values.
2011-05-17 18:28:16 +01:00
Tim Hunt
afe24f850b
MDL-20636 Rename questiontype.php to questiontypebase.php. Also some conde-checker issues.
2011-05-17 16:46:57 +01:00
Tim Hunt
f184c65cda
MDL-27410 Big cleanup of the coding style in qtype_calculated.
2011-05-16 18:48:50 +01:00
Tim Hunt
9c197f4445
MDL-20636 Fix some more codechecker issues.
2011-05-14 22:53:25 +01:00
Tim Hunt
c7df5006b9
MDL-20636 Add lots of missing public/protected/private.
2011-03-23 16:22:25 +00:00
Petr Skoda
431ac39634
MDL-26623 fix file permissions
...
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Tim Hunt
a18fda20c4
MDL-20636 Split question-type specific styles into the separate plugins.
2011-02-24 19:34:08 +00:00
Tim Hunt
2daffca554
MDL-20636 Fix 30 TODOs
2011-02-24 17:47:51 +00:00
Tim Hunt
d649fb0221
MDL-20636 Remove all references to global $QTYPES.
...
Except in the question types that have not yet been converted to the new question engine.
2011-02-24 15:29:07 +00:00
Tim Hunt
446166a628
MDL-20636 Minor bug-fixes
2011-02-24 12:01:37 +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