[Bps-public-commit] RT-Authen-Bitcard branch, master, updated. 45189507f28eb3bdd6850e23af85bb81dfdf8c50

Kevin Falcone falcone at bestpractical.com
Tue May 29 16:47:50 EDT 2012


The branch, master has been updated
       via  45189507f28eb3bdd6850e23af85bb81dfdf8c50 (commit)
       via  f235fa3f088df81f5dc372b15e79fad83616a995 (commit)
      from  f2c8ad36d819ad2a5e42c54df89ac8e4f47569eb (commit)

Summary of changes:
 MANIFEST                 |    3 +++
 lib/RT/Authen/Bitcard.pm |   10 ++++++++--
 2 files changed, 11 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit f235fa3f088df81f5dc372b15e79fad83616a995
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Sun May 6 17:07:11 2012 -0400

    Push bitcard onto the ReferrerWhitelist
    
    We have to frob META so that Set() knows how to handle it.
    This will get better in a future RT release which ships the
    complete %META

diff --git a/lib/RT/Authen/Bitcard.pm b/lib/RT/Authen/Bitcard.pm
index 75ed048..c09822d 100644
--- a/lib/RT/Authen/Bitcard.pm
+++ b/lib/RT/Authen/Bitcard.pm
@@ -44,6 +44,12 @@ my %RT2BC = (
 );
 my %BC2RT = reverse %RT2BC;
 
+require RT::Config;
+unless (exists $RT::Config::META{'ReferrerWhitelist'}) {  # future RT versions will fix this
+    $RT::Config::META{'ReferrerWhitelist'} = { Type => 'ARRAY' };
+}
+RT->Config->Set('ReferrerWhitelist',('www.bitcard.org:443',RT->Config->Get('ReferrerWhitelist')));
+
 sub Handler {
     my $self = shift;
 

commit 45189507f28eb3bdd6850e23af85bb81dfdf8c50
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Sun May 6 17:12:12 2012 -0400

    Prep for a 0.04_01 release

diff --git a/MANIFEST b/MANIFEST
index 156f21d..701932b 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -4,10 +4,13 @@ html/Callbacks/Bitcard/Elements/Header/Default
 html/Callbacks/Bitcard/Elements/Login/Default
 html/Callbacks/Bitcard/NoAuth/Logout.html/AfterSessionDelete
 html/Callbacks/Bitcard/NoAuth/Logout.html/BeforeSessionDelete
+inc/Module/AutoInstall.pm
 inc/Module/Install.pm
+inc/Module/Install/AutoInstall.pm
 inc/Module/Install/Base.pm
 inc/Module/Install/Can.pm
 inc/Module/Install/Fetch.pm
+inc/Module/Install/Include.pm
 inc/Module/Install/Makefile.pm
 inc/Module/Install/Metadata.pm
 inc/Module/Install/RTx.pm
diff --git a/lib/RT/Authen/Bitcard.pm b/lib/RT/Authen/Bitcard.pm
index c09822d..e7efd76 100644
--- a/lib/RT/Authen/Bitcard.pm
+++ b/lib/RT/Authen/Bitcard.pm
@@ -4,7 +4,7 @@ use warnings;
 
 package RT::Authen::Bitcard;
 
-our $VERSION = '0.04';
+our $VERSION = '0.04_01';
 
 use Authen::Bitcard 0.86;
 
@@ -118,7 +118,7 @@ Kevin Riggle E<lt>kevinr at bestpractical.comE<gt>
 
 =head1 COPYRIGHT
 
-This extension is Copyright (C) 2005-2008 Best Practical Solutions, LLC.
+This extension is Copyright (C) 2005-2012 Best Practical Solutions, LLC.
 
 It is freely redistributable under the terms of version 2 of the GNU GPL.
 

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list