Git commits in Moodle x.x.x by michaelpenne

commit 02f071d147d4802288bba59375494f3d13213bde
Author: michaelpenne <michaelpenne>
Date:   Tue, 02 May 2006 03:02:38 +0800
Tag:    v1.6.0

lesson_default table had become out of synch with the lesson table.  Needed to add new columns.

commit a60906a298cc5da560927cfc039cab69f6086d06
Author: michaelpenne <michaelpenne>
Date:   Tue, 28 Mar 2006 08:37:42 +0800
Tag:    v1.5.4

[BugFix] Multiple essays were not showing for grading: http://moodle.org/mod/forum/discuss.php?d=41999#195580

commit a7ae1ad3fdc4c05a9a9c38c1b0c8fe113588a555
Author: michaelpenne <michaelpenne>
Date:   Tue, 28 Mar 2006 08:30:24 +0800
Tag:    v1.6.0

[BugFix] Multiple essays were not showing for grading: http://moodle.org/mod/forum/discuss.php?d=41999#195580

commit 8a18280393a6a006be394da8581aa774917fdca2
Author: michaelpenne <michaelpenne>
Date:   Thu, 23 Mar 2006 02:06:00 +0800
Tag:    v1.6.0

Added a new entry to this file for Essay question type.  I followed the format of the other question types listed in this file.

commit 1b704069c4c34fd632de63508c9033f0699c6f5c
Author: michaelpenne <michaelpenne>
Date:   Thu, 23 Mar 2006 02:03:42 +0800
Tag:    v1.6.0

Help file for the Essay question type.

commit 2ea3451018b517efef71de1663291dd6173d7429
Author: michaelpenne <michaelpenne>
Date:   Thu, 16 Mar 2006 11:26:49 +0800
Tag:    v1.6.0

SQL error occured when viewing this page and no questions have been added to the quiz.  This has been fixed.

commit c5b71097bcb81ee8c3b14f24b9a53b91acd540fc
Author: michaelpenne <michaelpenne>
Date:   Sat, 11 Mar 2006 08:23:21 +0800
Tag:    v1.6.0

[BugFix] Bug #4852 - HTML editor problems

commit 379bf738933809463b64c9db72180120aa9f8c17
Author: michaelpenne <michaelpenne>
Date:   Thu, 09 Mar 2006 10:27:23 +0800
Tag:    v1.6.0

[Added] Added lang entry for lesson_delete_course() feedback

commit eee850986f399af4f7f52f73b14e2d6bf0e573b5
Author: michaelpenne <michaelpenne>
Date:   Thu, 09 Mar 2006 10:26:20 +0800
Tag:    v1.6.0

[Added] Added function lesson_delete_course() to clean up the lesson_default table

commit 6094f43dd567b41a8ba2a2db3e40cf772685b26f
Author: michaelpenne <michaelpenne>
Date:   Sat, 25 Feb 2006 05:31:23 +0800
Tag:    v1.6.0

[Fix] Removed htmlentities on student answer.

commit 7e42b04bbce0df748b12c283a3f9ba120d851674
Author: michaelpenne <michaelpenne>
Date:   Sat, 25 Feb 2006 05:27:51 +0800
Tag:    v1.5.4

[Fix] $navigation and $grade_value were undefined when lesson was added to site main page

commit 44492c2a18cc6151243a15c5a1b15d8abefef449
Author: michaelpenne <michaelpenne>
Date:   Sat, 25 Feb 2006 05:26:15 +0800
Tag:    v1.6.0

[Fix] $navigation and $grade_value were undefined when lesson was added to site main page

commit f0ebc0976fc349f136d39df9456154cfd5760378
Author: michaelpenne <michaelpenne>
Date:   Sat, 25 Feb 2006 04:25:36 +0800
Tag:    v1.5.4

[BugFix] Bug #4174 - Lesson Essay Question Can't be Graded when attempt not finished

commit 0d2df6a0497d0ee246ab2aa404d8b06deeecd281
Author: michaelpenne <michaelpenne>
Date:   Sat, 25 Feb 2006 04:17:41 +0800
Tag:    v1.6.0

Removed correct and incorrect colors.

commit 1ae43a52f98f313c10b2c31ef91b391e5a4039f8
Author: michaelpenne <michaelpenne>
Date:   Sat, 25 Feb 2006 04:17:08 +0800
Tag:    v1.6.0

[BugFix] Bug #4174 - Lesson Essay Question Can't be Graded when attempt not finished

commit 0ac937251789e0149035cbb98e3d34e6f010e082
Author: michaelpenne <michaelpenne>
Date:   Sat, 25 Feb 2006 03:42:13 +0800
Tag:    v1.6.0

[BugFix] Bug #4828 - \ stripping problem

commit c200adccf6b06c89500336e7ba8cb0074fdafde2
Author: michaelpenne <michaelpenne>
Date:   Sat, 25 Feb 2006 03:19:11 +0800
Tag:    v1.5.4

[BugFix] Bug #4216 - cancel button

commit ee27cca526a139e8f7ea767e255ef0b808b377fa
Author: michaelpenne <michaelpenne>
Date:   Sat, 25 Feb 2006 03:09:14 +0800
Tag:    v1.6.0

[BugFix] Bug #4216 - cancel button

commit 150cdce033d595a05b16f5389abd8770340238fc
Author: michaelpenne <michaelpenne>
Date:   Thu, 23 Feb 2006 09:01:16 +0800
Tag:    v1.6.0

[Update] Updated the help files to support regular expressions in short answer

commit e2d89fc3a760b0685ce8f524ff1b609eea8d1d1f
Author: michaelpenne <michaelpenne>
Date:   Thu, 23 Feb 2006 08:42:46 +0800
Tag:    v1.6.0

[Changed/Added] langs for regular expression code in short answer

commit d643cbfb73b88889b1ea9a5f3a3356f500347c9d
Author: michaelpenne <michaelpenne>
Date:   Thu, 23 Feb 2006 08:41:28 +0800
Tag:    v1.6.0

[Added] Added Regular Expression support for short answers by Joseph Rézeau.  Discussion: http://moodle.org/mod/forum/discuss.php?d=38544

commit e51b142a78154ee57f0068ee064c10f1a45ccd85
Author: michaelpenne <michaelpenne>
Date:   Thu, 16 Feb 2006 08:30:50 +0800
Tag:    v1.6.0

Removed changes made earlier for ungraded essay questions.  Will try to find an alternate method.

commit b9376ebef0b95f174d682f71ab8740ea31e420a7
Author: michaelpenne <michaelpenne>
Date:   Tue, 14 Feb 2006 04:27:34 +0800
Tag:    v1.6.0

The following changes were made to help reduce confusion for students when essay questions are being used in a quiz.

commit d8ed413b9217b4812f9468e0da34b7d78bcaa330
Author: michaelpenne <michaelpenne>
Date:   Tue, 14 Feb 2006 01:44:50 +0800
Tag:    v1.6.0

Converted tabs to spaces

commit 2f6f0b8ce2e934256ac9ee387e4af9d57e9510a9
Author: michaelpenne <michaelpenne>
Date:   Tue, 14 Feb 2006 01:41:19 +0800
Tag:    v1.6.0

[Fixed] In function save_session_and_responses, now checks to makes sure $state->options->graded is set.

commit 178f9028fdef314c5f44ed8be78eb95de75a5cd2
Author: michaelpenne <michaelpenne>
Date:   Thu, 09 Feb 2006 04:38:00 +0800
Tag:    v1.5.4

[Fixed] Bug #1187

commit 8e7cf8d4c910c3fb13de5c7e25a36f7b1fec3fa1
Author: michaelpenne <michaelpenne>
Date:   Tue, 07 Feb 2006 04:49:03 +0800
Tag:    v1.6.0

[Fixed] Activity linking was not useing the course module id correctly.

commit de1547bf6c4b86251b435ef4524357a7ea78cf40
Author: michaelpenne <michaelpenne>
Date:   Tue, 24 Jan 2006 08:47:11 +0800
Tag:    v1.6.0

[Fixed] A problem with storing the answerid for numerical questions.  Discussion here: http://moodle.org/mod/forum/discuss.php?d=37537

commit 7fe2010cebae801a6db73e4de4cd9de614eb381b
Author: michaelpenne <michaelpenne>
Date:   Tue, 24 Jan 2006 08:45:25 +0800
Tag:    v1.5.4

[Fixed] A problem with storing the answerid for numerical questions.  Discussion here: http://moodle.org/mod/forum/discuss.php?d=37537

commit b4f4f09ca8716ed26e4faf4fbb8d9bd81668e763
Author: michaelpenne <michaelpenne>
Date:   Sat, 14 Jan 2006 05:57:42 +0800
Tag:    v1.6.0

[Fixed] Fails gracefully when no course modules are found.

commit dfd02fa5d2899cc3c1ccb04094db87e8fb24c46e
Author: michaelpenne <michaelpenne>
Date:   Sat, 14 Jan 2006 05:55:21 +0800
Tag:    v1.6.0

[New] lang entry for when no course modules are in a course (for mod.html)

commit 6ef1c83de66161838888a40345045a9a714accb9
Author: michaelpenne <michaelpenne>
Date:   Sat, 14 Jan 2006 05:24:52 +0800
Tag:    v1.6.0

[Fixed] Display error in Windows IE.  Slideshow div would move on link rollover.  This is now fixed.

commit 9250c7f9177f0f7b927711b0092859c6d4f884e5
Author: michaelpenne <michaelpenne>
Date:   Sat, 14 Jan 2006 03:51:45 +0800
Tag:    v1.5.4

[Changed/BugFix] Now when a teacher edits a page with the "Edit page contents" button and then saves or cancels, s/he gets redirected back to the lesson navigation.  This will help to streamline the editing.

commit 451e99a00046e6807e2f5de25c2d693967eced0e
Author: michaelpenne <michaelpenne>
Date:   Sat, 14 Jan 2006 03:26:36 +0800
Tag:    v1.5.4

[BugFix] Bug #4586 in the moodle bug tracker

commit aeb8148a573f1f2454bf0fc1394b430498a31438
Author: michaelpenne <michaelpenne>
Date:   Sat, 14 Jan 2006 02:41:37 +0800
Tag:    v1.6.0

[Changed] Now when a teacher edits a page with the "Edit page contents" button and then saves or cancels, s/he gets redirected back to the lesson navigation.  This will help to streamline the editing

commit acab90991a77ef8165b848cdb36f9de3aec0913d
Author: michaelpenne <michaelpenne>
Date:   Thu, 17 Nov 2005 06:35:46 +0800
Tag:    v1.6.0

BUG FIX: progress bar now does not break when student reviews the lesson. BUG FIX: matching question type upgrade script now supports quotes.

commit fc4532d9a0d526d7544305868649ad217fe70268
Author: michaelpenne <michaelpenne>
Date:   Thu, 17 Nov 2005 06:32:17 +0800
Tag:    v1.6.0

new lang entries for skip navigation link

commit 47c5c434d28b3427b8c5764796e3cd8ac18d0976
Author: michaelpenne <michaelpenne>
Date:   Tue, 08 Nov 2005 04:00:14 +0800
Tag:    v1.6.0

new help file for activity link setting

commit 2a9b05b9fd6e40963881e899394526eb71ce1c55
Author: michaelpenne <michaelpenne>
Date:   Tue, 08 Nov 2005 03:58:15 +0800
Tag:    v1.6.0

New lang entries for Activity Link setting

commit 114f47a79e34076903153ac9c60fa13cfe69825d
Author: michaelpenne <michaelpenne>
Date:   Tue, 08 Nov 2005 03:56:08 +0800
Tag:    v1.6.0

NEW FEATURE: Activity Link allows the teacher to display a link to another activity, which is in the same course, at the end of the Lesson.

commit 16fa48c83ef5ce010f80cd7d037633699277906c
Author: michaelpenne <michaelpenne>
Date:   Thu, 03 Nov 2005 05:22:16 +0800
Tag:    v1.6.0

The Lesson dependency help button was pointing to the wrong help file.

commit af13355adae450ef63e91306ef62e8671251a979
Author: michaelpenne <michaelpenne>
Date:   Thu, 03 Nov 2005 05:21:03 +0800
Tag:    v1.6.0

New help file for lesson dependency.

commit 8d726b04aaed32bfe87b744bfbe1b343d03b23a1
Author: michaelpenne <michaelpenne>
Date:   Thu, 03 Nov 2005 04:41:26 +0800
Tag:    v1.6.0

Added content to the help file.

commit 42521dbff4f2db56d2f48a6a844f8188f9148b46
Author: michaelpenne <michaelpenne>
Date:   Thu, 03 Nov 2005 04:38:54 +0800
Tag:    v1.5.3

Added some content to the help file.

commit 48ff749817efca94e4671aa4ac514d9bb0745521
Author: michaelpenne <michaelpenne>
Date:   Sat, 29 Oct 2005 06:47:46 +0800
Tag:    v1.6.0

new help file for media setting in lesson

commit 7e163dc942d5c15db960a76e0dad23fd14f5ac58
Author: michaelpenne <michaelpenne>
Date:   Sat, 29 Oct 2005 06:46:50 +0800
Tag:    v1.6.0

New lang entries for the new features for media file

commit 3eca6cf1bf4db39028b8f5a7647ab23d2a0fb9a1
Author: michaelpenne <michaelpenne>
Date:   Sat, 29 Oct 2005 06:45:47 +0800
Tag:    v1.6.0

NEW FEATURE: Media file now works with web pages and with text and html files.  Also, the pop-up window size is configurable as well as an optional close button at the bottom of the window.

commit c83dca22878f4eb5de21f1d8bdd43f077df8babe
Author: michaelpenne <michaelpenne>
Date:   Sat, 29 Oct 2005 02:55:58 +0800
Tag:    v1.6.0

BUG FIX: Double print of content in branch tables with slide show on

commit 0017b962e68696e7ee19b5a09c8a409239bc5b36
Author: michaelpenne <michaelpenne>
Date:   Thu, 27 Oct 2005 07:11:26 +0800
Tag:    v1.6.0

BUG FIX: essay response was still hard coded in.  Replaced it with a get_string call

commit 3c34ce68021f4aa9de387e036d69ba9903fc49d8
Author: michaelpenne <michaelpenne>
Date:   Thu, 27 Oct 2005 05:48:24 +0800
Tag:    v1.6.0

reverted back some divs, minor change

commit fb0f70908bf0049daeac6264c1ade50f0f88c25f
Author: michaelpenne <michaelpenne>
Date:   Thu, 27 Oct 2005 05:43:48 +0800
Tag:    v1.6.0

BUG FIX: if one is a teacher, the left menu is always displayed.

commit 62eda6ea18ce9cccf77375288f10903e57d1037c
Author: michaelpenne <michaelpenne>
Date:   Tue, 25 Oct 2005 07:06:43 +0800
Tag:    v1.6.0

NEW: Progress bar option.  Now a progress bar can be optionally displayed at the bottom of the lesson page. NEW: Display Left Menu IF.  The left menu will only display if the student has a grade better than the one set in the lesson settings.  This is nice to allow only students who are reviewing the lesson to have access to the left menu.

commit 96074defc58b5e32d9c07a22e01d46129632dfb6
Author: michaelpenne <michaelpenne>
Date:   Tue, 25 Oct 2005 06:49:18 +0800
Tag:    v1.6.0

updated displayleft.html and adding a new help file

commit 11d5760f1cd8d736a40a7f9cc2c7d25df0163920
Author: michaelpenne <michaelpenne>
Date:   Tue, 25 Oct 2005 06:48:00 +0800
Tag:    v1.6.0

added a few new lang file entries for new lesson features

commit cd60a00cf9d39d67348f51a076b6bc6ec1cb435a
Author: michaelpenne <michaelpenne>
Date:   Sat, 15 Oct 2005 03:26:21 +0800
Tag:    v1.5.3

Removed a notice warning when lessons are created in a course with no category (eg: home page)

commit b6a64b02951b3a4bc54adf76112e57caad08f7dd
Author: michaelpenne <michaelpenne>
Date:   Sat, 15 Oct 2005 03:25:11 +0800
Tag:    v1.6.0

Removed a notice warning when lessons are created in a course with no category (eg: home page)

commit 225cffd6e1ff922729f5b3159199bf604c7474e1
Author: michaelpenne <michaelpenne>
Date:   Thu, 13 Oct 2005 04:16:04 +0800
Tag:    v1.6.0

New help file for Importing PowerPoint Files

commit cb5c5a1bfe7dfad19bcb27e289218384830c7b2e
Author: michaelpenne <michaelpenne>
Date:   Sat, 08 Oct 2005 04:34:27 +0800
Tag:    v1.5.3

Reverted grading back to 1.4.X for when custom scoring is turned OFF

commit 4e644e8d50606d85c6eb0204af9a49b05bb859a5
Author: michaelpenne <michaelpenne>
Date:   Sat, 08 Oct 2005 04:33:39 +0800
Tag:    v1.6.0

Reverted grading back to 1.4.X for when custom scoring is turned OFF

commit d6941aff55150e4da3dfdc9dc825c56e8e4a50e8
Author: michaelpenne <michaelpenne>
Date:   Thu, 06 Oct 2005 06:45:38 +0800
Tag:    v1.6.0

Recoded most of the left menu: Got rid of a table Restructured and added more div tags in the left menu (much more logical) Reworked the styles for the left menu in the styles sheet (everything should be customizable via style sheet) More compatible with MacIE5 Added styles to the individual links in the menu (allows styling the for currently selected page and for all the rest) Cleaned up the left menu link generation in locallib.php

commit b8437c1cbc9ed991b8e7800c8fb3782e980cb5d7
Author: michaelpenne <michaelpenne>
Date:   Tue, 04 Oct 2005 05:29:05 +0800
Tag:    v1.6.0

Removed filtering on page contents, answers and responses for lesson pages and their answers (this includes removing parameter cleaning and noclean in format_text).

commit 8b87bbde6c3737d78d5c83946ce6a49e8d6a5643
Author: michaelpenne <michaelpenne>
Date:   Tue, 04 Oct 2005 03:46:44 +0800
Tag:    v1.6.0

BIG FIX: "Edit Page Contents" button for when $pageid is empty (first page)

commit 544121b12dae214e0af74789c61ed79cc788468d
Author: michaelpenne <michaelpenne>
Date:   Thu, 29 Sep 2005 05:55:05 +0800
Tag:    v1.6.0

Switched buttons in lesson navigation to stylized links similar (well, the same rather for default) to the home button in the footer.  This will allow for easy (hopefully) personalized customization of the buttons in lesson (ex: background images, colors, etc).

commit 9bde557ccba3442a3850b562d010a0319448a685
Author: michaelpenne <michaelpenne>
Date:   Wed, 28 Sep 2005 01:36:46 +0800
Tag:    v1.6.0

added additional error string

commit e6d0653dc14c558ae06eab702e30fb792b351a88
Author: michaelpenne <michaelpenne>
Date:   Wed, 28 Sep 2005 01:36:22 +0800
Tag:    v1.6.0

Fixed extraneous code, modified for PHP5 compliance, added isteacher() check

commit 1d44f3a5d74677af3d4553e95154351654c57a55
Author: michaelpenne <michaelpenne>
Date:   Wed, 28 Sep 2005 01:27:05 +0800
Tag:    v1.5.3

Fixed errors in logic and lack of isteacher() check as pointed out by Petr Skoda

commit b46d9213ba331d79923fe195d91a1c2d37fd48bc
Author: michaelpenne <michaelpenne>
Date:   Thu, 22 Sep 2005 05:00:36 +0800
Tag:    v1.6.0

Added styles to the next and previous buttons on branch tables to allow customization

commit cfdfadecd385486da737c684b9c3e16d55307527
Author: michaelpenne <michaelpenne>
Date:   Tue, 20 Sep 2005 06:40:46 +0800
Tag:    v1.6.0

Changes the save button from 'Save' to 'Save Changes'.  More moodley smile

commit 503114809fd1682c311524e2a32925278b4e2d2a
Author: michaelpenne <michaelpenne>
Date:   Tue, 20 Sep 2005 06:38:18 +0800
Tag:    v1.6.0

Added backup/restore code for essay question type.  In the process of testing, fixed several other bugs in the quiz restore code regarding state restoration.

commit 275161455f068ef41c6e63f829c3882b77b6107e
Author: michaelpenne <michaelpenne>
Date:   Tue, 20 Sep 2005 06:35:03 +0800
Tag:    v1.6.0

When one deletes a course, essay records in the quiz_essay are now deleted

commit 4f1b94045452d2752bc4503b62c4061b749ba212
Author: michaelpenne <michaelpenne>
Date:   Tue, 20 Sep 2005 03:12:35 +0800
Tag:    v1.6.0

The two .sql scripts were missing the uniqueid column in the quiz_attempts table.

commit 71c47913a0681ccaa757a959bfedf8677a86d845
Author: michaelpenne <michaelpenne>
Date:   Tue, 30 Aug 2005 06:06:55 +0800
Tag:    v1.5.3

FIXED: Removed Notice Warning.  Sometimes an attempt's answerid field is not set because the answer that the student entered does not match any of the answers for the question.  This error comes up for Numerical and Short answer question types.

commit e83348c6f0f6c86ebb80ed3180f034e10b8c867b
Author: michaelpenne <michaelpenne>
Date:   Tue, 30 Aug 2005 06:04:13 +0800
Tag:    v1.6.0

FIXED: Removed Notice Warning.  Sometimes an attempt's answerid field is not set because the answer that the student entered does not match any of the answers for the question.  This error comes up for Numerical and Short answer question types.

commit 66fbb3b10fe97e069d48ff1505c540450d659e74
Author: michaelpenne <michaelpenne>
Date:   Tue, 30 Aug 2005 03:45:23 +0800
Tag:    v1.5.3

FIXED: Bug with reporting numerical question types.

commit da2a70faddc3244d3238a561e64f3a2cde2136cd
Author: michaelpenne <michaelpenne>
Date:   Tue, 30 Aug 2005 03:37:33 +0800
Tag:    v1.6.0

FIXED: Bug with reporting numerical question types.

commit eab678f193041fb54233a37b31e8d1a2f27e52a4
Author: michaelpenne <michaelpenne>
Date:   Fri, 05 Aug 2005 06:08:08 +0800
Tag:    v1.5.3

Fixed Bug #3652 - Gradebook catagory detail group view not working.

commit ee50df92a2b213941639901b608e16a8481c5336
Author: michaelpenne <michaelpenne>
Date:   Fri, 05 Aug 2005 06:07:39 +0800
Tag:    v1.6.0

Fixed Bug #3652 - Gradebook catagory detail group view not working.

commit d9ef8ddef6b3bff9a6ee0e719bf2e22d81669ace
Author: michaelpenne <michaelpenne>
Date:   Tue, 26 Jul 2005 02:50:39 +0800
Tag:    v1.5.3

removed a condition in an if statement that does not belong.  This is another part of the fix for this forum post: http://moodle.org/mod/forum/discuss.php?d=27908

commit aef6766f3f332091d41bcdedf435600aeb3f3621
Author: michaelpenne <michaelpenne>
Date:   Sat, 23 Jul 2005 06:01:54 +0800
Tag:    v1.5.3

Removed development code that accidentally got committed.  Sorry.  It appears the code was only in mod/lesson/view.php and lang/en/lesson.php

commit 3793147e596f7189c3603113c3e8bf34b504be4f
Author: michaelpenne <michaelpenne>
Date:   Sat, 23 Jul 2005 05:58:43 +0800
Tag:    v1.5.3

removed some lang entries that do not belong

commit 128660712b073a120ff1dc4e4289fd6944d6abdb
Author: michaelpenne <michaelpenne>
Date:   Sat, 23 Jul 2005 05:46:47 +0800
Tag:    v1.5.3

removed some lang entries that do not belong

commit 0bdb7db93fc962e748dbab48bfedddca6134a724
Author: michaelpenne <michaelpenne>
Date:   Sat, 23 Jul 2005 05:09:37 +0800
Tag:    v1.6.0

Fixed a path problem that occurs while unzipping

commit 58173120704b56b9bff014a31d27d39497c0b56d
Author: michaelpenne <michaelpenne>
Date:   Tue, 19 Jul 2005 02:24:42 +0800
Tag:    v1.6.0

Fixed bug with displaying the gradebook when it is only set to show percent to students as described here http://moodle.org/mod/forum/discuss.php?d=27521 thanks to Nikki Macfarlane for detailed info

commit 6b8fdfd03ec32de7ca529d10cfb02f2dc5e596e6
Author: michaelpenne <michaelpenne>
Date:   Mon, 18 Jul 2005 23:51:44 +0800
Tag:    v1.5.3

Fixed bug with displaying the gradebook when it is only set to show percent to students as described here http://moodle.org/mod/forum/discuss.php?d=27521 thanks to Nikki Macfarlane for detailed info

commit afbc9cbdc3b4b0ad92e65da53a6cfe38dca6699f
Author: michaelpenne <michaelpenne>
Date:   Fri, 15 Jul 2005 04:00:45 +0800
Tag:    v1.6.0

I think I have a solution for the problems with matching question type and upgrading moodle from 1.4.x to 1.5+.

commit 8d9d840a50b506ad9e5370ee292da6ad91ac2146
Author: michaelpenne <michaelpenne>
Date:   Fri, 15 Jul 2005 03:06:29 +0800
Tag:    v1.6.0

attempted to make the unzipping process and initial file reading more robust

commit 9aca363c1aa36620b65970ab6df0e264564a96ea
Author: michaelpenne <michaelpenne>
Date:   Wed, 13 Jul 2005 07:09:47 +0800
Tag:    v1.5.2

Bug 3531 fixed

commit 2be4ee62c1ac2526ddb9f26f02867b354921032e
Author: michaelpenne <michaelpenne>
Date:   Wed, 13 Jul 2005 07:07:31 +0800
Tag:    v1.6.0

Bug 3531 fixed

commit 4e83cfdf26d6347b8d8491f33b781cd9f18da465
Author: michaelpenne <michaelpenne>
Date:   Sat, 02 Jul 2005 04:12:40 +0800
Tag:    v1.6.0

Fixed a problem with grade_get_module_link Fixed styles issues with tables class="grades" for both category and overall view Fixed row styles for overall view to alternate every row rather than every 3 Fixed form processing code for grade letters to work correctly

commit b3faa81ad10e2e345c8c9e7a848c6bdf3f2a8e0e
Author: michaelpenne <michaelpenne>
Date:   Sat, 02 Jul 2005 04:06:07 +0800
Tag:    v1.5.1

Fixed a bug with the grade_get_module_link where wouldn't return any results Fixed styles for grade tables to be class="grades" for both category and overall view Fixed styles with overall view to alternate row styles everyline rather than every three

commit 6387899646567517b51d48d6cc3f22ebd69cf1a2
Author: michaelpenne <michaelpenne>
Date:   Fri, 01 Jul 2005 05:12:00 +0800
Tag:    v1.6.0

new lang entries for lesson dependency feature

commit ee3f22756085df26f423b4d432ee82ffd72b24bc
Author: michaelpenne <michaelpenne>
Date:   Fri, 01 Jul 2005 05:11:02 +0800
Tag:    v1.6.0

New Feature: Lesson Dependency

commit 7bae3f486c0f66d7c118ffd8ef776a2c726f3427
Author: michaelpenne <michaelpenne>
Date:   Thu, 30 Jun 2005 07:56:07 +0800
Tag:    v1.6.0

Found 4 mdl_ in some sql statements.  Changed it from mdl_ to $CFG->prefix

commit 9f0b60ed6f50ab8812d27a91dd2e914287d775e9
Author: michaelpenne <michaelpenne>
Date:   Thu, 30 Jun 2005 07:11:03 +0800
Tag:    v1.5.1

Forgot to add a require for lesson's locallib.php and change a require from quiz's lib.php to quiz's locallib.php

commit 603a35322ad2651fee0736ef7b62a027c2030e4c
Author: michaelpenne <michaelpenne>
Date:   Thu, 30 Jun 2005 07:05:28 +0800
Tag:    v1.5.1

Numerical import was still looking at min/max arrays.  I changed it so numerical will now subtract the tolerance from the answer to get the min and add the tolerance to the answer to get the max

commit 9160e17321f437dfb71fe907671672d781e8690e
Author: michaelpenne <michaelpenne>
Date:   Thu, 30 Jun 2005 07:05:13 +0800
Tag:    v1.5.1

FIXED: was calling an old quiz class name for importing.  Updated it to call the new class name

commit dd192b2692a74510083ef781f9598b58eac09e70
Author: michaelpenne <michaelpenne>
Date:   Thu, 30 Jun 2005 07:02:12 +0800
Tag:    v1.6.0

Numerical import was still looking at min/max arrays.  I changed it so numerical will now subtract the tolerance from the answer to get the min and add the tolerance to the answer to get the max

commit 2ef7eeec9c4ad74b6c38229b8a2c1459aa33b827
Author: michaelpenne <michaelpenne>
Date:   Thu, 30 Jun 2005 07:00:12 +0800
Tag:    v1.6.0

FIXED: was calling an old quiz class name for importing.  Updated it to call the new class name

commit 6deece3386528e38bd386c41b1a5bb401c34df52
Author: michaelpenne <michaelpenne>
Date:   Thu, 30 Jun 2005 02:49:01 +0800
Tag:    v1.5.1

Display bug with lesson branch tables with slideshow mode on

commit fb2371cea7b49a2a89205145ecd527069d9f6000
Author: michaelpenne <michaelpenne>
Date:   Thu, 30 Jun 2005 02:11:01 +0800
Tag:    v1.5.1

FIXED: at End of Lesson with review on produced two warnings.  Now they are gone

commit de8598a908e84beaa3ad010983c3cb99fec7e1a5
Author: michaelpenne <michaelpenne>
Date:   Thu, 30 Jun 2005 02:08:37 +0800
Tag:    v1.6.0

FIXED: at End of Lesson with review on produced two warnings.  Now they are gone

commit af1cd0fe33f98c548715e94c66c597e1b82b33fd
Author: michaelpenne <michaelpenne>
Date:   Wed, 22 Jun 2005 06:38:26 +0800
Tag:    v1.6.0

Made the shortanswer qtype grading much more reliable.  Change to preg_match to speed things up.  Also do a  preg_quote on the teacher supplied answer to prevent confusion in the preg_match statements (before + signs and the like were causing the preg_match statements to fail).

commit 0d6254cd8d83c840fcffdbe0fe9f79e5e1ceb27a
Author: michaelpenne <michaelpenne>
Date:   Wed, 22 Jun 2005 06:36:35 +0800
Tag:    v1.5.1

Made the shortanswer qtype grading much more reliable.  Change to preg_match to speed things up.  Also do a  preg_quote on the teacher supplied answer to prevent confusion in the preg_match statements (before + signs and the like were causing the preg_match statements to fail).

commit 0719af8aacf549269402aaf8eadbe842c1a38e47
Author: michaelpenne <michaelpenne>
Date:   Wed, 22 Jun 2005 05:56:50 +0800
Tag:    v1.5.1

Bug Fix:  The code for dealing with the * character for shortanswer question type was lost.  I downloaded 1.4.5+ and merged the shortanswer grading code into 1.6 dev.

commit c5cbd215fb32453062d7de3ab999a4cf8061a84f
Author: michaelpenne <michaelpenne>
Date:   Wed, 22 Jun 2005 05:45:04 +0800
Tag:    v1.6.0

Bug Fix:  The code for dealing with the * character for shortanswer question type was lost.  I downloaded 1.4.5+ and merged the shortanswer grading code into 1.6 dev.

commit 7250297f1b10abebee2ece5e0bcc9205cdb97f85
Author: michaelpenne <michaelpenne>
Date:   Fri, 17 Jun 2005 05:18:37 +0800
Tag:    v1.6.0

changed the name for the popups, IE was failing with long names

commit 3f46783677ca49d66542cb86c061315838d274b9
Author: michaelpenne <michaelpenne>
Date:   Fri, 17 Jun 2005 01:41:12 +0800
Tag:    v1.6.0

took out the 80%, not sure if it should be there or not ;)

commit a972bb821f7cb0735425512dc62e0d0b46ce3984
Author: michaelpenne <michaelpenne>
Date:   Fri, 17 Jun 2005 01:38:37 +0800
Tag:    v1.6.0

with slideshow off: set the width for print_simple_box to 80% for the page content

commit 804456766ecdad3b9477588ebcff27cd85ad54f1
Author: michaelpenne <michaelpenne>
Date:   Fri, 17 Jun 2005 01:17:58 +0800
Tag:    v1.6.0

now passes the media files name to the print header function

commit 7861d3ffe1c616d2ec7a1f1c2a345a527b516564
Author: michaelpenne <michaelpenne>
Date:   Fri, 17 Jun 2005 01:12:58 +0800
Tag:    v1.6.0

added some lang entries for media file feature

commit 1fd92aadb0e34bda653a82fed624000b285081a5
Author: michaelpenne <michaelpenne>
Date:   Thu, 16 Jun 2005 07:41:01 +0800
Tag:    v1.6.0

Fixed a problem with quotes in short answers

commit f26cef7c223e2ef3fdd01158c2bbc819e9ac3c56
Author: michaelpenne <michaelpenne>
Date:   Thu, 16 Jun 2005 07:35:11 +0800
Tag:    v1.6.0

Minor changes to support the new media file feature.

commit dbda1da80145fcbe13b70b9b7fb688dedecc69dc
Author: michaelpenne <michaelpenne>
Date:   Thu, 16 Jun 2005 07:29:50 +0800
Tag:    v1.6.0

This file is used as a popup to play a media file defined in the lesson settings.

commit 5a1ca119894ffbee64cfb9ee5ec7547b2f87dfb6
Author: michaelpenne <michaelpenne>
Date:   Thu, 16 Jun 2005 06:51:31 +0800
Tag:    v1.5.1

Fixed a problem with quotes in short answers

commit 7070d53107ccdbd97653bee4a9f53a50a1dee027
Author: michaelpenne <michaelpenne>
Date:   Thu, 16 Jun 2005 06:34:31 +0800
Tag:    v1.5.1

Fixed a bug with clusters.  If you enter a cluster after a page it would throw a navigation error.  It now enters the cluster properly.

commit 5805dddbb65297b7917d1a8e7e951544a521df56
Author: michaelpenne <michaelpenne>
Date:   Wed, 15 Jun 2005 01:42:12 +0800
Tag:    v1.6.0

put in two !== instead of != to compare NULL values

commit d031cf09b0e7cb9a32c6396b36a590cf74790fe1
Author: michaelpenne <michaelpenne>
Date:   Wed, 15 Jun 2005 01:40:46 +0800
Tag:    v1.5.1

put in two !== instead of != to compare NULL values

commit 7629332ba4d30b20c5957c3ccc6180b44a08eecf
Author: michaelpenne <michaelpenne>
Date:   Fri, 10 Jun 2005 05:55:53 +0800
Tag:    v1.6.0

Bug: fixed a problem with the date completed value and a problem with processing shortanswer/numerical question types

commit 4226f24829860772ba9fdca311974c2f37284f55
Author: michaelpenne <michaelpenne>
Date:   Fri, 10 Jun 2005 05:54:55 +0800
Tag:    v1.5.1

Bug: fixed a problem with the date completed value and a problem with processing shortanswer/numerical question types

commit ebe63af2239a190390fd8205d9520515d1823ac5
Author: michaelpenne <michaelpenne>
Date:   Fri, 10 Jun 2005 05:26:21 +0800
Tag:    v1.5.1

Discovered a bug with lesson grades.  While calculating the grade, intval was used to truncate the decimals from the grade.  intavl is now replaced with round.  round will now round the grade to 5 decimal places.  The database only holds int(3).  So, this has been changed to float to hold decimal numbers.  We have found this to be much more accurate when converting the stored percentage in the database back to a point value (before this fix, users were getting numbers like 46.5 points instead of their original 47 points due to an inaccurate percent value).  Files changed for this fix include: locallib.php report.php version.php view.php db/mysql.php db/mysql.sql db/postgres7.php db/postgres7.sql

commit 71ba4dce3cb952902471ea7953217331d9b81ee2
Author: michaelpenne <michaelpenne>
Date:   Fri, 10 Jun 2005 05:24:17 +0800
Tag:    v1.6.0

Discovered a bug with lesson grades.  While calculating the grade, intval was used to truncate the decimals from the grade.  intavl is now replaced with round.  round will now round the grade to 5 decimal places.  The database only holds int(3).  So, this has been changed to float to hold decimal numbers.  We have found this to be much more accurate when converting the stored percentage in the database back to a point value (before this fix, users were getting numbers like 46.5 points instead of their original 47 points due to an inaccurate percent value).  Files changed for this fix include: locallib.php report.php version.php view.php db/mysql.php db/mysql.sql db/postgres7.php db/postgres7.sql

commit cedac380ed329784d95a6cf3e7a08954873c9587
Author: michaelpenne <michaelpenne>
Date:   Thu, 09 Jun 2005 01:33:41 +0800
Tag:    v1.6.0

Before, importppt would look for outline.htm to determine the order of the slides. If outline.htm is not found, it would fail.  Now if outline.htm is not found importppt will scan the directory for any file that starts with slide. This change was added to support powerpoint 2000

commit 699c28ff92f3d2097397bac3385d6c2d266b7912
Author: michaelpenne <michaelpenne>
Date:   Wed, 08 Jun 2005 04:58:47 +0800
Tag:    v1.5.1

Bug 1650 fixed: help button calling the wrong help file

commit bd71134047978bc2415ccc25d8b111ee5c6e3d15
Author: michaelpenne <michaelpenne>
Date:   Wed, 08 Jun 2005 04:56:37 +0800
Tag:    v1.6.0

Bug 1650 fixed: help button calling the wrong help file

commit 257f67470bd6401b5670e0383f1fbee3257596f7
Author: michaelpenne <michaelpenne>
Date:   Wed, 08 Jun 2005 04:48:41 +0800
Tag:    v1.5.1

Bug 3022 Fixed: got rid of uppercase tags

commit f933effb3e0a92e7546687559022e88a0c78f994
Author: michaelpenne <michaelpenne>
Date:   Wed, 08 Jun 2005 04:47:25 +0800
Tag:    v1.6.0

Bug 3022 Fixed: got rid of uppercase tags

commit e0b1a2bea972c9e8de3b42742a39bf1fd1bb0a5e
Author: michaelpenne <michaelpenne>
Date:   Tue, 07 Jun 2005 02:30:34 +0800
Tag:    v1.6.0

BUG FIX for Bug #3059: if there is not a response to an answer, the response gets set to an empty string

commit eba970bffc0da9d84df89ec33020163837d7aa37
Author: michaelpenne <michaelpenne>
Date:   Tue, 07 Jun 2005 02:26:49 +0800
Tag:    v1.5.1

BUG FIX for Bug #3059: if there is not a response to an answer, the response gets set to an empty string

commit 855aa8f8d6f60d01efd327857a50c3617a0d52c3
Author: michaelpenne <michaelpenne>
Date:   Tue, 07 Jun 2005 01:35:02 +0800
Tag:    v1.5.1

bug fix: updated the link to the grade book

commit fff91cc994918f068431b79931654d03cef3c004
Author: michaelpenne <michaelpenne>
Date:   Tue, 07 Jun 2005 01:23:35 +0800
Tag:    v1.6.0

updated the link to the grade book

commit 2a6f9ad5c9fd6e59cdc1080331c283da83bb5c7e
Author: michaelpenne <michaelpenne>
Date:   Sat, 28 May 2005 06:28:55 +0800
Tag:    v1.6.0

forgot to escape some "

commit 6c643a1dccede9f918b268d049fc81fd6243e505
Author: michaelpenne <michaelpenne>
Date:   Sat, 28 May 2005 06:14:28 +0800
Tag:    v1.6.0

added an alt tag for images (nothing meaningful though)

commit 669b0fab9ad9bc4dc7086b35596068dd3e21c3c2
Author: michaelpenne <michaelpenne>
Date:   Sat, 28 May 2005 04:50:55 +0800
Tag:    v1.6.0

strips end lines properly now.  Directory fixes for book imports

commit a2714c13f3b520bc41559c07b8f304e412ca1ec1
Author: michaelpenne <michaelpenne>
Date:   Fri, 27 May 2005 07:41:50 +0800
Tag:    v1.6.0

now creates lesson directory in moddata for the images.  also supports the different slasharguments for files

commit 7abd498b1225c173ac5bf070abef2161e0078048
Author: michaelpenne <michaelpenne>
Date:   Fri, 27 May 2005 05:38:54 +0800
Tag:    v1.6.0

more flexible to catch more content for importing

commit cfcdb4b56e8404b0ba51ebf8345e2dcd714f061e
Author: michaelpenne <michaelpenne>
Date:   Wed, 25 May 2005 05:21:21 +0800
Tag:    v1.6.0

added a > to a table tag

commit 9f10d4d184216f7f01c6bbc0b3350b01061fa33d
Author: michaelpenne <michaelpenne>
Date:   Wed, 25 May 2005 05:02:16 +0800
Tag:    v1.6.0

changed an include from lib.php to locallib.php and converted some numbers to constants

commit 98f22e225b499fec4c7d7cb1ace956d56984f44b
Author: michaelpenne <michaelpenne>
Date:   Wed, 25 May 2005 04:30:08 +0800
Tag:    v1.6.0

added a lang file entry for importppt.php

commit be154395e8f71c19b538f6e1eb3a81f7f6e8ec5a
Author: michaelpenne <michaelpenne>
Date:   Wed, 25 May 2005 04:28:20 +0800
Tag:    v1.6.0

when editing a lesson for the first time, added a link to importppt.php in the list of options

commit 8707ce691059dc7990cc7716c8f08e58cf876a52
Author: michaelpenne <michaelpenne>
Date:   Wed, 25 May 2005 04:26:21 +0800
Tag:    v1.6.0

new import script to import powerpoint slides (exported as html)

commit 67f425814553535063de5f886f69a07c122244b8
Author: michaelpenne <michaelpenne>
Date:   Tue, 17 May 2005 04:20:31 +0800
Tag:    v1.6.0

Fixed links to help files. Help files were also added under /lang/en/help/grade to remain consistent with the site location of the gradebook as 'grade'

commit caf01349810ff2922187b7ba540e514409a70a99
Author: michaelpenne <michaelpenne>
Date:   Wed, 11 May 2005 06:21:19 +0800
Tag:    v1.6.0

fixed Bug #3192 - grades doesn't use 'uncategorised' as a string

commit 98dd2c00f4b8c6fd7b316e2af575f61727681301
Author: michaelpenne <michaelpenne>
Date:   Mon, 09 May 2005 10:29:35 +0800
Tag:    v1.6.0

FIXED: loss content on editing a page

commit 1db0647ccd778a54b5a599135e3774503524b71e
Author: michaelpenne <michaelpenne>
Date:   Sat, 07 May 2005 07:57:20 +0800
Tag:    v1.6.0

highscores will not display with practice lesson on because no grade records are entered.  Also, on teacher view, when the question content is printed it uses FORMAT_HTML now

commit 86c66de443b07655e6c6db829d19ed0633a140ce
Author: michaelpenne <michaelpenne>
Date:   Wed, 04 May 2005 07:42:42 +0800
Tag:    v1.6.0

added a not about highscores and practice lessons

commit 9638a1f4968c40cb93be77a4ffd8cf24c2e74e15
Author: michaelpenne <michaelpenne>
Date:   Wed, 04 May 2005 07:30:40 +0800
Tag:    v1.6.0

tried to make editing a lesson look nicer.  Added generalbox class to tables and used tabs for selecting question types

commit f5c864efff15d38d1cbc612c3fd71c96c89f82ec
Author: michaelpenne <michaelpenne>
Date:   Wed, 04 May 2005 06:26:01 +0800
Tag:    v1.6.0

moved View Lesson Statistics and Grade Essay Questions links in teacher view to top right corner.  Also, lesson stats link displays how many users have taken the lesson and grade essay link displays how many essays need to be graded and how many essays that need to be sent out still

commit 1bbce48a7e0787f2e6d7ae01df262028da3211aa
Author: michaelpenne <michaelpenne>
Date:   Wed, 04 May 2005 06:22:56 +0800
Tag:    v1.6.0

added div with class mod-lesson around the form to hide a label

commit af9f2c05dbc8d039aff79ff9cfe5fcbf4609fb26
Author: michaelpenne <michaelpenne>
Date:   Wed, 04 May 2005 05:16:30 +0800
Tag:    v1.6.0

added addslashes to title, content, answer and response fields to help deal with quotes after a clean_param()

commit e5ee4adfd40e367a9092f7d1971f4bd036d6e2bb
Author: michaelpenne <michaelpenne>
Date:   Wed, 27 Apr 2005 05:24:06 +0800
Tag:    v1.6.0

FIX: removed the unsetting of a SESSION variable that kept track of logins for lesson (password protected).  This allows for reviewing of lessons that have passwords.  Only downside, once logged in to a lesson, dont need to reenter password for that login session.  Prolly not a problem

commit 544a4b8a4d5738266c1f25a872aa53d0d0505f27
Author: michaelpenne <michaelpenne>
Date:   Wed, 27 Apr 2005 04:37:34 +0800
Tag:    v1.6.0

FIX: quotes in matching questions were not grading correctly.  Used htmlspecialchars on the values in the select box in view.php and then use stripslashes on the answers in continue.php

commit 0edcd4192591e523bd8e1a6b8646e0fece47d6d2
Author: michaelpenne <michaelpenne>
Date:   Thu, 21 Apr 2005 04:25:26 +0800
Tag:    v1.6.0

updated code to delete database exception entries for grade items that no longer exist also added link to to grade points that takes a user to the graded item

commit 0f2bff9d7b2d952230cd8c77c25c05e64d00e712
Author: michaelpenne <michaelpenne>
Date:   Wed, 13 Apr 2005 08:01:43 +0800
Tag:    v1.6.0

FIXED: questiontypes help button was looking for the wrong help file

commit 7227cef5f656f5055c88a674425b8cd0321e8f1f
Author: michaelpenne <michaelpenne>
Date:   Sat, 09 Apr 2005 05:40:07 +0800
Tag:    v1.6.0

added a few new string definitions for the event calendar entries

commit 97c4410778c8f89e6d6587b67c750d1588c46010
Author: michaelpenne <michaelpenne>
Date:   Sat, 09 Apr 2005 05:38:09 +0800
Tag:    v1.6.0

added calendar event code to add, update, and delete instance

commit 6cd8c59212ff27db7e3761fd2bd68221a5784838
Author: michaelpenne <michaelpenne>
Date:   Fri, 08 Apr 2005 04:47:03 +0800
Tag:    v1.6.0

Fixed exception handling, students can now be reincluded in grading Fixed drilldown by category view for students Fixed download as text/excel this just shows raw points and a total Changed tabbed view to only show advanced setting tabs if use advanced is set to yes

commit 86b7a42880c7f4c61beee3589b3a3cb7639d1e5c
Author: michaelpenne <michaelpenne>
Date:   Wed, 06 Apr 2005 06:42:34 +0800
Tag:    v1.5.0

now if you leave the lesson the the middle of a bunch of branch tables, you will return to the last one you answered.  Also, if show grades is off in course settings, the lesson will process and store the grade for the  student but then redirect the student to the course page immediatly.

commit 23f5e2617cb0fac8281eb643a30ebaddd6bb3b21
Author: michaelpenne <michaelpenne>
Date:   Wed, 30 Mar 2005 09:24:57 +0800
Tag:    v1.5.0

bug fix: review button no longer displays on essay questions

commit 16518f15f7c25f073855d0bcbf2fe0a13c8782d8
Author: michaelpenne <michaelpenne>
Date:   Wed, 30 Mar 2005 08:53:24 +0800
Tag:    v1.5.0

removed some debug lines

commit 845a17e6f0db22f6f37ed7400a2b0c0577786c99
Author: michaelpenne <michaelpenne>
Date:   Wed, 30 Mar 2005 08:49:18 +0800
Tag:    v1.5.0

all the actions in lesson.php are now defined in mod/lesson/lessonactions/

commit ea15ad0ece248c5008add66022f826ac8bc08b65
Author: michaelpenne <michaelpenne>
Date:   Wed, 30 Mar 2005 08:38:59 +0800
Tag:    v1.5.0

This file contains the code for a single action that used to be defined in lesson.php.  Now each action has its own file

commit c32bc595bd347454b59181b86d324d81ac79a192
Author: michaelpenne <michaelpenne>
Date:   Wed, 30 Mar 2005 06:38:27 +0800
Tag:    v1.5.0

on multichoice questions with multianswer, the code was not cleaning the variables correctly.  Now sends the array through a foreach and then clean_param on each element in the array.  Fix is around line 855.

commit 93943f65706dd2d1985fd9ef13ebca13c145b115
Author: michaelpenne <michaelpenne>
Date:   Wed, 30 Mar 2005 06:04:06 +0800
Tag:    v1.5.0

on line 1030, there was a division by zero when a student has not viewed any pages.  Now it checks to makes sure $nviewed != 0. This is for the ongoing score feature.

commit f6e200cbce9af785a7ff21caf8f5a48ce58161e5
Author: michaelpenne <michaelpenne>
Date:   Tue, 15 Mar 2005 06:18:29 +0800
Tag:    v1.5.0

changed how data is passed from overview to detailed view and fixed the timeout issue

commit 7f2ad6c2d3e5cc114919099abd3c8129595cd56d
Author: michaelpenne <michaelpenne>
Date:   Sat, 12 Mar 2005 07:15:18 +0800
Tag:    v1.5.0

changed the math for calculating the time left in a lesson to be more compatible with browsers

commit 4b63a1cbe8e02e3c6ef77f76449d3c3e9d938fb3
Author: michaelpenne <michaelpenne>
Date:   Fri, 11 Mar 2005 07:59:21 +0800
Tag:    v1.5.0

added content to these

commit 23381eef516f4c7ff4eda7ec0718130646ad6675
Author: michaelpenne <michaelpenne>
Date:   Fri, 11 Mar 2005 06:58:58 +0800
Tag:    v1.5.0

added defaultessayresponse string to the lang file (not sure why I had this in lesson.php)

commit 011cfc95eda37c160dfbdcdf01dc39e8b1080700
Author: michaelpenne <michaelpenne>
Date:   Fri, 11 Mar 2005 06:43:00 +0800
Tag:    v1.5.0

updated lesson_delete_instance to delete records from timer, branch, and high_scores tables

commit 1c97019eaf239376605c3dd214661666ea7ce1a0
Author: michaelpenne <michaelpenne>
Date:   Fri, 11 Mar 2005 04:51:26 +0800
Tag:    v1.5.0

removed lesson_clean_data_submitted() function.  Removed all instances of its use before I did this

commit d0b8bcdc8bda8ea1dc4360a436c4e414c8ffc903
Author: michaelpenne <michaelpenne>
Date:   Fri, 11 Mar 2005 04:42:09 +0800
Tag:    v1.5.0

updategrade now cleans params correctly now (i hope)

commit 801697d1709d9623e80b11dfb79db769bd51a1f8
Author: michaelpenne <michaelpenne>
Date:   Fri, 11 Mar 2005 04:34:32 +0800
Tag:    v1.5.0

insertpage and updatepage now clean params correctly (i hope)

commit b0ec882fc1687885c1f541ad303d61bf9587cd38
Author: michaelpenne <michaelpenne>
Date:   Sat, 26 Feb 2005 03:28:51 +0800
Tag:    v1.5.0

delete user attempts now deletes a users grades, attempts, and time recrods.  The email it sends is nicer as well

commit 5f3b3a084a42d9407edd2b41abfb452c01b5407a
Author: michaelpenne <michaelpenne>
Date:   Sat, 26 Feb 2005 03:12:39 +0800
Tag:    v1.5.0

updated report to find the times in timer table, now much more accurate.  Also fixed a sesskey problem

commit ff2978cea04e9a05016de29e37f9286fc49d35ad
Author: michaelpenne <michaelpenne>
Date:   Sat, 26 Feb 2005 03:11:12 +0800
Tag:    v1.5.0

updated the time code to refect the new view

commit c022b4964f090d677bc5e2638ab4f358410dd111
Author: michaelpenne <michaelpenne>
Date:   Sat, 26 Feb 2005 03:10:17 +0800
Tag:    v1.5.0

changed the time code, now the timer table keeps track of time spent per attempt per lesson for each student.  It is also used for timed tests. Also, moved check navigation link so it wont show up when there are no lesson pages.

commit 6899d8973f8131f1c99ee45d25c91b3dcea44154
Author: michaelpenne <michaelpenne>
Date:   Thu, 24 Feb 2005 06:24:46 +0800
Tag:    v1.5.0

removed an echo and a comment

commit 0741a566725190005ce841482a069a07cc4b228f
Author: michaelpenne <michaelpenne>
Date:   Wed, 23 Feb 2005 08:56:28 +0800
Tag:    v1.5.0

woops, took out gustavs change, yah cvs

commit 49584784acdab871f9f20ba2e280c39dfd161085
Author: michaelpenne <michaelpenne>
Date:   Wed, 23 Feb 2005 08:52:29 +0800
Tag:    v1.5.0

fixed up leftmenu some more

commit f7ffb898fa81d0a12de0f00255aedb5b62deabce
Author: michaelpenne <michaelpenne>
Date:   Thu, 10 Feb 2005 06:36:24 +0800
Tag:    v1.5.0

array/object initialization

commit 078ab023be90bf68b112308c41041448838ea2dd
Author: michaelpenne <michaelpenne>
Date:   Thu, 10 Feb 2005 06:34:14 +0800
Tag:    v1.5.0

array/object initialization and made essay question type work with unanswered lesson flow

commit d72b5b56dcf52793ec7fae9309a21d2f5f75ed9c
Author: michaelpenne <michaelpenne>
Date:   Thu, 10 Feb 2005 06:31:36 +0800
Tag:    v1.5.0

I think just array/object initialization

commit 0f4be3f6084f568e32166e562a02533c14728491
Author: michaelpenne <michaelpenne>
Date:   Thu, 10 Feb 2005 06:29:29 +0800
Tag:    v1.5.0

initialized arrays and objects, fixed a few bugs

commit 4759d2c1eb6329ab398d6ecf6defde3e80e8714f
Author: michaelpenne <michaelpenne>
Date:   Sat, 05 Feb 2005 04:49:04 +0800
Tag:    v1.5.0

changed Main Menu to Course Menu

commit 31062eefad4b895ece9c4f7f3add5fde5f19ecab
Author: michaelpenne <michaelpenne>
Date:   Sat, 05 Feb 2005 04:11:48 +0800
Tag:    v1.5.0

changed a couple of <br> to <br />

commit 5aeebbc8942f8266909613ef9c2e92140c2229ca
Author: michaelpenne <michaelpenne>
Date:   Sat, 05 Feb 2005 03:39:18 +0800
Tag:    v1.5.0

re-arranged a lot of code.  Only branch tables appear in slide show mode.  Display left and slideshow works with tables now instead of stylesheets (helps with browser compatibility).  Some XHTML fixes.  Fixed grading essay questions for non-custom scoreing.  Reformated a lot of output

commit ea6c76e0f2d9c9b287168c0c1d7ceaf07bf03ecf
Author: michaelpenne <michaelpenne>
Date:   Sat, 05 Feb 2005 03:35:43 +0800
Tag:    v1.5.0

removed a lot of styles because left menu and slideshow work in a table instead of styles.  This helps with compatibility with more browsers

commit 9d1bd908f5e57a11f30c0dfe043984d98d33023c
Author: michaelpenne <michaelpenne>
Date:   Sat, 05 Feb 2005 03:34:22 +0800
Tag:    v1.5.0

fixed the clock formating.

commit 62d52913181887938caa4700135c7991a70d9faf
Author: michaelpenne <michaelpenne>
Date:   Sat, 05 Feb 2005 03:33:33 +0800
Tag:    v1.5.0

this is Petrs security fix for import

commit 9127f2494d6bdca39d62127b361c9e58549979a8
Author: michaelpenne <michaelpenne>
Date:   Sat, 05 Feb 2005 03:31:24 +0800
Tag:    v1.5.0

fixed a clean param function call

commit b7daa75d0861918060eb8180570f820daedadda9
Author: michaelpenne <michaelpenne>
Date:   Sat, 05 Feb 2005 03:30:19 +0800
Tag:    v1.5.0

most changes in continue section.  Took it out of slideshow.  Made some display changes with display left (not style sheet dependent now)

commit d9ef9b836d4f36e96084e21a0531b3feaa710f2f
Author: michaelpenne <michaelpenne>
Date:   Sat, 29 Jan 2005 03:31:41 +0800
Tag:    v1.5.0

fixed some prefixes, not sure how this didnt get noticed before ;)

commit 02959079632366b877aafb8a5f8cd5d514938ed4
Author: michaelpenne <michaelpenne>
Date:   Fri, 28 Jan 2005 05:37:41 +0800
Tag:    v1.5.0

added some new lang entries for mod.html

commit f862f00d54157cebe170271351242b10372838ac
Author: michaelpenne <michaelpenne>
Date:   Fri, 28 Jan 2005 05:36:12 +0800
Tag:    v1.5.0

variable cleaning and sesskey updates

commit 0733cc0062a7d4ab8c5e076ec0edb69ad4d97ebf
Author: michaelpenne <michaelpenne>
Date:   Fri, 28 Jan 2005 05:35:37 +0800
Tag:    v1.5.0

made a change to lesson_clean_data_submitted and added some xhtml compliance fixes

commit d6847e5d95e778b5c5d2f2570158dbd572b19179
Author: michaelpenne <michaelpenne>
Date:   Fri, 28 Jan 2005 05:33:35 +0800
Tag:    v1.5.0

uncommented the require style sheet (was there a problem?), also rearranged lesson settings into categories.

commit 07fe38c02b78da0baef011865e0cd735628a9afa
Author: michaelpenne <michaelpenne>
Date:   Wed, 26 Jan 2005 08:30:46 +0800
Tag:    v1.5.0

added function lesson_clean_data_submitted(), this cleans the object made from data_submitted() function (forgot comments before)

commit 57bfe93dca64d60bf8ec1cd7dbfe10b4bf63465f
Author: michaelpenne <michaelpenne>
Date:   Wed, 26 Jan 2005 08:25:20 +0800
Tag:    v1.5.0

added function lesson_clean_data_submitted(), this cleans the object made from data_submitted() function

commit eb65aeb7fd84d457ef5cf34fb7c41a9dce8f7179
Author: michaelpenne <michaelpenne>
Date:   Wed, 26 Jan 2005 08:22:51 +0800
Tag:    v1.5.0

security updates: parameter cleaning

commit 29a014c05a5c9e12a7407a096eddbb06a11d1d15
Author: michaelpenne <michaelpenne>
Date:   Sat, 22 Jan 2005 07:13:53 +0800
Tag:    v1.5.0

corrected the sesskey code

commit 4ea3ce2fcbfae3da3cfdb84393d9f910c86a49ce
Author: michaelpenne <michaelpenne>
Date:   Sat, 22 Jan 2005 03:02:57 +0800
Tag:    v1.5.0

added sesskey code to remove the sesskey error from updating the lesson from view.php

commit bca6b842caba761a80532892aadd92012c1be52e
Author: michaelpenne <michaelpenne>
Date:   Tue, 07 Dec 2004 04:33:44 +0800
Tag:    v1.5.0

fix class stats for essay questions

commit 8061400e0f81965275660fd5cccbe83dd708974d
Author: michaelpenne <michaelpenne>
Date:   Thu, 02 Dec 2004 05:02:07 +0800
Tag:    v1.5.0

updated essay and short answer code to work with quotes (single and double)

commit 611e79fd75405136a4a519016c2b1ce2b1f5bccc
Author: michaelpenne <michaelpenne>
Date:   Thu, 02 Dec 2004 05:00:49 +0800
Tag:    v1.5.0

updated essay code to work with quotes being used in user answer and teacher response

commit cc72031abede68d998bbd1f1fad3d57365b7e4c8
Author: michaelpenne <michaelpenne>
Date:   Wed, 17 Nov 2004 09:07:17 +0800
Tag:    v1.5.0

changed ongoingcustom definition

commit 324da715f22a77f368670e15c84727a698009230
Author: michaelpenne <michaelpenne>
Date:   Wed, 17 Nov 2004 09:05:39 +0800
Tag:    v1.5.0

updated lesson_calculate_ongoing_score to match the grading algorithm used in view.php.  Also suppressed a warning in lesson_print_tree_link_menu function.

commit 8bca120ff0810fa244c5a22b55e0a8b7fca5e073
Author: michaelpenne <michaelpenne>
Date:   Wed, 17 Nov 2004 09:02:14 +0800
Tag:    v1.5.0

Changed the grading algorithm.  Now it divides points earned by total points possible.  Before was dividing points earned by max grade.  Also updated essay grading to work much more reliably and fixed some formatting problems with essay emails.

commit f4a246d2a50df869e343c5c03d757e636266e787
Author: michaelpenne <michaelpenne>
Date:   Tue, 02 Nov 2004 04:50:54 +0800
Tag:    v1.5.0

help file for modattempts option in lesson settings.  Empty at the moment though

commit 983e7d0e2a0b9123c434194f1c6ee3931daabb40
Author: michaelpenne <michaelpenne>
Date:   Tue, 02 Nov 2004 04:48:51 +0800
Tag:    v1.5.0

added new lang entries for lesson module

commit 9390ae0017a937b06f50789a8bfc68c1fc4c4584
Author: michaelpenne <michaelpenne>
Date:   Tue, 02 Nov 2004 04:47:08 +0800
Tag:    v1.5.0

added fields: useranswer field in lesson_attempts, and added modattempts to lesson and lesson_default tables, and removed essay table creation

commit 8f4c2d41e47eb9dc9f5a454b541199cea1fcdcbb
Author: michaelpenne <michaelpenne>
Date:   Tue, 02 Nov 2004 04:44:06 +0800
Tag:    v1.5.0

added alter table commands to insert useranswer field in lesson_attempts, and added modattempts to lesson and lesson_default tables

commit 2e7551866789f73290669b9be8996f3b20fe9f3b
Author: michaelpenne <michaelpenne>
Date:   Tue, 02 Nov 2004 04:41:55 +0800
Tag:    v1.5.0

added a link to report, changed conditions for displaying essay link, modified the essay functions to reflect the new view of an essay question, and updated view.php to work with modattempts option

commit eb73cd47e04b435c5958ef1910bf1477d31c4137
Author: michaelpenne <michaelpenne>
Date:   Tue, 02 Nov 2004 04:39:30 +0800
Tag:    v1.5.0

moved output from inside this file, to lesson.php and view.php.  Also now uses lang file.

commit f50e2abc74c5c747e1d13282f0da082b22273ffd
Author: michaelpenne <michaelpenne>
Date:   Tue, 02 Nov 2004 04:37:16 +0800
Tag:    v1.5.0

can restore the new backup code now

commit 37eeba778fdec5aca5c91ab4caea147ccf64cc89
Author: michaelpenne <michaelpenne>
Date:   Tue, 02 Nov 2004 04:35:45 +0800
Tag:    v1.5.0

report displays statistics regarding users attempts for a particular lesson. If a student has attempted a lesson, a link will appear when you edit the lesson to view statistics.  This feature works best with the newest version of lesson because lesson now retains more information regarding how the user answered a given question.  Old lesson attempts will not display correctly.

commit d01e2b0ba22b9b2986df7b584c8d2c01f94a591b
Author: michaelpenne <michaelpenne>
Date:   Tue, 02 Nov 2004 04:27:28 +0800
Tag:    v1.5.0

added a new setting which is modattempts

commit 9959aab2384753119b845a39a797282f66db0f27
Author: michaelpenne <michaelpenne>
Date:   Tue, 02 Nov 2004 04:25:42 +0800
Tag:    v1.5.0

on line #277, return null instead of throwing an error

commit ecb00e05e29f01ccc23290707af4aba195099339
Author: michaelpenne <michaelpenne>
Date:   Tue, 02 Nov 2004 04:21:21 +0800
Tag:    v1.5.0

increased the lesson version number

commit b986908256b7a2c1ab62e5f012150b538c716244
Author: michaelpenne <michaelpenne>
Date:   Tue, 02 Nov 2004 04:18:26 +0800
Tag:    v1.5.0

changed lesson_calculate_ongoing_score function and added some comments

commit db227020892feae73d897371564ab34d555479d0
Author: michaelpenne <michaelpenne>
Date:   Tue, 02 Nov 2004 04:15:11 +0800
Tag:    v1.5.0

endofcluster pages are not displayed anymore, shortanswer wrong answers are interpreted correctly, added user answer tracking to attempts so it can be used later by report.php, essays are no longer insterted into an essay table... now kept in the useranswer field in attempts, fixed a problem with grading numerical questions, modified to work with modattempts option, fixed a problem with grading matching questions and fixed addpage so that it displays multichoice with the multianswer option

commit 493c24e5a8d0f135126b03e89d4036ec47ce232c
Author: michaelpenne <michaelpenne>
Date:   Tue, 02 Nov 2004 03:53:06 +0800
Tag:    v1.5.0

backup now actually backs up.  Includes all of our database changes

commit 800abfe61da6bf75525ff4da86b3ddf4f2400be3
Author: michaelpenne <michaelpenne>
Date:   Wed, 29 Sep 2004 03:22:30 +0800
Tag:    v1.5.0

fixed a wrong lang call on line #1176

commit c732188674893df44d2dbc855aec6ae31ac0034a
Author: michaelpenne <michaelpenne>
Date:   Wed, 29 Sep 2004 03:15:20 +0800
Tag:    v1.5.0

changed $pages[$count][0] to $pageid on line #617

commit 033c143250ce5ede2c3cc40fa81f8590ac42e552
Author: michaelpenne <michaelpenne>
Date:   Fri, 24 Sep 2004 04:30:00 +0800
Tag:    v1.5.0

put in Sebastien Michels change on line #911

commit 909e6c79d84b4d427f52cee5c8de588b1983b492
Author: michaelpenne <michaelpenne>
Date:   Thu, 23 Sep 2004 03:14:51 +0800
Tag:    v1.5.0

Fixed a bug regarding cluster jumps.  Before, if end of cluster's jump was next page, it would throw an error.

commit 1663b64f1e250229966629b7f4be2c95efc049c6
Author: michaelpenne <michaelpenne>
Date:   Wed, 22 Sep 2004 06:16:46 +0800
Tag:    v1.5.0

changed the order of db updates.  now the order is old to new.

commit 7143a2841e9bdce6c0e4dccfeb8c68731687b0ea
Author: michaelpenne <michaelpenne>
Date:   Wed, 22 Sep 2004 06:15:30 +0800
Tag:    v1.5.0

added an include for lib.php changed the display of page titles changed matching such that if two matching items match to the same answer, that answer only apprears once in the drop down menu. Changed how the grade essay question link apprears.  Only appears if there is an essay to grade.

commit 3de88244c46450d844247b585cf525e2ed1cb77c
Author: michaelpenne <michaelpenne>
Date:   Wed, 22 Sep 2004 06:13:08 +0800
Tag:    v1.5.0

added option to delete a users attempt records.  Sends an email if delete was seccessful or not.

commit 1535c81ba369c8a4f7eab2dfb9c9b44af9556a8e
Author: michaelpenne <michaelpenne>
Date:   Wed, 22 Sep 2004 06:12:04 +0800
Tag:    v1.5.0

added code to handle deleting of user attempts

commit d19d9ef16d53b2b5273bd390f7880e074719bb9b
Author: michaelpenne <michaelpenne>
Date:   Wed, 22 Sep 2004 06:11:00 +0800
Tag:    v1.5.0

Fixed some problems with matching

commit 7471d889aa8d6f8e66288482a62ce0c0219e084e
Author: michaelpenne <michaelpenne>
Date:   Wed, 22 Sep 2004 03:50:10 +0800
Tag:    v1.5.0

New help file.  Blank though sad

commit 0fe78d9481f066547495b8f4938805f16df89d8b
Author: michaelpenne <michaelpenne>
Date:   Wed, 22 Sep 2004 03:48:39 +0800
Tag:    v1.5.0

Added a new lang definition

commit e5c6a35c22bb020b4dc721b1c7b3ada22c2bc275
Author: michaelpenne <michaelpenne>
Date:   Fri, 17 Sep 2004 00:20:59 +0800
Tag:    v1.5.0

Fixed the primary key problem in the mysql.

commit 5e7856af581ab4554e66bba692575f42ab495ad3
Author: michaelpenne <michaelpenne>
Date:   Thu, 16 Sep 2004 04:32:24 +0800
Tag:    v1.5.0

Added a lot of new features to lesson mod.  Check them out smile MarkNielsen

commit 91d5d7b418a18abf6cf78c0b837962ffb7ed4bd3
Author: michaelpenne <michaelpenne>
Date:   Thu, 16 Sep 2004 04:28:47 +0800
Tag:    v1.5.0

Added new lang help info for lesson mod - MarkNielsen

commit 728bb2a12e4214d81af82cc633d504dae471cd4f
Author: michaelpenne <michaelpenne>
Date:   Thu, 16 Sep 2004 04:23:31 +0800
Tag:    v1.5.0

Added new lang info for lesson mod - MarkNielsen