|Version 3 (modified by robguttman, 3 years ago) (diff)|
Toggle sending Announcer emails
This plugin provides a link to toggle on and off sending emails for your ticket changes. The purpose is to reduce superfluous emails for changes the author deems unworthy.
- Install the plugin (after downloading and unzipping):
cd quietplugin/0.12 sudo python setup.py install
See TracPlugins for more installation details and options. You'll likely need to restart Trac's web server after installation.
- Enable the plugin and disable announcer.distributors.mail.EmailDistributor in trac.ini:
[components] announcer.* = enabled announcer.distributors.mail.EmailDistributor = disabled quiet.* = enabled
You can alternatively use the Trac Web Admin GUI. The above is because the quietplugin provides its own email distributor which effectively wraps the announcer's EmailDistributor with an extra check to see if the user entered quiet mode or not.
- (Optional) Customize the quiet mode labels:
[quiet] enter_label = Enter Quiet Mode leave_label = Leave Quiet Mode
If you have any issues, create a new ticket.
Download the zipped source from here.
I'll enter quite mode during planning so that moving large batches of tickets from one milestone to the next doesn't trigger a barrage of emails.