Posted by sun on October 19, 2012 at 9:30am
3 followers
| Project: | Mollom |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | sun |
| Status: | closed (fixed) |
Issue Summary
Goal
- When text analysis is unsure, retain posts as "unpublished" for manual moderation instead of showing a CAPTCHA.
Details
- The default behavior for an "unsure" response is to show a CAPTCHA.
- The Mollom module already supports to retain posts for manual moderation when text analysis identifies spam.
- What is missing and desired is to retain posts for manual moderation when text analysis is unsure, instead of showing a CAPTCHA.
Related issues
- #881534: Allow to unpublish spam posts instead of rejecting — added fundamental support for retaining posts as unpublished.
- #1096412: Allow to disable fall-back CAPTCHA for text analysis — considers to add support for Mollom's "binary mode", which makes Mollom only return "spam" or "ham", but never "unsure." That is not helpful for this issue though, since we want to react on "unsure". Thus, telling the backend to never return it would be incompatible.
- #364575: Support alternative spam rejection methods than a CAPTCHA (e.g. unpublishing) — intends to introduce a more sophisticated event system for Mollom module, allowing to precisely specify the actions to perform for various triggers.
Comments
#1
If all goes well, this should actually work already.
#2
Added tests.
#3
Screenie of new setting:
#4
Committed and pushed to 7.x-2.x.
#5
Does this setting only show up for comments? I want to be able to retain/moderate spam webform submissions but am not seeing the option (7.x-2.3).
#6
Automatically closed -- issue fixed for 2 weeks with no activity.
#7
@lrobeson: In general, the "retain as unpublished" facility is only available for posts/entities that support a notion of a "unpublished" status. Webform submissions do not have such a status.
Attached patch backports this code to 6.x-2.x.
#8
Missing $ret in db_add_field() of the module update.
#9
The last submitted patch, 1817446-moderate-unsure.patch, failed testing.
#10
#11
The last submitted patch, 1817446-moderate-unsure.patch, failed testing.
#12
Sorry, the form constructor used a facility that only exists in D7+. This one should pass.
#13
The last submitted patch, 1817446-moderate-unsure.patch, failed testing.
#14
Heh. It would definitely help if I'd locally run the tests on D6 instead of D7 ;)
#15
Committed and pushed to 6.x-2.x.
#16
Automatically closed -- issue fixed for 2 weeks with no activity.