Opened 12 years ago

Last modified 12 years ago

#10372 closed enhancement

Add support for SpamFilter 0.7+ — at Version 1

Reported by: Ryan J Ollos Owned by: osimons
Priority: normal Component: FullBlogPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description (last modified by Ryan J Ollos)

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.

Change History (1)

comment:1 Changed 12 years ago by Ryan J Ollos

Description: modified (diff)
Note: See TracTickets for help on using tickets.