Edgewall Software

Changes between Version 1 and Version 2 of SpamFilter


Ignore:
Timestamp:
Apr 17, 2006, 6:13:04 PM (18 years ago)
Author:
Christopher Lenz
Comment:

More docs for the SpamFilter plugin

Legend:

Unmodified
Added
Removed
Modified
  • SpamFilter

    v1 v2  
    11= Trac Spam Filtering =
     2[[PageOutline(2-3)]]
    23
    3 A plugin is being developed that will allow different ways to reject contributions that contain spam. This plugin requires the forthcoming Trac release [milestone:0.10]. It currently needs at least [3149], which has the necessary hooks for spam filtering to work.
     4A plugin is being developed that will allow different ways to reject contributions that contain spam. This plugin requires the forthcoming Trac release [milestone:0.10]. It currently needs at least [3180], which has the necessary hooks for spam filtering to work.
    45
    56Current state: highly experimental and mostly untested :-P
    67
    7 Check it out [source:sandbox/spam-filter here].
     8== Suported Filtering Stragies ==
     9
     10=== Regular Expressions ===
     11
     12The [source:sandbox/spam-filter/tracspamfilter/filters/regex.py regex] filter reads a list of regular expressions from a wiki page named “!BadContent”, each regular expression being on a separate line inside the first code block on the page, using the [http://docs.python.org/lib/re-syntax.html Python syntax] for regular expressions.
     13
     14If any of those regular expressions matches the submitted content, the submission will be rejected.
     15
     16=== IP Blacklisting ===
     17
     18The [source:sandbox/spam-filter/tracspamfilter/filters/ip_blacklist.py ip_blacklist] filter uses the third-party Python library [http://www.dnspython.org/ dnspython] to make DNS requests to a configurable list of IP blacklist servers.
     19
     20=== Akismet ===
     21
     22The [source:sandbox/spam-filter/tracspamfilter/filters/akismet.py akismet] filter uses the [http://akismet.com/ Akismet] web service to check content for possible spam. The use of this filter requires a [http://www.wordpress.com Wordpress] API key.
     23
     24=== Bayes ===
     25
     26''TODO''
     27
     28== Get the Plugin ==
     29
     30The SpamFilter plugin is currently only available through Subversion:
     31{{{
     32  svn co http://svn.edgewall.com/repos/trac/sandbox/spam-filter
     33}}}
     34
     35You can browser the source [source:sandbox/spam-filter here].
     36
     37See TracPlugins for instructions on building and installing plugins.
     38
     39----
     40See also: TracPlugins, PluginList