Git commits in Moodle 1.5.3 by mindforge

commit 1eff1e081c31e6d795a3e3083d2b569b2d2a9ee6
Author: mindforge <mindforge>
Date:   Sat, 01 Oct 2005 19:07:15 +0800
Tag:    v1.5.3

Changed the review 'scores' option to also take effect on the standard feedback displayed at the bottom of a question.

commit 7b838d2a97caf66056d3989e5d629fc38ac58f97
Author: mindforge <mindforge>
Date:   Thu, 29 Sep 2005 19:06:47 +0800
Tag:    v1.5.3

Fixed addslashes and stripslashes of responses. Now slashes are stripped in quiz_extract_responses, leading to an improvement in grading (before " a man's world" would have been graded as "a man\'s world").

commit 494b416d7b0390ef2d24f5fb0ac2087a14c77119
Author: mindforge <mindforge>
Date:   Thu, 29 Sep 2005 06:39:26 +0800
Tag:    v1.5.3

Fixed two minor bugs in the random questiontype.

commit e56820d225bc55f1c9ce8a3d6c4b9b2be3278245
Author: mindforge <mindforge>
Date:   Thu, 29 Sep 2005 06:35:54 +0800
Tag:    v1.5.3

Added code to delete records from quiz_newest_states when a quiz instance is deleted.

commit db504824f814bbf2deed1a5e261484e9f06aedfb
Author: mindforge <mindforge>
Date:   Mon, 26 Sep 2005 20:31:23 +0800
Tag:    v1.5.3

A better fix for bug #4110 and the previous one undone.

commit 8bcbac01269d0b571967d805e2c3884b40273f2a
Author: mindforge <mindforge>
Date:   Mon, 26 Sep 2005 19:22:08 +0800
Tag:    v1.5.3

Possible fix for bug #4110.

commit b4d2ebf9524c40ef667d515b84d26fcb1cd1143d
Author: mindforge <mindforge>
Date:   Mon, 26 Sep 2005 17:24:45 +0800
Tag:    v1.5.3

Improved dispaly of correct answers in the calculated questiontype.

commit f9bec1f2e79b00c8a5bc4a31eff5b4769e4d1a24
Author: mindforge <mindforge>
Date:   Mon, 26 Sep 2005 17:18:22 +0800
Tag:    v1.5.3

Another improvement on regrading. The code thought that grading for a question changed if the grade was like 1/3. The precision in the database is different than the newly calculated grade, so now we round both values to 5 decimal places, which should fix this problem.

commit 72d09c0a5a78b34de3e4a9f621cb957a60be64ae
Author: mindforge <mindforge>
Date:   Mon, 26 Sep 2005 17:14:33 +0800
Tag:    v1.5.3

Improved regrading (raw_grades were compared in order to determine whether the grading of a question changed, now grade is used, which also catches if penalties are turned on/off in the quiz settings)

commit 254fdebbc9e8ec8330a6d5df92532f5666d2b876
Author: mindforge <mindforge>
Date:   Mon, 26 Sep 2005 17:10:52 +0800
Tag:    v1.5.3

Silenced notices produced by flush() and ob_flush() in regrading code.

commit b5ee139f783a0efe856a7eb54b472c1ada116a83
Author: mindforge <mindforge>
Date:   Mon, 26 Sep 2005 05:03:12 +0800
Tag:    v1.5.3

Little fix in the grading logic (this should only have affected numerical questions with mre than one answer as can be used in cloze).

commit e2823d208abfc59457c2b2681003911268a92d2e
Author: mindforge <mindforge>
Date:   Fri, 16 Sep 2005 18:06:58 +0800
Tag:    v1.5.3

As discussed in the thread http://moodle.org/mod/forum/discuss.php?d=30628 (and others) the limitation to 10 answers in a question is problematic for some users.

commit a4df55c815c5e22e8436c485bc5c1f0e991a3588
Author: mindforge <mindforge>
Date:   Fri, 16 Sep 2005 17:24:50 +0800
Tag:    v1.5.3

Small fix to the previous commit (< becomes <=).

commit a67c2e0a33cc9dd03ef8bf501a5c7a343c88b377
Author: mindforge <mindforge>
Date:   Fri, 16 Sep 2005 17:12:25 +0800
Tag:    v1.5.3

As discussed in the thread http://moodle.org/mod/forum/discuss.php?d=30628 (and others) the limitation to 10 answers in a question is problematic for some users. I modified the match questiontype to (a) display all defined answers (e.g. from an import with more than 10 answers) and (b) to always display one additional empty answer field.

commit 14be3fe259c9fd6d84818e4249f76942d3889788
Author: mindforge <mindforge>
Date:   Wed, 14 Sep 2005 19:09:32 +0800
Tag:    v1.5.3

Added dropdown to allow sorting the question list on the quiz editing page in different ways. This also allows defining a custom sortorder in the URL.

commit c99e2d2c669757da8d89119403fd86e9477ca154
Author: mindforge <mindforge>
Date:   Sat, 10 Sep 2005 00:47:33 +0800
Tag:    v1.5.3

Changed use of htmlspecialchars() to s().

commit 7ece83dec6a10303a8f45aa649d9b7483c687d7d
Author: mindforge <mindforge>
Date:   Fri, 09 Sep 2005 02:00:53 +0800
Tag:    v1.5.3

Fixed an unreported bug.

commit 9fe710159f60087da808ded720f2ffc2f2e71fb6
Author: mindforge <mindforge>
Date:   Wed, 07 Sep 2005 21:59:28 +0800
Tag:    v1.5.3

Fix for the issue described in http://moodle.org/mod/forum/discuss.php?d=30192

commit f40cc4a843b098a747f5dafceb2eab4802eccdb0
Author: mindforge <mindforge>
Date:   Tue, 30 Aug 2005 16:50:09 +0800
Tag:    v1.5.3

Fix for bug #3986

commit d67775e55a975aa338e89f297a0025f434cd0f26
Author: mindforge <mindforge>
Date:   Tue, 16 Aug 2005 20:43:34 +0800
Tag:    v1.5.3

Fixed bug #3884.

commit cf0371143cbc9685e67d0d1d28fff60cf65dbdac
Author: mindforge <mindforge>
Date:   Mon, 15 Aug 2005 19:48:57 +0800
Tag:    v1.5.3

Enabling $options->correct_responses for multianswer questions. I.e. highlighting of correct answers can now be turned off.

commit d3a126d9c0f8279ce2da2f6eb6b3b832fbec78f3
Author: mindforge <mindforge>
Date:   Mon, 15 Aug 2005 19:36:43 +0800
Tag:    v1.5.3

Fix for the bug described in the discussions http://moodle.org/mod/forum/discuss.php?d=26526 and http://moodle.org/mod/forum/discuss.php?d=27274

commit c735b8fe65a12e3bb448de25cb26aa961edb90ef
Author: mindforge <mindforge>
Date:   Tue, 02 Aug 2005 21:32:19 +0800
Tag:    v1.5.3

Copied a bugfix from 1.6 that hadn't been synchronized. Fixes bug #3804

commit d4a87bc0a1a075eb1a8c0787fb0a7ee4defa19ba
Author: mindforge <mindforge>
Date:   Sat, 16 Jul 2005 19:17:19 +0800
Tag:    v1.5.3

Synchronized with 1.6 version.

commit 5617a702881679928f11f4f34dbc8c85b73dca69
Author: mindforge <mindforge>
Date:   Sat, 16 Jul 2005 19:13:43 +0800
Tag:    v1.5.3

Removed redundant ->order field from randomsamatch.

commit 08bdd05d61d6d9cac2672e77757f74679cfdbc81
Author: mindforge <mindforge>
Date:   Sat, 16 Jul 2005 18:47:39 +0800
Tag:    v1.5.3

Made sure that the answers are compared in the order they are provided by the question editor (ORDER BY id ASC), so that an asterisk can be used to catch any incorrect responses in order to provide feedback.