Hi Ethan, I deployed your plugin on Trac 1.0 & python 2.7. It worked without a problem, thanks.
One question though, how do I add blank lines to the body of my notification emails? If I just add a blank line then they don't show up in the email. Cheers - Geert On Wednesday, 12 December 2012 15:14:13 UTC+13, Ethan Jucovy wrote: > > Hi, > > I've released a new (BSD licensed) plugin on Trac Hacks, PyPI and Github. > WorkflowNotificationPlugin enables configurable email notifications tied > to ticket workflow events. For example, you could set up one email > notification to be sent out when the "resolve" action is taken, and a > different email notification to be sent out when the "accept" or "reassign" > actions are taken. > > The plugin does not make any assumptions about your workflow > configuration, or even whether you're using the built-in > ITicketActionController at all. > > Notifications are configured through trac.ini using a syntax that's > similar to Trac's built-in configurable workflow. Each notification's > subject, body, and recipient list is defined as a Genshi template, whose > template context includes the ticket's new values, old values, and the > change comment and author. So notifications can be quite flexible; you > could send out a notification to the ticket's reporter and CC list, or to a > hard coded list of email addresses and usernames, or to the value of some > custom field, etc. You can also use this plugin to generate something like > Trac's built in ticket notification email, by comparing the ticket's old > values and new values in the "body" template. > > You can also configure conditional notifications. For example, you can > set up a notification that will be sent out when the "resolve" action > occurs, but only if the ticket's new resolution is "fixed". > > More usage details and examples are available here: > > http://trac-hacks.org/wiki/WorkflowNotificationPlugin > > The plugin's source code is on Github: > > https://github.com/boldprogressives/trac-WorkflowNotificationPlugin > > I've uploaded a release to PyPI here: > > http://pypi.python.org/pypi/trac-WorkflowNotificationPlugin/ > > The plugin was developed against Trac trunk, but as far as I know it > should be compatible with Trac 0.11 and up. Python 2.6 and up are > supported; support for Python 2.4 would be easy enough if there's any need > for it, though. > > Best, > Ethan > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/trac-users/-/avincnoMKMwJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
