Modify ↓
#11926 closed defect (fixed)
Missing X-Trac-Ticket-URL header in ticket notification mail since 1.1.3
Reported by: | Jun Omae | Owned by: | Jun Omae |
---|---|---|---|
Priority: | normal | Milestone: | 1.1.4 |
Component: | notification | Version: | 1.1.3 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: |
Fix missing |
||
API Changes: |
Add |
||
Internal Changes: |
Description
We should add header like this.
X-Trac-Ticket-URL: http://trac-hacks.org/ticket/12158#comment:4
MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Trac-Realm: ticket From: "My Project" <trac@localhost> X-Trac-Version: 1.1.3 Precedence: bulk Auto-Submitted: auto-generated X-Mailer: Trac 1.1.3, by Edgewall Software To: undisclosed-recipients: ; References: <011.5820a89cc2c970d854f42757ba2afba4@localhost> X-Trac-Project: My Project In-Reply-To: <011.5820a89cc2c970d854f42757ba2afba4@localhost> Date: Thu, 22 Jan 2015 04:58:51 -0000 Reply-To: trac@localhost Message-ID: <026.95f8819ec9a6fc74629637032ed18e26@localhost> X-URL: Subject: Re: [My Project] #1: test #1: test ...
See th:#12158
Attachments (0)
Change History (4)
comment:2 by , 10 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
I'm not sure how best to get the
cnum
for appending #comment:4 to thelink
.
Proposed changes in jomae.git@t11926, which added Ticket.get_comment_number(cdate)
for it.
comment:4 by , 10 years ago
API Changes: | modified (diff) |
---|---|
Release Notes: | modified (diff) |
Resolution: | → fixed |
Status: | assigned → closed |
Thanks for the reviewing. Commtted in [13690-13691].
Note:
See TracTickets
for help on using tickets.
Makes sense. Previously we also had
X-Trac-Ticket-ID
apparently.TicketFormatter
already implements a ticket specificIEmailDecorator
, so we could add it there:trac/ticket/notification.py
I'm not sure how best to get the
cnum
for appending #comment:4 to thelink
.