[Bps-public-commit] r16636 - in RT-Authen-ExternalAuth/trunk: html/Callbacks/ExternalAuth/autohandler lib/RT/Authen

zordrak at bestpractical.com zordrak at bestpractical.com
Fri Oct 31 07:46:21 EDT 2008


Author: zordrak
Date: Fri Oct 31 07:46:19 2008
New Revision: 16636

Modified:
   RT-Authen-ExternalAuth/trunk/ChangeLog
   RT-Authen-ExternalAuth/trunk/html/Callbacks/ExternalAuth/autohandler/Auth
   RT-Authen-ExternalAuth/trunk/lib/RT/Authen/ExternalAuth.pm

Log:
RT::Authen::ExternalAuth v0.06_03

Modified: RT-Authen-ExternalAuth/trunk/ChangeLog
==============================================================================
--- RT-Authen-ExternalAuth/trunk/ChangeLog	(original)
+++ RT-Authen-ExternalAuth/trunk/ChangeLog	Fri Oct 31 07:46:19 2008
@@ -1,20 +1,53 @@
-	* update README to talk about removing old files in local/
-	* complain if a user doesn't specify a d_filter
-	* Check the return value from calling RT::User::Create
-	* Check the return value when loading an autocreated user
+v0.06_03 2008-10-31    Mike Peachey <zordrak at cpan.org>
+                       Kevin Falcone <falcone at cpan.org>
 
-v0.06_02    2008-10-17	Kevin Falcone <falcone at cpan.org>
+    * html/Callbacks/ExternalAuth/autohandler/Auth
+            
+        Add fix to work around a plugin bug in RT-3.8.0 & RT-3.8.1
+        preventing User_Vendor.pm overlay being required before
+        RT::User is loaded.
+        
+        Check the return value from calling RT::User::Create. 
+
+        Check the return value when loading an autocreated user.
+
+    * README
+            
+        Updated to talk about removing old files in local/.
+
+    * lib/RT/Authen/User_Vendor.pm
+
+        Added error-checking to complain if a an LDAP configuration is
+        in use, but no d_filter has been specified.
 
-	* update changelog
+    * lib/RT/Authen/ExternalAuth.pm
+
+        Version updated to 0.06_03.
 
-v0.06_01    2008-10-17	Kevin Falcone <falcone at cpan.org>
+    * ChangeLog
 
-	* lib/RT/Authen/User_Vendor.pm
+        General clean-up.
 
-	Add a patch to be compatible with 3.8
 
-	* Upgrade Module::Install::RTx to work better
-	  with 3.8
+v0.06_02 2008-10-01    Kevin Falcone <falcone at cpan.org>
+
+    * ChangeLog
+
+       Updates to previous release.
+
+    * lib/RT/Authen/ExternalAuth.pm
+
+        Version updated to 0.06_02.
+
+
+v0.06_01 2008-10-17    Kevin Falcone <falcone at cpan.org>
+
+    * lib/RT/Authen/User_Vendor.pm
+
+        Add a patch to be compatible with 3.8
+
+    * Upgrade Module::Install::RTx to work better with RT-3.8.x
+
 
 v0.05    2008-04-09    Mike Peachey <zordrak at cpan.org>
 
@@ -47,6 +80,7 @@
 
         Version updated to 0.05
 
+
 v0.04    2008-04-03    Mike Peachey <zordrak at cpan.org>
 
     * etc/RT_SiteConfig.pm
@@ -65,6 +99,7 @@
 
         Version updated to 0.04
 
+
 v0.03    2008-03-31    Mike Peachey <zordrak at cpan.org>
 
     * html/Callbacks/ExternalAuth/autohandler/Auth 
@@ -99,6 +134,7 @@
 
         Version updated to 0.03
 
+
 v0.02    2008-03-17    Mike Peachey <zordrak at cpan.org>
 
     * lib/RT/User_Vendor.pm
@@ -121,6 +157,7 @@
 
         Version updated to 0.02
 
+
 v0.01    2008-03-13    Mike Peachey <zordrak at cpan.org>
 
     * Initial Release

Modified: RT-Authen-ExternalAuth/trunk/html/Callbacks/ExternalAuth/autohandler/Auth
==============================================================================
--- RT-Authen-ExternalAuth/trunk/html/Callbacks/ExternalAuth/autohandler/Auth	(original)
+++ RT-Authen-ExternalAuth/trunk/html/Callbacks/ExternalAuth/autohandler/Auth	Fri Oct 31 07:46:19 2008
@@ -1,5 +1,15 @@
 <%init>
 
+# If the RT::User::UpdateFromExternal method is not available, then we are in
+# RT-3.8.0 or RT-3.8.1 and we need to work around a bug in the plugin system:
+# Temporarily force RT to reload RT::User, since it isn't being loaded
+# correctly as a plugin.
+unless (RT::User->can('UpdateFromExternal')) {
+    $RT::Logger->error("Working around bug in RT and reloading RT::User");
+    delete $INC{'RT/User.pm'};
+    require RT::User;
+}
+
 # If the user is logging in, let's authenticate; if they can auth but don't load
 # (e.g. they don't have an account but external auth succeeds), we'll autocreate
 # their account.

Modified: RT-Authen-ExternalAuth/trunk/lib/RT/Authen/ExternalAuth.pm
==============================================================================
--- RT-Authen-ExternalAuth/trunk/lib/RT/Authen/ExternalAuth.pm	(original)
+++ RT-Authen-ExternalAuth/trunk/lib/RT/Authen/ExternalAuth.pm	Fri Oct 31 07:46:19 2008
@@ -1,6 +1,6 @@
 package RT::Authen::ExternalAuth;
 
-our $VERSION = '0.06_02';
+our $VERSION = '0.06_03';
 
 =head1 NAME
 



More information about the Bps-public-commit mailing list