Git commits in Moodle x.x.x by defacer

commit 927a78087c6933f6376c165e7e15492fa3bd2ee6
Author: defacer <defacer>
Date:   Thu, 01 Mar 2007 16:19:57 +0900
Tag:    v1.9.0

Merging from MOODLE_16_STABLE: Fix for MDL-8515: Prefixing chat messages with a slash should not hide the user's name unless it's a special command we handle.

commit ba34f3372db2315a3e55e0563d7c4a51e88e8e24
Author: defacer <defacer>
Date:   Thu, 01 Mar 2007 16:18:32 +0900
Tag:    v1.8.0

Merging from MOODLE_16_STABLE: Fix for MDL-8515: Prefixing chat messages with a slash should not hide the user's name unless it's a special command we handle.

commit 4edc434002d5aec4b55e7519d15caa5c310ee80c
Author: defacer <defacer>
Date:   Thu, 01 Mar 2007 16:03:29 +0900
Tag:    v1.7.2

Merging from MOODLE_16_STABLE: Fix for MDL-8515: Prefixing chat messages with a slash should not hide the user's name unless it's a special command we handle.

commit 2dd1350d6482ef44d820eddc7da05fdbff999745
Author: defacer <defacer>
Date:   Thu, 01 Mar 2007 16:01:13 +0900
Tag:    v1.6.5

Fix for MDL-8515: Prefixing chat messages with a slash should not hide the user's name unless it's a special command we handle.

commit 62d3553e2bcb46310215fbc81a7d8494dc1e5b42
Author: defacer <defacer>
Date:   Tue, 27 Feb 2007 23:43:20 +0900
Tag:    v1.9.0

Not needing this anymore, we now have Moodle Docs.

commit 04adc7de38851a1888a69aaaa47c34c274036dca
Author: defacer <defacer>
Date:   Tue, 27 Feb 2007 23:43:09 +0900
Tag:    v1.8.0

Not needing this anymore, we now have Moodle Docs.

commit 57c07037a79fd8b7d0c6b51b78b19bb04ec843b4
Author: defacer <defacer>
Date:   Tue, 27 Feb 2007 23:40:55 +0900
Tag:    v1.7.2

Not needing this anymore, we now have Moodle Docs.

commit 53d8fac03415726eb13f76327ea6d4feb6063d4b
Author: defacer <defacer>
Date:   Tue, 27 Feb 2007 23:36:58 +0900
Tag:    v1.9.0

Merging from MOODLE_16_STABLE: Fix for MDL-4701: Event URLs now include anchor so that the event is immediately visible.

commit 4854bec6cf5fbb704f41e996911452b72a8f40f6
Author: defacer <defacer>
Date:   Tue, 27 Feb 2007 23:35:28 +0900
Tag:    v1.8.0

Merging from MOODLE_16_STABLE: Fix for MDL-4701: Event URLs now include anchor so that the event is immediately visible.

commit 2eb862ba188e84954a21e191e193b393aec1a945
Author: defacer <defacer>
Date:   Tue, 27 Feb 2007 23:30:33 +0900
Tag:    v1.7.2

Merging from MOODLE_16_STABLE: Fix for MDL-4701: Event URLs now include anchor so that the event is immediately visible.

commit 55a30b97adf33e1dd77cbe0205ba4c77c321f716
Author: defacer <defacer>
Date:   Tue, 27 Feb 2007 23:25:17 +0900
Tag:    v1.6.5

Fix for MDL-4701: Event URLs now include anchor so that the event is immediately visible.

commit 449c1d6c2d9665f5af7c7760fba42edcbb8566c9
Author: defacer <defacer>
Date:   Tue, 27 Feb 2007 22:59:43 +0900
Tag:    v1.9.0

Merging from MOODLE_16_STABLE: Bugfix: skodak's fix for MDL-5991 is needed here as well.

commit 8e74a6eb9ee3fb263bee00d21ef440a9f2fa544f
Author: defacer <defacer>
Date:   Tue, 27 Feb 2007 22:59:22 +0900
Tag:    v1.8.0

Merging from MOODLE_16_STABLE: Bugfix: skodak's fix for MDL-5991 is needed here as well.

commit e5c482b5178589ec776567fd04ab57854b02854f
Author: defacer <defacer>
Date:   Tue, 27 Feb 2007 22:58:56 +0900
Tag:    v1.7.2

Merging from MOODLE_16_STABLE: Bugfix: skodak's fix for MDL-5991 is needed here as well.

commit e2ea2456460c5be65f0882cdbee979a1bf96645c
Author: defacer <defacer>
Date:   Tue, 27 Feb 2007 22:55:29 +0900
Tag:    v1.6.5

Bugfix: skodak's fix for MDL-5991 is needed here as well.

commit bdcb26b717cb8223cd61ec2f419bf1ed2fb101b1
Author: defacer <defacer>
Date:   Tue, 27 Feb 2007 22:49:43 +0900
Tag:    v1.9.0

Changing email addresses that caught my eye in the comments.

commit 437ef94eb249d54f2b70f2e909ce3cac188d5edb
Author: defacer <defacer>
Date:   Tue, 27 Feb 2007 22:49:14 +0900
Tag:    v1.8.0

Changing email addresses that caught my eye in the comments.

commit 61c7621b8052968979de1ad227045238361d1c51
Author: defacer <defacer>
Date:   Tue, 27 Feb 2007 22:48:49 +0900
Tag:    v1.7.2

Changing email addresses that caught my eye in the comments.

commit 9b2fb1535bdfac30a8929da225ae8918f1d9c7df
Author: defacer <defacer>
Date:   Tue, 27 Feb 2007 22:44:17 +0900
Tag:    v1.6.5

Changing email addresses that caught my eye in the comments.

commit 8960cc378075e66277a9efe81557fb004942856a
Author: defacer <defacer>
Date:   Tue, 27 Feb 2007 22:38:06 +0900
Tag:    v1.6.5

Not needing this anymore, we now have Moodle Docs.

commit 4af8d5d3ca00e649fe014eed75594a2dcc9bd781
Author: defacer <defacer>
Date:   Tue, 27 Feb 2007 21:42:08 +0900
Tag:    v1.9.0

Merging from MOODLE_17_STABLE: Fix for MDL-8402: $CFG->calendar_weekdays wasn't saved correctly and misbehaved.

commit e790b61e383e139499c2bde073462e3532e56d79
Author: defacer <defacer>
Date:   Tue, 27 Feb 2007 21:40:37 +0900
Tag:    v1.8.0

Merging from MOODLE_17_STABLE: Fix for MDL-8402: $CFG->calendar_weekdays wasn't saved correctly and misbehaved.

commit 595687a2f121000543c2f144731832c5f539eea5
Author: defacer <defacer>
Date:   Tue, 27 Feb 2007 21:17:58 +0900
Tag:    v1.7.2

Fix for MDL-8402: $CFG->calendar_weekdays wasn't saved correctly and misbehaved.

commit 0e6a8f4bbec0da6bd900888f612a58919e19f87c
Author: defacer <defacer>
Date:   Tue, 27 Feb 2007 09:41:28 +0900
Tag:    v1.9.0

Merging from MOODLE_18_STABLE: Bugfix: $CFG->calendar_adminseesall was not working at all, Moodle behaved as if it were always on. Reported at http://moodle.org/mod/forum/discuss.php?d=65500.

commit 2273ddbb27e16f28b7899b2ee9c30bc5651de112
Author: defacer <defacer>
Date:   Tue, 27 Feb 2007 09:37:35 +0900
Tag:    v1.8.0

Merged from MOODLE_17_STABLE: Bugfix: $CFG->calendar_adminseesall was not working at all, Moodle behaved as if it were always on. Reported at http://moodle.org/mod/forum/discuss.php?d=65500.

commit 6b0bfc914c63e056fd78f1d63b938bafb4927b26
Author: defacer <defacer>
Date:   Tue, 27 Feb 2007 09:33:18 +0900
Tag:    v1.7.2

Bugfix: $CFG->calendar_adminseesall was not working at all, Moodle behaved as if it were always on. Reported at http://moodle.org/mod/forum/discuss.php?d=65500.

commit ccd3dd0ce2ef8559d3ec7e10f07291200efd93d6
Author: defacer <defacer>
Date:   Mon, 26 Feb 2007 23:02:21 +0900
Tag:    v1.9.0

Merge from MOODLE_18_STABLE: Fixing notices, I should 've done grep "BLOCK_TYPE_NUKE" earlier.

commit a8088232b14742670a50d97ddec1c7511de7f6a0
Author: defacer <defacer>
Date:   Mon, 26 Feb 2007 22:58:14 +0900
Tag:    v1.8.0

Fixing notices, I should 've done grep "BLOCK_TYPE_NUKE" earlier.

commit 86ce75a8e5e1f700aee000ee293ba7ba80a7b3d5
Author: defacer <defacer>
Date:   Mon, 26 Feb 2007 22:29:57 +0900
Tag:    v1.9.0

Merge from MOODLE_18_STABLE: Killing BLOCK_NUKE constant, since Martin nuked nuke blocks.

commit ff1b96e9f0361d12697d55bf6e4ab5553380d1bb
Author: defacer <defacer>
Date:   Mon, 26 Feb 2007 22:26:56 +0900
Tag:    v1.8.0

Killing BLOCK_NUKE constant, since Martin nuked nuke blocks.

commit 2f7ccc66440186e29ad277a185f8d1ab57f54866
Author: defacer <defacer>
Date:   Sun, 25 Feb 2007 10:35:32 +0900
Tag:    v1.9.0

Merged from MOODLE_18_STABLE: Fix for MDL-8653: When updating languages through a proxy, skip to the end of the HTTP headers as defined by RFC 1945 instead of skipping exactly 12 lines of chaff.

commit ffeeed9b32d447679328cd11272a38e73423959b
Author: defacer <defacer>
Date:   Sun, 25 Feb 2007 10:31:56 +0900
Tag:    v1.8.0

Fix for MDL-8653: When updating languages through a proxy, skip to the end of the HTTP headers as defined by RFC 1945 instead of skipping exactly 12 lines of chaff.

commit a4e61dde70f5a65dd69526ed7fec2545b15957ac
Author: defacer <defacer>
Date:   Sun, 25 Feb 2007 10:10:00 +0900
Tag:    v1.9.0

Merging from MOODLE_18_STABLE: Updating local language packs was breaking XHTML in the "results" screen.

commit f943a78cbee68796d94fb1f1a77d231f813dae94
Author: defacer <defacer>
Date:   Sun, 25 Feb 2007 10:07:52 +0900
Tag:    v1.8.0

Updating local language packs was breaking XHTML in the "results" screen.

commit fed8017908f34f0f5fbb3ac695116abadf94d442
Author: defacer <defacer>
Date:   Sun, 25 Feb 2007 08:38:42 +0900
Tag:    v1.9.0

Merged from MOODLE_16_STABLE: Fix for MDL-4940: Social Activities block disappears when editing course settings.

commit 0e2b6268f003080d77b8dc3d645b46b365c61e7f
Author: defacer <defacer>
Date:   Sun, 25 Feb 2007 08:31:22 +0900
Tag:    v1.8.0

Merged from MOODLE_16_STABLE: Fix for MDL-4940: Social Activities block disappears when editing course settings.

commit e56a129d5691690032e01e0fc5d88dacf3b75a9f
Author: defacer <defacer>
Date:   Sun, 25 Feb 2007 08:24:43 +0900
Tag:    v1.7.2

Merged from MOODLE_16_STABLE: Fix for MDL-4940: Social Activities block disappears when editing course settings.

commit c109bb608a76903efb5b7662b1c422704f607b97
Author: defacer <defacer>
Date:   Sun, 25 Feb 2007 08:07:32 +0900
Tag:    v1.6.5

Fix for MDL-4940: Social Activities block disappears when editing course settings.

commit 99571c3e857d6af7562a0148eefedcc24edb759e
Author: defacer <defacer>
Date:   Fri, 23 Feb 2007 13:08:55 +0900
Tag:    v1.9.0

Putting up a title and moving the heading to the top for consistency with the 'setting up primary admin' screen.

commit e2d84bf3ab3cf69bb0ff7b03c38b6059cbe3f5dd
Author: defacer <defacer>
Date:   Fri, 23 Feb 2007 12:06:14 +0900
Tag:    v1.9.0

Setup screen for primary admin had no title, so added one plus a heading

commit 9b70d314370a44aaa2c4459c23d7a36fda2708fa
Author: defacer <defacer>
Date:   Fri, 23 Feb 2007 11:35:22 +0900
Tag:    v1.9.0

Fixing a silly cosmetic thing under Windows...

commit 8f83745255308303ec837671fc58c8905e3bf9d1
Author: defacer <defacer>
Date:   Fri, 23 Feb 2007 10:44:22 +0900
Tag:    v1.8.0

Merged from HEAD: Fixing ugly blue border around help icon during installation

commit 5782d81809ce16c049bcfd33ec5af04475462b5f
Author: defacer <defacer>
Date:   Fri, 23 Feb 2007 10:42:46 +0900
Tag:    v1.9.0

Fixing ugly blue border around help icon during installation

commit 2f6b6e92411da850df4563e876ad0c92a7fb68ec
Author: defacer <defacer>
Date:   Fri, 23 Feb 2007 10:37:20 +0900
Tag:    v1.8.0

Merging from HEAD: Fixing a few tons of notices when installing if error_reporting = E_ALL in php.ini.

commit 23b86e1cf1fcf486cb3cb0fd196fa3165b7718f5
Author: defacer <defacer>
Date:   Fri, 23 Feb 2007 10:23:04 +0900
Tag:    v1.9.0

Fixing a few tons of notices when installing if error_reporting = E_ALL in php.ini.

commit e68cf1b3e91a3faaaa6448b9580213d07dcdc9a9
Author: defacer <defacer>
Date:   Sun, 29 Jan 2006 03:49:16 +0800
Tag:    v1.6.0

Merging from STABLE: Fix for bug 4627:

commit 5bb82b2c37c46734199c10002c5b77e27e544572
Author: defacer <defacer>
Date:   Sun, 29 Jan 2006 03:41:22 +0800
Tag:    v1.5.4

Fix for bug 4627:

commit ce432524ee97611bb5fe9362a00f8aa21581f684
Author: defacer <defacer>
Date:   Sun, 15 Jan 2006 10:32:04 +0800
Tag:    v1.6.0

Changing the naming scheme for auto-generated HTML ids here; due to copy/paste this might have resulted in non-unique ids in the same page.

commit 85e0be2aaa714de6de5ccf8d5c3ff5e01fa4605b
Author: defacer <defacer>
Date:   Sun, 15 Jan 2006 09:52:07 +0800
Tag:    v1.6.0

Seems I got the only remaining instance of set_default(), so it's time to draw the curtains.

commit 3ce130eac5002a79fc202282c19e6e0971445c02
Author: defacer <defacer>
Date:   Sun, 15 Jan 2006 09:44:08 +0800
Tag:    v1.6.0

When creating/editing events, it seems that the current/existing timestart is not pre-filled in the forms. This is a regression, no idea how and when it happened. Investigating...

commit 4eec54f20eda1cec809f6a8ed62ac4b72f7b84ba
Author: defacer <defacer>
Date:   Sat, 14 Jan 2006 00:34:25 +0800
Tag:    v1.5.4

Merging from HEAD: Fix for bug discussed here: http://moodle.org/mod/forum/discuss.php?d=37545

commit 42f9b64b80b021feda57af7a10f7b8c09c5cafbc
Author: defacer <defacer>
Date:   Sat, 14 Jan 2006 00:28:19 +0800
Tag:    v1.6.0

On second thought, we can be a bit more diplomatic with this one. The best of both worlds, but a hack is a hack. wink

commit 24acdc993bbb06bb2f468781c90ead49bcbb682b
Author: defacer <defacer>
Date:   Sat, 14 Jan 2006 00:20:40 +0800
Tag:    v1.6.0

Fixing a bug, see http://moodle.org/mod/forum/discuss.php?d=37545

commit b5f1b8b10e86286834679e71d9ada35e52e6e297
Author: defacer <defacer>
Date:   Fri, 13 Jan 2006 23:34:30 +0800
Tag:    v1.6.0

Super-basic export to iCal functionality, still very raw. But works!

commit e58e1a947430d538ce61bce2704288aa8ba27729
Author: defacer <defacer>
Date:   Fri, 13 Jan 2006 23:30:24 +0800
Tag:    v1.6.0

XHTML fixes for the administration page, plus a couple assorted styles.

commit 1198996db65a979e50c15ef909194a47ce22d8f7
Author: defacer <defacer>
Date:   Fri, 13 Jan 2006 23:15:19 +0800
Tag:    v1.6.0

Some XHTML fixes I had lying around.

commit f3b6ac1539e7724e7a236d69dec4f39e4d98cda4
Author: defacer <defacer>
Date:   Fri, 13 Jan 2006 23:06:25 +0800
Tag:    v1.6.0

Incoming: Bennu library to be used for iCal imports/exports.

commit 8eefd42e7e88458ccb3ed7889455b52fe5d0179e
Author: defacer <defacer>
Date:   Sat, 17 Dec 2005 12:53:50 +0800
Tag:    v1.6.0

Oops. Forgot some debug code in there.

commit 1130633117ed6dd064dddbedd2a718bf4e98d1d3
Author: defacer <defacer>
Date:   Sat, 17 Dec 2005 12:37:55 +0800
Tag:    v1.6.0

NEW FEATURE:

commit a9033ad5f80bedf35cb3a09d14f2527f41a1294c
Author: defacer <defacer>
Date:   Sat, 17 Dec 2005 11:09:13 +0800
Tag:    v1.6.0

Faster block_method_result(), my back-of-the-envelope benchmarks say that call_user_func is about 3 times faster than eval(). Which is no surpise. wink

commit ccfa3918def5fbafb627bb34099508cd1bc15c95
Author: defacer <defacer>
Date:   Wed, 07 Dec 2005 23:01:02 +0800
Tag:    v1.6.0

Merge from STABLE:

commit d45dbbda40494fef67b58f43a50c2f6658959b19
Author: defacer <defacer>
Date:   Wed, 07 Dec 2005 22:59:31 +0800
Tag:    v1.5.4

XHTML fix, pointed out by James Ballard here: http://moodle.org/mod/forum/discuss.php?d=35830

commit 164574905701f4d1b53c9b5582baa5c0c9123113
Author: defacer <defacer>
Date:   Sat, 03 Dec 2005 21:12:09 +0800
Tag:    v1.6.0

Correcting the way of setting lowbound <= $var <= highbound, spotted by Petr (SC#203).

commit 482bad4e8b861849e9697a1cafe8b7fedafeb5f7
Author: defacer <defacer>
Date:   Sat, 26 Nov 2005 09:01:56 +0800
Tag:    v1.5.4

Merging from HEAD:

commit 00d94a2001915dc7fbf53c9b7764672ab41c8935
Author: defacer <defacer>
Date:   Sat, 26 Nov 2005 08:58:53 +0800
Tag:    v1.6.0

Fix for bug 4371 (also SC#199):

commit 13f64465e161de0e238667b55931748cbc87a270
Author: defacer <defacer>
Date:   Thu, 24 Nov 2005 07:40:26 +0800
Tag:    v1.6.0

Removing some code which looks _very_ dead to me (traced its origins back to when the Blocks2 stuff was first committed).

commit a7ef57d4da4903f1bebd25ba3024bff1b584614e
Author: defacer <defacer>
Date:   Thu, 24 Nov 2005 07:16:24 +0800
Tag:    v1.6.0

Making section links point to #section-NNN instead of #NNN

commit 4baeb9b028d9abfe512187a3802f37f40c54d30c
Author: defacer <defacer>
Date:   Thu, 24 Nov 2005 07:14:25 +0800
Tag:    v1.6.0

Removing the <a name="2"></a> anchors from course sections (used with links, e.g. /course/view.php?id=2#4). We already have elements with id="section-XXX", so I made all links I could possibly grep for point to those.

commit 4d4e738f7cc11866e3e9c4d8752632a702538777
Author: defacer <defacer>
Date:   Thu, 24 Nov 2005 06:47:35 +0800
Tag:    v1.6.0

Fixing line endings

commit 296c94b13456b2c8793fa979a5a9eccac2482458
Author: defacer <defacer>
Date:   Thu, 24 Nov 2005 06:33:33 +0800
Tag:    v1.6.0

Begone, evil <font> tag

commit 7f9def8fa9835fb14f02e544633202cc44aba756
Author: defacer <defacer>
Date:   Thu, 24 Nov 2005 06:31:52 +0800
Tag:    v1.6.0

XHTML fix

commit 64f36986b6d7e29fc25393daf87281ec27732d1e
Author: defacer <defacer>
Date:   Thu, 24 Nov 2005 06:22:44 +0800
Tag:    v1.6.0

The bug where an event was not created for closing-time-only-supplied quizzes also existed when updating a quiz instance (not only adding)...

commit 018881d4a97c82b2fb701ebf7cbea8db27114e89
Author: defacer <defacer>
Date:   Thu, 24 Nov 2005 06:14:57 +0800
Tag:    v1.6.0

Fixing invalind value for cellpadding ("5px")

commit 3d6fc452292dbde2985167361355f6f28c7c49d8
Author: defacer <defacer>
Date:   Thu, 24 Nov 2005 06:11:50 +0800
Tag:    v1.6.0

Fixing defaults (copy/paste error) -- this printed notices with debug=on and actually mangled the "create lesson instance" query so badly that you could not add lessons!

commit 001996c2f290f1ced6a37d0295268afa53dede6c
Author: defacer <defacer>
Date:   Thu, 24 Nov 2005 05:34:48 +0800
Tag:    v1.6.0

Fix for bug 4358:

commit d0eafce59475e2f0dab4d5f397e9e0cdd120711d
Author: defacer <defacer>
Date:   Thu, 24 Nov 2005 05:21:30 +0800
Tag:    v1.6.0

These quotes were going into (quoted) HTML attributes and breaking XHTML.

commit 9173a5671c1a092090214153d615a8c3c62a4b46
Author: defacer <defacer>
Date:   Thu, 24 Nov 2005 05:16:47 +0800
Tag:    v1.6.0

Searching around in the langfile, it seems that these are the correct strings for the helpbuttons' title attribute. I added the first helpbutton back in as well (exists in 1.5.3+ but not in HEAD???).

commit 8635a2824a7d8440ca9e05f52efd7420e190817e
Author: defacer <defacer>
Date:   Thu, 24 Nov 2005 05:00:40 +0800
Tag:    v1.6.0

Fixing one get_string() that didn't specify the Quiz langfile, and changing another to be uniform with the help file title.

commit 94cda02214f29567ba62ab084c39048775fe7ff1
Author: defacer <defacer>
Date:   Tue, 15 Nov 2005 00:21:41 +0800
Tag:    v1.6.0

file unchecked_vars.php was initially added on branch MOODLE_15_STABLE.

commit 83cd002a8e5f14a19dc3e2b7d1841d4be8588265
Author: defacer <defacer>
Date:   Tue, 15 Nov 2005 00:21:41 +0800
Tag:    v1.5.3

Eloy's unchecked_vars admin page.

commit 8de0b6879ee8d836c216d2c414e1a1b39cf125ad
Author: defacer <defacer>
Date:   Tue, 15 Nov 2005 00:15:40 +0800
Tag:    v1.5.3

Patching the patch, should be good now!

commit def35d35d7058c802986c1186ce21400e2009df4
Author: defacer <defacer>
Date:   Tue, 15 Nov 2005 00:06:40 +0800
Tag:    v1.5.3

Eloy's detect_unchecked_vars patch, slightly modified. See SC#184.

commit 136f43dcdaacdcfe881235085e7c13aedc3c9019
Author: defacer <defacer>
Date:   Mon, 14 Nov 2005 12:33:25 +0800
Tag:    v1.6.0

Missing footers, XHTML warnings.

commit 2ac8f379c3db9990b62fd0b53b3cc20af7e5c941
Author: defacer <defacer>
Date:   Sun, 13 Nov 2005 12:53:47 +0800
Tag:    v1.5.3

Merging all my latest changes and fixes from HEAD related to SC#187.

commit a945eab2c289136562f2c701c9ce41fc3bb5da71
Author: defacer <defacer>
Date:   Sun, 13 Nov 2005 12:45:23 +0800
Tag:    v1.5.3

Merging from HEAD:

commit 9013e4ad731bf13ffbcaf00c8dd1bbded9d6ae80
Author: defacer <defacer>
Date:   Sun, 13 Nov 2005 12:42:21 +0800
Tag:    v1.6.0

Now get_sql_sort can be called static-function-imitation style as well. Necessary to solve SC#187 gracefully.

commit 02828119f674343e9eb4affa7ec37fc0df8ab595
Author: defacer <defacer>
Date:   Sun, 13 Nov 2005 12:30:50 +0800
Tag:    v1.6.0

OK, trying to write about this in the SC made me think, thinking made me find the solution. No hacks, no replicating the table object, I just tweaked the table class itself to help us.

commit 86f6539591f317d7b9ce92fc63b8f9e3e0583cec
Author: defacer <defacer>
Date:   Sun, 13 Nov 2005 12:01:41 +0800
Tag:    v1.6.0

Removing code block which, upon closer inspection, does nothing at all.

commit 14c3063dcc9d8289dab544c5c77852945a6b37f3
Author: defacer <defacer>
Date:   Sun, 13 Nov 2005 11:50:28 +0800
Tag:    v1.5.3

Merging my latest commits from HEAD, which include:

commit 9894b8246ca1cfb49852761a4ff7818de96bfe71
Author: defacer <defacer>
Date:   Sun, 13 Nov 2005 11:37:40 +0800
Tag:    v1.6.0

Gone through the code carefully. Committed what is basically Skodak's patch at SC#187 postid 1104 with a small addition, EXCEPT the //HACK ALERT part.

commit 5b48244f246f835a05133c720ddaa483c91aa1d8
Author: defacer <defacer>
Date:   Sun, 13 Nov 2005 11:20:35 +0800
Tag:    v1.6.0

Carefully going through the code now...

commit c9977d055d200a50f9afdf68955f3bd6a80e8b31
Author: defacer <defacer>
Date:   Sun, 13 Nov 2005 10:50:46 +0800
Tag:    v1.6.0

Been playing around Assignment a bit, and Tidy kept complaining...

commit 4fdabdc36fde6b9dec154e4516744a16755d3110
Author: defacer <defacer>
Date:   Sat, 12 Nov 2005 11:04:11 +0800
Tag:    v1.6.0

Merging from STABLE:

commit c10ac049ccc377fe6cf7b7638863458d8f9bcbb2
Author: defacer <defacer>
Date:   Sat, 12 Nov 2005 11:01:05 +0800
Tag:    v1.5.3

Better retrieval of table sortorder when not done directly through the table class, see SC#187.

commit c0b507d11800170b5eeba2064aaec47e4e6e4884
Author: defacer <defacer>
Date:   Sun, 06 Nov 2005 11:20:30 +0800
Tag:    v1.6.0

I was going through the code here and found out that it's completely missing the point, it could be much tighter and easier to understand. So here's the candidate replacement code plus some assertions, I intend to let it run for some time and if no assertion errors come up (they shouldn't) do the replace.

commit 3f754e638ce4c243633d648668d4addfc67b6d32
Author: defacer <defacer>
Date:   Mon, 31 Oct 2005 09:58:42 +0800
Tag:    v1.6.0

Fixing a typo ("=" to "=>") which killed my Moodle after grabbing the latest CVS.

commit 044cdea0c6aacf0fe9281f15fe16ebc49c5dd250
Author: defacer <defacer>
Date:   Sun, 30 Oct 2005 09:10:08 +0800
Tag:    v1.6.0

Removing MY_MOODLE_FORMAT constant, we just play along with relative paths.

commit e7898f26ebb5c5eebf8b56523b1f11f9c0909d9d
Author: defacer <defacer>
Date:   Sun, 30 Oct 2005 02:58:05 +0800
Tag:    v1.6.0

Fix for bug 4251:

commit 8b68aaf1f6e1447fb910fdcda2d9c3c97644b461
Author: defacer <defacer>
Date:   Wed, 26 Oct 2005 21:49:06 +0800
Tag:    v1.5.3

Merging from HEAD:

commit c2c194eeaf0ec909b534d76bc19128b2a33b387e
Author: defacer <defacer>
Date:   Wed, 26 Oct 2005 21:44:56 +0800
Tag:    v1.6.0

Fixing all incoming parameters when editing course groups as per SC#171.

commit b7535a6e23aa1c38d2a3642aeb7b4607872324a3
Author: defacer <defacer>
Date:   Tue, 25 Oct 2005 09:56:37 +0800
Tag:    v1.5.3

Merging from HEAD:

commit 970f144ef42e578e006d53194cfd6e0b6ed658f4
Author: defacer <defacer>
Date:   Tue, 25 Oct 2005 09:55:21 +0800
Tag:    v1.6.0

A slight improvement for my last edit, which could trigger a small bug.

commit bf617f07a6929843137d45d278eb2b4c4b6ec588
Author: defacer <defacer>
Date:   Tue, 25 Oct 2005 01:31:40 +0800
Tag:    v1.5.3

Merging from HEAD:

commit 72989350bec9cc9e81923f8abdfad935def03dd4
Author: defacer <defacer>
Date:   Tue, 25 Oct 2005 01:30:56 +0800
Tag:    v1.6.0

Fix for bug 3794:

commit b2b68362c2038e847b249f49eb2e3aeaafef99a2
Author: defacer <defacer>
Date:   Tue, 25 Oct 2005 01:25:29 +0800
Tag:    v1.6.0

I just worked with a few functions which had misleading or no PHPdoc comments, so it was a good excuse to fix the situation a bit.

commit 34225def25465abb7246db3e35eb584bdc9dc96f
Author: defacer <defacer>
Date:   Tue, 25 Oct 2005 01:15:30 +0800
Tag:    v1.5.3

Merging from HEAD:

commit c5a4a13a2468d82b8be988f1803c2c8b9365e335
Author: defacer <defacer>
Date:   Tue, 25 Oct 2005 01:13:57 +0800
Tag:    v1.6.0

Fix for bug 4203:

commit e5ada99f2bcb74972e47d18d856008405c5c4093
Author: defacer <defacer>
Date:   Fri, 21 Oct 2005 09:18:30 +0800
Tag:    v1.6.0

Merged from STABLE:

commit f77efbe3beaa2632a7deb75476003d353a9df4ba
Author: defacer <defacer>
Date:   Fri, 21 Oct 2005 09:13:56 +0800
Tag:    v1.5.3

Fix for bug 4127:

commit d515b72998b2594cbe6a3d08ee82ab39fd35b540
Author: defacer <defacer>
Date:   Fri, 21 Oct 2005 08:29:14 +0800
Tag:    v1.6.0

Merging from STABLE:

commit 74d60e20baedde9a4e2e01c03cf4024bbc1bf549
Author: defacer <defacer>
Date:   Fri, 21 Oct 2005 08:26:06 +0800
Tag:    v1.5.3

Fix for bug 4143:

commit 9bd49dfa3bf144b08f07f8351f181eb2a9d9f5c1
Author: defacer <defacer>
Date:   Sun, 02 Oct 2005 23:46:06 +0800
Tag:    v1.6.0

Code readability improvements and fixed a notice

commit 0be62652d11eb6b402145ecfa66fa0af3f52fcfb
Author: defacer <defacer>
Date:   Tue, 30 Aug 2005 11:31:17 +0800
Tag:    v1.5.3

Merging from HEAD:

commit 2280ecf5378feb4fbc261721151695e8d2adb801
Author: defacer <defacer>
Date:   Tue, 30 Aug 2005 11:27:52 +0800
Tag:    v1.6.0

Fix for bug 3981 (also quite lively discussed at http://moodle.org/mod/forum/discuss.php?d=29564):

commit dc9ec4e135e0a88a06fb55e03ece03b1ab4939a0
Author: defacer <defacer>
Date:   Wed, 24 Aug 2005 04:47:34 +0800
Tag:    v1.5.3

Merging from HEAD:

commit 69963aa63c68740c21dc10d05dac6f9838bf0ede
Author: defacer <defacer>
Date:   Wed, 24 Aug 2005 04:43:32 +0800
Tag:    v1.6.0

Changing some hardwired 1s to SITEID. Is the madness ever going to end? Use 1 as a magic number in code, pay the price...

commit 4dde75c7d738825203d7aee45ae9214358c7682c
Author: defacer <defacer>
Date:   Wed, 24 Aug 2005 04:08:21 +0800
Tag:    v1.5.3

Merging from HEAD:

commit 44525c65913e876da6e7f1db5fe997040e3a6322
Author: defacer <defacer>
Date:   Wed, 24 Aug 2005 04:06:08 +0800
Tag:    v1.6.0

Repeat events are now created correctly even if the DST change boundary is crossed between repeats.

commit e796d82d1ac774de26ad6fcf0f1addf7c1e8381c
Author: defacer <defacer>
Date:   Wed, 24 Aug 2005 03:14:00 +0800
Tag:    v1.6.0

Some new strings for the new "anonymous result" feature.

commit 85311ca8d6d2eca16b13c0c86c4aea2a163f3c92
Author: defacer <defacer>
Date:   Wed, 24 Aug 2005 03:12:54 +0800
Tag:    v1.6.0

Now Quiz Results can be set into anonymous mode, where performance is shown but student and group names are not disclosed. See relevant discussion at

commit 3cdc4597f5cf1eee7a34adb3f2343ee68980bfc0
Author: defacer <defacer>
Date:   Wed, 24 Aug 2005 02:16:06 +0800
Tag:    v1.6.0

Fixing copy/paste typo, caught by Howard Miller.

commit 398b3a2b83b57c0611c93ec403118ce0e80369fe
Author: defacer <defacer>
Date:   Tue, 23 Aug 2005 10:48:11 +0800
Tag:    v1.5.3

Two things:

commit c0e170b2a7385eccb2c027351bf6307dba515271
Author: defacer <defacer>
Date:   Tue, 23 Aug 2005 10:45:45 +0800
Tag:    v1.6.0

My first commit since I don't remember when. Yay!

commit 30d5bd7979e7b01736994f85898c43c54559d2c0
Author: defacer <defacer>
Date:   Sat, 23 Jul 2005 08:53:55 +0800
Tag:    v1.6.0

Merging from STABLE:

commit 3b80afab6363ad34f4790b8ad357b0a1021c5a74
Author: defacer <defacer>
Date:   Sat, 23 Jul 2005 08:52:47 +0800
Tag:    v1.5.3

Fix for bug 3793:

commit 98f8f9c2182e6319f540bfbb8566b2132f3c0713
Author: defacer <defacer>
Date:   Thu, 21 Jul 2005 01:58:33 +0800
Tag:    v1.6.0

Adding some fields to mdl_event to facilitate iCalendar import/export. This is a work in (sloooow) progress.

commit 2ecdff78945518c566994fe4a99788df1f6558d8
Author: defacer <defacer>
Date:   Thu, 21 Jul 2005 01:47:05 +0800
Tag:    v1.6.0

Merging from STABLE:

commit b586f7cda259060fa127f654bfb2034daf1bd8c2
Author: defacer <defacer>
Date:   Thu, 21 Jul 2005 01:42:55 +0800
Tag:    v1.5.3

All this time, table_column() didn't handle CHAR fields correctly! :o

commit e15e02bf98f964e837893a13aff4f04c59ce0d5c
Author: defacer <defacer>
Date:   Thu, 21 Jul 2005 01:23:07 +0800
Tag:    v1.6.0

Merging from STABLE:

commit 18e4e2d5c724a2888daac7a3d958b48e08f4a9b0
Author: defacer <defacer>
Date:   Thu, 21 Jul 2005 01:22:13 +0800
Tag:    v1.5.3

Fix for bug 3637:

commit 164e30542d466a7f182a151259b04850c101baa2
Author: defacer <defacer>
Date:   Wed, 20 Jul 2005 07:45:02 +0800
Tag:    v1.6.0

Merging from STABLE:

commit 309ed997b366c9eb1d12d9ba3d254a0731f79f5c
Author: defacer <defacer>
Date:   Wed, 20 Jul 2005 07:43:42 +0800
Tag:    v1.5.3

Slight "correctness" correction.

commit 73b60981afc9dbf31fd4c0e75f5743b85795bc9e
Author: defacer <defacer>
Date:   Sat, 16 Jul 2005 08:16:26 +0800
Tag:    v1.5.3

Robustness check from Marko Korhonen (bug 3751):

commit 281d70ac2d4a90c0300a5341678eeba6b7e43578
Author: defacer <defacer>
Date:   Fri, 08 Jul 2005 11:51:38 +0800
Tag:    v1.6.0

Merging from STABLE:

commit df1cbe9f48de0e83f2f21ff5dd8df970742b2449
Author: defacer <defacer>
Date:   Fri, 08 Jul 2005 11:50:30 +0800
Tag:    v1.5.2

Three improvements:

commit 73ee7658dfb1ee870c1d5c44e1a9684de9d616b3
Author: defacer <defacer>
Date:   Fri, 08 Jul 2005 11:20:54 +0800
Tag:    v1.6.0

Allow <span> as well as <lang> in event titles; clean appropriately.

commit c7d6e274510feea3531964a17a84c1504cfb9a79
Author: defacer <defacer>
Date:   Wed, 06 Jul 2005 08:51:20 +0800
Tag:    v1.6.0

Fixing a notice: $this->footer wasn't always set.

commit fdc36b2f981147309eda36f8f07278533d4f0d9b
Author: defacer <defacer>
Date:   Wed, 06 Jul 2005 08:47:08 +0800
Tag:    v1.6.0

Merging from STABLE: Fixed the annoying "...and the 1 Journals you had..." message when you have no Journals at all, because I was tired of seeing it.

commit 4830bb4c53adf6f4f2e2efd0e989cef9df1a4a68
Author: defacer <defacer>
Date:   Wed, 06 Jul 2005 08:46:14 +0800
Tag:    v1.5.1

Fixed the annoying "...and the 1 Journals you had..." message when you have no Journals at all, because I was tired of seeing it.

commit e623c7f74000c707f54ef626634258f48185fe28
Author: defacer <defacer>
Date:   Wed, 06 Jul 2005 08:36:36 +0800
Tag:    v1.6.0

Merging from STABLE: Fix for bug 3616:

commit dca2e99977f212a0867ce87c1ff99d7710046699
Author: defacer <defacer>
Date:   Wed, 06 Jul 2005 08:35:37 +0800
Tag:    v1.5.1

Fix for bug 3616:

commit 20cbef6390dffc46b05f4841f00c2cd3a3e576f8
Author: defacer <defacer>
Date:   Fri, 01 Jul 2005 11:57:03 +0800
Tag:    v1.6.0

Merging from STABLE:

commit a328acd2f299bbd7ec9dd0a6eca322d1e6272e18
Author: defacer <defacer>
Date:   Fri, 01 Jul 2005 11:52:59 +0800
Tag:    v1.5.1

Improving Eloy's radio- and checkbox- generating functions to automagically use <label>s with unique ids for improved usability. See discussion at http://moodle.org/mod/forum/discuss.php?d=26139

commit 7f65461c36cc588df983fd1173ae471ee6391f55
Author: defacer <defacer>
Date:   Thu, 30 Jun 2005 08:03:03 +0800
Tag:    v1.6.0

Merging from STABLE:

commit dd050858021149fdcb9dd1636fc3956da1b012d1
Author: defacer <defacer>
Date:   Thu, 30 Jun 2005 07:59:41 +0800
Tag:    v1.5.1

Getting the hardwired <i> out of the "post edited by" HTML and putting it in CSS. I have been meaning to do this for something like 3 eons now...

commit 8d8c444f9d99edd18c350fcff2ad881f4958dbf2
Author: defacer <defacer>
Date:   Thu, 30 Jun 2005 07:58:15 +0800
Tag:    v1.5.1

Tiny visual improvement

commit a5a3f48a4a7fb384a42edd46eee3778d654ea53d
Author: defacer <defacer>
Date:   Mon, 20 Jun 2005 11:47:19 +0800
Tag:    v1.6.0

Merging from STABLE:

commit 0757dc7cec035a94767d65c142d8d0b14dc1c549
Author: defacer <defacer>
Date:   Mon, 20 Jun 2005 11:45:49 +0800
Tag:    v1.5.1

Adding default sort order to participant lists to reinstate 1.4-style behavior.

commit d10b0ae93e896354a271307dab76aec804ebb2d2
Author: defacer <defacer>
Date:   Mon, 20 Jun 2005 11:43:25 +0800
Tag:    v1.5.1

Augment tablelib so that it can accept a default sort order.

commit 2e477369d3ec1f545956a6e2fd9ba3d1e2ea035e
Author: defacer <defacer>
Date:   Wed, 15 Jun 2005 04:33:39 +0800
Tag:    v1.6.0

Merging from STABLE:

commit 9b8a8597818508f9e638b4ae458f35b2b9a251d2
Author: defacer <defacer>
Date:   Wed, 15 Jun 2005 04:32:40 +0800
Tag:    v1.5.1

Fix for bug 3510:

commit 93c865201a163b9b4654f59b526bc575d1a62651
Author: defacer <defacer>
Date:   Tue, 14 Jun 2005 23:52:49 +0800
Tag:    v1.6.0

Merging from STABLE:

commit 70057cf44f9a36da9765bedebc0171887ab1a591
Author: defacer <defacer>
Date:   Tue, 14 Jun 2005 23:50:13 +0800
Tag:    v1.5.1

Fix for bug 3467: Adding "single discussion forum" was broken. Now works.

commit b33dd23adc5664e1d0c532a7e3801fa3ac30a952
Author: defacer <defacer>
Date:   Mon, 13 Jun 2005 11:32:31 +0800
Tag:    v1.6.0

Merging from STABLE:

commit 85ad80a03f406e90246b1d97974558e1f5bd5521
Author: defacer <defacer>
Date:   Mon, 13 Jun 2005 11:29:47 +0800
Tag:    v1.5.1

Implementing Dan Marsden's great idea for additional hooks when block instances are deleted (bug 3446). Going a step further and adding hooks for when block instances are created.

commit 34137668b55b44df05fd1801ee97a202a464c5c4
Author: defacer <defacer>
Date:   Mon, 13 Jun 2005 10:56:37 +0800
Tag:    v1.6.0

Adding a little more checking to the session switching trap code.

commit 9b1e8d728a4189f8a3e6f3a347ddd7d9d60e61b9
Author: defacer <defacer>
Date:   Mon, 13 Jun 2005 10:50:46 +0800
Tag:    v1.5.1

Adding a little more checking to the session switching trap code.

commit 7e9a11eb98f5760e6afff487807e0c7bb8eb1970
Author: defacer <defacer>
Date:   Mon, 13 Jun 2005 10:38:48 +0800
Tag:    v1.6.0

Merging from STABLE:

commit 230783ba85aac3bb59cf69f7131ab90239804cf3
Author: defacer <defacer>
Date:   Mon, 13 Jun 2005 10:35:38 +0800
Tag:    v1.5.1

While researching bug 3478:

commit 8023ab860a129f3507a70d8f19d68b771311e490
Author: defacer <defacer>
Date:   Mon, 13 Jun 2005 09:57:33 +0800
Tag:    v1.6.0

Merging from STABLE:

commit fa62ca18e863689fc33cfbcc4ee0208a8c1db901
Author: defacer <defacer>
Date:   Mon, 13 Jun 2005 09:56:25 +0800
Tag:    v1.5.1

Fix for bug 2925:

commit eb24097afebd17270d6099f9cd7d076cda830883
Author: defacer <defacer>
Date:   Mon, 13 Jun 2005 08:48:33 +0800
Tag:    v1.6.0

Merge from STABLE:

commit abb7e59d4674f38a629b41efd5c7b061d2015168
Author: defacer <defacer>
Date:   Mon, 13 Jun 2005 08:44:43 +0800
Tag:    v1.5.1

Fixing a notice when $CFG->forum_trackreadposts doesn't exist (when editing the admin account during installation, for example).

commit 491cc6d617e8cc699360f387d8cfe7397fb0fca6
Author: defacer <defacer>
Date:   Sun, 05 Jun 2005 01:53:36 +0800
Tag:    v1.6.0

Merging from STABLE:

commit ff642e93bae3785d16222099eed1aa52219d84cb
Author: defacer <defacer>
Date:   Sun, 05 Jun 2005 01:43:52 +0800
Tag:    v1.5.0

Fixing all Tidy warnings in this page. This has to be A Good Thing.

commit 731df4595cf9cc0f1db9e3472b92fdd74dc86dd1
Author: defacer <defacer>
Date:   Sat, 04 Jun 2005 08:21:00 +0800
Tag:    v1.6.0

Merging from STABLE:

commit 6e296332ca91316cee3951a3ccc45427bf80519d
Author: defacer <defacer>
Date:   Sat, 04 Jun 2005 08:18:57 +0800
Tag:    v1.5.0

Fix for bug 3316: Now students which have attempted the quiz but have since been unenrolled from the course are shown with a dimmed style.

commit bf845f2b30d4654dbe2446e1f9789b234b3ae2ef
Author: defacer <defacer>
Date:   Sat, 04 Jun 2005 07:41:06 +0800
Tag:    v1.6.0

Merging from STABLE:

commit 94640580f388e0f9c801a65f2910d76feadbb409
Author: defacer <defacer>
Date:   Sat, 04 Jun 2005 07:40:19 +0800
Tag:    v1.5.0

Forgot to prepend country codes to the teacher list as well when sorting.

commit 097c223156e3395d67d8e3e3c651c96770dd4b61
Author: defacer <defacer>
Date:   Sat, 04 Jun 2005 07:32:04 +0800
Tag:    v1.6.0

Merging from STABLE:

commit 113130bd32bc4ddb3aa35d8bf870faca7c32514a
Author: defacer <defacer>
Date:   Sat, 04 Jun 2005 07:31:06 +0800
Tag:    v1.5.0

Adding one new string: "Show $a per page"

commit d5406399a282e853f25b060426eaf1aeb125a90d
Author: defacer <defacer>
Date:   Sat, 04 Jun 2005 07:29:56 +0800
Tag:    v1.6.0

Merging from STABLE:

commit 144343343185a9e04081fd768167aeb6907a0ce6
Author: defacer <defacer>
Date:   Sat, 04 Jun 2005 07:26:31 +0800
Tag:    v1.5.0

CSS styles for the revamped user/index.php

commit cc038b47725df5bbe19e11950fdeae447136dfd6
Author: defacer <defacer>
Date:   Sat, 04 Jun 2005 07:20:01 +0800
Tag:    v1.6.0

Merging from STABLE:

commit 4fd2dff9fe7d6af037e96096c7e826e128bd6478
Author: defacer <defacer>
Date:   Sat, 04 Jun 2005 07:19:12 +0800
Tag:    v1.5.0

A big big big patch:

commit 91bb59f49f954fda623bd42aaddf7c0c708aa850
Author: defacer <defacer>
Date:   Sat, 04 Jun 2005 06:48:07 +0800
Tag:    v1.6.0

Merging from STABLE:

commit 680da3b4af5c9ed4266ab72a1f1cfcc3ce16a57f
Author: defacer <defacer>
Date:   Sat, 04 Jun 2005 06:46:54 +0800
Tag:    v1.5.0

Added function that exports current selection for first/last initial Added extra CSS class to initial bars (can now differentiate first/last)

commit 3525d91b4622a2ae1a9aae991dd1384d71de291e
Author: defacer <defacer>
Date:   Mon, 30 May 2005 21:35:36 +0800
Tag:    v1.6.0

Merging from STABLE:

commit bb25fc1bcaa445399b9f271eff3dde30432959e4
Author: defacer <defacer>
Date:   Mon, 30 May 2005 21:31:44 +0800
Tag:    v1.5.0

Fix for bug 3364:

commit 5a74ffd34415710156df09200b7e70679f8601b1
Author: defacer <defacer>
Date:   Mon, 30 May 2005 20:44:30 +0800
Tag:    v1.6.0

Merging from STABLE:

commit 7bc4158521d00984a4b5d6e470d61cf74dcbb11e
Author: defacer <defacer>
Date:   Mon, 30 May 2005 20:40:44 +0800
Tag:    v1.5.0

More correct handling of group events, we cannot simply omit them because the course has "no groups" UNLESS groupmodeforce == 1 as well.

commit e2ba85e99c59f94d1357e8f669bab766eee8f5ca
Author: defacer <defacer>
Date:   Sun, 29 May 2005 05:24:46 +0800
Tag:    v1.6.0

Merging from STABLE:

commit 181922145047d846f21c3291b7cd84805206df55
Author: defacer <defacer>
Date:   Sun, 29 May 2005 05:22:45 +0800
Tag:    v1.5.0

Now tablelib allows the GET variables that control sorting etc. to be configured. Essential in order to allow two independent tables in the same screen, which is required for /user/index.php.

commit 061d8339a6e05eeea3f3bb7d90c51d89660b94c8
Author: defacer <defacer>
Date:   Sun, 29 May 2005 02:37:47 +0800
Tag:    v1.6.0

Merging from STABLE.

commit 4ac7b06a76bad577932fc769f13b2bcf86d21c10
Author: defacer <defacer>
Date:   Sun, 29 May 2005 02:36:01 +0800
Tag:    v1.5.0

Revisited blocks administration page!

commit 0ead4ee0df9b6a8bc520cfbeb7929fbb2485be87
Author: defacer <defacer>
Date:   Sun, 29 May 2005 02:29:40 +0800
Tag:    v1.6.0

NEW STRING ADDED for admin/blocks.php

commit 379298d6aebbd4d6efc1132d486b53b5ea4d70d8
Author: defacer <defacer>
Date:   Sun, 29 May 2005 02:28:26 +0800
Tag:    v1.5.0

NEW STRING ADDED for admin/blocks.php

commit ca98446a17ec1fc803a6d1af4de700f2051ea73c
Author: defacer <defacer>
Date:   Sun, 29 May 2005 02:24:23 +0800
Tag:    v1.6.0

Merging styles for admin/blocks from STABLE

commit 49307babf599b94c498f11a8bc44e6b1b09939cd
Author: defacer <defacer>
Date:   Sun, 29 May 2005 02:22:28 +0800
Tag:    v1.5.0

New styles for the revisited admin/blocks page, coming up next.

commit 46bba3597c0cf6862f1433bcaacae2d5ea5b810b
Author: defacer <defacer>
Date:   Thu, 26 May 2005 01:57:53 +0800
Tag:    v1.6.0

Merging bugfix for 3334 (if at first you don't succeed edition)

commit dbf8f55057cc6ecb0a0b8d3ac2c1c5e3393e1f13
Author: defacer <defacer>
Date:   Thu, 26 May 2005 01:54:58 +0800
Tag:    v1.5.0

Er, fix for bug 3334 once more.

commit a058decd5e880c51cf268dcfcb34cc61d994fa53
Author: defacer <defacer>
Date:   Wed, 25 May 2005 22:38:06 +0800
Tag:    v1.6.0

Merging fix for bug 3334 from 1.5 STABLE branch.

commit 14b7da15274cb8467cf968097714d049808ee822
Author: defacer <defacer>
Date:   Wed, 25 May 2005 22:26:28 +0800
Tag:    v1.5.0

Fixing the other half of bug 3334.

commit 101415b2021d93f2eb946ee93a7d8ad3f5e550b3
Author: defacer <defacer>
Date:   Wed, 25 May 2005 22:22:05 +0800
Tag:    v1.5.0

Fixing one half of bug 3334 with the patch provided by the reporter.

commit 76e2cb0a9b5e194c268f2994dc009ff78ce3dc38
Author: defacer <defacer>
Date:   Wed, 25 May 2005 02:58:02 +0800
Tag:    v1.5.0

Backporting changes from HEAD

commit 71f189c537ab7cb686ee32b3f29eda0a29b25b8c
Author: defacer <defacer>
Date:   Wed, 25 May 2005 02:55:30 +0800
Tag:    v1.6.0

Tweaking a little stuff to make CSS the same as those in translated versions.

commit c910274995dd4d89a29062d07c0c0474753f2fcb
Author: defacer <defacer>
Date:   Tue, 24 May 2005 11:31:48 +0800
Tag:    v1.6.0

Fixing a typo.

commit d3555a2ff5c3661bb3608832069e5e5379203606
Author: defacer <defacer>
Date:   Mon, 23 May 2005 21:53:06 +0800
Tag:    v1.6.0

A small bugfix/update to work with DST. Before, events starting between 00:00 and 00:59 in the first day of each month were not shown at all with DST on.

commit 254e5a22a98c33210fbf9fa8d277abef0649d2f2
Author: defacer <defacer>
Date:   Mon, 23 May 2005 05:43:12 +0800
Tag:    v1.6.0

Fixed invalid use of GROUP BY and (mostly) fixed sorting by question grade.

commit 5e5c0f1ea576d24bb19c620c0ee79b2dc9b39dff
Author: defacer <defacer>
Date:   Mon, 23 May 2005 00:57:24 +0800
Tag:    v1.6.0

This just caught my eye; obsolete and misleading line removed.

commit 64ea4ecbbadd4a150d58f637b5a8246f764663b8
Author: defacer <defacer>
Date:   Sun, 22 May 2005 10:05:45 +0800
Tag:    v1.6.0

One new string

commit c8dbfa5cd56db24e4e1d9834790f5acbe32ddb10
Author: defacer <defacer>
Date:   Sun, 22 May 2005 09:53:13 +0800
Tag:    v1.6.0

Fixing a header, this string wasn't set anywhere. Plus it needs a new string in the lang files (coming up next).

commit c5d362036208e3a35019ffb503917f03c95d83fa
Author: defacer <defacer>
Date:   Sun, 22 May 2005 09:51:03 +0800
Tag:    v1.6.0

Fixing invalid GROUP BY sql reported by Patrick Li of Catalyst. (http://moodle.org/mod/forum/discuss.php?d=24110)

commit e345909c50c42552c054f47a74fdfb0046cfbccc
Author: defacer <defacer>
Date:   Fri, 20 May 2005 04:09:57 +0800
Tag:    v1.6.0

Now that the extended multilang filter is in place (bug 2879), reintroducing format_text to the HTML block (bug 2878).

commit fde4a0941b9229d28e97fbf68779471186be3c85
Author: defacer <defacer>
Date:   Fri, 20 May 2005 01:32:30 +0800
Tag:    v1.6.0

New extended multilang filter!

commit 4541e897cb3e3537cb385ef481a9e5675468847e
Author: defacer <defacer>
Date:   Wed, 18 May 2005 08:49:45 +0800
Tag:    v1.6.0

The particulars for the Manage Feeds page finalized. Old code removed.

commit 3753b02a3b242b147468a821bf58c03952c9023d
Author: defacer <defacer>
Date:   Wed, 18 May 2005 08:48:16 +0800
Tag:    v1.6.0

New yummy styles for the Manage Feeds page. Molto belle.

commit 1c7e01d5cd11eb822a0bfbde809c80f5aea835f9
Author: defacer <defacer>
Date:   Wed, 18 May 2005 08:03:18 +0800
Tag:    v1.6.0

Adding "Actions" (plural).

commit 9e0f2a43dcfa6d8f363cab446630b435a9e3213d
Author: defacer <defacer>
Date:   Wed, 18 May 2005 07:35:58 +0800
Tag:    v1.6.0

Switching feed dislay table to use the new table class.

commit 3c47bfc752d4fd167511c864763827ec4f593c3a
Author: defacer <defacer>
Date:   Wed, 18 May 2005 01:00:20 +0800
Tag:    v1.6.0

The bug 2822 saga concludes.

commit b4843fde3b272ef0c505700258182a06209ba383
Author: defacer <defacer>
Date:   Wed, 18 May 2005 00:35:20 +0800
Tag:    v1.6.0

Fix for bug 2822: unwanted table spacing in calendar/view.php. Thanks Andrea! smile

commit b011f733bfc3d340fbe0d37d741c7698c2807764
Author: defacer <defacer>
Date:   Tue, 17 May 2005 23:28:06 +0800
Tag:    v1.6.0

Fix for bug 2635:

commit 7c7d56bbd92e3fe2140d085e06619d1657a39375
Author: defacer <defacer>
Date:   Tue, 17 May 2005 23:01:10 +0800
Tag:    v1.6.0

Fix for bug 2878:

commit 9abcc2f62d948edc6cfcec3a8c9429c7545921f2
Author: defacer <defacer>
Date:   Tue, 17 May 2005 08:29:11 +0800
Tag:    v1.6.0

Removing a string we no longer use.

commit e7beac8992c7b6ba8740ebc0bcaa4d4b276ebbf7
Author: defacer <defacer>
Date:   Thu, 12 May 2005 22:46:16 +0800
Tag:    v1.6.0

Removing dead code.

commit 7979105c629050e744b9e889a95b6984cf912b03
Author: defacer <defacer>
Date:   Thu, 12 May 2005 22:45:16 +0800
Tag:    v1.6.0

If Javascript is enabled, make IE fix the block sizes after the page loads so that it's not a mess to look at.

commit 4c58e0289bab60a87242cb90d31e775d46d59dab
Author: defacer <defacer>
Date:   Wed, 11 May 2005 01:32:01 +0800
Tag:    v1.6.0

Removing dead commented code.

commit e6890163ddb81ee7775636a1d206052250107169
Author: defacer <defacer>
Date:   Wed, 11 May 2005 01:09:15 +0800
Tag:    v1.6.0

Nice borders all around the header when a sideblock is collapsed.

commit c4d951e1f8d867551898be464e4d4ebd3c5458c6
Author: defacer <defacer>
Date:   Tue, 10 May 2005 12:00:56 +0800
Tag:    v1.6.0

Here be DIVs.

commit 45c89333e1adcab303ad2714314449b8cde0d2dc
Author: defacer <defacer>
Date:   Tue, 10 May 2005 08:47:08 +0800
Tag:    v1.6.0

Moving this from inline style to CSS.

commit ef6a8319d4667e69ab538b7e946539dec2c1994a
Author: defacer <defacer>
Date:   Tue, 10 May 2005 08:36:37 +0800
Tag:    v1.6.0

Making these menus smaller so that they fit in the same line as the help icon.

commit d33d0cda79d079d0d7438381d1e8317062b9899f
Author: defacer <defacer>
Date:   Tue, 10 May 2005 08:31:32 +0800
Tag:    v1.6.0

Better appearance for section add menus in vertical mode.

commit 4b4ca01dae263171c673910889fafe9a1775eb30
Author: defacer <defacer>
Date:   Tue, 10 May 2005 08:22:34 +0800
Tag:    v1.6.0

Giving some margin back to /pix/help.gif, and bringing blocks to 90% working order again.

commit 1fd3772bc51cd44d0761dae151155f6257af709e
Author: defacer <defacer>
Date:   Tue, 10 May 2005 08:21:09 +0800
Tag:    v1.6.0

Changing width="22" for /pix/help.gif to width="17"

commit b1aa9a39a2b7caef00097a8987cc27d9f36d2596
Author: defacer <defacer>
Date:   Tue, 10 May 2005 08:20:18 +0800
Tag:    v1.6.0

Switching blocks to table-less format; IT DOESN'T WORK CORRECTLY YET.

commit 1c46eb033406a533bf310ac04afbdd10d3cf4842
Author: defacer <defacer>
Date:   Tue, 10 May 2005 08:17:22 +0800
Tag:    v1.6.0

Improved markup for print_section_add_menus, without tables.

commit ebe43221ff55e99338f03d02a0f36e5168d3fb3a
Author: defacer <defacer>
Date:   Tue, 10 May 2005 08:15:06 +0800
Tag:    v1.6.0

Removing annoying extra padding from the left side of this graphic. We can very easily fix this with CSS, coming up next.

commit 4fad36189f62ce3211f8687e676a6e05da41958b
Author: defacer <defacer>
Date:   Tue, 10 May 2005 07:37:28 +0800
Tag:    v1.6.0

I 'm fed up with the crappy HTML for blocks that keeps giving us no end of trouble (bug 1718 is just the tip of the iceberg).

commit 88bbf2efff7c23a713f004810325a38837c362ab
Author: defacer <defacer>
Date:   Tue, 10 May 2005 07:11:25 +0800
Tag:    v1.6.0

Visual improvement: blocks which are "hidden" (eye icon) now shown exactly like collapsed blocks (minus sign) when editing is on.

commit 15816e0a08fe22aef3e14b35d643bc4e76e5a47f
Author: defacer <defacer>
Date:   Sun, 08 May 2005 01:51:31 +0800
Tag:    v1.6.0

Umm... just adding my standardized calling convention there. Pretend you didn't see :P

commit 8ecefdc8ad33f8a57372a96f01ca618e1630f7b7
Author: defacer <defacer>
Date:   Sun, 08 May 2005 01:47:52 +0800
Tag:    v1.6.0

Don't allow the "mark all posts in current forum read" image to break into a new line, it looks ugly.

commit fee287f3e77c2b05595013369ced3c72a2833315
Author: defacer <defacer>
Date:   Sun, 08 May 2005 01:46:20 +0800
Tag:    v1.6.0

Random change while searching for something: Removing border attribute from <img>, these are handled through CSS (a img {border: none;})

commit cfab68844e9987e4ae759a7e7d066e19a06b30ab
Author: defacer <defacer>
Date:   Sun, 08 May 2005 00:25:46 +0800
Tag:    v1.6.0

Adding a new lang file for the search forums block (no need to load up the forum.php behemoth just for that) and moving a couple of strings there.

commit cec60526cc7897537e66411fe62e0ab747638a81
Author: defacer <defacer>
Date:   Sun, 08 May 2005 00:10:50 +0800
Tag:    v1.6.0

Fixing set_user_sesskey calls (function no longer exists), changing to sesskey()

commit fcb50b292d20d5db9f8b6041a8ecbe142f897df0
Author: defacer <defacer>
Date:   Sat, 07 May 2005 05:44:34 +0800
Tag:    v1.6.0

Fix for bug 3113, some innocent notices.

commit 914493e96176d0eb46855275017549a34603a0c4
Author: defacer <defacer>
Date:   Thu, 05 May 2005 05:54:06 +0800
Tag:    v1.6.0

Fixing a bug, default value must be taken from the global $GRADEPREFSDEFAULTS.

commit 365789db75f4b3358af0f0f456e60952165acea8
Author: defacer <defacer>
Date:   Mon, 02 May 2005 22:27:45 +0800
Tag:    v1.6.0

Some improvements: keep checkbox and weekday name grouped together.

commit b030458beee9df1120595a48ca5c22fdfb6c427f
Author: defacer <defacer>
Date:   Mon, 02 May 2005 01:17:06 +0800
Tag:    v1.6.0

Make very sure that the submitted edit form actually tries to submit a locked field before deciding to complain.

commit 8abc54c4f090dff78c29417dd5189e3b25bcd561
Author: defacer <defacer>
Date:   Mon, 02 May 2005 01:13:30 +0800
Tag:    v1.6.0

Updating the timezone lists with the Manila fix and also the glaring Paris mess-up. Eagle Eye Eloy strikes again!

commit 28c66824e7058547b72d4096bd111b6b28065fc4
Author: defacer <defacer>
Date:   Mon, 02 May 2005 00:50:35 +0800
Tag:    v1.6.0

Fixing two bugs:

commit 6976250146c991a0de62e0fa341bd0602dd4776f
Author: defacer <defacer>
Date:   Sun, 01 May 2005 06:26:17 +0800
Tag:    v1.6.0

Performance boost for admins and editing teachers who teach several courses with NOGROUPS.

commit 459ac79118006871894eabd23c488ed34e2ad9c3
Author: defacer <defacer>
Date:   Sun, 01 May 2005 01:46:11 +0800
Tag:    v1.6.0

Fixing visual glitch in tabs.

commit 165479681584802aa147797be0f44e3362893449
Author: defacer <defacer>
Date:   Sat, 30 Apr 2005 11:25:28 +0800
Tag:    v1.6.0

The final touch for block robustness: when upgrading from 1.4, intercept and disable any incompatible blocks. Print a notice too.

commit 521729041aa4547b7842f58b9805057d56bd2815
Author: defacer <defacer>
Date:   Sat, 30 Apr 2005 11:22:59 +0800
Tag:    v1.6.0

The admin blocks page now doesn't crash when encountering an incompatible block; instead, it shows a notice.

commit ff6191b742100ed429ff942202824d615fcd271c
Author: defacer <defacer>
Date:   Sat, 30 Apr 2005 11:18:02 +0800
Tag:    v1.6.0

On second thought, moving the cache retrieval out of the loop should eliminate up to ten or so function calls per page view. I don't know how expensive they are, but let's take what we can.

commit 9b68732055d43c163db7c282e97b2de5b512039f
Author: defacer <defacer>
Date:   Sat, 30 Apr 2005 11:14:42 +0800
Tag:    v1.6.0

Extra check in blocks_preferred_width: don't examine any instance if that block is not visible. Apart from fixing a bug, this is also they key to fixing broken behavior with legacy 1.4 blocks.

commit 61abc65bb956db43259144ff28c957e3c718488b
Author: defacer <defacer>
Date:   Sat, 30 Apr 2005 11:08:04 +0800
Tag:    v1.6.0

New function block_is_compatible(), if it returns anything but true and you decide to do anything with the block your warranty is void.

commit 6cb79c49d5ee5c964a334114a05cf3aef076dbef
Author: defacer <defacer>
Date:   Fri, 29 Apr 2005 03:23:39 +0800
Tag:    v1.6.0

Latest and (hopefully!!!) final changes to the Blocks how-to. These address the change where we now supply class block_list for list blocks to derive from.

commit 68b38e8d02a35c3a3b1a4f41ff2c9c6da2e0b1fa
Author: defacer <defacer>
Date:   Thu, 28 Apr 2005 02:30:02 +0800
Tag:    v1.6.0

Teachers table is now displayed with the new table class.

commit 380bf7a6d3bce3906b8f3bbeb294c74ac0a0ef5b
Author: defacer <defacer>
Date:   Wed, 27 Apr 2005 11:44:52 +0800
Tag:    v1.6.0

Simply usertimezone(), baby! wink

commit 0c2443159080d06ad0e1024007a8d0056936a35e
Author: defacer <defacer>
Date:   Wed, 27 Apr 2005 11:42:07 +0800
Tag:    v1.6.0

Fix for bug 3045:

commit 630bd96bd9005772dbb33b66474507acb1e5a2f2
Author: defacer <defacer>
Date:   Wed, 27 Apr 2005 06:02:26 +0800
Tag:    v1.6.0

Fixing read tracking link when tracking is forced.

commit 1576756e9f75f53bab278faffb0557dabefbcf47
Author: defacer <defacer>
Date:   Wed, 27 Apr 2005 05:52:39 +0800
Tag:    v1.6.0

Get rid of evil <font> tag and a few aesthetic corrections.

commit c6c3a5994157425223cd9ae8b92a4dfbf8f9019c
Author: defacer <defacer>
Date:   Wed, 27 Apr 2005 05:50:44 +0800
Tag:    v1.6.0

Initializing $parent to new stdClass was a major oops. However, seems it doesn't need to be initialized at all. So I won't hold this against the practice in general.

commit 10426cefb61876748ea7d33b692fbd34dfcb9da6
Author: defacer <defacer>
Date:   Wed, 27 Apr 2005 05:45:48 +0800
Tag:    v1.6.0

Fixing the two other functions that feed stuff into forum_print_post_full as well.

commit 6572ab7170efcbd726deb68294b3ff1ea38a271c
Author: defacer <defacer>
Date:   Wed, 27 Apr 2005 05:29:29 +0800
Tag:    v1.6.0

Fix for bug 3047, which I leave open because I don't know if this is the desired way of fixing the problem. Hopefully it is.

commit a2ad73deb99b08b28b5d7b90e99a030cb8a0720b
Author: defacer <defacer>
Date:   Wed, 27 Apr 2005 05:26:17 +0800
Tag:    v1.6.0

Initialize object as new stdClass instead of NULL.

commit 16955dc6191ecda7ac35fe1910db61dc9ed7e7c6
Author: defacer <defacer>
Date:   Wed, 27 Apr 2005 04:39:08 +0800
Tag:    v1.6.0

Some double quotes to single, use optional_param for $reply.

commit 208fc3a5f0de86cd2784e3de6c0ef432aedddcab
Author: defacer <defacer>
Date:   Tue, 26 Apr 2005 10:06:38 +0800
Tag:    v1.6.0

Initialize object with new stdClass.

commit a1dc259f2502e0bbe586d279f8485e67e8b2dc9f
Author: defacer <defacer>
Date:   Fri, 22 Apr 2005 20:44:11 +0800
Tag:    v1.6.0

Correct fix for bug 2912. That wasn't a typo, and thanks to my good friend IE we now need an ugly workaround (which luckily exists...)

commit d2900290849d310f606fefbe9aa9afe0e9384ae5
Author: defacer <defacer>
Date:   Fri, 22 Apr 2005 11:43:09 +0800
Tag:    v1.6.0

Correcting the behavior of update_record.

commit 6a368788ac0e76b8a5862a091c760434cafbcc57
Author: defacer <defacer>
Date:   Fri, 22 Apr 2005 11:13:58 +0800
Tag:    v1.6.0

Fixing a bug with embedding the parameter a=... in the log URL, which in turn affected the recent_activity block (that's how I found out).

commit 98cd789a4e18b717b87436f1c6216876a4065cde
Author: defacer <defacer>
Date:   Thu, 21 Apr 2005 22:33:30 +0800
Tag:    v1.6.0

Editing repeating events in one go works as well. Enjoy!

commit 822c612566b4a2eeabc85e0fbbe88481a757834a
Author: defacer <defacer>
Date:   Thu, 21 Apr 2005 22:04:26 +0800
Tag:    v1.6.0

Centering some headers in the calendar screens.

commit e6fbb4d11a7e3fa0cb173b004d5c2058a1ace2e4
Author: defacer <defacer>
Date:   Thu, 21 Apr 2005 22:03:22 +0800
Tag:    v1.6.0

You can now delete a repeating event series all at once.

commit 8f71c6b20bccf31fba044d458b5b9a0da808288f
Author: defacer <defacer>
Date:   Thu, 21 Apr 2005 21:44:50 +0800
Tag:    v1.6.0

Fixing PHP 5 warning.

commit d3e27ac43915a69e28061e99edb0896919275697
Author: defacer <defacer>
Date:   Thu, 21 Apr 2005 21:43:07 +0800
Tag:    v1.6.0

Adding repeatid to newly created repeat events.

commit 8180c859f1c84149c2529211b0225fe6b26fc1be
Author: defacer <defacer>
Date:   Thu, 21 Apr 2005 21:36:37 +0800
Tag:    v1.6.0

Adding repeatid in mdl_event.

commit 71de24539ac8c3026b821efdb9e75ec62806211a
Author: defacer <defacer>
Date:   Thu, 21 Apr 2005 21:25:43 +0800
Tag:    v1.6.0

Removing one block from social courses defaults, too overcrowded. Fixing also line endings.

commit cb88fbddecac107da9ba6a70d2aeb5b97f170a9c
Author: defacer <defacer>
Date:   Thu, 21 Apr 2005 05:46:33 +0800
Tag:    v1.6.0

I broke this with my last commit, fixing.

commit e93f551b3fdb0d1b8dcaa381005eaa2e1ff7e177
Author: defacer <defacer>
Date:   Thu, 21 Apr 2005 05:17:39 +0800
Tag:    v1.6.0

Removing leftovers from some debugging session.

commit 95a1810ed90b5ff2d88cbbb1cbebbc19a96885a7
Author: defacer <defacer>
Date:   Thu, 21 Apr 2005 05:14:27 +0800
Tag:    v1.6.0

Removing dead code.

commit edf205a609c28ebc7a5c8f8de5dc48626d90551e
Author: defacer <defacer>
Date:   Thu, 21 Apr 2005 05:13:08 +0800
Tag:    v1.6.0

Synchronising rights required for event editing with those required for adding events.

commit bc5f95a433f330969a39348461e7968d4a628f2f
Author: defacer <defacer>
Date:   Thu, 21 Apr 2005 05:09:26 +0800
Tag:    v1.6.0

Fixing a typo.

commit 4eb1a1df3f3ca7850d1898b0e52cfc606b5fe078
Author: defacer <defacer>
Date:   Thu, 21 Apr 2005 05:07:55 +0800
Tag:    v1.6.0

As per bug 2578:

commit fda5a2338fbc49747568f284224f7b7d7df16c1b
Author: defacer <defacer>
Date:   Thu, 21 Apr 2005 04:40:04 +0800
Tag:    v1.6.0

Scott Elliott managed to diagnose bug 2784 (and 2990 -- duplicate) and find the solution. All hail! smile

commit 65ef518b1de1b8e729aa3f2c13e94c27c46a0b1e
Author: defacer <defacer>
Date:   Thu, 21 Apr 2005 03:28:14 +0800
Tag:    v1.6.0

See bug 2987 (there is more to it than this checkin):

commit 3bc40d18548ff77198ddca2779697ea1598dd6df
Author: defacer <defacer>
Date:   Wed, 20 Apr 2005 23:09:33 +0800
Tag:    v1.6.0

Fixing a small visual discrepancy in the calendar block filter panel.

commit 865da14944c446e157d49ba85e027c8a7e7929e2
Author: defacer <defacer>
Date:   Wed, 20 Apr 2005 09:32:18 +0800
Tag:    v1.6.0

Fix for bug 2902: Now you can set $focus in print_header to anything, and it will never generate a JS error.

commit 29b592069360948c4b1059dd60f858a31dd17c39
Author: defacer <defacer>
Date:   Wed, 20 Apr 2005 08:44:02 +0800
Tag:    v1.6.0

Fix for bug 2933. Just tidying up HTML.

commit d21135ad85b8897c6c391a646009435289fd9a20
Author: defacer <defacer>
Date:   Wed, 20 Apr 2005 06:15:20 +0800
Tag:    v1.6.0

Fixing notice under PHP 5.

commit c399e50e77a16e0dcd14575e9f19389132e2f9fb
Author: defacer <defacer>
Date:   Wed, 20 Apr 2005 06:09:07 +0800
Tag:    v1.6.0

Inserting back the empty space after the headingblock in social courses, but in a way that makes it uniform with the other two course formats.

commit 4498266e5b0cdc6693c2d6a73002bee0015559c1
Author: defacer <defacer>
Date:   Wed, 20 Apr 2005 05:54:28 +0800
Tag:    v1.4.5

Fix for bug 2945.

commit df03aecee75e79a5f316def1bae36463d6c65ccf
Author: defacer <defacer>
Date:   Wed, 20 Apr 2005 05:52:29 +0800
Tag:    v1.6.0

Fix for bug 2945.

commit bb74176fbfc9d9b4e36ba3b60e3acb0259f6a284
Author: defacer <defacer>
Date:   Wed, 20 Apr 2005 04:54:52 +0800
Tag:    v1.6.0

HTML improvements, including fix for bug 2967.

commit 979f826a2d041822176b1112ad8b4b80acd8320a
Author: defacer <defacer>
Date:   Wed, 20 Apr 2005 04:52:26 +0800
Tag:    v1.6.0

Fixing HTML typo, & -> &amp;

commit 273a80d7be2861ea5603f7e327ffb24d0d9ccc8d
Author: defacer <defacer>
Date:   Wed, 20 Apr 2005 04:45:15 +0800
Tag:    v1.6.0

Fixing bug 2935: HTML typo.

commit eee5cf8f64f7dc634c29142b48176b48ad065456
Author: defacer <defacer>
Date:   Tue, 19 Apr 2005 20:40:15 +0800
Tag:    v1.6.0

Removing the "dirty compatibility hack", it surely has done what it was meant to do all this time (keep Moodle working for people who had already upgraded to early versions of 1.5).

commit d1b68cec76ab9d89e2594ab8c77777ff1cde764e
Author: defacer <defacer>
Date:   Fri, 15 Apr 2005 21:55:57 +0800
Tag:    v1.6.0

Removing obsolete strings.

commit 9f3c3f1218ad83597cfd04c8c0692f6ffa9af6fa
Author: defacer <defacer>
Date:   Fri, 15 Apr 2005 21:54:24 +0800
Tag:    v1.6.0

Removing obsolete strings that confuse translators (my fault, sorry).

commit 4f2dbde9f8e86c3ece32cd933dda57d676815225
Author: defacer <defacer>
Date:   Thu, 14 Apr 2005 20:20:09 +0800
Tag:    v1.6.0

Fix for bug 2916, silly silly named constant mistake.

commit 257e3f4c61a0e9b2da11aeb85e2ac8ee13fd2b73
Author: defacer <defacer>
Date:   Tue, 12 Apr 2005 09:09:31 +0800
Tag:    v1.6.0

Utilize $CFG->calendar_adminseesall and part of Penny's patches (for bug 2804) to improve performance: if the admin wants to see all events, there's no need to make even one query for course groupmode.

commit b53f385b2c89947b01467c2b447ac0c0ef707e33
Author: defacer <defacer>
Date:   Tue, 12 Apr 2005 08:12:05 +0800
Tag:    v1.6.0

More cleanups, some useless code thrown out and simplified.

commit 39f899cd1c481fb9424c8062132a4d0dc696177e
Author: defacer <defacer>
Date:   Tue, 12 Apr 2005 08:05:06 +0800
Tag:    v1.6.0

More required_param and optional_param goodness.

commit 3b723f3b1dbf07f80d18c115522568a35d8ec938
Author: defacer <defacer>
Date:   Tue, 12 Apr 2005 07:54:20 +0800
Tag:    v1.6.0

Simplify the code, use optional_param, fixed one more instance of literal 1 = SITEID

commit 0ad072dea5088eb22643c69730765221e0e17c05
Author: defacer <defacer>
Date:   Tue, 12 Apr 2005 07:24:23 +0800
Tag:    v1.6.0

Simplify the code a bit and move the visible = 1 SQL check out of the main part of the WHERE statement. This might be actually fixing an operator precedence logic bug.

commit 6e957c415c687cddf8e0a5c1484d7bb1efc49ee0
Author: defacer <defacer>
Date:   Tue, 12 Apr 2005 07:21:29 +0800
Tag:    v1.6.0

Better bracketing for event-selecting SQL (see bug 2804)

commit 55d9c93a11ec85ff65fb3fe3946883a260da875c
Author: defacer <defacer>
Date:   Tue, 12 Apr 2005 07:13:41 +0800
Tag:    v1.6.0

Reading some code carefully...

commit e2aa618b773db2f083b4c4475b733f6efcb00205
Author: defacer <defacer>
Date:   Tue, 12 Apr 2005 06:58:10 +0800
Tag:    v1.6.0

Fix for bug 2821. I 'm not sure if it makes any difference, but it cannot hurt.

commit ec6dc7035341541af9a866c005fa2c1be64c506d
Author: defacer <defacer>
Date:   Mon, 11 Apr 2005 18:49:17 +0800
Tag:    v1.6.0

Removing obsolete language strings.

commit a03d61346e3d939c4730967e7d1605366708498d
Author: defacer <defacer>
Date:   Mon, 11 Apr 2005 04:28:48 +0800
Tag:    v1.6.0

1. get_records_csv also needs a table name in addition to file name. 2. is_readable() check before trying to fopen() http://, if you happen to not have    an internet connection this prevents ugly failures.

commit 6571aa7cbd6c4c5b39e9a8a47d0e7307e5beb46f
Author: defacer <defacer>
Date:   Mon, 11 Apr 2005 04:25:41 +0800
Tag:    v1.6.0

Timezones always exist (the trivial ones, at least).

commit dddb014acf263d0fb3844953e74ccc8c795f5b5a
Author: defacer <defacer>
Date:   Sun, 10 Apr 2005 17:41:46 +0800
Tag:    v1.6.0

1. make_timestamp: It's easy to be a fool, but to do it like me requires innate talent.

commit c9e55a2583c0295ac9d352f1481b8e9b68f729f7
Author: defacer <defacer>
Date:   Sun, 10 Apr 2005 17:31:21 +0800
Tag:    v1.6.0

LIMIT 1 was already being introduced by get_record_sql, and GMT offsets weren't working due to the bad query.

commit fdae5b1314fc57e88d84a93f6b9ad96d1621a97d
Author: defacer <defacer>
Date:   Sun, 10 Apr 2005 17:19:28 +0800
Tag:    v1.6.0

The strict type checking was causing trouble. In any case, forcing arrays to NOT mix integer and string keys is a good workaround.

commit ce9707f5aac26698c17b373decdcbc31d89d65cd
Author: defacer <defacer>
Date:   Sat, 09 Apr 2005 18:20:53 +0800
Tag:    v1.6.0

As there was no armageddon since I commented out the "old" timezone setting HTML yesterday, I 'm now completely removing it.

commit 88c39f4a91f3691f1368a8c8635e495be93a30e5
Author: defacer <defacer>
Date:   Sat, 09 Apr 2005 18:19:09 +0800
Tag:    v1.6.0

Update variables configuration to allow setting non-trivial timezones for the server as well.

commit 989585e9336b5dcd7caca6178566afe96be7b592
Author: defacer <defacer>
Date:   Sat, 09 Apr 2005 18:12:30 +0800
Tag:    v1.6.0

Major step forward once more: calculate_user_dst_table() now always sees the user's effective timezone correctly using get_user_timezone(). It also remembers which timezone was in effect when it cached its calculations, so if the user's effective timezone changes for any reason the table is automatically re-computed.

commit 6dc8dddc62673162a92dc79c1554d59f7524b318
Author: defacer <defacer>
Date:   Sat, 09 Apr 2005 17:50:08 +0800
Tag:    v1.6.0

Removed another unnecessary get_user_timezone_offset() call.

commit 13e5588de8a444442b64ef1524192c3c861beeee
Author: defacer <defacer>
Date:   Sat, 09 Apr 2005 17:47:01 +0800
Tag:    v1.6.0

Removed unneeded get_user_timezone_offset() call; usertime() does it anyway.

commit 02a53094399ef2c470adfe8d1edbcb727fd60c44
Author: defacer <defacer>
Date:   Sat, 09 Apr 2005 17:36:47 +0800
Tag:    v1.6.0

If $CFG->forcetimezone is not empty, don't allow users to change the timezone from their profiles, and instead show a disabled menu with the forced timezone selected.

commit e8904995f012febdbaa6ce9b9b380d5234fae86b
Author: defacer <defacer>
Date:   Sat, 09 Apr 2005 04:32:40 +0800
Tag:    v1.6.0

Introduce the "new" get_user_timezone, and implement get_user_timezone_offset in terms of it.

commit 02c2881b40f02287d4c5977188f01b20eb275353
Author: defacer <defacer>
Date:   Sat, 09 Apr 2005 04:28:19 +0800
Tag:    v1.6.0

The user Timezone setting now allows both trivial and non-trivial timezones.

commit 256ab4c54ad9d7f951ee481c8c524030d4470b33
Author: defacer <defacer>
Date:   Sat, 09 Apr 2005 04:26:36 +0800
Tag:    v1.6.0

Correct handling of integer keys in the presets array.

commit b529815b9ce47d2b562130465a067b4fccea6b75
Author: defacer <defacer>
Date:   Sat, 09 Apr 2005 04:24:20 +0800
Tag:    v1.6.0

Remove some useless strings.

commit 68c0264e1bd3b22bd771b7e5228c0a192ccc1fa3
Author: defacer <defacer>
Date:   Sat, 09 Apr 2005 03:50:01 +0800
Tag:    v1.6.0

Changes to mdl_user:

commit f3729a941dea87c93197e59396ed95a7154d64f9
Author: defacer <defacer>
Date:   Sat, 09 Apr 2005 03:37:15 +0800
Tag:    v1.6.0

New lang file, we 're going to internationalize all the timezone names in it.

commit 9fb7ea024ded52ecf52d7de25b0228aaa4bbd372
Author: defacer <defacer>
Date:   Sat, 09 Apr 2005 03:36:15 +0800
Tag:    v1.6.0

get_string() should read stuff from timezones.php

commit 9a382a5c5eb57977bcb86808f617d26f10770e69
Author: defacer <defacer>
Date:   Sat, 09 Apr 2005 03:35:05 +0800
Tag:    v1.6.0

Setting $CFG->forcetimezone now fully works. One more item crossed out from the TODO list.

commit ffc141e4bee0a7ae005ada157ff7cff121e0b1d9
Author: defacer <defacer>
Date:   Sat, 09 Apr 2005 03:34:19 +0800
Tag:    v1.6.0

Don't add trivial timezone records in the db, we 're going to handle them manually.

commit 97e28cc66d72d6e344ffc525ff0a92659e275497
Author: defacer <defacer>
Date:   Sat, 09 Apr 2005 03:32:31 +0800
Tag:    v1.6.0

Make choose_from_menu behave correctly in the obscure case where an array contains a zero key and the "selected" variable is a string. Argh.

commit 2665e47afcf94538ee06ce5f6e1302bf2bdcf9f8
Author: defacer <defacer>
Date:   Fri, 08 Apr 2005 13:39:53 +0800
Tag:    v1.6.0

usertime() now compensates for DST.

commit 43b59916f67f840bafa28f696fe277e5aac2b973
Author: defacer <defacer>
Date:   Fri, 08 Apr 2005 13:28:39 +0800
Tag:    v1.6.0

get_user_timezone() should now be working for users with new-style timezone settings.

commit b86e6ba91832ab8e82c6ce68f95cb3edd9dc7e5d
Author: defacer <defacer>
Date:   Fri, 08 Apr 2005 13:01:09 +0800
Tag:    v1.6.0

is_executable() doesn't exist in PHP/Win < 5.0.0

commit a2f964137d05258e9b32def8021086b54a1ed1d8
Author: defacer <defacer>
Date:   Wed, 06 Apr 2005 19:04:56 +0800
Tag:    v1.5.0

Fix for bug 2837 (probably).

commit 111bb080ac12e32f8af316580829b833bb55d459
Author: defacer <defacer>
Date:   Wed, 06 Apr 2005 16:21:16 +0800
Tag:    v1.5.0

Fix some warnings when upgrading but no scorms exist.

commit 43fae8e3064d3976cd8cef11a23507e74064e166
Author: defacer <defacer>
Date:   Mon, 28 Mar 2005 00:26:12 +0800
Tag:    v1.5.0

Removed obsolete file.

commit 90ac64e3791f3cc974a083db37a599bad2553c5f
Author: defacer <defacer>
Date:   Sun, 27 Mar 2005 04:52:18 +0800
Tag:    v1.5.0

Updating CVS to latest dirty development version.

commit 66336c5f3484d2f3d36cccf0e7869d0b102f2b46
Author: defacer <defacer>
Date:   Sun, 27 Mar 2005 03:10:05 +0800
Tag:    v1.5.0

Bringing in the mdl_timezone table.

commit d4880eaa46fa0f11c8affeeb02cac127dc90da78
Author: defacer <defacer>
Date:   Sun, 27 Mar 2005 03:00:23 +0800
Tag:    v1.5.0

Remove redundant mdl_dst_preset table from schema.

commit b41c4f7e280e23bc142fe4f0f30f4e1f2dab9326
Author: defacer <defacer>
Date:   Sun, 27 Mar 2005 02:53:01 +0800
Tag:    v1.5.0

The schema for mdl_timezone looks final, so create it in new installations.

commit 830a2bbd82fa208e12667c6ffb3debc8fa416f54
Author: defacer <defacer>
Date:   Sun, 27 Mar 2005 02:43:58 +0800
Tag:    v1.5.0

Yay! Major DST support progress!

commit 5bae88b686566ff3dd427591928020d0fe4d7946
Author: defacer <defacer>
Date:   Sun, 27 Mar 2005 02:34:55 +0800
Tag:    v1.5.0

Fixed incorrect usage of isteacher(), didn't work and threw a warning.

commit c2aa460fe6b58b8b9b3fd1caae898e2173db080a
Author: defacer <defacer>
Date:   Sun, 27 Mar 2005 02:26:49 +0800
Tag:    v1.5.0

Fix a notice when failing to log in.

commit 21d04cedfa429db67a4ec70b5a2575819d9a21e3
Author: defacer <defacer>
Date:   Sat, 26 Mar 2005 22:04:13 +0800
Tag:    v1.5.0

Somehow this stopped working correctly when the styles got moved. Fixed.

commit c2bf38fd9b49a66da9896154da62a2eb2dafc368
Author: defacer <defacer>
Date:   Sat, 26 Mar 2005 21:41:00 +0800
Tag:    v1.5.0

Fix for bug 2793: Unfinished quiz attempts no longer shown in the overview table.

commit 45daee10f3dd46ad3666076591a31fd6aa026f39
Author: defacer <defacer>
Date:   Sat, 26 Mar 2005 21:38:21 +0800
Tag:    v1.5.0

Fix some notices.

commit 3bba1e6ef174f73a4a21c533021b763134a63029
Author: defacer <defacer>
Date:   Wed, 23 Mar 2005 22:43:32 +0800
Tag:    v1.5.0

Fixing a regression.

commit 6d908bc6c8bb33498937794ee93dc553de07b7b9
Author: defacer <defacer>
Date:   Wed, 23 Mar 2005 22:16:02 +0800
Tag:    v1.5.0

Changed a magic number to DAYSECS and some instance_config_save() calls to the recommended instance_config_commit().

commit 5c5dfee25986eb228951169defa52af1028b3ab6
Author: defacer <defacer>
Date:   Wed, 23 Mar 2005 12:03:50 +0800
Tag:    v1.5.0

Duh. More spurious output squashed.

commit 9532c34e00a94507e7139664deaaf15eefbfb1c2
Author: defacer <defacer>
Date:   Wed, 23 Mar 2005 12:02:21 +0800
Tag:    v1.5.0

I had left some uncommented debug output in there. Comments back on.

commit 733191ab83242b1eb56692fee8297dd99da6893a
Author: defacer <defacer>
Date:   Wed, 23 Mar 2005 12:00:46 +0800
Tag:    v1.5.0

Fixes fixes fixes fixes.

commit e789650d4134d33273d0b93a0b4337e72503b371
Author: defacer <defacer>
Date:   Wed, 23 Mar 2005 11:03:43 +0800
Tag:    v1.5.0

Piles of timezone-related changes.

commit d37317b2494c0f37d28d42742dc352e0f56e606f
Author: defacer <defacer>
Date:   Wed, 23 Mar 2005 11:02:45 +0800
Tag:    v1.5.0

"from" is a reserved word in SQL, so change the field to "year"

commit c3401dfdbe4fbb1092918da3e155826d54a2fcea
Author: defacer <defacer>
Date:   Wed, 23 Mar 2005 11:00:59 +0800
Tag:    v1.5.0

Timezone selection drop down menu now works.

commit 0c478e1085de6a0945ec6176b893add25e9843be
Author: defacer <defacer>
Date:   Wed, 23 Mar 2005 10:13:00 +0800
Tag:    v1.5.0

Killing dst_offset_for_year().

commit 62a73d89490d4fd90f9a8eee5bb6fd92b4f7ae4b
Author: defacer <defacer>
Date:   Wed, 23 Mar 2005 10:10:45 +0800
Tag:    v1.5.0

Continuing to move towards the "pre-calculated array in $SESSION" approach, we output just ONE record for each year that something changes. This knocks another ~3000 records from mdl_timezone.

commit aedcf71e33a4a58ad48c0bb2d40ff037c9323485
Author: defacer <defacer>
Date:   Wed, 23 Mar 2005 09:57:15 +0800
Tag:    v1.5.0

Treat 'max' as 'only' in the "until" field. This removes ~1500 useless records.

commit 0ed442f85cb6f9ef36669aa0bb458ab508550d64
Author: defacer <defacer>
Date:   Wed, 23 Mar 2005 09:54:45 +0800
Tag:    v1.5.0

DST presets -> timezones

commit 0bd7322e307433079719b7633ada134dd6740fbc
Author: defacer <defacer>
Date:   Wed, 23 Mar 2005 09:26:34 +0800
Tag:    v1.5.0

Going forward to timezones ever so slightly.

commit deab60a42be29529f2e82185c59e030e1c8434a2
Author: defacer <defacer>
Date:   Wed, 23 Mar 2005 09:24:22 +0800
Tag:    v1.5.0

My latest working version, but we 'll need to roll back a bit as there are more changes planned (from_timestamp bites the dust etc).

commit 1faca355eeb7b2c551d83fcc5e3bd1c9564146e9
Author: defacer <defacer>
Date:   Wed, 23 Mar 2005 09:22:58 +0800
Tag:    v1.5.0

More strings modified, still more to come.

commit 1789c54824b1e6a6420a4c4cd072e8ef1e45828d
Author: defacer <defacer>
Date:   Wed, 23 Mar 2005 09:19:27 +0800
Tag:    v1.5.0

mdl_user.dstpreset becomes mdl_user.timezonename

commit 22c0091a6a6a9e83255e7763957b38e1640fb625
Author: defacer <defacer>
Date:   Wed, 23 Mar 2005 09:17:20 +0800
Tag:    v1.5.0

DST presets -> timezones

commit d4f960e4f24b1103063850102ef5551a49316040
Author: defacer <defacer>
Date:   Wed, 23 Mar 2005 08:47:26 +0800
Tag:    v1.5.0

Removing strings that aren't used anymore.

commit d43092dea6b106f08409357572c76cfa51c768d8
Author: defacer <defacer>
Date:   Wed, 23 Mar 2005 08:45:14 +0800
Tag:    v1.5.0

Removing obsolete files, we won't have custom definitions after all.

commit e2d282235f7663984734bb914c51abbabba3a625
Author: defacer <defacer>
Date:   Wed, 23 Mar 2005 08:35:57 +0800
Tag:    v1.5.0

Get rid of the "define custom timezone" button.

commit b539242ab57c6dddcbf3f741def51888fa0c9d14
Author: defacer <defacer>
Date:   Wed, 23 Mar 2005 08:34:55 +0800
Tag:    v1.5.0

Interim debugging code.

commit 5d38e78fdf8dc7040118f92d7319c513771e0f67
Author: defacer <defacer>
Date:   Fri, 18 Mar 2005 22:46:11 +0800
Tag:    v1.5.0

Fixing the behavior of (de)select all javascript links, closing bug 2688.

commit 8d6c3410459cceb9ff868932e2b86e540a8345af
Author: defacer <defacer>
Date:   Fri, 18 Mar 2005 22:38:46 +0800
Tag:    v1.5.0

Obsolete.

commit ab6d7869ca438701fe2475cdd99193f682a1cc07
Author: defacer <defacer>
Date:   Fri, 18 Mar 2005 22:38:08 +0800
Tag:    v1.5.0

Use global code in javascript-static.php instead of utility.js

commit 363cb62cf1cd6d299c2a6efb8923addba9ce86f4
Author: defacer <defacer>
Date:   Fri, 18 Mar 2005 22:36:10 +0800
Tag:    v1.5.0

Adding universally useful functions to the mainstream.

commit 88b917d614fa1e47facb0ca84290d1efbe41fcaa
Author: defacer <defacer>
Date:   Fri, 18 Mar 2005 22:23:45 +0800
Tag:    v1.5.0

Fixing behavior of (de)select all commands and some issues with non-JS-enabled clients.

commit 28902d99c8dfe90df6f44f7046b2432b1d78d3b1
Author: defacer <defacer>
Date:   Fri, 18 Mar 2005 12:38:30 +0800
Tag:    v1.5.0

find_day_in_month now working with the latest convention of $startday, $weekday

commit 621d6c9c2badb49e1a378368405304a186114af1
Author: defacer <defacer>
Date:   Fri, 18 Mar 2005 12:26:50 +0800
Tag:    v1.5.0

Fixing a logic error... awgod.

commit 7df4ed34be2c172bc8c0400e41c54612c01cb6e6
Author: defacer <defacer>
Date:   Fri, 18 Mar 2005 12:02:59 +0800
Tag:    v1.5.0

Continuing to debug... we now have a SINGLE rule with from_timestamp = 0, guaranteed.

commit e0a3a2921a8926c3bd361abee65d9913df3b3792
Author: defacer <defacer>
Date:   Fri, 18 Mar 2005 11:06:46 +0800
Tag:    v1.5.0

Improvements and robustness, it now appears to be parsing a concatenation of all relevant Olson files successfully.

commit 4fe76cc138ce2df21ade9b286b970c7e1fb52a03
Author: defacer <defacer>
Date:   Wed, 16 Mar 2005 11:46:17 +0800
Tag:    v1.5.0

Typo.

commit 01b4c1078960c3396af5d1646c78c4c7a496a5e6
Author: defacer <defacer>
Date:   Wed, 16 Mar 2005 11:41:56 +0800
Tag:    v1.5.0

olson_parse_on() now parses as agreed for the new timezone settings.

commit 3f9543607363ca85f342b4a86ffd1ae723ef15fc
Author: defacer <defacer>
Date:   Wed, 16 Mar 2005 11:26:21 +0800
Tag:    v1.5.0

Respect $CFG->showblocksonmodpages.

commit 75aa6f4ea9932ddd22eed919cebf012622af8e0c
Author: defacer <defacer>
Date:   Sun, 13 Mar 2005 05:26:54 +0800
Tag:    v1.4.5

Fix for bug 2729: incorrect display of previous/next days in calendar day view when the server's TZ was less than GMT and the user's TZ was greater than the server's.

commit b35fc18250e1bb9ac586d9d24dbc08f441b36ecb
Author: defacer <defacer>
Date:   Sat, 12 Mar 2005 23:56:19 +0800
Tag:    v1.5.0

Fix for bug 2731.

commit 5e4e027feab4c523aadb17c6ff3942c1f9a25d11
Author: defacer <defacer>
Date:   Sat, 12 Mar 2005 09:20:37 +0800
Tag:    v1.5.0

Pre-emptively put a lower bound of 1970 to years, instead of putting a lower bound of 0 to the generated timestamps. Windows' < 1970 bug won't have it otherwise.

commit bc5750fa6dc729ddc7bf5a9336e70d5769219edc
Author: defacer <defacer>
Date:   Fri, 11 Mar 2005 11:29:41 +0800
Tag:    v1.5.0

IE doesn't display anything after a script include tag that closes with />. Please close all your script tags like <script></script> or else.

commit 658f6a9ce3a672923e2f9b8942ee3eeb640d431a
Author: defacer <defacer>
Date:   Fri, 11 Mar 2005 06:48:29 +0800
Tag:    v1.5.0

Fix for bug 2711:

commit 239d185a75b6943bc4229a3914f550bd6ffc8c83
Author: defacer <defacer>
Date:   Fri, 11 Mar 2005 00:40:13 +0800
Tag:    v1.5.0

Updating the overview screen "sort by question grade" hack to work with the multiple sort column suppport.

commit 73e4f589531b2121888223c46a86cfd0fde02458
Author: defacer <defacer>
Date:   Fri, 11 Mar 2005 00:38:01 +0800
Tag:    v1.5.0

Support for arbitrary number of sort columns.

commit 1656bb3e2f19da4070ca31b644c30499397f1699
Author: defacer <defacer>
Date:   Thu, 10 Mar 2005 05:16:38 +0800
Tag:    v1.5.0

Fix for bug 2701.

commit 6f1cc8d63cdded259838d501c264879be4b60951
Author: defacer <defacer>
Date:   Thu, 10 Mar 2005 04:50:37 +0800
Tag:    v1.5.0

Simplified by removing two optional parameters from forum_print_search_form, because everyone was using the same values for them!

commit ef4ee34938b2adc7f8475d417e5563a181fbd177
Author: defacer <defacer>
Date:   Thu, 10 Mar 2005 04:38:53 +0800
Tag:    v1.5.0

Fix for bug 2705:

commit 969782386ab2ce5e738fab3671345329124139f8
Author: defacer <defacer>
Date:   Thu, 10 Mar 2005 04:36:04 +0800
Tag:    v1.5.0

Correcting whitespace, modernizing a bit, removed one notice.

commit 57c3bae3c253ec74512936dfafa2a7c6f4c3a603
Author: defacer <defacer>
Date:   Wed, 09 Mar 2005 03:07:41 +0800
Tag:    v1.5.0

New strings for the quiz results overview page.

commit 9d034c94e17a304f166ace593521f4531329a010
Author: defacer <defacer>
Date:   Wed, 09 Mar 2005 02:58:11 +0800
Tag:    v1.5.0

Styles for the new quiz results overview.

commit 526a130e50c0b16cd5e0a930fc10bfda92aecfae
Author: defacer <defacer>
Date:   Wed, 09 Mar 2005 02:49:00 +0800
Tag:    v1.5.0

Checking in the code for the "improvements to the quiz results overview page" project, commissioned by the University of York. Enjoy!

commit 554906f69af30dd80bc4a20bcb58849f637ea772
Author: defacer <defacer>
Date:   Tue, 08 Mar 2005 22:57:16 +0800
Tag:    v1.5.0

New feature: you can now give a HTML class to a column with $table->column_class()

commit 7270d81fadcd07af1092723def74e441a4c04b1b
Author: defacer <defacer>
Date:   Tue, 08 Mar 2005 19:14:15 +0800
Tag:    v1.5.0

New table class that makes it easy to use goodies like paging etc.

commit d5171102373168cf7d2c78ba59667b30da97d64e
Author: defacer <defacer>
Date:   Tue, 08 Mar 2005 12:47:14 +0800
Tag:    v1.5.0

Modified strings for the calendar admin screens.

commit 7678e65cacad413e5e4da8fdcf9c50217ccc7017
Author: defacer <defacer>
Date:   Tue, 08 Mar 2005 12:22:38 +0800
Tag:    v1.5.0

New useful function submitFormById(). Fires off the form's onsubmit() handler first, if applicable, and only submits if the handler doesn't exist or returns true.

commit a0413b585de075fc3873bec71a665568cdce77a3
Author: defacer <defacer>
Date:   Tue, 08 Mar 2005 00:58:00 +0800
Tag:    v1.5.0

New function for sql portability: sql_isnull().

commit 591052a446a9696918bb513a257cec4e4e72ce1e
Author: defacer <defacer>
Date:   Mon, 07 Mar 2005 04:26:42 +0800
Tag:    v1.5.0

Doing away with generaltableheader

commit deeef3c829f8732e4c54acbc76a86203f501230d
Author: defacer <defacer>
Date:   Mon, 07 Mar 2005 04:22:07 +0800
Tag:    v1.5.0

Doing away with .generaltableheader

commit 1ea6500db77fa76649676d39fbd5650c3aac7f28
Author: defacer <defacer>
Date:   Mon, 07 Mar 2005 04:09:34 +0800
Tag:    v1.5.0

Intending to change .generaltableheader to .generaltable .header and do the same with .generaltablecell. First of all, let's ensure we don't break those parts of the code that haven't been updated.

commit 381612daf99359ba4708308e13cffc91adbb6a64
Author: defacer <defacer>
Date:   Sun, 06 Mar 2005 08:00:18 +0800
Tag:    v1.5.0

Adding filterByParent() for collections.

commit 59556d4833da3aa646f97bb13138de21eb2495ab
Author: defacer <defacer>
Date:   Sun, 06 Mar 2005 07:57:19 +0800
Tag:    v1.5.0

Switching < to <= which is the correct operator

commit 08ee877a49efa527ac7d6b1b716efd211a70c64f
Author: defacer <defacer>
Date:   Sun, 06 Mar 2005 06:33:45 +0800
Tag:    v1.5.0

Removing call to the obsolete dst_update_preset()

commit c9e72798d4fc05ae222274d55ec578469333efec
Author: defacer <defacer>
Date:   Sun, 06 Mar 2005 06:23:08 +0800
Tag:    v1.5.0

Changing the way that the DST offset is retrieved, given a timestamp. This is a nightmare issue, as far as I can think of this is "the" solution.

commit 3a22527cdb6aed5bbf337e64c2a2eae5647f8b14
Author: defacer <defacer>
Date:   Sun, 06 Mar 2005 04:18:45 +0800
Tag:    v1.5.0

Changing some hardwired filenames and strings for the transition to "timezones"

commit 4c669559f4f005f487aa74330b3900106b4fd007
Author: defacer <defacer>
Date:   Sun, 06 Mar 2005 04:15:56 +0800
Tag:    v1.5.0

Renaming dst_edit.html to timezone_edit.html

commit ca071fa6626e45695e4823efa4f5a65babfce00a
Author: defacer <defacer>
Date:   Sun, 06 Mar 2005 04:11:49 +0800
Tag:    v1.5.0

Renaming dst.html to timezones.html

commit a1718f64d37f245a25854f1cd853318837fe80de
Author: defacer <defacer>
Date:   Sun, 06 Mar 2005 04:07:13 +0800
Tag:    v1.5.0

Updating the calendar options page to more correctly reflect what we 'll be doing with "timezones".

commit 762b716363ea267b2e6af8d047059d29f740adaf
Author: defacer <defacer>
Date:   Sun, 06 Mar 2005 04:05:30 +0800
Tag:    v1.5.0

Renaming dst.php to timezones.php (more appropriate)

commit 486589c9715483dc55cbd2bbf2ad08f98dd70316
Author: defacer <defacer>
Date:   Sun, 06 Mar 2005 00:12:07 +0800
Tag:    v1.5.0

Removing extra space between .sideblock .hidden

commit 6912a9ecb871fcd345e1a1215644fc0e50419728
Author: defacer <defacer>
Date:   Thu, 03 Mar 2005 06:35:09 +0800
Tag:    v1.5.0

Fix for bug 2669:

commit 96803c8810c029db87f1b4ed3036f7e3a12da2ee
Author: defacer <defacer>
Date:   Thu, 03 Mar 2005 03:47:04 +0800
Tag:    v1.5.0

Moved a bunch of inline styles to the stylesheets.

commit 2ad1c3ff06f87963223e8af840e9fbb463e7f904
Author: defacer <defacer>
Date:   Thu, 03 Mar 2005 03:43:34 +0800
Tag:    v1.5.0

New string for the title of freshly-created HTML blocks.

commit 48f7fa4a6061f858874be43fee0324a5c22ef4c8
Author: defacer <defacer>
Date:   Thu, 03 Mar 2005 03:31:11 +0800
Tag:    v1.5.0

Small improvement to HTML block; new html blocks have a default title instead of none.

commit 76a8339a91be841d621cf3e751923afc7de35255
Author: defacer <defacer>
Date:   Thu, 03 Mar 2005 03:29:50 +0800
Tag:    v1.5.0

Small fix, changing break; to return; now that there's no switch()

commit 3ef642d96ad2779e1cec54f24e83c3dd5dd8c042
Author: defacer <defacer>
Date:   Thu, 03 Mar 2005 03:22:26 +0800
Tag:    v1.5.0

Implemented discussion from bug 2547:

commit 831cd87f77626332c032146018be53bc79081cc9
Author: defacer <defacer>
Date:   Wed, 02 Mar 2005 13:57:50 +0800
Tag:    v1.5.0

Er, print the adminblock only if editing is turned on.

commit dffd4bb94897f391c453828e5e38fd0b66446fe4
Author: defacer <defacer>
Date:   Wed, 02 Mar 2005 13:56:24 +0800
Tag:    v1.5.0

You know you are beyond hope of redemption when you make "API uniformity" changes. wink

commit 664923229c5467c38578679a1056da2af8a08164
Author: defacer <defacer>
Date:   Wed, 02 Mar 2005 13:47:39 +0800
Tag:    v1.5.0

Since $PAGE knows where the adminblock should be printed, let it do the printing.

commit 3615b2b259320daba1dc2efe11bb8f5b6f6de084
Author: defacer <defacer>
Date:   Wed, 02 Mar 2005 13:19:47 +0800
Tag:    v1.5.0

Simplifying to death using the new blocks_setup()

commit ec79d3e4282f646a7fa6536b78cfe4f8c6cad08f
Author: defacer <defacer>
Date:   Wed, 02 Mar 2005 13:15:39 +0800
Tag:    v1.5.0

One-line-setup function for using blocks in a page.

commit 262771e08fc2b4069db9c18fa85d93f46dcad292
Author: defacer <defacer>
Date:   Wed, 02 Mar 2005 11:43:41 +0800
Tag:    v1.5.0

page_import_types($path) doesn't care if $path has a trailing slash or not

commit c0a570cef0611236a3ba502803a324666e04a240
Author: defacer <defacer>
Date:   Tue, 01 Mar 2005 00:03:05 +0800
Tag:    v1.5.0

Fixed handling of activity blocks when restore does not include that type of activity.

commit 1fa95628f66fc20b7d13b1476b888ca2856a9b25
Author: defacer <defacer>
Date:   Mon, 28 Feb 2005 12:50:36 +0800
Tag:    v1.5.0

Backup and restore for block instances within activities!

commit 251af423cd74b56bf02ce6ab0fc63c7fb34e6300
Author: defacer <defacer>
Date:   Mon, 28 Feb 2005 12:35:32 +0800
Tag:    v1.5.0

Err... course block instances weren't being deleted along with the course?

commit c4d588cc24c39bfba2d4531c4f3b15055753eb95
Author: defacer <defacer>
Date:   Mon, 28 Feb 2005 12:23:52 +0800
Tag:    v1.5.0

Added require_once for pagelib.php.

commit 880d86758b29d3ca2f3f86123cd3f5f175c5da22
Author: defacer <defacer>
Date:   Mon, 28 Feb 2005 12:18:13 +0800
Tag:    v1.5.0

Each mod is responsible to deleting its own blocks; what I had in mind for centralizing this wouldn't work out. Use the flexible page_import_types so that we don't create one more dependency when writing new code.

commit b5e9682173e600cd6e6e08f04df50b7639ba300a
Author: defacer <defacer>
Date:   Mon, 28 Feb 2005 12:16:41 +0800
Tag:    v1.5.0

Adding caching to page_import_types. Actually the caching is REQUIRED for the function to work, because otherwise it would barf on duplicate class declaration the second time it was called with the same arguments.

commit 3f6aba0c42903ffa81855ab915bac5823b3b38f7
Author: defacer <defacer>
Date:   Mon, 28 Feb 2005 12:01:30 +0800
Tag:    v1.5.0

Library function which returns the page types used for a specific directory in the Moodle distro structure. As generic as it gets.

commit f16bbfd5a8af3fd08f98824a5289695918c14340
Author: defacer <defacer>
Date:   Mon, 28 Feb 2005 11:59:57 +0800
Tag:    v1.5.0

Add hooks for exporting the page types used by each module.

commit 6ba37c824acfa133de465ec3af8be1b0c6fa44eb
Author: defacer <defacer>
Date:   Mon, 28 Feb 2005 11:59:23 +0800
Tag:    v1.5.0

Quiz doesn't attempt to delete blocks placed in deleted quiz view pages anymore; this is going to be taken care of from course/mod.php.

commit 9bee8b701ede5485e4cbe9b0b57e0509539b8357
Author: defacer <defacer>
Date:   Mon, 28 Feb 2005 08:55:52 +0800
Tag:    v1.5.0

Fixing a bug when restoring a course with events but not users.

commit f99fcffeb9c94ba0b19ed5324fa1e31e79b7d0ba
Author: defacer <defacer>
Date:   Mon, 28 Feb 2005 08:30:39 +0800
Tag:    v1.5.0

Fix for bug 2648: call-time pass by reference has been deprecated, the constructor of search_lexer now accepts the parser argument by reference all... one time it's called smile

commit e0840dee0913c83011fbf58c41addb34b37851a1
Author: defacer <defacer>
Date:   Mon, 28 Feb 2005 04:34:27 +0800
Tag:    v1.5.0

Giving back the search forums block styles, using CSS.

commit 0b5257c351a16c28d7108c8b119b95b5c21c4c8a
Author: defacer <defacer>
Date:   Mon, 28 Feb 2005 04:32:56 +0800
Tag:    v1.5.0

Bugfix for bug 2653 (visual glitch).

commit 7e571b76708f16c3ba61718c1d5150c35e27fd54
Author: defacer <defacer>
Date:   Mon, 28 Feb 2005 04:31:14 +0800
Tag:    v1.5.0

Clean the block code a bit

commit 91417a70b9212b7404b6aa71518b865794fb0c2e
Author: defacer <defacer>
Date:   Mon, 28 Feb 2005 04:03:37 +0800
Tag:    v1.5.0

Stretch the calendar table, makes it look better in the sideblock with some languages (noticed in japanese).

commit 69244b9128061716f5ef41c7d0cbda5591eb8271
Author: defacer <defacer>
Date:   Sat, 26 Feb 2005 14:30:19 +0800
Tag:    v1.5.0

A few unrelated changes, sorry for not being tidy.

commit 8dc3f6cf5effb5dae707cbe7a1574378eeb99ec8
Author: defacer <defacer>
Date:   Sat, 26 Feb 2005 14:26:04 +0800
Tag:    v1.5.0

Changing find_day_in_month() to conform with the new definitions of DST presets.

commit 67775c8d9f4336ea7894ba5974a0e5a3de99939b
Author: defacer <defacer>
Date:   Sat, 26 Feb 2005 04:43:12 +0800
Tag:    v1.5.0

When process is finished, die.

commit 6ebb179eb2986cc72478caa17e5574cf66d2bd0f
Author: defacer <defacer>
Date:   Sat, 26 Feb 2005 02:44:41 +0800
Tag:    v1.5.0

"Reasonable assumptions" if a set or reset time is missing for some year.

commit 83e1fc14074e508a92a596fe898c04ecdf090300
Author: defacer <defacer>
Date:   Sat, 26 Feb 2005 02:28:12 +0800
Tag:    v1.5.0

Trying to get the Olson parser to produce correct output. That format is a nightmare...

commit c2176d372560acedb7be37782adbb9088df3d819
Author: defacer <defacer>
Date:   Fri, 25 Feb 2005 12:41:19 +0800
Tag:    v1.5.0

A way to control what the dst preset import is allowed to do: insert/update/both

commit 0f269d53aca2563912a4014e84d52fa8aaa03226
Author: defacer <defacer>
Date:   Fri, 25 Feb 2005 12:34:15 +0800
Tag:    v1.5.0

Just a new button in the calendar admin screen to link to point to dst_update.php

commit d2fb3ce94149d2229a3e26fe0257e9e7a7f92c7b
Author: defacer <defacer>
Date:   Fri, 25 Feb 2005 12:23:21 +0800
Tag:    v1.5.0

First version of automated DST update script. It DOES work, but it's barebones.

commit 7ab8bb716071bb6a12960e715b8be7d4baea6dc8
Author: defacer <defacer>
Date:   Fri, 25 Feb 2005 10:46:05 +0800
Tag:    v1.5.0

Adding workaround for PHP < 4.3.0 where file_get_contents does not exist.

commit a43b5308c8b9a8b259d958dc038091f63f266f33
Author: defacer <defacer>
Date:   Fri, 25 Feb 2005 10:06:42 +0800
Tag:    v1.5.0

Fixed a typo in get_records_csv. Made put_records_csv accept array of arrays as well as array of objects.

commit a77b98ebe6589619b52967674cb9c4d262b10757
Author: defacer <defacer>
Date:   Fri, 25 Feb 2005 09:54:06 +0800
Tag:    v1.5.0

Added function put_records_csv. This will be used to convert the results of the Olson DST parser to csv format prior to importing. Could find other uses as well.

commit 13222d99b5d424e383baad22b7be3669567bef4f
Author: defacer <defacer>
Date:   Fri, 25 Feb 2005 09:24:52 +0800
Tag:    v1.5.0

Adding new fields to the dst_preset table.

commit 8c1315ff0ae6dd99f370e58b041bd7c75954bfe0
Author: defacer <defacer>
Date:   Thu, 24 Feb 2005 12:59:27 +0800
Tag:    v1.5.0

Added missing defaults for the 4 clam options, they gave me notices when test-driving upgrade MOODLE_141 -> HEAD

commit c903f9b076c2a52f57233cb386db82f23bb2d1ce
Author: defacer <defacer>
Date:   Thu, 24 Feb 2005 12:26:33 +0800
Tag:    v1.5.0

Fix for bug 2627 (which was real and not a duplicate).

commit 599f38f9dbb0f3f801655c85a0e93bef5a6f750b
Author: defacer <defacer>
Date:   Thu, 24 Feb 2005 10:36:45 +0800
Tag:    v1.5.0

New filelib, with get_records_csv().

commit ff67989728b1b57c6b3d549a267b29caba3d44f7
Author: defacer <defacer>
Date:   Thu, 24 Feb 2005 02:51:00 +0800
Tag:    v1.5.0

Fix for bug 2628.

commit e17069d52a4981b1820650864135c87c9e507b1c
Author: defacer <defacer>
Date:   Mon, 21 Feb 2005 11:57:51 +0800
Tag:    v1.5.0

This looks like the cause of problems for some people (why?). Let's see if anyone is going to hit this error in the near future.

commit e82d6cac817dc729d6b56c0774e4e26ce9d01882
Author: defacer <defacer>
Date:   Sat, 19 Feb 2005 01:05:49 +0800
Tag:    v1.5.0

Improvement when configuring a block instance: the heading shows the block's original title as it appears in the lang files, not its "internal" name.

commit 48a6a7c2c913f628b262ebfe520d27a4614c03bf
Author: defacer <defacer>
Date:   Fri, 18 Feb 2005 22:45:35 +0800
Tag:    v1.5.0

Bad boy... broke moodlelib.

commit 090cf95ae9148b856e754fb2d125ddd6d5af2f87
Author: defacer <defacer>
Date:   Fri, 18 Feb 2005 22:42:04 +0800
Tag:    v1.5.0

Fix for bug 2584:

commit ed8ea92b7e5e9ff6cd902c17ddc00b594d485bd2
Author: defacer <defacer>
Date:   Fri, 18 Feb 2005 22:32:42 +0800
Tag:    v1.5.0

HTML/CSS improvements for the event list in the calendar.

commit 88ec5b7c8be15163902bd076b2b9f557cb5310fb
Author: defacer <defacer>
Date:   Fri, 18 Feb 2005 21:44:14 +0800
Tag:    v1.5.0

Reverting back to gmstrftime for userdate()

commit cec884ab33c975728d84eaa2422ed936a70f515d
Author: defacer <defacer>
Date:   Fri, 18 Feb 2005 12:03:22 +0800
Tag:    v1.5.0

New string for the user profile, please translate for other language packs.

commit 68849c082a751163ae7362f42a5fb6f7c4b74e87
Author: defacer <defacer>
Date:   Fri, 18 Feb 2005 11:44:13 +0800
Tag:    v1.5.0

Patching with a metahack to handle our date-format-string compatibility hack.

commit 3ffa665bc141f864ef7930a6c669710602378b6a
Author: defacer <defacer>
Date:   Fri, 18 Feb 2005 11:42:28 +0800
Tag:    v1.5.0

More robust handling of DST status for the user profile.

commit ec7e2e5fc4c843ec24cda78ca98f1ad235fbd97d
Author: defacer <defacer>
Date:   Fri, 18 Feb 2005 11:37:47 +0800
Tag:    v1.5.0

Fixing the visuals for the adminblock.

commit afd8402cfa728f4cbb2611719de0ed5d73b78fdc
Author: defacer <defacer>
Date:   Fri, 18 Feb 2005 11:37:07 +0800
Tag:    v1.5.0

Changed id attribute of adminblock to class, just like every other block.

commit 62576f3c644800f57b70269cbdf55142b76ea742
Author: defacer <defacer>
Date:   Fri, 18 Feb 2005 11:33:01 +0800
Tag:    v1.5.0

Fix some JS warnings if there are no DST presets, and correct behavior when deleting a preset forced for every user.

commit 7b91e4fd11849f9b11f319cbc24b2504c7d8eb99
Author: defacer <defacer>
Date:   Fri, 18 Feb 2005 09:52:21 +0800
Tag:    v1.5.0

Our nice compatibility hack with the language strings means that some strftime() rebels need patching up...

commit 50154fe35ceb9441a52173a9278b91acb5a88631
Author: defacer <defacer>
Date:   Fri, 18 Feb 2005 09:49:36 +0800
Tag:    v1.5.0

One extra string, please translate to other languages as well.

commit 7f92cbefbb81ad8d2144bc71ba1c605be8cfb93f
Author: defacer <defacer>
Date:   Fri, 18 Feb 2005 09:46:57 +0800
Tag:    v1.5.0

DST is out of the preferences entirely.

commit 0bab403cebf2d609dbea29ddbd576062c172403c
Author: defacer <defacer>
Date:   Fri, 18 Feb 2005 09:44:51 +0800
Tag:    v1.5.0

Improving the HTML for preferences, getting rid of DST.

commit bb8392589b1532f1630516f30c76ddc675086ff5
Author: defacer <defacer>
Date:   Fri, 18 Feb 2005 09:37:56 +0800
Tag:    v1.5.0

Fix for bug 2578:

commit 6c40f0dc2aa4dca39cef839310e8c98a22430b9c
Author: defacer <defacer>
Date:   Fri, 18 Feb 2005 09:32:49 +0800
Tag:    v1.5.0

Changing an instance of 1 => SITEID, and making the course filter drop down menu respect $CFG->adminseesall (for admins only of course)

commit 3477a9007d362c6dcc7b6500a6ee5d557b168f86
Author: defacer <defacer>
Date:   Fri, 18 Feb 2005 09:26:04 +0800
Tag:    v1.5.0

Some smallish bugs had escaped me during the transition to DST.

commit 57f1191c2e026b8499a2ac7f6be93c06b3657bb7
Author: defacer <defacer>
Date:   Fri, 18 Feb 2005 09:18:00 +0800
Tag:    v1.5.0

Last changes for DST! Now userdate() supports it as well! smile

commit 5147ad4828b4c4f89a8e0c78571bb4c5d0474872
Author: defacer <defacer>
Date:   Fri, 18 Feb 2005 09:11:10 +0800
Tag:    v1.5.0

Fixing bugs and improving integration with moodlelib. I had my own rogue strftime()s in here.

commit 469448811062db3814e2167149460c3afbba0f4e
Author: defacer <defacer>
Date:   Fri, 18 Feb 2005 07:00:35 +0800
Tag:    v1.5.0

English time format strings changed to new style.

commit 8c0c2e921146d8cb69846789584600b9b22fe8d7
Author: defacer <defacer>
Date:   Fri, 18 Feb 2005 06:59:02 +0800
Tag:    v1.5.0

userdate() now transparently supports both new-style (gmdate) and old-style (strftime) format strings.

commit 85351042d163d20bbbc63b089c84087c732bd340
Author: defacer <defacer>
Date:   Fri, 18 Feb 2005 06:43:18 +0800
Tag:    v1.5.0

Starting to fix userdate() to recognize DST as well.

commit 85cafb3e5b8669c5ce0399c4453ae10a6d6cc4cd
Author: defacer <defacer>
Date:   Fri, 18 Feb 2005 05:58:45 +0800
Tag:    v1.5.0

DST stuff being worked on.

commit 05afaf251c60c3da04b76903771dbfbeb6f2bf6c
Author: defacer <defacer>
Date:   Fri, 18 Feb 2005 05:55:25 +0800
Tag:    v1.5.0

Improving the styles for table.formtable, they weren't working in IE.

commit 4d71c956a8dcc37fb57c592cd81177ca3729b8db
Author: defacer <defacer>
Date:   Fri, 18 Feb 2005 05:29:05 +0800
Tag:    v1.5.0

Adding user profile option for DST. Also some tabs to spaces.

commit 80e556ce8af7c8f1013d4a4fe72dc6b4ade0a794
Author: defacer <defacer>
Date:   Fri, 18 Feb 2005 05:16:35 +0800
Tag:    v1.5.0

Removing inline styles from table, giving class="formtable" Removing valign="top" from trs Changing td align="right" to th Double quotes to single

commit 41b7678df36059061306ec5314300259d32ca6e7
Author: defacer <defacer>
Date:   Fri, 18 Feb 2005 05:00:54 +0800
Tag:    v1.5.0

Adding extra field to mdl_user table: dstpreset

commit 3a5d4d8525452ae07804d5638105f262bfe1c875
Author: defacer <defacer>
Date:   Thu, 17 Feb 2005 23:06:01 +0800
Tag:    v1.5.0

There were other magic numbers that needed changing as well.

commit 60979d31cd0090d24f3969a4dd4d40372a8ca1fe
Author: defacer <defacer>
Date:   Thu, 17 Feb 2005 22:59:53 +0800
Tag:    v1.5.0

Magic number 1 => SITEID

commit 36b51cb5d1aee32b007915a4e944a62b29fdad4f
Author: defacer <defacer>
Date:   Thu, 17 Feb 2005 22:33:30 +0800
Tag:    v1.5.0

Move the dimensions of the collapse/uncollapse graphic image to CSS.

commit 1f473774f32f33b679886d2c0cd75026ed0947dd
Author: defacer <defacer>
Date:   Thu, 17 Feb 2005 09:10:17 +0800
Tag:    v1.5.0

Visual & DST improvements.

commit 81e6a0a5afbe47846d9fed017988516cfc87dda8
Author: defacer <defacer>
Date:   Thu, 17 Feb 2005 08:16:15 +0800
Tag:    v1.5.0

More UI for calendar and DST options.

commit b8a6c0da69976502fd0a696c4c027362af7f026f
Author: defacer <defacer>
Date:   Thu, 17 Feb 2005 07:51:26 +0800
Tag:    v1.5.0

Improving admin interface for the calendar options with the new themes.

commit 02f0527dacf35834ea37980185ed85fa6a6f11a1
Author: defacer <defacer>
Date:   Thu, 17 Feb 2005 06:55:13 +0800
Tag:    v1.5.0

Moving closer to DST... this whole thing is so damn _hard_ to grasp...

commit 42d364974a6862d05bd2231535b18a3966cda150
Author: defacer <defacer>
Date:   Thu, 17 Feb 2005 06:04:14 +0800
Tag:    v1.5.0

Fixing stuff I broke with my last commit.

commit 196f2619c004a0ea5bf200df15e974f5664120ab
Author: defacer <defacer>
Date:   Thu, 17 Feb 2005 05:50:25 +0800
Tag:    v1.5.0

Working for DST support.

commit 4a1ad69713c7cc21610d1d745ee61fb2b2a6f11d
Author: defacer <defacer>
Date:   Thu, 17 Feb 2005 05:49:15 +0800
Tag:    v1.5.0

Fixing page defined constant, we no longer have access to it.

commit eca3b01f48034facd940566cfc66e310b475fdd6
Author: defacer <defacer>
Date:   Thu, 17 Feb 2005 05:39:35 +0800
Tag:    v1.5.0

Remove needless sort.

commit 884925d4d75d12cc9d8958124a58cb1e0dcfd52c
Author: defacer <defacer>
Date:   Wed, 16 Feb 2005 00:06:25 +0800
Tag:    v1.4.4

Fix for bug 2550:

commit ccfd6c83f3ab880aaeb257b81f5cf49c8ec107d5
Author: defacer <defacer>
Date:   Wed, 16 Feb 2005 00:02:18 +0800
Tag:    v1.5.0

Fix for bug 2550:

commit ef08e7ad7096b6ea57113023877eb4639c016181
Author: defacer <defacer>
Date:   Tue, 15 Feb 2005 09:39:12 +0800
Tag:    v1.5.0

Fix a notice if $attemptmark doesn't get set.

commit 760e522b043e1fc27b63b7d58acf2e48c3bdc40a
Author: defacer <defacer>
Date:   Sun, 13 Feb 2005 00:00:47 +0800
Tag:    v1.5.0

This small visual detail was trying to hide and escape. :P

commit 1372ef74aaf01919a5ebe45221564c81c603867d
Author: defacer <defacer>
Date:   Sat, 12 Feb 2005 22:46:20 +0800
Tag:    v1.5.0

When confirming deleting an event, changed OK/Cancel to Yes/No and added some distance between those uncomfortably close buttons.

commit a3f24f7cc591265c2fbe793a9ced452c586f8a33
Author: defacer <defacer>
Date:   Sat, 12 Feb 2005 21:09:18 +0800
Tag:    v1.5.0

Improvements in how incoming parameters are handled, how $editing is handled. More consistency across course formats for editing stuff, using $PAGE.

commit ff0c7de0b0482b2ca1d1db576bcf6dff8b40f1d6
Author: defacer <defacer>
Date:   Sat, 12 Feb 2005 20:49:46 +0800
Tag:    v1.5.0

Removed dead code.

commit 446390fb4742ecd0cf3ce16f993bcdd11fe234be
Author: defacer <defacer>
Date:   Sat, 12 Feb 2005 20:40:04 +0800
Tag:    v1.5.0

Lots of improvements in markup and styles for courses. Finalized and correctly distributed the calendar styles.

commit e96ba29d6f810cb371e23c1f0c4620af71a93bf5
Author: defacer <defacer>
Date:   Sat, 12 Feb 2005 19:37:09 +0800
Tag:    v1.5.0

Vastly improved styles, lots of inline styles removed, markup improved.

commit 9df8ff4429435e543a889cc15bf36d44569023c6
Author: defacer <defacer>
Date:   Sat, 12 Feb 2005 17:42:23 +0800
Tag:    v1.5.0

Fix for bug 2532:

commit 3c1348758d420050f31c58a6ceb925cca00cd1ce
Author: defacer <defacer>
Date:   Fri, 11 Feb 2005 23:52:59 +0800
Tag:    v1.5.0

Fixed styles and improved lots of things in calendar. It should work all right and even be a bit cooler than it was before. smile

commit d232b8c701026d9ad13d7c3f7820fa30960e6643
Author: defacer <defacer>
Date:   Fri, 11 Feb 2005 14:30:50 +0800
Tag:    v1.5.0

Updating the guide and some comments to be up to date with the latest and greatest inner workings. sigh.

commit 9ecf051d4c9f07bb1b58e829eca67c515c68faa9
Author: defacer <defacer>
Date:   Fri, 11 Feb 2005 13:27:19 +0800
Tag:    v1.5.0

Styles and markup improvements.

commit edbe6c1b694b9662b17332506a225110f967c309
Author: defacer <defacer>
Date:   Fri, 11 Feb 2005 11:54:33 +0800
Tag:    v1.5.0

More styles and markup cleanup. The basic calendar screens should now be pleasantly viewable in any browser (I 'm testing FF and IE).

commit 2ad2cbc30248fd944cb1104a55cf0a9c9690de02
Author: defacer <defacer>
Date:   Fri, 11 Feb 2005 11:08:30 +0800
Tag:    v1.5.0

Fixing more calendar styles (and some other details that caught my eye).

commit 5bbbe0be91b7f5280c8a36e0eeca5564e0ca2a80
Author: defacer <defacer>
Date:   Fri, 11 Feb 2005 02:43:18 +0800
Tag:    v1.5.0

Changing the matching function that decides if a block is applicable for display in a page. Previously it returned the FIRST match; now it returns the BEST match.

commit 09fe365237f2aa660ef469b11f6c38e9e8361c1d
Author: defacer <defacer>
Date:   Fri, 11 Feb 2005 01:32:29 +0800
Tag:    v1.5.0

Fix for bug 2525:

commit 4f0d565da69cf5e190befe3c8357fbd0b91cad99
Author: defacer <defacer>
Date:   Thu, 10 Feb 2005 09:59:11 +0800
Tag:    v1.5.0

Bringing Quiz in line with Martin's "make Chat into a showcase for pages" idea.

commit 29ba5158ada68987779ff944c761c351a59c8e7c
Author: defacer <defacer>
Date:   Thu, 10 Feb 2005 08:50:08 +0800
Tag:    v1.5.0

Introducing instance ids as id attributes in blocks. This should completely solve the problem where two instances of the same block did confusing things when you tried to collapse one of them.

commit 7d50b363b5da1e13cb05c33804c997876853f64a
Author: defacer <defacer>
Date:   Thu, 10 Feb 2005 08:42:41 +0800
Tag:    v1.5.0

Reworking of all calendar styles to address bug 2524.

commit 002ef48a5078de64ab06edbacdb590f875cc4d24
Author: defacer <defacer>
Date:   Thu, 10 Feb 2005 04:13:56 +0800
Tag:    v1.5.0

Removing inline styles, adding a class.

commit 9cbf12c0762d0a70e41cb690c182f746cc082e71
Author: defacer <defacer>
Date:   Thu, 10 Feb 2005 03:56:16 +0800
Tag:    v1.5.0

Improving some style details etc.

commit 01315a50c766b161a72ea1b3181eb30db64a8f47
Author: defacer <defacer>
Date:   Thu, 10 Feb 2005 03:52:33 +0800
Tag:    v1.5.0

Fixing a typo.

commit 0e85e8f85631622d118aea5d0a7bc7baa136cce0
Author: defacer <defacer>
Date:   Thu, 10 Feb 2005 03:51:21 +0800
Tag:    v1.5.0

Extra . for cuteness smile

commit 5ccb85f048b4b32fcdb2e11ea09fb3779ea33926
Author: defacer <defacer>
Date:   Wed, 09 Feb 2005 23:47:22 +0800
Tag:    v1.5.0

Voila! Blocks support now in chats!

commit 76d37688fcc45f50a01408a4fab8af2af58b7289
Author: defacer <defacer>
Date:   Wed, 09 Feb 2005 23:45:54 +0800
Tag:    v1.5.0

Fixing allowed formats.

commit de4505fef39533c5a27c3fea11921713270ff2cb
Author: defacer <defacer>
Date:   Wed, 09 Feb 2005 23:42:05 +0800
Tag:    v1.5.0

Removing bad slashes from HTML.

commit 0ab589983ebb7ec33e05b5ef6b459f89d4968a8d
Author: defacer <defacer>
Date:   Wed, 09 Feb 2005 23:39:07 +0800
Tag:    v1.5.0

New class that models the behavior of a chat activity!

commit d1b7d61e747b187863cd08fd3b840f9bac2114c5
Author: defacer <defacer>
Date:   Wed, 09 Feb 2005 23:31:47 +0800
Tag:    v1.5.0

Oops! Wrong optional_param() calls.

commit d7a2023d049a29111f070f0f0a3fa6a313347efe
Author: defacer <defacer>
Date:   Wed, 09 Feb 2005 23:30:15 +0800
Tag:    v1.5.0

Bring the param checking to the modern standard.

commit 023c4bb737bd9156302076190a591f6e2f3f4e2d
Author: defacer <defacer>
Date:   Wed, 09 Feb 2005 23:26:43 +0800
Tag:    v1.5.0

A new constant for chat pages.

commit b83eee7daa839f4afbbf009661631eb81cbc8fc6
Author: defacer <defacer>
Date:   Wed, 09 Feb 2005 23:22:16 +0800
Tag:    v1.5.0

Putting all things that are common among activities into a new class page_generic_activity. Then we can inherit almost all of the desired behavior and just override a couple of functions to get going with page support in a new activity.

commit 8ff1d302592299c4bd95914fccc8680b583d25e1
Author: defacer <defacer>
Date:   Wed, 09 Feb 2005 23:08:51 +0800
Tag:    v1.5.0

Let $PAGE print the header, as it should be, instead of doing it manually.

commit 55815b288dd54a879d760a5523a0955c39a5dfbf
Author: defacer <defacer>
Date:   Wed, 09 Feb 2005 23:05:14 +0800
Tag:    v1.5.0

Streamlining class page_quiz, fixing things, removing needless comments.

commit d4f7a8152dba6d33edf91f2a75b9431c79ecbf83
Author: defacer <defacer>
Date:   Wed, 09 Feb 2005 09:23:06 +0800
Tag:    v1.5.0

Redoing the hide/show thingy for blocks purely through CSS. Instance id's next time, Urs! wink

commit 71b774398ef246da998f436323b6c2e811ce8726
Author: defacer <defacer>
Date:   Wed, 09 Feb 2005 04:33:36 +0800
Tag:    v1.4.4

Fix for bug 2488:

commit 783453129bec1966636b63226e04aff97cc8e082
Author: defacer <defacer>
Date:   Wed, 09 Feb 2005 04:29:17 +0800
Tag:    v1.5.0

Fix for bug 2488:

commit 4be2a84bfea1b6d10164891913a93a234911dabd
Author: defacer <defacer>
Date:   Wed, 09 Feb 2005 02:08:23 +0800
Tag:    v1.5.0

New string for the "parent folder" icon.

commit f4b351a30efe8c5eab43cb76a8507f76fc4160c3
Author: defacer <defacer>
Date:   Wed, 09 Feb 2005 02:03:43 +0800
Tag:    v1.5.0

Fix for bug 2491:

commit f28fd7a6afc9818988b287d6b7975330939efa5a
Author: defacer <defacer>
Date:   Wed, 09 Feb 2005 02:01:44 +0800
Tag:    v1.4.4

Fix for bug 2491:

commit 8a47e075b367a45ac904af84b10c0aa291d899df
Author: defacer <defacer>
Date:   Tue, 08 Feb 2005 10:59:44 +0800
Tag:    v1.5.0

Changing the way that applicable formats for each block are defined:

commit b70b8fe1e05a0084c6a367171ff0e97719ec9585
Author: defacer <defacer>
Date:   Tue, 08 Feb 2005 10:43:36 +0800
Tag:    v1.5.0

Adding test for empty db password.

commit f6b81827326bacc4d654261ffeda5e4f5a6f1a18
Author: defacer <defacer>
Date:   Tue, 08 Feb 2005 10:42:29 +0800
Tag:    v1.5.0

This isn't quite ready yet, but get this diff out of my sight...

commit 87909ae0d6c41e3f23ddb54d4941a5be3f906bc5
Author: defacer <defacer>
Date:   Tue, 08 Feb 2005 09:38:23 +0800
Tag:    v1.4.4

This definitely fixes the bug described at

commit 83a305a7e75561e5c760d5080e9ceeb2c3be961a
Author: defacer <defacer>
Date:   Tue, 08 Feb 2005 09:34:14 +0800
Tag:    v1.5.0

Renaming some $course to $courseid to make it clear to anyone reading the code...

commit 86a956a42ab486e89fc189f08d9a220d18df4c83
Author: defacer <defacer>
Date:   Tue, 08 Feb 2005 08:53:55 +0800
Tag:    v1.5.0

Fixing this to not show notices if a block doesn't have an id attribute.

commit 0fdce319fb45dff1f95bfdca2f7812740f720366
Author: defacer <defacer>
Date:   Tue, 08 Feb 2005 08:24:33 +0800
Tag:    v1.5.0

Centering the contents of the "add blocks" block.

commit d49a3fc5a85b73486693fd0972744a987f5a8f9c
Author: defacer <defacer>
Date:   Tue, 08 Feb 2005 08:22:37 +0800
Tag:    v1.5.0

Removing the inline style, migrating to styles_layout.css

commit 685416485b1e50aadae61d7c7e643e5079390f82
Author: defacer <defacer>
Date:   Tue, 08 Feb 2005 08:12:11 +0800
Tag:    v1.5.0

This is now automatically done, no need to do it twice.

commit e1f76e76a957ec33721d396352912213c78f3833
Author: defacer <defacer>
Date:   Tue, 08 Feb 2005 08:00:21 +0800
Tag:    v1.5.0

Give an id attribute to the "Add Blocks" block so that the new hide/show provisions in weblib don't print notices.

commit 352443515900562455c527940754421fd051527e
Author: defacer <defacer>
Date:   Tue, 08 Feb 2005 07:56:54 +0800
Tag:    v1.5.0

The W3C valid way to write script tags is <script type="text/javascript">.

commit 52b2223decb83366e15c00d705b175c13c0bea97
Author: defacer <defacer>
Date:   Mon, 07 Feb 2005 12:54:04 +0800
Tag:    v1.5.0

Some corrections.

commit 527d9cddbc30fe6ecbb75175c5888ff8e0f0f586
Author: defacer <defacer>
Date:   Mon, 07 Feb 2005 08:45:41 +0800
Tag:    v1.5.0

First rough version of the "Health Center", so people can play around.

commit 6573a08f63b3a61292ca0c3fe062bf3e10fb42c8
Author: defacer <defacer>
Date:   Sat, 05 Feb 2005 11:16:44 +0800
Tag:    v1.5.0

Changing !$course->category to $course->id == SITEID

commit 1610aa4916ee2e6cab16957fc4a6d3b4252802db
Author: defacer <defacer>
Date:   Sat, 05 Feb 2005 10:08:25 +0800
Tag:    v1.5.0

Rewriting "!$course->category" to "$course->id == SITEID" to make it clear.

commit 12f60822fcde0ca1f7281d72b6ed0312c9d3af6b
Author: defacer <defacer>
Date:   Sat, 05 Feb 2005 09:50:45 +0800
Tag:    v1.4.4

Merging the isteacher() ---> isteacherinanycourse() fix from HEAD.

commit 756e18236269a4598aa1364e5d40baeba6ccce7d
Author: defacer <defacer>
Date:   Sat, 05 Feb 2005 09:36:55 +0800
Tag:    v1.5.0

Enforcing the "email type" (text/HTML) user setting at core library level. With well-written client code this should not be needed, but after getting burned once I think it's a good idea to make it "smart".

commit 673c1b2f131b2a0e0e6757f17cd3e0a7ea6c48bf
Author: defacer <defacer>
Date:   Sat, 05 Feb 2005 09:32:15 +0800
Tag:    v1.5.0

Fixing a serious bug with PHP 5 only, which caused blocks to lose their configuration data (there is an explanation but I don't think anyone cares).

commit 3081fefaadd4f13aed3af51802bafb2189de0911
Author: defacer <defacer>
Date:   Sat, 05 Feb 2005 05:15:38 +0800
Tag:    v1.4.4

Bugfix: don't send HTML digests to people who want plain text email.

commit 379a42cb26cf86e9fdec0826f76bafd38509e838
Author: defacer <defacer>
Date:   Sat, 05 Feb 2005 05:13:28 +0800
Tag:    v1.5.0

Bugfix: don't send HTML digests to users who want simple text mail.

commit 17ed7f82903789be4b91616431e7d610bb278ba1
Author: defacer <defacer>
Date:   Sat, 05 Feb 2005 04:57:16 +0800
Tag:    v1.5.0

Additional notices under PHP5 fixed.

commit 246c206420c9973b42686b6c62e02db49c2b7655
Author: defacer <defacer>
Date:   Sat, 05 Feb 2005 04:27:54 +0800
Tag:    v1.5.0

Fix for bug 2492: Notices thrown by pagelib.php.

commit 60fe9736f4883ad403cc63e9fc581acff350731c
Author: defacer <defacer>
Date:   Wed, 02 Feb 2005 12:32:13 +0800
Tag:    v1.5.0

Updating index page with all the latest from blocklib and pagelib.

commit 768320dcc977b1769ccb9d90d442a18a4365eac3
Author: defacer <defacer>
Date:   Wed, 02 Feb 2005 10:46:06 +0800
Tag:    v1.5.0

Update for the new APIs and simplification.

commit c1d8705fd2a164ab96e05aaf7610e1b9d8cf22e6
Author: defacer <defacer>
Date:   Wed, 02 Feb 2005 10:41:56 +0800
Tag:    v1.5.0

Change the semantics of blocks_print_adminblock() to make life easier to developers who use pages. Conversely simplified the code a bit in courses.

commit 7c6c05132609f73113a95c67d95b494ebfffd329
Author: defacer <defacer>
Date:   Wed, 02 Feb 2005 10:32:40 +0800
Tag:    v1.5.0

Utilizing page_id_and_class(), make a factory function page_create_instance() that does not need the page type as an argument (autodetects from the URL).

commit 68d5f00ae8bf08190f8f0d7994071c1aeb456403
Author: defacer <defacer>
Date:   Wed, 02 Feb 2005 10:25:50 +0800
Tag:    v1.5.0

Isolating this in a function because it's quite useful to access from elsewhere, too.

commit 1319096389bec6b40425fbeb5d360b7dcce4a287
Author: defacer <defacer>
Date:   Wed, 02 Feb 2005 10:22:56 +0800
Tag:    v1.5.0

Adding a useful mathematical shortcut.

commit b959599b5190ec2df2cea7a2bf6bb01d03f13c7c
Author: defacer <defacer>
Date:   Tue, 01 Feb 2005 18:03:54 +0800
Tag:    v1.5.0

Allow this in quiz pages, too.

commit 639276728cf13b69cef8fbc40102a9cb89018ee7
Author: defacer <defacer>
Date:   Tue, 01 Feb 2005 18:03:21 +0800
Tag:    v1.5.0

Allow quiz_results in quiz pages and allow multiple instances too (this obviously is only useful in courses).

commit 1ef61c260dd0d301ee7bc0210efe2db82be9dc6f
Author: defacer <defacer>
Date:   Tue, 01 Feb 2005 18:02:12 +0800
Tag:    v1.5.0

Pull all blocks out of quiz pages. We can see about allowing them later.

commit e7c66b15840c5701a3f23cc7c8db2e0f78a60f6c
Author: defacer <defacer>
Date:   Tue, 01 Feb 2005 17:19:31 +0800
Tag:    v1.5.0

Updated to cover the latest API addition and made some minor corrections.

commit d9f7e051b9f9adf97a713c674463f735849eb039
Author: defacer <defacer>
Date:   Tue, 01 Feb 2005 16:44:04 +0800
Tag:    v1.5.0

Perfecting the wording to distinguish between singular and plural.

commit fc0551248ec21478d62f50e3eadffb2ed6e2cb52
Author: defacer <defacer>
Date:   Tue, 01 Feb 2005 16:35:06 +0800
Tag:    v1.5.0

Polishing that Add/Edit Blocks button

commit c6a2a401ed022f969d1434da829c9d21ba163303
Author: defacer <defacer>
Date:   Tue, 01 Feb 2005 15:59:09 +0800
Tag:    v1.5.0

Making the "Add block..." menu list alphabetically sorted wink

commit e7c15eca42efec0ea1e5413764fdd804550a17cb
Author: defacer <defacer>
Date:   Tue, 01 Feb 2005 15:46:31 +0800
Tag:    v1.5.0

Since people adding this block to the quiz screen will get an empty display at first, show them a more friendly message instead.

commit 8dffa4df07ef08edb309a9fbb693b23c0ccec47d
Author: defacer <defacer>
Date:   Tue, 01 Feb 2005 15:40:58 +0800
Tag:    v1.5.0

Don't forget to kill all our block instances if we are deleted.

commit 8bd3fad3037377fb7b3d8fb9cdfd2d0bef507d21
Author: defacer <defacer>
Date:   Tue, 01 Feb 2005 15:39:21 +0800
Tag:    v1.5.0

I need those constants a bit more easily accessible.

commit 7221d319be53fa69ece51b3456c801e618fc7f6e
Author: defacer <defacer>
Date:   Tue, 01 Feb 2005 15:34:17 +0800
Tag:    v1.5.0

Fixing all the details in the block instance configuration screen. That wasn't so hard!

commit bdfa14dd7f34ada369dc430dc1f9f82dcc93b7dc
Author: defacer <defacer>
Date:   Tue, 01 Feb 2005 15:16:19 +0800
Tag:    v1.5.0

All right, we can now have blocks in quiz pages! Let's test it a while and see what we learn from it.

commit cadc69c64c7f0904177e6828f29878cc9fa8989e
Author: defacer <defacer>
Date:   Tue, 01 Feb 2005 15:12:39 +0800
Tag:    v1.5.0

Added a new class page_quiz, modelling the behavior of a quiz view page. Not everything is quite right now, a few details (e.g. correct breadcrumbs) have been ignored but most of the functionality is there.

commit 3edc57e1899b0fc2ca15603b398b11ea8c591e52
Author: defacer <defacer>
Date:   Tue, 01 Feb 2005 14:55:02 +0800
Tag:    v1.5.0

Even more automation: now blocks_execute_url_action() checks if the user has sufficient rights to execute the action automatically. It's therefore safe to call without ANY checks being done first.

commit 0144a0a701b0c86428a54d8c0c7d63874da662cc
Author: defacer <defacer>
Date:   Tue, 01 Feb 2005 14:51:00 +0800
Tag:    v1.5.0

Add a very useful feature to block_base to make instance config even more convenient to use. And take advantage of it to make the block run faster.

commit bf94f836a401093027a028179c9fa911615d9a06
Author: defacer <defacer>
Date:   Tue, 01 Feb 2005 14:49:52 +0800
Tag:    v1.5.0

Being slightly more accurate.

commit f58a15dee22fcf4864e1569eb7d7680a9dafef3c
Author: defacer <defacer>
Date:   Tue, 01 Feb 2005 14:40:50 +0800
Tag:    v1.5.0

That link looks a little silly if we are viewing the quiz...

commit e0a80e89f362df4ddfae0212a5e1e1930413f92c
Author: defacer <defacer>
Date:   Tue, 01 Feb 2005 14:38:42 +0800
Tag:    v1.5.0

I 'm putting together a scheme to allow blocks in mod/quiz/view.php. This will allow the block to work when displayed there.

commit da71112bed537b092a6ac3f79500369dcd66e7e7
Author: defacer <defacer>
Date:   Tue, 01 Feb 2005 14:24:28 +0800
Tag:    v1.5.0

Refining the way that blocks work: now you don't have to know anything about what editing the blocks adds to your URL. blocklib will take care of that internally.

commit 7c81cc29b91a06c63a586fda324c7f3d3d577e65
Author: defacer <defacer>
Date:   Tue, 01 Feb 2005 07:24:43 +0800
Tag:    v1.5.0

Added a new function, column_type(), based on ADOdb's MetaType().

commit b5039f5d15e302708867d3fce6afb8b5d999bcef
Author: defacer <defacer>
Date:   Mon, 31 Jan 2005 11:47:14 +0800
Tag:    v1.5.0

Removing some diagnostic output that had been forgotten.

commit 7542a4e57438324d626b29df0ebf020ef7339d8b
Author: defacer <defacer>
Date:   Mon, 31 Jan 2005 10:18:15 +0800
Tag:    v1.5.0

Dropping the use of MOODLE_PAGE_COURSE <gasp>!

commit 4d411a997f7ca570dffdcc2eb01bf407ee0a41bc
Author: defacer <defacer>
Date:   Mon, 31 Jan 2005 09:22:13 +0800
Tag:    v1.5.0

Added new id selector for the "inactive accounts will be unenrolled" message.

commit 2107c1f7219a0d0895492becbcff4839820ce373
Author: defacer <defacer>
Date:   Mon, 31 Jan 2005 09:20:43 +0800
Tag:    v1.5.0

Changing the inline centering with an id.

commit af04e86a785d44045c198145afaea436f3724ff0
Author: defacer <defacer>
Date:   Mon, 31 Jan 2005 09:03:41 +0800
Tag:    v1.5.0

Removing deprecated <font> and <center>.

commit 40d4f7362a59fc184d0f435214d2c4c91773053b
Author: defacer <defacer>
Date:   Mon, 31 Jan 2005 09:00:21 +0800
Tag:    v1.5.0

Removing <font> tags. I didn't add any styles because there was no visible difference in text size after the removal.

commit 686fafc187472b6c4a09349f8123321d65c0e878
Author: defacer <defacer>
Date:   Mon, 31 Jan 2005 08:56:00 +0800
Tag:    v1.5.0

Bugfix: don't revert to full details display when clicking on the sorting links in the table headers. Remain in the display mode you were before.

commit fddbcf9c687bba24af9d6f127af5f61d52bd34c0
Author: defacer <defacer>
Date:   Mon, 31 Jan 2005 08:48:23 +0800
Tag:    v1.5.0

Fixing my buggy implementation of isteacherinanycourse(). This fixes bugs 2455, 2456 and maybe some others Eagle Eyes didn't have the time to find. wink

commit 31686aea4cd7a73819a88244468373e64e85813f
Author: defacer <defacer>
Date:   Sun, 30 Jan 2005 12:39:55 +0800
Tag:    v1.5.0

Merged from STABLE:

commit 9f5b48b33e835af739f898cebe442e409efba8ea
Author: defacer <defacer>
Date:   Sun, 30 Jan 2005 12:29:11 +0800
Tag:    v1.4.4

Stopgap measure for the wrong behavior discussed in SC#87. I believe this ensures the required behavior, but we may still change it because it can be confusing...

commit bbcbc3f85e6809e4f9715c856b84385ce5dfc958
Author: defacer <defacer>
Date:   Fri, 28 Jan 2005 13:42:19 +0800
Tag:    v1.5.0

Removing the extra debug info now that bug 2431 was fixed.

commit 0d7e0e8adaf0eb9736ff1d398ab4280f7f528821
Author: defacer <defacer>
Date:   Fri, 28 Jan 2005 11:52:56 +0800
Tag:    v1.5.0

A small change for the static initialization in page_map_class, and more debug added just before init is done.

commit 2335781f1c62ab39d7579d0735e65e72f5e26158
Author: defacer <defacer>
Date:   Fri, 28 Jan 2005 08:02:33 +0800
Tag:    v1.5.0

Fixing incorrect use of optional_param.

commit cab5d3cd0425de4ac7868033834dba010732297a
Author: defacer <defacer>
Date:   Fri, 28 Jan 2005 07:59:12 +0800
Tag:    v1.5.0

If there are no quizzes this block can monitor, print it in bold.

commit 9acdd7b2f82a6210a1e87d04c66a58cb91522ac4
Author: defacer <defacer>
Date:   Fri, 28 Jan 2005 07:58:10 +0800
Tag:    v1.5.0

One more string here, I had forgotten to add it.

commit febeb16113c43e3cd5fff700dfd6b022ab2355bc
Author: defacer <defacer>
Date:   Fri, 28 Jan 2005 07:57:37 +0800
Tag:    v1.5.0

Removing two error-suppression prefixes (@). I think that in the end, the only purpose they served was to make debugging harder.

commit e355a2d304b52cb4ec7ca408959865535187d5d3
Author: defacer <defacer>
Date:   Fri, 28 Jan 2005 07:56:46 +0800
Tag:    v1.5.0

Bugfix: when configuring a block in the site index, the site name was being displayed twice in the breadcrumbs.

commit 5921e0a06a717ca60b2e252827f47e3e896d29dd
Author: defacer <defacer>
Date:   Fri, 28 Jan 2005 07:48:16 +0800
Tag:    v1.5.0

Fixed incorrect use of optional_param.

commit b35bc4d8db1da7a670c1c3866c01ce3529ad3c94
Author: defacer <defacer>
Date:   Fri, 28 Jan 2005 01:40:46 +0800
Tag:    v1.5.0

Block now works as it intuitively should in separate groups mode as well. For editing teachers, it shows separategroups as visiblegroups.

commit 268f71a656a3cc49a2002a27a7c98b4b72a238d3
Author: defacer <defacer>
Date:   Thu, 27 Jan 2005 13:24:35 +0800
Tag:    v1.4.4

Better variable initialization. SC#83.

commit 744fd5bb3b55ce3702461953432a41633d6e7188
Author: defacer <defacer>
Date:   Thu, 27 Jan 2005 13:21:00 +0800
Tag:    v1.5.0

Styles for doc/contents.php.

commit e78bd550b24b90c9893a8675b5562d76d067e711
Author: defacer <defacer>
Date:   Thu, 27 Jan 2005 13:20:31 +0800
Tag:    v1.5.0

End the page with correct HTML.

commit 5b13d65b077a93ba5af2815b5baac4455450384e
Author: defacer <defacer>
Date:   Thu, 27 Jan 2005 13:01:16 +0800
Tag:    v1.5.0

Fixed SC#83 and the HTML to boot. I 'll add some styles to bring the end result back to normal.

commit 9c581405ab73133e38b4f4e511b40959f8b18f3c
Author: defacer <defacer>
Date:   Thu, 27 Jan 2005 12:19:56 +0800
Tag:    v1.5.0

More HTML and CSS fun with the new block.

commit 3779fd556edf316f9f1efbbb4a95696ceff286a8
Author: defacer <defacer>
Date:   Thu, 27 Jan 2005 11:53:20 +0800
Tag:    v1.5.0

Out goes the ORDER BY grade + 0 hack, now that grade is a float.

commit 7a652b5f2b5441185ef3cbf8f841121248ca05fa
Author: defacer <defacer>
Date:   Thu, 27 Jan 2005 11:14:56 +0800
Tag:    v1.5.0

Switching back to an interger-rounded retrieved best grade. Will probably be more human-friendly on screen.

commit 28926a08e9782d51716e29672a773605dd10c0b5
Author: defacer <defacer>
Date:   Thu, 27 Jan 2005 11:10:57 +0800
Tag:    v1.5.0

Changing that despicable grade column from mdl_quiz_grades to a floating point data type, as it should be.

commit 35f45a0d830428d0bd8dc472a905971e289cc5d3
Author: defacer <defacer>
Date:   Thu, 27 Jan 2005 10:45:38 +0800
Tag:    v1.5.0

It seems that grades are saved with two decimal points of precision while they are being retrieved as integers. Changed it to two decimals everywhere and continuing to go about it...

commit cb8057dee24a40541c80c1fc19b7ab9df623ac49
Author: defacer <defacer>
Date:   Thu, 27 Jan 2005 10:39:15 +0800
Tag:    v1.5.0

Semantically it's better if quiz_get_best_grade returns NULL if there is no such grade.

commit d5838a4b20a179af0ac890c299e1c5a3909629cd
Author: defacer <defacer>
Date:   Thu, 27 Jan 2005 10:30:32 +0800
Tag:    v1.5.0

Double quotes to single and blah blah.

commit 9d6773603d4974f0d4bfa6b8ad27e4c97aab349e
Author: defacer <defacer>
Date:   Thu, 27 Jan 2005 10:28:04 +0800
Tag:    v1.5.0

Minor beautification, plus a detail: if the grade is 0.0, this function would return a grade of 0, which is obviously not the intent here.

commit e7a935aafa6a9a9fe12687dbbfcef76497fae90a
Author: defacer <defacer>
Date:   Thu, 27 Jan 2005 10:26:00 +0800
Tag:    v1.5.0

This was pulling out all those records and doing absolutely nothing with them. Sanitized the place a bit.

commit eb111397cd86d31475594644c717d6839a7dc3df
Author: defacer <defacer>
Date:   Thu, 27 Jan 2005 06:31:42 +0800
Tag:    v1.5.0

Polishing the styles for the quiz_results block a bit.

commit ba05c3aeeb78c7c1034c0e44932242a1d39bf1b3
Author: defacer <defacer>
Date:   Thu, 27 Jan 2005 06:23:39 +0800
Tag:    v1.5.0

More language strings for the quiz_results block. I think that will be all.

commit 00a4237f2446e6a8f9b68ca0cf510ee0630f7c9c
Author: defacer <defacer>
Date:   Thu, 27 Jan 2005 06:22:55 +0800
Tag:    v1.5.0

Correcting a mistake: hide the block if there are no results for that quiz.

commit 6b4dc5a31b2642a1850694fac4d860a1d2f85835
Author: defacer <defacer>
Date:   Thu, 27 Jan 2005 06:14:22 +0800
Tag:    v1.5.0

New:    The block now works in group mode too! Bugfix: Grades were not being displayed correctly as percentages.

commit 41dafe04cedeeae68c5381ddd2f81b2cb99c22b8
Author: defacer <defacer>
Date:   Thu, 27 Jan 2005 03:59:08 +0800
Tag:    v1.5.0

Provisional fix for the "100% < anything else" bug. If it's compatible with Postgres, then cool!

commit eaba9c851014c9bc091fb5a5f1ba2145435626e1
Author: defacer <defacer>
Date:   Wed, 26 Jan 2005 23:33:50 +0800
Tag:    v1.5.0

Adding that nifty BODY id and class detection code to pages... I have the feeling that this is the way to go, as more Moodle things will be converted to use $PAGE in the future.

commit cae0f35bd1e929fa6ee949da7e9c38de0f865ddd
Author: defacer <defacer>
Date:   Wed, 26 Jan 2005 12:27:48 +0800
Tag:    v1.5.0

Added a few styles for the quiz_results block.

commit 95ceba88f28fe09d3f331bc38dfe9c0fbb3fc573
Author: defacer <defacer>
Date:   Wed, 26 Jan 2005 08:29:42 +0800
Tag:    v1.5.0

Initial checkin of language for the quiz_results block.

commit 98ad7484c819c4b794ae88606f0e71e645313158
Author: defacer <defacer>
Date:   Wed, 26 Jan 2005 07:49:36 +0800
Tag:    v1.5.0

First commit of the requested quiz_results block.

commit 6385200609f295e7dabe92bb5e31c18b8d1eb69d
Author: defacer <defacer>
Date:   Wed, 26 Jan 2005 03:23:05 +0800
Tag:    v1.5.0

Weren't these two mistakenly switched? Compare the results from /index.php and /course/view.php to see what I mean.

commit 6bc5558ce6898e10e00f40e85fbdd35e66bcd0f2
Author: defacer <defacer>
Date:   Wed, 26 Jan 2005 03:13:09 +0800
Tag:    v1.5.0

Adding some extra debug output when a specific error() occurs to help track down a problem which has been reported in the forums (it is NOT a bug though).

commit fd0c975a7064dfd78a5b897a58931df1f4947063
Author: defacer <defacer>
Date:   Wed, 26 Jan 2005 01:44:58 +0800
Tag:    v1.4.4

Merge enabling PARAM_LOCALURL for clean_param() from HEAD (SC#54).

commit bb8bbc74570ef5bc5ce23bfb8abf321323114677
Author: defacer <defacer>
Date:   Tue, 25 Jan 2005 21:35:14 +0800
Tag:    v1.5.0

Giving a name to ML's baby wink No, seriously, defining a suitable named constant for PARAM_LOCALURL (SC#54)

commit 9292b6afc0f7a67c07b1b2fb1e03b893608a2472
Author: defacer <defacer>
Date:   Tue, 25 Jan 2005 11:13:13 +0800
Tag:    v1.5.0

More polishing.

commit d49f500f5277b99b911ad421e61f4fb466857ad8
Author: defacer <defacer>
Date:   Tue, 25 Jan 2005 11:01:09 +0800
Tag:    v1.5.0

Oops, I committed this along with the function renames by mistake. Anyway, now fixing a small cosmetic glitch and giving the correct commit message:

commit 1345403a7c593c9423d3fb2cb3d9611926dc0ace
Author: defacer <defacer>
Date:   Tue, 25 Jan 2005 10:57:30 +0800
Tag:    v1.5.0

Renaming 4 internal-use-only class methods by prefixing an underscore. I want to make a point that people should NOT be calling them.

commit 344932658c42c10de5f9e442dcf67db20ec40887
Author: defacer <defacer>
Date:   Mon, 24 Jan 2005 07:59:29 +0800
Tag:    v1.5.0

Undoing the commit of some esoteric development stuff by mistake.

commit 04280e857e60230e4b82332cf6815cc975a73f97
Author: defacer <defacer>
Date:   Mon, 24 Jan 2005 06:07:13 +0800
Tag:    v1.5.0

Renamed set_user_sesskey() to just sesskey(). SC#74

commit 9407d4563f187cf82f9e15b3c350b7e983ff0f0f
Author: defacer <defacer>
Date:   Mon, 24 Jan 2005 05:38:01 +0800
Tag:    v1.5.0

According to the final comments in SC#65:

commit bc6c7c26b682d2652139a5a4280f8db4451c15d9
Author: defacer <defacer>
Date:   Tue, 18 Jan 2005 06:26:20 +0800
Tag:    v1.5.0

Better comments and some more diagnostic messages to help with bug hunting.

commit abea5d6940185766d155049b7f743fec575ce304
Author: defacer <defacer>
Date:   Mon, 17 Jan 2005 22:51:18 +0800
Tag:    v1.5.0

Fix for bug 2371:

commit 4ee6e69aaf8561e8628f48b87aeca7763ea9ed36
Author: defacer <defacer>
Date:   Mon, 17 Jan 2005 22:29:27 +0800
Tag:    v1.5.0

Fix for bug 2372:

commit 3cacefda86239f9e05d9f776b15bbfe01d25145f
Author: defacer <defacer>
Date:   Mon, 17 Jan 2005 22:26:17 +0800
Tag:    v1.5.0

Fix for bug 2377:

commit 8b81a21e80d608315838d6d1d249135f4eba4ea2
Author: defacer <defacer>
Date:   Wed, 12 Jan 2005 20:10:17 +0800
Tag:    v1.5.0

Two new strings for the new calendar preference.

commit 054193be87d40a97c8dca1d1825c916246de8817
Author: defacer <defacer>
Date:   Wed, 12 Jan 2005 19:55:01 +0800
Tag:    v1.5.0

Merging fix for reopened bug 1384 from STABLE.

commit 1a33f699b263e647f0b4c053165b1ef255d8a563
Author: defacer <defacer>
Date:   Wed, 12 Jan 2005 19:40:46 +0800
Tag:    v1.5.0

Merging fix for bug 2264 & improvements from MOODLE_14_STABLE

commit 642fd913d38b8f30c47d7c99b71e04c2e99b8508
Author: defacer <defacer>
Date:   Wed, 12 Jan 2005 19:33:45 +0800
Tag:    v1.5.0

Capitalized $user->sessionIP to $USER->sessionIP. Probably was a typo, considering the comment just above.

commit 9f1f6dafa495550d4060c7a2ccc4185992b7061e
Author: defacer <defacer>
Date:   Wed, 12 Jan 2005 19:17:18 +0800
Tag:    v1.5.0

Added some COMMENTED experimental code in make_timestamp (behavior doesn't change at all), and one more optional parameter.

commit 105dece910ef0f76d5aa936505a2ea16b2b53075
Author: defacer <defacer>
Date:   Wed, 12 Jan 2005 19:01:31 +0800
Tag:    v1.4.4

Fix for bug 2264:

commit a420ef8836b623981786d0a826049346c5514c0d
Author: defacer <defacer>
Date:   Wed, 12 Jan 2005 18:43:19 +0800
Tag:    v1.4.4

Fix for bug 2350:

commit 88a5277af1fcaaa9a0bc003822dce0931f998305
Author: defacer <defacer>
Date:   Wed, 12 Jan 2005 18:30:05 +0800
Tag:    v1.4.4

Fixing bug 1384 again. It seems to have been caused by optimizing code which doesn't work, because unfortunately $courses is actually NOT a collection of course records in this function. With the optimization removed all is well again.

commit 67677908a045a79260f45bb88cb3a24adafb6d3d
Author: defacer <defacer>
Date:   Wed, 12 Jan 2005 03:38:19 +0800
Tag:    v1.5.0

Fixing the alt attributes for the icons used to move/hide etc. blocks when editing is on. Also a few minor corrections for things inside comments.

commit 0f256abc0c0d2f7316227f053dff8d9213279f4c
Author: defacer <defacer>
Date:   Wed, 05 Jan 2005 03:43:09 +0800
Tag:    v1.5.0

Fix for bug 2336:

commit edb42f0924349fa3b7d04d6418e5f5f8631f762b
Author: defacer <defacer>
Date:   Sun, 02 Jan 2005 23:20:15 +0800
Tag:    v1.5.0

Fix for bug 2328:

commit a2017e62da3208fea687109e49f38a01ec9b87ae
Author: defacer <defacer>
Date:   Sat, 01 Jan 2005 00:35:29 +0800
Tag:    v1.5.0

Latest updated guide. The Appendixes need more work but up till there it's pretty much final.

commit bb4a2e85c035a0d9edaee453eaa87f954b161776
Author: defacer <defacer>
Date:   Fri, 17 Dec 2004 02:49:57 +0800
Tag:    v1.5.0

New features implemented:

commit 54598fb04ee729dd37529d8a4ce3fd8a0cdde3a2
Author: defacer <defacer>
Date:   Fri, 17 Dec 2004 01:26:29 +0800
Tag:    v1.5.0

The user editing screen and the change password screen didn't play very well with debug = on. In fact the change password screen didn't play at all.

commit 440d3cd360243b525f6b0e32e604074644747d51
Author: defacer <defacer>
Date:   Thu, 16 Dec 2004 08:41:50 +0800
Tag:    v1.4.3

Merging fix for bug 2285 from HEAD, it works as it should.

commit 86f092d25efe8d57d2731e12fed6d3407de764fe
Author: defacer <defacer>
Date:   Wed, 15 Dec 2004 15:14:41 +0800
Tag:    v1.5.0

New "Calendar" section in Admin -> Configuration. Includes preliminary support for DST! Includes "admin sees all events or only own?" setting (bug 1972)

commit 548c4e2e5571b87b1d65bcccbebb4e1b47c4d673
Author: defacer <defacer>
Date:   Wed, 15 Dec 2004 15:08:31 +0800
Tag:    v1.5.0

Fix for bug 2285: chatd shows all chat users as present in every chatroom

commit 7692b11451c2bf2caf03c40f112b83239125a1a6
Author: defacer <defacer>
Date:   Tue, 14 Dec 2004 02:38:18 +0800
Tag:    v1.5.0

At last, fixed that despicable notice when logging in by converting direct array access to get_user_preference(), as it should be.

commit ccb42b9a701b69d1ec4b502e8584985d2ce8bcf5
Author: defacer <defacer>
Date:   Tue, 14 Dec 2004 02:32:20 +0800
Tag:    v1.5.0

Fixed some warnings for foreach() on empty array, when upgrading a site with no workshops in it.

commit a9615e79cc3985a2dba3f6bc5423bcdc2c9d4ead
Author: defacer <defacer>
Date:   Fri, 03 Dec 2004 03:51:29 +0800
Tag:    v1.4.3

Merging fix from HEAD for the recently introduced regression (incorrent usage of optional_parameter())

commit 9c6bf80e719845b1d3b2094c347f3bb6e8dc982b
Author: defacer <defacer>
Date:   Thu, 02 Dec 2004 05:54:49 +0800
Tag:    v1.5.0

Removed last instance of the evil SECS_IN_DAY constant that is the ticket to wrong code when DST comes into play

commit cb48251dec222e17f77dee542fac627615f5fe8d
Author: defacer <defacer>
Date:   Thu, 02 Dec 2004 05:52:09 +0800
Tag:    v1.5.0

Fixed some warnings I introduced a while back by incorrect use of optional_parameter()

commit 77e9d3cf4c076601e9e813641889771dcacac52b
Author: defacer <defacer>
Date:   Thu, 02 Dec 2004 05:49:23 +0800
Tag:    v1.5.0

Minor code style changes

commit 070e2616472a06f8e2bbe0d51f6afbae808f12d5
Author: defacer <defacer>
Date:   Thu, 02 Dec 2004 05:47:02 +0800
Tag:    v1.5.0

Fixed set_user_preference to make changes immediately available ($user was lowercased) Updated all user preferences functions to behave well even if $USER or $USER->id is not defined

commit 9b12850043cab9d05fd1f00a8a5fc45218f71725
Author: defacer <defacer>
Date:   Mon, 29 Nov 2004 12:19:05 +0800
Tag:    v1.5.0

Fix for bug 2241:

commit db019d935845ffc037086be83b6493ee5b3f943c
Author: defacer <defacer>
Date:   Fri, 26 Nov 2004 01:35:25 +0800
Tag:    v1.5.0

Ummm... more changes due to the renaming.

commit 99110470baf28654254d10582837f16c63c39a1f
Author: defacer <defacer>
Date:   Fri, 26 Nov 2004 01:23:57 +0800
Tag:    v1.5.0

Somehow I forgot to commit these and the whole page setup wasn't working after renaming MoodlePage => page_base.

commit e89d741af301795cbff6fbc220d50160c3937a1e
Author: defacer <defacer>
Date:   Wed, 24 Nov 2004 02:53:34 +0800
Tag:    v1.5.0

New naming conventions for class names to bring them in line with the rest of Moodle. The convention for blocks is now:

commit d32ae936e4507738ea3cede6d5f21c4bb8db03b7
Author: defacer <defacer>
Date:   Sun, 21 Nov 2004 04:14:18 +0800
Tag:    v1.4.3

Merged DST-related fixes from HEAD.

commit 3c7e1b65be8e4d954f0b4569871c9dd2ef2e6f72
Author: defacer <defacer>
Date:   Sun, 21 Nov 2004 04:10:03 +0800
Tag:    v1.5.0

Fixes for slightly incorrect behavior on days where the DST setting changes. Not quite correct in some places though (those require more attention).

commit 0fa6d311435464217001e7dac2fbb9d57f6512d5
Author: defacer <defacer>
Date:   Sun, 21 Nov 2004 03:44:28 +0800
Tag:    v1.5.0

Removed a useless space smile

commit 331063054a240e16a0bc369275491977cb20b7fd
Author: defacer <defacer>
Date:   Sun, 21 Nov 2004 03:36:47 +0800
Tag:    v1.5.0

Slight change to the HOWTO to be more clear.

commit cd47b250c28534590b7a3b51b5f0bfbcc5940fe0
Author: defacer <defacer>
Date:   Sun, 21 Nov 2004 03:08:20 +0800
Tag:    v1.4.3

Merging notice removal from HEAD

commit 3088137459c17d48b0577d66fbd49e81898ebe56
Author: defacer <defacer>
Date:   Sun, 21 Nov 2004 02:30:31 +0800
Tag:    v1.5.0

Fixed a couple PHP notices which cropped up

commit 9e094fd54b7d2de16e6c66c546f698ee1280e352
Author: defacer <defacer>
Date:   Fri, 19 Nov 2004 11:29:16 +0800
Tag:    v1.5.0

Silly me... forgot to update url_get_path when I moved this thing in here.

commit bce32e137325cd6b3df78e5d5b93794c767aa294
Author: defacer <defacer>
Date:   Fri, 19 Nov 2004 11:18:41 +0800
Tag:    v1.4.3

Merging patch from HEAD: addressing SC#20 and updating parameter handling code.

commit db9b01eda2cb0b8c10ec528287cfc4429713ce59
Author: defacer <defacer>
Date:   Fri, 19 Nov 2004 11:16:56 +0800
Tag:    v1.5.0

Proof of concept for the things you can do with the new Blocks and Pages APIs.

commit a177631062a37ab3e2f58e330f07526edb4c32f1
Author: defacer <defacer>
Date:   Fri, 19 Nov 2004 11:01:31 +0800
Tag:    v1.5.0

Updated the configuration-handling logic to the same level as the new instance- configuration handlers. Much more easy to use and precise.

commit 482dbe0cd483035f4a60652a456f1b80a2aa0cb1
Author: defacer <defacer>
Date:   Fri, 19 Nov 2004 10:47:00 +0800
Tag:    v1.5.0

Correct construction of SQL clauses (fix for SC#20).

commit f8582e3e0a9153ee61234c814646043efa379139
Author: defacer <defacer>
Date:   Fri, 19 Nov 2004 10:41:32 +0800
Tag:    v1.5.0

Tweaked class MoodleBlock some. Removed a useless function (how did it get in here?) and renamed handle_config(), print_config() to config_save(), config_print() for consistency with the new instance_ functions().

commit 2456d7c8152a3f2cba1d76f82bb4bfdb4f068ed9
Author: defacer <defacer>
Date:   Fri, 19 Nov 2004 10:36:57 +0800
Tag:    v1.5.0

Updated the two standard blocks that have configuration features to work with the latest version of the Blocks API.

commit 833d0336230f2dc785c5c9f8a39cb5d61847fa43
Author: defacer <defacer>
Date:   Fri, 19 Nov 2004 10:32:48 +0800
Tag:    v1.5.0

First version of the Developer Documentation: Blocks how-to. Still a bit rough around the edges and definitely will see refining. Almost killed me, though. I hope it turns out to be useful.

commit 6b853ff4c70460581114eeef4b55baf2dc21f57e
Author: defacer <defacer>
Date:   Sat, 13 Nov 2004 02:47:39 +0800
Tag:    v1.5.0

Oops... fix for the fix smile

commit 5715e97bce034891de857b8a7a21873982242d61
Author: defacer <defacer>
Date:   Sat, 13 Nov 2004 02:44:54 +0800
Tag:    v1.5.0

Fixed a warning which appears if you move a block to a position which doesn't currently have any blocks.

commit c8e0b57900eec70bec2b6dedf476286117a4a762
Author: defacer <defacer>
Date:   Sat, 13 Nov 2004 02:39:25 +0800
Tag:    v1.5.0

Pages/blocks code updates:

commit f032aa7a5f918fd3041bb502f833596ef18c7579
Author: defacer <defacer>
Date:   Tue, 09 Nov 2004 03:36:07 +0800
Tag:    v1.5.0

MAJOR CHANGES: --------------

commit 4362b3997823ce6fd73f42da8e7745c25e2c8a05
Author: defacer <defacer>
Date:   Tue, 09 Nov 2004 03:21:23 +0800
Tag:    v1.5.0

Latest changes for the blocks/pages features.

commit 681ad23b3d72c77fcdc5bd947dd28aade4f7e9cb
Author: defacer <defacer>
Date:   Tue, 09 Nov 2004 03:18:19 +0800
Tag:    v1.5.0

Bugfix: The table prefix_block in blocks/db/postgres7.sql was incorrectly constructed as prefix_block.         Thanks to Penny Leach for pointing it out.

commit d907cdad93880346d2815a6a6d3740cf709ebedf
Author: defacer <defacer>
Date:   Sat, 30 Oct 2004 01:29:29 +0800
Tag:    v1.4.2

Importing fix for bug #2004 (Bug of the Year! :D) from HEAD:

commit a94329a8ed846f04f4d1343cdee210ee8b34f9c9
Author: defacer <defacer>
Date:   Sat, 30 Oct 2004 01:21:19 +0800
Tag:    v1.5.0

Fix for bug #2004 (Bug of the Year! :D):

commit 21fca825f2df7e35f34d70c8086fc63e8a591130
Author: defacer <defacer>
Date:   Sat, 30 Oct 2004 01:17:57 +0800
Tag:    v1.5.0

Merging Martin's removal of the <style> allowed tag to HEAD. I tagged the other version as MERGED, too.

commit 3ecf46a193806307999976e2d7d0cd12a71ace67
Author: defacer <defacer>
Date:   Sat, 30 Oct 2004 01:07:11 +0800
Tag:    v1.5.0

Blocks are now saved to and restored from course backups!

commit 89a5baaba1adfb988fe9a75045a8eb916f9e7e91
Author: defacer <defacer>
Date:   Sat, 30 Oct 2004 00:56:59 +0800
Tag:    v1.5.0

Major cleanups (removed things no longer used by the new backup). Microsoft must surely be jealous (do more with less).

commit 9b4b78fd6aa71a18fe1a79be75947eb119045e72
Author: defacer <defacer>
Date:   Wed, 20 Oct 2004 05:04:28 +0800
Tag:    v1.5.0

Da monster-commit of blocks version 2!

commit 4d54248710322f1e079edf036cf1384b287de12e
Author: defacer <defacer>
Date:   Fri, 08 Oct 2004 08:19:20 +0800
Tag:    v1.4.2

Smallish refinement.

commit 9dc9d6b0a86292a56970e94bd16ec5bf455c2d79
Author: defacer <defacer>
Date:   Fri, 08 Oct 2004 08:15:05 +0800
Tag:    v1.4.2

Updated the translation in a place it was so badly behind that it actually caused the admins to turn to the programmers for help... sad.

commit 233ca8bf603fd76993298cb21bb453e577e019ef
Author: defacer <defacer>
Date:   Mon, 04 Oct 2004 00:40:20 +0800
Tag:    v1.5.0

Undoing an incorrect instance of htmlentity encoding a &. Probably got in with all the XHTML frenzy. Thanks to Daryl for helping to debug this! smile

commit 5ef50b7764842d2cae47fc8a551dc20ec2aa1350
Author: defacer <defacer>
Date:   Tue, 21 Sep 2004 06:37:40 +0800
Tag:    v1.5.0

Small code sanitization

commit 02ce38480883016667eb1a69f28dff931c6ef0ab
Author: defacer <defacer>
Date:   Mon, 20 Sep 2004 06:25:21 +0800
Tag:    v1.5.0

Merging fix for bug 1957 from MOODLE_14_STABLE.

commit 2c241d2a9deaea82a4979b6b0840d7f1541c05f0
Author: defacer <defacer>
Date:   Mon, 20 Sep 2004 06:18:33 +0800
Tag:    v1.4.2

Fix for bug 1957:

commit 4c7d113714be46c2884e184dafe35702f045caae
Author: defacer <defacer>
Date:   Sun, 19 Sep 2004 00:14:54 +0800
Tag:    v1.5.0

Nit-picking corrections... behavior doesn't change at all.

commit 99235a67cd8386a39faccfb5b496bfd411df9fff
Author: defacer <defacer>
Date:   Thu, 16 Sep 2004 18:55:17 +0800
Tag:    v1.5.0

Merging changes from MOODLE_14_STABLE

commit 0afc847f800ffa062531d561136db7f905c7b618
Author: defacer <defacer>
Date:   Thu, 16 Sep 2004 18:52:00 +0800
Tag:    v1.4.2

Small fixes: change site-detection code to use SITEID and some XHTML stuff (I 'm going to merge this over to HEAD).

commit c3d3b6d48b0e68b93ccf4cdef4c1c3080d83eb65
Author: defacer <defacer>
Date:   Thu, 16 Sep 2004 18:30:40 +0800
Tag:    v1.5.0

Fixing the logic errors my previous commit introduced. Notice how easily writing "cute" code (courseid > 1, both checking for non-zero and non-courseid value) can lead to mistakes later. And it's my own code, even...

commit 198f0fb09bf994f760b0c3a30ef4b4e90966f745
Author: defacer <defacer>
Date:   Thu, 16 Sep 2004 18:25:08 +0800
Tag:    v1.4.2

Changed all references to hard-coded "1"s to SITEID. Made the logical expressions in those lines a bit more clear. Removed one obsolete function. Thanks Eloy! smile

commit 9064751bc349b025af9a67b37be3b0316aa72565
Author: defacer <defacer>
Date:   Thu, 16 Sep 2004 18:14:44 +0800
Tag:    v1.5.0

Fixed all hard-coded SITEID references. Thanks to Eloy for pointing it out! (In the end there were more than we thought; I just searched for all "1"s)

commit 3395a558c96b427399a15bb36af5976368b0ab8b
Author: defacer <defacer>
Date:   Thu, 09 Sep 2004 19:55:00 +0800
Tag:    v1.5.0

Importing fix for bug 1921 from stable.

commit 969da74d8bd1c496fa974126bb369cf4b55e559a
Author: defacer <defacer>
Date:   Thu, 09 Sep 2004 19:53:42 +0800
Tag:    v1.4.1

Fix for bug 1921: I had forgotten to globalize $USER...

commit 9a624c52b1979fe24c3beb333a6fb9b898063090
Author: defacer <defacer>
Date:   Thu, 09 Sep 2004 19:39:57 +0800
Tag:    v1.5.0

Capitalizing first letter of each block title word.

commit 811366147139876a6c945bcebe05a3403394fe1e
Author: defacer <defacer>
Date:   Thu, 09 Sep 2004 18:58:25 +0800
Tag:    v1.5.0

Merging addslashes() change from stable.

commit a10b3ade4d3d60e9ddc11c2ab6dc011656e6b93c
Author: defacer <defacer>
Date:   Thu, 09 Sep 2004 18:56:57 +0800
Tag:    v1.4.1

addslashes() on messages from users before inserting into db.

commit deaa88423404e81b8331143a806b80d660126698
Author: defacer <defacer>
Date:   Thu, 09 Sep 2004 18:41:23 +0800
Tag:    v1.5.0

Full XHTML 1.0 compliance. I hope I didn't miss anything.

commit 67b1b6c2cc65cc8cd6d9e9247ee7161efec75aca
Author: defacer <defacer>
Date:   Thu, 09 Sep 2004 18:26:11 +0800
Tag:    v1.5.0

Small fixes, moving towards XHTML compliance.

commit de79ec4550c881b092fa3a1bd362d3e5b0a41616
Author: defacer <defacer>
Date:   Tue, 07 Sep 2004 18:31:18 +0800
Tag:    v1.5.0

Merging patch for improved calendar block behavior from MOODLE_14_STABLE.

commit 75c45044bbec9c913ae8db47bc5869e83ca83c0f
Author: defacer <defacer>
Date:   Tue, 07 Sep 2004 18:16:33 +0800
Tag:    v1.4.1

Improving the behavior of the two calendar blocks when they are displayed at the site front page. See http://moodle.org/mod/forum/discuss.php?d=12149

commit 480dda610cf3ff80aa7d05177f38db235800891d
Author: defacer <defacer>
Date:   Mon, 06 Sep 2004 16:06:55 +0800
Tag:    v1.5.0

Fix for bug 1892:

commit a22f8313724ee7526eafc8172d2c8a9aed5541bd
Author: defacer <defacer>
Date:   Mon, 06 Sep 2004 15:55:29 +0800
Tag:    v1.5.0

Merging from MOODLE_14_STABLE.

commit ae18de992f119396a4db19d323fe086e28eb7c60
Author: defacer <defacer>
Date:   Mon, 06 Sep 2004 15:54:04 +0800
Tag:    v1.4.1

Avoid debug mode notice.

commit c1d0f7d58451adc57becf84293a04106b57f3907
Author: defacer <defacer>
Date:   Mon, 06 Sep 2004 15:20:38 +0800
Tag:    v1.4.1

Removed leftovers I got with my last update.

commit 74aa7233f5e39b6cb5f6aaf251b669fb72186144
Author: defacer <defacer>
Date:   Sat, 04 Sep 2004 22:41:14 +0800
Tag:    v1.5.0

For small courses, "more details" is default.

commit eceb9c5ce42c3dc4aaf450a0672e556b100d4f53
Author: defacer <defacer>
Date:   Sat, 04 Sep 2004 21:14:20 +0800
Tag:    v1.5.0

Small change, checking for file existence is arguably better this way.

commit 8f87188ce8043679022b4da08b92ad619eda6687
Author: defacer <defacer>
Date:   Fri, 03 Sep 2004 18:58:55 +0800
Tag:    v1.5.0

Fix for bug 1882:

commit 499bdad6efc6c07334ed3c6d81ffc171d8de1a1d
Author: defacer <defacer>
Date:   Wed, 01 Sep 2004 22:35:21 +0800
Tag:    v1.5.0

A few missing strings for Greek.

commit 24a21d29f0c7448df4cb0818498bd565318b0fad
Author: defacer <defacer>
Date:   Wed, 01 Sep 2004 22:19:27 +0800
Tag:    v1.5.0

New strings for the user list type selection feature.

commit 4bc162b7a5394d7db7af1bc6c348ba0aadf243ae
Author: defacer <defacer>
Date:   Wed, 01 Sep 2004 21:56:12 +0800
Tag:    v1.5.0

Lots of things going on:

commit 9fa4ef688ef752996234fe37230f3208fb420a42
Author: defacer <defacer>
Date:   Tue, 31 Aug 2004 21:53:43 +0800
Tag:    v1.5.0

Merging more stuff. This also has one revision of Martin's changes in addition to my last one, that's why it's so scary. It scared me initially, at least.

commit e89fad6b99292320fa3018c690c69ba09d60282b
Author: defacer <defacer>
Date:   Tue, 31 Aug 2004 21:46:25 +0800
Tag:    v1.5.0

Merging goodness from MOODLE_14_STABLE

commit 2ebaaa5e68bc65c18262a5ca9e20f1483de74177
Author: defacer <defacer>
Date:   Tue, 31 Aug 2004 21:31:00 +0800
Tag:    v1.4.0

Mike noticed that PHP_SELF was being used here. Replaced all instances with $ME.

commit a8e44ce43f1598d2cb638d752d220c14161ae560
Author: defacer <defacer>
Date:   Tue, 31 Aug 2004 20:46:15 +0800
Tag:    v1.5.0

Import haiku from MOODLE_14_STABLE

commit 9c0458b046db66a2aeb4cea588e03bc910623ad6
Author: defacer <defacer>
Date:   Tue, 31 Aug 2004 20:45:05 +0800
Tag:    v1.4.0

One typo and a glitch The developer fixes Lo! Bug-free Moodle!

commit fbf5081c4a63b2f5d161c085a47980865b5bb6fb
Author: defacer <defacer>
Date:   Tue, 31 Aug 2004 20:31:59 +0800
Tag:    v1.5.0

Merging changes from MOODLE_14_STABLE

commit 4ea496519ec6322d8ea9155ef9ac2c10470234cb
Author: defacer <defacer>
Date:   Tue, 31 Aug 2004 20:26:04 +0800
Tag:    v1.4.0

Fix for bug 1800:

commit c7756c734cedaac6b72b915a9e0abbaf86acb913
Author: defacer <defacer>
Date:   Tue, 31 Aug 2004 18:47:24 +0800
Tag:    v1.5.0

Merging changes from MOODLE_14_STABLE

commit c169db3b66c7a094e54c08834ef024eb9b4f7ff5
Author: defacer <defacer>
Date:   Tue, 31 Aug 2004 15:29:25 +0800
Tag:    v1.5.0

Merging latest blocks-related stuff from MOODLE_14_STABLE.

commit 7eda7f6cbd9fcac324281bb0e0084841e92f0059
Author: defacer <defacer>
Date:   Tue, 31 Aug 2004 14:56:44 +0800
Tag:    v1.4.0

Another one bites the dust, this one wasn't needed and noone had any objections about the array-based notation. RIP.

commit 4172b51f81e18b12aba62a38c2bc4b3bb351739e
Author: defacer <defacer>
Date:   Mon, 30 Aug 2004 19:55:36 +0800
Tag:    v1.4.0

Some improvements to the code that assigns sideblocks to new courses. Moved all "magic strings" to nice and tidy constants.

commit e749554efa94988095679bc669f1d07dd4336842
Author: defacer <defacer>
Date:   Mon, 30 Aug 2004 19:46:08 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE

commit 52f42b41fc90d76b0dd884ca356e0c7a588ce1e9
Author: defacer <defacer>
Date:   Mon, 30 Aug 2004 19:42:07 +0800
Tag:    v1.4.0

Bug 1848:

commit 9ed66e56b5ae268e78740f284866e45a4c2c245e
Author: defacer <defacer>
Date:   Mon, 30 Aug 2004 14:47:45 +0800
Tag:    v1.5.0

Switching to using the new SITEID constant.

commit be37cf962dc9eb93346d319a15a98adb3af94593
Author: defacer <defacer>
Date:   Sat, 28 Aug 2004 20:33:25 +0800
Tag:    v1.4.0

Candidate fix for bug 1808:

commit 09d36284d1f8ade220701330250ffaf8b8e2d4c1
Author: defacer <defacer>
Date:   Thu, 26 Aug 2004 18:52:00 +0800
Tag:    v1.5.0

Importing fixes from MOODLE_14_STABLE

commit 72d8255f7e255acf5c424652ba579173d3ae77e5
Author: defacer <defacer>
Date:   Thu, 26 Aug 2004 18:48:51 +0800
Tag:    v1.4.0

Fix for WHERE clauses in Postgres, submitted by Petri Asikainen.

commit 0469cccfe2c9a3266550bf24beb7bd3128b67bcc
Author: defacer <defacer>
Date:   Thu, 26 Aug 2004 18:44:32 +0800
Tag:    v1.5.0

Merging latest changes from MOODLE_14_STABLE

commit ca27c7f7348e7ac716fbd795480360b4d535effa
Author: defacer <defacer>
Date:   Thu, 26 Aug 2004 17:57:59 +0800
Tag:    v1.4.0

Small fixes and improvements.

commit ebc9be85c7e4ee21edb98334f1ce668a9c1515a0
Author: defacer <defacer>
Date:   Thu, 26 Aug 2004 16:48:15 +0800
Tag:    v1.4.0

1. Code restructuring 2. Small logic fixes (e.g. only delete chat_user records WHERE type='sockets') 3. More informative messages when rejecting connections for some reason 4. Better handling of updating chat_user records (lastping updated correctly) 5. Custom error handling, so that PHP errors show up in the trace()s

commit b98f22819e813487cd6a3c79b49d88fa7f23e62d
Author: defacer <defacer>
Date:   Thu, 26 Aug 2004 15:33:02 +0800
Tag:    v1.5.0

Mirroring the language update from the 1.4 branch yesterday.

commit e55474005b4c9a01aeb282ed39927c30f2e3a802
Author: defacer <defacer>
Date:   Wed, 25 Aug 2004 20:13:06 +0800
Tag:    v1.4.0

*** TRANSLATOR ALERT ***

commit e2b5964ee04480cfa16721b8d0d8d0312138aa10
Author: defacer <defacer>
Date:   Wed, 25 Aug 2004 19:00:27 +0800
Tag:    v1.5.0

Merging latest changes from MOODLE_14_STABLE.

commit 6e82cd4cd3b5ff771da34ef3cc3c45935bc66eae
Author: defacer <defacer>
Date:   Wed, 25 Aug 2004 18:57:43 +0800
Tag:    v1.4.0

Second part of changes. Doing this slowly to keep integrity between this branch and HEAD.

commit 96a391a5fd5708d8322675776e1ffd821fdf305c
Author: defacer <defacer>
Date:   Wed, 25 Aug 2004 18:52:56 +0800
Tag:    v1.5.0

Merging MOODLE_14_STABLE changes.

commit 6fb2f8230ec32f196c1edc29f599a6cd3c7ab1a2
Author: defacer <defacer>
Date:   Wed, 25 Aug 2004 18:46:34 +0800
Tag:    v1.5.0

Manually committing a copy from the 14_STABLE branch to sort out a tagging problem I talked with Gustav about yesterday.

commit 0b0d2241e30bcba76035b9aa7c7d54f4da02817a
Author: defacer <defacer>
Date:   Wed, 25 Aug 2004 18:45:13 +0800
Tag:    v1.4.0

Lots and lots of improvements! Foremost changes are: 1. The users window is now provided with BOTH JavaScript and HTTP refresh mechanisms 2. The daemon now reliably detects disconnected users even in the absence of chat    activity. Coupled with the fact that the "users in chats" lists are now manipulated    only by chatd, they have reached 100% accuracy. Even better than the "normal"    version, since you can leave your chat open (and idle) for as long as you want    _without_ being disconnected. 3. Better OOP.

commit 4b31fcf60834357a05a9c7d0f818516dc3efa115
Author: defacer <defacer>
Date:   Tue, 24 Aug 2004 22:29:00 +0800
Tag:    v1.4.0

Still better handling of console output, and starting to experiment with the new idea of "externally" refreshing the users window for reliability.

commit 3b905f1aabd880ce434810c99317525350c40aab
Author: defacer <defacer>
Date:   Tue, 24 Aug 2004 22:02:40 +0800
Tag:    v1.4.0

Adding ID attributes to the frames. Better than NAMEs, for one, and also I have a devious idea to vanquish user window dropouts once and for all...

commit f11d5ccb4fea5a657f7ccfc480c7d24db84d5939
Author: defacer <defacer>
Date:   Tue, 24 Aug 2004 21:58:01 +0800
Tag:    v1.4.0

Improvements in the way that STDOUT output is handled (turns out the constant exists in PHP >= 4.3 and it's not defined() at all).

commit d9e8ba0aa425b8d25be250976c65745571a78bed
Author: defacer <defacer>
Date:   Tue, 24 Aug 2004 20:44:33 +0800
Tag:    v1.4.0

Merging updates from MOODLE_14_STABLE

commit ec2f7345cd4a18a6f8df82578f1a9e79caf13cea
Author: defacer <defacer>
Date:   Tue, 24 Aug 2004 20:27:20 +0800
Tag:    v1.4.0

file block_course_summary.php was initially added on branch MOODLE_14_STABLE.

commit 27e4b1583e2d553084df6e325b21a721a16289fe
Author: defacer <defacer>
Date:   Tue, 24 Aug 2004 20:27:20 +0800
Tag:    v1.4.0

file block_section_links.php was initially added on branch MOODLE_14_STABLE.

commit e1ed54f3cb58827cf3eea17c374dd61c1f6ea36c
Author: defacer <defacer>
Date:   Tue, 24 Aug 2004 20:27:20 +0800
Tag:    v1.4.0

file block_social_activities.php was initially added on branch MOODLE_14_STABLE.

commit 7d84d8a3c0031cd76111e711d169e56352b6527e
Author: defacer <defacer>
Date:   Tue, 24 Aug 2004 20:27:20 +0800
Tag:    v1.4.0

file block_online_users.php was initially added on branch MOODLE_14_STABLE.

commit 199be95e919fca1d1812690e18d9a8e605bde0fb
Author: defacer <defacer>
Date:   Tue, 24 Aug 2004 20:27:20 +0800
Tag:    v1.4.0

file block_course_list.php was initially added on branch MOODLE_14_STABLE.

commit 7a89b30fac001b0fa55a2d03732adc9e367db599
Author: defacer <defacer>
Date:   Tue, 24 Aug 2004 20:27:20 +0800
Tag:    v1.4.0

I may not be as productive a translator as Koen, but the ? lines in my CVS updates were approaching the third page boundary! wink

commit d9bdf8cb96101636bee584b95c535ca87b1c996d
Author: defacer <defacer>
Date:   Tue, 24 Aug 2004 20:22:13 +0800
Tag:    v1.4.0

Brand new spiffy shining bright!

commit a8185f2e0019e8a9b68f7b256f30cbed73f0e380
Author: defacer <defacer>
Date:   Mon, 23 Aug 2004 23:42:53 +0800
Tag:    v1.4.0

Please deliver me from my own incompetence...

commit 695a4bff46bb69ef59dbf353667bbf80769d86de
Author: defacer <defacer>
Date:   Mon, 23 Aug 2004 23:35:08 +0800
Tag:    v1.4.0

Quirks-related fixes...

commit 5a60e8224941c0b31eba21e6b25f15ba2cd48114
Author: defacer <defacer>
Date:   Mon, 23 Aug 2004 23:25:18 +0800
Tag:    v1.4.0

Preliminary support for browser quirks, for now just targeting Safari

commit f0232c84fbb0e900831c42b3b65df17d69bd2f0c
Author: defacer <defacer>
Date:   Mon, 23 Aug 2004 23:03:26 +0800
Tag:    v1.4.0

More goodness! Goodness is on discount here in Greece! :P

commit 629b5885f7662a7eddf61ae1ca4c2ac23b803e88
Author: defacer <defacer>
Date:   Mon, 23 Aug 2004 21:18:39 +0800
Tag:    v1.4.0

Here buggy buggy...

commit 98051917e87b5a80ed2ced3e1367f5ee964daed8
Author: defacer <defacer>
Date:   Mon, 23 Aug 2004 20:16:29 +0800
Tag:    v1.4.0

There's a "parse error" report (http://moodle.org/mod/forum/discuss.php?d=11423) which I cannot reproduce in a flash, but maybe this should fix it? I just added some semicolons after the echoes and before the PHP closing tag.

commit 3430873206a45b5c7a6e0d1adb33cc60c7203553
Author: defacer <defacer>
Date:   Mon, 23 Aug 2004 16:48:57 +0800
Tag:    v1.4.0

Making chatd more eager to update the users' status, and lib.php slightly less eager to declare them dead. Should solve the "active users are not shown at the chat index page" problem.

commit 15a94ad9206a76dba3e293b1126810824a615af3
Author: defacer <defacer>
Date:   Mon, 23 Aug 2004 16:34:51 +0800
Tag:    v1.4.0

Attention to detail: this prevents generating a warning if $focus is not set. Of course, the warning is hidden inside JS and thus invisible to the naked eye.

commit 8f89658261eede50f50dcfc5c72e4033c82afb24
Author: defacer <defacer>
Date:   Mon, 23 Aug 2004 01:19:24 +0800
Tag:    v1.4.0

Fix for bug 1494:

commit 3599e4871f70f07edb5cce32a0140c2bd4cf0140
Author: defacer <defacer>
Date:   Mon, 23 Aug 2004 01:10:33 +0800
Tag:    v1.4.0

Fix for bug 1755:

commit 43c9195b846a2b2e4e47186fb7a9e010d54076ae
Author: defacer <defacer>
Date:   Mon, 23 Aug 2004 01:03:33 +0800
Tag:    v1.4.0

Fix for bug 1759:

commit 2b0d60ec78415b925b6a49d810667f6d6c10bcf3
Author: defacer <defacer>
Date:   Mon, 23 Aug 2004 00:54:48 +0800
Tag:    v1.4.0

Fix for bug 1662:

commit ac6c89c5b06576f48b0ebe7ebb755eb07af82e99
Author: defacer <defacer>
Date:   Mon, 23 Aug 2004 00:49:40 +0800
Tag:    v1.4.0

Fix for bug 1678:

commit 0e9af9179475545885c9954ca12e8a0717a5943c
Author: defacer <defacer>
Date:   Mon, 23 Aug 2004 00:48:28 +0800
Tag:    v1.4.0

Fix for bug 1678:

commit 6a3c93f484e3e30f6c6d23f36bc7d205947e839e
Author: defacer <defacer>
Date:   Sat, 21 Aug 2004 21:28:46 +0800
Tag:    v1.4.0

julmis' last commit contained garbage from a CVS merge conflict he obviously had, so I 'm removing them. Good thing they weren't mixed with deliberate changes!

commit edd3a5db7eb0f721c6e24c4afd4b752d105b80b3
Author: defacer <defacer>
Date:   Thu, 19 Aug 2004 16:34:21 +0800
Tag:    v1.4.0

When config.php cannot be written to disk, click the button to download it and save it yourself.

commit cd0e958ed3f2537afc4dd51d5aa4437f4200c6fd
Author: defacer <defacer>
Date:   Thu, 19 Aug 2004 16:12:28 +0800
Tag:    v1.4.0

CSS hack for the Prev/Next buttons so that hitting ENTER would take you to the next page. It works just fine! smile

commit fe78a3dc3033672a24e32caeddcd973d4fc9f6d6
Author: defacer <defacer>
Date:   Thu, 12 Aug 2004 15:17:46 +0800
Tag:    v1.4.0

Ooops! Silly mistake... NOW bug 1736 is fixed.

commit 0c9c6363bcb89ad6c7c2c6012ad92fcfd7ca8c71
Author: defacer <defacer>
Date:   Thu, 12 Aug 2004 15:09:18 +0800
Tag:    v1.4.0

Fix for bug 1736:

commit 5a5930372629c773c20681915c2e9845697b0798
Author: defacer <defacer>
Date:   Mon, 09 Aug 2004 16:51:47 +0800
Tag:    v1.4.0

This seems to improve the regexp filtering by solving some problems where it was killing unarmed population... hope it works "better" now!

commit fecb707db489a32eedad9dec3260a95dee0bf466
Author: defacer <defacer>
Date:   Mon, 09 Aug 2004 16:06:36 +0800
Tag:    v1.4.0

Fixes for twin notices, buried in the HTML.

commit 09794d30dba5684402b8483ef641577f14c76e38
Author: defacer <defacer>
Date:   Mon, 09 Aug 2004 16:01:40 +0800
Tag:    v1.4.0

Fix a notice buried in the HTML.

commit 9c81fc35a934b7c442d20d54957d539569c10fb6
Author: defacer <defacer>
Date:   Tue, 03 Aug 2004 15:34:03 +0800
Tag:    v1.4.0

Fix a couple of notices that I just... noticed smile

commit 2913fac6366050214a373e6c50a7412ac90b34bd
Author: defacer <defacer>
Date:   Wed, 21 Jul 2004 20:01:38 +0800
Tag:    v1.4.0

An improvement(?) in forum digest language handling.

commit e1c6dde15007d545164b6c8430191920def6c1be
Author: defacer <defacer>
Date:   Tue, 20 Jul 2004 20:39:19 +0800
Tag:    v1.4.0

This should make individual forum posts in digests be sorted in ascending postid (and thus, chronological) order. Strange thing is, it looks like being sorted as it is!

commit ef618501bb12e54dff00ea6b587bf6a044052daf
Author: defacer <defacer>
Date:   Fri, 09 Jul 2004 21:39:34 +0800
Tag:    v1.4.0

Fix for bug 1624:

commit d2b12fefd5d100c3e813aa2d49376ec726580d25
Author: defacer <defacer>
Date:   Fri, 02 Jul 2004 16:18:47 +0800
Tag:    v1.4.0

Fix for bug 1608: When editing the language, you can easily switch between the two views with a button.

commit 0d8a590a0b33ad2c2a3bd932a4916a21cfa0d270
Author: defacer <defacer>
Date:   Tue, 29 Jun 2004 15:01:34 +0800
Tag:    v1.4.0

Removed the noreply string from forum sender names.

commit a402bdcbdaf6793c62e6ffb0b1150eb1b49ca868
Author: defacer <defacer>
Date:   Fri, 25 Jun 2004 15:38:44 +0800
Tag:    v1.4.0

Minor fix in forum digests: The digest sender's name was that of the last poster in it. Now set to the site shortname.

commit f184e8311f8c07d4994298dd881de0d311e3618f
Author: defacer <defacer>
Date:   Fri, 25 Jun 2004 15:01:08 +0800
Tag:    v1.4.0

Improved error handling a bit.

commit b1bd2cf0c1ab78398716d1e7f8c255ca4c9146cc
Author: defacer <defacer>
Date:   Wed, 23 Jun 2004 17:53:23 +0800
Tag:    v1.4.0

Fix for bug 1527:

commit 1cbcc2c3d0fcdd839942b4f8c0e8ec8a89da08f7
Author: defacer <defacer>
Date:   Wed, 23 Jun 2004 17:43:00 +0800
Tag:    v1.4.0

Fix for bug 1528:

commit 33bee34c0b0fa389dbccaeb31c2bb87d7350cd66
Author: defacer <defacer>
Date:   Fri, 18 Jun 2004 20:25:27 +0800
Tag:    v1.4.0

Fix for bug #1555: Now the test for block constructors works under PHP 5.

commit 76416b4bacf35ee3ee42289bb68cd6322036f66f
Author: defacer <defacer>
Date:   Thu, 17 Jun 2004 16:21:09 +0800
Tag:    v1.4.0

Small fix: removed one notice

commit 7b38bfa6fd3ecbcd656c65d61fc64923379c6b87
Author: defacer <defacer>
Date:   Wed, 02 Jun 2004 19:21:14 +0800
Tag:    v1.4.0

More changes to time calculations. Now they are done as indeed the prophet Martin foresaw that they could be, that is simple and elegant. The previous solution did the job I guess, but it was based on a naive approach...

commit 9d567178e2f1ed6a8b6225c55f55569dc18952fa
Author: defacer <defacer>
Date:   Wed, 02 Jun 2004 17:15:07 +0800
Tag:    v1.4.0

Fixed a bug: up till now, day boundaries were calculated modulo 86400, which is correct only for GMT+0 timezones. Fixed it in upcoming events displays to separate days as they are in the user's timezone, will continue to pursue this.

commit 08cebf196e6ff5b89844920a2897cb02bff92c93
Author: defacer <defacer>
Date:   Wed, 02 Jun 2004 16:13:26 +0800
Tag:    v1.4.0

Fix all requires() to use absolute paths (Sun boxes have problems with relative paths, it seems). Also, login is required to view the calendar of any course other than the site.

commit 56b19c309e11e9ba462014a24625008759805bd5
Author: defacer <defacer>
Date:   Wed, 02 Jun 2004 16:03:05 +0800
Tag:    v1.3.1

Fix for an (apparently old but only recently discovered by me) issue from the forums where require_once() would fail to do the "once" part unless you use absolute pathnames.

commit f52f7413344c327aeb50de6493b57160882800e5
Author: defacer <defacer>
Date:   Tue, 01 Jun 2004 22:12:26 +0800
Tag:    v1.4.0

Fix for bug 1503: Things are now easier for visitors and guests. We should do some regression testing though: if you are a visitor or a guest and then you login (either after browsing the site or immediately by typing a Moodle URL in the location bar, without having a Moodle session at all), do user events always get shown correctly? Does anything abnormal happen to the courses filter?

commit df9e0f89e30678426cab98fb4564e50ed10eb44c
Author: defacer <defacer>
Date:   Tue, 01 Jun 2004 21:47:55 +0800
Tag:    v1.4.0

Fixes for bug 1485: Now the site has blocks by default. Also, block panel width is restricted even if there are no blocks to display.

commit 10e5d7c19be4a60efbc600808d0dfe9983e5e2ac
Author: defacer <defacer>
Date:   Tue, 01 Jun 2004 21:02:13 +0800
Tag:    v1.4.0

Corrected another silly mistake: extra comma before closing parenthesis.

commit 61ddaf3bcef06e9740e8f5449d3bbc885f92f7ce
Author: defacer <defacer>
Date:   Tue, 01 Jun 2004 20:02:13 +0800
Tag:    v1.4.0

Removed useless stuff

commit 4e60e777a31890338c8f55e9fe257c1190c9aa7f
Author: defacer <defacer>
Date:   Tue, 01 Jun 2004 18:45:12 +0800
Tag:    v1.4.0

As per Gustav's suggestion in bug 1507, changing the default behavior for blocks to make them available in the site page, too. Also, minor spelling correction.

commit 9cb8879b6bf94dac53684dda1dc923b31bad3484
Author: defacer <defacer>
Date:   Tue, 01 Jun 2004 18:40:20 +0800
Tag:    v1.4.0

Minor changes, Martin's fix for bugs 1502, 1184 (duplicated) confirmed.

commit d658167fb5ae186d805b7838f8a9a2802beb7b4d
Author: defacer <defacer>
Date:   Tue, 01 Jun 2004 18:10:25 +0800
Tag:    v1.4.0

Tiny fix for forum_cron() to suppress a warning.

commit aaf7a9dc9fff1a0d1dca96b4f2f577073614b00a
Author: defacer <defacer>
Date:   Tue, 01 Jun 2004 18:09:26 +0800
Tag:    v1.4.0

Email digest feature: Last and most important, the changes to forum_cron()

commit 57728105f684b86687e66a794466dbb1c1a8100d
Author: defacer <defacer>
Date:   Tue, 01 Jun 2004 15:59:35 +0800
Tag:    v1.4.0

Email digest feature: user setting

commit 5858f3196c9629067b4b9361a0cb828d4e1b5acb
Author: defacer <defacer>
Date:   Tue, 01 Jun 2004 15:51:47 +0800
Tag:    v1.4.0

Email digest feature: addition of admin setting

commit c9114c35e58da85b359079b342669c5c59ae4518
Author: defacer <defacer>
Date:   Tue, 01 Jun 2004 15:45:18 +0800
Tag:    v1.4.0

Fix for dumb error (extra comma)

commit 5bb8c192b13ae53673b15bbdc602a90aff6be0a4
Author: defacer <defacer>
Date:   Tue, 01 Jun 2004 15:39:27 +0800
Tag:    v1.4.0

Moving some stuff to forum/db where they belong... (sorry!)

commit 8d241374666391143f40cdd6c960214633ed9197
Author: defacer <defacer>
Date:   Tue, 01 Jun 2004 15:28:14 +0800
Tag:    v1.4.0

Email digest feature step 2: Slight additions to datalib queries, fixed warnings in html2text

commit cc21211e58c1321d8857e9bba74026f1a5bfe0d7
Author: defacer <defacer>
Date:   Tue, 01 Jun 2004 15:20:02 +0800
Tag:    v1.4.0

Email digest feature step 1: Database schema and upgrade

commit 22931cf410bd3c6efc4edf85d121046e71fe56b7
Author: defacer <defacer>
Date:   Fri, 28 May 2004 21:57:09 +0800
Tag:    v1.3.1

Bugfix: blocks with no content at all show up as shadows when editing.

commit 89adb17442815058ff107ae4778919c5417682ce
Author: defacer <defacer>
Date:   Fri, 28 May 2004 18:53:54 +0800
Tag:    v1.3.1

Merging the changes from 1.4 dev branch (site index blocks + various bugfixes)

commit 87722d4f2c2bfeac1cbdfa24dd4326294c8af6c5
Author: defacer <defacer>
Date:   Fri, 28 May 2004 18:48:59 +0800
Tag:    v1.3.1

A couple of new CSS rules to make the course summary block display the same as before.

commit b88f7004929792b314668c18b3df7a07d511faaf
Author: defacer <defacer>
Date:   Thu, 27 May 2004 22:16:27 +0800
Tag:    v1.3.1

Fixed a bug: blocks without db functions caused the upgrade process to become stuck.

commit 1b6734b95985c85f6e4f1be8c5203803df0df146
Author: defacer <defacer>
Date:   Thu, 27 May 2004 21:47:40 +0800
Tag:    v1.3.1

file block_site_main_menu.php was initially added on branch Moodle_14_dev.

commit 7bd1677c72716fbfbe162832a4c99e04f7c73f72
Author: defacer <defacer>
Date:   Wed, 26 May 2004 19:03:27 +0800
Tag:    v1.3.1

Fix for bug 1462:

commit 4153708fd96bd3574a3cc65ba4c0b83438283b41
Author: defacer <defacer>
Date:   Tue, 25 May 2004 18:01:41 +0800
Tag:    v1.3.1

If a block forgets to set the footer, we won't get a warning in debug mode.

commit 8147ca063880d43f3cad93bd3104cd570b83a56d
Author: defacer <defacer>
Date:   Tue, 25 May 2004 17:49:49 +0800
Tag:    v1.3.1

Fixing a harmless warning in debug mode.

commit d56d4e230f93b877d8f2f0da45760e96b47bc412
Author: defacer <defacer>
Date:   Mon, 24 May 2004 22:45:02 +0800
Tag:    v1.3.0

Some speed improvements for the calendar month blocks.

commit 43db620d225980292df503f7c2006fafd3d2ec68
Author: defacer <defacer>
Date:   Mon, 24 May 2004 22:25:04 +0800
Tag:    v1.3.0

Fixed stupid bug I put in a couple of hours ago.

commit c3553a553f6f7ddea890928027d9e0e162bfa421
Author: defacer <defacer>
Date:   Mon, 24 May 2004 22:20:32 +0800
Tag:    v1.3.0

Small bugfix: when entering the calendar with "on-the-fly" login, the breadcrumbs now display correctly. Even though there isn't normally any link that allows you to do this.

commit 11b0ffe898f07b3562355f93353c73559ac9a274
Author: defacer <defacer>
Date:   Mon, 24 May 2004 20:28:38 +0800
Tag:    v1.3.0

Adding event from day view defaults to that day for event start.

commit 0d5d9de2ba09d54ba4f6a29c13f85962d1dfcb71
Author: defacer <defacer>
Date:   Mon, 24 May 2004 20:23:08 +0800
Tag:    v1.3.0

Fixed a bug just introduced before in the event type selection screen.

commit eb15f829b6a7451c905a96df7eb32da1bfb163bb
Author: defacer <defacer>
Date:   Mon, 24 May 2004 20:12:41 +0800
Tag:    v1.3.0

The filters are back with a vengeance in event.php! Coupled with the breadcrumb course mirroring, everything works like a charm now! smile

commit 3756ef3d4886118ccf91cf63381be94f11675cd6
Author: defacer <defacer>
Date:   Mon, 24 May 2004 19:40:34 +0800
Tag:    v1.3.0

The course link in the breadcrumbs now mirrors the active course filter.

commit 8ccc9d060f2efb582e085cc193d40df2ead5d51d
Author: defacer <defacer>
Date:   Mon, 24 May 2004 19:16:06 +0800
Tag:    v1.3.0

The way this was written before, it produced a warning for unregistered extensions.

commit 2ef75eee2f4d639cdfef7fbcefaf4485e143af4b
Author: defacer <defacer>
Date:   Mon, 24 May 2004 19:10:00 +0800
Tag:    v1.3.0

Fixed a couple of warnings which happened if you accessed a course while not being logged in, during the redirection to login screen.

commit 2727648d55e63831a9bf19d953672b752178bcab
Author: defacer <defacer>
Date:   Mon, 24 May 2004 18:54:52 +0800
Tag:    v1.3.0

Gotcha! The event time in day view didn't respect the user's time format preference. Now it does.

commit fbb56b9db755be8b542826841b2db9687377746f
Author: defacer <defacer>
Date:   Mon, 24 May 2004 18:49:01 +0800
Tag:    v1.3.0

Fixed a bug where editing an event did display the "duration in minutes" stuff, but totally ignored it when submitting changes. Also, fixed one warning in the "minutes" field.

commit a2e1ee6d928fa3c052a300a628215d244be5ad12
Author: defacer <defacer>
Date:   Mon, 24 May 2004 18:38:16 +0800
Tag:    v1.3.0

Bump

commit c635dcda6c75a20bf3bf7e4008de953297951f4e
Author: defacer <defacer>
Date:   Mon, 24 May 2004 18:35:43 +0800
Tag:    v1.3.0

Fix for bug 1451: Now when moving to a calendar screen (technically, view.php) from a course block, the course drop down list defaults to that course. The implementation is OK, but I may change it (there is a faster way).

commit e9584ca3e293fc1902eda9094da904ed9d7d726d
Author: defacer <defacer>
Date:   Mon, 24 May 2004 18:04:59 +0800
Tag:    v1.3.0

Fix for bug 1453: Automatic "Re:" prefixes in forum replies now don't get chained in languages where the "re:" string has length != 3.

commit 40448bc24d0bde274fa413841f58fca2f939d0e3
Author: defacer <defacer>
Date:   Mon, 24 May 2004 17:52:57 +0800
Tag:    v1.3.0

Removed some notices with uninitialized variables when adding a new event.

commit 227bc46b519d4bb5a0d6c2e8cc8811153d999387
Author: defacer <defacer>
Date:   Mon, 24 May 2004 17:20:01 +0800
Tag:    v1.3.0

Preliminary fix for bug 1451 (needs some more work). Also a couple of notices removed.

commit 515e49edfb30297f1348bb29f7a5bc416ac22c9d
Author: defacer <defacer>
Date:   Fri, 21 May 2004 21:52:32 +0800
Tag:    v1.3.0

Removed obsolete strings

commit f10f1b7bdcf7ab3fdb8863b867a45e2676ae39c3
Author: defacer <defacer>
Date:   Fri, 21 May 2004 21:51:02 +0800
Tag:    v1.3.0

* Removed one obsolete function * Changed the expired events' color to dimmed * Added "new event" button in upcoming events screen * Small improvement (more robust) in redirection from set.php to upcoming events

commit f5e99d07a0fbd95e25615dadc3a170bac4961228
Author: defacer <defacer>
Date:   Fri, 21 May 2004 21:47:15 +0800
Tag:    v1.3.0

Removed obsolete class

commit ab9f24ad00ca62888ed5859eaef1864be9d068c4
Author: defacer <defacer>
Date:   Fri, 21 May 2004 21:07:11 +0800
Tag:    v1.3.0

Small fix (added method attribute to form) and some comments for the future

commit 8792061c5582a0d950861d606dc9af29623dd7d1
Author: defacer <defacer>
Date:   Fri, 21 May 2004 21:03:59 +0800
Tag:    v1.3.0

Modified to use popup_form() instead of custom code

commit dfad5bde309ea001cc32340a460ab07da2588241
Author: defacer <defacer>
Date:   Fri, 21 May 2004 20:28:42 +0800
Tag:    v1.3.0

Different icons for different event types, shamelessly stolen from moodle.org

commit 09462fcadc8710999b1b65ec153a4b09c84501a0
Author: defacer <defacer>
Date:   Fri, 21 May 2004 20:03:06 +0800
Tag:    v1.3.0

Small polishing change: the "go to calendar" link takes you to the upcoming events screen.

commit 4c479acb6ceef8c4b0b1ee088fbb01e28e333cfe
Author: defacer <defacer>
Date:   Fri, 21 May 2004 19:25:56 +0800
Tag:    v1.3.0

Bump

commit f434283f4fc37cd5722268981b98d354e566e5d5
Author: defacer <defacer>
Date:   Fri, 21 May 2004 19:24:22 +0800
Tag:    v1.3.0

Bye bye event details view...

commit 0784eb7ef1aab7b1955d64e2f9a5be45334c91e1
Author: defacer <defacer>
Date:   Fri, 21 May 2004 19:06:49 +0800
Tag:    v1.3.0

Now we can get a list of the blocks being on display in the course page. Could be used by one block to detect the existence of another, for example.

commit c5507e52f4228eaee27bdd00da03651699061dab
Author: defacer <defacer>
Date:   Fri, 21 May 2004 18:59:40 +0800
Tag:    v1.3.0

Small addition for the future: blocks will be able to define their own HTML attributes.

commit 34bf3ad4f37d953ad380717ad4319df1f4962dd5
Author: defacer <defacer>
Date:   Fri, 21 May 2004 18:54:46 +0800
Tag:    v1.3.0

Lots of usability improvements and some bugfixes:

commit 9a2ba13e51371f549e024d771c2fbc67b0c19765
Author: defacer <defacer>
Date:   Thu, 20 May 2004 23:36:20 +0800
Tag:    v1.3.0

One more bugfix introduced just now: enabling course events shouldn't enable site events, too.

commit f26c1535b6de6fc251c0ce25a7274e9319468e9e
Author: defacer <defacer>
Date:   Thu, 20 May 2004 23:29:01 +0800
Tag:    v1.3.0

One new string for the calendar, used in the latest changes.

commit 43c3ffbe2207afed3260097fd22f9ef3ebf40fa2
Author: defacer <defacer>
Date:   Thu, 20 May 2004 23:16:42 +0800
Tag:    v1.3.0

Major calendar overhaul:

commit e1ce345e40491822aa16cb53ca0384bd18dd5295
Author: defacer <defacer>
Date:   Thu, 20 May 2004 18:02:49 +0800
Tag:    v1.3.0

Fix for bugs 1423, 1424 (duplicated):

commit 250712fd7fb3e49cc59c65f5cf0950b2001dca45
Author: defacer <defacer>
Date:   Thu, 20 May 2004 17:58:14 +0800
Tag:    v1.3.0

Minor modification to the way the course event filter works (same functionality but more robust now).

commit 4e17c6f39e31df56ab3a81e94f0b86167f1741bb
Author: defacer <defacer>
Date:   Tue, 18 May 2004 15:51:46 +0800
Tag:    v1.3.0

Fix for bug 1416:

commit 65b0e53770a7ce1a6f28fa52e8e6ff9fa3fe70f0
Author: defacer <defacer>
Date:   Mon, 17 May 2004 17:31:06 +0800
Tag:    v1.3.0

Fix for bug 1194:

commit b1bcd540f03c4b7f5cfe62d06ad389cc47a959b5
Author: defacer <defacer>
Date:   Mon, 17 May 2004 17:07:05 +0800
Tag:    v1.3.0

Fix for bug 1323: When the admin is logged in as a different user, user events are shown correctly in the calendar.

commit b1295c5e21fb416f2d169c402b7d6f94cbc8e474
Author: defacer <defacer>
Date:   Mon, 17 May 2004 16:54:23 +0800
Tag:    v1.3.0

Random refinements.

commit 4131f3743fb4d2c3636bce3820756846cbe63bff
Author: defacer <defacer>
Date:   Mon, 17 May 2004 15:31:54 +0800
Tag:    v1.3.0

Fix for bug 1395:

commit f36e581d60ec4f9e42884783b9862c1566972420
Author: defacer <defacer>
Date:   Fri, 14 May 2004 22:15:24 +0800
Tag:    v1.3.0

Fix for bug 1330:

commit e4bbaab3c3a81e57fe22a7c7697057caa90da9e8
Author: defacer <defacer>
Date:   Fri, 14 May 2004 21:49:42 +0800
Tag:    v1.3.0

Half the work done for bug 1330: Now when creating events you don't select a course, the current course is selected implicitly.

commit 8c54cec6508b26858e9dafbc484da822a24af7a7
Author: defacer <defacer>
Date:   Fri, 14 May 2004 21:39:29 +0800
Tag:    v1.3.0

Month view: NOW it's working as I wanted it to. But is that as it should work?

commit 9ff136e50382069d498f63956ecee04cc2087188
Author: defacer <defacer>
Date:   Fri, 14 May 2004 20:48:50 +0800
Tag:    v1.3.0

Behavior change, according to Gustav's remarks on the forums. Events from courses other than the one you are browsing are not displayed in the month views or as upcoming events, except only if you explicitly do it in the full month view. However, if you manually go to a day with such an event and get a day view, you will see the event. Should I find a way to hide that too?

commit 1bb9d624c499c32618e5b6f5d5349a9fa27d6845
Author: defacer <defacer>
Date:   Fri, 14 May 2004 15:34:10 +0800
Tag:    v1.3.0

Fix for bug 1354:

commit ef3ae69ebd13d826f23172f2e865768ee53e65c4
Author: defacer <defacer>
Date:   Fri, 14 May 2004 15:11:48 +0800
Tag:    v1.3.0

Martin pointed out that only editing teachers get to see all the groups.

commit a8ae6b3923510940f46cb380630b03a2021c9be9
Author: defacer <defacer>
Date:   Thu, 13 May 2004 20:24:11 +0800
Tag:    v1.3.0

Removed the "hardcoded" method to find the block name, the correct is to ask the block itself. It was causing errors for blocks with no lang file. Also, removed some useless commented code.

commit 6c9584d1e55c7f76f5135ddc52eb1f73b7a00c25
Author: defacer <defacer>
Date:   Thu, 13 May 2004 18:32:12 +0800
Tag:    v1.3.0

Addressing bug 1384:

commit bc1728752a7cc65efc5a2cffab9fdf960c0c8f69
Author: defacer <defacer>
Date:   Wed, 12 May 2004 20:39:59 +0800
Tag:    v1.3.0

Added a colon here, instead of the language strings.

commit a6009112571b1714a27266e22736d7ff9084272f
Author: defacer <defacer>
Date:   Wed, 12 May 2004 20:28:16 +0800
Tag:    v1.3.0

English: added CVS $Id$ and moved a semicolon to the event edit form Greek: added $Id$, and some strings that were missing

commit d4950608dd8a60005afca05e7bb4c51065311ea6
Author: defacer <defacer>
Date:   Wed, 12 May 2004 15:33:06 +0800
Tag:    v1.3.0

Update, better and simpler handling.

commit 828c4e095a6a95734627a5a415e2464122838c4d
Author: defacer <defacer>
Date:   Wed, 12 May 2004 00:08:03 +0800
Tag:    v1.3.0

Preparation for Nuke blocks integration, and relaxing of requirements for block db upgrade scripts. We 're getting to a point where you can really have a directory with just a single 20-line file for your block and Moodle will do all the rest. Much like Nuke does now. That is A Good Thing! smile

commit f7656746120632e62c005127a8fdb187f4cd9487
Author: defacer <defacer>
Date:   Tue, 11 May 2004 18:36:35 +0800
Tag:    v1.3.0

Fix for bug 1365 (supplementary):

commit 00341feafbfe95658f734155d2579c962b92502a
Author: defacer <defacer>
Date:   Tue, 11 May 2004 15:20:44 +0800
Tag:    v1.3.0

Fix for bug 1365:

commit dab9f47075503e409c60ea219e14fdffb32de333
Author: defacer <defacer>
Date:   Tue, 11 May 2004 15:01:17 +0800
Tag:    v1.3.0

Fix for bug 1363:

commit acc61dc4498d993a442477b125e1cd0894685964
Author: defacer <defacer>
Date:   Tue, 11 May 2004 00:29:20 +0800
Tag:    v1.3.0

Added small links for the monthly calendar and adding a new event at the bottom of the block, as discussed in the forums.

commit f319962d8a00772167c84db68d614fdaa871eae3
Author: defacer <defacer>
Date:   Mon, 10 May 2004 16:35:03 +0800
Tag:    v1.3.0

Fix for bug 1354:

commit 33683b3655e91c5d1d2521242958277a594545db
Author: defacer <defacer>
Date:   Sat, 08 May 2004 21:35:11 +0800
Tag:    v1.3.0

Fix for bug 1334:

commit 61854a2fff9fde7d6a5b4ba4c53ea78b01055655
Author: defacer <defacer>
Date:   Fri, 07 May 2004 18:46:34 +0800
Tag:    v1.3.0

Eloy discovered this little bug hiding under the rug. Even though this code is not used at all right now, it was wrong and would need to be fixed when we have calendars for the site front page.

commit bacafa1ca9e0ec5c7523bb360abcdc977d422f00
Author: defacer <defacer>
Date:   Fri, 07 May 2004 18:42:11 +0800
Tag:    v1.3.0

Modified the behavior of upcoming events block to be the same as month block, even though there is no way to go from it to the detailed month view right now.

commit 51f8a12f2832517b88942f029b0dd953e70104a3
Author: defacer <defacer>
Date:   Fri, 07 May 2004 18:39:30 +0800
Tag:    v1.3.0

Fix for bug 1321:

commit bd1195678c47e40e7bb3ada783419d9436af2b93
Author: defacer <defacer>
Date:   Fri, 07 May 2004 18:15:10 +0800
Tag:    v1.3.0

Fix for bug 1320:

commit d715f7c4c0645bd3ebc33c60ced70064282ff420
Author: defacer <defacer>
Date:   Thu, 06 May 2004 15:45:10 +0800
Tag:    v1.3.0

Fix for 3-month pane event filters, now you don't get a "missing required parameter" error when you click on them. Reported by Ger Tielemans in the forums.

commit e70fdac090b9ccd5ff3447f8c894050574b17bff
Author: defacer <defacer>
Date:   Mon, 03 May 2004 23:26:55 +0800
Tag:    v1.3.0

L10n fixes and a bug fix... at least I _hope_ they were fixes...

commit aa870ca24ab3973b5bc3227e3a7ff9b4ed38d517
Author: defacer <defacer>
Date:   Mon, 03 May 2004 22:07:35 +0800
Tag:    v1.3.0

Some l10n problems fixed.

commit 6e8e8ec68540b5ea44a5eefb661c9c20e9c95849
Author: defacer <defacer>
Date:   Fri, 30 Apr 2004 16:59:04 +0800
Tag:    v1.3.0

Fix to display correctly formatted dates in some cases where they were not being localized as they should. Also, small cosmetic addition of a space between words in the date representation (I had missed it).

commit a322925858b1f693e9ea0b4af9ee343f4a6bcca2
Author: defacer <defacer>
Date:   Fri, 30 Apr 2004 16:48:39 +0800
Tag:    v1.3.0

New strftime string for use by the calendar: Month Year.

commit 47a2aa48daa8f42978073688f120d0505b7cd261
Author: defacer <defacer>
Date:   Thu, 29 Apr 2004 18:29:48 +0800
Tag:    v1.3.0

Fix for bug #1280: the "showrecent" course setting has to go.

commit 7a8bcd59e841ebdeb59c611c487ec7732831543f
Author: defacer <defacer>
Date:   Thu, 29 Apr 2004 18:29:23 +0800
Tag:    v1.3.0

Fix for bug #1280: the "showrecent" course setting has to go.

commit 9ac503147c2e62d122c2afeadede4590462ec290
Author: defacer <defacer>
Date:   Thu, 29 Apr 2004 18:28:58 +0800
Tag:    v1.3.0

Fix for bug #1280: the "showrecent" course setting has to go.

commit 10ee08cc65df3d1777760e13313e6518ca2636a0
Author: defacer <defacer>
Date:   Thu, 29 Apr 2004 18:28:19 +0800
Tag:    v1.3.0

Fix for bug #1280: the "showrecent" course setting has to go.

commit 0ef7c97344895ec998dc4dd51f2e10547a230aa3
Author: defacer <defacer>
Date:   Thu, 29 Apr 2004 15:50:12 +0800
Tag:    v1.3.0

Small change to better respect the lang file date settings. Should be objectively "better" now. See http://moodle.org/mod/forum/discuss.php?d=7450 for the issue.

commit 7a4d9aa83dc2d93c1f148055e5d411e567d32f29
Author: defacer <defacer>
Date:   Wed, 28 Apr 2004 23:28:32 +0800
Tag:    v1.3.0

New FREE Unicode TTF with Greek (and other languages, too).

commit 89ace597518b737e158cbbedd635a18f90e8990f
Author: defacer <defacer>
Date:   Wed, 28 Apr 2004 23:21:38 +0800
Tag:    v1.3.0

Fixed my own stupidities...

commit df8d70ae6f641a64ea80084d9053e9ce17d0f0ba
Author: defacer <defacer>
Date:   Wed, 28 Apr 2004 23:02:21 +0800
Tag:    v1.3.0

Dubious legally... so removed.

commit ef3b39b7917c1b041ac380c7249c68cf17c38f37
Author: defacer <defacer>
Date:   Wed, 28 Apr 2004 18:20:30 +0800
Tag:    v1.3.0

There are serious problems with event.php and mini-calendars, mainly because we don't have much information about courses at that stage. Started to fix things up, but there is still work to be done.

commit 6e245258d24594e1421c16b17b5022e349714ba1
Author: defacer <defacer>
Date:   Wed, 28 Apr 2004 17:46:56 +0800
Tag:    v1.3.0

Changed a few visuals, mainly colors to better distinguish among event types. It's probably better this way.

commit 93c2cbcff18b43aa265d3e0f04973a3a48cdb688
Author: defacer <defacer>
Date:   Wed, 28 Apr 2004 00:32:50 +0800
Tag:    v1.3.0

OpenType Unicode font with Greek support (Arial) plus lang_decode.php so that we can have graphs with greek legends.

commit 9159b0fed6b76aca15ff2fbab5ae27b39494872f
Author: defacer <defacer>
Date:   Mon, 26 Apr 2004 18:44:16 +0800
Tag:    v1.3.0

Fixed bug reported by John Ryan (http://moodle.org/mod/forum/discuss.php?d=7347) which caused group events to not display under any circumstances.

commit 46fec6a3f986d985320d038bf394dd2cbe11f6a4
Author: defacer <defacer>
Date:   Mon, 26 Apr 2004 17:31:02 +0800
Tag:    v1.3.0

Well, this is a bug FIX at least! smile All teachers showed up as having editing rights... corrected now.

commit ce557a6eaca7acb5270c058d3ba04127bdcd1a2e
Author: defacer <defacer>
Date:   Mon, 26 Apr 2004 17:28:28 +0800
Tag:    v1.3.0

Rollback the previous change: I introduced a bug by mistake! :/ But the system is a bit... strange... shouldn't the "editing mode" flag be propagated in the session variables or something? It confused me having to click "Edit" a second time after I 'd just clicked it in the course view.

commit dfd479fd67276874d4af39855cbd3579f33c303c
Author: defacer <defacer>
Date:   Mon, 26 Apr 2004 17:20:41 +0800
Tag:    v1.3.0

Fixed an unset property warning if you are an editing teacher but no edit variable is set in the URL.

commit 381b379798865832cf82e723d5ae270f071077c6
Author: defacer <defacer>
Date:   Mon, 26 Apr 2004 17:03:40 +0800
Tag:    v1.3.0

Removed obsolete function from pre-OO days.

commit 1b0ebe79b1b3370ed7644594ec8a5280f6b054c3
Author: defacer <defacer>
Date:   Thu, 22 Apr 2004 17:02:23 +0800
Tag:    v1.3.0

Addressing bug 1257:

commit c867774d763c2887062f3822a2fb8dcbf164f50f
Author: defacer <defacer>
Date:   Thu, 22 Apr 2004 15:11:55 +0800
Tag:    v1.3.0

Changed the way the fix for bug 1255 works, while making sure it still works smile It just didn't feel right to intrusively set object properties from "outside", and since it's now one variable assignment less, I thought why not... smile

commit 95a892257c89eb089bbe079784c4ec6bd2e99d95
Author: defacer <defacer>
Date:   Tue, 20 Apr 2004 21:00:39 +0800
Tag:    v1.3.0

Corrected a bug that prevented admins from seeing events for ALL site courses (today's functionality was not complete yet).

commit 053c98cff976a818279abcbf188b6be1d81886ce
Author: defacer <defacer>
Date:   Tue, 20 Apr 2004 20:49:02 +0800
Tag:    v1.3.0

Fixed a whole bunch of warnings and minor bugs, which all shared a common cause: The preferences screens weren't handling filter changes correctly.

commit 562727705f683463df8a2d35e5aa7393efc8be63
Author: defacer <defacer>
Date:   Tue, 20 Apr 2004 20:14:57 +0800
Tag:    v1.3.0

Upgrade with more intelligent CSS rules. Maybe needs some color changes, but I 'm not really much of an interior decorator... smile

commit 9087d5e2192d47e8d9eae3eacee522ceed5ecdf8
Author: defacer <defacer>
Date:   Tue, 20 Apr 2004 20:03:20 +0800
Tag:    v1.3.0

Upgrade with more intelligent CSS rules. This one needed color changes.

commit ec1a875cbb07818043e8f22403ba522ea5e00550
Author: defacer <defacer>
Date:   Tue, 20 Apr 2004 19:57:41 +0800
Tag:    v1.3.0

Upgrade with more intelligent CSS rules. I tried very hard not to undo any of Andrea's changes. Took a couple of guesses along the way. Sorry if I guessed wrong!

commit 65660de888e02622d4c833c1e8498e764b29eb46
Author: defacer <defacer>
Date:   Tue, 20 Apr 2004 19:41:18 +0800
Tag:    v1.3.0

Upgrade with more intelligent CSS rules. Maybe needs some color changes, but I 'm not really much of an interior decorator... smile

commit 66c785e1a50ea5bbc161973b6ba3a9b907a5ba97
Author: defacer <defacer>
Date:   Tue, 20 Apr 2004 19:18:35 +0800
Tag:    v1.3.0

Upgrade with more intelligent CSS rules. Looks like no calendar colors need to be changed from standard.

commit 496659193fcda66b798befc29b34b23220844c63
Author: defacer <defacer>
Date:   Tue, 20 Apr 2004 19:17:31 +0800
Tag:    v1.3.0

Upgrade with more intelligent CSS rules.

commit 92668ad2e504ddc0cd0246f0a2cd581b3d1e9f04
Author: defacer <defacer>
Date:   Tue, 20 Apr 2004 19:14:55 +0800
Tag:    v1.3.0

Revision of the calendar tables HTML. Current version outputs a LOT less HTML (mainly class attributes) but requires ALL themes to update their CSS rules.

commit 2b7591ccbc891b13a2e969a6a01d5ba9bfc149fe
Author: defacer <defacer>
Date:   Tue, 20 Apr 2004 17:27:59 +0800
Tag:    v1.3.0

Fixed an "unset variable" warning in the filter controls in the upcoming events calendar screen.

commit 1f695119c525c6837fc5d1b59f71199f20cfbaa2
Author: defacer <defacer>
Date:   Tue, 20 Apr 2004 17:21:30 +0800
Tag:    v1.3.0

Admins can now filter events by course and set events for groups and courses regardless of whether they are course members.

commit 6c127628a7d14318dc7f7ce3b7e36f0a9fa11b30
Author: defacer <defacer>
Date:   Tue, 20 Apr 2004 16:44:06 +0800
Tag:    v1.3.0

Removed some long-dead code and commented out some newly-dead code, now that we have the blocks system. Making the file parse faster... yum! smile

commit d7baeddac5532c222661dc09f0f94bfdb1730f61
Author: defacer <defacer>
Date:   Tue, 20 Apr 2004 16:38:56 +0800
Tag:    v1.3.0

Grand Bugslayer Eloy at work again: Hiding the blocks if they have no content should mean "if they have no content AND no footer".

commit 48f508ab94191f5424dbeb59db268716693ac976
Author: defacer <defacer>
Date:   Tue, 20 Apr 2004 16:24:37 +0800
Tag:    v1.3.0

If group mode is no groups and forced, there is no point in displaying the group events filter. Just a nice touch, fixed only in course view for now.

commit ca319818fc7be7a011895c17cc0d7a77f7d2e41a
Author: defacer <defacer>
Date:   Tue, 20 Apr 2004 15:43:26 +0800
Tag:    v1.3.0

Don't display blocks that have no content at all. I 'm not sure if this could cause any confusion, but it solves the problem with the admin block being displayed to guests.

commit 82b181f2654c8f9e4b69c96bcdc260d5d771fc04
Author: defacer <defacer>
Date:   Tue, 20 Apr 2004 15:32:57 +0800
Tag:    v1.3.0

Eloy is probably right, the preferred width calculation should be cached.

commit 6757c3cdc63c3a148c0fc82eae9003bea933ca63
Author: defacer <defacer>
Date:   Mon, 19 Apr 2004 17:36:07 +0800
Tag:    v1.3.0

Added content "caching", same as all other blocks have.

commit 59d2a75d99ef4e2ec3bc33bb5af0bf5c4167f6e1
Author: defacer <defacer>
Date:   Mon, 19 Apr 2004 15:39:43 +0800
Tag:    v1.3.0

Fixed/added some things so that the instructions are mostly correct.

commit 46971293dc63e57001ea34aa7c7d98ee83a30889
Author: defacer <defacer>
Date:   Wed, 14 Apr 2004 22:13:22 +0800
Tag:    v1.3.0

1. Wrong translation of the word "by" in this context 2. Translated $a member variables! God help us! (no wonder eval() complained)

commit 00e651d1c1da3d9bcfe0bcea23e5ca89bd3b9e50
Author: defacer <defacer>
Date:   Tue, 13 Apr 2004 20:19:33 +0800
Tag:    v1.3.0

Added a new string for use in the upcoming events block.

commit 73341343a6e04da35aaf703bf42eec40893a26aa
Author: defacer <defacer>
Date:   Tue, 06 Apr 2004 22:01:43 +0800
Tag:    v1.3.0

Corrected an oversight: the id variable isn't needed on the front page. (Or so I think... brain's a bit moodled right now... ;)

commit 2b10fcf5a8d81dd9c1b370233c128464b7f418fc
Author: defacer <defacer>
Date:   Thu, 01 Apr 2004 20:51:24 +0800
Tag:    v1.3.0

Following Eloy's suggestion and Martin's clarification, the wizard is going to demonstrate a feat where 10 lines of code turn into 2, and a global var dependency vanishes at the same time! ;)

commit f30fe8d0635d10e8d186714729601dbab8a384ae
Author: defacer <defacer>
Date:   Thu, 01 Apr 2004 20:27:37 +0800
Tag:    v1.3.0

As per Martin's suggestion:

commit f3d142dae401d34c0b56dfa8c8833d4884a68f14
Author: defacer <defacer>
Date:   Thu, 01 Apr 2004 19:29:25 +0800
Tag:    v1.3.0

Fix for the fix: Turns out that next() returns false if an array element's value is 0 (the php docs speak only about the key... :/). Good thing that my test user's timezone is set to GMT+0. This should work no matter what.

commit 556596510a7c4e7aa97e3b3c9d3d96ff08d4c3cf
Author: defacer <defacer>
Date:   Thu, 01 Apr 2004 18:59:46 +0800
Tag:    v1.3.0

The check for setting event dates before the course start date was written incorrectly. What was I thinking?

commit a36166d3274117a965dacb61cfaa2df5b0b09110
Author: defacer <defacer>
Date:   Thu, 01 Apr 2004 18:39:06 +0800
Tag:    v1.3.0

The timezone selection didn't work correctly... if there WAS a $USER->timezone set but it was set to 99, it didn't check the $CFG->timezone setting. Fixed now. Fancy implementation, forgive me please! ;)

commit d8ba183c393af99f503da881eb72fac2c991b00a
Author: defacer <defacer>
Date:   Thu, 01 Apr 2004 18:11:20 +0800
Tag:    v1.3.0

Checking for the $CFG->timezone value as a last resort in the various user date/time functions didn't work because there was no global $CFG; :O

commit 516a684ad7de69f495bc91ee4e709f2ff5c45d26
Author: defacer <defacer>
Date:   Thu, 01 Apr 2004 17:27:23 +0800
Tag:    v1.3.0

In Eloy's notice-finding spirit, I continue by fixing another notice which also (damnation! smile caused the HRs not to be displayed as they should.

commit f80c8e0f5288bcf5a2032eb20fc5c5e4ef4715e8
Author: defacer <defacer>
Date:   Thu, 01 Apr 2004 17:08:23 +0800
Tag:    v1.3.0

Eloy's finding: The name and description fields were not initialized when going into the "new event" form, so they printed warnings INSIDE the fields with error_reporting(E_ALL). Added initialization as empty strings.

commit 93db786cdc362b9d134f1e935a6406a22b899dfb
Author: defacer <defacer>
Date:   Thu, 01 Apr 2004 16:58:29 +0800
Tag:    v1.3.0

Eloy's finding: If the user is not a teacher or a student anywhere, this caused an SQL error. It was handled correctly, but why an SQL query at all if we can optimize it away?

commit 3696526bf3f37adf09dd208a9e3a3f9572bb9788
Author: defacer <defacer>
Date:   Thu, 01 Apr 2004 16:52:34 +0800
Tag:    v1.3.0

Eloy's finding: fixed three 'undeclared variable' notices. Leftovers from cutting and pasting code, I just deleted them.

commit efc81294ebe08d3a557eac333c30b416f8ecf9ec
Author: defacer <defacer>
Date:   Thu, 01 Apr 2004 16:45:38 +0800
Tag:    v1.3.0

Eloy's finding: Unset $string['default'] variable fixed.

commit ed151929e3ad616369e8632e211bfbbaa9a76e16
Author: defacer <defacer>
Date:   Wed, 31 Mar 2004 15:18:32 +0800
Tag:    v1.3.0

Modified handling of the first day of the week to default to the "firstdayofweek" language string value, according to Eloy's suggestion. Thanks for the tip! smile