[allura:tickets] #8192 StopForumSpam filter and moderation+spam update

2018-03-07 Thread Kenton Taylor
- **status**: review --> closed
- **Comment**:

Merged.



---

** [tickets:#8192] StopForumSpam filter and moderation+spam update**

**Status:** closed
**Milestone:** unreleased
**Created:** Tue Mar 06, 2018 10:29 PM UTC by Dave Brondsema
**Last Updated:** Wed Mar 07, 2018 06:17 PM UTC
**Owner:** Dave Brondsema


There's an existing SpamFilter interface we can use to implement filtering with 
StopForumSpam files.  And it'd be good to expand the spam filters to support 
using multiple filters not just one.

Also posts that are already destined for moderation, and are also spam still 
just end up in the moderation queue.  Changes here will put them directly into 
the 'spam' status and not show up in moderation.


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #8192 StopForumSpam filter and moderation+spam update

2018-03-07 Thread Dave Brondsema
- **summary**: StopForumSpam filter --> StopForumSpam filter and 
moderation+spam update
- Description has changed:

Diff:



--- old
+++ new
@@ -1 +1,3 @@
 There's an existing SpamFilter interface we can use to implement filtering 
with StopForumSpam files.  And it'd be good to expand the spam filters to 
support using multiple filters not just one.
+
+Also posts that are already destined for moderation, and are also spam still 
just end up in the moderation queue.  Changes here will put them directly into 
the 'spam' status and not show up in moderation.



- **status**: in-progress --> review
- **Comment**:

db/8192 branch

* new entry point for stopforumspam needs to be registered, so run: 
`docker-compose run taskd python setup.py develop`
* download a file like listed_ip_180_all.txt from 
https://www.stopforumspam.com/downloads 
* add some settings to development.ini to test, e.g.:

```
spam.method = stopforumspam
spam.stopforumspam.ip_addr_file = /allura/listed_ip_180_all.txt
```

* ip addresses within docker can be a bit weird.  To test, I printed the `ip` 
result from `StopForumSpamSpamFilter.check` and then added that ip address to 
the .txt file



---

** [tickets:#8192] StopForumSpam filter and moderation+spam update**

**Status:** review
**Milestone:** unreleased
**Created:** Tue Mar 06, 2018 10:29 PM UTC by Dave Brondsema
**Last Updated:** Tue Mar 06, 2018 10:29 PM UTC
**Owner:** Dave Brondsema


There's an existing SpamFilter interface we can use to implement filtering with 
StopForumSpam files.  And it'd be good to expand the spam filters to support 
using multiple filters not just one.

Also posts that are already destined for moderation, and are also spam still 
just end up in the moderation queue.  Changes here will put them directly into 
the 'spam' status and not show up in moderation.


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.