Defensio Protection Plugin For Mephisto ======================================= This plugin provides Defensio support to comments in Mephisto. It uses the Defensio module from Rick Olsen's Viking http://ar-code.svn.engineyard.com/plugins/viking/ This is the first version of this plugin - as such it gets the job done, but not necessarily in the best way for eternity. The plugin hooks into the comments model and functions in the same way as the Akismet code - basically it adds a switch between the two depending on which is configured. If you have Akismet configured on your blog then this plugin will use Defensio only if configured, otherwise it will fall back to Akismet. If you have no Akismet installed and don't configure this plugin then it will have no spam protection. The behaviour is unchanged from Akismet - i.e. approving a comment will mark it as ham and unapproving a comment will mark it as spam. I have ideas about how to replace the whole spam filter bit with the Viking style abstraction, along with displaying the statistics within Mephisto, but this does the job for now! Usage ===== Install the plugin and use the install procedure if necessary to add the additional table field: script/runner 'Mephisto::Plugins::CommentDefensio.install' Don't forget to specify your environment if necessary (-e switch) Configure your API key through the Mephisto plugin administration page in Mephisto. Upgrade ======= From 0.1: You will need to add the spam_spaminess column to the "contents" and "content_versions" tables. You can do this manually or use script/runner to uninstall and then install - however, this will drop the spam_signature column and thus cause you to use any existing signatures. If using the script you will need to run the uninstall before updating the plugin.