Modify

#10372 closed enhancement (fixed)

Add support for SpamFilter 0.7+

Reported by: rjollos Owned by: 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 (0)

Change History (2)

comment:1 Changed 23 months ago by rjollos

  • Description modified (diff)

comment:2 Changed 23 months ago by osimons

  • Resolution set to fixed
  • Status changed from new to closed

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

Fixes #10372. Thanks rjollos.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.