[Rt-commit] rtir branch, 2.4-trunk, updated. 2.4.4-3-g9b1bd94

Jesse Vincent jesse at bestpractical.com
Thu Sep 16 10:11:08 EDT 2010


The branch, 2.4-trunk has been updated
       via  9b1bd9493908924a1d4a4630d8eb2c1498f7dbf0 (commit)
       via  987d7a4a848c4c8f10efb6b0a0776d0bcf348257 (commit)
       via  f06905e37f62c23480b50a3fdfa5e70f1c09e038 (commit)
      from  3e4f037a118d122f50fd250232179f88bd80c5c5 (commit)

Summary of changes:
 etc/RTIR_Config.pm              |   17 ++++++++++++++---
 html/RTIR/Create.html           |    1 +
 html/RTIR/Display.html          |    1 +
 html/RTIR/Edit.html             |    1 +
 html/RTIR/Incident/Create.html  |    1 +
 html/RTIR/Incident/Display.html |    4 +++-
 html/RTIR/Incident/Edit.html    |    1 +
 html/RTIR/NoAuth/webrtir.css    |    7 +++++--
 8 files changed, 27 insertions(+), 6 deletions(-)

- Log -----------------------------------------------------------------
commit f06905e37f62c23480b50a3fdfa5e70f1c09e038
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Thu Sep 9 14:22:08 2010 -0400

    Adding CSS to clean up the RTIR home page a bit

diff --git a/html/RTIR/NoAuth/webrtir.css b/html/RTIR/NoAuth/webrtir.css
index dcc343b..b244046 100644
--- a/html/RTIR/NoAuth/webrtir.css
+++ b/html/RTIR/NoAuth/webrtir.css
@@ -37,10 +37,13 @@ ul.userlist li:last-child::after{
 }
 
 #topactions #simple-search input.button {
-    width:10em;
 }
 
-#topactions { min-width: 44em; }
+#topactions { min-width: 44em; white-space: no-wrap; }
+
+#comp-RTIR .myrt>table>tr>td:first-child {
+    width: 80%;
+}
 
 .ticket-info-articles       .titlebox-title .left { background-color: #316531; color: #fff; }
 .tickets-list-report        .titlebox-title .left { background-color: #316531; color: #fff; }

commit 987d7a4a848c4c8f10efb6b0a0776d0bcf348257
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Thu Sep 9 14:23:31 2010 -0400

    Update our sample WHOIS servers

diff --git a/etc/RTIR_Config.pm b/etc/RTIR_Config.pm
index fe64680..d7b3451 100644
--- a/etc/RTIR_Config.pm
+++ b/etc/RTIR_Config.pm
@@ -21,10 +21,21 @@ Set($OverdueAfter, 7);
 # Set the hash of whois servers
 # Host is of the form "hostname:port"
 Set($whois, {
-    1 => { Host => "localhost", },
+    1 => {
+        Host         => "whois.iana.org",
+        FriendlyName => "IANA",
+    },
+    5 => {
+        Host         => "whois.ripe.net",
+        FriendlyName => "RIPE",
+    },
     2 => {
-        Host         => "whois-demo.bestpractical.com",
-        FriendlyName => "BPS Demo Server",
+        Host         => "whois.internic.net",
+        FriendlyName => "INTERNIC",
+    },
+    3 => {
+        Host         => "whois.arin.net",
+        FriendlyName => "ARIN",
     },
 } );
 

commit 9b1bd9493908924a1d4a4630d8eb2c1498f7dbf0
Author: Richard Harman <rt-devel at richardharman.com>
Date:   Thu Sep 16 10:12:18 2010 -0400

    New RTIR callbacks for better local customizations

diff --git a/html/RTIR/Create.html b/html/RTIR/Create.html
index e4eeba6..f4c74b6 100644
--- a/html/RTIR/Create.html
+++ b/html/RTIR/Create.html
@@ -341,6 +341,7 @@ $ip_default ||= RT->Config->Get('_RTIR_IP_default') || '';
     </&>
     </td>
   </tr>
+% $m->callback(CallbackName => 'AdditionalRTIRBoxes', %ARGS, Actions => \@results, ARGSRef => \%ARGS, Ticket => $TicketObj);
 </table>
 </&>
 
diff --git a/html/RTIR/Display.html b/html/RTIR/Display.html
index 36d866b..14877f3 100644
--- a/html/RTIR/Display.html
+++ b/html/RTIR/Display.html
@@ -189,6 +189,7 @@
     <br />  
   </td>
 </tr>
+% $m->callback(CallbackName => 'AdditionalRTIRBoxes', %ARGS, Actions => \@results, ARGSRef => \%ARGS, Ticket => $TicketObj);
 <tr>
   <td class="boxcontainer" valign="top">
     <& /Ticket/Elements/ShowAttachments, Ticket => $Ticket, 
diff --git a/html/RTIR/Edit.html b/html/RTIR/Edit.html
index 894b3c1..6d9323d 100644
--- a/html/RTIR/Edit.html
+++ b/html/RTIR/Edit.html
@@ -212,6 +212,7 @@
 
 </td>
 </tr>
+% $m->callback(CallbackName => 'AdditionalRTIRBoxes', %ARGS, Actions => \@results, ARGSRef => \%ARGS, Ticket => $TicketObj);
 </table>
 <br />
 
diff --git a/html/RTIR/Incident/Create.html b/html/RTIR/Incident/Create.html
index f43f25d..2d955ac 100644
--- a/html/RTIR/Incident/Create.html
+++ b/html/RTIR/Incident/Create.html
@@ -180,6 +180,7 @@ unless ( exists $ARGS{'Content'} ) {
 
 </td></tr>
 
+% $m->callback(CallbackName => 'AdditionalRTIRBoxes', %ARGS, Actions => \@results, ARGSRef => \%ARGS, Ticket => $TicketObj);
 </table>
 
 </&>
diff --git a/html/RTIR/Incident/Display.html b/html/RTIR/Incident/Display.html
index 512ac93..96109f7 100644
--- a/html/RTIR/Incident/Display.html
+++ b/html/RTIR/Incident/Display.html
@@ -130,7 +130,9 @@
     Queue       => 'Incident Reports',
 &>
 
-</td></tr><tr><td class="boxcontainer" valign="top">
+</td></tr>
+% $m->callback(CallbackName => 'AdditionalRTIRBoxes', %ARGS, Actions => \@results, ARGSRef => \%ARGS, Ticket => $TicketObj);
+<tr><td class="boxcontainer" valign="top">
 
 <& /RTIR/Incident/Elements/ShowChildren,
     IncidentObj => $TicketObj, 
diff --git a/html/RTIR/Incident/Edit.html b/html/RTIR/Incident/Edit.html
index 9ba56c8..3efc869 100644
--- a/html/RTIR/Incident/Edit.html
+++ b/html/RTIR/Incident/Edit.html
@@ -154,6 +154,7 @@
 
 </td>
 </tr>
+% $m->callback(CallbackName => 'AdditionalRTIRBoxes', %ARGS, Actions => \@results, ARGSRef => \%ARGS, Ticket => $TicketObj);
 </table>
 <br />
 

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


More information about the Rt-commit mailing list