[Bps-public-commit] rt-extension-formtools branch, master, updated. 0.07_07-12-gb655f89
Kevin Falcone
falcone at bestpractical.com
Thu Dec 15 21:26:57 EST 2011
The branch, master has been updated
via b655f895e171c3b5c05138efb4456c8c74e7e964 (commit)
via af43fe421f9f3717e1fb9dfb28039dc19213db09 (commit)
via 324f2b2268f6106af0f8b1bd8f6210d80580b81b (commit)
via aa2a7924901daf0830a62a866192bea8e4f20293 (commit)
via f734e120adc44811f21ea9b57fc867d290b1a391 (commit)
via a6f5444f5fe019c1b84bf68fcf853122c9af0497 (commit)
via ebcef6ae31cd0842164ad5624a9d69cd1cb6f0a6 (commit)
via e2a43620cf93d89ae91e9585cc086879e8bb34d8 (commit)
via bdd2aef1e0f36b3ef10672a7cc63cbbfeec51a86 (commit)
via eba88a2803cb88fe15658d944b9699c042571ac0 (commit)
via 35daccbd264c19e29d2aac4acfd2b43327c8502a (commit)
via 2ecf5ecb9f28a324097b8318e31d2d355dfc5d97 (commit)
via 315cc43404e39580c4b77d19cde517e798b7b620 (commit)
via aff1544b44e6b722b5e04e94e747e03e4c3bed4d (commit)
via 038e7b4a2dba9d8d90d34c1d8531a54a98ce4af3 (commit)
via 9d20423fffe0c6efa6ec0efc3ac47ff221908cf1 (commit)
via bc8eca9e7f89d09e90ffd08852fcede8f8ff58de (commit)
via 6bd1dd1b33eacec750c2f80335afaf5d32d09b70 (commit)
via 52ceb222f983bf9885a75231cdd0bc99b4d1c15a (commit)
via 896e094899279bd570e5fee345ded9acda9eecd8 (commit)
via 9a22f0e9cfeeba34cfeee045974bbd93d20f0b2b (commit)
via 1552db34add4be0e214da0d562bc605bf8534e74 (commit)
via 66ea4523bd146917a4b0e3f8f9d4676d3a64cd6a (commit)
via 45938a407df7a3d4a4239361dc2e9cc861b6ab99 (commit)
via e35bbc4f7c972d41e50cee74d3c3e01afdaecec5 (commit)
via 4d85a92fe843a20165833fa73aa19b3bfa7646b4 (commit)
via a262a4ccc7ab26457820c8b4aabb8b3f08b8a954 (commit)
via ddbeed85d26d48aca98e11bbdbe45d336c4a97d2 (commit)
from 972b4e351e783749b39f0330ae9147fe8064c153 (commit)
Summary of changes:
MANIFEST | 2 +
html/Callbacks/FormTools/Elements/Header/Head | 1 +
html/FormTools/Field | 97 ++++-
html/FormTools/Form | 4 +-
html/NoAuth/js/form_tools.js | 42 ++
inc/Module/Install.pm | 273 +++++++++----
inc/Module/Install/Base.pm | 65 ++--
inc/Module/Install/Can.pm | 20 +-
inc/Module/Install/Fetch.pm | 8 +-
inc/Module/Install/Makefile.pm | 264 ++++++++++---
inc/Module/Install/Metadata.pm | 539 ++++++++++++++++++-------
inc/Module/Install/RTx.pm | 52 +++-
inc/Module/Install/Win32.pm | 6 +-
inc/Module/Install/WriteAll.pm | 31 ++-
lib/RT/Extension/FormTools.pm | 2 +-
15 files changed, 1037 insertions(+), 369 deletions(-)
create mode 100644 html/Callbacks/FormTools/Elements/Header/Head
create mode 100644 html/NoAuth/js/form_tools.js
- Log -----------------------------------------------------------------
commit aa2a7924901daf0830a62a866192bea8e4f20293
Merge: 972b4e3 f734e12
Author: Kevin Falcone <kevin at jibsheet.com>
Date: Thu Dec 15 21:19:15 2011 -0500
Merge branch 'stop-storing-password'
diff --cc html/FormTools/Field
index a36d181,e9ba723..5151325
--- a/html/FormTools/Field
+++ b/html/FormTools/Field
@@@ -112,12 -151,10 +151,14 @@@ unless ( $default )
% } else { # CF
+% unless ($render_as eq 'normal') {
+<input type="hidden" class="hidden" name="<%$NamePrefix . $cf->Id %>-Values-Magic" value="1" />
+% }
+
- % if ($render_as eq 'normal') {
+ % if ($render_as eq 'hidden') {
+ <input type="hidden" class="hidden" name=<% $input_name %> value="<% $default %>">
+ % } elsif ($render_as eq 'normal') {
<& /Elements/EditCustomField, Object => $queue, CustomField => $cf, NamePrefix => $NamePrefix,
($cf->Type =~ /text/i) ? (Cols => $cols ||60) : (),
($cf->Type =~ /freeform/i) ? (Cols => $cols ||30) : (),
commit 324f2b2268f6106af0f8b1bd8f6210d80580b81b
Author: Kevin Falcone <kevin at jibsheet.com>
Date: Thu Dec 15 21:20:02 2011 -0500
upgrade MI/MIRTx
diff --git a/inc/Module/Install.pm b/inc/Module/Install.pm
index 8ee839d..74caf9c 100644
--- a/inc/Module/Install.pm
+++ b/inc/Module/Install.pm
@@ -31,7 +31,7 @@ BEGIN {
# This is not enforced yet, but will be some time in the next few
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
- $VERSION = '1.00';
+ $VERSION = '1.01';
# Storage for the pseudo-singleton
$MAIN = undef;
@@ -467,4 +467,4 @@ sub _CLASS ($) {
1;
-# Copyright 2008 - 2010 Adam Kennedy.
+# Copyright 2008 - 2011 Adam Kennedy.
diff --git a/inc/Module/Install/Base.pm b/inc/Module/Install/Base.pm
index b55bda3..d3662c9 100644
--- a/inc/Module/Install/Base.pm
+++ b/inc/Module/Install/Base.pm
@@ -4,7 +4,7 @@ package Module::Install::Base;
use strict 'vars';
use vars qw{$VERSION};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.01';
}
# Suspend handler for "redefined" warnings
diff --git a/inc/Module/Install/Can.pm b/inc/Module/Install/Can.pm
index 71ccc27..276409a 100644
--- a/inc/Module/Install/Can.pm
+++ b/inc/Module/Install/Can.pm
@@ -9,7 +9,7 @@ use Module::Install::Base ();
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.01';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
diff --git a/inc/Module/Install/Fetch.pm b/inc/Module/Install/Fetch.pm
index ec1f106..093cb7a 100644
--- a/inc/Module/Install/Fetch.pm
+++ b/inc/Module/Install/Fetch.pm
@@ -6,7 +6,7 @@ use Module::Install::Base ();
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.01';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
diff --git a/inc/Module/Install/Makefile.pm b/inc/Module/Install/Makefile.pm
index 5dfd0e9..4c71003 100644
--- a/inc/Module/Install/Makefile.pm
+++ b/inc/Module/Install/Makefile.pm
@@ -8,7 +8,7 @@ use Fcntl qw/:flock :seek/;
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.01';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
diff --git a/inc/Module/Install/Metadata.pm b/inc/Module/Install/Metadata.pm
index cfe45b3..3b01e09 100644
--- a/inc/Module/Install/Metadata.pm
+++ b/inc/Module/Install/Metadata.pm
@@ -6,7 +6,7 @@ use Module::Install::Base ();
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.01';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
@@ -515,6 +515,7 @@ sub __extract_license {
'GNU Free Documentation license' => 'unrestricted', 1,
'GNU Affero General Public License' => 'open_source', 1,
'(?:Free)?BSD license' => 'bsd', 1,
+ 'Artistic license 2\.0' => 'artistic_2', 1,
'Artistic license' => 'artistic', 1,
'Apache (?:Software )?license' => 'apache', 1,
'GPL' => 'gpl', 1,
@@ -550,9 +551,9 @@ sub license_from {
sub _extract_bugtracker {
my @links = $_[0] =~ m#L<(
- \Qhttp://rt.cpan.org/\E[^>]+|
- \Qhttp://github.com/\E[\w_]+/[\w_]+/issues|
- \Qhttp://code.google.com/p/\E[\w_\-]+/issues/list
+ https?\Q://rt.cpan.org/\E[^>]+|
+ https?\Q://github.com/\E[\w_]+/[\w_]+/issues|
+ https?\Q://code.google.com/p/\E[\w_\-]+/issues/list
)>#gx;
my %links;
@links{@links}=();
diff --git a/inc/Module/Install/RTx.pm b/inc/Module/Install/RTx.pm
index b83e279..73b9cda 100644
--- a/inc/Module/Install/RTx.pm
+++ b/inc/Module/Install/RTx.pm
@@ -8,7 +8,7 @@ no warnings 'once';
use Module::Install::Base;
use base 'Module::Install::Base';
-our $VERSION = '0.28';
+our $VERSION = '0.29';
use FindBin;
use File::Glob ();
diff --git a/inc/Module/Install/Win32.pm b/inc/Module/Install/Win32.pm
index edc18b4..3139a63 100644
--- a/inc/Module/Install/Win32.pm
+++ b/inc/Module/Install/Win32.pm
@@ -6,7 +6,7 @@ use Module::Install::Base ();
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.01';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
diff --git a/inc/Module/Install/WriteAll.pm b/inc/Module/Install/WriteAll.pm
index d0f6599..1f724a7 100644
--- a/inc/Module/Install/WriteAll.pm
+++ b/inc/Module/Install/WriteAll.pm
@@ -6,7 +6,7 @@ use Module::Install::Base ();
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.01';
@ISA = qw{Module::Install::Base};
$ISCORE = 1;
}
commit af43fe421f9f3717e1fb9dfb28039dc19213db09
Merge: aa2a792 324f2b2
Author: Kevin Falcone <kevin at jibsheet.com>
Date: Thu Dec 15 21:20:38 2011 -0500
Merge branch 'disabling-fields'
Conflicts:
lib/RT/Extension/FormTools.pm
commit b655f895e171c3b5c05138efb4456c8c74e7e964
Author: Kevin Falcone <kevin at jibsheet.com>
Date: Thu Dec 15 21:24:50 2011 -0500
Bump version
diff --git a/lib/RT/Extension/FormTools.pm b/lib/RT/Extension/FormTools.pm
index 105ce8b..c093e7b 100644
--- a/lib/RT/Extension/FormTools.pm
+++ b/lib/RT/Extension/FormTools.pm
@@ -3,7 +3,7 @@ use strict;
package RT::Extension::FormTools;
-our $VERSION = '0.07_07';
+our $VERSION = '0.10_01';
=head2 is_core_field
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list