gnu-social/plugins/ActivitySpam
Diogo Cordeiro 8c0601816f [CORE] Move core plugins to a new modules directory
For reference (raised by rozzin in IRC):

* http://foldoc.org/module
* http://foldoc.org/library
* http://foldoc.org/plugin

As noted by XRevan86, modules are not necessarily non-essential.
As we will keep the modules directory in GS root [therefore, near to
plugins/], it is evidenced the difference between both.

This is a simple yet fundamental structural change. It doesn't change
functionality but makes clearer the way we understand GNU social's
internals.
2019-08-22 03:13:58 +01:00
..
actions Various obvious bug fixes and better PHP 7 support 2019-04-26 00:34:17 +01:00
classes Various obvious bug fixes and better PHP 7 support 2019-04-26 00:34:17 +01:00
forms plugins onAutoload now only overloads if necessary (extlibs etc.) 2013-08-28 16:10:30 +02:00
lib Consistent behaviour for ScopingNoticeStream $scoped 2016-03-01 14:51:47 +01:00
locale [CORE] Move core plugins to a new modules directory 2019-08-22 03:13:58 +01:00
scripts The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
ActivitySpamPlugin.php [ROUTES] Allow accept-header specification during router creation 2019-08-03 17:47:16 +01:00
README Add plugin READMEs 2016-02-08 17:48:37 +00:00

README

The ActivitySpam plugin is a spam filter for GNU social.

It needs to connect to a activityspam server.
You can run one yourself: https://github.com/e14n/activityspam
Or use a public instance ( ex: https://spamicity.info/ )

Installation
============
add "addPlugin('ActivitySpam');"
to the bottom of your config.php

Settings
========
server: URL to the activityspam server
consumerkey: The "key" provided by the activityspam server after you've registered and configured an account.
secret: The "secret" provided by the activityspam server after you've registered and configured an account

Example
=======
$config['activityspam']['server'] = 'https://spamicity.info/';
$config['activityspam']['consumerkey'] = 'CONSUMER_KEY';
$config['activityspam']['secret'] = 'SECRET';
addPlugin('ActivitySpam');