| 122 | * Download the zipped source from [download:announcerplugin here]. |
| 123 | * You can check out AnnouncerPlugin from [http://trac-hacks.org/svn/announcerplugin here] using Subversion, or [source:announcerplugin browse the source] with Trac. |
| 124 | |
| 125 | === Installation === |
| 126 | |
| 127 | The easiest way to install AnnouncerPlugin is to simply point easy_install at the t-h.o SVN repository, a la: |
| 128 | |
| 129 | {{{ |
| 130 | easy_install http://trac-hacks.org/svn/announcerplugin/0.11 |
| 131 | }}} |
| 132 | |
| 133 | Alternatively, you may download the source via one of the above methods and go into the 0.11 directory and then run: |
| 134 | |
| 135 | {{{ |
| 136 | python setup.py install |
| 137 | }}} |
| 138 | |
| 139 | After you have installed the AnnouncerPlugin, you must carefully evaluate the modules you wish to use and enable them. The simplest method of doing this is through 0.11's built in Admin panels. |
| 140 | |
| 141 | The following recommendations should make the decisions easier: |
| 142 | |
| 143 | * Producers - ''It is recommended you enable all of the producers; they are the source of events that are fed into the !AnnouncementSystem.'' |
| 144 | * '''!TicketChangeProducer''' |
| 145 | * '''!WikiChangeProducer''' |
| 146 | * '''!AttachmentChangeProducer''' |
| 147 | * Subscribers - ''Evaluate the descriptions of the subscriber modules above, and decide which features you want users to support.'' |
| 148 | * ''For compatiblity with your current setup, the following are recommended:'' |
| 149 | * '''!LegacyTicketSubscriber''' |
| 150 | * '''!StaticTicketSubscriber''' (if you use smtp_always_bcc) |
| 151 | * '''!CarbonCopySubscriber''' |
| 152 | * ''Additional options that are recommended: '' |
| 153 | * '''!WatchSubscriber''' (to allow the user to ''Watch'' tickets or wiki entries; if you use this its possible to replace existing CC functionality with this more privacy-aware option) |
| 154 | * '''!GeneralWikiSubscriber''' |
| 155 | * ''Possibly useful:'' |
| 156 | * '''!JoinableGroupSubscriber''' (this was more of a proof-of-concept then anything else; but with !WatchSubscriber above and a disabled !CarbonCopySubscriber, it can allow you to completely redefine the CC field) |
| 157 | * Distributors - ''Only '''!EmailDistributor''' is available at this point, so is essentially required.'' |
| 158 | * Formatters - ''It is recommended that both formatter modules be enabled. If one is disabled, then events from that specified realm will never be able to be sent to anyone.'' |
| 159 | * '''!TicketEmailFormatter''' |
| 160 | * '''!WikiEmailFormatter''' |
| 161 | * Resolvers - ''For all subscriptions besides those sent from !CarbonCopySubscriber, a resolver must be present to translate a name into an address'' |
| 162 | * '''!SessionEmailResolver''' (recommended, will use the session's email address (authenticated or otherwise) to send mail) |
| 163 | * '''!DefaultDomainEmailResolver''' (recommended if you used the smtp_default_domain option previously) |
| 164 | * '''!SpecifiedEmailResolver''' (not recommended-- a proof of concept if nothing else) |
| 165 | |
| 166 | |
| 167 | So, basically, for a system that is basically compatible with your existing setup and allowing minimally invasive wiki features, the following is suggested in trac.ini: |
| 168 | |
| 169 | {{{ |
| 170 | [components] |
| 171 | announcerplugin.* = enabled |
| 172 | announcerplugin.subscribers.ticket_groups.* = disabled |
| 173 | }}} |
| 174 | |
| 175 | === Configuration === |
| 176 | |
| 177 | The easiest way to configure Announcer is to simply rename the {{{ [notification] }}} section in your Trac.ini to {{{ [announcer] }}}. Where possible, the option names are the same. Additional options that may be available are specified above in the modules section. |