Git commits in Moodle 1.5.x by thepurpleblob

commit 35c808396adb6e20940c1be555998bc8e167a5a0
Author: thepurpleblob <thepurpleblob>
Date:   Wed, 22 Mar 2006 00:50:07 +0800
Tag:    v1.5.4

Fixed hardcoded filepath. Bug #4544.

commit 18320d933125540c9ec119961927e7effd074df7
Author: thepurpleblob <thepurpleblob>
Date:   Thu, 10 Nov 2005 00:11:54 +0800
Tag:    v1.5.3

Uneccessary call to build category list that was grinding systems to a halt with large numbers of categories.

commit b87c2adc76f00571d28630b33b8e24ae8c85df2c
Author: thepurpleblob <thepurpleblob>
Date:   Fri, 04 Nov 2005 18:04:04 +0800
Tag:    v1.5.3

Brought in line with HEAD version to get rid of data_submitted() function. A bit of HTML cleaning up too. Fixes incompatibility with secureforms.

commit 7770beee559b93c1769350432dfe6351e5f7ec25
Author: thepurpleblob <thepurpleblob>
Date:   Thu, 20 Oct 2005 15:58:09 +0800
Tag:    v1.5.3

& should have been &amp; (of course)

commit 9a94d087a80d6f517e695fbfb1fa5717148a9b5f
Author: thepurpleblob <thepurpleblob>
Date:   Wed, 19 Oct 2005 13:41:44 +0800
Tag:    v1.5.3

Strange missing parameter - bug #4121

commit 1a87ac6a6cabae40271efdb6b400a6e63d3d7ff9
Author: thepurpleblob <thepurpleblob>
Date:   Fri, 16 Sep 2005 18:02:42 +0800
Tag:    v1.5.3

Fixed problem with courseid not being passed.

commit d40177d7a21da9c55938c1537dcacc87b4408ebc
Author: thepurpleblob <thepurpleblob>
Date:   Fri, 16 Sep 2005 17:46:02 +0800
Tag:    v1.5.3

Taken check for too many answers out. Julian has fixed the edit screens.

commit a9a26d5a455303d6dad007f6514e106b23766aff
Author: thepurpleblob <thepurpleblob>
Date:   Fri, 16 Sep 2005 17:34:58 +0800
Tag:    v1.5.3

Added string for 'importmaxerror'

commit 89aa5d49eee8851138761a4912dd9fd0cff5c8fc
Author: thepurpleblob <thepurpleblob>
Date:   Fri, 16 Sep 2005 17:30:54 +0800
Tag:    v1.5.3

Maximum number of answers now governed by constant in locallib.php not by hardcoded value.

commit 1122563591c16041673918fc0da5d99f52fcfdaa
Author: thepurpleblob <thepurpleblob>
Date:   Tue, 13 Sep 2005 21:49:27 +0800
Tag:    v1.5.3

Check if html editor is enabled before checking htmleditor setting from screen. Removes notice if editor not in use (therefore field  was not displayed)

commit 26996407cb7e4aae1b8559fb0e86238f558f5563
Author: thepurpleblob <thepurpleblob>
Date:   Fri, 26 Aug 2005 19:58:34 +0800
Tag:    v1.5.3

Suppress some 'missing course object' messages, and fix bug #3899

commit 55fdf029ab8f71c705dd57503b520cb058cf0500
Author: thepurpleblob <thepurpleblob>
Date:   Fri, 26 Aug 2005 19:33:08 +0800
Tag:    v1.5.3

Import now passes $course object to import/export format object.

commit bbeffa6ff81a7b9d130a4b16bc54f0f820969211
Author: thepurpleblob <thepurpleblob>
Date:   Wed, 17 Aug 2005 18:34:54 +0800
Tag:    v1.5.3

Whoops - forgot to remove (commented out at least) debugging code.

commit 64fdd835fbd8bdc473fe13b4775d4d268f6d8bb0
Author: thepurpleblob <thepurpleblob>
Date:   Wed, 17 Aug 2005 18:31:46 +0800
Tag:    v1.5.3

For changing password, default change password was selected rather than for the auth method actually used by the user.

commit 6a239dbe877017371ded7ae428d0d01f74f437b1
Author: thepurpleblob <thepurpleblob>
Date:   Wed, 17 Aug 2005 18:27:50 +0800
Tag:    v1.5.3

Call to clear force change password flag passed $user object rather than user id, so it would never be cleared.

commit ac00624f97155fbb2c97919b1cb8d6b68da72e63
Author: thepurpleblob <thepurpleblob>
Date:   Thu, 21 Jul 2005 17:25:29 +0800
Tag:    v1.5.3

Fixed bug where path to exported file could be incorrect in non en languages.

commit 96157e798654605e3148554f6dfd725f7c2d8c5d
Author: thepurpleblob <thepurpleblob>
Date:   Thu, 21 Jul 2005 16:48:48 +0800
Tag:    v1.5.3

Tidy up of import/export function layout to match coding standard

commit 486ca471fb9aed77a25f7d27f7b9dc7d3a3bd5e6
Author: thepurpleblob <thepurpleblob>
Date:   Wed, 20 Jul 2005 16:01:17 +0800
Tag:    v1.5.3

Remove long answer check - does not seem to be requires as db field is 'text' Fixed notices caused by uninitialised $question variable

commit 5c15bd839fd9e63054ba6f6a820afe368a769f4d
Author: thepurpleblob <thepurpleblob>
Date:   Tue, 19 Jul 2005 15:59:16 +0800
Tag:    v1.5.3

Empty feedback array added for multiple choice questions, needed by underlying quiz library. Still some notices in this that need looking at

commit 6482f073ac18b712e6a6b3622043709177cd0655
Author: thepurpleblob <thepurpleblob>
Date:   Fri, 24 Jun 2005 21:17:03 +0800
Tag:    v1.5.1

Added empty feedback array to prevent error when questions are saved.

commit 425e7df6eead596581636b538905cb5135815d3d
Author: thepurpleblob <thepurpleblob>
Date:   Fri, 24 Jun 2005 21:01:42 +0800
Tag:    v1.5.1

tolerance being picked up from 'old' place in object. Fixed.

commit 43079e18833cce649ffdcb2fe96e861d3bfda1d6
Author: thepurpleblob <thepurpleblob>
Date:   Fri, 24 Jun 2005 20:47:55 +0800
Tag:    v1.5.1

Seems 'core' classes changed to 'internal' folder in latest version. I simply changed the path in the class. How this never show up........

commit 5fe35ab0e34e79e2063b77a0d75283e7dc450bef
Author: thepurpleblob <thepurpleblob>
Date:   Thu, 23 Jun 2005 17:02:45 +0800
Tag:    v1.5.1

improved name of function - clean_getstring_data() - and call it only is data is actually defined.

commit 1a08f75e5031acad7363e3fee001fdcf559f368f
Author: thepurpleblob <thepurpleblob>
Date:   Tue, 21 Jun 2005 20:29:03 +0800
Tag:    v1.5.1

Improved 'cleaning' of optional data parameter in get_string() to include objects

commit df677142d9569f7236b99ff424cb3017d33772f1
Author: thepurpleblob <thepurpleblob>
Date:   Mon, 20 Jun 2005 17:14:32 +0800
Tag:    v1.5.1

Fixed typo. See bug #3573

commit ecc0c8b802050fdafaa6e40e2f9e57b34faf692b
Author: thepurpleblob <thepurpleblob>
Date:   Mon, 20 Jun 2005 17:08:48 +0800
Tag:    v1.5.1

Escape % signs in get_string() function optional parameter. Bug #3527

commit fc823bf378f577292092e9ba3175355f20a8b521
Author: thepurpleblob <thepurpleblob>
Date:   Mon, 20 Jun 2005 16:26:17 +0800
Tag:    v1.5.1

Added missing sesskey field to module config screen

commit f04eda06be15e7d08d79857d08c1048ddb9a95b4
Author: thepurpleblob <thepurpleblob>
Date:   Fri, 10 Jun 2005 02:51:49 +0800
Tag:    v1.5.1

Added a chunk on defensive/secure coding. With due deference to Petr Skoda from which a lot of it was stolen.

commit 382c50809b4daff4bd18789819b05b7bfa8e0ea0
Author: thepurpleblob <thepurpleblob>
Date:   Thu, 09 Jun 2005 21:58:41 +0800
Tag:    v1.5.1

Removed use of assert function for session objects.

commit 2fbfbcdd7ba72a5b6d8093174083b4cf43b8d022
Author: thepurpleblob <thepurpleblob>
Date:   Thu, 09 Jun 2005 17:39:26 +0800
Tag:    v1.5.1

Use of 'register_global' type functionality removed and replaced with required_param() and optional_param().

commit f24e18ee85778ea0be4708c657add52ed4051e1d
Author: thepurpleblob <thepurpleblob>
Date:   Tue, 07 Jun 2005 20:35:39 +0800
Tag:    v1.5.1

Added assert_var_set() - part of trying to deprecate required_variable (which is used in two different ways)

commit b20337b8883bf1e7cc25b24112a698b00c14cc31
Author: thepurpleblob <thepurpleblob>
Date:   Tue, 07 Jun 2005 17:43:45 +0800
Tag:    v1.5.1

Converted required_variable() to required_param()

commit 74be4f9a8d1c3c4c6d70dd07864cdc1df508197f
Author: thepurpleblob <thepurpleblob>
Date:   Sun, 05 Jun 2005 15:37:16 +0800
Tag:    v1.5.0

Removed reference to Journals.

commit cdd11103b7ce4ea6eb72c45cde139ed60362b036
Author: thepurpleblob <thepurpleblob>
Date:   Sun, 05 Jun 2005 15:24:46 +0800
Tag:    v1.5.0

Removed reference to Journal

commit dab41ccfdc170ad944524681e051fadc7660c1f6
Author: thepurpleblob <thepurpleblob>
Date:   Sun, 05 Jun 2005 15:11:44 +0800
Tag:    v1.5.0

Removed reference to Journal.

commit 49e84387533797748bdb864b2dc68d4cdd20795d
Author: thepurpleblob <thepurpleblob>
Date:   Sun, 05 Jun 2005 14:51:09 +0800
Tag:    v1.5.0

Removed references to Journal.

commit 12c3f08cb0052f5944e3d373c82caf5301647e26
Author: thepurpleblob <thepurpleblob>
Date:   Sun, 05 Jun 2005 14:47:02 +0800
Tag:    v1.5.0

Removed reference to journals.

commit 2f6b3b1966d690799488de7cfb2a4647a6e7c8b7
Author: thepurpleblob <thepurpleblob>
Date:   Sun, 05 Jun 2005 14:44:09 +0800
Tag:    v1.5.0

Removed references to journals.

commit 5c6c7224eb04dd59120746c9811a92b078f54c91
Author: thepurpleblob <thepurpleblob>
Date:   Tue, 31 May 2005 23:17:20 +0800
Tag:    v1.5.0

Took out dos line endings

commit a40014f7582c802564f052fa59d39d81889a4025
Author: thepurpleblob <thepurpleblob>
Date:   Tue, 31 May 2005 22:45:05 +0800
Tag:    v1.5.0

Removed spurious aligns in <input> tags for optional units - now formats properly in Apple Safari

commit 53b9b145ab6d59ddf366c084653d64bda9ef81a3
Author: thepurpleblob <thepurpleblob>
Date:   Tue, 31 May 2005 22:21:28 +0800
Tag:    v1.5.0

Fixed incorrect !important tags in CSS

commit ded34598217afbd70258b714a222cf51637cdf06
Author: thepurpleblob <thepurpleblob>
Date:   Tue, 31 May 2005 21:34:15 +0800
Tag:    v1.5.0

'Fixed' quizzes_category_used declaration to make it work. Based on it only being called in one place. Might need a 'proper' fix though, but this gets us moving!

commit 331b64ac3ffcbb08fa7d6f4b33760020a9570562
Author: thepurpleblob <thepurpleblob>
Date:   Tue, 31 May 2005 18:11:00 +0800
Tag:    v1.5.0

Removed uneccessary call-time pass by reference.

commit b89246267bb4238bd4ccfbff6dcc6b445a1d3c21
Author: thepurpleblob <thepurpleblob>
Date:   Tue, 31 May 2005 18:02:48 +0800
Tag:    v1.5.0

Checks import/export class file actually exists before trying to include it.

commit 05ac097e4c5ac40f0a19e925c91d5023dad0c847
Author: thepurpleblob <thepurpleblob>
Date:   Wed, 25 May 2005 00:53:34 +0800
Tag:    v1.5.0

Now includes missing text re. missingword format suppporting short answer questions.

commit b0fe38fc787a71a82ce2802c708e043913ec10dd
Author: thepurpleblob <thepurpleblob>
Date:   Tue, 24 May 2005 23:17:07 +0800
Tag:    v1.5.0

Put addslashes around question name - truncate at unlucky point could break sql.

commit 90bf11b2fd4dd8a1d20f74fb973dcace2f0b19be
Author: thepurpleblob <thepurpleblob>
Date:   Wed, 30 Mar 2005 23:13:41 +0800
Tag:    v1.5.0

A start on wiki-like to Markdown converter. Needs more work yet!

commit 6e31897b2db3401f5a5e107e961e27c4b55b7e71
Author: thepurpleblob <thepurpleblob>
Date:   Thu, 03 Mar 2005 19:52:02 +0800
Tag:    v1.5.0

Export know knows about random questions so it can ignore them

commit 87345478a5d9ccb00f6d0745eb3bb13c5e23eda0
Author: thepurpleblob <thepurpleblob>
Date:   Thu, 03 Mar 2005 19:51:07 +0800
Tag:    v1.5.0

Now ignores random questions when exporting.

commit 4c6b9b84d6db5f75b9c15f24ce8b757a4de385b6
Author: thepurpleblob <thepurpleblob>
Date:   Thu, 17 Feb 2005 23:24:59 +0800
Tag:    v1.5.0

Added link to Markdown format help.

commit 580b586bd8ab943ddeaae0bcaeea82bf0620621f
Author: thepurpleblob <thepurpleblob>
Date:   Thu, 17 Feb 2005 23:22:13 +0800
Tag:    v1.5.0

More (advanced) help on Markdown format  - submitted by Dave Scotson

commit 8b8a1caaaa89a232b5686e5577af21a24cdef05f
Author: thepurpleblob <thepurpleblob>
Date:   Thu, 17 Feb 2005 22:41:05 +0800
Tag:    v1.5.0

Dumps a question as an IMS QTI Manifest. Can be called from external programs requiring this data. Submitted by Brian King.

commit 658c8f34be9f0b335c02f477f6083114d4deb0e9
Author: thepurpleblob <thepurpleblob>
Date:   Thu, 17 Feb 2005 22:31:59 +0800
Tag:    v1.5.0

Added Moodle XML format.

commit 371374f80977647c19a3408b3537a2f1b814914b
Author: thepurpleblob <thepurpleblob>
Date:   Thu, 17 Feb 2005 22:31:25 +0800
Tag:    v1.5.0

Added help for IMS QTI and Moodle XML formats

commit c3f3823315c57c9e3337ab849e3871014c4c1984
Author: thepurpleblob <thepurpleblob>
Date:   Thu, 17 Feb 2005 22:11:14 +0800
Tag:    v1.5.0

New improved help text for Markdown format. Thanks to Dave Scotson.

commit 06e273a1c3496a67193a16485ff695d273f69523
Author: thepurpleblob <thepurpleblob>
Date:   Thu, 17 Feb 2005 21:39:35 +0800
Tag:    v1.5.0

Brian King's new QTI export capability - needs some testing yet.

commit 425d616a1e370f69ed44ff6504cccd1b1fb0f8a2
Author: thepurpleblob <thepurpleblob>
Date:   Thu, 17 Feb 2005 21:37:49 +0800
Tag:    v1.5.0

Smarty templates used for new qti export feature.

commit 84bbe7f9d3b98e1d49f2a29095ca0388ae94df7d
Author: thepurpleblob <thepurpleblob>
Date:   Fri, 28 Jan 2005 00:40:40 +0800
Tag:    v1.5.0

fixed some incorrect xhtml in the delete bit - missing quotes

commit b90d6ed1e26378ef3ecb72aa11358e9c15698441
Author: thepurpleblob <thepurpleblob>
Date:   Fri, 28 Jan 2005 00:18:27 +0800
Tag:    v1.5.0

factored out functionality to check if question is in use on delete will be using this to delete whole categories of questions (or not)

commit bb5e13d5141058b42364187238d304a9ded524ec
Author: thepurpleblob <thepurpleblob>
Date:   Fri, 28 Jan 2005 00:10:25 +0800
Tag:    v1.5.0

factored out function to see if question is used in quiz into the library

commit ddd8f87f7aa6f4b40882e65dd48c684a4c21d281
Author: thepurpleblob <thepurpleblob>
Date:   Thu, 27 Jan 2005 19:24:26 +0800
Tag:    v1.5.0

multianswerchoice questions added to example questions.

commit 2d4aa134d5d8e9c25f7a10797915013d0e0a8ac5
Author: thepurpleblob <thepurpleblob>
Date:   Thu, 27 Jan 2005 19:22:45 +0800
Tag:    v1.5.0

Addition code to handle 'multianswerchoice' type Learnwise questions.

commit 201d8027f86f03426794c3f59554d48cb7a8eb5b
Author: thepurpleblob <thepurpleblob>
Date:   Wed, 26 Jan 2005 18:47:54 +0800
Tag:    v1.5.0

Added bit for Learnwise import format.

commit 183dfda0f23ddffd10a3d1b5d1db4f6313333656
Author: thepurpleblob <thepurpleblob>
Date:   Wed, 26 Jan 2005 18:41:43 +0800
Tag:    v1.5.0

Added Learnwise import format string

commit 7452a561105bdde4cebab77f2b3f579f7dfd0df4
Author: thepurpleblob <thepurpleblob>
Date:   Wed, 26 Jan 2005 18:37:16 +0800
Tag:    v1.5.0

HTML Entities are now 'reversed' on import.

commit 8f0876a98bef765f41fff87b7dfd1a43890f8aa2
Author: thepurpleblob <thepurpleblob>
Date:   Wed, 26 Jan 2005 18:36:31 +0800
Tag:    v1.5.0

Added example file of the learnwise import format

commit 1680925333d35cb0ed0209f3b5c27fc681c9d278
Author: thepurpleblob <thepurpleblob>
Date:   Wed, 26 Jan 2005 04:18:05 +0800
Tag:    v1.5.0

Adding Learnwise import - created by Alton College, Hampshire UK Still to do testing etc.

commit 84a93f1c2496138b9143c9d206721245fefe6d04
Author: thepurpleblob <thepurpleblob>
Date:   Mon, 24 Jan 2005 23:45:20 +0800
Tag:    v1.5.0

Added empty array into question object for multiplier field in numeric questions Stops a bunch of warnings when quiz is imported

commit d75bc0b272db06ec112c68f2e05f595358dbdd31
Author: thepurpleblob <thepurpleblob>
Date:   Fri, 24 Dec 2004 19:16:43 +0800
Tag:    v1.5.0

Now supports shortanswer import. Cleaned up the CDATA import too.

commit 37df8c250ccd1b518ba2c7ba029c4f430fb915b0
Author: thepurpleblob <thepurpleblob>
Date:   Mon, 20 Dec 2004 23:31:27 +0800
Tag:    v1.5.0

Fixed typo that has crept in.

commit 75e496f73d7624ca24c1b1cc4aa1eaf568ac0e86
Author: thepurpleblob <thepurpleblob>
Date:   Mon, 20 Dec 2004 22:34:07 +0800
Tag:    v1.5.0

Fixed a couple of bugs in the xml formatting. Issue with Markdown text still to resolve.

commit d6b3c7b82e9f385daf6f9d642e8112a6bc7298ce
Author: thepurpleblob <thepurpleblob>
Date:   Thu, 16 Dec 2004 23:54:51 +0800
Tag:    v1.5.0

Added xml format import. First pass for testing. Just multiple choice and true/false at the moment and needs further testing and polishing.

commit 0cc29b85c4809788771c7f18f8b39245cfeca70d
Author: thepurpleblob <thepurpleblob>
Date:   Tue, 14 Dec 2004 01:28:34 +0800
Tag:    v1.5.0

Fixed typo in escaping exported text.

commit ca6477c5acdbda860b86fdec596cab1fb425fd30
Author: thepurpleblob <thepurpleblob>
Date:   Mon, 13 Dec 2004 19:37:45 +0800
Tag:    v1.5.0

Can now export HTML - dangerous characters are converted to entities.

commit 77cfab9ba9f324c1798718142352c8cba7974840
Author: thepurpleblob <thepurpleblob>
Date:   Sun, 12 Dec 2004 18:48:05 +0800
Tag:    v1.5.0

Now correctly escapes 'reserved' characters when exporting GIFT format.

commit 3397020814014b84f3837658ac23e58d5192bd4e
Author: thepurpleblob <thepurpleblob>
Date:   Fri, 10 Dec 2004 00:18:23 +0800
Tag:    v1.5.0

Bug in export of multichoice-multianswer questions fixed. Thanks to Nguyen Tuan Anh for spotting this and providing the fix!

commit 963c3b552d63c6b8b3f952b8e0295673e0e49d5c
Author: thepurpleblob <thepurpleblob>
Date:   Fri, 27 Aug 2004 22:31:40 +0800
Tag:    v1.5.0

$courseid now sent to wiki conversion properly

commit 546764d89c32262046baa4b53cfa4de2eb805008
Author: thepurpleblob <thepurpleblob>
Date:   Fri, 27 Aug 2004 22:22:01 +0800
Tag:    v1.5.0

Now gets it's courseid properly from the caller