Git commits in Moodle 2.0.x by ppichet

commit 8f63ab1f447b1b5943286783a86ca9c1e34c65fa
Author: ppichet <pichet.pierre@uqam.ca>
Date:   Thu, 17 Feb 2011 05:18:52 +0800
Tag:    v2.0.3

MDL-26445 question -fix numerical unit grade

commit ff6b824e6da0e48fdd1266612f0dc9c0ceea04bc
Author: ppichet <pichet.pierre@uqam.ca>
Date:   Fri, 11 Feb 2011 12:50:30 +0800
Tag:    v2.0.2

MDL-26356:Correcting the texts of Numerical Units grading select element

commit fe75941008c4c35d6764c8d744c60d5c27e06065
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Fri, 03 Dec 2010 22:57:30 +0800
Tag:    v2.0.1

MDL-25535 Testing default values when editing numerical options

commit 79b067e91153191ad21abf8b99c7974fbdc46e69
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Mon, 22 Nov 2010 12:25:53 +0800
Tag:    v2.0.0

MDL-25362 adding isset() line 2292

commit a3130f2cf797c5e39624746fb38d8f955a008d66
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sun, 21 Nov 2010 12:55:25 +0800
Tag:    v2.0.0

MDL-25353 Correcting lang string

commit b800dc199095e72f921c33a5075c68d017c4623b
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Tue, 16 Nov 2010 23:53:11 +0800
Tag:    v2.0.0

MDL-25194  setting 'returnurl' and removing display of correctanswerfeedback... , left these only on calculatedmultichoice

commit f9ce6989690d4c23adbe2bd0590e22fc90662074
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Tue, 16 Nov 2010 23:50:50 +0800
Tag:    v2.0.0

MDL-25194 removing display of correctanswerfeedback... , left these only on calculatedmultichoice

commit f065391d6d81c65bb232883a97d009395505d7c8
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Tue, 16 Nov 2010 23:47:42 +0800
Tag:    v2.0.0

MDL-25194 settig 'returnurl'

commit f5382dd25eb82e3e64d66d539f1d94354e2b8b92
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Tue, 16 Nov 2010 11:43:54 +0800
Tag:    v2.0.0

MDL-25194 replace protected options of default_question_type by public optionsa defined in calculated. the same parameter is used in calculatedsimple and caculatedmulti which extends question_calculated_qtype

commit ab152de445e20c497c91f61791a90d7e73bccf45
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Mon, 15 Nov 2010 22:14:43 +0800
Tag:    v2.0.0

MDL-25192 and MDL-25194 import and saving images using instructions ['files'] array

commit dec3f2128b0dd22500d5ffde428a48cd107b62d1
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Mon, 15 Nov 2010 22:09:19 +0800
Tag:    v2.0.0

MDL-25192 editing and saving instructions image usng question->id

commit b21aea74089c4e66332af4bf2ee765c83bad3e32
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sun, 14 Nov 2010 11:51:35 +0800
Tag:    v2.0.0

MDL-25104 removing unnecessary $options = array_shift($oldoptions) line 192 that generates 2 question_numerical records, this was added by inadvertence  in the last many lines modifications

commit 710903a6b31781f50d9e0b60ed41641ddb9506e5
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sat, 13 Nov 2010 04:30:09 +0800
Tag:    v2.0.0-rc2

MDL-25104 correcting import_or_save_files() function

commit a207b735a2478651fb17ad6a690bdd541a003526
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Fri, 12 Nov 2010 10:45:30 +0800
Tag:    v2.0.0-rc2

MDL-25168 decoding questiontext using new questiontext array [text]....

commit c8fdd86791793ba1f1dec5c0c7d906552affdac2
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Tue, 09 Nov 2010 12:07:37 +0800
Tag:    v2.0.0-rc2

MDL-25104 Fixing cloze import and export

commit 0814c09938b2de82dfac5a69f3f839f201308584
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Tue, 09 Nov 2010 08:02:57 +0800
Tag:    v2.0.0-rc2

MDL-25104 Fixing some other  error about  $files in $instructions param of numerical

commit ae2c091f0941944710ee59ee37339b1c53069b3c
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Tue, 09 Nov 2010 04:58:32 +0800
Tag:    v2.0.0-rc2

MDL-25104 Fixing some litle errors about  $instructions param of numerical

commit 22f17bcaff38695f3be15266aaded5c347f7b65f
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sat, 06 Nov 2010 23:38:36 +0800
Tag:    v2.0.0-rc2

MDL-25086 numerical options for numerical questions, calculated and 1,9 import without images...

commit ac582c3b2547816ac1f7695bba710c48840f0f98
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sat, 06 Nov 2010 10:16:07 +0800
Tag:    v2.0.0-rc2

MDL-25086 first modifications, numerical options for numerical questions

commit d8741145e8e0c6c67ea385d4dacb8ab22ce7e7e2
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Tue, 02 Nov 2010 21:28:06 +0800
Tag:    v2.0.0-rc2

MDL-24503  eliminating diagnostic echo or print_r()

commit 8f609a37cf13173c56d64046429d9ac31913ad63
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sun, 31 Oct 2010 21:27:58 +0800
Tag:    v2.0.0-rc2

MDL-10110 MDL-20296 improve grading when unit input is empty

commit e8a67abab4e867bd1446a1ce642b6d349a873208
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sat, 30 Oct 2010 23:36:23 +0800
Tag:    v2.0.0-rc2

MDL-10110 Eliminating references to question_numerical_options table

commit 92b360057504ecfb2b3f8174d06a32d7564314bf
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sat, 30 Oct 2010 23:14:57 +0800
Tag:    v2.0.0-rc2

MDL-24503 recoding unit grading options

commit 5fe5e8ac5ba4fa8fd7df08ed9f9e651cf320e0eb
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sat, 02 Oct 2010 09:59:17 +0800
Tag:    v2.0.0-rc2

MDL-23825 reactivating  disabledif calls as they are working again

commit 61dfe97e36631224ad89d00e8c5ae2c2b0e6eae6
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Mon, 20 Sep 2010 23:57:22 +0800
Tag:    v2.0.0-rc1

MDL-24168 questions can be created and edited (some commented // echo left for further testing)

commit 0bc0a26502816dcde25e2dcfa30e4922f70ffc05
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Mon, 20 Sep 2010 23:55:45 +0800
Tag:    v2.0.0-rc1

MDL-24168 questions can be created and edited

commit bd806d55c8e0c67d6603827c49652b34e09700fd
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Mon, 20 Sep 2010 00:04:12 +0800
Tag:    v2.0.0-rc1

MDL-24268 removing direct call to defaultquestion

commit 82d7795c969f7f5ecf89ae45633edcdb7e94233b
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sat, 18 Sep 2010 10:24:09 +0800
Tag:    v2.0.0-rc1

MDL-24261 Remove $question->correctanswer = ($falseanswer->fraction != 0);

commit 99d671ebd3ed1d19051bec3ffdb15b78a8db00ea
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sat, 18 Sep 2010 00:33:23 +0800
Tag:    v2.0.0-rc1

MDL-24249 adding an else if ($originalreturnurl && $wizardnow !== '')  for multipage question edition

commit b555ce76aed05403800907769c2be85f30c707c4
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Fri, 17 Sep 2010 07:01:27 +0800
Tag:    v2.0.0-rc1

MDL-24241 replacing !empty() by isset()

commit 0cd89526dc5e1d305fa55015ded4d47386b2208f
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Wed, 08 Sep 2010 04:45:01 +0800
Tag:    v2.0.0-rc1

MDL-24105 adding parameters to optional_param() calls

commit d85a7d09a59cd4d6feb7abf9dcb05da0cee382bd
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Tue, 07 Sep 2010 14:21:32 +0800
Tag:    v2.0.0-rc1

MDL-24061 adding only one dataset item working correctly

commit f266594ce44ebcd175f457c86234813d455b5285
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Tue, 24 Aug 2010 23:32:02 +0800
Tag:    v2.0.0-rc1

MDL-23825 commented disabledif calls until this bug is solved so that calcualted and numerical questions can be edited

commit 25c9ac33fde10e7feb477ddf0aefd111eb70512e
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Tue, 24 Aug 2010 23:04:26 +0800
Tag:    v2.0.0-rc1

remove no more used string 'decfractionof'

commit c28357f4bb445426a2506ecb87a52138a5a6917e
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Thu, 19 Aug 2010 08:19:49 +0800
Tag:    v2.0.0-rc1

MDL-23860 putting back code of function preparedatasets()  (line 565)

commit d90b016b1bd9a25409d432cc5ffb9b12516762f8
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Tue, 15 Jun 2010 12:20:03 +0800
Tag:    v2.0.0-rc1

MDL-17278 Adding control and display features of shared datasets

commit 46a8f8ee8f1947520a262e1a167a2360e06045f2
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sat, 12 Jun 2010 10:55:38 +0800
Tag:    v2.0.0-rc1

MDL-20296 correcting the display (the ||| separator was visible) better test line 431

commit 49580a59d1d41a90746a3b09655730b694d29aa0
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Fri, 04 Jun 2010 20:28:45 +0800
Tag:    v2.0.0-rc1

MDL-20296 add isset() tests in function split_old_answer () lines 358-362

commit b79c7c289b6b0299a02a1a1f27cb63db1049f42f
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Fri, 04 Jun 2010 11:53:02 +0800
Tag:    v2.0.0-rc1

MDL-20296 correcting fill with correct display in preview

commit 91d2399d84c858763cc828f44974ee23de8e15e1
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Thu, 27 May 2010 22:57:49 +0800
Tag:    v2.0.0-rc1

MDL-21695 adding help and link strings

commit eb1284a2c7c69baa54693bb69c2d90197388bee0
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Wed, 26 May 2010 12:14:31 +0800
Tag:    v2.0.0-rc1

MDL-20296 cleaning code

commit 4433c6c407f50c1d52d431d3c3cdcb523d4e4158
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Wed, 26 May 2010 12:11:55 +0800
Tag:    v2.0.0-rc1

MDL-22578 temporary fix of explorer and safari display of numerical unit choice (radio elements)

commit eec8ba2343a9499012b0eec326b681922357a293
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Wed, 26 May 2010 08:10:38 +0800
Tag:    v2.0.0-rc1

MDL-21695 moving strings related to Choose dataset properties and Edit the datasets from quiz.php to qtype_calculated.php

commit 8ef9f8ead68fe66fd6c326e195a625d4e8381139
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Wed, 26 May 2010 08:08:51 +0800
Tag:    v2.0.0-rc1

MDL-21694 using strings from namely qtype_calculated as this code is also used with qtype_calculatedmulti .

commit efeedf0475d66d7b93a80e111585d291939a1cb0
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Wed, 26 May 2010 08:01:21 +0800
Tag:    v2.0.0-rc1

MDL-21695 moving strings related to Choose dataset properties and Edit the datasets from quiz.php to qtype_calculated.php and adding very elementary.. help strings

commit 327b0d444dc69f337d3687aa8e16ec6ec2b9eb97
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Wed, 26 May 2010 01:17:46 +0800
Tag:    v2.0.0-rc1

MDL-20296 using $state->options->raw_unitpenalty to display the unit penalty

commit 7897d6fcad1e02e15e25818224c602fef1b8fb91
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Wed, 26 May 2010 01:12:17 +0800
Tag:    v2.0.0-rc1

MDL-20296 using $state->options->raw_unitpenalty to dispaly the unit penalty

commit c4979f02200503913fdc3ac12d5426add5578c5a
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Tue, 25 May 2010 11:26:15 +0800
Tag:    v2.0.0-rc1

MDL-20585 Adding new lang strings

commit 2a2c5eff06951a16c08857c246eac0bdce8169b8
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sun, 23 May 2010 10:57:44 +0800
Tag:    v2.0.0-rc1

MDL-17366 Answer fraction was not set correctly

commit 1285531b810f04f675fe1bb7f3e51a1abb886887
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sat, 22 May 2010 10:39:05 +0800
Tag:    v2.0.0-rc1

MDL-20296 some parameters were undefined

commit ca3ede76c8184c1cd9a17c4b28644febc9ea2a75
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sat, 22 May 2010 10:33:49 +0800
Tag:    v2.0.0-rc1

  MDL_22350  put a div class = "que numerical  clearfix"> to enclose the answer and unit elements so that the display does not change for calculated simple

commit ec3dbcd48cbf2fd6d8079a72e15f0a87ca5ae6d6
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sat, 22 May 2010 10:22:46 +0800
Tag:    v2.0.0-rc1

MDL-20296 correcting unit penalty display

commit 3f42a35a5c65b13cedf1f08cec7d9212598bd328
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Fri, 21 May 2010 21:31:34 +0800
Tag:    v2.0.0-rc1

MDL-20296 correcting unit penalty display

commit 960ac99bf6083496b0077f2aaebfec3210a8b64f
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Fri, 21 May 2010 21:07:58 +0800
Tag:    v2.0.0-rc1

MDL-20296 correcting Correct response display

commit d7be65a3d5e86b15e8cee7573721de8161aabe80
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Fri, 21 May 2010 16:27:13 +0800
Tag:    v2.0.0-rc1

MDL-10110 Improving display and setting language strings

commit a3e153c2e975b6768ee19a123f3569be9755a1ba
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Fri, 21 May 2010 16:11:06 +0800
Tag:    v2.0.0-rc1

MDL-20296 undefined QTYPES

commit 8105328498f4e016592b0f867e0b1e3684ad4d27
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Fri, 21 May 2010 16:08:15 +0800
Tag:    v2.0.0-rc1

MDL-20296 undefined QTYPE and misplaced }

commit a65fa92a9fd33043f8050bb85564ca46c3caa839
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Fri, 21 May 2010 09:37:42 +0800
Tag:    v2.0.0-rc1

MDL-20296 modifications necessary for improving grading for numerical and transform display.html as independent from shortanswer, add display of unitpenalty for numerical in print_question_grading_details()

commit e14042cdf3038fcedc323b50b1bca37eebc6c91c
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Fri, 21 May 2010 09:32:53 +0800
Tag:    v2.0.0-rc1

MDL-20296 improving grading for numerical and transform display.html as independent of the analoguous shortanswer file

commit 94909089f3df90b1658c0a529296b7899b5caa5d
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Fri, 21 May 2010 09:31:35 +0800
Tag:    v2.0.0-rc1

MDL-20296 improving grading for numerical and transform diplay.html as independent of the analoguous shortanswer file

commit f1ee48c89183873feb48d0d351d73b6a1d31b6be
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Fri, 21 May 2010 09:28:49 +0800
Tag:    v2.0.0-rc1

MDL-20296 creating common functions to handle units in numerical, calculated and calculatedsimple edit forms and improving grading and rendering

commit 4d2657c28f71f714ed34e7e2773e3128aa7e860a
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Fri, 21 May 2010 09:26:46 +0800
Tag:    v2.0.0-rc1

MDL-20296 creating common functions to handle units in numerical, calculated and calculatedsimple edit forms

commit 654583b12235b008a66baf24e40a7c1800d3bfe3
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Fri, 21 May 2010 09:24:07 +0800
Tag:    v2.0.0-rc1

MDL-20296 improving grading for numerical

commit bbfda34377f32ef7e20f274b0df408fe305d7129
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Fri, 21 May 2010 09:18:35 +0800
Tag:    v2.0.0-rc1

MDL-20296 creating common functions to handle units in numerical, calculated and calculatedsimple edit forms

commit 999f7be4b3c70c3d03d2f4e74b346c3980fd8ac2
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sat, 15 May 2010 08:09:08 +0800
Tag:    v2.0.0-rc1

MDL-20296 remove obsolete function response_summary()

commit 37fcb5583291e74968a0e797641eb004bba46a15
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Thu, 13 May 2010 23:08:21 +0800
Tag:    v2.0.0-rc1

MDL-20296 small correction to numericalmultiplier string

commit 638406cb815f8220f91f5c27eca569f8c70c013e
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Thu, 13 May 2010 21:27:59 +0800
Tag:    v2.0.0-rc1

MDL-20296 adding help button for unit multiplier

commit aa384adec9edc60d7afffb6785d494e74e3bb32d
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Thu, 13 May 2010 10:31:23 +0800
Tag:    v2.0.0-rc1

MDL-20296 improving grading code and display

commit ce0738c9e4de43a689f7e5226402da033f2b14e2
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Wed, 12 May 2010 16:04:12 +0800
Tag:    v2.0.0-rc1

*** empty log message ***

commit f26c5297418be02f0f64bcca983dcaa5648b876c
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Wed, 12 May 2010 11:08:15 +0800
Tag:    v2.0.0-rc1

MDL-15252 fixing changes to lang files to solve bugs in  edit_multianswer_form, some lang texts are temporary so do not translate

commit 2c580fcf17760efb5a676e19fd630de9925bda7a
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Wed, 12 May 2010 11:05:24 +0800
Tag:    v2.0.0-rc1

MDL-15252 fixing changes to lang files to solve bugs in  edit_multinaswer_form, some lang texts are temporary so do not translate

commit 04e91671856b02b85be6a2c50884eab523685b73
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Wed, 12 May 2010 10:54:45 +0800
Tag:    v2.0.0-rc1

MDL-20296 improving code, defining constants as NUMERICALQUESTIONUNITTEXTINPUTDISPLAY

commit 78e5300dedcd2bc762cccc0059aa967e5adc452d
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Tue, 11 May 2010 21:13:17 +0800
Tag:    v2.0.0-rc1

MDL-21780 removing a DO NO COMMIT echo ;)

commit 9e459630eb124d1ab49681ddcddcad21072d7475
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Tue, 11 May 2010 16:05:05 +0800
Tag:    v2.0.0-rc1

MDL-22441 Invalid SQL (must not have ; at the end )

commit 3987461ab30132c3deca86640e752dbbb2a55af6
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Mon, 10 May 2010 10:40:02 +0800
Tag:    v2.0.0-rc1

MDL-20296 correcting unit grade display

commit ab64c7ce9e6169da1a9d315dde22c1b4aff9c18d
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Mon, 10 May 2010 07:34:00 +0800
Tag:    v2.0.0-rc1

MDL-20296 removing unnecessary code to display unit penalty

commit 803f10f6040d2a79718af7e9d1ebdeae7ec5e88b
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Mon, 10 May 2010 01:49:53 +0800
Tag:    v2.0.0-rc1

MDL-15252 reordering  version MDL-21695

commit 2fa83505443c4bfe1ded85f559b2306abbc481f0
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sun, 09 May 2010 22:02:54 +0800
Tag:    v2.0.0-rc1

MDL-17366 intergating changes done in calculated, new common functions and new lang strings

commit 0a49ee5c082551d5b49068b7a6b54aa36fc05dd1
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sat, 08 May 2010 22:35:48 +0800
Tag:    v2.0.0-rc1

MDL-20296 testing units at each question submit

commit ed15021fa0e5709b446d85f1347d0051fb670654
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sat, 08 May 2010 05:17:39 +0800
Tag:    v2.0.0-rc1

MDL-22386 setting correctly the number of dataitem when duplicating a calculated, calculatedsimple, calculatedmulti question

commit 7367d03d5317ad6c4ad87bd55a9248fa4aa8d640
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Tue, 04 May 2010 06:38:49 +0800
Tag:    v2.0.0-rc1

MDL-15252 eliminate replicates and add a first calculated_help version MDL-21695

commit b2120945d7eb9b2bb332099bac80b0951f168dd1
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sat, 01 May 2010 06:11:51 +0800
Tag:    v2.0.0-rc1

MDL-20296 creating common functions to handle units in numerical, calculated and calculatedsimple

commit cf146692088f66be6da69424eeb045def0df87f2
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Thu, 29 Apr 2010 04:31:54 +0800
Tag:    v2.0.0-rc1

MDL-20296 creating common functions to handle units in numerical, calculated and calculatedsimple

commit aa6fae5c7007c6b0f3b7435db57c624d56bb0e1a
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Wed, 28 Apr 2010 18:31:55 +0800
Tag:    v2.0.0-rc1

reordering strings

commit 5940864e84ee6ea29acd65c6c61893c5d8c3d2e5
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Wed, 28 Apr 2010 11:34:38 +0800
Tag:    v2.0.0-rc1

MDL-15252 integrate qtype_dependent.php strings in qtype_calculated.php and replace qtype_dependent in get_string()

commit 5a5487ff7f6492b8d3c3282cc8445d069f092929
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sat, 24 Apr 2010 17:48:37 +0800
Tag:    v2.0.0-rc1

correcting the addrule required

commit a387e8ac3cdd04498d7c5ae390cf38ef0e25d30e
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sat, 24 Apr 2010 17:44:42 +0800
Tag:    v2.0.0-rc1

Setting help element for each file formats, TODO help filles

commit 05f7f7c1b4c5753c82b1b0894d9b2a74306519cf
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sat, 24 Apr 2010 17:25:32 +0800
Tag:    v2.0.0-rc1

Setting help element for each file formats, TODO help filles

commit f942cd72e620acc42323b89341da8081750ae8e4
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sat, 24 Apr 2010 11:31:42 +0800
Tag:    v2.0.0-rc1

Moving setHelpButton('format',.. after addgroup($radioarray,'format' so it applies to an existing form element

commit 04d8268d829ba15335a2f3cd255cf65068c18b36
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sat, 24 Apr 2010 07:10:11 +0800
Tag:    v2.0.0-rc1

MDL-10110 adding import export xml for calculatedmulti and calculatedsimple

commit 34e24cd360cbdb97a6d99a57f679be210561e97f
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sat, 24 Apr 2010 07:07:52 +0800
Tag:    v2.0.0-rc1

MDL-10110 correcting answers display and defining CALCULATEDMULTI for format

commit a6aa2c42267d61f72095c45746f164fec94d10de
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Tue, 09 Feb 2010 04:27:49 +0800
Tag:    v2.0.0-rc1

MDL-10110 removing common code with calculated/questiontype.php

commit 78a6d0ba1f8c07beb3714fc93f8757b25f62184a
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Tue, 09 Feb 2010 02:47:16 +0800
Tag:    v2.0.0-rc1

MDL-10110 removing call to multichoice field from code

commit c9acc7728f68fadb8b3c5927821431b93de43fdf
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Tue, 09 Feb 2010 02:44:53 +0800
Tag:    v2.0.0-rc1

MDL-10110 dropping multichoice field in question_calculated_options table

commit ab8b51424c9ce1ba129937c6b5cee8606e694642
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Mon, 08 Feb 2010 03:52:52 +0800
Tag:    v2.0.0-rc1

MDL-10110 Modifications related to the creation of the calculatedmulti question type

commit 2d279432b0c64c8dda20758641f529f87f14ea1f
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Mon, 08 Feb 2010 03:50:10 +0800
Tag:    v2.0.0-rc1

MDL-10110 Creating the calculatedmulti question type

commit 347fb1755d9f879677f93ec79b7b5f3d3ca6f189
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sat, 16 Jan 2010 04:37:03 +0800
Tag:    v2.0.0-rc1

MDL-12255 Putting back with all functions restored.

commit 8e8f9f3d6fb15b1264ba357fc10d1a79c2c09d04
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Fri, 15 Jan 2010 22:18:46 +0800
Tag:    v2.0.0-rc1

MDL-12255 Removing temporarely the decoding as it does not allow to create a new question in actual HEAD.

commit 5f36cbb0879f4148c0359cce05cd4a6b8ba576a5
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Fri, 15 Jan 2010 20:21:58 +0800
Tag:    v2.0.0-rc1

MDL-17366 removing a print_r()

commit ba95414539dc6acf537fcdaf7f72c6942508f3fe
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Fri, 15 Jan 2010 05:59:07 +0800
Tag:    v2.0.0-rc1

MDL-21336 testing with $correct != '' so that correct answer 0 is shown in multianswer

commit fbe60eb3ea5f1ac597c758aadb6a479feb2062a6
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Thu, 14 Jan 2010 09:29:46 +0800
Tag:    v2.0.0-rc1

MDL-21336 testing with $correct != '' so that correct answer 0 is shown

commit 8b831fbbc5c7ed4a2f45e7e587f54f2ca8d92528
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Tue, 22 Dec 2009 18:37:41 +0800
Tag:    v2.0.0-rc1

MDL-20296 hiding instructions HTML editor and reordering units controls

commit b7c81cf066f21e35a00c05e54299c3f7aac9744a
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sun, 20 Dec 2009 05:30:31 +0800
Tag:    v2.0.0-rc1

MDL-20960 testing correctly response 0 as not null line 393 merged from 1.9

commit be1bb80efa8223ace8e70b5024286bbdd8501ec4
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Fri, 18 Dec 2009 05:45:10 +0800
Tag:    v2.0.0-rc1

MDL-3282 , MDL-4595 error in numerical with comma . More number formats are allowed

commit 7189393ac07669f5153b8a02b761e8b5a1e6b466
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Tue, 17 Nov 2009 18:18:46 +0800
Tag:    v2.0.0-rc1

MDL-20296 missing parameter in function call line 41

commit 1c5299bff6af857fe6cf7578650e8489eabd1cf6
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Tue, 17 Nov 2009 10:20:40 +0800
Tag:    v2.0.0-rc1

MDL-20861 add the $this-> line 313 although was not able to test the result.

commit 03adfa13e50132d839f9f0aa41c9a352cd6a17c5
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Tue, 27 Oct 2009 05:00:04 +0800
Tag:    v2.0.0-rc1

MDL-20585 correcting so that the confirm check button appears only on reload if errors are detected but also correcting the test setting an error on confir line  394

commit 90a92bd0cdbdca285b6df8fda05b7679ef834041
Author: Pierre Pichet <pichet.pierre@uqam.ca>
Date:   Sat, 24 Oct 2009 11:03:34 +0800
Tag:    v2.0.0-rc1

MDL-20585 correcting so that the confirm check button appears only on reload if errors are detected

commit dd800cea850e17c4e8827c52499e2a02ab4fb247
Author: pichetp <pichetp>
Date:   Thu, 22 Oct 2009 22:24:27 +0800
Tag:    v2.0.0-rc1

MDL-20563 Applying a temporary patch to the confirm delete form. A more permanent solution will follow after Tim advice

commit d3e3bd6cbcbb6f03aef2fbdcec51ac19757c0657
Author: pichetp <pichetp>
Date:   Wed, 21 Oct 2009 21:45:52 +0800
Tag:    v2.0.0-rc1

MDL-20585 Warning user of changes when editing a multianswer question used in a quiz  a first beta version, lang files remained to be defined

commit de61c75ba27ab5ba0dc45a23f1e3df1b4e3d0d34
Author: pichetp <pichetp>
Date:   Tue, 20 Oct 2009 04:15:53 +0800
Tag:    v2.0.0-rc1

MDL-20597 Migrating qtype_question helps file to there own directory: randomsamatch

commit ac8db92c74b854c20f32d6c9bfd9b82e8c5093a7
Author: pichetp <pichetp>
Date:   Tue, 20 Oct 2009 04:14:03 +0800
Tag:    v2.0.0-rc1

MDL-20597 Migrating qtype_question helps file to there own directory: essay

commit abad968f3c257ed08586b725055734f271f02030
Author: pichetp <pichetp>
Date:   Tue, 20 Oct 2009 04:12:22 +0800
Tag:    v2.0.0-rc1

MDL-20597 Migrating qtype_question helps file to there own directory: description

commit 5e6a0c2643b4e63871a3f330fc7eccf665ab8f52
Author: pichetp <pichetp>
Date:   Tue, 20 Oct 2009 02:50:27 +0800
Tag:    v2.0.0-rc1

MDL-20597 Migrating qtype_question helps file to there own directory: shortanswer

commit 5631dcff335f0bf90071906bd8a84b75b92541ea
Author: pichetp <pichetp>
Date:   Tue, 20 Oct 2009 02:49:10 +0800
Tag:    v2.0.0-rc1

MDL-20597 Migrating qtype_question helps file to there own directory: numerical

commit 30aa3f925ce74a2a16cc63b5ec15bf43194062d2
Author: pichetp <pichetp>
Date:   Tue, 20 Oct 2009 02:48:17 +0800
Tag:    v2.0.0-rc1

MDL-20597 Migrating qtype_question helps file to there own directory: match

commit bfd80e4684a0bdac6e5e37bfec280f1f328f92aa
Author: pichetp <pichetp>
Date:   Tue, 20 Oct 2009 01:50:54 +0800
Tag:    v2.0.0-rc1

MDL-20597 Migrating qtype_question helps file to there own directory: calculated

commit d6d8b94c3f41b9825b6477f50061cab72147f27b
Author: pichetp <pichetp>
Date:   Thu, 15 Oct 2009 03:46:00 +0800
Tag:    v2.0.0-rc1

MDL-20563 Applying a temporary patch so that paging is working on showbank. A more permanent solution will follow after Tim advice

commit f0b6151c68d57ff9c50fe87b369683e75c24e791
Author: pichetp <pichetp>
Date:   Wed, 14 Oct 2009 07:21:03 +0800
Tag:    v2.0.0-rc1

MDL-20296 removing & in print_question_grading_details() as reported in php analysis

commit 95cf694abeb2ac9620590d4e3cf6db712f16b522
Author: pichetp <pichetp>
Date:   Wed, 14 Oct 2009 04:05:06 +0800
Tag:    v2.0.0-rc1

MDL-20296 closing } added line 713 in question_restore_numerical_options

commit 5774a5f565f54ed97a465c544733334ff571df1b
Author: pichetp <pichetp>
Date:   Tue, 13 Oct 2009 22:09:07 +0800
Tag:    v2.0.0-rc1

MDL-20296 improvements in valid number and instructions display

commit 824f0182482933cff4f0319bd078a7b5596512dd
Author: pichetp <pichetp>
Date:   Tue, 13 Oct 2009 22:03:01 +0800
Tag:    v2.0.0-rc1

MDL-20296 saving numerical options

commit fe7e43f43044cc072bcf381cd4016f7b5979a270
Author: pichetp <pichetp>
Date:   Tue, 13 Oct 2009 09:02:30 +0800
Tag:    v2.0.0-rc1

MDL-20296 setting get_correct_responses() for calculated regular and multichoice

commit 8f542d6c6a234cfb55f2fdc07b7aeddcb5ce96a1
Author: pichetp <pichetp>
Date:   Tue, 13 Oct 2009 06:23:54 +0800
Tag:    v2.0.0-rc1

MDL-20541 Removing two test of apply units() function no more valid wtih the new code.

commit 78d2d5763af17a7e019ad1d84a05a6104982b929
Author: pichetp <pichetp>
Date:   Sat, 10 Oct 2009 09:08:11 +0800
Tag:    v2.0.0-rc1

MDL-20296 setting get_correct_responses()

commit 188c3eaa8056db773394cc50d5d2db1a0c1bdb5b
Author: pichetp <pichetp>
Date:   Sat, 10 Oct 2009 02:40:16 +0800
Tag:    v2.0.0-rc1

MDL-20522 the $result was forgotten in the last test if ($result && $oldversion < 2009092000)

commit caf2d133c23b3da871e9ac6438c1719d1212150d
Author: pichetp <pichetp>
Date:   Sat, 10 Oct 2009 01:24:29 +0800
Tag:    v2.0.0-rc1

MDL-20522 correct the version numbers and  creating database field steps

commit 03990aa6e7f8412e846d8982826dd4fa2514426e
Author: pichetp <pichetp>
Date:   Thu, 08 Oct 2009 05:03:58 +0800
Tag:    v2.0.0-rc1

MDL-20296 Units handling for numerical and calculatedquestions

commit c5da99065e9d8343f42bc4ec5160b47d298d4dba
Author: pichetp <pichetp>
Date:   Thu, 08 Oct 2009 04:50:38 +0800
Tag:    v2.0.0-rc1

MDL-20296 Units handling for numerical and calculatedquestions commented echo diagnostic lines as has been left for the testing period.

commit b003b818176d81eab0b64dbd1644b5740331cb50
Author: pichetp <pichetp>
Date:   Thu, 08 Oct 2009 04:45:45 +0800
Tag:    v2.0.0-rc1

MDL-20296 Units handling for numerical and calculatedquestions

commit 4acb204c7dc08b87805c36a1c875030ffabcf929
Author: pichetp <pichetp>
Date:   Tue, 29 Sep 2009 12:49:23 +0800
Tag:    v2.0.0-rc1

mod-quiz MDL-19813  $OUPUT and cm defined correctly

commit 7b07a7d412f7b1af88eaa9b461e67d94023361ec
Author: pichetp <pichetp>
Date:   Fri, 25 Sep 2009 16:22:43 +0800
Tag:    v2.0.0-rc1

question MDL-19820 Adding global $OUTPUT

commit 99a77ee5282e71f3f3d371ae01286998784f943b
Author: pichetp <pichetp>
Date:   Fri, 25 Sep 2009 11:30:06 +0800
Tag:    v2.0.0-rc1

MDL-10110 Adding validation for multichoice option single and multianswer

commit 1b41f2b0fbc7b0f5770a010e39f779ea1629cb0d
Author: pichetp <pichetp>
Date:   Fri, 25 Sep 2009 08:48:34 +0800
Tag:    v2.0.0-rc1

MDL-10110 Adding multichoice option in calculated question minor bugs fixed

commit 28a27ef1f7e7a0df9d938cc38461410a91779e2e
Author: pichetp <pichetp>
Date:   Fri, 25 Sep 2009 00:38:40 +0800
Tag:    v2.0.0-rc1

MDL-10110 Adding multichoice option in calculated question

commit bb02e41fe2e1dd1088e205ea8519cdb02db769e1
Author: pichetp <pichetp>
Date:   Sun, 13 Sep 2009 21:49:50 +0800
Tag:    v2.0.0-rc1

MDL-19519 , MDL-1728  setting correctly synchonize value when saving question from datasetdefinitions_form.php

commit 86e8577599dd321984d3c4f9b80cf96966db2594
Author: pichetp <pichetp>
Date:   Mon, 07 Sep 2009 04:34:09 +0800
Tag:    v2.0.0-rc1

MDL-19418 Correcting expression by escaping ~ so that it is interpreted as a charracter

commit 06f80c6ce7437d30cca24317392620f123bd3e4b
Author: pichetp <pichetp>
Date:   Mon, 07 Sep 2009 03:06:23 +0800
Tag:    v2.0.0-rc1

MDL-20176 Eliminate all PARAM_CLEAN, MDL-17366 cleaning code

commit a800639b622a6c5eeed95758dc796e78ad3a62cb
Author: pichetp <pichetp>
Date:   Fri, 04 Sep 2009 10:09:23 +0800
Tag:    v2.0.0-rc1

MDL-20189 correcting for the value of correctanswerlength on calculated export

commit 1bf9a6311e741620172516d3343bb927a8873ebe
Author: pichetp <pichetp>
Date:   Sun, 23 Aug 2009 00:50:46 +0800
Tag:    v2.0.0-rc1

MDL-19519 , MDL-1728  minor strings changes

commit 505f73421cbf21144c215c8a2c726641de5222ed
Author: pichetp <pichetp>
Date:   Sat, 22 Aug 2009 23:38:51 +0800
Tag:    v2.0.0-rc1

MDL-19519 , MDL-1728 Adding database question_calculated_options

commit ac5230fe8e81fbe680a404fbb1d11ddc442668f0
Author: pichetp <pichetp>
Date:   Sat, 22 Aug 2009 23:00:51 +0800
Tag:    v2.0.0-rc1

MDL-18924 Testing if dataitems are numericals

commit f79a4158adb4cbc29da222fd142362204becc9c5
Author: pichetp <pichetp>
Date:   Sat, 22 Aug 2009 22:59:46 +0800
Tag:    v2.0.0-rc1

MDL-19519 , MDL-1728 Adding database question_calculated_options final strings text will be added later after users comments

commit e593233a22d7f321ec38a864ca9a6f48cf4b1e89
Author: pichetp <pichetp>
Date:   Sat, 22 Aug 2009 22:54:36 +0800
Tag:    v2.0.0-rc1

MDL-19519 , MDL-1728 Adding database question_calculated_options

commit 1ee53ca9299d92ffe83d483fb8f7326e50f39567
Author: pichetp <pichetp>
Date:   Sat, 22 Aug 2009 22:53:41 +0800
Tag:    v2.0.0-rc1

MDL-19519 , MDL-1728 Adding database question_calculated_options MDL-18924 Testing in dataitems are numericals

commit 0735b50962786340ffcd5886c1ef0d7ca31c5352
Author: pichetp <pichetp>
Date:   Fri, 12 Jun 2009 01:04:18 +0800
Tag:    v2.0.0-rc1

MDL-17366 cleaning code ( space, indentation etc.)

commit b3409111bfc0b9eeb1a1aa5a0357728121a6dd22
Author: pichetp <pichetp>
Date:   Wed, 03 Jun 2009 11:05:45 +0800
Tag:    v2.0.0-rc1

MDL-17366  modifying lang strings

commit 4328f8233d007a89763b88adde1307f7a68562cc
Author: pichetp <pichetp>
Date:   Wed, 03 Jun 2009 11:04:04 +0800
Tag:    v2.0.0-rc1

MDL-17366 define CALCULATEDSIMPLE , used in xml/format.php

commit 1d1f5784f8232b05dd554a6e47a466e1b556184c
Author: pichetp <pichetp>
Date:   Wed, 03 Jun 2009 11:01:37 +0800
Tag:    v2.0.0-rc1

MDL-17366 detecting real number of data items in database and modifying lang strings

commit 9c1c6c7f75731ab70f95d44f9e3f6d03f2978303
Author: pichetp <pichetp>
Date:   Wed, 03 Jun 2009 01:12:27 +0800
Tag:    v2.0.0-rc1

MDL-17366 allow calculatedsimple question type XML import and export

commit acb85fd54117551cfb8c7ba5ef1e42164dad5c17
Author: pichetp <pichetp>
Date:   Tue, 02 Jun 2009 04:11:13 +0800
Tag:    v2.0.0-rc1

MDL-17366 a new "temporary" icon image

commit 0d1bd00d4825dc3b973732c518e5709e7478750a
Author: pichetp <pichetp>
Date:   Mon, 01 Jun 2009 11:33:04 +0800
Tag:    v2.0.0-rc1

MDL-17366 adding the calculatedsimple questiontype

commit f965e5fbfc6fe7d1945b407e57941e01da37f02e
Author: pichetp <pichetp>
Date:   Mon, 01 Jun 2009 11:14:51 +0800
Tag:    v2.0.0-rc1

MDL-17366 removing echo debugging lines.

commit a31697ba49f760f7121d1cd67db09aa3d30ff19d
Author: pichetp <pichetp>
Date:   Mon, 01 Jun 2009 11:12:29 +0800
Tag:    v2.0.0-rc1

MDL-17366 adding control of number of values displayed and validation improvments.

commit 83a15d025cb163509dcff124ed914058c826966f
Author: pichetp <pichetp>
Date:   Sat, 30 May 2009 06:42:22 +0800
Tag:    v2.0.0-rc1

MDL-17366 adding the calculatedsimple questiontype

commit 315efce701d94c003674f27f0ff26aeead2f6f96
Author: pichetp <pichetp>
Date:   Sun, 24 May 2009 10:33:42 +0800
Tag:    v2.0.0-rc1

MDL-19214 Adding category hidden element

commit 66d0a55c56c52b10bc0838a3cd1d7a0f3355a3e0
Author: pichetp <pichetp>
Date:   Sun, 24 May 2009 10:02:31 +0800
Tag:    v2.0.0-rc1

MDL-19210 using the  get_database_dataset_items() function

commit a2155a7b747e1a758868aa93439f6b994f1af727
Author: pichetp <pichetp>
Date:   Sun, 24 May 2009 10:01:03 +0800
Tag:    v2.0.0-rc1

MDL-19210 adding get_database_dataset_items() function

commit 3058e79d224092fe6ec97bc8693a49e89ef8b161
Author: pichetp <pichetp>
Date:   Thu, 21 May 2009 20:19:45 +0800
Tag:    v2.0.0-rc1

MDL-19213 testing ifthe wizardpage allows editng the tags

commit ad3a4aa67f28e841cfa573b9a9936b01617acd68
Author: pichetp <pichetp>
Date:   Thu, 21 May 2009 20:10:42 +0800
Tag:    v2.0.0-rc1

MDL-19210 eliminate the generation of multiple dataitems having the same item number

commit 38e74ec41c5022eb2df4590b5af319120c0602bc
Author: pichetp <pichetp>
Date:   Tue, 24 Feb 2009 05:20:07 +0900
Tag:    v2.0.0-rc1

MDL-16345 changing &amp;course to &amp;courseid line1079   return $CFG->wwwroot . '/question/preview.php?id=' . $questionid . '&amp;courseid=' . $this->course->id;

commit f7fa6874f7f6c3fd070abe451ea79507bdd6824c
Author: pichetp <pichetp>
Date:   Sat, 21 Feb 2009 05:52:32 +0900
Tag:    v2.0.0-rc1

MDL-18034 MDL-18035 correcting typo  saving answers data in $question->answerif they come from edit from.

commit 9af77e9d17c254412406312c7d80116e7446aec3
Author: pichetp <pichetp>
Date:   Tue, 03 Feb 2009 09:40:40 +0900
Tag:    v2.0.0-rc1

MDL-18034 Rename answers field to answer in calculated qtype form to increase consistency

commit 0a6555f8545e031de72f2bd58dcaa47b880ee8f7
Author: pichetp <pichetp>
Date:   Wed, 28 Jan 2009 00:00:19 +0900
Tag:    v2.0.0-rc1

MDL-18034 saving answers data in $question->answer if they come from edit from.

commit 103a800d67f4f913fc87fba38b5f803ff8e37044
Author: pichetp <pichetp>
Date:   Mon, 26 Jan 2009 10:21:58 +0900
Tag:    v2.0.0-rc1

MDL-17995 replacing is_null()  by empty().

commit 8795a5ae2575185ddce5660733f3258043b057f6
Author: pichetp <pichetp>
Date:   Sun, 25 Jan 2009 23:49:02 +0900
Tag:    v2.0.0-rc1

MDL-17995 replacing $wrapped !='' by !is_null($wrapped) MDL-17857 Allowing multianwer (Cloze) question to have a 0 default grade as other question types

commit 636bbc872842015357e7739fc7dd78d28a465e86
Author: pichetp <pichetp>
Date:   Fri, 05 Dec 2008 01:04:48 +0900
Tag:    v2.0.0-rc1

MDL-17524 Deleting a calculated question delete datasetdefinitions shared by other question } missing...

commit 57db70affbf247b50f0ca4f53c7bca444bece37b
Author: pichetp <pichetp>
Date:   Fri, 05 Dec 2008 00:56:01 +0900
Tag:    v2.0.0-rc1

MDL-17524 Deleting a calculated question delete datasetdefinitions shared by other question

commit 77f60b432a368a725b4bf8728ae87f0c48618f91
Author: pichetp <pichetp>
Date:   Mon, 01 Dec 2008 13:03:48 +0900
Tag:    v2.0.0-rc1

removing an echo diagnostic output...

commit cae0b24abbd7adc5a676bf932a1ebe7e94f9c757
Author: pichetp <pichetp>
Date:   Mon, 01 Dec 2008 13:00:54 +0900
Tag:    v2.0.0-rc1

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.

commit 0bddf4b6acb6343f7f660c34cdf5aeabb3d33d26
Author: pichetp <pichetp>
Date:   Sun, 30 Nov 2008 00:02:27 +0900
Tag:    v2.0.0-rc1

Displacing <label> to enclose correctly answer text in question display so no possible XML problem. Cleaning comments Better handling of empty responses when grading,

commit 54db4df23e25c75a0aefaa7eb5953af9f91b4e9f
Author: pichetp <pichetp>
Date:   Sat, 29 Nov 2008 18:34:14 +0900
Tag:    v2.0.0-rc1

MDL-17264 minor corrections (spaces)

commit 61f30d176b91d177407a02c3c8d3df7756580045
Author: pichetp <pichetp>
Date:   Mon, 24 Nov 2008 14:21:39 +0900
Tag:    v2.0.0-rc1

MDL-17264 minor corrections. Adding control of usecase for the shortanswer type using SHORTANSER_C or  SAC or MWC,

commit 30b77edd1f24fc23f41afb2fd937adea0ba6d94c
Author: pichetp <pichetp>
Date:   Mon, 24 Nov 2008 13:57:07 +0900
Tag:    v2.0.0-rc1

MDL-17264 Adding control of usecase for the shortanswer type using SHORTANSER_C or  SAC or MWC

commit fd97082c5948c1d3e9646160490e5ca34055e557
Author: pichetp <pichetp>
Date:   Mon, 24 Nov 2008 13:10:43 +0900
Tag:    v2.0.0-rc1

MDL-17264 Adding control of usecase for the shortanswer type using SHORTANSER_C or  SAC or MWC

commit f96e83d4b6db97c49f812cde8f677550f7949e65
Author: pichetp <pichetp>
Date:   Wed, 19 Nov 2008 03:28:20 +0900
Tag:    v2.0.0-rc1

MDL-17228 Synchronizing dataitems between calculated questions in a quiz

commit 9978c779a5e77337136dae88c6219d3c85c80464
Author: pichetp <pichetp>
Date:   Wed, 12 Nov 2008 16:28:30 +0900
Tag:    v2.0.0-rc1

MDL-14763 remove automatic numbering of multichoice vertical or horizontal display

commit e95d204d9af39c96490114319952215c560b2972
Author: pichetp <pichetp>
Date:   Wed, 12 Nov 2008 16:02:25 +0900
Tag:    v2.0.0-rc1

MDL-14763 remove automatic numbering of multichoice vertical or horizontal display

commit 665e82f8f8cab4d1b83c62ccb7f44c787ae41a3f
Author: pichetp <pichetp>
Date:   Tue, 11 Nov 2008 04:47:49 +0900
Tag:    v2.0.0-rc1

MDL-14763 new lang strings and MDL-17134

commit d7d8d7e9628ec857ae13dc639b4c293c896ca15d
Author: pichetp <pichetp>
Date:   Tue, 11 Nov 2008 04:42:05 +0900
Tag:    v2.0.0-rc1

MDL-14763 new help file

commit 26053641176199c614407353b2f62c2830ebce7a
Author: pichetp <pichetp>
Date:   Mon, 10 Nov 2008 06:55:58 +0900
Tag:    v2.0.0-rc1

MDL-17104 and MDL-17105 unused old questions are deleted more correclty and take in  account that the actual questiontype/save_question() create a new question when categorytomove  is not set..

commit f2a0ff59f865ca2d6ff4292c114ea8f07b30f2de
Author: pichetp <pichetp>
Date:   Sat, 08 Nov 2008 09:58:21 +0900
Tag:    v2.0.0-rc1

improving text

commit 41e13dd3954797c390496704e099a8954e05c731
Author: pichetp <pichetp>
Date:   Thu, 25 Sep 2008 08:18:09 +0800
Tag:    v2.0.0-rc1

MDL-15233 add answers tolerance modificaions texts

commit 5d0b1e40c1e8647ce09d94b89b307a8a9ebbf0b0
Author: pichetp <pichetp>
Date:   Tue, 23 Sep 2008 23:01:36 +0800
Tag:    v2.0.0-rc1

MDL-15233 improve interface handling of various functions in datasetitems_form.php

commit 450f11274ffc14118d9a815a502299748789f23f
Author: pichetp <pichetp>
Date:   Tue, 23 Sep 2008 04:54:13 +0800
Tag:    v2.0.0-rc1

MDL-15233 add answers tolerance modificaions in datasetitems_form.php

commit fac1189dee0321bd7975cc35beeb8d04dd15fb5f
Author: pichetp <pichetp>
Date:   Thu, 18 Sep 2008 14:16:50 +0800
Tag:    v2.0.0-rc1

MDL-16427 changing $answer=='*' to $answer ==='*'

commit 078cc3f0441dbaeebf3fbbfd2cf5e8f709877c6d
Author: pichetp <pichetp>
Date:   Thu, 18 Sep 2008 14:13:18 +0800
Tag:    v2.0.0-rc1

MDL-16427 implement the '*' convention as for other questiontypes

commit e7f9f116354539e8513eb74e027869b72be6fd0e
Author: pichetp <pichetp>
Date:   Thu, 18 Sep 2008 13:48:31 +0800
Tag:    v2.0.0-rc1

MDL_14763 removing old help file multianswer.html

commit 88087a98a520826c99ca31de63bb17cff3853c6e
Author: pichetp <pichetp>
Date:   Thu, 18 Sep 2008 07:11:25 +0800
Tag:    v2.0.0-rc1

MDL_14763 adding new helpfile

commit 29c6980d5dfa31e9780735a34daac16b05d523be
Author: pichetp <pichetp>
Date:   Tue, 16 Sep 2008 21:06:04 +0800
Tag:    v2.0.0-rc1

MDL-16505 Removing qtype_datasetdependent questiontype

commit fbe2cfead160048fcece57333a07633aa47d9d34
Author: pichetp <pichetp>
Date:   Tue, 16 Sep 2008 20:59:00 +0800
Tag:    v2.0.0-rc1

MDL-16505 Removing qtype_datasetdependent questiontype

commit e74f18e0209fe2925f9988087e74090508135f7e
Author: pichetp <pichetp>
Date:   Tue, 16 Sep 2008 02:39:15 +0800
Tag:    v2.0.0-rc1

DB error changing array('id', $state->id) to array('id'=> $state->id)

commit 5967aa032dac2db02f9d7034b51cf6b63292660e
Author: pichetp <pichetp>
Date:   Thu, 04 Sep 2008 02:24:10 +0800
Tag:    v2.0.0-rc1

Improving multichoice display MDL-14763: cleaning code from echos and print_r

commit 6f4accc6fb6f9a1a7a1da03c8a9b2d8551ecf3aa
Author: pichetp <pichetp>
Date:   Thu, 21 Aug 2008 02:17:27 +0800
Tag:    v2.0.0-rc1

putting negative data from datasets between () to eliminate maths problem MDL-15358

commit e5ebbd53d41615ee38661b8df09223b02aaf7f92
Author: pichetp <pichetp>
Date:   Tue, 19 Aug 2008 02:31:31 +0800
Tag:    v2.0.0-rc1

Improving multichoice display MDL-14763

commit 47c03ecd8dc44d82e32efca282e8c3585cb4d98c
Author: pichetp <pichetp>
Date:   Fri, 15 Aug 2008 19:15:26 +0800
Tag:    v2.0.0-rc1

better filtering of null answers MDL-8475

commit f7443920c87e0c6771899378a7ee9da6ca28555e
Author: pichetp <pichetp>
Date:   Thu, 14 Aug 2008 17:39:22 +0800
Tag:    v2.0.0-rc1

better validation of null answers MDL-8475

commit ea632e8846c6377c633a736bb929de2c12defd20
Author: pichetp <pichetp>
Date:   Thu, 19 Jun 2008 09:43:52 +0800
Tag:    v2.0.0-rc1

closing properly questions <label> i.e. adding  </label> line 459-61 when some errors

commit ed48af75b4bd677c139bf3d80d909c94b647f22a
Author: pichetp <pichetp>
Date:   Mon, 16 Jun 2008 20:36:17 +0800
Tag:    v2.0.0-rc1

MDL-14625 more tolerant to missing subquestions

commit 99cb86b5ad5d25cc46674139c3b677b3e5b2dc68
Author: pichetp <pichetp>
Date:   Mon, 16 Jun 2008 11:15:55 +0800
Tag:    v2.0.0-rc1

MDL-15123 Using true value limits to grade responses

commit c4d18bdd5cab578c8e7f15339ee158b0d3438766
Author: pichetp <pichetp>
Date:   Mon, 16 Jun 2008 11:05:35 +0800
Tag:    v2.0.0-rc1

MDL-15123  adding <br/> to align new correct response-true value diagnosis in in datasetitems_form.php

commit 1d9ed69813cdb06f3fa231f85023c3651d7f7984
Author: pichetp <pichetp>
Date:   Mon, 16 Jun 2008 08:49:43 +0800
Tag:    v2.0.0-rc1

MDL-15123 Using true value limits to grade responses

commit 857caf3b69ae2cd946bc72739c2d6e196c45167c
Author: pichetp <pichetp>
Date:   Sun, 15 Jun 2008 11:47:04 +0800
Tag:    v2.0.0-rc1

MDL-14625 more tolerant to missing subquestions

commit fbcd080be9bcb1c0c7f330670d364a3c3175f266
Author: pichetp <pichetp>
Date:   Sat, 07 Jun 2008 20:28:32 +0800
Tag:    v2.0.0-rc1

MDL-15102 $questionid is the id so array($questionid) line 337

commit 2da119601a3cbd78aba721cfb99c888ea79a867d
Author: pichetp <pichetp>
Date:   Mon, 02 Jun 2008 19:02:50 +0800
Tag:    v2.0.0-rc1

MDL-15068 novirtualquestiontype string

commit 489aef7f984c67cef34083f370374d435b554ea8
Author: pichetp <pichetp>
Date:   Mon, 19 May 2008 07:08:41 +0800
Tag:    v2.0.0-rc1

MDL-14054 Display of correct answers in the popup window already use for feedback  and MDL-14625 Make multianswer questions more tolerant if one of the subquestions is missing  messages

commit 907a375942080cbdd9cb824a75a7350d0978e904
Author: pichetp <pichetp>
Date:   Mon, 19 May 2008 01:22:41 +0800
Tag:    v2.0.0-rc1

MDL-14054 Display of correct answers in the popup window already use for feedback

commit df79079f496f1ffec59112b5ab4ab591c47c511d
Author: pichetp <pichetp>
Date:   Sun, 18 May 2008 23:23:17 +0800
Tag:    v2.0.0-rc1

MDL-1625 Make multianswer questions more tolerant if one of the subquestions is missing

commit 2fd8093028cbb676e908a88ed9f89b550e94e8f0
Author: pichetp <pichetp>
Date:   Mon, 21 Apr 2008 10:48:06 +0800
Tag:    v2.0.0-rc1

MDL-14435 Removing capitals

commit a768f8b8a4fb0488f8b023bbab71ae2c827e967a
Author: pichetp <pichetp>
Date:   Mon, 17 Mar 2008 23:22:38 +0900
Tag:    v2.0.0-rc1

MDL-12572 MDL-13427 New HTML export mode useable with Excel or Word

commit 0410e5069854e6d0fe20b72767a6176ca14d2768
Author: pichetp <pichetp>
Date:   Mon, 17 Mar 2008 23:21:20 +0900
Tag:    v2.0.0-rc1

MDL-12572 splitting code and create get_questions_atttempts_data function improve CVS, XLS and ODS downloads so that data is easily sort.

commit 169b607dc465efe6f58d26d3adffa05d7d785f24
Author: pichetp <pichetp>
Date:   Sun, 16 Mar 2008 09:22:49 +0900
Tag:    v2.0.0-rc1

MDL-13427 Adding strip tags filtering for download and question text limit to CSV download

commit 7eb7798b9f0774df01473ad479fcd8d5289010a0
Author: pichetp <pichetp>
Date:   Sun, 16 Mar 2008 05:55:07 +0900
Tag:    v2.0.0-rc1

MDL-12572 Removing storage of database search in $SESSION

commit b9568564ed36004bddc271130f2f263a05dee246
Author: pichetp <pichetp>
Date:   Sat, 15 Mar 2008 21:58:43 +0900
Tag:    v2.0.0-rc1

MDL-12572 Adding storage of database search in $SESSION TODO new getstrings , test echo removing etc.

commit 093c15be5419596285473e975303c59bd5eaa59a
Author: pichetp <pichetp>
Date:   Wed, 12 Mar 2008 04:20:03 +0900
Tag:    v2.0.0-rc1

MDL-12572 MDL-13427 New HTML cleaning code

commit 92f48269278518a6f6da000a10f1ab2e18b9e4a0
Author: pichetp <pichetp>
Date:   Wed, 12 Mar 2008 02:13:33 +0900
Tag:    v2.0.0-rc1

MDL-12572 MDL-13427 New HTML export mode useable with Excel or Word

commit d650e1a3158d7ae473341e9f54824f673175aae4
Author: pichetp <pichetp>
Date:   Mon, 10 Mar 2008 19:53:41 +0900
Tag:    v2.0.0-rc1

nextpageparam["forceregeneration"] was not implemented correctly line 582

commit c958ac93012872c6ba6a2751b883abb063f649f0
Author: pichetp <pichetp>
Date:   Wed, 20 Feb 2008 18:19:03 +0900
Tag:    v2.0.0-rc1

MDL-13457 Validation when moving to another category

commit a0052d89ac70dccb527311e9d37dcb96483d415a
Author: pichetp <pichetp>
Date:   Tue, 19 Feb 2008 05:43:08 +0900
Tag:    v2.0.0-rc1

cleaning //

commit 292a01dfa7dba7eab5d53987d50eb391179d3b50
Author: pichetp <pichetp>
Date:   Tue, 19 Feb 2008 02:00:23 +0900
Tag:    v2.0.0-rc1

removing an echo diagnostic message MDL-12063

commit 814a96fa47711d5b55a3672f0f33adb78155dc64
Author: pichetp <pichetp>
Date:   Tue, 19 Feb 2008 01:37:13 +0900
Tag:    v2.0.0-rc1

MDL-13419 removing space before input html element

commit fa0f94c085dab31d499173ccfc61676d31de7cfa
Author: pichetp <pichetp>
Date:   Wed, 13 Feb 2008 11:19:54 +0900
Tag:    v2.0.0-rc1

 MDL-12421  removing the change done and not correcting already saved values

commit 2dc8beafcf0b9e42f1f714d5eaf71ad05992ab80
Author: pichetp <pichetp>
Date:   Wed, 13 Feb 2008 10:19:03 +0900
Tag:    v2.0.0-rc1

Adding returnurl element MDL-12388 to return to the quiz editing

commit eb29fc27478947be5371b0029abd47f54a131c65
Author: pichetp <pichetp>
Date:   Mon, 28 Jan 2008 02:16:35 +0900
Tag:    v2.0.0-rc1

MDL-12255 Adding questiontext decoding and subquestions validation when editing, decodeverifyquestiontext string

commit b119a40f16c3cd88c715a926005184ed2e100906
Author: pichetp <pichetp>
Date:   Sun, 27 Jan 2008 00:21:44 +0900
Tag:    v2.0.0-rc1

MDL-3274 further trimming

commit eba53585bd7fefa63e5ae39b9a83228995ef23ee
Author: pichetp <pichetp>
Date:   Sat, 26 Jan 2008 23:30:29 +0900
Tag:    v2.0.0-rc1

adjusting input display to answer length MDL-3274

commit fa1661c27c6e66423d2614fe154284f4b0ba6c38
Author: pichetp <pichetp>
Date:   Fri, 11 Jan 2008 23:24:10 +0900
Tag:    v2.0.0-rc1

MDL12932 -Random Short-Answer Matching does not display correctly in Item analysis report

commit 4efa376ffb56c43b1bd59691a00af4a82ccc683f
Author: pichetp <pichetp>
Date:   Tue, 11 Dec 2007 18:13:17 +0900
Tag:    v2.0.0-rc1

 MDL-12421 rounding

commit 87cd4f546902aed3a77fd79d9547c184c0dc612a
Author: pichetp <pichetp>
Date:   Tue, 11 Dec 2007 17:56:24 +0900
Tag:    v2.0.0-rc1

MDL-12503 Loguniform and MDL-12421 rounding

commit 705b5874cef0b20ff79db6512e0835d36741f14f
Author: pichetp <pichetp>
Date:   Tue, 20 Nov 2007 12:50:28 +0900
Tag:    v2.0.0-rc1

MDL-12255 Adding questiontext decoding and subquestions validation when editing

commit e9028ffc8715bc64cc634f0b3a5c2b73eb5c8d5b
Author: pichetp <pichetp>
Date:   Tue, 20 Nov 2007 12:48:29 +0900
Tag:    v2.0.0-rc1

Solving MDL-12063 qtype_questions where left orphans when questions whe deleted or  qtype change

commit 34018d81aa09533f2f5a76c9fbf269993e32168d
Author: pichetp <pichetp>
Date:   Thu, 01 Nov 2007 09:27:57 +0900
Tag:    v2.0.0-rc1

MDL-11867 setting real null when response is null in calculated question

commit 20bf2c1a3fa543456032e3b3055f5b46c8a04265
Author: pichetp <pichetp>
Date:   Wed, 31 Oct 2007 11:31:33 +0900
Tag:    v2.0.0-rc1

solving MDL-7496 for calculated