Trac Plugin to allow email notification of changes on wiki pages
Project description
Trac WikiNotification is a plugin that allows users(even anonymous, as long as email is set) to select the wiki pages that they wish to be notified(by email) when a change occurs on it.
Note: The user updating the wiki page won’t be notified about his own changes.
You can find more info on the trac WikiNotification site where bugs and new feature requests should go to.
Enabling the Plugin
It’s as simple as:
[components] wikinotification.* = enabled
smtp_enabled has to be enabled in notification configuration section.
Available Configuration Options
These are the options available to include on your trac.ini under wiki-notification. Some of them you can configure through web admin interface.
Config Setting |
Default Value |
Explanation |
redirect_time |
5 (in seconds) |
The default seconds a redirect should take when watching/un-watching a wiki page. This value is also definable per user, ie, user is able to configure this, of course for himself. |
smtp_always_bcc |
empty |
Comma separated list of email address(es) to always send notifications to, addresses do not appear publicly (Bcc:). |
smtp_always_cc |
empty |
Comma separated list of email address(es) to always send notifications to, addresses can be seen by all recipients (Cc:). |
smtp_from |
trac.wiki@localhost |
Sender address to use in notification emails. |
from_name |
None |
Sender name to use in notification emails. Defaults to project name. |
use_public_cc |
False |
Recipients can see email addresses of other CC’ed recipients. If this option is disabled(the default), recipients are put on BCC. |
attach_diff |
False |
Send changes diff as an attachment instead of on the email text body. |
subject_template |
$prefix $page.name $action |
A Genshi text template snippet used to get the notification subject. |
banned_addresses |
empty |
Comma separated list of email addresses to never send notifications to. |
If you want to override these settings then you can include it like the following example:
[wiki-notification] redirect_time = 5 smtp_always_bcc = someone@somedomain, another.one@somedomain smtp_always_cc = someone.else@somedomain smtp_from = trac.wiki@localhost from_name = Custom Name use_public_cc = false attach_diff = true subject_template = Foo $prefix $page.name $action banned_addresses = banned.user1@somedomain, banned.user2@somedomain
Note: For an up-to-date version of this info please read this.
Download and Installation
Trac WikiNotification can be installed with Easy Install by typing:
> sudo easy_install TracWikiNotification
To install the development version:
> sudo easy_install http://wikinotification.ufsoft.org/svn/trunk
If you run Trac versions < 0.11.x do the following instead:
> sudo easy_install "TracWikiNotification<0.2.0"
Trac 0.11 support And Latest WikiNotification Release
As of time of this writing (Mar 3 2008), trac>=0.11 only is supported. You won’t need ctxnavadd, aka, TracCtxtnavAdd no more.
Aditional Notes(from user input)
easy_install is run from the command line (on Linux) not from within Python.
After installing any plugin for Trac you’ll need to restart Apache to see it (not all changes to trac.ini require a restart but adding a plugin does).
Make sure to add the new plugin to trac.ini :
[components] wikinotification.* = enabled
Also should be noted that the trac.ini configuration for the wiki notification should look something like:
[wiki-notification] smtp_always_cc = someone@somedomain smtp_from = trac.wiki@localhost
Another note: a user will never get a notice of his/her own wiki modification (which is a little tricky when testing the plugin :))
Tweaking/Customizing The Notification Email Template
You can, if you wish, tweak the notification email template sent to your users.
Copy the wiki_notification_email_template.txt file to your trac environment templates/ sub-directory and tweak it to your needs.
Make sure you read the Genshi Text Templates documentation to see if you don’t break any of the logic in that template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
File details
Details for the file TracWikiNotification-0.3.zip
.
File metadata
- Download URL: TracWikiNotification-0.3.zip
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec230f63124a8e7ba61cd684a70c73cd1c7275e43c87704694ff8dbe43fbaf8b |
|
MD5 | 857f4dbd878da35c85dc43c98fc4ae7d |
|
BLAKE2b-256 | 4f9e4c9cf2a447ec282d206f6fc5a4109bdcfdacc4a8fc38f620c02edfff66ad |
File details
Details for the file TracWikiNotification-0.3.tar.gz
.
File metadata
- Download URL: TracWikiNotification-0.3.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65f0b0b95a4d8d866e27b5bd0c5b513078071f473ef0a2930e61575f82fcfb47 |
|
MD5 | 63e1111ee1b362e1491e495c413220b2 |
|
BLAKE2b-256 | 69c4545c7e754ab9f42430de6612d14d066c82495939d2a556ad275bbae7f392 |
File details
Details for the file TracWikiNotification-0.3.tar.bz2
.
File metadata
- Download URL: TracWikiNotification-0.3.tar.bz2
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 474d878b6536de34a4d27c8b651c3217fa2df3ebb97e056d1de14cd943af1519 |
|
MD5 | 74d1dda91b856906c1b3f6ca6fd89d67 |
|
BLAKE2b-256 | eadef8824a9b0ccb83e487ac7385527bb887078c1f540bebd422acde0588fade |