Opened 15 years ago
Last modified 8 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 |
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... :-)