Ticket #10372 (closed enhancement: fixed)

Opened 8 months ago

Last modified 8 months ago

Add support for SpamFilter 0.7+

Reported by: rjollos Assigned to: osimons
Priority: normal Component: FullBlogPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description (Last modified by rjollos)

I haven't tried out FullBlogPlugin with SpamFilterPlugin 0.7 or greater yet, but you will be affected by the issue I experienced tonight while trying to patch the DiscussionPlugin in #8764. There is a simple change needed to account for a class having been moved:

try: #SpamFilter < 0.7 
    from tracspamfilter.api import FilterSystem 
except ImportError: #SpamFilter 0.7+ 
    from tracspamfilter.filtersystem import FilterSystem 

I implemented this for the DiscussionPlugin in [12058]. I wanted to bring this up now in case we might use SpamFilterPlugin 0.7 and the latest FullBlogPlugin with the trac-hacks site upgrade.

Attachments

Change History

09/26/12 05:41:31 changed by rjollos

  • description changed.

10/04/12 08:57:04 changed by osimons

  • status changed from new to closed.
  • resolution set to fixed.

(In [12109]) FullBlogPlugin: Compat handling for importing spamfilter plugin class.

Fixes #10372. Thanks rjollos.


Add/Change #10372 (Add support for SpamFilter 0.7+)




Change Properties
Action