I've been looking for a way to give reminders for tickets, and I think
TicketReminder plugin does basically what I need. I am currently using
Trac 1.4.2. However, that plugin is mostly out of date. (If there is
another one that is more maintained, please let me know.)
I ended up getting the plugin mostly updated (substituting outdated APIs,
porting to Jinja2, and incorporating notification preferences), but I am
currently having it send e-mails via a TicketChangeEvent sent to
NotificationSystem. However, I can't figure out a way to modify the
subject line to add "Ticket Reminder" or something like that.
Is the proper way to deal with this problem to subclass TicketChangeEvent
and TicketFormatter? I haven't tried it yet, but seems like that might
work. Unfortunately TicketFormatter has the "realm" hard-coded to
'ticket', so it seems I can't really re-use some of the functions that I'd
like to; I'd have to re-implement them.
I'd appreciate any words of wisdom.
- Dan
--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/a978de03-114d-4442-912e-23516154ca59n%40googlegroups.com.
TicketReminder plugin does basically what I need. I am currently using
Trac 1.4.2. However, that plugin is mostly out of date. (If there is
another one that is more maintained, please let me know.)
I ended up getting the plugin mostly updated (substituting outdated APIs,
porting to Jinja2, and incorporating notification preferences), but I am
currently having it send e-mails via a TicketChangeEvent sent to
NotificationSystem. However, I can't figure out a way to modify the
subject line to add "Ticket Reminder" or something like that.
Is the proper way to deal with this problem to subclass TicketChangeEvent
and TicketFormatter? I haven't tried it yet, but seems like that might
work. Unfortunately TicketFormatter has the "realm" hard-coded to
'ticket', so it seems I can't really re-use some of the functions that I'd
like to; I'd have to re-implement them.
I'd appreciate any words of wisdom.
- Dan
--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/a978de03-114d-4442-912e-23516154ca59n%40googlegroups.com.