Commit Graph

117 Commits

Author SHA1 Message Date
samhemelryk b06a2d46da questions-type-calculated MDL-20275 Fixed bug causing error when upgrading
Bug was caused because $result was being set by database_manager::create_table which does not return a value
2009-09-14 02:49:51 +00:00
pichetp bb02e41fe2 MDL-19519 , MDL-1728 setting correctly synchonize value when saving question
from datasetdefinitions_form.php
2009-09-13 13:49:50 +00:00
pichetp 86e8577599 MDL-19418 Correcting expression by escaping ~ so that it is interpreted as a charracter 2009-09-06 20:34:09 +00:00
pichetp 1bf9a6311e MDL-19519 , MDL-1728 minor strings changes 2009-08-22 16:50:46 +00:00
pichetp ac5230fe8e MDL-18924 Testing if dataitems are numericals 2009-08-22 15:00:51 +00:00
pichetp f79a4158ad MDL-19519 , MDL-1728 Adding database question_calculated_options
final strings text will be added later after users comments
2009-08-22 14:59:46 +00:00
pichetp e593233a22 MDL-19519 , MDL-1728 Adding database question_calculated_options 2009-08-22 14:54:36 +00:00
pichetp 1ee53ca929 MDL-19519 , MDL-1728 Adding database question_calculated_options
MDL-18924 Testing in dataitems are numericals
2009-08-22 14:53:41 +00:00
nicolasconnault fef8f84e4b MDL-19822 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:19:00 +00:00
nicolasconnault 44c64ad857 MDL-19820 Upgraded calls to choose_from_menu 2009-08-18 00:13:28 +00:00
tjhunt aeab3f8d37 calculated qtype: Remove unnecessary call-time pass by reference. 2009-07-24 09:18:19 +00:00
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