Git commits in Moodle 1.5.x by defacer

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

Fix for bug 4627:

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 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 482bad4e8b861849e9697a1cafe8b7fedafeb5f7
Author: defacer <defacer>
Date:   Sat, 26 Nov 2005 09:01:56 +0800
Tag:    v1.5.4

Merging from HEAD:

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 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 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 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 8b68aaf1f6e1447fb910fdcda2d9c3c97644b461
Author: defacer <defacer>
Date:   Wed, 26 Oct 2005 21:49:06 +0800
Tag:    v1.5.3

Merging from HEAD:

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

Merging from HEAD:

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

Merging from HEAD:

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

Merging from HEAD:

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

Fix for bug 4127:

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

Fix for bug 4143:

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

Merging from HEAD:

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

Merging from HEAD:

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

Merging from HEAD:

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

Two things:

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

Fix for bug 3793:

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 18e4e2d5c724a2888daac7a3d958b48e08f4a9b0
Author: defacer <defacer>
Date:   Thu, 21 Jul 2005 01:22:13 +0800
Tag:    v1.5.3

Fix for bug 3637:

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 df1cbe9f48de0e83f2f21ff5dd8df970742b2449
Author: defacer <defacer>
Date:   Fri, 08 Jul 2005 11:50:30 +0800
Tag:    v1.5.2

Three improvements:

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 dca2e99977f212a0867ce87c1ff99d7710046699
Author: defacer <defacer>
Date:   Wed, 06 Jul 2005 08:35:37 +0800
Tag:    v1.5.1

Fix for bug 3616:

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 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 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 9b8a8597818508f9e638b4ae458f35b2b9a251d2
Author: defacer <defacer>
Date:   Wed, 15 Jun 2005 04:32:40 +0800
Tag:    v1.5.1

Fix for bug 3510:

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 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 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 230783ba85aac3bb59cf69f7131ab90239804cf3
Author: defacer <defacer>
Date:   Mon, 13 Jun 2005 10:35:38 +0800
Tag:    v1.5.1

While researching bug 3478:

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

Fix for bug 2925:

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 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 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 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 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 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 4fd2dff9fe7d6af037e96096c7e826e128bd6478
Author: defacer <defacer>
Date:   Sat, 04 Jun 2005 07:19:12 +0800
Tag:    v1.5.0

A big big big patch:

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 bb25fc1bcaa445399b9f271eff3dde30432959e4
Author: defacer <defacer>
Date:   Mon, 30 May 2005 21:31:44 +0800
Tag:    v1.5.0

Fix for bug 3364:

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 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 4ac7b06a76bad577932fc769f13b2bcf86d21c10
Author: defacer <defacer>
Date:   Sun, 29 May 2005 02:36:01 +0800
Tag:    v1.5.0

Revisited blocks administration page!

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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 a8e44ce43f1598d2cb638d752d220c14161ae560
Author: defacer <defacer>
Date:   Tue, 31 Aug 2004 20:46:15 +0800
Tag:    v1.5.0

Import haiku from MOODLE_14_STABLE

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 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 e749554efa94988095679bc669f1d07dd4336842
Author: defacer <defacer>
Date:   Mon, 30 Aug 2004 19:46:08 +0800
Tag:    v1.5.0

Merged from MOODLE_14_STABLE

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 09d36284d1f8ade220701330250ffaf8b8e2d4c1
Author: defacer <defacer>
Date:   Thu, 26 Aug 2004 18:52:00 +0800
Tag:    v1.5.0

Importing fixes from MOODLE_14_STABLE

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