Author: dom
Date: 2006-06-08 22:54:59 +0100 (Thu, 08 Jun 2006)
New Revision: 805
Modified:
trunk/Changes
trunk/PREREQUISITES
trunk/lib/OpenGuides.pm
trunk/wiki.cgi
Log:
No, not a real release yet
Modified: trunk/Changes
===================================================================
--- trunk/Changes 2006-06-08 21:30:28 UTC (rev 804)
+++ trunk/Changes 2006-06-08 21:54:59 UTC (rev 805)
@@ -1,6 +1,6 @@
"#" items refer to tickets. See <http://dev.openguides.org/report/9> for details.
-0.55
+0.54_02 8 June 2006
Pass the feed_listing (currently just recent_changes) through all
the feed related code, rather than assuming it'll only ever be
recent changes. Will allow other listings of nodes to be handled
Modified: trunk/PREREQUISITES
===================================================================
--- trunk/PREREQUISITES 2006-06-08 21:30:28 UTC (rev 804)
+++ trunk/PREREQUISITES 2006-06-08 21:54:59 UTC (rev 805)
@@ -1,5 +1,5 @@
-Modules required by OpenGuides 0.55
-===================================
+Modules required by OpenGuides 0.54_02
+======================================
Algorithm::Diff (version 0.13 or later. Note that the latest version uses
.zip rather than .tar.gz and breaks some automated installs)
Modified: trunk/lib/OpenGuides.pm
===================================================================
--- trunk/lib/OpenGuides.pm 2006-06-08 21:30:28 UTC (rev 804)
+++ trunk/lib/OpenGuides.pm 2006-06-08 21:54:59 UTC (rev 805)
@@ -14,7 +14,7 @@
use vars qw( $VERSION );
-$VERSION = '0.55';
+$VERSION = '0.54_02';
=head1 NAME
Modified: trunk/wiki.cgi
===================================================================
--- trunk/wiki.cgi 2006-06-08 21:30:28 UTC (rev 804)
+++ trunk/wiki.cgi 2006-06-08 21:54:59 UTC (rev 805)
@@ -4,7 +4,7 @@
use warnings;
use vars qw( $VERSION );
-$VERSION = '0.55';
+$VERSION = '0.54_02';
use CGI qw/:standard/;
use CGI::Carp qw(croak);
Author: dom
Date: 2006-06-08 22:30:28 +0100 (Thu, 08 Jun 2006)
New Revision: 804
Modified:
trunk/Changes
trunk/t/11_utils.t
Log:
test fix for wiki::toolkit change (we won't be releasing quite yet then)
Modified: trunk/Changes
===================================================================
--- trunk/Changes 2006-06-08 21:14:25 UTC (rev 803)
+++ trunk/Changes 2006-06-08 21:30:28 UTC (rev 804)
@@ -1,6 +1,6 @@
"#" items refer to tickets. See <http://dev.openguides.org/report/9> for details.
-0.55 8 June 2006
+0.55
Pass the feed_listing (currently just recent_changes) through all
the feed related code, rather than assuming it'll only ever be
recent changes. Will allow other listings of nodes to be handled
Modified: trunk/t/11_utils.t
===================================================================
--- trunk/t/11_utils.t 2006-06-08 21:14:25 UTC (rev 803)
+++ trunk/t/11_utils.t 2006-06-08 21:30:28 UTC (rev 804)
@@ -1,4 +1,5 @@
use strict;
+use Wiki::Toolkit::Setup::SQLite;
use OpenGuides::Config;
use OpenGuides::Utils;
use Test::More tests => 7;
@@ -16,6 +17,11 @@
skip "DBD::SQLite not installed - no database to test with", 5
unless $have_sqlite;
+ # Clear out the database from any previous runs.
+ unlink "t/node.db";
+ unlink <t/indexes/*>;
+ Wiki::Toolkit::Setup::SQLite::setup( { dbname => "t/node.db" } );
+
my $config = OpenGuides::Config->new(
vars => {
dbtype => "sqlite",
Author: dom
Date: 2006-06-08 22:14:25 +0100 (Thu, 08 Jun 2006)
New Revision: 803
Modified:
trunk/Changes
trunk/PREREQUISITES
trunk/lib/OpenGuides.pm
trunk/wiki.cgi
Log:
Let's try a release
Modified: trunk/Changes
===================================================================
--- trunk/Changes 2006-06-06 10:55:16 UTC (rev 802)
+++ trunk/Changes 2006-06-08 21:14:25 UTC (rev 803)
@@ -1,6 +1,6 @@
"#" items refer to tickets. See <http://dev.openguides.org/report/9> for details.
-0.54_02
+0.55 8 June 2006
Pass the feed_listing (currently just recent_changes) through all
the feed related code, rather than assuming it'll only ever be
recent changes. Will allow other listings of nodes to be handled
Modified: trunk/PREREQUISITES
===================================================================
--- trunk/PREREQUISITES 2006-06-06 10:55:16 UTC (rev 802)
+++ trunk/PREREQUISITES 2006-06-08 21:14:25 UTC (rev 803)
@@ -1,5 +1,5 @@
-Modules required by OpenGuides 0.54_01
-======================================
+Modules required by OpenGuides 0.55
+===================================
Algorithm::Diff (version 0.13 or later. Note that the latest version uses
.zip rather than .tar.gz and breaks some automated installs)
Modified: trunk/lib/OpenGuides.pm
===================================================================
--- trunk/lib/OpenGuides.pm 2006-06-06 10:55:16 UTC (rev 802)
+++ trunk/lib/OpenGuides.pm 2006-06-08 21:14:25 UTC (rev 803)
@@ -14,7 +14,7 @@
use vars qw( $VERSION );
-$VERSION = '0.54_01';
+$VERSION = '0.55';
=head1 NAME
Modified: trunk/wiki.cgi
===================================================================
--- trunk/wiki.cgi 2006-06-06 10:55:16 UTC (rev 802)
+++ trunk/wiki.cgi 2006-06-08 21:14:25 UTC (rev 803)
@@ -4,7 +4,7 @@
use warnings;
use vars qw( $VERSION );
-$VERSION = '0.54_01';
+$VERSION = '0.55';
use CGI qw/:standard/;
use CGI::Carp qw(croak);
Author: nick
Date: 2006-06-01 17:41:11 +0100 (Thu, 01 Jun 2006)
New Revision: 799
Modified:
trunk/lib/OpenGuides/Search.pm
Log:
Add in a guide to how the searching code works, to aid in following it
Modified: trunk/lib/OpenGuides/Search.pm
===================================================================
--- trunk/lib/OpenGuides/Search.pm 2006-06-01 15:34:58 UTC (rev 798)
+++ trunk/lib/OpenGuides/Search.pm 2006-06-01 16:41:11 UTC (rev 799)
@@ -118,6 +118,19 @@
These two parameters exist to make testing easier; you probably don't
want to use them in production.
+
+In case you're struggling to follow the code, it does the following:
+1) Processes the parameters, and bails out if it hit a problem with them
+2) If a search string was given, do a text search
+3) If distance search paramaters were given, do a distance search
+4) If no search has occured, print out the search form
+5) If an error occured, bail out
+6) If we got a single hit on a string search, redirect to it
+7) If no results were found, give an empty search results page
+8) Sort the results by either score or distance
+9) Decide which results to show, based on paging
+10) Display the appropriate page of the results
+
=back
=cut