Opened 16 years ago
Last modified 6 years ago
#6613 closed enhancement
TracNotification for new tickets only — at Initial Version
Reported by: | Owned by: | Emmanuel Blot | |
---|---|---|---|
Priority: | normal | Milestone: | 1.2.3 |
Component: | notification | Version: | 0.10.3 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
For a project I'm working on (Warzone 2100), I'm currently setting up a Trac environment here (with an incomplete SSL certificate as of yet).
In this project we want to be sent notices on the mailinglist when new tickets are created. So I set up TracNotification to send some mails to the mailing list. The problem is though that we only want these notices on ticket creation, not when they're updated or modified. Unfortunately TracNotification didn't do this natively, so I had to extend the TicketNotifyEmail class somewhat.
The attached patch contains this extension/modification and adds a new configuration option to the [notification] section in trac.ini.
- cc_on_newticket: Email address(es) to send notifications about newly created tickets to, addresses can only be seen when use_public_cc is enabled (Cc:).
NOTE: This patch should work with trunk as well, it's just that I wrote it for my 0.10.3 Trac installation.
—
Giel
adds a TracNotification option for CC on new tickets