Git commits in Moodle 1.5.x by michaelpenne

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 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 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 c200adccf6b06c89500336e7ba8cb0074fdafde2
Author: michaelpenne <michaelpenne>
Date:   Sat, 25 Feb 2006 03:19:11 +0800
Tag:    v1.5.4

[BugFix] Bug #4216 - cancel button

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

[Fixed] Bug #1187

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 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 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 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 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 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 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 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 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 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 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 9aca363c1aa36620b65970ab6df0e264564a96ea
Author: michaelpenne <michaelpenne>
Date:   Wed, 13 Jul 2005 07:09:47 +0800
Tag:    v1.5.2

Bug 3531 fixed

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 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 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 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 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 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 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 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 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 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 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