]> git.donarmstrong.com Git - debbugs.git/commitdiff
- List previous/new title when retitling, and show date of control
authorDon Armstrong <don@volo>
Wed, 14 Mar 2007 08:23:32 +0000 (01:23 -0700)
committerDon Armstrong <don@volo>
Wed, 14 Mar 2007 08:23:32 +0000 (01:23 -0700)
    actions (closes: #127354)

cgi/bugreport.cgi
debian/changelog

index 4c8e05d750766b56a2f996e9fdf969602d7daa77..c04854b8d7499bb5a6e8dec555ef86985d650bc7 100755 (executable)
@@ -416,6 +416,7 @@ sub handle_record{
      my $output = '';
      local $_ = $record->{type};
      if (/html/) {
+         my ($time) = $record->{text} =~ /<!--\s+time:(\d+)\s+-->/;
          my $class = $record->{text} =~ /^<strong>(?:Acknowledgement|Reply|Information|Report|Notification)/ ? 'infmessage':'msgreceived';
          $output .= decode_rfc1522($record->{text});
          # Link to forwarded http:// urls in the midst of the report
@@ -432,6 +433,9 @@ sub handle_record{
          # Add links to reassigned packages
          $output =~ s{(Bug reassigned from package \`)([^\']+)(' to \`)([^\']+)(')}
          {$1.q(<a href=").pkg_url(pkg=>$2).qq(">$2</a>).$3.q(<a href=").pkg_url(pkg=>$4).qq(">$4</a>).$5}eo;
+         if (defined $time) {
+              $output .= ' ('.strftime('%a, %d %b %Y %T GMT',gmtime($time)).') ';
+         }
          $output .= '<a href="' . bug_url($ref, msg => ($msg_number+1)) . '">Full text</a> and <a href="' .
               bug_url($ref, msg => ($msg_number+1), mbox => 'yes') . '">rfc822 format</a> available.';
 
index f1522fd668c0bcd62a0556ced2d932df304ea49f..e581417436f513351a3e7987d27164b7ca68e5c1 100644 (file)
@@ -157,6 +157,8 @@ debbugs (2.4.2) UNRELEASED; urgency=low
     - Add link from singlemsg page to main page; remove useless links
       (closes: #404806)
     - Support usertagging cloned bugs (closes: #375697)
+    - List previous/new title when retitling, and show date of control
+      actions (closes: #127354)
 
   
  -- Colin Watson <cjwatson@debian.org>  Fri, 20 Jun 2003 18:57:25 +0100