Changes between Version 17 and Version 18 of QuietPlugin
- Timestamp:
- Mar 8, 2017, 4:18:26 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
QuietPlugin
v17 v18 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = Toggle sending Announcer emails upon ticket changes3 = Disable email notifications 4 4 5 5 == Description … … 9 9 [[Image(quiet.png)]] 10 10 11 Th is plugin is dependent upon the [wiki:AnnouncerPlugin Announcer plugin] (which must already be installed) and Javascript. The toggling is handled via AJAX, so you can remain on the same page and not disrupt any current work. The toggle link will appear on {{{/newticket}}}, {{{/ticket}}}, {{{/query}}}, and {{{/report}}} pages since ticket changes are possible on all of these, eg via [wiki:BatchModifyPlugin BatchModify] or [wiki:GridModifyPlugin GridModify].11 The toggling is handled via AJAX, so you can remain on the same page and not disrupt any current work. The toggle link will appear on {{{/newticket}}}, {{{/ticket}}}, {{{/query}}}, and {{{/report}}} pages since ticket changes are possible on all of these, eg via [TracBatchModify BatchModify] or [GridModifyPlugin GridModify]. 12 12 13 13 == Bugs/Feature Requests … … 25 25 Download the zipped source from [export:quietplugin here]. 26 26 27 The plugin is also available on [pypi:TracQuiet PyPI]. 28 27 29 == Source 28 30 … … 31 33 == Installation 32 34 35 The following describes how to install the plugin in Trac 1.2. To install the plugin for Trac < 1.0 with AnnouncerPlugin see QuietPlugin@17. 36 33 37 1. Install the plugin after downloading and unzipping: 34 38 {{{#!sh 35 cd quietplugin/0.12 36 sudo python setup.py install 39 $ pip install TracQuiet 37 40 }}} 38 See [t:TracPlugins TracPlugins] for more installation details and options. 39 40 2. Restart Trac's web server. 41 42 3. Enable the plugin and disable {{{announcer.distributors.mail.EmailDistributor}}} in your `trac.ini` file: 41 1. Restart Trac's web server. 42 1. Enable the plugin and disable `EmailDistributor` in your `trac.ini` file: 43 43 {{{#!ini 44 44 [components] 45 announcer.* = enabled 46 announcer.distributors.mail.EmailDistributor = disabled 45 trac.notification.mail.EmailDistributor = disabled 47 46 quiet.* = enabled 48 47 }}} 49 48 50 Alternatively, you can use the Trac Web Admin GUI. The `trac.ini` lines above ensure that the plugin uses its own email distributor. This distributor effectively wraps the announcer's !EmailDistributor with an extra check to see if the user entered quiet mode or not. 49 Alternatively, you can use the Trac Web Admin GUI to enable/disable the components. 50 51 The `trac.ini` lines above ensure that the plugin uses its own email distributor. This distributor effectively wraps the Trac's !EmailDistributor with an extra check to see if the user entered quiet mode or not. 51 52 52 53 == Configuration