Changes between Version 12 and Version 13 of CookBook/Notification/Subscriptions
- Timestamp:
- Jun 9, 2018, 9:30:51 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CookBook/Notification/Subscriptions
v12 v13 1 1 = Custom Notification Subscriptions 2 2 3 [[PageOutline(2)]] 3 4 … … 5 6 6 7 == Subscribe to all ticket notifications 8 7 9 The [TracIni#notification-smtp_always_cc-option "[notification] smtp_always_cc"] config option will send ''all notifications'' to the specified address. 8 10 Without plugins this is the same as ''all ticket notifications'', but some plugins may send non-ticket notifications that you don't want to send to that address. … … 74 76 == Subscribe to new created tickets 75 77 76 //Note: This subscriber was added to Trac in release 1.2.3//.77 78 Some projects / users want to subscribe only to new created ticket notifications:78 '''Note''': This subscriber was added to Trac in release 1.2.3. 79 80 Some projects / users want to subscribe only to newly created ticket notifications: 79 81 80 82 1. Create a [TracDev/PluginDevelopment#Singlefileplugins single file plugin] that implements [wiki:TracDev/PluginDevelopment/ExtensionPoints/trac.notification.api.INotificationSubscriber INotificationSubscriber]: … … 208 210 from trac.notification.model import Subscription 209 211 from trac.util.translation import _ 210 211 212 212 213 class BlockerSeverityTicketSubscriber(Component): … … 271 272 from trac.ticket.model import Ticket 272 273 from trac.util.translation import _ 273 274 274 275 275 class ReplyToTicketSubscriber(Component):