Git commits in Moodle x.x.x by dhawes

commit 6b263129c030cdad14a9784b17332e41651249a6
Author: dhawes <dhawes>
Date:   Wed, 22 Mar 2006 04:54:50 +0800
Tag:    v1.6.0

fix listed in bug 3834 applied

commit cbb0a49aa73008e49ffcab7f1aeaabea40c3884b
Author: dhawes <dhawes>
Date:   Fri, 03 Mar 2006 01:06:49 +0800
Tag:    v1.5.4

removed secondary cache to close bug 4625

commit fec312fdf512838f8f3ea6d510f93d80426edaf2
Author: dhawes <dhawes>
Date:   Fri, 03 Mar 2006 01:05:12 +0800
Tag:    v1.6.0

removed secondary cache to close bug 4625

commit 9420ae5bc27c892b41d7da2e01fe4917ccbddbb1
Author: dhawes <dhawes>
Date:   Wed, 14 Dec 2005 09:07:54 +0800
Tag:    v1.6.0

updating magpie to version 0.72

commit 0117998b3d96d58be4e717f4a4fbf10c76bbffe7
Author: dhawes <dhawes>
Date:   Wed, 14 Dec 2005 08:51:34 +0800
Tag:    v1.6.0

got aroundoptional_param problem with PARAM_URL munging rss:// and feed:// urls

commit 9273dc56c1e5b29cb71d5d41da70c0ef89bc321e
Author: dhawes <dhawes>
Date:   Wed, 14 Dec 2005 07:38:47 +0800
Tag:    v1.6.0

upgraded Snoopy to version 1.2.3 - see http://www.sec-consult.com/216.html

commit 68d2d83622a5d925cb68e035a6f934789d83d43d
Author: dhawes <dhawes>
Date:   Wed, 14 Dec 2005 07:35:54 +0800
Tag:    v1.6.0

moving Snoopy references to moodle/lib/snoopy/Snoopy.class.inc

commit e53b6045fe286636a5bb81c714626c5eda8e48c0
Author: dhawes <dhawes>
Date:   Wed, 14 Dec 2005 07:34:21 +0800
Tag:    v1.6.0

updating magpie to version 0.72

commit 80be7ee37e9cd57ab92c02fb393ded37c66a3d09
Author: dhawes <dhawes>
Date:   Tue, 13 Dec 2005 11:44:08 +0800
Tag:    v1.6.0

minor phpdoc update

commit 735b85670ace701686a81907959ffa2d773b682a
Author: dhawes <dhawes>
Date:   Tue, 13 Dec 2005 10:21:02 +0800
Tag:    v1.6.0

correct malformed phpdoc function comments, rearranged phpdoc comments associated with wrong globals, and removed some tab characters

commit f5ecb599ec78eed19eb4277d52dca3160f9cb6c4
Author: dhawes <dhawes>
Date:   Sun, 11 Dec 2005 00:40:23 +0800
Tag:    v1.6.0

PHPDoc todo tags added to functions called out as close to EOL

commit 35ba2894408d154de409fbb2e054edcb7d9b0330
Author: dhawes <dhawes>
Date:   Fri, 11 Nov 2005 07:34:28 +0800
Tag:    v1.6.0

bug 4244. Replaced rss_edit with rssedit keyword everywhere. Also added string replace for any feed:// or rss:// url strings with http://

commit ab848302ee3badcf92e0591b45780c678ff522ea
Author: dhawes <dhawes>
Date:   Fri, 11 Nov 2005 07:33:03 +0800
Tag:    v1.6.0

bug 4244. extended max title entry field length to 128 from 64. replaced rss_edit with rssedit keyword everywhere.

commit 24f9eb47b1f6a9adf6635bd201897a2e0bafbf00
Author: dhawes <dhawes>
Date:   Mon, 03 Oct 2005 22:15:57 +0800
Tag:    v1.5.3

backported to 1.5 stable from HEAD - bugfix for bug 3980

commit f00679f5dac3331ba1820d1ba3bc2e035d907cff
Author: dhawes <dhawes>
Date:   Mon, 03 Oct 2005 01:45:20 +0800
Tag:    v1.6.0

removed comparisons to NULL and added isset() calls instead as per JP's suggestion

commit 8f858bd1f940915fba355fe9c2721b294430feb8
Author: dhawes <dhawes>
Date:   Sun, 02 Oct 2005 22:30:05 +0800
Tag:    v1.6.0

attempt to fix bug 3980 - asking JP and Penny to test

commit 8096d88daf33d2825cd7621e0609f0620f2cf75b
Author: dhawes <dhawes>
Date:   Sun, 02 Oct 2005 21:59:12 +0800
Tag:    v1.6.0

cosmetic change - some spacing and tabs updated

commit c40082bff897cd44d6a9dc98a0f37d543dd231d4
Author: dhawes <dhawes>
Date:   Sun, 02 Oct 2005 21:52:50 +0800
Tag:    v1.6.0

fixed copy/paste error in php comment tag

commit d112f80a22c99825fc914c1fe9e43fb172ef11a8
Author: dhawes <dhawes>
Date:   Sun, 02 Oct 2005 21:48:33 +0800
Tag:    v1.6.0

simple addition - just included : tag in all files for rss_client block. no need to merge, not a bug fix

commit ea3b9796607e89b7ab91674848caa7225ae19101
Author: dhawes <dhawes>
Date:   Wed, 31 Aug 2005 02:34:41 +0800
Tag:    v1.6.0

phpdoc comment

commit 706dae5e6e56da2aca9161fd1d68d68c9439e2aa
Author: dhawes <dhawes>
Date:   Thu, 11 Aug 2005 23:27:47 +0800
Tag:    v1.6.0

phpdoc additions and spacing cleanup

commit fd9576fb1b4a44920e55cae25bc31f96bbf3ed8e
Author: dhawes <dhawes>
Date:   Thu, 11 Aug 2005 20:45:38 +0800
Tag:    v1.6.0

spacing tidy up

commit bd3824722369ce8d9c6bccb74eb75e8682a0bb93
Author: dhawes <dhawes>
Date:   Fri, 05 Aug 2005 02:47:53 +0800
Tag:    v1.6.0

new (Mac OS X) disk image file type

commit 609d84e3787d03f2b7be7f9245363fc1e2b3e512
Author: dhawes <dhawes>
Date:   Fri, 05 Aug 2005 02:31:59 +0800
Tag:    v1.6.0

new .dmg format (icon to follow) and .tgz tar gzip alias

commit 40c61f1f0198a2dc8ca5e20efb6dc6b5a0b10d13
Author: dhawes <dhawes>
Date:   Thu, 04 Aug 2005 10:24:17 +0800
Tag:    v1.5.3

 merging in fix for bug 3478

commit d3968894521ad8ca66743c00d7c3bc40062ea0e1
Author: dhawes <dhawes>
Date:   Mon, 01 Aug 2005 22:02:46 +0800
Tag:    v1.6.0

 should be fix for bug 3478

commit d721fbd036ba5df95d45ed6429e2e95f1b122c3b
Author: dhawes <dhawes>
Date:   Mon, 01 Aug 2005 04:04:19 +0800
Tag:    v1.6.0

attempt to preserve  on the merry go round of forms and link in rss feed creation

commit 892c082545a2c5c99d4c3ec9bc6a9571a99e2b8b
Author: dhawes <dhawes>
Date:   Wed, 13 Jul 2005 09:51:30 +0800
Tag:    v1.6.0

converted some double quotes to single quote literals

commit 68fbd8e13e4de11a282a522a50fc349ad4ac74cd
Author: dhawes <dhawes>
Date:   Tue, 12 Jul 2005 11:09:25 +0800
Tag:    v1.6.0

more phpdoc work

commit 7290c7faf2afb4ecf5d6412ac1221f5179c776dc
Author: dhawes <dhawes>
Date:   Tue, 12 Jul 2005 10:23:58 +0800
Tag:    v1.6.0

phpdoc work

commit bbd3f2c4612ec2fe25028749d78f0f3d3ad35ca1
Author: dhawes <dhawes>
Date:   Tue, 12 Jul 2005 10:06:33 +0800
Tag:    v1.6.0

phpdoc comment work

commit 340f81987128bdbaf6cdfeafb0c00af0844fc155
Author: dhawes <dhawes>
Date:   Wed, 29 Jun 2005 05:21:59 +0800
Tag:    v1.6.0

additional debug output when in debug mode

commit 3cbf5b9d436633e162f947f87abe8e82bc6f1153
Author: dhawes <dhawes>
Date:   Fri, 27 May 2005 09:21:05 +0800
Tag:    v1.6.0

added a </tr> tag that was missing from table

commit c7726acc744c21989b1293e692b95d2e27165046
Author: dhawes <dhawes>
Date:   Fri, 27 May 2005 09:18:04 +0800
Tag:    v1.6.0

minor bug fix where random memory was being spit out as an arg on a url

commit f4065b8c41cf04bd45a18edb9342489af37583a4
Author: dhawes <dhawes>
Date:   Sun, 22 May 2005 08:50:37 +0800
Tag:    v1.6.0

New argument added to the print_paging_bar() function of weblib. A new  argument was added. You can now specify a var name other than 'page' as the variable to be attached to your baseurl. This function's  phpdoc comments were updated.

commit e4897989b22842e2e405cb065961e1c029737dfe
Author: dhawes <dhawes>
Date:   Thu, 19 May 2005 04:09:29 +0800
Tag:    v1.6.0

interface fix - instead of a combo box show feeds as checkboxes to make it more obvious when an instance has no associated feed. bug fix - if a custom title is set always use it over the feed's incoming title

commit bc1aed98c7bc3fa9fddd95261b660672f53716db
Author: dhawes <dhawes>
Date:   Thu, 19 May 2005 03:21:08 +0800
Tag:    v1.6.0

don't get extra fields which are not needed from course table

commit ab48bbb271275c3ca209f1877d29dc6ae6b0d54d
Author: dhawes <dhawes>
Date:   Tue, 17 May 2005 23:21:32 +0800
Tag:    v1.6.0

updated strings to match guidelines - removed underscores and removed block_rss_ prefix

commit 65abd339ff2f3162fcab5f8ee3a3e40ad4d15856
Author: dhawes <dhawes>
Date:   Tue, 17 May 2005 23:09:38 +0800
Tag:    v1.6.0

admins will now see the add_edit/configure link only if the student or teacher would normally see it. Everybody option removed from the global config options - not working properly and too late in the cycle to keep it for now

commit e413129c9fd4af334305bc6e7a8d70e57e3951eb
Author: dhawes <dhawes>
Date:   Tue, 17 May 2005 22:43:00 +0800
Tag:    v1.6.0

fix for ugly url problem

commit 422d5c56f542a82d09d0071d43d92636babf804c
Author: dhawes <dhawes>
Date:   Sun, 15 May 2005 22:56:34 +0800
Tag:    v1.6.0

new configure string - this string is used to make it clear to users who have just added a new rss_client block that they need to configure it in order to use it

commit a7a9fec63ad615802dd5a5d2701b0092491f3fc2
Author: dhawes <dhawes>
Date:   Sun, 15 May 2005 22:53:55 +0800
Tag:    v1.6.0

latest tabs work

commit 339c1d1153a56256aec93601e9220c2c94f1f722
Author: dhawes <dhawes>
Date:   Sun, 15 May 2005 22:35:41 +0800
Tag:    v1.6.0

latest work on tabs for instance config. Now if a block is not configured you get a unique link in the body of the block

commit 72b8cc16f13f22703dfc27a427099775eb4ab990
Author: dhawes <dhawes>
Date:   Sun, 15 May 2005 11:01:19 +0800
Tag:    v1.6.0

new tabs file for instance config

commit eeada455b60c03cccdd1eb08fcce2824c69bae35
Author: dhawes <dhawes>
Date:   Sun, 15 May 2005 10:57:52 +0800
Tag:    v1.6.0

moved lang files into block dir

commit 65a70eb9701986c24aca081be86931610a3380ad
Author: dhawes <dhawes>
Date:   Sun, 15 May 2005 10:55:29 +0800
Tag:    v1.6.0

moved into block itself

commit b46e37fd9a99b720c30c0d45899ab1c57adee421
Author: dhawes <dhawes>
Date:   Sun, 15 May 2005 10:51:57 +0800
Tag:    v1.6.0

moved lang files directly into block

commit ccea2c68e27dc94ec01f5ef502c4453accf0288e
Author: dhawes <dhawes>
Date:   Sun, 15 May 2005 10:49:49 +0800
Tag:    v1.6.0

move into block folder

commit 1585045e3e61ef7856447a7bd8bb638b16b4c61e
Author: dhawes <dhawes>
Date:   Sun, 15 May 2005 10:48:46 +0800
Tag:    v1.6.0

moved lang files into block itself

commit e2426c2ccedb35fd3fff1f9e22f0d133c9673ee3
Author: dhawes <dhawes>
Date:   Sun, 15 May 2005 10:47:04 +0800
Tag:    v1.6.0

added new tabbed interface for instance config and moved lang files out of moodle folder and into block folder. testing needed.

commit 59f6d311bfdec1b119c7ae5ee0eb8cd17c900bb8
Author: dhawes <dhawes>
Date:   Sun, 15 May 2005 10:46:15 +0800
Tag:    v1.6.0

moved a method from rss client action script to rsslib since it's needed by the new tabs in the instance config

commit ec288447d214e8d5b65d698f5b4ae4123bedaf9b
Author: dhawes <dhawes>
Date:   Fri, 25 Feb 2005 00:23:48 +0800
Tag:    v1.5.0

removed one excess <br /> tag as noted in Tim's comment here: http://moodle.org/mod/forum/discuss.php?d=18121

commit e3899eefdd95bff3d877f7c6c3c9326b83180cc5
Author: dhawes <dhawes>
Date:   Mon, 14 Feb 2005 10:57:15 +0800
Tag:    v1.5.0

changed rss image's alt text to title text since this image has no real obvious alt value, refer to http://moodle.org/mod/forum/discuss.php?d=16528 (added back in alt tag contents)

commit 86944f037e0e7f98b7d96ee358ed058c7d1d9db0
Author: dhawes <dhawes>
Date:   Mon, 14 Feb 2005 10:52:06 +0800
Tag:    v1.5.0

changed rss image's alt text to title text since this image has no real obvious alt value, refer to http://moodle.org/mod/forum/discuss.php?d=16528

commit 160888f6cf2c61bb1565405a23172ba904860121
Author: dhawes <dhawes>
Date:   Mon, 31 Jan 2005 19:39:14 +0800
Tag:    v1.5.0

removed check for guest after guests have already been rejected from page

commit 7501d8a52775d85a9d6348a491775093b1fb175a
Author: dhawes <dhawes>
Date:   Sat, 29 Jan 2005 13:06:43 +0800
Tag:    v1.5.0

looks like I might have finally fixed the darned bug where guest users were able to see the add/edit feeds link

commit cc370f3587e4d81b66784f047cee5810d068c80e
Author: dhawes <dhawes>
Date:   Sat, 29 Jan 2005 12:45:57 +0800
Tag:    v1.5.0

fix bug reported by Martin D. - now when you edit a feed you are returned to a page with the full feed listings rather than just the edited feed. As an added bonus when editing a feed you will see that feed's data on the edit page instead of simply the edit form.

commit c20d1fa77f5f889170a8a6ebf8d4b478209b8aed
Author: dhawes <dhawes>
Date:   Sat, 29 Jan 2005 11:08:55 +0800
Tag:    v1.5.0

re-enabled new developers debug cache setting for string

commit 81574dc5b511286f04521852efeec39a8353d607
Author: dhawes <dhawes>
Date:   Sat, 29 Jan 2005 11:07:43 +0800
Tag:    v1.5.0

added error output capture back

commit 445e8c8b9a103717f7d4cd76ee00d402694190f7
Author: dhawes <dhawes>
Date:   Sat, 29 Jan 2005 11:03:18 +0800
Tag:    v1.5.0

new string for image feed display option in instance config

commit 81610483fd2a5a4c7e9179556fa3abcd28712b85
Author: dhawes <dhawes>
Date:   Sat, 29 Jan 2005 11:01:18 +0800
Tag:    v1.5.0

new instance config option to display feed's url if present

commit f51f48615debaa4184f83c9f434c28620bf4e079
Author: dhawes <dhawes>
Date:   Sat, 29 Jan 2005 10:59:44 +0800
Tag:    v1.5.0

removed directory separator which is duplicated when rss_cache.inc creates filenames

commit 84b366b0a9ec12204ff8baa28362476583186ae6
Author: dhawes <dhawes>
Date:   Sat, 29 Jan 2005 10:57:07 +0800
Tag:    v1.5.0

I had noticed that stale reads from cache were failing on the filesystem with an invalid md5 checksum of the filename - this should fix that

commit dfedf5fdff016222bf99a3d8d22935b09433b060
Author: dhawes <dhawes>
Date:   Fri, 28 Jan 2005 09:21:08 +0800
Tag:    v1.5.0

more preferredtitle tweaks

commit 7eca7e10c56bc803765de22e56bb6f04ea447590
Author: dhawes <dhawes>
Date:   Fri, 28 Jan 2005 09:05:21 +0800
Tag:    v1.5.0

more preferredtitle tweaks

commit 8ada02c0151181e6cb12849812b9b6dd930efcc7
Author: dhawes <dhawes>
Date:   Fri, 28 Jan 2005 06:47:56 +0800
Tag:    v1.5.0

Latest updates to lang file for rss_client block including strings for newest features

commit 956425af6ed0748578f809381dcce639e3f456d7
Author: dhawes <dhawes>
Date:   Fri, 28 Jan 2005 06:47:13 +0800
Tag:    v1.5.0

Now supports new preferredtitle field for custom feed channel titles. Supports new instance config for displaying the channel link at the end of the feed item links.

commit 48005861f65b5a532442cded152d62786ac11e45
Author: dhawes <dhawes>
Date:   Fri, 28 Jan 2005 06:45:50 +0800
Tag:    v1.5.0

Moved a function directly into block. Changed some echo statements to print. Now supports new preferredtitle field for custom feed channel titles.

commit c4370fbfa4ffb39e7f172996dc53efa029669603
Author: dhawes <dhawes>
Date:   Thu, 27 Jan 2005 09:59:43 +0800
Tag:    v1.5.0

fixed function name

commit d58a3c8a3d469f83c8f6c2d0d1c831cec3434be4
Author: dhawes <dhawes>
Date:   Thu, 27 Jan 2005 09:57:30 +0800
Tag:    v1.5.0

removed excess paren, again - still a type-o

commit 2a16ea3a4355a0039f94e68cdc42e0ac1a10a09c
Author: dhawes <dhawes>
Date:   Thu, 27 Jan 2005 09:55:02 +0800
Tag:    v1.5.0

removed excess param - type-o

commit b021c82d82b088a33ca4f2d2b700a281f49b71f5
Author: dhawes <dhawes>
Date:   Thu, 27 Jan 2005 09:43:29 +0800
Tag:    v1.5.0

using rss_unhtmlentities for channel and item title as well as for item description

commit 0bae4f8c0f8892924b6902d695267e1a1ecc2616
Author: dhawes <dhawes>
Date:   Thu, 27 Jan 2005 09:24:33 +0800
Tag:    v1.5.0

Moved function from blog/lib to rsslib. unhtmlentities is required to liberate some rss feed information from the clutches of encoding.

commit 319f73c933e72715b049fd7a055d2a50af3fa238
Author: dhawes <dhawes>
Date:   Thu, 27 Jan 2005 08:55:13 +0800
Tag:    v1.5.0

Another bug discovered and squashed by Dan Marsden. Reversed logic fixed when editing feeds.

commit bb3e2d74bf18e0c7a33b16c979ba8bf6352d2814
Author: dhawes <dhawes>
Date:   Wed, 26 Jan 2005 11:31:34 +0800
Tag:    v1.5.0

final step in eliminating the type field recently removed from rss database

commit 87178d67fe61fd03d0127f8965799ff5920a0f97
Author: dhawes <dhawes>
Date:   Wed, 26 Jan 2005 08:41:49 +0800
Tag:    v1.5.0

removed references to 'type' field which was removed from rss table when latest version of magpie was adopted

commit 1eb099be3da2f610fed86230334e541c3ccafb94
Author: dhawes <dhawes>
Date:   Wed, 26 Jan 2005 08:40:03 +0800
Tag:    v1.5.0

changed an echo to a print, silly but I prefer print in php files and echo for debug and embedded html smile

commit 74d669f14e7028bdf5129d74eb040f8f431995cb
Author: dhawes <dhawes>
Date:   Wed, 26 Jan 2005 08:38:01 +0800
Tag:    v1.5.0

removed type field and added placeholder preferredtitle field

commit a75758cda4fc1f58f2d0d3f00f989fd26076eba4
Author: dhawes <dhawes>
Date:   Wed, 26 Jan 2005 00:12:01 +0800
Tag:    v1.5.0

Fixed some improperly escaped double quotes within literal strings

commit a9c38b3be8166b4ef80046e78a8276dc4657fab7
Author: dhawes <dhawes>
Date:   Tue, 25 Jan 2005 22:44:57 +0800
Tag:    v1.5.0

latest update for rss_client block

commit c0c6f36bf2c3680185c568184c968fcb8c55194f
Author: dhawes <dhawes>
Date:   Tue, 25 Jan 2005 09:57:56 +0800
Tag:    v1.5.0

bug #2420 fix

commit 7c560a6239ae2ec449b4082a991c585325885acf
Author: dhawes <dhawes>
Date:   Mon, 24 Jan 2005 11:42:54 +0800
Tag:    v1.5.0

Moved validate feed from table to add and edit form only.

commit 23e00b41854d11d455cd7565fb797935a0bbdfd5
Author: dhawes <dhawes>
Date:   Mon, 24 Jan 2005 11:24:54 +0800
Tag:    v1.5.0

cleanup of feed edit page and form

commit 3fcae4c4f929cdfcc55cfa1fb9d25a436b7bb1db
Author: dhawes <dhawes>
Date:   Mon, 24 Jan 2005 11:24:19 +0800
Tag:    v1.5.0

removed extra break

commit d674fae8e742ac4ca9c343dc03749aad96e81c45
Author: dhawes <dhawes>
Date:   Mon, 24 Jan 2005 11:00:10 +0800
Tag:    v1.5.0

removed debug code left over sad

commit 947becc73100c1dbb52cd288a7af76dbc159d806
Author: dhawes <dhawes>
Date:   Mon, 24 Jan 2005 10:58:19 +0800
Tag:    v1.5.0

feed titles are stored and displayed again - silly bug

commit 327b622dfa85dad1f0f60999826d2c1c6f5131f7
Author: dhawes <dhawes>
Date:   Mon, 24 Jan 2005 09:21:16 +0800
Tag:    v1.5.0

quotes update

commit b2262aa90a25c5b6fcc39802d32c923ff12d1c7b
Author: dhawes <dhawes>
Date:   Mon, 24 Jan 2005 07:21:42 +0800
Tag:    v1.5.0

fix for bug reported by Dan Marsden - feeds can be added again smile

commit 29a6bbd1e8ae26aaf901621c8e036d202406995a
Author: dhawes <dhawes>
Date:   Mon, 24 Jan 2005 06:10:06 +0800
Tag:    v1.5.0

latest magpie. moved from rss folder to lib.

commit 800e57392629a5b121e39b21b6cefa50b5eb4de9
Author: dhawes <dhawes>
Date:   Mon, 24 Jan 2005 06:02:03 +0800
Tag:    v1.5.0

moving to moodle/lib

commit c307266c769f339eea3cc1834cb5bb20d00a2f05
Author: dhawes <dhawes>
Date:   Mon, 24 Jan 2005 03:40:33 +0800
Tag:    v1.5.0

Fixed error discovered by Gustav - after updating to use newest magpie I failed to update all instances of rss fetching.

commit 2965682a21d17212e7a5e9ba409cb66f78c3f36b
Author: dhawes <dhawes>
Date:   Mon, 24 Jan 2005 00:16:28 +0800
Tag:    v1.5.0

latest changes to rss_client block. Now uses latest magpie file for fetch, parse and cache. Still caches the result string as well to avoid excessive file reads and network hits. Fixed bug where non-admin users were not seeing the add/edit feeds link within the block when all users are allowed to edit. Now uses moodles' format_text function on entire block contents.

commit 1ddd7bd00bf8a0b8f066cade18d451d44ad8264b
Author: dhawes <dhawes>
Date:   Sun, 23 Jan 2005 23:58:04 +0800
Tag:    v1.5.0

smarty template file example

commit 444536889333aea9afac285e5a813962e1b23d13
Author: dhawes <dhawes>
Date:   Sun, 23 Jan 2005 23:55:03 +0800
Tag:    v1.5.0

date manipulation script

commit b6442a5e3a988c19912529ec63bf0d61e39f855b
Author: dhawes <dhawes>
Date:   Sun, 23 Jan 2005 23:52:52 +0800
Tag:    v1.5.0

magpie templates. SMARTY examplesls

commit ae4b445f6eecb7469a7c87dea36b649a2d93287c
Author: dhawes <dhawes>
Date:   Sun, 23 Jan 2005 23:50:52 +0800
Tag:    v1.5.0

magpie help files

commit 33fa9405b96c65dd72b1ab4c7b14cd8bf20927ac
Author: dhawes <dhawes>
Date:   Sun, 23 Jan 2005 23:48:57 +0800
Tag:    v1.5.0

magpie's modified version of Snoopy class

commit 100ed1cf2bf2f1bd44f3b53e9004e83f0e868d61
Author: dhawes <dhawes>
Date:   Sun, 23 Jan 2005 23:47:31 +0800
Tag:    v1.5.0

Magpie 0.7.1 - all relevant files. Simplog had been using only one of these files and it was renamed. Simplog had written an Atom feed parser based on magpie and was losing out on much of the magpie functionality because of it. This latest release supports Atom feeds so the need to for separate objects is gone. By using the full release upgrades become easier in the future. We also gain some of magpie's lost feature set such as the use of a modified Snoopy http client for retrieving feeds instead of an fopen() call - which means that php.ini does not need to be modified to turn allow_url_fopen to On.

commit 2be9581d6579ced1fc3c9eead34d369e940508d5
Author: dhawes <dhawes>
Date:   Sun, 23 Jan 2005 23:37:47 +0800
Tag:    v1.5.0

latest version works with new magpie 0.7.1 files

commit 30e953153bea3b83392f211f30ba22d704c36b91
Author: dhawes <dhawes>
Date:   Sun, 23 Jan 2005 23:35:45 +0800
Tag:    v1.5.0

RSS and Atom now handled by latest version of magpierss (magpierss.sourceforge.com). class.RSS.php was a renamed include file from magpie which was 2 versions old. I've reworked the code to use the official magpie release which should allow for easier upgrades in the future.

commit 79dd93a9208c84eef9cc9e38f4ee3da1a0b784f1
Author: dhawes <dhawes>
Date:   Fri, 21 Jan 2005 11:27:38 +0800
Tag:    v1.5.0

refactored a big scary function a bit. hopefully it is more readable this way. this change also paved the way for extra caching in the block's config structure.

commit 37fe05a345d3a4f3192f38e2861d56ac2f9d3046
Author: dhawes <dhawes>
Date:   Fri, 21 Jan 2005 11:23:26 +0800
Tag:    v1.5.0

added in an extra layer of cache. The rendered string is now cached in block's config. If the config settings are changed the config entry is overwritten and the cached string is lost - which is perfect - it gets rebuilt to the new specifications on next page load. If the filesystem cache has expired then the stored config string is ignored and a fresh read is sought.

commit 6cee965c7acc9065849523babbfdf2045928c9c8
Author: dhawes <dhawes>
Date:   Fri, 21 Jan 2005 11:20:56 +0800
Tag:    v1.5.0

minor spacing cleanup

commit bab450a05a3f4de9f556d530463ebcfe90c71dde
Author: dhawes <dhawes>
Date:   Thu, 20 Jan 2005 09:35:04 +0800
Tag:    v1.5.0

cleaned up some quotes. Removed reference to blog for an image, now use the standard rss xml.gif image from moodle install

commit d6501ee371381f32267d263d37183ac61e05e9d7
Author: dhawes <dhawes>
Date:   Thu, 20 Jan 2005 09:32:58 +0800
Tag:    v1.5.0

if there are multiple feeds within a single block the title of each feed is shown with a horizontal rule between feeds

commit 19c64818693ff4ba44e7c8e4b92f6c34e7a46db6
Author: dhawes <dhawes>
Date:   Thu, 20 Jan 2005 09:01:48 +0800
Tag:    v1.5.0

cleaned up a bad copy/paste in a few if statements

commit 53195528a1c0ff5b899264de3a566c64c812609f
Author: dhawes <dhawes>
Date:   Thu, 20 Jan 2005 08:10:23 +0800
Tag:    v1.5.0

minor tweak to error output text

commit 53034e080a59febe23d273032b0f7dcc80a521e6
Author: dhawes <dhawes>
Date:   Thu, 20 Jan 2005 07:59:21 +0800
Tag:    v1.5.0

now displays a link to the full error text if there is a problem loading a feed (and debug is on) rather than display the full text inline

commit 7530140579002b4bceed5b4b22fb3a5d2a842bfc
Author: dhawes <dhawes>
Date:   Thu, 20 Jan 2005 07:55:25 +0800
Tag:    v1.5.0

I couldn't find a way to do this so I added this file. When an RSS feed fails to load and debug is on the rendered page could get quite ugly. I now capture the error into a string and simply show the user a 'load feed error' link pointing to this new error page. This new error page simply displays the full error message with more detail about why that particular feed failed to load (from file or url, etc)

commit c7ac239b80113062189a32fe01c14618b031c30c
Author: dhawes <dhawes>
Date:   Thu, 20 Jan 2005 07:51:27 +0800
Tag:    v1.5.0

updated rss_client functions to return any errors encountered along the way (assuming that the feed could not be loaded) in an object as ->ERROR. This matches the  object that is returned, it would have a ->ERROR string if there was a problem as well.

commit 221a85301e38c4031d4b46ebe178813cad6a6449
Author: dhawes <dhawes>
Date:   Tue, 18 Jan 2005 07:22:16 +0800
Tag:    v1.5.0

using localized string instead of hard coded english for print header functioncall

commit e8181a56b410255c85ba176dcad34b694bec673a
Author: dhawes <dhawes>
Date:   Tue, 18 Jan 2005 02:03:15 +0800
Tag:    v1.5.0

moved functions from templib.php to rsslib.php for rss_client block

commit 765b5b35869ab5baa370264bec2cad725710c861
Author: dhawes <dhawes>
Date:   Mon, 17 Jan 2005 05:20:15 +0800
Tag:    v1.5.0

moved functions into rsslib.php. Passed this by Eloy and got his OK first

commit 9723afd1d099a02a96a8d5726cf49c8ee5fb3798
Author: dhawes <dhawes>
Date:   Fri, 31 Dec 2004 11:38:22 +0800
Tag:    v1.5.0

bug fixes

commit 6825eec6f93b11105cbfe4188aa1b4b5cb867698
Author: dhawes <dhawes>
Date:   Fri, 31 Dec 2004 11:16:32 +0800
Tag:    v1.5.0

latest update for rss client block localization

commit fd6360ecacd0e172378591d0a86f989697fcb0ea
Author: dhawes <dhawes>
Date:   Fri, 31 Dec 2004 11:11:03 +0800
Tag:    v1.5.0

minor bug fixes

commit e999246f3f3803cc030a98cb03ed7f8e0f40f6d1
Author: dhawes <dhawes>
Date:   Fri, 31 Dec 2004 10:22:30 +0800
Tag:    v1.5.0

bug fixes - had let a blog specific function sneak back in

commit 2502395fae3dd896e625811779d5d4def05470dd
Author: dhawes <dhawes>
Date:   Fri, 31 Dec 2004 03:10:44 +0800
Tag:    v1.5.0

fixing an instance of hardcoded /admin/ as per Zbigniew Fiedorowicz's fix (in 1.4.3+?)

commit 8766b89f9399ef680251e7f2893db253a0694e9f
Author: dhawes <dhawes>
Date:   Fri, 31 Dec 2004 02:27:40 +0800
Tag:    v1.5.0

a little cleanup

commit 92ce1eb2efc45043a916fdb897fabf9d718e2e4f
Author: dhawes <dhawes>
Date:   Fri, 31 Dec 2004 02:08:38 +0800
Tag:    v1.5.0

Updated for better reporting when loading from remote url fails. Now displays error when adding URL when it cannot load even when ->debug is off. Added new feature - select multiple feeds to display in each block instance.

commit a7c17aa0c7057f9c0163e5119542097414d4f4a2
Author: dhawes <dhawes>
Date:   Fri, 17 Dec 2004 11:39:10 +0800
Tag:    v1.5.0

fixed lang string reference and added link to add/edit feeds from admin page

commit 0eb35827c6b66f6bf58af88e99d8f07c08b6fc4e
Author: dhawes <dhawes>
Date:   Fri, 17 Dec 2004 10:45:21 +0800
Tag:    v1.5.0

first addition of extra rss files needed by rss_client block. templib functionality should be moved to rsslib.php if Eloy is OK with that

commit 93c7d6dae0feaed058b035e59255fb2b8539a65a
Author: dhawes <dhawes>
Date:   Wed, 15 Dec 2004 02:12:09 +0800
Tag:    v1.5.0

first add of new rss client block. please take a moment to test its features and provide feedback (now added to the correct folder moodle/lang/en)

commit 12a33d9ff68bf106da564281d47da5a0a4029638
Author: dhawes <dhawes>
Date:   Wed, 15 Dec 2004 02:10:48 +0800
Tag:    v1.5.0

oops, this should have been put in the moodle/lang folder. moving

commit 72035d793ef507bf22cc94e170c0e6da3c966830
Author: dhawes <dhawes>
Date:   Wed, 15 Dec 2004 02:09:20 +0800
Tag:    v1.5.0

first add of new rss client block. please take a moment to test its features and provide feedback

commit 5809683fbaa92688f4b9459f998a0c2252d8bd37
Author: dhawes <dhawes>
Date:   Mon, 29 Nov 2004 12:38:07 +0800
Tag:    v1.5.0

fixed a comment whose details had been left behind in the recent api change

commit a9e91540dfa0f522bec6c36da0c23e3fd4304d38
Author: dhawes <dhawes>
Date:   Mon, 29 Nov 2004 08:48:28 +0800
Tag:    v1.5.0

replaced old MoodlePage class call with new page_base call

commit 7e8dc20869a42246cb8c3e93dbcc816695a35d84
Author: dhawes <dhawes>
Date:   Sun, 21 Nov 2004 03:06:29 +0800
Tag:    v1.5.0

spacing and quotes cleanup

commit e0134f842cfa7d9b1d360162e67ad74cf76ec9c4
Author: dhawes <dhawes>
Date:   Thu, 11 Nov 2004 00:43:57 +0800
Tag:    v1.5.0

added comments and some spacing cleanup

commit c7e3bc51e28f7a161277ac71adb1d64309956334
Author: dhawes <dhawes>
Date:   Thu, 28 Oct 2004 09:26:33 +0800
Tag:    v1.5.0

spacing updates and addition of some phpdoc comments

commit d041e44fb1a1118ceee6c3b1f22875bcf89daabe
Author: dhawes <dhawes>
Date:   Thu, 28 Oct 2004 08:10:29 +0800
Tag:    v1.5.0

spacing, tab and quote cleanup

commit 6195e04a9d84904418aeb61de204d8c92a572b48
Author: dhawes <dhawes>
Date:   Mon, 25 Oct 2004 11:30:48 +0800
Tag:    v1.5.0

clarified comments and added some spacing.

commit a9c75a9caf2d842aaece4eb5c23b9436884617e8
Author: dhawes <dhawes>
Date:   Mon, 25 Oct 2004 11:20:02 +0800
Tag:    v1.5.0

fix to allow instance configuration for blocks that allow multiple but have been set by the local admin to only display one instance per page

commit 43038ce6d75370c525363541dff515c39602fc15
Author: dhawes <dhawes>
Date:   Mon, 25 Oct 2004 08:09:47 +0800
Tag:    v1.5.0

added comment for new specialization function

commit 59b292077867dfa0d942da8ab565f29e3fa89b03
Author: dhawes <dhawes>
Date:   Mon, 25 Oct 2004 05:49:58 +0800
Tag:    v1.5.0

added spacing

commit e1b8bdf8e3859e8de8239f43e653a461639d80da
Author: dhawes <dhawes>
Date:   Sun, 24 Oct 2004 23:52:25 +0800
Tag:    v1.5.0

some spacing added

commit 27ec21a0f6ec12c8a68cfeaf7703ef7b25cdcfcd
Author: dhawes <dhawes>
Date:   Sun, 24 Oct 2004 23:51:25 +0800
Tag:    v1.5.0

some quote cleanup and some spacing added

commit 4bab5275b2bd41bf3c8ba7b261ef47ff12ed9b26
Author: dhawes <dhawes>
Date:   Fri, 22 Oct 2004 10:33:18 +0800
Tag:    v1.5.0

some string quote and spacing cleanup

commit 761155628f84f26239d04e4d431af87a95b2c2ee
Author: dhawes <dhawes>
Date:   Tue, 05 Oct 2004 00:44:54 +0800
Tag:    v1.5.0

Additional phpdoc comments for get_string and print_string functions - example usage added and argument types documented

commit 2f87145ba2572d90dcd0643f8b64c6260b4c71ef
Author: dhawes <dhawes>
Date:   Thu, 30 Sep 2004 02:56:50 +0800
Tag:    v1.5.0

Further documented new *SECS contants where they are declared as well as in each function that uses them

commit 822a10631986afdecac32ecc432e44753215cffb
Author: dhawes <dhawes>
Date:   Thu, 30 Sep 2004 02:19:39 +0800
Tag:    v1.5.0

Added a file level phpdoc docblock tag. Also converted double quote strings to single quote literals.

commit da72d76d30c2f688bfe6fd20deadb109d0221967
Author: dhawes <dhawes>
Date:   Wed, 29 Sep 2004 00:40:26 +0800
Tag:    v1.5.0

added '@access private' docblock tags to functions that should not be called directly

commit 674fb525d2bcb035a9e5342a57562108ffd9ab3b
Author: dhawes <dhawes>
Date:   Tue, 28 Sep 2004 10:51:56 +0800
Tag:    v1.5.0

fixed misplaced comments on CFG and USER globals

commit ca811dc55a076eb96f73997085f6d6d1f810e788
Author: dhawes <dhawes>
Date:   Tue, 28 Sep 2004 10:16:42 +0800
Tag:    v1.5.0

comments for file, class and public methods converted to phpdoc style comments

commit 88a7228ae2a80b6153e34ee00878af208ac47db6
Author: dhawes <dhawes>
Date:   Sun, 26 Sep 2004 13:10:38 +0800
Tag:    v1.5.0

Converted comments to phpdoc comments - file is in need of additional comments. I also took the opportunity to convert double quote strings to single quote literals.

commit 99c253167160fe2826149fdbccfd039df7cef083
Author: dhawes <dhawes>
Date:   Sun, 26 Sep 2004 12:57:07 +0800
Tag:    v1.5.0

Converted comments to phpdoc style. Functions require additional documenting.

commit b68275d52adf78d257ad94a515d36a0a8c022cd5
Author: dhawes <dhawes>
Date:   Sun, 26 Sep 2004 12:54:03 +0800
Tag:    v1.5.0

Converted comments to phpdoc style

commit a93ea924a091ca35f6330c6ee157daf00d075ba6
Author: dhawes <dhawes>
Date:   Sun, 26 Sep 2004 12:49:39 +0800
Tag:    v1.5.0

Converted comments to phpdoc style comments

commit c9b5ebf583ce5977c9aba6a2e0a633a3fda49ebc
Author: dhawes <dhawes>
Date:   Sun, 26 Sep 2004 12:43:51 +0800
Tag:    v1.5.0

Expanded phpdoc tags. Added file docblock tag, class property docblock tags and expanded some function docblocks. Also added some spacing and converted some double quotes to single quotes

commit dc6682d0ff2fb93220c3db24e16bb4bd0549521b
Author: dhawes <dhawes>
Date:   Sun, 26 Sep 2004 12:31:56 +0800
Tag:    v1.5.0

Conversion of double quoted strings to single quoted literals

commit d740c724acf621d01f5fe800f1de71e414c63180
Author: dhawes <dhawes>
Date:   Sat, 25 Sep 2004 23:17:08 +0800
Tag:    v1.5.0

Converted many double quoted strings to single quote literals

commit da8759cb8fe67c7a1bd007d8f3bc61ac43bc86c0
Author: dhawes <dhawes>
Date:   Sat, 25 Sep 2004 13:30:03 +0800
Tag:    v1.5.0

Phpdoc comments added to define moodle globals. Also converted double quote strings to single quote literals

commit 89dcb99da2f6993f86d6e2430eb23ed4a1664d8d
Author: dhawes <dhawes>
Date:   Sat, 25 Sep 2004 13:29:21 +0800
Tag:    v1.5.0

More phpdoc work

commit c6d15803f63dd40db1031a474c2109b33d1a872a
Author: dhawes <dhawes>
Date:   Sat, 25 Sep 2004 09:29:37 +0800
Tag:    v1.5.0

Additional phpdoc compatible comments added.

commit 4723e40941374dff60fc9f05b343a00682bfe429
Author: dhawes <dhawes>
Date:   Sat, 25 Sep 2004 07:18:17 +0800
Tag:    v1.5.0

Double quote strings converted to single quote literals  - inspired by missing escapes on quote characters inside echo strings found by ottenhoff and noted in comment to bug 1981

commit 5620acd80aff8ad676441e7257c8424108307efe
Author: dhawes <dhawes>
Date:   Sat, 25 Sep 2004 07:10:49 +0800
Tag:    v1.5.0

Some double quote strings converted to single quote literals and conversion of many tabs to spaces - inspired by error in associative array dereferencing found by ottenhoff and noted in comment to bug 1981

commit 9ea8fa21f5f026cd2c54084416ac2eb29e70c121
Author: dhawes <dhawes>
Date:   Sat, 25 Sep 2004 06:40:48 +0800
Tag:    v1.5.0

Fixed double end comment tag and conversion of tabs to spaces - inspired by error in doudle end comment tag found by ottenhoff and noted in comment to bug 1981

commit 70e728fbbc46dcdeac3c0ff726fc535930f5d5fc
Author: dhawes <dhawes>
Date:   Sat, 25 Sep 2004 06:28:50 +0800
Tag:    v1.5.0

Converted double quote strings to single quote literals - inspired by error in double quotes found by ottenhoff and noted in comment to bug 1981

commit fbc21ae8c9be47cd21c45a768b2563e5c3247391
Author: dhawes <dhawes>
Date:   Sat, 25 Sep 2004 05:28:22 +0800
Tag:    v1.5.0

More phpdoc comments added and updated. Also a few double quote string to single quote literal changes.

commit 8c3dba735bf197ce6c0b41e1a1b044bd1e428ae1
Author: dhawes <dhawes>
Date:   Thu, 23 Sep 2004 13:10:21 +0800
Tag:    v1.5.0

Added more phpdoc comments

commit d48b00b40ee99b04cc8876085b2ede095751c754
Author: dhawes <dhawes>
Date:   Thu, 23 Sep 2004 12:36:43 +0800
Tag:    v1.5.0

Added some more skeleton phpdoc comments and fixed a few more quote conversion issues

commit 7cf1c7bd2be76deb1e46000ead9408cfbf16e4b7
Author: dhawes <dhawes>
Date:   Thu, 23 Sep 2004 10:48:41 +0800
Tag:    v1.5.0

Additional phpdoc comments and fixes for bugs 1981 and 1984

commit d4419d55a2bea50101c0f499a7713aad2279113a
Author: dhawes <dhawes>
Date:   Thu, 23 Sep 2004 00:15:23 +0800
Tag:    v1.5.0

Conversion of double quoted string to single quoted literals. Also added some extra spacing around concatenated strings for easier reading.

commit b0ccd3fb32375c101c34e7eaeebf9d60ace60b61
Author: dhawes <dhawes>
Date:   Wed, 22 Sep 2004 22:39:15 +0800
Tag:    v1.5.0

Conversion of double quoted string to single quoted literals. Also added some extra spacing around concatenated strings for easier reading.