Modify

Opened 5 years ago

Closed 5 years ago

#10372 closed enhancement (fixed)

Add support for SpamFilter 0.7+

Reported by: Ryan J Ollos Owned by: Odd Simon Simonsen
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.

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by Ryan J Ollos

Description: modified (diff)

comment:2 Changed 5 years ago by Odd Simon Simonsen

Resolution: fixed
Status: newclosed

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

Fixes #10372. Thanks rjollos.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Odd Simon Simonsen.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.