Commit Graph

106 Commits

Author SHA1 Message Date
nicolasconnault 6dbcaceef1 MDL-19418 Replaced ereg* by preg* 2009-06-22 01:22:37 +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
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 4ff9ba7d7c towards 2.0 DML 2009-06-03 14:38:25 +00:00
pichetp 315efce701 MDL-19214 Adding category hidden element 2009-05-24 02:33:42 +00:00
pichetp 66d0a55c56 MDL-19210 using the get_database_dataset_items() function 2009-05-24 02:02:31 +00:00
pichetp a2155a7b74 MDL-19210 adding get_database_dataset_items() function 2009-05-24 02:01:03 +00:00
pichetp ad3a4aa67f MDL-19210 eliminate the generation of multiple dataitems having the same item number 2009-05-21 12:10:42 +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
pichetp f7fa6874f7 MDL-18034 MDL-18035 correcting typo
saving answers data in $question->answerif they come from edit from.
2009-02-20 20:52:32 +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
pichetp 9af77e9d17 MDL-18034 Rename answers field to answer in calculated qtype form to increase consistency 2009-02-03 00:40:40 +00:00
pichetp 0a6555f854 MDL-18034 saving answers data in $question->answer if they come from edit from. 2009-01-27 15:00:19 +00:00
dongsheng ff9b4ea40a "MDL-17570,clean align property, merged from 1.9" 2008-12-10 07:24:11 +00:00
pichetp 636bbc8728 MDL-17524 Deleting a calculated question delete datasetdefinitions shared by other question
} missing...
2008-12-04 16:04:48 +00:00
pichetp 57db70affb MDL-17524 Deleting a calculated question delete datasetdefinitions shared by other question 2008-12-04 15:56:01 +00:00
pichetp 77f60b432a removing an echo diagnostic output... 2008-12-01 04:03:48 +00:00
pichetp cae0b24abb Modify a DB call so that the first index is not multiple .
Eliminate references to datasetdefinition->type  other  than 1
as the dataset tables are just used by calculated that used type =1 i.e. LITERAL.
2008-12-01 04:00:54 +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 f96e83d4b6 MDL-17228 Synchronizing dataitems between calculated questions in a quiz 2008-11-18 18:28:20 +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 5d0b1e40c1 MDL-15233 improve interface handling of various functions in datasetitems_form.php 2008-09-23 15:01:36 +00:00
pichetp 450f11274f MDL-15233 add answers tolerance modificaions in datasetitems_form.php 2008-09-22 20:54:13 +00:00
pichetp 078cc3f044 MDL-16427 implement the '*' convention as for other questiontypes 2008-09-18 06:13:18 +00:00
tjhunt 98e82289b3 MDL-16505 - Removing qtype_datasetdependent questiontype - finish off the database upgrade, after Pierre's previous work. 2008-09-17 05:24:29 +00:00
pichetp fbe2cfead1 MDL-16505 Removing qtype_datasetdependent questiontype 2008-09-16 12:59:00 +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
pichetp 6f4accc6fb putting negative data from datasets between () to eliminate maths problem MDL-15358 2008-08-20 18:17:27 +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
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
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
jamiesensei 01f3ba1350 CONTRIB-490 "Adding support for generation of test calculated question type" replacing old dml function call with new call to method on $DB. Ooops, and adding DB as global variable in method. 2008-06-21 16:35:26 +00:00
jamiesensei c9f4940e64 CONTRIB-490 "Adding support for generation of test calculated question type" replacing old dml function call with new call to method on $DB. 2008-06-21 16:33:55 +00:00
nicolasconnault 0d03d6be5b CONTRIB-490 Adding support for generation of test calculated question type (thanks Pierre Pichet) 2008-06-17 12:08:53 +00:00
pichetp c4d18bdd5c MDL-15123 adding <br/> to align new
correct response-true value diagnosis in in datasetitems_form.php
2008-06-16 03:05:35 +00:00
pichetp 1d9ed69813 MDL-15123 Using true value limits to grade responses 2008-06-16 00:49:43 +00:00
dongsheng bd8ee7c1c4 "MDL-14129, fix print_error" 2008-06-15 12:02:43 +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 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
skodak 219f652b91 MDL-14679 upgrade $DB conversion 2008-05-31 18:05:42 +00:00
dongsheng 0b4f4187a2 "MDL-14129, fix print_error" 2008-05-21 05:07:37 +00:00
tjhunt 08121fadcb Problem when editing calculated questions when installed on Postgres. 2008-05-09 15:02:24 +00:00
dongsheng 5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
pichetp d650e1a315 nextpageparam["forceregeneration"] was not implemented correctly line 582 2008-03-10 10:53:41 +00:00
tjhunt df06c4bb88 Improve error messages. 2007-12-13 17:24:54 +00:00
pichetp 87cd4f5469 MDL-12503 Loguniform and MDL-12421 rounding 2007-12-11 08:56:24 +00:00
scyrma d417533252 Fix for par of the missing strings, as reported in MDL-12294 2007-11-26 04:10:08 +00:00