Edgewall Software

Changes between Version 13 and Version 14 of SpamFilter


Ignore:
Timestamp:
Oct 27, 2006, 12:43:11 AM (18 years ago)
Author:
Christopher Lenz
Comment:

Notes about v0.2 of the plugin

Legend:

Unmodified
Added
Removed
Modified
  • SpamFilter

    v13 v14  
    55
    66== Supported Filtering Strategies ==
     7
     8Prior to version 0.2.x, the SpamFilter plugin would reject a submission if any single filter strategy said it was spam. Since 0.2, the individual strategies assign scores (“karma”) to submitted content, and the total karma determines whether a submission is rejected or not.
    79
    810=== Regular Expressions ===
     
    2224The use of this filter requires a [http://www.wordpress.com Wordpress] API key. The API key is configured in [wiki:TracIni trac.ini] in a separate section:
    2325
     26For version 0.1.x of the plugin:
     27
    2428{{{
    2529[akismet]
     
    2731}}}
    2832
     33For version 0.2.x:
     34
     35{{{
     36[spam-filter]
     37akismet_api_key = 1234567890
     38}}}
     39
    2940=== Bayes ===
    3041
    3142''TODO'' (The code in svn uses [http://spambayes.org SpamBayes], which is a logical choice.  It would make sense to use a custom tokenizer, however, rather than the email-centric one that is included with [http://spambayes.org SpamBayes].  The bigger issue is that some form of training is required (e.g. the API could be extended so that (optionally) authenticated users (and the other filters) could report contributions as spam (using automatic training to assume that everything else is ham); however, this is a complex change).  An alternative to this would be a script that could be periodically executed that would train all existing contributions as ham, and gather spam from an appropriate source.  If you decide to continue with this in the future, please don't hestiate to ask [mailto:spambayes-dev@python.org spambayes-dev] for help.
     43
     44== WebAdmin Integration ==
     45
     46Since version 0.2, the SpamFilter plugin provides integration with WebAdmin for configuration and monitoring. For monitoring purposes, it optionally logs all activity to a table in the database. Upgrading the environment is necessary to install the database table required for this logging.
    3247
    3348== Get the Plugin ==
     
    4358|| Trac                  || Spam Filter ||
    4459|| [milestone:0.10]      || latest ||
    45 || [milestone:0.11]dev   || latest ||
     60|| [milestone:0.11]dev   || latest, but using the Genshi version of WebAdmin ||
    4661
    4762See TracPlugins for instructions on building and installing plugins.