BotDefender_by_Lokad - Version 1.2.1

Version Notes

V1.2.1 // Fix for curl detection

Download this release

Release Info

Developer Magento Core Team
Extension BotDefender_by_Lokad
Version 1.2.1
Comparing to
See all releases


Code changes from version 1.2.0 to 1.2.1

app/code/community/Wyomind/Botdefender/Helper/Data.php CHANGED
@@ -4,7 +4,7 @@ class Wyomind_Botdefender_Helper_Data extends Mage_Core_Helper_Data {
4
 
5
  public $_API_ERROR = "BotDefender API is temporary unavailable.";
6
  public $_CURL_ERROR = "Unable to connect the BotDefender API through CURL.";
7
- public $_CURL_DISABLED = "CURL.dll must be enabled to allow the API connection!";
8
  public $_MISSING_CREDENTIALS = "Create your FREE BotDefender account now!";
9
  public $_AUTHENTIFICATION_ERROR = "API connection failed.<br/> Please check your credentials!";
10
  public $_BAD_REQUEST = "BAD REQUEST";
@@ -16,7 +16,7 @@ class Wyomind_Botdefender_Helper_Data extends Mage_Core_Helper_Data {
16
  function apiCall($productPriceId = false, $price = 0) {
17
 
18
  // CURL DISABLED
19
- if (!function_exists('curl_version')) {
20
  $this->_error = true;
21
  return -4;
22
  }
4
 
5
  public $_API_ERROR = "BotDefender API is temporary unavailable.";
6
  public $_CURL_ERROR = "Unable to connect the BotDefender API through CURL.";
7
+ public $_CURL_DISABLED = "CURL must be enabled to allow the API connection!";
8
  public $_MISSING_CREDENTIALS = "Create your FREE BotDefender account now!";
9
  public $_AUTHENTIFICATION_ERROR = "API connection failed.<br/> Please check your credentials!";
10
  public $_BAD_REQUEST = "BAD REQUEST";
16
  function apiCall($productPriceId = false, $price = 0) {
17
 
18
  // CURL DISABLED
19
+ if (!function_exists('curl_init')) {
20
  $this->_error = true;
21
  return -4;
22
  }
app/code/community/Wyomind/Botdefender/etc/config.xml CHANGED
@@ -3,7 +3,7 @@
3
  <config>
4
  <modules>
5
  <Wyomind_Botdefender>
6
- <version>1.2.0</version>
7
  </Wyomind_Botdefender>
8
  </modules>
9
  <default>
3
  <config>
4
  <modules>
5
  <Wyomind_Botdefender>
6
+ <version>1.2.1</version>
7
  </Wyomind_Botdefender>
8
  </modules>
9
  <default>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>BotDefender_by_Lokad</name>
4
- <version>1.2.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.wyomind.com/terms-and-conditions.html">OSL v3.0</license>
7
  <channel>community</channel>
@@ -11,11 +11,11 @@ Stop being outpriced every time you make a move. Best suited for retailers.</sum
11
  <description>&lt;h2 class="thin"&gt;Stop competitors from getting your prices&lt;/h2&gt;&#xD;
12
  &lt;span style="font-size:140%"&gt;stop being outpriced&lt;/span&gt; customer acquisition costs are higher than ever. Why should you lose a costly customer acquisition just because your competitor always aligns itself $1 below your price?&lt;br&gt;&lt;br&gt;&lt;span style="font-size:140%"&gt;stop price wars&lt;/span&gt; if your competitors react in near real-time to your prices, then anytime you lower a price, they will lower their price as well. Let competitors pick other opponents to run their price wars.&lt;br&gt;&lt;br&gt;&lt;span style="font-size:140%"&gt;drive competition crazy&lt;/span&gt; reverse-engineering BotDefender takes 1000 more time than setting it up. Keep competition distracted for months, while you make decisive moves on your core business.&lt;br&gt;&lt;br&gt;&lt;span style="font-size:140%"&gt;it's free, no catch&lt;/span&gt; the Express Plan is free and does not expire. No hidden costs or catch involved. We have a paid plan with extra features but the Express Plan is fully functional.&lt;br&gt;&lt;br&gt;&lt;h2 class="thin"&gt;Obfuscation (Enterprise Plan)&lt;/h2&gt;&#xD;
13
  Obfuscation is a more advanced protection method only made available in the Enterprise Plan. The snippet returned by BotDefender is an intricate price of HTML and JavaScript designed to be very hard to decipher, no matter if it's the raw HTML or the DOM (Domain Object Model) that are analyzed.&lt;br&gt;&lt;br&gt;Advantages of obfuscation over tar pitting are:&lt;br&gt;&lt;br&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Zero overhead&lt;/b&gt; caused by an extra HTTP request to be made by the end-user. The snippet is self-contained and does not require any external resources to be rendered as the price.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Zero liability&lt;/b&gt; as the snippet is self-contained; it does not matter whether the BotDefender servers are up or down: the mechanism keeps working without any dependency on BotDefender.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Zero leakage&lt;/b&gt; when obfuscation is used Lokad &lt;i&gt;cannot&lt;/i&gt; collect any information about your web traffic. As far data leakage is concerned, it can't be made more secure than that.&lt;br&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br&gt;Lokad recommends obfuscation for high-traffic websites.</description>
14
- <notes>V1.2.0 // API authentication fix</notes>
15
  <authors><author><name>Wyomind</name><user>auto-converted</user><email>contact@wyomind.com</email></author></authors>
16
- <date>2013-11-20</date>
17
- <time>13:02:34</time>
18
- <contents><target name="magecommunity"><dir name="Wyomind"><dir name="Botdefender"><dir name="Block"><dir name="Adminhtml"><file name="Notifications.php" hash="1e70daf7287709d6c33cec793a561d8b"/></dir></dir><dir name="Helper"><file name="Data.php" hash="e46311866ae2b12131dc933e4f394e46"/></dir><dir name="Model"><dir name="Resource"><file name="Setup.php" hash="31e494bb0f0d0e6c56ab1df0a5930efb"/></dir><file name="Observer.php" hash="3ecd42c88e337b0861c614b5201dc3ae"/></dir><dir name="Varien"><dir name="Data"><dir name="Form"><dir name="Element"><file name="Installation.php" hash="9cb39374d4788934f028c23c8be38f92"/></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="15478a2b20d74116036b1dc1d128bedd"/><file name="system.xml" hash="ab0166b8f6d1e8f25c7601ddc2091eb5"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Wyomind_Botdefender.xml" hash="6961224077915480f64d4c30c6a1e3fa"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="botdefender.xml" hash="e75f14ad7cb6a185f472831cf40a17be"/></dir><dir name="template"><dir name="botdefender"><dir name="bundle"><dir name="catalog"><dir name="product"><dir name="view"><file name="price.phtml" hash="bf7e73a0038d1aadbf31da8820523ce9"/></dir><file name="price.phtml" hash="893eed0a24df8c168b83250447e5ed83"/></dir></dir></dir><dir name="catalog"><dir name="product"><file name="price.phtml" hash="99ad8fa9ddbdbedfb2626ab33abe69b9"/></dir></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="botdefender.xml" hash="db56f289d4ba772caaff40d4968c1edf"/></dir></dir></dir></dir></target><target name="mageweb"><dir name="lib"><dir name="Varien"><dir name="Data"><dir name="Form"><dir name="Element"><file name="Botdefender.php" hash="03bf9c9f7bfddded751dbdb024bf384c"/></dir></dir></dir></dir></dir></target></contents>
19
  <compatible/>
20
  <dependencies/>
21
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>BotDefender_by_Lokad</name>
4
+ <version>1.2.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.wyomind.com/terms-and-conditions.html">OSL v3.0</license>
7
  <channel>community</channel>
11
  <description>&lt;h2 class="thin"&gt;Stop competitors from getting your prices&lt;/h2&gt;&#xD;
12
  &lt;span style="font-size:140%"&gt;stop being outpriced&lt;/span&gt; customer acquisition costs are higher than ever. Why should you lose a costly customer acquisition just because your competitor always aligns itself $1 below your price?&lt;br&gt;&lt;br&gt;&lt;span style="font-size:140%"&gt;stop price wars&lt;/span&gt; if your competitors react in near real-time to your prices, then anytime you lower a price, they will lower their price as well. Let competitors pick other opponents to run their price wars.&lt;br&gt;&lt;br&gt;&lt;span style="font-size:140%"&gt;drive competition crazy&lt;/span&gt; reverse-engineering BotDefender takes 1000 more time than setting it up. Keep competition distracted for months, while you make decisive moves on your core business.&lt;br&gt;&lt;br&gt;&lt;span style="font-size:140%"&gt;it's free, no catch&lt;/span&gt; the Express Plan is free and does not expire. No hidden costs or catch involved. We have a paid plan with extra features but the Express Plan is fully functional.&lt;br&gt;&lt;br&gt;&lt;h2 class="thin"&gt;Obfuscation (Enterprise Plan)&lt;/h2&gt;&#xD;
13
  Obfuscation is a more advanced protection method only made available in the Enterprise Plan. The snippet returned by BotDefender is an intricate price of HTML and JavaScript designed to be very hard to decipher, no matter if it's the raw HTML or the DOM (Domain Object Model) that are analyzed.&lt;br&gt;&lt;br&gt;Advantages of obfuscation over tar pitting are:&lt;br&gt;&lt;br&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Zero overhead&lt;/b&gt; caused by an extra HTTP request to be made by the end-user. The snippet is self-contained and does not require any external resources to be rendered as the price.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Zero liability&lt;/b&gt; as the snippet is self-contained; it does not matter whether the BotDefender servers are up or down: the mechanism keeps working without any dependency on BotDefender.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Zero leakage&lt;/b&gt; when obfuscation is used Lokad &lt;i&gt;cannot&lt;/i&gt; collect any information about your web traffic. As far data leakage is concerned, it can't be made more secure than that.&lt;br&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br&gt;Lokad recommends obfuscation for high-traffic websites.</description>
14
+ <notes>V1.2.1 // Fix for curl detection</notes>
15
  <authors><author><name>Wyomind</name><user>auto-converted</user><email>contact@wyomind.com</email></author></authors>
16
+ <date>2013-11-22</date>
17
+ <time>11:19:09</time>
18
+ <contents><target name="magecommunity"><dir name="Wyomind"><dir name="Botdefender"><dir name="Block"><dir name="Adminhtml"><file name="Notifications.php" hash="1e70daf7287709d6c33cec793a561d8b"/></dir></dir><dir name="Helper"><file name="Data.php" hash="2d95fcef303965078ec0faabb8ef9035"/></dir><dir name="Model"><dir name="Resource"><file name="Setup.php" hash="31e494bb0f0d0e6c56ab1df0a5930efb"/></dir><file name="Observer.php" hash="3ecd42c88e337b0861c614b5201dc3ae"/></dir><dir name="Varien"><dir name="Data"><dir name="Form"><dir name="Element"><file name="Installation.php" hash="9cb39374d4788934f028c23c8be38f92"/></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="48cd01c2dc403b4eb656df692a072004"/><file name="system.xml" hash="ab0166b8f6d1e8f25c7601ddc2091eb5"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Wyomind_Botdefender.xml" hash="6961224077915480f64d4c30c6a1e3fa"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="botdefender.xml" hash="e75f14ad7cb6a185f472831cf40a17be"/></dir><dir name="template"><dir name="botdefender"><dir name="bundle"><dir name="catalog"><dir name="product"><dir name="view"><file name="price.phtml" hash="bf7e73a0038d1aadbf31da8820523ce9"/></dir><file name="price.phtml" hash="893eed0a24df8c168b83250447e5ed83"/></dir></dir></dir><dir name="catalog"><dir name="product"><file name="price.phtml" hash="99ad8fa9ddbdbedfb2626ab33abe69b9"/></dir></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="botdefender.xml" hash="db56f289d4ba772caaff40d4968c1edf"/></dir></dir></dir></dir></target><target name="mageweb"><dir name="lib"><dir name="Varien"><dir name="Data"><dir name="Form"><dir name="Element"><file name="Botdefender.php" hash="03bf9c9f7bfddded751dbdb024bf384c"/></dir></dir></dir></dir></dir></target></contents>
19
  <compatible/>
20
  <dependencies/>
21
  </package>