Axel Beckert [Thu, 2 Oct 2008 10:43:01 +0000 (10:43 +0000)]
Fix smokeping test for 2.1.1 isPermaLink="true" change (yeah, a little bit late, I know :-)
Axel Beckert [Thu, 2 Oct 2008 01:09:41 +0000 (01:09 +0000)]
This will probably become v2.1.2, so prepare the code for the release.
Axel Beckert [Thu, 2 Oct 2008 01:05:34 +0000 (01:05 +0000)]
Minimal version of Kevin's patch against CVE-2008-2236 (no additional variable $esc_flavour since $flavour should never contain any HTML code and therefore the distinction between escaped and unescaped is not necessary and doesn't make it necessary to change any templates. (We only can change ours.)
Axel Beckert [Wed, 30 Jul 2008 22:31:45 +0000 (22:31 +0000)]
Mention that this closed a issue in the tracker at SF
Axel Beckert [Wed, 30 Jul 2008 22:27:02 +0000 (22:27 +0000)]
Declaring this state as bugfix release 2.1.1, the "never trust a dot zero release" bugfix release for 2.1.0.
Axel Beckert [Wed, 30 Jul 2008 22:23:17 +0000 (22:23 +0000)]
Document the last few commits in the changelog, too
Axel Beckert [Wed, 30 Jul 2008 22:21:47 +0000 (22:21 +0000)]
Rewrote the (at least with Apache 2.2's environment) no more working
manual base URL detection code.
Made it simpler, easier to understand and overview. Added a lot of
comments explaining the fixed problem and the remaining seldom cases
where manual configuration is necessary.
Modify $url only if the base URL was not set manually.
The concept since 2.0.2 was: Always ask for the whole URI and then
remove the PATH_INFO in some cases again. This caused some havoc. New
concept is: Strip PATH_INFO from base URL if CGI.pm didn't manage to do
it.
In those rare cases where neither CGI.pm nor Blosxom manages to
correctly determine the base URL, you can easily set $url in the config
file to the correct value and no base URL magic happens anymore (except
the removing of a trailing slash if present -- as before).
There is one case where this code does more than necessary, too: If the
URL requested is e.g. http://example.org/blog/blog and the base URL is
correctly determined as http://example.org/blog by CGI.pm, then this
code will incorrectly normalize the base URL down to http://example.org,
because the same string as PATH_INFO is part of the base URL, too. But
this is such a seldom case and can be fixed by setting $url in the
config file, too.
Axel Beckert [Wed, 30 Jul 2008 17:52:26 +0000 (17:52 +0000)]
Changing isPermalink back to "false" for the default RSS story template.
Reason:
The URL in there is no valid permalink and could cause non-working links
to the postings because of the missing flavour suffix in dynamic as well
as static setups. $default_flavour only applies to index pages, e.g.
start page or per year/month/day pages.
Thanks to Lilo von Hanffstengel for pointing this out and insisting on
me being wrong. :-)
Axel Beckert [Fri, 25 Jul 2008 18:22:09 +0000 (18:22 +0000)]
Moved $encode_xml_entities setting to configuration section since it's also useful to be set manually if e.g. your RSS templates contain CDATA sections
Axel Beckert [Thu, 24 Jul 2008 16:24:07 +0000 (16:24 +0000)]
Starting the next release cycle in the ChangeLog and the blosxom.cgi file header; adding $Id$ to the blosxom.cgi file header; reindenting changelog entries to make it consistently without tabs
Axel Beckert [Thu, 24 Jul 2008 15:58:17 +0000 (15:58 +0000)]
In contrary to the copyright statement on blosxom.com/license.html, but according to the Debian copyright file as well as http://web.archive.org/web/
20020803094152/http://www.raelity.org/, Blosxom's history didn't begin in 2003, but at least 2002. The earliest appearance I found was version 0+5i on 2007-Jul-03.
Axel Beckert [Tue, 22 Jul 2008 22:12:25 +0000 (22:12 +0000)]
Fixed indentation in older ChangeLog entries
Axel Beckert [Tue, 22 Jul 2008 22:08:33 +0000 (22:08 +0000)]
Note the content type issue being fixed, add SF issue IDs.
Axel Beckert [Tue, 22 Jul 2008 22:01:56 +0000 (22:01 +0000)]
Adapting tests to the recent change to permalink guids.
Axel Beckert [Tue, 22 Jul 2008 21:59:14 +0000 (21:59 +0000)]
Adapting tests to my content-type fixes. They are now consistent all over. And all with a blank between the semicolon and the word charset.
Axel Beckert [Tue, 22 Jul 2008 21:41:14 +0000 (21:41 +0000)]
Bugfix: Content types like application/xhtml+xml, etc. got escaped content even if this is only necessary in RSS feeds, etc. (Fixes: #
1717980)
Axel Beckert [Tue, 22 Jul 2008 21:35:19 +0000 (21:35 +0000)]
Bugfix: The content type set via template was only honored during dynamic generation via CGI in the HTTP headers. The content type inside the (default) HTML templates was resp. had to be hard-coded. Made $content_type a global package variable so that it can be used inside templates.
Axel Beckert [Tue, 22 Jul 2008 02:25:00 +0000 (02:25 +0000)]
A simple Makefile to easily generate tar balls for distribution
Axel Beckert [Tue, 22 Jul 2008 02:11:53 +0000 (02:11 +0000)]
Make <guid> content a full URL by default (as Gavin had it in his broken patch, too) since it could be ambigous otherwise. Additionally, feed parsers can use the value it as permanent link and it is a good example on how to implement links to articles without the date in the URL.
Axel Beckert [Tue, 22 Jul 2008 02:01:34 +0000 (02:01 +0000)]
Bugfix: Default RSS feed failed feed validation at feedvalidator.org/ if there was a blank inside a file name since blanks (and other characters) need to be escaped inside an URL. Most browsers do this, but not all.
Axel Beckert [Tue, 22 Jul 2008 01:46:08 +0000 (01:46 +0000)]
Bugfix: Default RSS feed failed feed validation at feedvalidator.org/ if there was a blank inside a file name since blanks (and other characters) need to be escaped inside an URL. Most browsers do this, but not all.
Axel Beckert [Tue, 22 Jul 2008 01:41:11 +0000 (01:41 +0000)]
URLs must be escaped inside XML, e.g. inside the <link> container, too.
Axel Beckert [Tue, 22 Jul 2008 01:17:30 +0000 (01:17 +0000)]
Single quotes must be escaped in XML, too
Axel Beckert [Tue, 22 Jul 2008 01:09:55 +0000 (01:09 +0000)]
Adapt the author string to list the current development team, too
Axel Beckert [Tue, 22 Jul 2008 00:26:27 +0000 (00:26 +0000)]
Next release will be 2.1.0 -- adapt all version strings in blosxom.cgi, ChangeLog and the expected test results
Axel Beckert [Tue, 22 Jul 2008 00:15:42 +0000 (00:15 +0000)]
Revert Gavin Garr's (gonzai's) commits to the test suite on 21st of July
2008 since they seem to be at least incomplete and caused the test suite
to break badly:
01_templates.......error finding or loading blosxom plugin 'storydate': Can't locate storydate in @INC (@INC contains: /home/abe/blosxom-devel/blosxom2/t/templates/config/../../../general /home/abe/blosxom-devel/blosxom2/t/templates/config/../../../gavinc /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /home/abe/blosxom-devel/blosxom2/t/templates/../../blosxom.cgi line 318.
error finding or loading blosxom plugin 'rss20': Can't locate rss20 in @INC (@INC contains: /home/abe/blosxom-devel/blosxom2/t/templates/config/../../../general /home/abe/blosxom-devel/blosxom2/t/templates/config/../../../gavinc /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /home/abe/blosxom-devel/blosxom2/t/templates/../../blosxom.cgi line 318.
01_templates.......ok 1/0error finding or loading blosxom plugin 'storydate': Can't locate storydate in @INC (@INC contains: /home/abe/blosxom-devel/blosxom2/t/templates/config/../../../general /home/abe/blosxom-devel/blosxom2/t/templates/config/../../../gavinc /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /home/abe/blosxom-devel/blosxom2/t/templates/../../blosxom.cgi line 318.
error finding or loading blosxom plugin 'rss20': Can't locate rss20 in @INC (@INC contains: /home/abe/blosxom-devel/blosxom2/t/templates/config/../../../general /home/abe/blosxom-devel/blosxom2/t/templates/config/../../../gavinc /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /home/abe/blosxom-devel/blosxom2/t/templates/../../blosxom.cgi line 318.
01_templates.......NOK 2
The commits also include paths to locations outside the repository which
made them look as if they weren't intended the way they happened. The
missing plugins were probably located there.
We can figure out what exactly went wrong after the 2.1.0 release.
Gavin Carr [Mon, 21 Jul 2008 13:45:06 +0000 (13:45 +0000)]
Updates to rss20 tests.
Gavin Carr [Mon, 21 Jul 2008 13:41:36 +0000 (13:41 +0000)]
Remove bogus rss20 test files.
Gavin Carr [Mon, 21 Jul 2008 13:04:43 +0000 (13:04 +0000)]
Fix failing test case 01_templates.t.
Axel Beckert [Fri, 18 Jul 2008 10:51:31 +0000 (10:51 +0000)]
Updated the changelog to mention (hopefully) all new features added since 2.0.2. (Just made a diff between HEAD and the contents of the 2.0.2 tar ball.)
Axel Beckert [Tue, 24 Jun 2008 00:10:21 +0000 (00:10 +0000)]
HTML 4.01 conformance for the default HTML templates
Axel Beckert [Mon, 23 Jun 2008 22:54:19 +0000 (22:54 +0000)]
Made 01_templates.t pass again (added the expected output of t/templates/expected/web/2.txt to t/templates/expected.html
Gavin Carr [Wed, 26 Mar 2008 19:02:31 +0000 (19:02 +0000)]
Unescape url returned from CGI::url to match PATH_INFO escaping.
Gavin Carr [Mon, 24 Mar 2008 22:35:29 +0000 (22:35 +0000)]
Update ChangeLog with path_info changes.
Gavin Carr [Mon, 24 Mar 2008 22:33:51 +0000 (22:33 +0000)]
Redo path_info handling with much stricter date handling.
Gavin Carr [Thu, 20 Dec 2007 06:25:45 +0000 (06:25 +0000)]
Test suite updates.
Gavin Carr [Tue, 18 Dec 2007 10:44:25 +0000 (10:44 +0000)]
Update rss20_static expected test index.rss files to include index.rss in atom:link.
Gavin Carr [Fri, 7 Dec 2007 06:00:44 +0000 (06:00 +0000)]
Test updates.
Gavin Carr [Fri, 7 Dec 2007 05:58:34 +0000 (05:58 +0000)]
Add $path_info_full variable to blosxom.cgi.
Gavin Carr [Tue, 4 Dec 2007 10:38:07 +0000 (10:38 +0000)]
Mark rss20/expected.{html,rss} as deleted.
Gavin Carr [Tue, 4 Dec 2007 10:37:06 +0000 (10:37 +0000)]
Update rss20 test cases.
Gavin Carr [Tue, 13 Nov 2007 09:14:22 +0000 (09:14 +0000)]
Add initial static_basic static test case.
Gavin Carr [Thu, 1 Nov 2007 09:20:09 +0000 (09:20 +0000)]
Add encode_xml_entities flag to blosxom.cgi to allow plugins to disable.
Gavin Carr [Fri, 19 Oct 2007 10:19:16 +0000 (10:19 +0000)]
Add hash/hashref interpolation support to blosxom.cgi, and tests.
Gavin Carr [Fri, 12 Oct 2007 02:12:09 +0000 (02:12 +0000)]
Fix typo in default html head rss line, and adjust tests.
Gavin Carr [Sun, 7 Oct 2007 23:51:28 +0000 (23:51 +0000)]
Add Setup script for test script symlinks, and README; remove test scripts.
Gavin Carr [Fri, 5 Oct 2007 13:25:15 +0000 (13:25 +0000)]
Remove old t-* test directories.
Gavin Carr [Fri, 5 Oct 2007 12:23:23 +0000 (12:23 +0000)]
Add test drivers as files, since symlinks don't work.
Gavin Carr [Fri, 5 Oct 2007 12:06:51 +0000 (12:06 +0000)]
Refactor and fix current test cases.
Gavin Carr [Thu, 4 Oct 2007 05:36:24 +0000 (05:36 +0000)]
Add comment on -z Blosxom::Plugin::Foo placeholders.
Gavin Carr [Wed, 3 Oct 2007 11:58:13 +0000 (11:58 +0000)]
Add plugin_dir and plugin_list test cases.
Gavin Carr [Wed, 3 Oct 2007 11:55:57 +0000 (11:55 +0000)]
Fix plugin filename bug with decorated plugins in $plugin_list.
Gavin Carr [Wed, 3 Oct 2007 11:51:54 +0000 (11:51 +0000)]
Add Perl Best Practices .perltidyrc.
Barijaona Ramaholimihaso [Tue, 2 Oct 2007 18:59:06 +0000 (18:59 +0000)]
Handle correctly seconds in the nice_date subroutine
Barijaona Ramaholimihaso [Mon, 1 Oct 2007 21:07:37 +0000 (21:07 +0000)]
Changed $plugin_list as an absolute path, as all configurable filenames/directory names
Barijaona Ramaholimihaso [Thu, 27 Sep 2007 11:25:21 +0000 (11:25 +0000)]
Allows default interpolate routine to handle multiple :: in variable names.
Barijaona Ramaholimihaso [Wed, 26 Sep 2007 03:58:00 +0000 (03:58 +0000)]
Restores $plugin_dir as the main plugin location. Tries to prevent possible name confusions between blosxom plugins and CPAN directories names.
Barijaona Ramaholimihaso [Mon, 24 Sep 2007 16:21:10 +0000 (16:21 +0000)]
Avoid use of module Time::localtime
Barijaona Ramaholimihaso [Sat, 22 Sep 2007 11:35:18 +0000 (11:35 +0000)]
Applied perltidy with PBP settings for the 'generate' and 'nice_date' subs.
Barijaona Ramaholimihaso [Sat, 22 Sep 2007 11:29:26 +0000 (11:29 +0000)]
Applied perltidy with PBP settings for everything before the 'generate' sub
Barijaona Ramaholimihaso [Sat, 22 Sep 2007 11:24:57 +0000 (11:24 +0000)]
Avoid "conditional and" for checking after plugins "start" and stuffing @plugins
Barijaona Ramaholimihaso [Sat, 22 Sep 2007 11:02:45 +0000 (11:02 +0000)]
Avoid "conditional and" for setting $hr12
Barijaona Ramaholimihaso [Sat, 22 Sep 2007 10:52:23 +0000 (10:52 +0000)]
Avoid "conditional and" for running plugins "end"
Barijaona Ramaholimihaso [Sat, 22 Sep 2007 10:46:05 +0000 (10:46 +0000)]
Avoid "conditional and" for running plugins "template"
Barijaona Ramaholimihaso [Sat, 22 Sep 2007 10:12:27 +0000 (10:12 +0000)]
Avoid "conditional and" for testing if $date should be added to $output
Barijaona Ramaholimihaso [Sat, 22 Sep 2007 09:09:19 +0000 (09:09 +0000)]
Avoid "conditional and" for running plugins "date"
Barijaona Ramaholimihaso [Sat, 22 Sep 2007 09:02:49 +0000 (09:02 +0000)]
Avoid "conditional and" for setting the %f entries hash
Barijaona Ramaholimihaso [Sat, 22 Sep 2007 09:00:24 +0000 (09:00 +0000)]
Avoid "conditional and" for running plugins "filter"
Barijaona Ramaholimihaso [Sat, 22 Sep 2007 08:56:39 +0000 (08:56 +0000)]
Avoid "conditional and" for running plugins "entries"
Barijaona Ramaholimihaso [Sat, 22 Sep 2007 08:53:49 +0000 (08:53 +0000)]
Avoid "conditional and" in default entries sub
Barijaona Ramaholimihaso [Sat, 22 Sep 2007 08:33:28 +0000 (08:33 +0000)]
Avoid "conditional and" for setting $static_or_dynamic
Barijaona Ramaholimihaso [Sat, 22 Sep 2007 08:28:38 +0000 (08:28 +0000)]
Avoid "conditional and" for adding header to $output
Barijaona Ramaholimihaso [Sat, 22 Sep 2007 06:24:13 +0000 (06:24 +0000)]
Avoid "conditional and" for running plugins "last"
Barijaona Ramaholimihaso [Sat, 22 Sep 2007 06:22:43 +0000 (06:22 +0000)]
Avoid "conditional and" for running plugins "foot"
Barijaona Ramaholimihaso [Sat, 22 Sep 2007 06:21:01 +0000 (06:21 +0000)]
Avoid "conditional and" for running plugins "story"
Barijaona Ramaholimihaso [Sat, 22 Sep 2007 06:18:04 +0000 (06:18 +0000)]
Avoid "conditional and" for running plugins "sort"
Barijaona Ramaholimihaso [Sat, 22 Sep 2007 06:14:53 +0000 (06:14 +0000)]
Avoid "conditional and" for running plugins "head"
Barijaona Ramaholimihaso [Sat, 22 Sep 2007 06:10:58 +0000 (06:10 +0000)]
Avoid "conditional and" for running plugins "interpolate"
Barijaona Ramaholimihaso [Sat, 22 Sep 2007 06:09:02 +0000 (06:09 +0000)]
Avoid "conditional and" for running plugins "skip"
Barijaona Ramaholimihaso [Sat, 22 Sep 2007 06:03:45 +0000 (06:03 +0000)]
Avoid "conditional and" for preparing file list in static rendering
Barijaona Ramaholimihaso [Sat, 22 Sep 2007 05:55:03 +0000 (05:55 +0000)]
Avoid "conditional and" for preparing $path_info
Barijaona Ramaholimihaso [Sat, 22 Sep 2007 05:52:10 +0000 (05:52 +0000)]
Avoid "conditional and" for fixing $depth
Barijaona Ramaholimihaso [Wed, 19 Sep 2007 04:10:15 +0000 (04:10 +0000)]
More explicit warning if a plugin fails to load
Gavin Carr [Tue, 18 Sep 2007 11:15:59 +0000 (11:15 +0000)]
Add support for multiple plugin directories using $plugin_path.
Gavin Carr [Tue, 18 Sep 2007 05:29:26 +0000 (05:29 +0000)]
Add $blog_encoding back to default content_type flavours, and simple content_type interpolation.
Gavin Carr [Tue, 18 Sep 2007 05:26:20 +0000 (05:26 +0000)]
Revert the 1.27 change (mixed changesets).
Gavin Carr [Tue, 18 Sep 2007 05:20:45 +0000 (05:20 +0000)]
Add $blog_encoding back to default content_type flavours, and simple content_type interpolation.
Barijaona Ramaholimihaso [Tue, 18 Sep 2007 02:09:06 +0000 (02:09 +0000)]
Reverted the 1.24 change.
Barijaona Ramaholimihaso [Mon, 17 Sep 2007 05:15:21 +0000 (05:15 +0000)]
Added a $blog_encoding variable which can be used in the various templates. Updated the default HTML and RSS templates. The default RSS template is now RSS2 compliant.
Barijaona Ramaholimihaso [Mon, 17 Sep 2007 04:17:05 +0000 (04:17 +0000)]
We make the content_type template pass through the &interpolate routine like other templates ; this is a building block to pass the encoding as a parameter. Done early inside the generate routine so that plugins that expect a real content_type will get something sane.
Barijaona Ramaholimihaso [Mon, 17 Sep 2007 03:52:30 +0000 (03:52 +0000)]
Introduces a $utc_offset variable which stores the offset between local time and universal time, in a convenient format for building rfc822 and iso8601 compliant dates.
Gavin Carr [Tue, 11 Sep 2007 12:30:41 +0000 (12:30 +0000)]
Add missing </p> to default error head flavour.
Gavin Carr [Tue, 11 Sep 2007 12:12:11 +0000 (12:12 +0000)]
Add support for $plugin_list plugin config file.
Gavin Carr [Sun, 9 Sep 2007 22:35:22 +0000 (22:35 +0000)]
Add external config support via BLOSXOM_CONFIG_DIR and BLOSXOM_CONFIG_FILE env variables.
Gavin Carr [Wed, 29 Aug 2007 12:52:59 +0000 (12:52 +0000)]
Change plugin loading to use @INC instead of fixed $plugin_dir.
Barijaona Ramaholimihaso [Sat, 25 Aug 2007 08:14:40 +0000 (08:14 +0000)]
Replaced references to blosxom.com with blosxom.sourceforge.net
Kevin Scaldeferri [Sat, 29 Jul 2006 01:04:17 +0000 (01:04 +0000)]
rejiggered things to deal with changing timestamps
Kevin Scaldeferri [Tue, 25 Jul 2006 23:08:51 +0000 (23:08 +0000)]
added initial test suite version
Kevin Scaldeferri [Mon, 17 Jul 2006 17:31:59 +0000 (17:31 +0000)]
bump version number
Kevin Scaldeferri [Mon, 17 Jul 2006 02:27:42 +0000 (02:27 +0000)]
added changelog for 2.0.2