Edgewall Software
Modify

Opened 18 years ago

Closed 17 years ago

#2391 closed enhancement (duplicate)

Notify.py uses project name in subject

Reported by: felipe@… Owned by: Jonas Borgström
Priority: low Milestone:
Component: ticket system Version: 0.9
Severity: trivial Keywords: notification email subject
Cc: kevin@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Hi,

Using trac (0.9-0beta2+r23) Debian Package I noted that Notify.py uses Project Name from configuration file to format subject line (function format_subj()). IMHO, we should have an option in config file to choose how the subject line is arranged.

Function format_subj():

    def format_subj(self):
        projname = self.config.get('project', 'name')
        return '[%s] #%s: %s' % (projname, self.ticket.id,
                                 self.ticket['summary'])

Why am I asking this? If we setup trac to sent tickets to a maillist and uses a TAG in the maillist subject we end up in having something like this: "[MAILLIST TAG] [TRAC TAG] Ticket Description". In the project where we use trac, we change the maillist properties, but I believe there are people that wouldn't have this chance and I believe it is a nice feature to have in trac, the ability to "format" Notify.py subject line. :o)

Attachments (0)

Change History (3)

comment:1 by anonymous, 18 years ago

Cc: kevin@… added

comment:2 by anonymous, 18 years ago

Keywords: notification email added; notify trac mail removed

comment:3 by sid, 17 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #3136, which was added to the code in r3994.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.