[Bps-public-commit] rt-extension-quickreply branch, master, updated. 7091b1f0212734216c50e26dadc8c4659b57c75a

Jim Brandt jbrandt at bestpractical.com
Tue Dec 31 16:34:41 EST 2013


The branch, master has been updated
       via  7091b1f0212734216c50e26dadc8c4659b57c75a (commit)
       via  3eb57a52afeac67a5bb4584fbf6d31cb6f3d765d (commit)
       via  9aaa53dad3aea0a486b77f2233f12d633a0566b5 (commit)
       via  6848998ae2a6fb9c1f797b4b61e81968bbd6397b (commit)
      from  77818711caeceadaa55d4df3259e6742da10fe3f (commit)

Summary of changes:
 MANIFEST                               | 26 ++++++++++++++++++++++++++
 META.yml                               |  1 +
 html/Ticket/Elements/QuickReply        | 10 ----------
 inc/Module/Install/RTx.pm              | 11 +++++++++--
 inc/Module/Install/ReadmeFromPod.pm    |  2 +-
 lib/RT/Extension/QuickReply.pm         |  2 ++
 static/css/rt-extension-quickreply.css |  8 ++++++++
 7 files changed, 47 insertions(+), 13 deletions(-)
 create mode 100644 MANIFEST
 create mode 100644 static/css/rt-extension-quickreply.css

- Log -----------------------------------------------------------------
commit 6848998ae2a6fb9c1f797b4b61e81968bbd6397b
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Tue Dec 31 15:51:15 2013 -0500

    Update Module::Install files

diff --git a/inc/Module/Install/RTx.pm b/inc/Module/Install/RTx.pm
index c9fe996..ac04c79 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.31';
+our $VERSION = '0.32';
 
 use FindBin;
 use File::Glob     ();
@@ -136,6 +136,7 @@ install ::
         $has_etc{acl}++;
     }
     if ( -e 'etc/initialdata' ) { $has_etc{initialdata}++; }
+    if ( -d 'etc/upgrade/' )    { $has_etc{upgrade}++; }
 
     $self->postamble("$postamble\n");
     unless ( $subdirs{'lib'} ) {
@@ -164,6 +165,12 @@ install ::
 .
         $self->postamble("initdb ::\n$initdb\n");
         $self->postamble("initialize-database ::\n$initdb\n");
+        if ($has_etc{upgrade}) {
+            print "To upgrade from a previous version of this extension, use 'make upgrade-database'\n";
+            my $upgradedb = qq|\t\$(NOECHO) \$(PERL) -Ilib -I"$local_lib_path" -I"$lib_path" -Minc::Module::Install -e"RTxInitDB(qw(upgrade \$(NAME) \$(VERSION)))"\n|;
+            $self->postamble("upgrade-database ::\n$upgradedb\n");
+            $self->postamble("upgradedb ::\n$upgradedb\n");
+        }
     }
 }
 
@@ -209,4 +216,4 @@ sub requires_rt {
 
 __END__
 
-#line 329
+#line 336
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 9aaa53dad3aea0a486b77f2233f12d633a0566b5
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Tue Dec 31 15:52:31 2013 -0500

    Move style to separate style sheet

diff --git a/META.yml b/META.yml
index 3fdf50c..9ae4f7d 100644
--- a/META.yml
+++ b/META.yml
@@ -19,6 +19,7 @@ no_index:
     - etc
     - html
     - inc
+    - static
 resources:
   license: http://opensource.org/licenses/gpl-license.php
 version: 0.01
diff --git a/html/Ticket/Elements/QuickReply b/html/Ticket/Elements/QuickReply
index 06d6858..1b8efd4 100755
--- a/html/Ticket/Elements/QuickReply
+++ b/html/Ticket/Elements/QuickReply
@@ -102,16 +102,6 @@
     </form>
 </&>
 
-<style>
-#quick-reply {
-    display: block;
-    margin-right: 20%;
-}
-
-#quick-reply td.label {
-    width: 10%;
-}
-</style>
 <%INIT>
 my $CanRespond = 0;
 my $CanComment = 0;
diff --git a/lib/RT/Extension/QuickReply.pm b/lib/RT/Extension/QuickReply.pm
index 527c1ab..15ade16 100644
--- a/lib/RT/Extension/QuickReply.pm
+++ b/lib/RT/Extension/QuickReply.pm
@@ -4,6 +4,8 @@ package RT::Extension::QuickReply;
 
 our $VERSION = '0.01';
 
+RT->AddStyleSheets("rt-extension-quickreply.css");
+
 =head1 NAME
 
 RT-Extension-QuickReply - QuickReply on ticket display pages, etc.
diff --git a/static/css/rt-extension-quickreply.css b/static/css/rt-extension-quickreply.css
new file mode 100644
index 0000000..eea6dd3
--- /dev/null
+++ b/static/css/rt-extension-quickreply.css
@@ -0,0 +1,8 @@
+#quick-reply {
+    display: block;
+    margin-right: 20%;
+}
+
+#quick-reply td.label {
+    width: 10%;
+}

commit 3eb57a52afeac67a5bb4584fbf6d31cb6f3d765d
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Tue Dec 31 15:53:40 2013 -0500

    Make right margin smaller for better balance on page

diff --git a/static/css/rt-extension-quickreply.css b/static/css/rt-extension-quickreply.css
index eea6dd3..796924e 100644
--- a/static/css/rt-extension-quickreply.css
+++ b/static/css/rt-extension-quickreply.css
@@ -1,6 +1,6 @@
 #quick-reply {
     display: block;
-    margin-right: 20%;
+    margin-right: 10%;
 }
 
 #quick-reply td.label {

commit 7091b1f0212734216c50e26dadc8c4659b57c75a
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Tue Dec 31 15:54:48 2013 -0500

    Add MANIFEST

diff --git a/MANIFEST b/MANIFEST
new file mode 100644
index 0000000..5fb2f93
--- /dev/null
+++ b/MANIFEST
@@ -0,0 +1,26 @@
+etc/search_results.diff
+html/Callbacks/QuickReply/Elements/RT__Ticket/ColumnMap/Once
+html/Callbacks/QuickReply/Helpers/TicketPreview/AfterHistory
+html/Callbacks/QuickReply/Search/Results.html/AfterResults
+html/Callbacks/QuickReply/Search/Results.html/BeforeResults
+html/Callbacks/QuickReply/Ticket/Display.html/AfterShowHistory
+html/Callbacks/QuickReply/Ticket/Display.html/BeforeShowHistory
+html/Callbacks/QuickReply/Ticket/Display.html/BeforeShowSummary
+html/Ticket/Elements/QuickReply
+html/Ticket/QuickReply.html
+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/QuickReply.pm
+Makefile.PL
+MANIFEST			This list of files
+META.yml
+README
+static/css/rt-extension-quickreply.css

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



More information about the Bps-public-commit mailing list