trac.ticket.notification¶
-
class
trac.ticket.notification.BatchTicketChangeEvent(targets, time, author, comment, new_values, action)¶ Bases:
trac.notification.api.NotificationEventRepresent a ticket batch modify
NotificationEvent.
-
class
trac.ticket.notification.CarbonCopySubscriber¶ Bases:
trac.core.ComponentCarbon copy subscriber for cc ticket field.
-
class
trac.ticket.notification.TicketAttachmentNotifier¶ Bases:
trac.core.ComponentSends notification on attachment change.
-
class
trac.ticket.notification.TicketChangeEvent(category, target, time, author, comment=None, changes=None, attachment=None)¶ Bases:
trac.notification.api.NotificationEventRepresent a ticket change
NotificationEvent.
-
class
trac.ticket.notification.TicketFormatter¶ Bases:
trac.core.ComponentFormat
TicketChangeEventnotifications.-
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_templatebut 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.ComponentAllows ticket owners to subscribe to their tickets.
-
class
trac.ticket.notification.TicketPreviousUpdatersSubscriber¶ Bases:
trac.core.ComponentAllows subscribing to future changes simply by updating a ticket.
-
class
trac.ticket.notification.TicketReporterSubscriber¶ Bases:
trac.core.ComponentAllows the users to subscribe to tickets that they report.
-
class
trac.ticket.notification.TicketUpdaterSubscriber¶ Bases:
trac.core.ComponentAllows updaters to subscribe to their own updates.