gnu-social/plugins/ActivitySpam
Diogo Cordeiro 1049080df5 [CORE] Move public resources to a /public directory
Advantages:
* Increases security by preventing direct access to file/
* We are careful and have a defined('GNUSOCIAL') || die() to prevent
  direct access to GS files, but we may miss one or a vendor/extlib may
  not be as careful
* Improves directory structure - It's more natural to physically
  separate what is public from what are GNU social resources
2019-08-03 17:47:25 +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 [TRANSLATION] Update Plugin POs 2019-06-09 16:10:03 +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');