Git commits in Moodle 1.7.0 by mark-nielsen

commit 5491947aa1cd05378be005c29bb07233e391ec2b
Author: mark-nielsen <mark-nielsen>
Date:   Sun, 01 Oct 2006 03:49:40 +0800
Tag:    v1.7.0

NO CODE CHANGES.  Just added PHPdoc comments at the top of lesson files.

commit eefa69ce5ce5ee471392bb8057b5aa617d0015f7
Author: mark-nielsen <mark-nielsen>
Date:   Sun, 01 Oct 2006 03:24:22 +0800
Tag:    v1.7.0

Bug Fix: The dependency drop-down was displaying incorrectly.  Fixed up code to use API to gather Lessons correctly.

commit b3b4bc44ce92e9cc26a2ab35057379f14ebad9ce
Author: mark-nielsen <mark-nielsen>
Date:   Sun, 01 Oct 2006 03:00:07 +0800
Tag:    v1.7.0

BugFix for MDL-6730: now blank lessons redirect to edit.php where the user is prompted by a menu of options.

commit 31b50f644235f68aeb901364111518cfd5c80ce1
Author: mark-nielsen <mark-nielsen>
Date:   Sun, 24 Sep 2006 03:57:35 +0800
Tag:    v1.7.0

Fix for MDL-6628: the lesson object was not being cloned correctly.

commit 6707a280a95fc55e3059263d0bc3b993ca2914a6
Author: mark-nielsen <mark-nielsen>
Date:   Sun, 24 Sep 2006 03:32:25 +0800
Tag:    v1.7.0

Moved endofbranch redirect up to avoid double printing of messages.

commit c7c404b964a67f3c752c08c811bb9cf74c507755
Author: mark-nielsen <mark-nielsen>
Date:   Sun, 24 Sep 2006 02:51:49 +0800
Tag:    v1.7.0

Fixed alignment issue in IE

commit 563106f0a8175b7aa59c725da6ee6950fd44e6af
Author: mark-nielsen <mark-nielsen>
Date:   Sun, 24 Sep 2006 02:45:59 +0800
Tag:    v1.7.0

Fixed branch table buttons to work with JavaScript turned off.  This fix lead to some minor changes to the button output, but hopefully simplified things.

commit 9b5274b96d002d8e329f2aaaf410ce57cd9b40ae
Author: mark-nielsen <mark-nielsen>
Date:   Sat, 23 Sep 2006 09:01:14 +0800
Tag:    v1.7.0

Fixed a label

commit 096a664c013eca90161def99bee610ca7f252ec5
Author: mark-nielsen <mark-nielsen>
Date:   Tue, 19 Sep 2006 13:57:57 +0800
Tag:    v1.7.0

Attempted to improve the display of the table in collapsed view

commit 7c03355aabc4c2c106e70b32435d2bc97bd254ca
Author: mark-nielsen <mark-nielsen>
Date:   Tue, 19 Sep 2006 13:11:57 +0800
Tag:    v1.7.0

Fix for the instance mentioned in MDL-3058

commit ef37bd6851f1a3d54137260b0ea42951a45e32cb
Author: mark-nielsen <mark-nielsen>
Date:   Tue, 19 Sep 2006 13:10:24 +0800
Tag:    v1.7.0

Corrected a lang entry for better translation

commit 4bea0828a2970a7389d8d749cc737eaec131c92f
Author: mark-nielsen <mark-nielsen>
Date:   Tue, 19 Sep 2006 12:49:45 +0800
Tag:    v1.7.0

Got ahead of myself, fixed by bug fix

commit 51c870d2530af5e9fab1b0ec8e2e8dcdb4aad0af
Author: mark-nielsen <mark-nielsen>
Date:   Tue, 19 Sep 2006 12:48:13 +0800
Tag:    v1.7.0

Notice fix in report for numerical question types

commit 9ae4e9f5de8dc7f7c015959e9bffc5e87e4551e8
Author: mark-nielsen <mark-nielsen>
Date:   Tue, 19 Sep 2006 12:45:18 +0800
Tag:    v1.7.0

Fix in addpage.php when one deletes all pages in a lesson then adds a new one Fix numerical questions were not displaying the student's answer in the feedback

commit b14123498f7b107c12c0f479c0e1de83fd062542
Author: mark-nielsen <mark-nielsen>
Date:   Tue, 19 Sep 2006 12:06:32 +0800
Tag:    v1.7.0

Saw several problems with lesson_choose_from_menu, so finally replaced its use with choose_from_menu in lib/weblib.php

commit f08769317ff9de836c7e9c19c87cb5eb835d9702
Author: mark-nielsen <mark-nielsen>
Date:   Tue, 19 Sep 2006 11:47:49 +0800
Tag:    v1.7.0

Removed hard-coded strings and fixed labels

commit 63d4c906c7c12fef14a226a53cc90bad5ce9cc91
Author: mark-nielsen <mark-nielsen>
Date:   Tue, 19 Sep 2006 10:54:57 +0800
Tag:    v1.7.0

Removed a hard-coded string and added PHPdoc comments for the page

commit 7adb9750620dd65bafcc92174acb2c1a6998ad46
Author: mark-nielsen <mark-nielsen>
Date:   Tue, 19 Sep 2006 10:48:29 +0800
Tag:    v1.7.0

removed some unecessary comments

commit 2817bc1aed3a7f87711f00499373b1dee4f0d86c
Author: mark-nielsen <mark-nielsen>
Date:   Tue, 19 Sep 2006 10:41:10 +0800
Tag:    v1.7.0

Fixed a bug when detecting a user as eligible for posting their name for high scores

commit 8271e5cec861a2b1689dacde830229488d3a8ffd
Author: mark-nielsen <mark-nielsen>
Date:   Tue, 19 Sep 2006 10:29:42 +0800
Tag:    v1.7.0

Fixed alignment problem with the buttons for password protected lessons

commit 62bb11d83794e2ae30ff705a62974c1147533ba5
Author: mark-nielsen <mark-nielsen>
Date:   Mon, 18 Sep 2006 09:31:35 +0800
Tag:    v1.7.0

Added display default feedback in lesson settings Led to reducing some redundant code in action/continue.php Also, a bug fix in locallib.php for function lesson_print_submit_link (needed to add slashes or else js would break)

commit 1032b61d3fbe2aa98adb3efce5bd5aff2e5d1d13
Author: mark-nielsen <mark-nielsen>
Date:   Mon, 18 Sep 2006 09:29:03 +0800
Tag:    v1.7.0

Added lang entry for display default feedback

commit 52f13a25dfbaee83b92ed40ef91666fc07f6e580
Author: mark-nielsen <mark-nielsen>
Date:   Mon, 18 Sep 2006 09:28:12 +0800
Tag:    v1.7.0

Help file for displaying default feedback

commit fa9234e0e059842908c65d683b1cafa54ea2fa45
Author: mark-nielsen <mark-nielsen>
Date:   Wed, 13 Sep 2006 12:03:45 +0800
Tag:    v1.7.0

New strings (added a missing one); made the essay email string much more sane

commit 260a56b1140e4ae3843f65277a405fcbd6ad63bb
Author: mark-nielsen <mark-nielsen>
Date:   Wed, 13 Sep 2006 11:42:16 +0800
Tag:    v1.7.0

Added some more stats to reports, added more actions to collapsed view and increased speed of lesson by using lesson_set_message() and redirects with 0 second delays.

commit 831f6613a8788d9e2a148ce7ef9faf99f42fe903
Author: mark-nielsen <mark-nielsen>
Date:   Mon, 11 Sep 2006 06:50:43 +0800
Tag:    v1.7.0

Very minor changes

commit 68a1e8fbbad991284b8370a07357f94a2290c525
Author: mark-nielsen <mark-nielsen>
Date:   Mon, 11 Sep 2006 06:47:57 +0800
Tag:    v1.7.0

Started to rework the overall page editing interface for teachers.

commit 82c57929b01394ee603df9f4990081870b2abb53
Author: mark-nielsen <mark-nielsen>
Date:   Mon, 11 Sep 2006 06:40:41 +0800
Tag:    v1.7.0

Added lang entries for Collapsed editing

commit 07642aef3e947d8a2172967389880b87b6a825e1
Author: mark-nielsen <mark-nielsen>
Date:   Mon, 11 Sep 2006 03:09:25 +0800
Tag:    v1.7.0

Minor changes

commit 8f2f1d4761e4240c1c308cc4d5590abc995cac78
Author: mark-nielsen <mark-nielsen>
Date:   Mon, 11 Sep 2006 02:50:59 +0800
Tag:    v1.7.0

Fixed display bug for branch tables and moved message setting to the bottom of continue.php to prevent double message setting when a redirect is called.

commit c94d37997d480a92e90d27d65ab04d3d4095e709
Author: mark-nielsen <mark-nielsen>
Date:   Mon, 11 Sep 2006 02:41:38 +0800
Tag:    v1.7.0

Removed action set to navigation because view.php no longer uses action

commit 5631925a26bf1f71f270ccd7b05d743edebb0b14
Author: mark-nielsen <mark-nielsen>
Date:   Mon, 11 Sep 2006 02:19:29 +0800
Tag:    v1.7.0

Started to separate out logic and presentation in view.php.  Decided to wrap the question printing with HTML templates (viewstart.html and viewend.html) Still needs a lot of work

commit a4452c8a142f18253aa35e2698ac7b964c5261d8
Author: mark-nielsen <mark-nielsen>
Date:   Sun, 10 Sep 2006 12:35:12 +0800
Tag:    v1.7.0

Added better lang strings for output in view.php

commit fb992d716a5c53e1d547e5c5e68cfa75fb831870
Author: mark-nielsen <mark-nielsen>
Date:   Sun, 10 Sep 2006 10:38:09 +0800
Tag:    v1.7.0

Started to reorganize view.php

commit 15f3d44ae72f6d45d34d2c7df95ef61ac2f5959e
Author: mark-nielsen <mark-nielsen>
Date:   Sun, 10 Sep 2006 10:09:14 +0800
Tag:    v1.7.0

Moved teacherview (lesson editing) out of view.php into edit.php

commit 9695a91e2f33aa4f5ef09b7a7080c1e1290dd318
Author: mark-nielsen <mark-nielsen>
Date:   Sun, 10 Sep 2006 09:43:24 +0800
Tag:    v1.7.0

Fixed sesskey problem

commit 8d1b4ee7b533199ab42508ee551841fe5359109a
Author: mark-nielsen <mark-nielsen>
Date:   Sun, 10 Sep 2006 09:40:38 +0800
Tag:    v1.7.0

Added proper page comments and inform user when attempts have been deleted

commit d2d7f3906434fb8c8adb03b064e3b89b1b8ce76c
Author: mark-nielsen <mark-nielsen>
Date:   Sun, 10 Sep 2006 09:37:50 +0800
Tag:    v1.7.0

Added page comment and lang entry for reports.php

commit 35b179fa733bd69d10b5deab2d30875ae1d3fe97
Author: mark-nielsen <mark-nielsen>
Date:   Sun, 10 Sep 2006 09:30:57 +0800
Tag:    v1.7.0

Updated to use new handy library functions

commit d1b025d0133fba1e788a198fb2adfa61170a742a
Author: mark-nielsen <mark-nielsen>
Date:   Sun, 10 Sep 2006 09:20:00 +0800
Tag:    v1.7.0

Moved high scores logic out of view.php into highscores.php Changed: now need to enter password on password protected lessons before being able to view high scores Added logs to high scores and reworked logic

commit 8def4a4ea2ecd3833112eba0d5029915bd9a1c7c
Author: mark-nielsen <mark-nielsen>
Date:   Sun, 10 Sep 2006 09:17:30 +0800
Tag:    v1.7.0

Changed some lang entries for high scores feature

commit 09e3b9d7eb7e6b336521f888a5d9cebd336c44dc
Author: mark-nielsen <mark-nielsen>
Date:   Sun, 10 Sep 2006 06:33:34 +0800
Tag:    v1.7.0

Fixed some formatting when clock is not displayed Messages are now printed out on continue.php

commit 2163c22634c6bbd313b20d72b969fad985aa5e8d
Author: mark-nielsen <mark-nielsen>
Date:   Sun, 10 Sep 2006 06:23:50 +0800
Tag:    v1.7.0

Forgot the lesson_ prefix

commit 2cb24b647cc71b185f5216f2ce6f576633728d49
Author: mark-nielsen <mark-nielsen>
Date:   Sun, 10 Sep 2006 06:20:51 +0800
Tag:    v1.7.0

Improved clock output and works when javascript is disabled

commit 259990d2c654aad551afd1aae09aee69b074f159
Author: mark-nielsen <mark-nielsen>
Date:   Sun, 10 Sep 2006 05:39:11 +0800
Tag:    v1.7.0

Lesson buttons should now work with javascript disabled Also improved the layout of action/continue.html

commit 3466ae4f145f9c152ab833e598997a3bbbab8568
Author: mark-nielsen <mark-nielsen>
Date:   Sat, 09 Sep 2006 10:10:40 +0800
Tag:    v1.7.0

Cleaned up output to user.  Still needs a lot of work.

commit f15eb92c2c8b3473071b2be926824f4454e36845
Author: mark-nielsen <mark-nielsen>
Date:   Sat, 09 Sep 2006 09:58:48 +0800
Tag:    v1.7.0

Removed essay grading code from view.php into essay.php.

commit e6bfc97018851c2ebfcc4f8e95466cc0fcb600ef
Author: mark-nielsen <mark-nielsen>
Date:   Sat, 09 Sep 2006 09:55:57 +0800
Tag:    v1.7.0

Added a few lang entries and modified one or two

commit 6e1ff5c8fb87171cf43db4e1969fae07d61b9cd7
Author: mark-nielsen <mark-nielsen>
Date:   Sat, 09 Sep 2006 07:17:18 +0800
Tag:    v1.7.0

MDL-6477: Added roles support.

commit c5a2e12f086aabb9cfc2140bd320ebbe99a64ff1
Author: mark-nielsen <mark-nielsen>
Date:   Wed, 06 Sep 2006 12:04:42 +0800
Tag:    v1.7.0

Added $Id$ to files Header is not printed for all actions.  Related to MDL-5403 Some redundant code removed First attempt at separating logic and presentation in action continue (continue.html)

commit 9fcf51d9bf3f762b6153835b382c8cddc7317762
Author: mark-nielsen <mark-nielsen>
Date:   Wed, 06 Sep 2006 12:02:02 +0800
Tag:    v1.7.0

Added function for printing a standard header for lesson Added function for fetching course module, course and lesson based on course module id or lesson id

commit ab8e5428b58a6a4ac7e5f5b512f79a0220b13557
Author: mark-nielsen <mark-nielsen>
Date:   Tue, 29 Aug 2006 04:02:49 +0800
Tag:    v1.7.0

Merged bug fix for MDL-6325

commit c87a341cb9bc97808d561c6f4025d1c7932b71d9
Author: mark-nielsen <mark-nielsen>
Date:   Sat, 26 Aug 2006 06:53:17 +0800
Tag:    v1.7.0

Merged bug fix for bug MDL-6323

commit 2fc13bc767fe89dec75eb42f7cb9c8d69569b84e
Author: mark-nielsen <mark-nielsen>
Date:   Sat, 26 Aug 2006 02:33:50 +0800
Tag:    v1.7.0

Merged differences from MOODLE_16_STABLE into HEAD

commit 88427c077b7cbf63a520dc7bbc4a8de38e6c3582
Author: mark-nielsen <mark-nielsen>
Date:   Fri, 19 May 2006 09:05:13 +0800
Tag:    v1.7.0

[Merged][BugFix] Bug #5405 - made a new function that grades a lesson for a specific user's attempt.  This is then used for grading lessons at the end of a lesson, for ongoing score feature and for updating the grade for essay question grading.

commit 74e3524216d72b905c567a5ac4b18b7f7a3cd753
Author: mark-nielsen <mark-nielsen>
Date:   Tue, 16 May 2006 11:06:28 +0800
Tag:    v1.7.0

[Merged][BugFix] Bug 5485 - problem with regular expressions with simple analysis

commit a1d0b3eb81967b242793b83966236c80eb1cafdc
Author: mark-nielsen <mark-nielsen>
Date:   Tue, 16 May 2006 03:14:22 +0800
Tag:    v1.7.0

[BugFix] Bug 5505 - function lesson_print_tree now checks for teacher editing priv before printing editing icons.  Had to change arguments for this function as well which is the edit in view.php.