AntiSpam Tool Application

Last modified by Thomas Mortagne on 2017/12/11 00:01

cogVarious tools to help fight spam
Recommended
TypeXAR
CategoryApplication
Developed by

Vincent Massol

Active Installs30
Rating
Rate!
2 Votes
LicenseGNU Lesser General Public License 2.1
Compatibility

XWiki 6.4+

Installable with the Extension Manager

Description

Help fighting spam by locating and removing spam pages (Spam Cleaning) and preventing new spam from being added to the wiki (Spam Checking).

Spam Cleaning

Features:

  • Show latest events from the Activity Stream
  • Ability to find and delete revisions from pages containing a given keyword + all authors + all pages from these authors + Activity Stream from these authors
  • Ability to find and delete revisions from pages authored by a given user
  • Ability to run the Spam Checker on each matching page to verify if the page would pass or not the Spam Checker (see below for more information on the Spam Checker)
  • Checks all revisions of the matching pages found and removes all revisions authored by one the authors found during the search. If no revisions remain, then delete the page.

To use the Spam Cleaner, click on the "AntiSpam" icon in the Applications Panel:

antispam-panel.png

Home page:

antispam-home.png

Searching for a spam keyword:

antispam-search.png

Testing if the found pages match defined spam keywords (this allows you to tune your Keywords page before cleaning the page):

antispam-check.png

Confirm deletion of pages:

antispam-confirm.png

Result:

antispam-clean.png

Spam Checking

Features:

  • Check for spam content when saving pages. A page is considered as spam in the following conditions:
    • It contains one of the defined spam keywords/sentences blacklist. See below.
    • The IP of the user making the change is contained in a blacklist of IPs.
  • When a page update is found to contain spam the following happens:
    • XWiki 7.4.1+ Cancels saving the page if it contains spam and display an error.
    • The XWiki user is made inactive
    • The IP of the user is added to a list of banned IPs, thus preventing any further edits from that user
    • The disabled user is added to a list of disabled users
  • Ability to exclude some spaces from being checked for spam

The configuration data and banned IPs and banned users can be accessed from the home page of the application:

antispam-pages.png

And here's what happens when a matching spam keyword is found when saving a page (in the future we'll improve the L&F):

antispam-error.png

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager). Note that installing Extensions when being offline is currently not supported and you'd need to use some complex manual method.

You can also use the following manual method, which is useful if this extension cannot be installed with the Extension Manager or if you're using an old version of XWiki that doesn't have the Extension Manager:

  1. Log in the wiki with a user having Administration rights
  2. Go to the Administration page and select the Import category
  3. Follow the on-screen instructions to upload the downloaded XAR
  4. Click on the uploaded XAR and follow the instructions
  5. You'll also need to install all dependent Extensions that are not already installed in your wiki

Release Notes

v1.5.2

v1.5.1

v1.5

  • Closed ANTISPAM-22 Exclude the full AntiSpam space from search
  • Closed ANTISPAM-21 Also check for spam in the page name
  • Closed ANTISPAM-20 Add support for checking for spam content in xobjects

v1.4

  • Closed ANTISPAM-18 Add ability to identify pages not triggering the spam checker when searching for spam pages
  • Closed ANTISPAM-17 Add ability to add comments in configuration files
  • Closed ANTISPAM-16 UI errors when deleting pages created by a given user
  • Closed ANTISPAM-15 Also check for spam in titles

v1.3

  • Closed ANTISPAM-14 The wrong IP is logged
  • Closed ANTISPAM-13 Add ability to configure a whitelist of spaces in which spam is not checked for

v1.2.1

  • Closed ANTISPAM-12 Spam checker is failing on multiwikis
  • Closed ANTISPAM-11 Ignore case when comparing the content with the AntiSpam.Keywords list
  • Closed ANTISPAM-10 AntiSpam.Keywords should be excluded from spam search

v1.2

  • Closed ANTISPAM-9 Add the ability to configure if the antispam checker is on or off
  • Closed ANTISPAM-8 Register the AntiSpam application in the Application Panel
  • Closed ANTISPAM-7 Prevent saving a document when it contains spam or it's from a spammer
  • Closed ANTISPAM-6 Add a Spam checking API
  • Closed ANTISPAM-5 Avoid potential mistakes by surrounding search terms with quotes

v1.1

  • Closed ANTISPAM-4 Ask for confirmation before starting to delete pages
  • Closed ANTISPAM-3 Display latest activity stream events in the UI

v1.0

Dependencies

Dependencies for this extension (org.xwiki.contrib:application-antispam-ui 1.5.2):

Tags:
Created by Vincent Massol on 2016/01/29 13:52
    

Get Connected