Commit Graph

82 Commits

Author SHA1 Message Date
nicolasconnault fef8f84e4b MDL-19822 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:19:00 +00:00
stronk7 81d18ad5c4 MDL-19579 code coverage - finished adding initial $includecoverage attributes 2009-06-26 18:25:46 +00:00
nicolasconnault 6dbcaceef1 MDL-19418 Replaced ereg* by preg* 2009-06-22 01:22:37 +00:00
skodak 979425b584 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 18:04:21 +00:00
skodak 0bcf8b6f0d MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:55:51 +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 26574bbad7 quiz/questions: Improve documentation of database tables. 2009-03-05 11:24:41 +00:00
tjhunt a5bc73aa74 Fix unit tests. 2009-03-03 07:44:30 +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
skodak 58fa5d6f75 MDL-16483 - renamed MoodleUnitTestCase to FakeDBUnitTestCase; MDL-17841 removed bogus remove lib/simpletest/slowcodetest.php 2009-01-10 13:47:26 +00:00
tjhunt be8563b63a numerical and shortanswer question types: problems with compare_responses and test_response.
MDL-15315 The previous fix for this issue with wildcard answers in the item analysis report caused the following two regressions. This patch fixes it properly.

MDL-17247 This is basiclly pointing out the weridness in the previous fix and gave some useful clues as to a proper solution. Thanks Oleg.

MDL-17610 This was a report of a problem with each attempt builds on last, with a shortanswer question, where the sutdent's response contains a '.

Also, lots of unit tests to try to ensure the new code is right.
2008-12-12 03:48:39 +00:00
tjhunt 26b266625b numerical qtype: MDL-15159 Error moving a numerical question type with no units from one category to another. 2008-12-11 04:33:41 +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
pichetp fac1189dee MDL-16427 changing $answer=='*' to $answer ==='*' 2008-09-18 06:16:50 +00:00
nicolasconnault b9c639d6c2 MDL-16483 Refactored install/upgrade code into lib/adminlib. Created an intermediate MoodleUnitTestCase class that overrides simpletest's constructor, destructor and setup/teardown methods. All moodle unit tests must extend this class. 2008-09-16 12:19:43 +00:00
jamiesensei 869309b8d8 MDL-14202 "Replace Item Analysis Report with new improved 'Statistics' report." finished statistics report. This patch includes some changes to lib/tablelib.php so that it is possible to export the content of a table as part of a multi table export - with mutliple tables / multiple worksheets. 2008-09-11 12:48:08 +00:00
tjhunt 94a6d656a6 MDL-8475 - Better handling of blank answer - further changes to make it even more robust. Also, make the same changes to the shortanswer question type that were already made to the numerical question type. 2008-08-28 01:48:43 +00:00
skodak 775f811a66 MDL-16002 rewritten upgrade locking and better upgrade progress tracking; MDL-16070 Do not use $a[0] syntax in lang packs + various other upgrade improvements and fixes 2008-08-16 12:16:01 +00:00
pichetp 47c03ecd8d better filtering of null answers MDL-8475 2008-08-15 11:15:26 +00:00
tjhunt 4f089b2155 MDL-6095 - Question bank tables are created by the quiz module. The really core tables are now created by lib/db, the datasetdependent tables are not created by the datasetdependent question type, and the question_numerical_units table is now created by the numerical question type. The last two are shared by the calculated question type, but there is no problem with them being created in the order they are now created in. In the past, before the policy that upgrade to 2.0 woudl have to go via 1.9, there would have been bit problems to do with the order of updates, but fortunately that is no longer an issue. 2008-08-15 07:23:18 +00:00
pichetp f7443920c8 better validation of null answers MDL-8475 2008-08-14 09:39:22 +00:00
Francois Marier 6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
skodak b1f93b1512 MDL-15246 moving all remaining ddl function to adminlib, keeping old lib/ddllib.php only for BC withexisting code; fixed inline docs related to ddl 2008-06-15 10:32:50 +00:00
nicolasconnault b9bd6da4f8 CONTRIB-490 Added support for scripted generation of questions. Calculated type not yet supported (datasets too complicated ;) 2008-06-12 09:15:16 +00:00
skodak 294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
nicolasconnault f34488b2e6 MDL-15102 Upgrade to DMLLIB 2.0. Needs further testing and bug-fixing. 2008-06-06 14:43:15 +00:00
skodak 9db7dab2ca MDL-15095 towards restore lib dml conversion 2008-06-03 22:36:54 +00:00
dongsheng 0b4f4187a2 "MDL-14129, fix print_error" 2008-05-21 05:07:37 +00:00
skodak 6751698058 MDL-14451 removed pre 1.9 upgrade code 2008-05-14 23:35:00 +00:00
dongsheng 5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
tjhunt 27cabbe626 MDL-12575 - Backup and restore problems with the new question bank. Merged from MOODLE_19_STABLE. 2007-12-13 18:48:30 +00:00
tjhunt df06c4bb88 Improve error messages. 2007-12-13 17:24:54 +00:00
tjhunt c85aea03d3 Fix notice in numerical question. 2007-12-10 11:57:24 +00:00
skodak a78890d593 MDL-12133 validate() method tidying up; merged from MOODLE_19_STABLE 2007-11-23 22:15:07 +00:00
tjhunt 3a513ba4df MDL-12282 - fix typo in previous commit. Sorry. 2007-11-22 11:51:16 +00:00
tjhunt b4d7d27cea MDL-12282 - Numerical question type - the units are displayed on the editing form with a stupidly large number of decimal places. Merged from MOODLE_18_STABLE. 2007-11-20 16:57:22 +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
tjhunt 1061756d8e Minor whitespace fixup. 2007-11-07 15:41:20 +00:00
skodak f2e4a0818a preparation for 1.9 beta 2 - setting correct requires in mods and plugins 2007-10-10 16:09:17 +00:00
stronk7 126984a047 Second pass. Questions. Some more default comments are out. MDL-11385 2007-09-24 22:20:37 +00:00
jamiesensei 271e6decda merging MOODLE_19_QUESTIONS with HEAD 2007-08-09 21:51:09 +00:00
Martin Langhoff 08103c9364 cvsimport fixups 2007-07-07 14:18:30 +12:00
skodak cdbbd26f80 MDL-10064 global $CFG in unit test files is non standard, it is recommended to use MOODLE_INTERNAL test in all library files 2007-06-09 16:32:36 +00:00
skodak 52f81103d3 MDL-10063 simpletestlib.php included from majority of unit tests - let's include it once from the test runner itself 2007-06-09 16:17:33 +00:00
tjhunt 699a472b5b Remove invalid unit test. 2007-06-01 13:52:36 +00:00
tjhunt ed0ba6da04 Occasional unique-key violations were caused by some really weird code to do with units in numerical questions. This cleans it up. 2007-04-24 23:37:32 +00:00
tjhunt d95c82ab59 MDL-9173 - Can't create match anything answer to numerical question type. Merged from OU Moodle. 2007-04-02 13:02:09 +00:00
pichetp 830e47a817 Give the question bank code sensible PHPdocumentor package names. 2007-03-21 02:04:53 +00:00