[Bps-public-commit] rt-extension-manageautocreatedusers branch, master, updated. 0.08-3-g45a501f

Wallace Reis wreis at bestpractical.com
Thu Aug 28 20:31:06 EDT 2014


The branch, master has been updated
       via  45a501fc3e7063099463a9e8115b9d8092b7f990 (commit)
       via  b5ade7cc953872e2b9adea27d85d60192d50ea44 (commit)
       via  6e0c440427ec17806a2072bbda645c835423e78d (commit)
      from  a5be0014c1a2d440825b8b14697e2e53d75db085 (commit)

Summary of changes:
 Changes                                    | 4 ++++
 html/Admin/Tools/AutoCreatedUsers.html     | 5 +++--
 lib/RT/Extension/ManageAutoCreatedUsers.pm | 2 +-
 3 files changed, 8 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit 6e0c440427ec17806a2072bbda645c835423e78d
Author: Wallace Reis <wreis at bestpractical.com>
Date:   Thu Aug 28 21:25:06 2014 -0300

    Parametrize the number of rows

diff --git a/html/Admin/Tools/AutoCreatedUsers.html b/html/Admin/Tools/AutoCreatedUsers.html
index 63c4966..577ed1c 100644
--- a/html/Admin/Tools/AutoCreatedUsers.html
+++ b/html/Admin/Tools/AutoCreatedUsers.html
@@ -34,7 +34,7 @@ my $users = $manager->get_autocreated_users;
 <& /Elements/CollectionList,
     OrderBy => 'Name',
     Order => 'ASC',
-    Rows  => 25,
+    Rows  => RT->Config->Get('RTxAutoUserRows') || 25,
     %ARGS,
     Format => $Format,
     Collection => $users,

commit b5ade7cc953872e2b9adea27d85d60192d50ea44
Author: Wallace Reis <wreis at bestpractical.com>
Date:   Thu Aug 28 21:26:12 2014 -0300

    Fix POSTing for when CSRF token is involved

diff --git a/html/Admin/Tools/AutoCreatedUsers.html b/html/Admin/Tools/AutoCreatedUsers.html
index 577ed1c..9f2c2be 100644
--- a/html/Admin/Tools/AutoCreatedUsers.html
+++ b/html/Admin/Tools/AutoCreatedUsers.html
@@ -30,7 +30,8 @@ my $users = $manager->get_autocreated_users;
 
 % if ( $users->Count ) {
 
-<form name="manage-autocreated-users" action="" method="POST">
+<form name="manage-autocreated-users" action="<%RT->Config->Get('WebPath')%>/Admin/Tools/AutoCreatedUsers.html" method="POST">
+<input name="Page" type="hidden" value="<% $ARGS{'Page'} %>">
 <& /Elements/CollectionList,
     OrderBy => 'Name',
     Order => 'ASC',

commit 45a501fc3e7063099463a9e8115b9d8092b7f990
Author: Wallace Reis <wreis at bestpractical.com>
Date:   Thu Aug 28 21:28:55 2014 -0300

    Bump version and update changelog

diff --git a/Changes b/Changes
index 99cb30e..21d2956 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,9 @@
 Revision history for RT-Extension-ManageAutoCreatedUsers
 
+0.09     2014-08-28
+ - Parametrize the number of rows
+ - Fix POSTing for when CSRF token is involved
+
 0.08     2014-07-09
  - No code changes. Using new requires_rt_plugin helper.
 
diff --git a/lib/RT/Extension/ManageAutoCreatedUsers.pm b/lib/RT/Extension/ManageAutoCreatedUsers.pm
index 4a9927b..0e8f643 100644
--- a/lib/RT/Extension/ManageAutoCreatedUsers.pm
+++ b/lib/RT/Extension/ManageAutoCreatedUsers.pm
@@ -6,7 +6,7 @@ use RT::Extension::MergeUsers;
 use Scalar::Util 'blessed';
 use Module::Runtime 'use_module';
 
-our $VERSION = '0.08';
+our $VERSION = '0.09';
 
 RT->AddJavaScript('manage-autocreated-users.js');
 

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


More information about the Bps-public-commit mailing list