Version Notes
No notes
Download this release
Release Info
Developer | Yireo |
Extension | Yireo_DisableLog |
Version | 0.0.14 |
Comparing to | |
See all releases |
Code changes from version 0.0.7 to 0.0.14
- app/code/community/Yireo/DisableLog/Helper/Data.php +30 -5
- app/code/community/Yireo/DisableLog/Model/Feed.php +39 -7
- app/code/community/Yireo/DisableLog/Model/Observer.php +7 -4
- app/code/community/Yireo/DisableLog/Model/Rewrite/Catalogsearch/Query.php +2 -2
- app/code/community/Yireo/DisableLog/Model/Rewrite/Log/Visitor.php +2 -2
- app/code/community/Yireo/DisableLog/Observer/Feed.php +45 -0
- app/code/community/Yireo/DisableLog/etc/config.xml +110 -54
- app/code/community/Yireo/DisableLog/etc/system.xml +11 -5
- app/etc/modules/Yireo_DisableLog.xml +2 -2
- package.xml +1 -1
app/code/community/Yireo/DisableLog/Helper/Data.php
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Yireo DisableLog for Magento
|
4 |
*
|
5 |
* @package Yireo_DisableLog
|
6 |
-
* @author Yireo (
|
7 |
-
* @copyright Copyright
|
8 |
* @license Open Source License (OSL v3)
|
9 |
*/
|
10 |
|
@@ -13,6 +13,21 @@
|
|
13 |
*/
|
14 |
class Yireo_DisableLog_Helper_Data extends Mage_Core_Helper_Abstract
|
15 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
/**
|
17 |
* Helper-method to determine whether this module is enabled or not
|
18 |
*
|
@@ -20,10 +35,20 @@ class Yireo_DisableLog_Helper_Data extends Mage_Core_Helper_Abstract
|
|
20 |
*/
|
21 |
public function enabled()
|
22 |
{
|
23 |
-
if ((bool)
|
24 |
return false;
|
25 |
}
|
26 |
|
27 |
-
return (bool)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
}
|
29 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Yireo DisableLog for Magento
|
4 |
*
|
5 |
* @package Yireo_DisableLog
|
6 |
+
* @author Yireo (https://www.yireo.com/)
|
7 |
+
* @copyright Copyright 2016 Yireo (https://www.yireo.com/)
|
8 |
* @license Open Source License (OSL v3)
|
9 |
*/
|
10 |
|
13 |
*/
|
14 |
class Yireo_DisableLog_Helper_Data extends Mage_Core_Helper_Abstract
|
15 |
{
|
16 |
+
/** @var Mage_Core_Model_App */
|
17 |
+
protected $app;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Yireo_EmailTester_Helper_Data constructor.
|
21 |
+
*/
|
22 |
+
public function __construct($app = null)
|
23 |
+
{
|
24 |
+
if ($app) {
|
25 |
+
$this->app = $app;
|
26 |
+
} else {
|
27 |
+
$this->app = Mage::app();
|
28 |
+
}
|
29 |
+
}
|
30 |
+
|
31 |
/**
|
32 |
* Helper-method to determine whether this module is enabled or not
|
33 |
*
|
35 |
*/
|
36 |
public function enabled()
|
37 |
{
|
38 |
+
if ((bool)$this->getStoreConfig('advanced/modules_disable_output/Yireo_DisableLog')) {
|
39 |
return false;
|
40 |
}
|
41 |
|
42 |
+
return (bool)$this->getStoreConfig('disablelog/settings/enabled');
|
43 |
+
}
|
44 |
+
|
45 |
+
/**
|
46 |
+
* @param $value
|
47 |
+
*
|
48 |
+
* @return null|string
|
49 |
+
*/
|
50 |
+
public function getStoreConfig($value)
|
51 |
+
{
|
52 |
+
return $this->app->getStore()->getConfig($value);
|
53 |
}
|
54 |
}
|
app/code/community/Yireo/DisableLog/Model/Feed.php
CHANGED
@@ -4,9 +4,9 @@
|
|
4 |
*
|
5 |
* @author Yireo
|
6 |
* @package Yireo_Common
|
7 |
-
* @copyright Copyright
|
8 |
* @license Open Source License (OSL v3) (OSL)
|
9 |
-
* @link
|
10 |
*/
|
11 |
|
12 |
/**
|
@@ -14,17 +14,48 @@
|
|
14 |
*/
|
15 |
class Yireo_DisableLog_Model_Feed extends Mage_AdminNotification_Model_Feed
|
16 |
{
|
|
|
|
|
|
|
|
|
|
|
17 |
/**
|
18 |
* Return the feed URL
|
19 |
*/
|
20 |
protected $customFeedUrl = 'https://www.yireo.com/extfeed?format=feed&platform=magento&extension=disablelog';
|
21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
/**
|
23 |
* Return the feed URL
|
24 |
*
|
25 |
* @return string
|
26 |
*/
|
27 |
-
public function getFeedUrl()
|
28 |
{
|
29 |
return $this->customFeedUrl;
|
30 |
}
|
@@ -32,27 +63,28 @@ class Yireo_DisableLog_Model_Feed extends Mage_AdminNotification_Model_Feed
|
|
32 |
/**
|
33 |
* Try to update feed
|
34 |
*
|
35 |
-
* @return
|
36 |
*/
|
37 |
public function updateIfAllowed()
|
38 |
{
|
39 |
// Is this the backend
|
40 |
-
if (
|
41 |
return false;
|
42 |
}
|
43 |
|
44 |
// Is the backend-user logged-in
|
45 |
-
if (
|
46 |
return false;
|
47 |
}
|
48 |
|
49 |
// Is the feed disabled?
|
50 |
-
if((bool)
|
51 |
return false;
|
52 |
}
|
53 |
|
54 |
// Update the feed
|
55 |
$this->checkUpdate();
|
|
|
56 |
}
|
57 |
|
58 |
/**
|
4 |
*
|
5 |
* @author Yireo
|
6 |
* @package Yireo_Common
|
7 |
+
* @copyright Copyright 2016
|
8 |
* @license Open Source License (OSL v3) (OSL)
|
9 |
+
* @link https://www.yireo.com
|
10 |
*/
|
11 |
|
12 |
/**
|
14 |
*/
|
15 |
class Yireo_DisableLog_Model_Feed extends Mage_AdminNotification_Model_Feed
|
16 |
{
|
17 |
+
/**
|
18 |
+
* Helper name
|
19 |
+
*/
|
20 |
+
const HELPER_NAME = 'disablelog';
|
21 |
+
|
22 |
/**
|
23 |
* Return the feed URL
|
24 |
*/
|
25 |
protected $customFeedUrl = 'https://www.yireo.com/extfeed?format=feed&platform=magento&extension=disablelog';
|
26 |
|
27 |
+
/**
|
28 |
+
* @var Mage_Admin_Model_Session
|
29 |
+
*/
|
30 |
+
protected $session;
|
31 |
+
|
32 |
+
/**
|
33 |
+
* @var Yireo_DisableLog_Helper_Data
|
34 |
+
*/
|
35 |
+
protected $helper;
|
36 |
+
|
37 |
+
/**
|
38 |
+
* @var Mage_Core_Model_Store
|
39 |
+
*/
|
40 |
+
protected $store;
|
41 |
+
|
42 |
+
/**
|
43 |
+
* Init model
|
44 |
+
*
|
45 |
+
*/
|
46 |
+
protected function _construct()
|
47 |
+
{
|
48 |
+
$this->store = Mage::app()->getStore();
|
49 |
+
$this->session = Mage::getSingleton('admin/session');
|
50 |
+
$this->helper = Mage::helper(self::HELPER_NAME);
|
51 |
+
}
|
52 |
+
|
53 |
/**
|
54 |
* Return the feed URL
|
55 |
*
|
56 |
* @return string
|
57 |
*/
|
58 |
+
public function getFeedUrl()
|
59 |
{
|
60 |
return $this->customFeedUrl;
|
61 |
}
|
63 |
/**
|
64 |
* Try to update feed
|
65 |
*
|
66 |
+
* @return bool
|
67 |
*/
|
68 |
public function updateIfAllowed()
|
69 |
{
|
70 |
// Is this the backend
|
71 |
+
if ($this->store->isAdmin() == false) {
|
72 |
return false;
|
73 |
}
|
74 |
|
75 |
// Is the backend-user logged-in
|
76 |
+
if ($this->session->isLoggedIn() == false) {
|
77 |
return false;
|
78 |
}
|
79 |
|
80 |
// Is the feed disabled?
|
81 |
+
if ((bool)$this->helper->getStoreConfig('yireo/common/disabled')) {
|
82 |
return false;
|
83 |
}
|
84 |
|
85 |
// Update the feed
|
86 |
$this->checkUpdate();
|
87 |
+
return true;
|
88 |
}
|
89 |
|
90 |
/**
|
app/code/community/Yireo/DisableLog/Model/Observer.php
CHANGED
@@ -4,13 +4,15 @@
|
|
4 |
*
|
5 |
* @author Yireo
|
6 |
* @package DisableLog
|
7 |
-
* @copyright Copyright
|
8 |
* @license Open Source License (OSL v3)
|
9 |
-
* @link
|
10 |
*/
|
11 |
|
12 |
/**
|
13 |
* DisableLog observer to various Magento events
|
|
|
|
|
14 |
*/
|
15 |
class Yireo_DisableLog_Model_Observer extends Mage_Core_Model_Abstract
|
16 |
{
|
@@ -18,11 +20,12 @@ class Yireo_DisableLog_Model_Observer extends Mage_Core_Model_Abstract
|
|
18 |
* Method fired on the event <controller_action_predispatch>
|
19 |
*
|
20 |
* @param Varien_Event_Observer $observer
|
|
|
21 |
* @return Yireo_DisableLog_Model_Observer
|
|
|
22 |
*/
|
23 |
public function controllerActionPredispatch($observer)
|
24 |
{
|
25 |
-
|
26 |
-
Mage::getModel('disablelog/feed')->updateIfAllowed();
|
27 |
}
|
28 |
}
|
4 |
*
|
5 |
* @author Yireo
|
6 |
* @package DisableLog
|
7 |
+
* @copyright Copyright 2016
|
8 |
* @license Open Source License (OSL v3)
|
9 |
+
* @link https://www.yireo.com
|
10 |
*/
|
11 |
|
12 |
/**
|
13 |
* DisableLog observer to various Magento events
|
14 |
+
*
|
15 |
+
* @deprecated
|
16 |
*/
|
17 |
class Yireo_DisableLog_Model_Observer extends Mage_Core_Model_Abstract
|
18 |
{
|
20 |
* Method fired on the event <controller_action_predispatch>
|
21 |
*
|
22 |
* @param Varien_Event_Observer $observer
|
23 |
+
*
|
24 |
* @return Yireo_DisableLog_Model_Observer
|
25 |
+
* @deprecated
|
26 |
*/
|
27 |
public function controllerActionPredispatch($observer)
|
28 |
{
|
29 |
+
return $this;
|
|
|
30 |
}
|
31 |
}
|
app/code/community/Yireo/DisableLog/Model/Rewrite/Catalogsearch/Query.php
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
* Yireo DisableLog for Magento
|
4 |
*
|
5 |
* @package Yireo_DisableLog
|
6 |
-
* @author Yireo (
|
7 |
-
* @copyright Copyright
|
8 |
* @license Open Source License (OSL v3)
|
9 |
*/
|
10 |
|
3 |
* Yireo DisableLog for Magento
|
4 |
*
|
5 |
* @package Yireo_DisableLog
|
6 |
+
* @author Yireo (https://www.yireo.com/)
|
7 |
+
* @copyright Copyright 2016 Yireo (https://www.yireo.com/)
|
8 |
* @license Open Source License (OSL v3)
|
9 |
*/
|
10 |
|
app/code/community/Yireo/DisableLog/Model/Rewrite/Log/Visitor.php
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
* Yireo DisableLog for Magento
|
4 |
*
|
5 |
* @package Yireo_DisableLog
|
6 |
-
* @author Yireo (
|
7 |
-
* @copyright Copyright
|
8 |
* @license Open Source License (OSL v3)
|
9 |
*/
|
10 |
|
3 |
* Yireo DisableLog for Magento
|
4 |
*
|
5 |
* @package Yireo_DisableLog
|
6 |
+
* @author Yireo (https://www.yireo.com/)
|
7 |
+
* @copyright Copyright 2016 Yireo (https://www.yireo.com/)
|
8 |
* @license Open Source License (OSL v3)
|
9 |
*/
|
10 |
|
app/code/community/Yireo/DisableLog/Observer/Feed.php
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Yireo DisableLog
|
4 |
+
*
|
5 |
+
* @author Yireo
|
6 |
+
* @package DisableLog
|
7 |
+
* @copyright Copyright 2016
|
8 |
+
* @license Open Source License (OSL v3)
|
9 |
+
* @link https://www.yireo.com
|
10 |
+
*/
|
11 |
+
|
12 |
+
/**
|
13 |
+
* DisableLog observer to load Yireo feed
|
14 |
+
*/
|
15 |
+
class Yireo_DisableLog_Observer_Feed
|
16 |
+
{
|
17 |
+
/**
|
18 |
+
* @var Yireo_DisableLog_Model_Feed
|
19 |
+
*/
|
20 |
+
protected $feedModel;
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Yireo_DisableLog_Observer_Feed constructor.
|
24 |
+
*/
|
25 |
+
public function __construct()
|
26 |
+
{
|
27 |
+
$this->feedModel = Mage::getModel('disablelog/feed');
|
28 |
+
}
|
29 |
+
|
30 |
+
/**
|
31 |
+
* Method fired on the event <controller_action_predispatch>
|
32 |
+
*
|
33 |
+
* @param Varien_Event_Observer $observer
|
34 |
+
*
|
35 |
+
* @return Yireo_DisableLog_Observer_Feed
|
36 |
+
* @event controller_action_predispatch
|
37 |
+
*/
|
38 |
+
public function controllerActionPredispatch($observer)
|
39 |
+
{
|
40 |
+
// Run the feed
|
41 |
+
$this->feedModel->updateIfAllowed();
|
42 |
+
|
43 |
+
return $this;
|
44 |
+
}
|
45 |
+
}
|
app/code/community/Yireo/DisableLog/etc/config.xml
CHANGED
@@ -4,8 +4,8 @@
|
|
4 |
* Yireo DisableLog for Magento
|
5 |
*
|
6 |
* @package Yireo_DisableLog
|
7 |
-
* @author Yireo (
|
8 |
-
* @copyright Copyright
|
9 |
* @license Open Source License (OSL v3)
|
10 |
*/
|
11 |
-->
|
@@ -13,7 +13,7 @@
|
|
13 |
|
14 |
<modules>
|
15 |
<Yireo_DisableLog>
|
16 |
-
<version>0.0.
|
17 |
</Yireo_DisableLog>
|
18 |
</modules>
|
19 |
|
@@ -41,48 +41,118 @@
|
|
41 |
</models>
|
42 |
|
43 |
<skip_user_agents>
|
|
|
|
|
44 |
<appengine>AppEngine-Google</appengine>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
<bingbot>bingbot</bingbot>
|
46 |
-
<
|
47 |
-
<
|
48 |
-
<
|
49 |
-
<yahoo>ysearch/slurp</yahoo>
|
50 |
-
<baidu>Baiduspider</baidu>
|
51 |
-
<yandex>YandexBot</yandex>
|
52 |
-
<socialmedia>SocialMedia Bot</socialmedia>
|
53 |
-
<exabot>Exabot</exabot>
|
54 |
-
<soso>Sosospider+</soso>
|
55 |
-
<tweetmeme>TweetmemeBot</tweetmeme>
|
56 |
<comodo1>Comodo-Certificates-Spider</comodo1>
|
57 |
<comodo2>Comodo SSL Checker</comodo2>
|
58 |
-
<
|
59 |
-
<
|
60 |
-
<
|
61 |
-
<
|
62 |
-
<
|
63 |
-
<
|
64 |
-
<huawei>Huaweisymantecspider</huawei>
|
65 |
-
<docomo>DoCoMo/2.0</docomo>
|
66 |
-
<msn>msnbot/</msn>
|
67 |
-
<worio>woriobot support</worio>
|
68 |
-
<archiver>ia_archiver</archiver>
|
69 |
-
<passwordthumbs>1PasswordThumbs</passwordthumbs>
|
70 |
-
<twingly>Twingly Recon</twingly>
|
71 |
-
<tlsprober>TLSProber/0.1</tlsprober>
|
72 |
-
<postrank>PostRank/2.0 (postrank.com)</postrank>
|
73 |
-
<jskit1>JS-Kit URL Resolver, http://js-kit.com/</jskit1>
|
74 |
<dotnetcom>dotnetdotcom.org</dotnetcom>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
<gigabot>Gigabot/</gigabot>
|
76 |
-
<
|
77 |
-
<
|
78 |
-
<
|
79 |
-
<
|
80 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
<kiwistatus>KiwiStatus/</kiwistatus>
|
82 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
<pycurl>PycURL/</pycurl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
<voyager>Voyager/</voyager>
|
85 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
</skip_user_agents>
|
87 |
</global>
|
88 |
|
@@ -96,6 +166,7 @@
|
|
96 |
</Yireo_DisableLog>
|
97 |
</modules>
|
98 |
</translate>
|
|
|
99 |
<acl>
|
100 |
<resources>
|
101 |
<admin>
|
@@ -119,31 +190,16 @@
|
|
119 |
<events>
|
120 |
<controller_action_predispatch>
|
121 |
<observers>
|
122 |
-
<
|
123 |
<type>singleton</type>
|
124 |
-
<class>
|
125 |
<method>controllerActionPredispatch</method>
|
126 |
-
</
|
127 |
</observers>
|
128 |
</controller_action_predispatch>
|
129 |
</events>
|
130 |
</adminhtml>
|
131 |
|
132 |
-
<frontend>
|
133 |
-
<events>
|
134 |
-
<controller_action_predispatch>
|
135 |
-
<observers>
|
136 |
-
<log><type>disabled</type></log>
|
137 |
-
</observers>
|
138 |
-
</controller_action_predispatch>
|
139 |
-
<controller_action_postdispatch>
|
140 |
-
<observers>
|
141 |
-
<log><type>disabled</type></log>
|
142 |
-
</observers>
|
143 |
-
</controller_action_postdispatch>
|
144 |
-
</events>
|
145 |
-
</frontend>
|
146 |
-
|
147 |
<default>
|
148 |
<disablelog>
|
149 |
<settings>
|
4 |
* Yireo DisableLog for Magento
|
5 |
*
|
6 |
* @package Yireo_DisableLog
|
7 |
+
* @author Yireo (https://www.yireo.com/)
|
8 |
+
* @copyright Copyright 2016 Yireo (https://www.yireo.com/)
|
9 |
* @license Open Source License (OSL v3)
|
10 |
*/
|
11 |
-->
|
13 |
|
14 |
<modules>
|
15 |
<Yireo_DisableLog>
|
16 |
+
<version>0.0.14</version>
|
17 |
</Yireo_DisableLog>
|
18 |
</modules>
|
19 |
|
41 |
</models>
|
42 |
|
43 |
<skip_user_agents>
|
44 |
+
<ahrefs>AhrefsBot/</ahrefs>
|
45 |
+
<apache_httpclient>Apache-HttpClient/</apache_httpclient>
|
46 |
<appengine>AppEngine-Google</appengine>
|
47 |
+
<apple_pubsub>Apple-PubSub/</apple_pubsub>
|
48 |
+
<applebot>Applebot/</applebot>
|
49 |
+
<archiver>ia_archiver</archiver>
|
50 |
+
<baidu_heritrix>heritrix/</baidu_heritrix>
|
51 |
+
<baidu_spider>Baiduspider</baidu_spider>
|
52 |
+
<beslist>BeslistBot/</beslist>
|
53 |
+
<betabot>betaBot</betabot>
|
54 |
<bingbot>bingbot</bingbot>
|
55 |
+
<bingpreview>BingPreview/</bingpreview>
|
56 |
+
<cartdown>CartDown.com</cartdown>
|
57 |
+
<ccbot>CCBot/</ccbot>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
<comodo1>Comodo-Certificates-Spider</comodo1>
|
59 |
<comodo2>Comodo SSL Checker</comodo2>
|
60 |
+
<curl>curl/</curl>
|
61 |
+
<cxf>Apache CXF</cxf>
|
62 |
+
<daisycon>Daisycon.com/bot</daisycon>
|
63 |
+
<discobot>discobot/</discobot>
|
64 |
+
<docomo>DoCoMo/</docomo>
|
65 |
+
<dotbot>DotBot/</dotbot>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
<dotnetcom>dotnetdotcom.org</dotnetcom>
|
67 |
+
<dowjones>Dow Jones Searchbot</dowjones>
|
68 |
+
<dps>PXHOST</dps>
|
69 |
+
<exabot>Exabot</exabot>
|
70 |
+
<exaleadcloudview>ExaleadCloudView/</exaleadcloudview>
|
71 |
+
<facebookexternalhit>facebookexternalhit/</facebookexternalhit>
|
72 |
+
<findxbot>Findxbot/</findxbot>
|
73 |
+
<flipboardproxy>FlipboardProxy/</flipboardproxy>
|
74 |
+
<friendfeed>FriendFeedBot/</friendfeed>
|
75 |
<gigabot>Gigabot/</gigabot>
|
76 |
+
<go_1_1_package>Go 1.1 package http</go_1_1_package>
|
77 |
+
<google_apps_script>Google-Apps-Script</google_apps_script>
|
78 |
+
<googleadsbot>AdsBot-Google</googleadsbot>
|
79 |
+
<googlebot>Googlebot</googlebot>
|
80 |
+
<googleimageproxy>GoogleImageProxy</googleimageproxy>
|
81 |
+
<googleshoppingquality>Google-Shopping-Quality</googleshoppingquality>
|
82 |
+
<hosttracker>HostTracker.com</hosttracker>
|
83 |
+
<http_request2>HTTP_Request2/</http_request2>
|
84 |
+
<huawei>Huaweisymantecspider</huawei>
|
85 |
+
<img_cache>IMG CACHE</img_cache>
|
86 |
+
<imgix>imgix/</imgix>
|
87 |
+
<internetseer>InternetSeer.com</internetseer>
|
88 |
+
<java>Java/</java>
|
89 |
+
<jskit1>JS-Kit URL Resolver, http://js-kit.com/</jskit1>
|
90 |
+
<kieskeurig>Kieskeurig</kieskeurig>
|
91 |
<kiwistatus>KiwiStatus/</kiwistatus>
|
92 |
+
<klezzer>Klezzer</klezzer>
|
93 |
+
<legs80>80legs.com/webcrawler</legs80>
|
94 |
+
<ltx71>ltx71</ltx71>
|
95 |
+
<meanpathbot>meanpathbot/</meanpathbot>
|
96 |
+
<mediapartners_google>Mediapartners-Google</mediapartners_google>
|
97 |
+
<megaindex>MegaIndex.ru</megaindex>
|
98 |
+
<misc1>Robot</misc1>
|
99 |
+
<misc2>Spider</misc2>
|
100 |
+
<misc3>Crawler</misc3>
|
101 |
+
<mj12>MJ12bot</mj12>
|
102 |
+
<msn>msnbot/</msn>
|
103 |
+
<msnbotmedia>msnbot-media/</msnbotmedia>
|
104 |
+
<nagios>nagios</nagios>
|
105 |
+
<newrelicpinger>NewRelicPinger/</newrelicpinger>
|
106 |
+
<njuice>NjuiceBot</njuice>
|
107 |
+
<okhttp>okhttp/</okhttp>
|
108 |
+
<openoffice>Apache OpenOffice/</openoffice>
|
109 |
+
<passwordthumbs>1PasswordThumbs</passwordthumbs>
|
110 |
+
<pingdom>Pingdom.com_bot_version</pingdom>
|
111 |
+
<pinterest>Pinterest/</pinterest>
|
112 |
+
<postrank>PostRank/</postrank>
|
113 |
+
<pretzel>pretzel/imagefly</pretzel>
|
114 |
<pycurl>PycURL/</pycurl>
|
115 |
+
<python_urllib>Python-urllib/</python_urllib>
|
116 |
+
<rackspace>Rackspace Monitoring/</rackspace>
|
117 |
+
<ravencrawler>RavenCrawler/</ravencrawler>
|
118 |
+
<rogerbot>rogerbot</rogerbot>
|
119 |
+
<rpt_httpclient>RPT-HTTPClient/</rpt_httpclient>
|
120 |
+
<ruby>Ruby</ruby>
|
121 |
+
<scrapy>Scrapy/</scrapy>
|
122 |
+
<search17>Search17Bot</search17>
|
123 |
+
<semrushbot>SemrushBot/</semrushbot>
|
124 |
+
<seoscanners>seoscanners.net</seoscanners>
|
125 |
+
<seznambot>SeznamBot/</seznambot>
|
126 |
+
<sitespeed>SiteSpeedBot</sitespeed>
|
127 |
+
<socialmedia>SocialMedia Bot</socialmedia>
|
128 |
+
<soso>Sosospider+</soso>
|
129 |
+
<speedy>Speedy Spider</speedy>
|
130 |
+
<statuscake>StatusCake</statuscake>
|
131 |
+
<swcd>swcd</swcd>
|
132 |
+
<test_certificate_info>Test Certificate Info</test_certificate_info>
|
133 |
+
<tineye>TinEye-bot</tineye>
|
134 |
+
<tlsprober>TLSProber/</tlsprober>
|
135 |
+
<transabacus>TransAbacus/</transabacus>
|
136 |
+
<tweetmeme>TweetmemeBot</tweetmeme>
|
137 |
+
<twengaqualitybot>TwengaQualityBot</twengaqualitybot>
|
138 |
+
<twingly>Twingly Recon</twingly>
|
139 |
+
<twitter>Twitterbot/</twitter>
|
140 |
+
<uptimerobot>UptimeRobot/</uptimerobot>
|
141 |
<voyager>Voyager/</voyager>
|
142 |
+
<webcapture>WebCapture</webcapture>
|
143 |
+
<webfeedparser>WebFeedParser</webfeedparser>
|
144 |
+
<webmeup>BLEXBot/</webmeup>
|
145 |
+
<weserv>ImageFetcher/</weserv>
|
146 |
+
<whatsapp>WhatsApp</whatsapp>
|
147 |
+
<wiseguys_freshbot>Freshbot/</wiseguys_freshbot>
|
148 |
+
<wiseguys_vagabondo>Vagabondo/</wiseguys_vagabondo>
|
149 |
+
<worio>woriobot support</worio>
|
150 |
+
<xmlrpc>XMLRPC::Client</xmlrpc>
|
151 |
+
<yahoo>ysearch/slurp</yahoo>
|
152 |
+
<yahoocachesystem_yahoowebserviceclient>YahooCacheSystem; YahooWebServiceClient</yahoocachesystem_yahoowebserviceclient>
|
153 |
+
<yandex>Yandex</yandex>
|
154 |
+
<yandex_directfetcher>YaDirectFetcher/</yandex_directfetcher>
|
155 |
+
<zooka>Zookabot/</zooka>
|
156 |
</skip_user_agents>
|
157 |
</global>
|
158 |
|
166 |
</Yireo_DisableLog>
|
167 |
</modules>
|
168 |
</translate>
|
169 |
+
|
170 |
<acl>
|
171 |
<resources>
|
172 |
<admin>
|
190 |
<events>
|
191 |
<controller_action_predispatch>
|
192 |
<observers>
|
193 |
+
<disablelog_feed>
|
194 |
<type>singleton</type>
|
195 |
+
<class>Yireo_DisableLog_Observer_Feed</class>
|
196 |
<method>controllerActionPredispatch</method>
|
197 |
+
</disablelog_feed>
|
198 |
</observers>
|
199 |
</controller_action_predispatch>
|
200 |
</events>
|
201 |
</adminhtml>
|
202 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
<default>
|
204 |
<disablelog>
|
205 |
<settings>
|
app/code/community/Yireo/DisableLog/etc/system.xml
CHANGED
@@ -4,18 +4,24 @@
|
|
4 |
* Yireo DisableLog for Magento
|
5 |
*
|
6 |
* @package Yireo_DisableLog
|
7 |
-
* @author Yireo (
|
8 |
-
* @copyright Copyright
|
9 |
* @license Open Source License (OSL v3)
|
10 |
*/
|
11 |
-->
|
12 |
<config>
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
<sections>
|
14 |
<disablelog translate="label" module="disablelog">
|
15 |
-
<label>
|
16 |
-
<tab>
|
17 |
<frontend_type>text</frontend_type>
|
18 |
-
<sort_order>
|
19 |
<show_in_default>1</show_in_default>
|
20 |
<show_in_website>1</show_in_website>
|
21 |
<show_in_store>1</show_in_store>
|
4 |
* Yireo DisableLog for Magento
|
5 |
*
|
6 |
* @package Yireo_DisableLog
|
7 |
+
* @author Yireo (https://www.yireo.com/)
|
8 |
+
* @copyright Copyright 2016 Yireo (https://www.yireo.com/)
|
9 |
* @license Open Source License (OSL v3)
|
10 |
*/
|
11 |
-->
|
12 |
<config>
|
13 |
+
<tabs>
|
14 |
+
<yireo translate="label" module="disablelog">
|
15 |
+
<label>Yireo</label>
|
16 |
+
<sort_order>1000</sort_order>
|
17 |
+
</yireo>
|
18 |
+
</tabs>
|
19 |
<sections>
|
20 |
<disablelog translate="label" module="disablelog">
|
21 |
+
<label>DisableLog</label>
|
22 |
+
<tab>yireo</tab>
|
23 |
<frontend_type>text</frontend_type>
|
24 |
+
<sort_order>42</sort_order>
|
25 |
<show_in_default>1</show_in_default>
|
26 |
<show_in_website>1</show_in_website>
|
27 |
<show_in_store>1</show_in_store>
|
app/etc/modules/Yireo_DisableLog.xml
CHANGED
@@ -4,8 +4,8 @@
|
|
4 |
* Yireo DisableLog-module for Magento
|
5 |
*
|
6 |
* @package Yireo_DisableLog
|
7 |
-
* @author Yireo (
|
8 |
-
* @copyright Copyright 2015 Yireo (
|
9 |
* @license Open Software License
|
10 |
*/
|
11 |
-->
|
4 |
* Yireo DisableLog-module for Magento
|
5 |
*
|
6 |
* @package Yireo_DisableLog
|
7 |
+
* @author Yireo (https://www.yireo.com/)
|
8 |
+
* @copyright Copyright 2015 Yireo (https://www.yireo.com/)
|
9 |
* @license Open Software License
|
10 |
*/
|
11 |
-->
|
package.xml
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
-
<package><name>Yireo_DisableLog</name><version>0.0.
|
1 |
<?xml version="1.0"?>
|
2 |
+
<package><name>Yireo_DisableLog</name><version>0.0.14</version><stability>stable</stability><license>Open Source License</license><channel>community</channel><extends></extends><summary>No summary</summary><description>No description</description><notes>No notes</notes><authors><author><name>Yireo</name><user>yireo</user><email>info@yireo.com</email></author></authors><date>2016-11-01</date><time>23:40:37</time><compatible></compatible><dependencies><required><php><min>5.4.0</min><max>7.5.0</max></php></required></dependencies><contents><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Yireo_DisableLog.xml" hash="30611dcc767a492babac7b823a21f352"/></dir></dir><dir name="code"><dir name="community"><dir name="Yireo"><dir name="DisableLog"><dir name="etc"><file name="config.xml" hash="3d2e281c25be2dada657e517cf466735"/><file name="system.xml" hash="397f929a6282d776f4330595da245d3c"/></dir><dir name="Observer"><file name="Feed.php" hash="91167856770b52723dafd9654d1c3aa1"/></dir><dir name="Model"><file name="Feed.php" hash="00ef98a832b129021c68c8484a4fa7c4"/><file name="Observer.php" hash="42e910fd515a51a882070b5567a19db6"/><dir name="Rewrite"><dir name="Log"><file name="Visitor.php" hash="1490125cd34ed0ccf67cd911162fa936"/></dir><dir name="Catalogsearch"><file name="Query.php" hash="1abe5496e04f2028cd6c769678e54d6d"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="1f64d92341f5dd8ea5f7ea89aff77bb3"/></dir></dir></dir></dir></dir></dir></target></contents></package>
|