Modify

Opened 7 years ago

#6144 new enhancement

Spam filter integration

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

Description

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 (0)

Modify Ticket

Action
as new The owner will remain Michael Renzmann.

Add Comment


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

 
Note: See TracTickets for help on using tickets.