Changes between Version 5 and Version 6 of FlexibleReporterNotificationPlugin
- Timestamp:
- Feb 20, 2014, 7:43:10 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FlexibleReporterNotificationPlugin
v5 v6 4 4 == Description == 5 5 6 This plugin controls the notification to the reporter. It allows reporter to be notified only for certain configurable states. By default Trac provides only two options either always notify reporter or never notify reporter. These two extremes are not always useful. 6 By default Trac provides only two options, either //always// notify the reporter or //never// notify the reporter. These two extremes are not always useful. 7 7 8 I created this Hack to suit our requirement. In our case we didn't want to send out notification emails to reporters for every change,we just wanted them to be notified when they create a new ticket,when the ticket is closed and when the ticket is reopened. 9 10 It is a simple extension of Trac's notification module. 11 12 I am publishing this because I feel that if we needed this someone else also might need it. 8 This plugin controls notifications to the reporter. It is a simple extension of Trac's notification module, allowing the reporter to be notified only when the ticket is in certain states. 13 9 14 10 == Bugs/Feature Requests == … … 34 30 Edit the trac.ini file by adding the following line: 35 31 36 {{{ 37 #!ini 32 {{{#!ini 38 33 [notification] 39 34 always_notify_reporter = true … … 41 36 }}} 42 37 43 The line above specifies the states in which reporter should be notified. In the above example the reporter will be notified only when the ticket is in one of the [new,closed or reopened] states. 44 45 Note: 46 1. `always_notify_reporter` should be set to true else no notification will be sent to reporter. 47 1. Do not leave reporter_states blank. 38 The line above specifies the states in which reporter should be notified. In the above example the reporter will be notified only when the ticket is in one of the //new//, //closed// or //reopened// states. 48 39 49 40 == Recent Changes == … … 55 46 '''Author:''' [wiki:CStrac] [[BR]] 56 47 '''Maintainer:''' ''none'' [[BR]] 57 '''Contributors:''' 48 '''Contributors:''' chris-at, rjollos