Git commits in Moodle 2.1.x by Jamie Pratt

commit ed26baba6de90cbea7f22710297ba250447a367f
Author: Jamie Pratt <me@jamiep.org>
Date:   Thu, 15 Dec 2011 15:38:42 +0800
Tag:    v2.1.4

MDL-30749 fixing typo referring to question instead of answer object

commit fc15f0837a898dc886c2502657dd4c7042eb3d36
Author: Jamie Pratt <me@jamiep.org>
Date:   Thu, 29 Sep 2011 11:14:08 +0800
Tag:    v2.1.2

MDL-29558 question preview: limit variants drop-down to the first 100

commit 2df5a982993351e56ded0a6ed29a153d89dc5b72
Author: Jamie Pratt <me@jamiep.org>
Date:   Wed, 21 Sep 2011 14:15:23 +0800
Tag:    v2.1.3

MDL-27919 Fixed a regression where I was seeing that after choosing "Overwrite" in a filemanager form component when subsequently trying to add another file the file picker would then immediately close upon opening.

commit cb28940596c44a6411a9b8ab19655c84d553c8c1
Author: Jamie Pratt <me@jamiep.org>
Date:   Sun, 18 Sep 2011 14:57:09 +0800
Tag:    v2.1.3

MDL-27919 also adding a callback to the filepicker when a file is overwritten but a file with the same name. This is not necessary in most cases but is instant and some code may expect a call to the function whether the url and / or file name has changed or not so it can update itself when the file changes.

commit 44915324c80f26187dfc7abd1567c80f18699368
Author: Jamie Pratt <me@jamiep.org>
Date:   Sun, 18 Sep 2011 14:22:35 +0800
Tag:    v2.1.3

MDL-27919 Fixes 'undefined' message and similar problems when selecting a recent file, server file or when renaming a file being uploaded with the same name as a previous one.

commit 80fa621c50d08414cb4686ef6bd3acd77c551f4f
Author: Jamie Pratt <me@jamiep.org>
Date:   Tue, 02 Aug 2011 19:34:47 +0800
Tag:    v2.1.2

MDL-28564 "implement support for extra answer fields in question export and import" implemented support for extra answer fields in questiontype base export and import functions.

commit 92939cd69a770cec6fd709a00df3334b491359de
Author: Jamie Pratt <me@jamiep.org>
Date:   Mon, 01 Aug 2011 23:43:37 +0800
Tag:    v2.1.3

MDL-28562 "automatic naming of file in convert_image not working" there is an obvious typo in the code causing the problem. The use of an equality check instead of the intended assignment.

commit 96c7aa3fe5c79769e7f2a6a4acb191997171a0c3
Author: Jamie Pratt <me@jamiep.org>
Date:   Wed, 06 Jul 2011 18:54:59 +0800
Tag:    v2.1.1

MDL-28268 Missing ORDER BY when using extra answer table.

commit e5060e2209085b75dd60f00efb10bfb366ebe4bd
Author: Jamie Pratt <me@jamiep.org>
Date:   Fri, 01 Jul 2011 00:21:37 +0800
Tag:    v2.1.0

MDL-28129 two issues with loading and saving questions

commit 5b5206e1cb83833342313b31cce478d5075cb4c0
Author: Jamie Pratt <me@jamiep.org>
Date:   Thu, 30 Jun 2011 15:34:10 +0800
Tag:    v2.1.0

MDL-28099 Fixed regression as outlined in tracker.

commit b1eca34453a2a55b230a8befeabb31aba85e15cb
Author: Jamie Pratt <me@jamiep.org>
Date:   Wed, 29 Jun 2011 19:39:15 +0800
Tag:    v2.1.0

MDL-28099 fixes issue with filepicker and element names with index not passing value for draftitemid.

commit 1e257a3a54d68133bdc02f693a248203a2d2888b
Author: Jamie Pratt <me@jamiep.org>
Date:   Tue, 31 May 2011 17:20:13 +0800
Tag:    v2.1.0

NOBUG if we are going to reuse the functions used within the evalmath code then the calling api should not be weird with reversed parameters etc.

commit 9085134ed7230734bdccd1d3ff9bd11cf5d9e6da
Author: Jamie Pratt <me@jamiep.org>
Date:   Sat, 28 May 2011 21:47:34 +0800
Tag:    v2.1.0

MDL-27659 "have evalmath accept numbers expressed with scientific notation"

commit 4733133533549045d59b0e03961279f84b0adebd
Author: Jamie Pratt <me@jamiep.org>
Date:   Sat, 28 May 2011 21:31:46 +0800
Tag:    v2.1.0

NOBUG fixed some coding style deviations in unit test code. Mostly white space changes and added scope declarations to unit test functions.

commit f271a66776691e6ca3a827d47f942f31c377b1a0
Author: Jamie Pratt <me@jamiep.org>
Date:   Mon, 09 May 2011 12:19:38 +0800
Tag:    v2.1.0

NOBUG added floor, ceil and round to evalmath.class.php and added tests.

commit 950dc9145b1d8f782777e00c88c80152e3616fb6
Author: Jamie Pratt <me@jamiep.org>
Date:   Sat, 30 Apr 2011 11:30:30 +0800
Tag:    v2.1.0

NOBUG implemented seeding of 'random' functions.

commit 6efaec1e15352c188c951773b960df05ff489258
Author: jamiepratt <me@jamiep.org>
Date:   Sat, 16 Apr 2011 19:10:18 +0800
Tag:    v2.1.0

NOBUG move function definition is_valid_var_or_func_name above 'HERE BE INTERNAL METHODS' line.

commit 06329db4531d1435b6b807199865b492a139cca4
Author: jamiepratt <me@jamiep.org>
Date:   Thu, 14 Apr 2011 13:50:19 +0800
Tag:    v2.1.0

NOBUG updated readme file with changes made to code

commit e2beee5880cf0b88219780ec0b0124efe1a422ec
Author: jamiepratt <me@jamiep.org>
Date:   Thu, 14 Apr 2011 13:48:47 +0800
Tag:    v2.1.0

NOBUG move pattern for func and var names into a static var and make a function to test a string to see if it is a valid func or var name.

commit 13264f35057d2f37374ec3e0e8ad4070f4676bd7
Author: jamiepratt <me@jamiep.org>
Date:   Wed, 13 Apr 2011 14:09:25 +0800
Tag:    v2.1.0

MDL-27162 "localize strings in mathslib" needed to add mathslib file to list of core language files in moodlelib.

commit 94a67b3992bf658e3bc42e944ab919dbddfdcd64
Author: jamiepratt <me@jamiep.org>
Date:   Tue, 12 Apr 2011 15:08:41 +0800
Tag:    v2.1.0

Make changes in functionality, originally implemented by Petr to make maths class suitable for use in grade book, dependent on boolean switches in constructor which default to having the changes 'on'.

commit c4f7eecfc5d11e45e9ecb1aaf5372208a9c95157
Author: jamiepratt <me@jamiep.org>
Date:   Mon, 11 Apr 2011 22:10:25 +0800
Tag:    v2.1.0

MDL-27139 "mathslib used by gradebook incorrectly evaluating expressions" simple fix needed to prevent problem with operator following expression with no operands such as pi().