trac.ticket.notification
¶
-
class
trac.ticket.notification.
BatchTicketChangeEvent
(targets, time, author, comment, new_values, action)¶ Bases:
trac.notification.api.NotificationEvent
Represent a ticket batch modify
NotificationEvent
.
-
class
trac.ticket.notification.
CarbonCopySubscriber
¶ Bases:
trac.core.Component
Carbon copy subscriber for cc ticket field.
-
class
trac.ticket.notification.
TicketAttachmentNotifier
¶ Bases:
trac.core.Component
Sends notification on attachment change.
-
class
trac.ticket.notification.
TicketChangeEvent
(category, target, time, author, comment=None, changes=None, attachment=None)¶ Bases:
trac.notification.api.NotificationEvent
Represent a ticket change
NotificationEvent
.
-
class
trac.ticket.notification.
TicketFormatter
¶ Bases:
trac.core.Component
Format
TicketChangeEvent
notifications.-
ambiguous_char_width
¶ Width of ambiguous characters that should be used in the table of the notification mail.
If
single
, the same width as characters in US-ASCII. This is expected by most users. Ifdouble
, twice the width of US-ASCII characters. This is expected by CJK users.
-
batch_subject_template
¶ Like
ticket_subject_template
but for batch modifications. (‘’since 1.0’‘)
-
ticket_subject_template
¶ A Jinja2 text template snippet used to get the notification subject.
The template variables are documented on the [TracNotification#Customizingthee-mailsubject TracNotification] page.
-
-
class
trac.ticket.notification.
TicketOwnerSubscriber
¶ Bases:
trac.core.Component
Allows ticket owners to subscribe to their tickets.
-
class
trac.ticket.notification.
TicketPreviousUpdatersSubscriber
¶ Bases:
trac.core.Component
Allows subscribing to future changes simply by updating a ticket.
-
class
trac.ticket.notification.
TicketReporterSubscriber
¶ Bases:
trac.core.Component
Allows the users to subscribe to tickets that they report.
-
class
trac.ticket.notification.
TicketUpdaterSubscriber
¶ Bases:
trac.core.Component
Allows updaters to subscribe to their own updates.