Git commits in Moodle 1.6.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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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