[Bps-public-commit] RT-BugTracker-Public branch, rt4, updated. 7aae5a1860b4b7d1cebc0219ee282a82b4c8e526

Thomas Sibley trs at bestpractical.com
Fri Mar 8 14:11:46 EST 2013


The branch, rt4 has been updated
       via  7aae5a1860b4b7d1cebc0219ee282a82b4c8e526 (commit)
       via  dc94ad3507ca99b6f3abbcf1350368b654248658 (commit)
       via  16bec42163a74942e2adc3fa771f2043ba83c827 (commit)
      from  eff9888e6a649d9c93a2ca373ebae96d31071728 (commit)

Summary of changes:
 .../BugTracker-Public/Ticket/Elements/ShowMessageHeaders/Default       | 2 +-
 html/Public/Bug/Display.html                                           | 1 +
 html/Public/Bug/Elements/ShowSummary                                   | 3 ---
 3 files changed, 2 insertions(+), 4 deletions(-)

- Log -----------------------------------------------------------------
commit 16bec42163a74942e2adc3fa771f2043ba83c827
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Fri Mar 8 11:09:57 2013 -0800

    Remove non-working links from the public bug summary

diff --git a/html/Public/Bug/Elements/ShowSummary b/html/Public/Bug/Elements/ShowSummary
index 504a0c0..a8bc481 100755
--- a/html/Public/Bug/Elements/ShowSummary
+++ b/html/Public/Bug/Elements/ShowSummary
@@ -49,14 +49,12 @@
 <tr>
   <td valign="top" class="boxcontainer">
     <&| /Widgets/TitleBox, title => loc('The Basics'), 
-        title_href => RT->Config->Get('WebPath')."/Ticket/Modify.html?id=".$Ticket->Id, 
         class => 'ticket-info-basics',
     &>
         <& /Ticket/Elements/ShowBasics, Ticket => $Ticket &>
     </&>
 
     <&| /Widgets/TitleBox, title => loc('People'), 
-        title_href => RT->Config->Get('WebPath')."/Ticket/ModifyPeople.html?id=".$Ticket->Id, 
         class => 'ticket-info-people',
     &>
         <& /Ticket/Elements/ShowPeople, Ticket => $Ticket &>
@@ -69,7 +67,6 @@
     
 % if ($Ticket->CustomFields->First) {
     <&| /Widgets/TitleBox, title => loc('Bug Information'),
-        title_href =>"$RT::WebPath/Ticket/Modify.html?id=".$Ticket->Id, 
         class => 'ticket-info-cfs',
     &> 
         <& /Ticket/Elements/ShowCustomFields, Ticket => $Ticket &>

commit dc94ad3507ca99b6f3abbcf1350368b654248658
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Fri Mar 8 11:10:37 2013 -0800

    Spam protect email addresses (or look-alikes) in all headers

diff --git a/html/Callbacks/BugTracker-Public/Ticket/Elements/ShowMessageHeaders/Default b/html/Callbacks/BugTracker-Public/Ticket/Elements/ShowMessageHeaders/Default
index 43ee056..ce01940 100644
--- a/html/Callbacks/BugTracker-Public/Ticket/Elements/ShowMessageHeaders/Default
+++ b/html/Callbacks/BugTracker-Public/Ticket/Elements/ShowMessageHeaders/Default
@@ -6,7 +6,7 @@ return unless RT::BugTracker::Public->IsPublicUser;
 
 # Protect email addresses
 for my $h (@$headers) {
-    next unless $h->{'Tag'} =~ /^(?:From|(?:RT-Send-)?(?:To|Cc|Bcc)|Reply-To)$/i;
+    next if $h->{'Tag'} =~ /^(?:Subject)$/i;
     $h->{'Value'} =~ s/@/ [...] /g;
 }
 </%init>

commit 7aae5a1860b4b7d1cebc0219ee282a82b4c8e526
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Fri Mar 8 11:11:29 2013 -0800

    Make "Show Full Headers" work on public bug reports

diff --git a/html/Public/Bug/Display.html b/html/Public/Bug/Display.html
index 52fec10..9e060d5 100755
--- a/html/Public/Bug/Display.html
+++ b/html/Public/Bug/Display.html
@@ -66,6 +66,7 @@
       ShowHeaders => $ARGS{'ShowHeaders'},
       Attachments => $attachments,
       AttachmentContent => $attachment_content,
+      URIFile     => RT->Config->Get('WebPath') . '/Public/Bug/Display.html',
       DisplayPath => RT->Config->Get('WebPath') . '/Public/Bug/Display.html?id='. $TicketObj->id,
       UpdatePath  => RT->Config->Get('WebPath') . '/Public/Bug/Update.html',
 &> 

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



More information about the Bps-public-commit mailing list