Opened 15 years ago

Last modified 7 years ago

#6144 new enhancement

Spam filter integration

Reported by: Michael Renzmann Owned by:
Priority: normal Component: TracPastePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


Pastebin should make use of the spamfilter functionality (if available) to prevent spammy pastes from being posted.

See #4029 for the original idea of having a "turing test" plus a patch that implements such a feature. However, I agree with osimons that the approach of that patch is wrong:

All other plugins that deal with spam implement optional plugins to the trac:SpamFilter plugin, so that if you have that installed then it will also automatically check the entered pastes. That means implementing something like an IPasteManipulator interface to allow other plugins to hook into the paste creation and potentially veto the changes. An IPasteListener would also be nice while you are at it... :-)

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by Ryan J Ollos

Owner: Michael Renzmann deleted

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.

Add Comment

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

Note: See TracTickets for help on using tickets.