Git commits in Moodle 1.4.0 by defacer

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 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 4ea496519ec6322d8ea9155ef9ac2c10470234cb
Author: defacer <defacer>
Date:   Tue, 31 Aug 2004 20:26:04 +0800
Tag:    v1.4.0

Fix for bug 1800:

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 52f42b41fc90d76b0dd884ca356e0c7a588ce1e9
Author: defacer <defacer>
Date:   Mon, 30 Aug 2004 19:42:07 +0800
Tag:    v1.4.0

Bug 1848:

commit be37cf962dc9eb93346d319a15a98adb3af94593
Author: defacer <defacer>
Date:   Sat, 28 Aug 2004 20:33:25 +0800
Tag:    v1.4.0

Candidate fix for bug 1808:

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 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 e55474005b4c9a01aeb282ed39927c30f2e3a802
Author: defacer <defacer>
Date:   Wed, 25 Aug 2004 20:13:06 +0800
Tag:    v1.4.0

*** TRANSLATOR ALERT ***

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