Opened 7 years ago

#6144 new enhancement

Spam filter integration

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

Add Comment

Modify Ticket

as new The owner will remain otaku42.

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

Note: See TracTickets for help on using tickets.