[Bps-public-commit] rt-extension-historyonchange branch, master, updated. c7f6ac9d71124bb3332b6001149424ab81f95312

Jim Brandt jbrandt at bestpractical.com
Thu Jan 2 14:12:16 EST 2014


The branch, master has been updated
       via  c7f6ac9d71124bb3332b6001149424ab81f95312 (commit)
       via  12fbfcf1142777cda56c5e20991aac280a6b00c5 (commit)
       via  4f1f61d4792b897a4810e66fa60713ec2e8dd76a (commit)
       via  90a9d26106b0fe91b1e29a0255d5eb1fed526ac2 (commit)
       via  7215c9c1fb1014e6cc6a92834ab234b05fffdbc7 (commit)
      from  7891c29f9cf97cae5aed2f4aaff07775decdf675 (commit)

Summary of changes:
 MANIFEST                            | 18 ++++++++++++++++++
 README                              | 17 ++++++++++++++---
 inc/Module/Install/ReadmeFromPod.pm |  2 +-
 lib/RT/Extension/HistoryOnChange.pm | 19 ++++++++++++++++---
 4 files changed, 49 insertions(+), 7 deletions(-)
 create mode 100644 MANIFEST

- Log -----------------------------------------------------------------
commit 7215c9c1fb1014e6cc6a92834ab234b05fffdbc7
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Thu Jan 2 11:45:59 2014 -0500

    Add description and update copyright date

diff --git a/README b/README
index 425ad21..be1b9f3 100644
--- a/README
+++ b/README
@@ -1,6 +1,13 @@
 NAME
     RT-Extension-HistoryOnChange - Show history on ticket modify page
 
+DESCRIPTION
+    Displays ticket history at the bottom of the the Basics page when you
+    modify values on a ticket.
+
+RT VERSIONS
+    Works with RT 4.2.
+
 INSTALLATION
     "perl Makefile.PL"
     "make"
@@ -51,7 +58,7 @@ BUGS
     Change>.
 
 LICENSE AND COPYRIGHT
-    This software is Copyright 2013 Best Practical Solutions, LLC.
+    This software is Copyright 2014 Best Practical Solutions, LLC.
 
     This is free software, licensed under:
 
diff --git a/lib/RT/Extension/HistoryOnChange.pm b/lib/RT/Extension/HistoryOnChange.pm
index 7d2d5c9..1c9090d 100644
--- a/lib/RT/Extension/HistoryOnChange.pm
+++ b/lib/RT/Extension/HistoryOnChange.pm
@@ -8,6 +8,15 @@ our $VERSION = '0.01';
 
 RT-Extension-HistoryOnChange - Show history on ticket modify page
 
+=head1 DESCRIPTION
+
+Displays ticket history at the bottom of the the Basics page when you modify
+values on a ticket.
+
+=head1 RT VERSIONS
+
+Works with RT 4.2.
+
 =head1 INSTALLATION 
 
 =over
@@ -61,7 +70,6 @@ ticket display history will continue to show the full history.
 
 sunnavy <sunnavy at bestpractical.com>
 
-
 =head1 BUGS
 
 All bugs should be reported via email to
@@ -72,7 +80,7 @@ L<rt.cpan.org|http://rt.cpan.org/Public/Dist/Display.html?Name=RT-Extension-Hist
 
 =head1 LICENSE AND COPYRIGHT
 
-This software is Copyright 2013 Best Practical Solutions, LLC.
+This software is Copyright 2014 Best Practical Solutions, LLC.
 
 This is free software, licensed under:
 

commit 90a9d26106b0fe91b1e29a0255d5eb1fed526ac2
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Thu Jan 2 11:47:22 2014 -0500

    Update Module::Install

diff --git a/inc/Module/Install/ReadmeFromPod.pm b/inc/Module/Install/ReadmeFromPod.pm
index 6a80818..b5e03c3 100644
--- a/inc/Module/Install/ReadmeFromPod.pm
+++ b/inc/Module/Install/ReadmeFromPod.pm
@@ -7,7 +7,7 @@ use warnings;
 use base qw(Module::Install::Base);
 use vars qw($VERSION);
 
-$VERSION = '0.20';
+$VERSION = '0.22';
 
 sub readme_from {
   my $self = shift;

commit 4f1f61d4792b897a4810e66fa60713ec2e8dd76a
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Thu Jan 2 11:51:34 2014 -0500

    Note RT version that requires included patch

diff --git a/README b/README
index be1b9f3..e047aaa 100644
--- a/README
+++ b/README
@@ -14,10 +14,12 @@ INSTALLATION
     "make install"
         May need root permissions
 
-    apply etc/history_on_change.diff
+    For RT 4.2.1, apply etc/history_on_change.diff
         patch /path/to/rt/share/html/Ticket/Modify.html <
         etc/history_on_change.diff
 
+        Not needed for RT 4.2.2 and later.
+
     Edit your /opt/rt4/etc/RT_SiteConfig.pm
         Add this line:
 
diff --git a/lib/RT/Extension/HistoryOnChange.pm b/lib/RT/Extension/HistoryOnChange.pm
index 1c9090d..5eda59f 100644
--- a/lib/RT/Extension/HistoryOnChange.pm
+++ b/lib/RT/Extension/HistoryOnChange.pm
@@ -29,10 +29,12 @@ Works with RT 4.2.
 
 May need root permissions
 
-=item apply etc/history_on_change.diff
+=item For RT 4.2.1, apply etc/history_on_change.diff
 
 patch /path/to/rt/share/html/Ticket/Modify.html < etc/history_on_change.diff
 
+Not needed for RT 4.2.2 and later.
+
 =item Edit your F</opt/rt4/etc/RT_SiteConfig.pm>
 
 Add this line:

commit 12fbfcf1142777cda56c5e20991aac280a6b00c5
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Thu Jan 2 13:51:19 2014 -0500

    Add MANIFEST

diff --git a/MANIFEST b/MANIFEST
new file mode 100644
index 0000000..53b18c6
--- /dev/null
+++ b/MANIFEST
@@ -0,0 +1,18 @@
+etc/history_on_change.diff
+html/Callbacks/HistoryOnChange/Elements/ShowHistory/SkipTransaction
+html/Callbacks/HistoryOnChange/Ticket/Modify.html/AfterForm
+inc/Module/Install.pm
+inc/Module/Install/Base.pm
+inc/Module/Install/Can.pm
+inc/Module/Install/Fetch.pm
+inc/Module/Install/Makefile.pm
+inc/Module/Install/Metadata.pm
+inc/Module/Install/ReadmeFromPod.pm
+inc/Module/Install/RTx.pm
+inc/Module/Install/Win32.pm
+inc/Module/Install/WriteAll.pm
+lib/RT/Extension/HistoryOnChange.pm
+Makefile.PL
+MANIFEST			This list of files
+META.yml
+README

commit c7f6ac9d71124bb3332b6001149424ab81f95312
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Thu Jan 2 13:57:06 2014 -0500

    Note new Plugin syntax

diff --git a/README b/README
index e047aaa..9b210f4 100644
--- a/README
+++ b/README
@@ -26,7 +26,9 @@ INSTALLATION
             Set(@Plugins, qw(RT::Extension::HistoryOnChange));
 
         or add "RT::Extension::HistoryOnChange" to your existing @Plugins
-        line.
+        line. Starting with RT 4.2 you can also use:
+
+            Plugin( "RT::Extension::HistoryOnChange" );
 
     Clear your mason cache
             rm -rf /opt/rt4/var/mason_data/obj
diff --git a/lib/RT/Extension/HistoryOnChange.pm b/lib/RT/Extension/HistoryOnChange.pm
index 5eda59f..e44d9f8 100644
--- a/lib/RT/Extension/HistoryOnChange.pm
+++ b/lib/RT/Extension/HistoryOnChange.pm
@@ -42,6 +42,9 @@ Add this line:
     Set(@Plugins, qw(RT::Extension::HistoryOnChange));
 
 or add C<RT::Extension::HistoryOnChange> to your existing C<@Plugins> line.
+Starting with RT 4.2 you can also use:
+
+    Plugin( "RT::Extension::HistoryOnChange" );
 
 =item Clear your mason cache
 

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



More information about the Bps-public-commit mailing list