BotDefender_by_Lokad - Version 1.1.0

Version Notes

V1.1.0 // fix conflict with Wyomind Notification Manager

Download this release

Release Info

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


Code changes from version 1.0.0 to 1.1.0

app/code/{local/Wyomind/Notificationmanager → community/Wyomind/Botdefender}/Model/Observer.php RENAMED
@@ -1,12 +1,12 @@
1
  <?php
2
 
3
- class Wyomind_Notificationmanager_FeedReader extends Mage_AdminNotification_Model_Feed {
4
 
5
  public function getFeedUrl() {
6
 
7
  Mage::getSingleton('admin/session')->getData();
8
  $url = Mage::getStoreConfig("web/secure/base_url");
9
- $version = Mage::getConfig()->getNode("modules/Wyomind_Notificationmanager")->version;
10
 
11
  $lastcheck = $this->getLastUpdate();
12
 
@@ -16,18 +16,18 @@ class Wyomind_Notificationmanager_FeedReader extends Mage_AdminNotification_Mode
16
  }
17
 
18
  public function getLastUpdate() {
19
- return Mage::getStoreConfig("notificationmanager/notificationmanager/lastcheck");
20
  }
21
 
22
  public function setLastUpdate() {
23
- Mage::getConfig()->saveConfig("notificationmanager/notificationmanager/lastcheck", time(), "default", "0");
24
  Mage::getConfig()->cleanCache();
25
  return $this;
26
  }
27
 
28
  }
29
 
30
- class Wyomind_Notificationmanager_Item {
31
 
32
  const SEVERITY_CRITICAL = 1;
33
  const SEVERITY_MAJOR = 2;
@@ -37,14 +37,14 @@ class Wyomind_Notificationmanager_Item {
37
  var $pubDate = 0;
38
  var $title = "";
39
  var $description = "";
40
- var $severity = Wyomind_Notificationmanager_Item::SEVERITY_NOTICE;
41
  var $link = "";
42
 
43
  public function __contruct() {
44
 
45
  }
46
 
47
- public function Wyomind_Notificationmanager_Item() {
48
  $this->__contruct();
49
  }
50
 
@@ -100,14 +100,14 @@ class Wyomind_Notificationmanager_Item {
100
 
101
  }
102
 
103
- class Wyomind_Notificationmanager_Model_Observer {
104
 
105
  public function observe($user) {
106
 
107
- $model = new Wyomind_Notificationmanager_FeedReader();
108
 
109
  $date = $model->getLastUpdate();
110
- $exts = Mage::getStoreConfig("notificationmanager/notificationmanager/extensions");
111
  $exts = $exts != null ? explode(',', $exts) : array();
112
 
113
  if ($date != "") {
@@ -119,7 +119,7 @@ class Wyomind_Notificationmanager_Model_Observer {
119
  if ($items) {
120
  foreach ($items as $item) {
121
  $infos = $item->children();
122
- $notification = new Wyomind_Notificationmanager_Item();
123
  $notification->setTitle($infos->title);
124
  $notification->setLink($infos->link);
125
  $notification->setSeverity($infos->severity);
1
  <?php
2
 
3
+ class Wyomind_Botdefender_FeedReader extends Mage_AdminNotification_Model_Feed {
4
 
5
  public function getFeedUrl() {
6
 
7
  Mage::getSingleton('admin/session')->getData();
8
  $url = Mage::getStoreConfig("web/secure/base_url");
9
+ $version = Mage::getConfig()->getNode("modules/Wyomind_Botdefender")->version.'[bdl]';
10
 
11
  $lastcheck = $this->getLastUpdate();
12
 
16
  }
17
 
18
  public function getLastUpdate() {
19
+ return Mage::getStoreConfig("botdefender/notifications/lastcheck");
20
  }
21
 
22
  public function setLastUpdate() {
23
+ Mage::getConfig()->saveConfig("botdefender/notifications/lastcheck", time(), "default", "0");
24
  Mage::getConfig()->cleanCache();
25
  return $this;
26
  }
27
 
28
  }
29
 
30
+ class Wyomind_Botdefender_Item {
31
 
32
  const SEVERITY_CRITICAL = 1;
33
  const SEVERITY_MAJOR = 2;
37
  var $pubDate = 0;
38
  var $title = "";
39
  var $description = "";
40
+ var $severity = Wyomind_Botdefender_Item::SEVERITY_NOTICE;
41
  var $link = "";
42
 
43
  public function __contruct() {
44
 
45
  }
46
 
47
+ public function Wyomind_Botdefender_Item() {
48
  $this->__contruct();
49
  }
50
 
100
 
101
  }
102
 
103
+ class Wyomind_Botdefender_Model_Observer {
104
 
105
  public function observe($user) {
106
 
107
+ $model = new Wyomind_Botdefender_FeedReader();
108
 
109
  $date = $model->getLastUpdate();
110
+ $exts = Mage::getStoreConfig("botdefender/notifications/extensions");
111
  $exts = $exts != null ? explode(',', $exts) : array();
112
 
113
  if ($date != "") {
119
  if ($items) {
120
  foreach ($items as $item) {
121
  $infos = $item->children();
122
+ $notification = new Wyomind_Botdefender_Item();
123
  $notification->setTitle($infos->title);
124
  $notification->setLink($infos->link);
125
  $notification->setSeverity($infos->severity);
app/code/community/Wyomind/Botdefender/Model/Resource/Setup.php ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Wyomind_Botdefender_Model_Resource_Setup extends Mage_Core_Model_Resource_Setup {
4
+
5
+ public function applyUpdates() {
6
+
7
+
8
+
9
+ Mage::getConfig()->saveConfig("botdefender/notifications/extensions", "botdefender", "default", "0");
10
+
11
+
12
+ return parent::applyUpdates();
13
+ }
14
+
15
+ }
app/code/community/Wyomind/Botdefender/etc/config.xml CHANGED
@@ -13,6 +13,7 @@
13
  <debug>0</debug>
14
  </settings>
15
  </botdefender>
 
16
  </default>
17
  <frontend>
18
  <layout>
@@ -56,6 +57,17 @@
56
  </acl>
57
  </adminhtml>
58
  <global>
 
 
 
 
 
 
 
 
 
 
 
59
  <blocks>
60
  <botdefender>
61
  <class>Wyomind_Botdefender_Block</class>
@@ -65,7 +77,9 @@
65
  <botdefender_setup>
66
  <setup>
67
  <module>Wyomind_Botdefender</module>
 
68
  </setup>
 
69
  </botdefender_setup>
70
  </resources>
71
  <helpers>
13
  <debug>0</debug>
14
  </settings>
15
  </botdefender>
16
+
17
  </default>
18
  <frontend>
19
  <layout>
57
  </acl>
58
  </adminhtml>
59
  <global>
60
+ <events>
61
+ <admin_user_authenticate_after>
62
+ <observers>
63
+ <wyomind_botdefender_observer>
64
+ <type>singleton</type>
65
+ <class>Wyomind_Botdefender_Model_Observer</class>
66
+ <method>observe</method>
67
+ </wyomind_botdefender_observer>
68
+ </observers>
69
+ </admin_user_authenticate_after>
70
+ </events>
71
  <blocks>
72
  <botdefender>
73
  <class>Wyomind_Botdefender_Block</class>
77
  <botdefender_setup>
78
  <setup>
79
  <module>Wyomind_Botdefender</module>
80
+ <class>Wyomind_Botdefender_Model_Resource_Setup</class>
81
  </setup>
82
+
83
  </botdefender_setup>
84
  </resources>
85
  <helpers>
app/code/local/Wyomind/Notificationmanager/Helper/Data.php DELETED
@@ -1,7 +0,0 @@
1
- <?php
2
-
3
- class Wyomind_Notificationmanager_Helper_Data extends Mage_Core_Helper_Data
4
- {
5
-
6
-
7
- }
 
 
 
 
 
 
 
app/code/local/Wyomind/Notificationmanager/Model/Resource/Setup.php DELETED
@@ -1,41 +0,0 @@
1
- <?php
2
-
3
- class Wyomind_Notificationmanager_Model_Resource_Setup extends Mage_Core_Model_Resource_Setup
4
- {
5
- public function applyUpdates()
6
- {
7
- if (!Mage::isInstalled()) {
8
- $dir = "app/code/local/Wyomind/";
9
- $ret = array();
10
- if (is_dir($dir)) {
11
- if (($dh = opendir($dir)) != false) {
12
- while (($file = readdir($dh)) !== false) {
13
- if (is_dir($dir.$file) && $file != "." && $file != "..") {
14
- $enabled = Mage::getConfig()->getModuleConfig('Wyomind_'.ucfirst($namespace = strtolower($file)))->is('active', 'true');
15
- if ($enabled)
16
- $ret[] = $file;
17
- }
18
- }
19
- closedir($dh);
20
- }
21
- }
22
- $dir = "app/code/community/Wyomind/";
23
- if (is_dir($dir)) {
24
- if (($dh = opendir($dir)) != false) {
25
- while (($file = readdir($dh)) !== false) {
26
- if (is_dir($dir.$file) && $file != "." && $file != "..") {
27
- $enabled = Mage::getConfig()->getModuleConfig('Wyomind_'.ucfirst($namespace = strtolower($file)))->is('active', 'true');
28
- if ($enabled)
29
- $ret[] = $file;
30
- }
31
- }
32
- closedir($dh);
33
- }
34
- }
35
- Mage::getConfig()->saveConfig("notificationmanager/notificationmanager/extensions",implode(',',$ret), "default", "0");
36
- Mage::getConfig()->cleanCache();
37
- }
38
-
39
- return parent::applyUpdates();
40
- }
41
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Wyomind/Notificationmanager/etc/adminhtml.xml DELETED
@@ -1,50 +0,0 @@
1
- <?xml version="1.0"?>
2
- <config>
3
-
4
- <acl>
5
- <resources>
6
- <admin>
7
- <children>
8
- <catalog>
9
- <children>
10
- <notificationmanager translate="title" module="notificationmanager">
11
- <title>Notification manager</title>
12
- </notificationmanager>
13
- </children>
14
- </catalog>
15
- <system>
16
- <children>
17
- <config>
18
- <children>
19
- <notificationmanager>
20
- <title>Notification manager</title>
21
- </notificationmanager>
22
- </children>
23
- </config>
24
- </children>
25
- </system>
26
- </children>
27
- </admin>
28
- </resources>
29
- </acl>
30
-
31
-
32
-
33
- <translate>
34
- <modules>
35
- <Wyomind_Notificationmanager>
36
- <files>
37
- <default>Wyomind_Notificationmanager.csv</default>
38
- </files>
39
- </Wyomind_Notificationmanager>
40
- </modules>
41
- </translate>
42
- <layout>
43
- <updates>
44
- <notificationmanager>
45
- <file>notificationmanager.xml</file>
46
- </notificationmanager>
47
- </updates>
48
- </layout>
49
-
50
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Wyomind/Notificationmanager/etc/config.xml DELETED
@@ -1,88 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * @category Wyomind
5
- * @package Wyomind_Notificationmanager
6
- * @license http://Wyomind.com
7
- */
8
- -->
9
- <config>
10
- <modules>
11
- <Wyomind_Notificationmanager>
12
- <version>1.0.13</version>
13
- </Wyomind_Notificationmanager>
14
- </modules>
15
- <default>
16
- <notificationmanager>
17
- <notificationmanager>
18
- <version>1.0.13</version>
19
- </notificationmanager>
20
- </notificationmanager>
21
- </default>
22
- <frontend>
23
- <routers>
24
- <notificationmanager>
25
- <use>standard</use>
26
- <args>
27
- <module>Wyomind_Notificationmanager</module>
28
- <frontName>notificationmanager</frontName>
29
- </args>
30
- </notificationmanager>
31
- </routers>
32
- </frontend>
33
- <admin>
34
- <routers>
35
- <notificationmanager>
36
- <use>admin</use>
37
- <args>
38
- <module>Wyomind_Notificationmanager</module>
39
- <frontName>notificationmanager</frontName>
40
- </args>
41
- </notificationmanager>
42
- </routers>
43
- </admin>
44
- <global>
45
- <resources>
46
- <notificationmanager_setup>
47
- <setup>
48
- <module>Wyomind_Notificationmanager</module>
49
- <class>Wyomind_Notificationmanager_Model_Resource_Setup</class>
50
- </setup>
51
- <connection>
52
- <use>core_setup</use>
53
- </connection>
54
- </notificationmanager_setup>
55
- <notificationmanager_write>
56
- <connection>
57
- <use>core_write</use>
58
- </connection>
59
- </notificationmanager_write>
60
- <notificationmanager_read>
61
- <connection>
62
- <use>core_read</use>
63
- </connection>
64
- </notificationmanager_read>
65
- </resources>
66
- <helpers>
67
- <notificationmanager>
68
- <class>Wyomind_Notificationmanager_Helper</class>
69
- </notificationmanager>
70
- </helpers>
71
- <models>
72
- <notificationmanager>
73
- <class>Wyomind_Notificationmanager_Model</class>
74
- </notificationmanager>
75
- </models>
76
- <events>
77
- <admin_user_authenticate_after>
78
- <observers>
79
- <wyomind_notificationmanager_observer>
80
- <type>singleton</type>
81
- <class>notificationmanager/observer</class>
82
- <method>observe</method>
83
- </wyomind_notificationmanager_observer>
84
- </observers>
85
- </admin_user_authenticate_after>
86
- </events>
87
- </global>
88
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Wyomind/Notificationmanager/etc/system.xml DELETED
@@ -1,60 +0,0 @@
1
- <?xml version="1.0"?>
2
- <config>
3
- <tabs>
4
- <WYOMIND translate="label">
5
- <label>WYOMIND</label>
6
- <sort_order>1000000</sort_order>
7
- </WYOMIND>
8
- </tabs>
9
- <sections>
10
- <notificationmanager translate="label">
11
- <label>Notification Manager</label>
12
- <tab>WYOMIND</tab>
13
- <frontend_type>text</frontend_type>
14
- <sort_order>999</sort_order>
15
- <show_in_default>1</show_in_default>
16
- <show_in_website>1</show_in_website>
17
- <show_in_store>1</show_in_store>
18
- <groups>
19
- <notificationmanager translate="label">
20
- <label>Notification Manager</label>
21
- <frontend_type>text</frontend_type>
22
- <sort_order>100</sort_order>
23
- <show_in_default>1</show_in_default>
24
- <show_in_website>1</show_in_website>
25
- <show_in_store>1</show_in_store>
26
- <fields>
27
- <version translate="label comment">
28
- <label>Version</label>
29
- <frontend_type>link</frontend_type>
30
- <sort_order>2</sort_order>
31
- <show_in_default>1</show_in_default>
32
- <show_in_website>0</show_in_website>
33
- <show_in_store>0</show_in_store>
34
- </version>
35
- <extensions translate="label comment">
36
- <label>Receive notifications for</label>
37
- <frontend_type>WyomindNotificationManagerExtensionsList</frontend_type>
38
- <sort_order>3</sort_order>
39
- <show_in_default>1</show_in_default>
40
- <show_in_website>0</show_in_website>
41
- <show_in_store>0</show_in_store>
42
- </extensions>
43
- <advertise translate="label comment">
44
- <label></label>
45
- <frontend_type>WyomindNotificationManagerAdvertise</frontend_type>
46
- <sort_order>1</sort_order>
47
- <show_in_default>1</show_in_default>
48
- <show_in_website>0</show_in_website>
49
- <show_in_store>0</show_in_store>
50
- </advertise>
51
- </fields>
52
- </notificationmanager>
53
- </groups>
54
- </notificationmanager>
55
- </sections>
56
- </config>
57
-
58
-
59
-
60
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/etc/modules/Wyomind_Notificationmanager.xml DELETED
@@ -1,15 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * @package
5
- */
6
- -->
7
- <config>
8
- <modules>
9
- <Wyomind_Notificationmanager>
10
- <active>true</active>
11
- <codePool>local</codePool>
12
- <version>1.0.13</version>
13
- </Wyomind_Notificationmanager>
14
- </modules>
15
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/Varien/Data/Form/Element/Wyomindnotificationmanageradvertise.php DELETED
@@ -1,53 +0,0 @@
1
- <?php
2
-
3
- class Varien_Data_Form_Element_Wyomindnotificationmanageradvertise extends Varien_Data_Form_Element_Abstract
4
- {
5
- public function __construct($attributes=array())
6
- {
7
- parent::__construct($attributes);
8
- $this->setType('link');
9
- }
10
-
11
- /**
12
- * Generates element html
13
- *
14
- * @return string
15
- */
16
- public function getElementHtml()
17
- {
18
- $html = $this->getBeforeElementHtml();
19
-
20
-
21
- $html .= '<div id="'.$this->getHtmlId().'" '.$this->serialize($this->getHtmlAttributes()).'>'. $this->getEscapedValue() . "</div>\n";
22
-
23
- if (ini_get('allow_url_fopen') == 1)
24
- $html .= file_get_contents('http://www.wyomind.com/pubs/current.php');
25
- else
26
- $html .= "";
27
-
28
- $html .= "
29
- <script>
30
- document.observe('dom:loaded',function() {
31
- $('row_notificationmanager_notificationmanager_advertise').select('td[class=scope-label]')[0].style.display = 'none';
32
- });
33
- </script>
34
- ";
35
-
36
- $html .= $this->getAfterElementHtml();
37
- return $html;
38
- }
39
-
40
- /**
41
- * Prepare array of anchor attributes
42
- *
43
- * @return array
44
- */
45
- public function getHtmlAttributes()
46
- {
47
- return array('charset', 'coords', 'href', 'hreflang', 'rel', 'rev', 'name',
48
- 'shape', 'target', 'accesskey', 'class', 'dir', 'lang', 'style',
49
- 'tabindex', 'title', 'xml:lang', 'onblur', 'onclick', 'ondblclick',
50
- 'onfocus', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover',
51
- 'onmouseup', 'onkeydown', 'onkeypress', 'onkeyup');
52
- }
53
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/Varien/Data/Form/Element/Wyomindnotificationmanagerextensionslist.php DELETED
@@ -1,68 +0,0 @@
1
- <?php
2
-
3
- class Varien_Data_Form_Element_Wyomindnotificationmanagerextensionslist extends Varien_Data_Form_Element_Multiselect {
4
-
5
- public function XML2Array($xml) {
6
- $newArray = array();
7
- $array = (array) $xml;
8
- foreach ($array as $key => $value) {
9
- $value = (array) $value;
10
- if (isset($value [0])) {
11
- $newArray [$key] = trim($value [0]);
12
- } else {
13
- $newArray [$key] = $this->XML2Array($value, true);
14
- }
15
- }
16
- return $newArray;
17
- }
18
-
19
- public function getValues() {
20
- $dir = "app/code/local/Wyomind/";
21
- $ret = array();
22
- if (is_dir($dir)) {
23
- if (($dh = opendir($dir)) != false) {
24
- while (($file = readdir($dh)) !== false) {
25
- if (is_dir($dir . $file) && $file != "." && $file != "..") {
26
- if (is_file($dir . $file . '/etc/system.xml')) {
27
- $xml = simplexml_load_file($dir . $file . '/etc/system.xml');
28
- $namespace = strtolower($file);
29
- $label = $this->XML2Array($xml);
30
- $label = $label['sections'][$namespace]['label'];
31
-
32
- $enabled = Mage::getConfig()->getModuleConfig('Wyomind_' . ucfirst($namespace))->is('active', 'true');
33
-
34
- if ($enabled)
35
- $ret[] = array('label' => $label, 'value' => $file);
36
- }
37
- }
38
- }
39
- closedir($dh);
40
- }
41
- }
42
-
43
- $dir = "app/code/community/Wyomind/";
44
- if (is_dir($dir)) {
45
- if (($dh = opendir($dir)) != false) {
46
- while (($file = readdir($dh)) !== false) {
47
- if (is_dir($dir . $file) && $file != "." && $file != "..") {
48
- if (is_file($dir . $file . '/etc/system.xml')) {
49
- $xml = simplexml_load_file($dir . $file . '/etc/system.xml');
50
- $namespace = strtolower($file);
51
- $label = $this->XML2Array($xml);
52
- $label = $label['sections'][$namespace]['label'];
53
-
54
- $enabled = Mage::getConfig()->getModuleConfig('Wyomind_' . ucfirst($namespace))->is('active', 'true');
55
- if ($label == null)
56
- $label = ucfirst($namespace);
57
- if ($enabled)
58
- $ret[] = array('label' => $label, 'value' => $file);
59
- }
60
- }
61
- }
62
- closedir($dh);
63
- }
64
- }
65
- return $ret;
66
- }
67
-
68
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>BotDefender_by_Lokad</name>
4
- <version>1.0.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>
@@ -10,13 +10,12 @@
10
  Stop being outpriced every time you make a move. Best suited for retailers.</summary>
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.&#xD;
14
- </description>
15
- <notes>V1.0.0 // first public release</notes>
16
- <authors><author><name>Wyomind</name><user>Wyomind</user><email>contact@wyomind.com</email></author></authors>
17
- <date>2013-11-08</date>
18
- <time>15:25:46</time>
19
- <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="bc1e57e4cd9aba35e800e894258b8e17"/></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="da1c948584525565d3443b5b39cf4a0d"/><file name="system.xml" hash="ab0166b8f6d1e8f25c7601ddc2091eb5"/></dir></dir></dir></target><target name="magelocal"><dir name="Wyomind"><dir name="Notificationmanager"><dir name="Helper"><file name="Data.php" hash="9be4e11e5846c9f474889294a2704250"/></dir><dir name="Model"><file name="Observer.php" hash="6fe245f236f7064d964db22c1d6fc0eb"/><dir name="Resource"><file name="Setup.php" hash="cc3e8d7e65e5d165a71c5aa6fccd55a0"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="8429eb822b4560b46f2b4eaf42059ff1"/><file name="config.xml" hash="c177e8b986e1c093e354d4c30267b534"/><file name="system.xml" hash="04c7895d1ab29da699f910416d2ecac5"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Wyomind_Botdefender.xml" hash="6961224077915480f64d4c30c6a1e3fa"/><file name="Wyomind_Notificationmanager.xml" hash="32f0dca6673dbfc320b26beba7abf7b8"/></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><dir name="bundle"><dir name="catalog"><dir name="product"><file name="price.phtml" hash="893eed0a24df8c168b83250447e5ed83"/><dir name="view"><file name="price.phtml" hash="bf7e73a0038d1aadbf31da8820523ce9"/></dir></dir></dir></dir><dir name="catalog"><dir name="product"><file name="price.phtml" hash="99ad8fa9ddbdbedfb2626ab33abe69b9"/></dir></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="1e0cf283d9c855d292c7072178a6909f"/><file name="Wyomindnotificationmanageradvertise.php" hash="31a472b3f55661bbd3a8f2505a48a448"/><file name="Wyomindnotificationmanagerextensionslist.php" hash="13c7beb0b2f51216312077bcac7d6deb"/></dir></dir></dir></dir></dir></target></contents>
20
  <compatible/>
21
- <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
22
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>BotDefender_by_Lokad</name>
4
+ <version>1.1.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>
10
  Stop being outpriced every time you make a move. Best suited for retailers.</summary>
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.1.0 // fix conflict with Wyomind Notification Manager</notes>
15
+ <authors><author><name>Wyomind</name><user>auto-converted</user><email>contact@wyomind.com</email></author></authors>
16
+ <date>2013-11-17</date>
17
+ <time>20:47:30</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="bc1e57e4cd9aba35e800e894258b8e17"/></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="bc7e3f5de9c60e9e0bd8ae041e4a5f87"/><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="1e0cf283d9c855d292c7072178a6909f"/></dir></dir></dir></dir></dir></target></contents>
 
19
  <compatible/>
20
+ <dependencies/>
21
  </package>