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