Changes between Version 17 and Version 18 of QuietPlugin


Ignore:
Timestamp:
Mar 8, 2017, 4:18:26 AM (7 years ago)
Author:
Ryan J Ollos
Comment:

Added Trac 1.2 support. Refs #13045.

Legend:

Unmodified
Added
Removed
Modified
  • QuietPlugin

    v17 v18  
    11[[PageOutline(2-5,Contents,pullout)]]
    22
    3 = Toggle sending Announcer emails upon ticket changes
     3= Disable email notifications
    44
    55== Description
     
    99[[Image(quiet.png)]]
    1010
    11 This 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].
     11The 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].
    1212
    1313== Bugs/Feature Requests
     
    2525Download the zipped source from [export:quietplugin here].
    2626
     27The plugin is also available on [pypi:TracQuiet PyPI].
     28
    2729== Source
    2830
     
    3133== Installation
    3234
     35The 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
    3337 1. Install the plugin after downloading and unzipping:
    3438 {{{#!sh
    35 cd quietplugin/0.12
    36 sudo python setup.py install
     39$ pip install TracQuiet
    3740}}}
    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:
    4343 {{{#!ini
    4444[components]
    45 announcer.* = enabled
    46 announcer.distributors.mail.EmailDistributor = disabled
     45trac.notification.mail.EmailDistributor = disabled
    4746quiet.* = enabled
    4847}}}
    4948   
    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.
     49Alternatively, you can use the Trac Web Admin GUI to enable/disable the components.
     50
     51The `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.
    5152
    5253== Configuration