Author: dom Date: 2007-07-03 19:22:29 +0100 (Tue, 03 Jul 2007) New Revision: 1104
Modified: trunk/INSTALL trunk/t/69_bug_zero_geo.t trunk/t/77_send_email.t Log: Small cleanups prior to release
Modified: trunk/INSTALL =================================================================== --- trunk/INSTALL 2007-07-02 13:45:46 UTC (rev 1103) +++ trunk/INSTALL 2007-07-03 18:22:29 UTC (rev 1104) @@ -294,6 +294,11 @@ You will need to configure the above directory in your web server, then input the URL the content will be visible at here.
+ "Should we send email notifications when a moderated node is edited?" + +For spam avoidance, you can configure certain nodes to require moderation. +To ensure that such edits are noticed, OpenGuides can email you. + "Distance calculation methods available are: 1) British National Grid 2) Irish National Grid
Modified: trunk/t/69_bug_zero_geo.t =================================================================== --- trunk/t/69_bug_zero_geo.t 2007-07-02 13:45:46 UTC (rev 1103) +++ trunk/t/69_bug_zero_geo.t 2007-07-03 18:22:29 UTC (rev 1104) @@ -47,9 +47,6 @@
my %details = $guide->wiki->retrieve_node("Test Node");
-use Data::Dumper; -#print STDERR Dumper %details; - is( @{$details{metadata}->{os_x}}[0], 0, "Zero os_x saved" ); is( @{$details{metadata}->{os_y}}[0], 0, "Zero os_y saved" );
Modified: trunk/t/77_send_email.t =================================================================== --- trunk/t/77_send_email.t 2007-07-02 13:45:46 UTC (rev 1103) +++ trunk/t/77_send_email.t 2007-07-03 18:22:29 UTC (rev 1104) @@ -32,7 +32,8 @@ body => 'Test body' );
-like( $output, qr|^To: admin@example.com|m, "Admin address appropriately" ); +like( $output, qr|^To: admin@example.com|m, "Admin address used ". + "appropriately" );
eval { $output = OpenGuides::Utils->send_email( config => $config,
openguides-commits@lists.openguides.org