Skip to content

Commit

Permalink
release 5.8
Browse files Browse the repository at this point in the history
  • Loading branch information
davydovct committed Oct 12, 2018
1 parent 485b8b6 commit b0cea56
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Anti-spam plugin for Joomla 2.5-3.X.
============
[![Build Status](https://travis-ci.org/CleanTalk/joomla25-3x-antispam.svg)](https://travis-ci.org/CleanTalk/joomla25-3x-antispam)

Version 5.7
Version 5.8

## Simple antispam test

Expand All @@ -18,5 +18,5 @@ Example how to use plugin to filter spam bots at any Joomla form.
));

if ($result !== true) {
JError::raiseError(503, $this->_subject->getError());
JFactory::getApplication()->enqueueMessage($this->_subject->getError(),'error');
}
9 changes: 5 additions & 4 deletions antispambycleantalk.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* CleanTalk joomla plugin
*
* @version 5.7
* @version 5.8
* @package Cleantalk
* @subpackage Joomla
* @author CleanTalk (welcome@cleantalk.org)
Expand All @@ -27,7 +27,7 @@ class plgSystemAntispambycleantalk extends JPlugin
/**
* Plugin version string for server
*/
const ENGINE = 'joomla3-57';
const ENGINE = 'joomla3-58';

/*
* Flag marked JComments form initilization.
Expand Down Expand Up @@ -596,7 +596,8 @@ public function exceptionList()
$option_cmd == 'com_users' ||
$option_cmd == 'com_user' ||
$option_cmd == 'com_login' ||
$option_cmd == 'com_akeebasubs')
$option_cmd == 'com_akeebasubs' ||
$option_cmd == 'com_acymailing')
return true;

return false;
Expand Down Expand Up @@ -773,7 +774,7 @@ public function onBeforeCompileHead()

}
if(isset($notice))
JError::raiseNotice(1024, $notice);
JFactory::getApplication()->enqueueMessage($notice,'notice');
}

}
Expand Down
2 changes: 1 addition & 1 deletion antispambycleantalk.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<license>GNU/GPLv2</license>
<authorEmail>welcome@cleantalk.org</authorEmail>
<authorUrl>cleantalk.org</authorUrl>
<version>5.7</version>
<version>5.8</version>
<description>PLG_CLEANTALK_DESCRIPTION</description>
<files>
<filename plugin="antispambycleantalk">antispambycleantalk.php</filename>
Expand Down
20 changes: 20 additions & 0 deletions plugin-updates.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<updates>
<update>
<name>Antispam by CleanTalk</name>
<description>Antispam plugin for Joomla registrations and contacts, for VurtueMart, Rapid Contact, VTEM Contact, JComments 2.3, 3.0.</description>
<element>antispambycleantalk</element>
<type>plugin</type>
<folder>system</folder>
<client_id>0</client_id>
<client>0</client>
<version>5.8</version>
<infourl title="Antispam by CleanTalk">https://cleantalk.org/joomla-anti-spam-plugin-without-captcha</infourl>
<downloads>
<downloadurl type="full" format="zip">https://github.com/CleanTalk/joomla25-3x-antispam/archive/5.8.zip</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<maintainer>CleanTalk</maintainer>
<maintainerurl>https://cleantalk.org</maintainerurl>
<targetplatform name="joomla" version="[23].*"/>
</update>
<update>
<name>Antispam by CleanTalk</name>
<description>Antispam plugin for Joomla registrations and contacts, for VurtueMart, Rapid Contact, VTEM Contact, JComments 2.3, 3.0.</description>
Expand Down

0 comments on commit b0cea56

Please sign in to comment.