Wyomind_WatchLog - Version 1.0.2

Version Notes

test

Download this release

Release Info

Developer Wyomind
Extension Wyomind_WatchLog
Version 1.0.2
Comparing to
See all releases


Code changes from version 1.0.1 to 1.0.2

app/code/community/Wyomind/Watchlog/Block/Adminhtml/Basic/Grid.php CHANGED
@@ -46,9 +46,9 @@ class Wyomind_Watchlog_Block_Adminhtml_Basic_Grid extends Mage_Adminhtml_Block_W
46
  'header' => Mage::helper('watchlog')->__('Url'),
47
  'index' => 'url',
48
  ));
49
- $this->addColumn('user_agent', array(
50
  'header' => Mage::helper('watchlog')->__('Status'),
51
- 'index' => 'user_agent',
52
  'renderer' => 'Wyomind_Watchlog_Block_Adminhtml_Renderer_Status',
53
  'width' => '100px',
54
  'filter' => false,
46
  'header' => Mage::helper('watchlog')->__('Url'),
47
  'index' => 'url',
48
  ));
49
+ $this->addColumn('type', array(
50
  'header' => Mage::helper('watchlog')->__('Status'),
51
+ 'index' => 'type',
52
  'renderer' => 'Wyomind_Watchlog_Block_Adminhtml_Renderer_Status',
53
  'width' => '100px',
54
  'filter' => false,
app/code/community/Wyomind/Watchlog/Model/Observer.php CHANGED
@@ -78,7 +78,8 @@ class Wyomind_Watchlog_Model_Observer {
78
 
79
  $log = array();
80
 
81
- $update = Mage::getStoreConfig("watchlogpro/settings/last_report");
 
82
  $cronExpr = json_decode(Mage::getStoreConfig("watchlogpro/settings/cron"));
83
  $cron['curent']['localDate'] = Mage::getSingleton('core/date')->date('l Y-m-d H:i:s');
84
  $cron['curent']['gmtDate'] = Mage::getSingleton('core/date')->gmtDate('l Y-m-d H:i:s');
78
 
79
  $log = array();
80
 
81
+ $update = Mage::getModel('core/config_data')->getCollection()->addFieldToFilter("path",array("eq" => "watchlogpro/settings/last_report"))->getFirstItem()->getValue();
82
+
83
  $cronExpr = json_decode(Mage::getStoreConfig("watchlogpro/settings/cron"));
84
  $cron['curent']['localDate'] = Mage::getSingleton('core/date')->date('l Y-m-d H:i:s');
85
  $cron['curent']['gmtDate'] = Mage::getSingleton('core/date')->gmtDate('l Y-m-d H:i:s');
app/code/community/Wyomind/Watchlog/etc/config.xml CHANGED
@@ -2,13 +2,13 @@
2
  <config>
3
  <modules>
4
  <Wyomind_Watchlog>
5
- <version>1.0.1</version>
6
  </Wyomind_Watchlog>
7
  </modules>
8
  <default>
9
  <watchlogpro>
10
  <license>
11
- <version>1.0.1</version>
12
  </license>
13
  <settings>
14
  <history>30</history>
2
  <config>
3
  <modules>
4
  <Wyomind_Watchlog>
5
+ <version>1.0.2</version>
6
  </Wyomind_Watchlog>
7
  </modules>
8
  <default>
9
  <watchlogpro>
10
  <license>
11
+ <version>1.0.2</version>
12
  </license>
13
  <settings>
14
  <history>30</history>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Wyomind_WatchLog</name>
4
- <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license>Commercial</license>
7
  <channel>community</channel>
@@ -16,8 +16,8 @@
16
  <email>contact@wyomind.com</email>
17
  </author>
18
  </authors>
19
- <date>2015-04-17</date>
20
- <time>16:15:17</time>
21
  <contents>
22
  <target name="magecommunity">
23
  <dir name="Wyomind">
@@ -29,7 +29,7 @@
29
  </dir>
30
  <file name="Advanced.php" hash="e5e5a813508b0b72a2061297a936ce81"/>
31
  <dir name="Basic">
32
- <file name="Grid.php" hash="b6a78230ba28fbcee4d307ad38e840a9"/>
33
  </dir>
34
  <file name="Basic.php" hash="03f04c46cdb5077733cc417c0d10bd72"/>
35
  <file name="Chart.php" hash="017cc9224071b175d8916611a416e9bc"/>
@@ -48,16 +48,6 @@
48
  </dir>
49
  </dir>
50
  </dir>
51
- <dir name="controllers">
52
- <dir name="Adminhtml">
53
- <file name="AdvancedController.php" hash="0b8800a3a1fc33e7ebb57e2b3d2ebaf6"/>
54
- <file name="BasicController.php" hash="e56ce29ba89c81e1d7aac1084af21961"/>
55
- </dir>
56
- </dir>
57
- <dir name="etc">
58
- <file name="config.xml" hash="10d0f4a54626150bf80e8bfc148c0317"/>
59
- <file name="system.xml" hash="401cd5b8c13f9c092f2838172da714ff"/>
60
- </dir>
61
  <dir name="Helper">
62
  <file name="Data.php" hash="ee75b0a1f3a8b8e02fb318c7761d1825"/>
63
  </dir>
@@ -68,7 +58,7 @@
68
  </dir>
69
  <file name="Watchlog.php" hash="091d0b82dabc51de01108b29ac6f1f2b"/>
70
  </dir>
71
- <file name="Observer.php" hash="c81d741df5284b0412531d8d5ebfefcd"/>
72
  <dir name="System">
73
  <dir name="Config">
74
  <dir name="Source">
@@ -78,6 +68,16 @@
78
  </dir>
79
  <file name="Watchlog.php" hash="7b4b8e7b838ba59c1aa80e3e2e11eaf3"/>
80
  </dir>
 
 
 
 
 
 
 
 
 
 
81
  <dir name="sql">
82
  <dir name="watchlog_setup">
83
  <file name="mysql4-install-1.0.0.php" hash="e684d06971d0258c94cf92f094dea1cd"/>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Wyomind_WatchLog</name>
4
+ <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license>Commercial</license>
7
  <channel>community</channel>
16
  <email>contact@wyomind.com</email>
17
  </author>
18
  </authors>
19
+ <date>2015-04-20</date>
20
+ <time>12:07:51</time>
21
  <contents>
22
  <target name="magecommunity">
23
  <dir name="Wyomind">
29
  </dir>
30
  <file name="Advanced.php" hash="e5e5a813508b0b72a2061297a936ce81"/>
31
  <dir name="Basic">
32
+ <file name="Grid.php" hash="39afb43c1b6ed967b6a018bdb463a697"/>
33
  </dir>
34
  <file name="Basic.php" hash="03f04c46cdb5077733cc417c0d10bd72"/>
35
  <file name="Chart.php" hash="017cc9224071b175d8916611a416e9bc"/>
48
  </dir>
49
  </dir>
50
  </dir>
 
 
 
 
 
 
 
 
 
 
51
  <dir name="Helper">
52
  <file name="Data.php" hash="ee75b0a1f3a8b8e02fb318c7761d1825"/>
53
  </dir>
58
  </dir>
59
  <file name="Watchlog.php" hash="091d0b82dabc51de01108b29ac6f1f2b"/>
60
  </dir>
61
+ <file name="Observer.php" hash="bada2ae607210a68c3f85ca4eb9ad715"/>
62
  <dir name="System">
63
  <dir name="Config">
64
  <dir name="Source">
68
  </dir>
69
  <file name="Watchlog.php" hash="7b4b8e7b838ba59c1aa80e3e2e11eaf3"/>
70
  </dir>
71
+ <dir name="controllers">
72
+ <dir name="Adminhtml">
73
+ <file name="AdvancedController.php" hash="0b8800a3a1fc33e7ebb57e2b3d2ebaf6"/>
74
+ <file name="BasicController.php" hash="e56ce29ba89c81e1d7aac1084af21961"/>
75
+ </dir>
76
+ </dir>
77
+ <dir name="etc">
78
+ <file name="config.xml" hash="c901bc0f28c70248478378efeb4a99fb"/>
79
+ <file name="system.xml" hash="401cd5b8c13f9c092f2838172da714ff"/>
80
+ </dir>
81
  <dir name="sql">
82
  <dir name="watchlog_setup">
83
  <file name="mysql4-install-1.0.0.php" hash="e684d06971d0258c94cf92f094dea1cd"/>