feedaty - Version 1.1.27

Version Notes

Relase

Download this release

Release Info

Developer Feedaty
Extension feedaty
Version 1.1.27
Comparing to
See all releases


Code changes from version 1.1.26 to 1.1.27

app/code/community/Feedaty/Badge/Model/WebService.php CHANGED
@@ -109,7 +109,7 @@ class Feedaty_Badge_Model_WebService {
109
 
110
  $cnt = Mage::getStoreConfig('feedaty_global/feedaty_preferences/feedaty_code')."-".Mage::getStoreConfig('feedaty_badge_options/widget_store/enabled')."-".Mage::getStoreConfig('feedaty_badge_options/widget_products/product_enabled');
111
 
112
- if (1==1 || $content != $cnt) {
113
  $store = Mage::app()->getStore();
114
 
115
  $ver = json_decode(json_encode(Mage::getConfig()->getNode()->modules->Feedaty_Badge->version),true);
@@ -141,7 +141,7 @@ class Feedaty_Badge_Model_WebService {
141
  $content = trim(curl_exec($ch));
142
  curl_close($ch);
143
 
144
- $cache->save($cnt, "feedaty_notification", array("feedaty_cache"), 31*24*60*60);
145
  }
146
  }
147
  }
109
 
110
  $cnt = Mage::getStoreConfig('feedaty_global/feedaty_preferences/feedaty_code')."-".Mage::getStoreConfig('feedaty_badge_options/widget_store/enabled')."-".Mage::getStoreConfig('feedaty_badge_options/widget_products/product_enabled');
111
 
112
+ if ($content != $cnt) {
113
  $store = Mage::app()->getStore();
114
 
115
  $ver = json_decode(json_encode(Mage::getConfig()->getNode()->modules->Feedaty_Badge->version),true);
141
  $content = trim(curl_exec($ch));
142
  curl_close($ch);
143
 
144
+ $cache->save($cnt, "feedaty_notification", array("feedaty_cache"), 10*24*60*60);
145
  }
146
  }
147
  }
app/code/community/Feedaty/Badge/etc/config.xml CHANGED
@@ -6,15 +6,15 @@
6
  </Feedaty_Badge>
7
  </modules>
8
  <admin>
9
- <routers>
10
- <exportcsvfeedaty>
11
  <use>admin</use>
12
  <args>
13
  <module>Feedaty_Badge</module>
14
  <frontName>feedatyexport.csv</frontName>
15
  </args>
16
  </exportcsvfeedaty>
17
- </routers>
18
  </admin>
19
  <global>
20
  <helpers>
@@ -23,62 +23,62 @@
23
  </badge>
24
  </helpers>
25
  <blocks>
26
- <badge>
27
  <class>Feedaty_Badge_Block</class>
28
- </badge>
29
  </blocks>
30
  <models>
31
- <badge>
32
- <class>Feedaty_Badge_Model</class>
33
- </badge>
34
- <webservice>
35
- <class>Feedaty_WebService_Model</class>
36
- </webservice>
37
  </models>
38
- <events>
39
- <sales_order_save_after>
40
- <observers>
41
- <feedaty_badget_observe>
42
- <type>singleton</type>
43
- <class>badge/observe</class>
44
- <method>intercept_order</method>
45
- </feedaty_badget_observe>
46
- </observers>
47
- </sales_order_save_after>
48
  </events>
49
  </global>
50
  <adminhtml>
51
- <acl>
52
- <resources>
53
- <admin>
54
- <children>
55
- <system>
56
- <children>
57
- <config>
58
  <children>
59
- <feedaty_badge_options>
60
- <title>Feedaty Configuration</title>
61
- </feedaty_badge_options>
62
- <feedaty_global>
63
- <title>Feedaty preferences</title>
64
- </feedaty_global>
 
 
 
 
 
 
 
 
65
  </children>
66
- </config>
67
- </children>
68
- </system>
69
- </children>
70
- </admin>
71
- </resources>
72
- </acl>
73
  </adminhtml>
74
- <default>
75
- <feedaty_global>
76
- <feedaty_preferences>
77
- <sendorder>complete</sendorder>
78
- </feedaty_preferences>
79
- </feedaty_global>
80
- </default>
81
- <frontend>
82
  <translate>
83
  <modules>
84
  <translations>
@@ -89,26 +89,26 @@
89
  </modules>
90
  </translate>
91
  <events>
92
- <core_block_abstract_to_html_after>
93
- <observers>
94
- <product_badge>
95
- <type>singleton</type>
96
- <class>badge/generate</class>
97
- <method>product_badge</method>
98
- </product_badge>
99
- <product_reviews>
100
- <type>singleton</type>
101
- <class>badge/generate</class>
102
- <method>product_reviews</method>
103
- </product_reviews>
104
- <store_badge>
105
- <type>singleton</type>
106
- <class>badge/generate</class>
107
- <method>store_badge</method>
108
- </store_badge>
109
- </observers>
110
- </core_block_abstract_to_html_after>
111
- </events>
112
  </frontend>
113
  <adminhtml>
114
  <translate>
@@ -121,4 +121,4 @@
121
  </modules>
122
  </translate>
123
  </adminhtml>
124
- </config>
6
  </Feedaty_Badge>
7
  </modules>
8
  <admin>
9
+ <routers>
10
+ <exportcsvfeedaty>
11
  <use>admin</use>
12
  <args>
13
  <module>Feedaty_Badge</module>
14
  <frontName>feedatyexport.csv</frontName>
15
  </args>
16
  </exportcsvfeedaty>
17
+ </routers>
18
  </admin>
19
  <global>
20
  <helpers>
23
  </badge>
24
  </helpers>
25
  <blocks>
26
+ <badge>
27
  <class>Feedaty_Badge_Block</class>
28
+ </badge>
29
  </blocks>
30
  <models>
31
+ <badge>
32
+ <class>Feedaty_Badge_Model</class>
33
+ </badge>
34
+ <webservice>
35
+ <class>Feedaty_WebService_Model</class>
36
+ </webservice>
37
  </models>
38
+ <events>
39
+ <sales_order_save_after>
40
+ <observers>
41
+ <feedaty_badget_observe>
42
+ <type>singleton</type>
43
+ <class>badge/observe</class>
44
+ <method>intercept_order</method>
45
+ </feedaty_badget_observe>
46
+ </observers>
47
+ </sales_order_save_after>
48
  </events>
49
  </global>
50
  <adminhtml>
51
+ <acl>
52
+ <resources>
53
+ <admin>
 
 
 
 
54
  <children>
55
+ <system>
56
+ <children>
57
+ <config>
58
+ <children>
59
+ <feedaty_badge_options>
60
+ <title>Feedaty Configuration</title>
61
+ </feedaty_badge_options>
62
+ <feedaty_global>
63
+ <title>Feedaty preferences</title>
64
+ </feedaty_global>
65
+ </children>
66
+ </config>
67
+ </children>
68
+ </system>
69
  </children>
70
+ </admin>
71
+ </resources>
72
+ </acl>
 
 
 
 
73
  </adminhtml>
74
+ <default>
75
+ <feedaty_global>
76
+ <feedaty_preferences>
77
+ <sendorder>complete</sendorder>
78
+ </feedaty_preferences>
79
+ </feedaty_global>
80
+ </default>
81
+ <frontend>
82
  <translate>
83
  <modules>
84
  <translations>
89
  </modules>
90
  </translate>
91
  <events>
92
+ <core_block_abstract_to_html_after>
93
+ <observers>
94
+ <product_badge>
95
+ <type>singleton</type>
96
+ <class>badge/generate</class>
97
+ <method>product_badge</method>
98
+ </product_badge>
99
+ <product_reviews>
100
+ <type>singleton</type>
101
+ <class>badge/generate</class>
102
+ <method>product_reviews</method>
103
+ </product_reviews>
104
+ <store_badge>
105
+ <type>singleton</type>
106
+ <class>badge/generate</class>
107
+ <method>store_badge</method>
108
+ </store_badge>
109
+ </observers>
110
+ </core_block_abstract_to_html_after>
111
+ </events>
112
  </frontend>
113
  <adminhtml>
114
  <translate>
121
  </modules>
122
  </translate>
123
  </adminhtml>
124
+ </config>
app/code/community/Feedaty/Badge/etc/system.xml CHANGED
@@ -169,7 +169,7 @@
169
  <show_in_store>0</show_in_store>
170
  <validate>validate-number</validate>
171
  </feedaty_code>
172
- </fields>
173
  </feedaty_preferences>
174
  <sendorder translate="label source_model">
175
  <label>Order options</label>
169
  <show_in_store>0</show_in_store>
170
  <validate>validate-number</validate>
171
  </feedaty_code>
172
+ </fields>
173
  </feedaty_preferences>
174
  <sendorder translate="label source_model">
175
  <label>Order options</label>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>feedaty</name>
4
- <version>1.1.26</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/gpl-license.php">GPL</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>Feedaty is a social commerce site dedicated to online stores for the professional management of customer feedback. The service is provided through a platform Saas (Software as a Service) and may be activated quickly and easily through a short integration process.</description>
11
  <notes>Relase</notes>
12
  <authors><author><name>Feedaty</name><user>feedtest</user><email>info@feedaty.com</email></author></authors>
13
- <date>2014-02-27</date>
14
- <time>15:19:03</time>
15
- <contents><target name="magecommunity"><dir name="Feedaty"><dir name="Badge"><dir name="Block"><file name="LinkCsv.php" hash="92bf7932d32914adcc1b9547b59c7d49"/><file name="Product.php" hash="d896175131b871bf7f309e57ef5099dd"/></dir><dir name="Helper"><file name="Data.php" hash="51386589a569b1e52baa7f30f07a946b"/></dir><dir name="Model"><file name="Generate.php" hash="7d8f1cf3780f1a4d682196d324e5a4c2"/><file name="Observe.php" hash="d8a8475bcd27bb4a4275ba5c5dfc090d"/><file name="Order.php" hash="ad5588401fb34ee4e081c7e27bc2b694"/><file name="OrderStatuses.php" hash="c122ad1e6360bd53bc3598c4c3046a02"/><file name="PositionProduct.php" hash="5ed4224b515770f1b2f794a039f6d6c5"/><file name="PositionStore.php" hash="2fb071a9e98790acde7e608241aa3c97"/><file name="StyleProduct.php" hash="e306b9889e6f5d15bd3db729bf158eda"/><file name="StyleStore.php" hash="612898c7f347753f21a761c2addd7cd0"/><file name="WebService.php" hash="9ba767c3ee9c9dd5cd9d1971a6663bd7"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="Badge.php" hash="5b9815ddacd49bdac7f4f3450621759b"/></dir><file name="IndexController.php" hash="12e3bada70bbab8a0be9ebee88852d74"/></dir><dir name="etc"><file name="adminhtml.xml" hash="bfd9f0deeaa5f8eda6baa58caa768ca0"/><file name="config.xml" hash="0e3768aac4f1d2a7d9c5bf419a570201"/><file name="system.xml" hash="ecf35eb131cba17fb4bcff37497efa3c"/><file name="widget.xml" hash="f2b00c74bc9a0e7690be5cbe474efb47"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="Feedaty.xml" hash="eff88446ec32cc43a30a6c54a6f4937a"/></dir><dir name="template"><dir name="feedaty"><file name="base.phtml" hash="0009ab0914e8cb8ab1f3461ff2d6822b"/><file name="product_reviews.phtml" hash="f0978d0158078ab72ab1bad86b1a3933"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="it_IT"><file name="Feedaty.csv" hash="8a507edc136ea22a38cacfa21411534b"/></dir></target><target name="mageetc"><dir name="modules"><file name="Feedaty_Badge.xml" hash="e4e47863d6724079e09a6d4d53152275"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>4.3.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>feedaty</name>
4
+ <version>1.1.27</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/gpl-license.php">GPL</license>
7
  <channel>community</channel>
10
  <description>Feedaty is a social commerce site dedicated to online stores for the professional management of customer feedback. The service is provided through a platform Saas (Software as a Service) and may be activated quickly and easily through a short integration process.</description>
11
  <notes>Relase</notes>
12
  <authors><author><name>Feedaty</name><user>feedtest</user><email>info@feedaty.com</email></author></authors>
13
+ <date>2014-05-05</date>
14
+ <time>09:22:07</time>
15
+ <contents><target name="magecommunity"><dir name="Feedaty"><dir name="Badge"><dir name="Block"><file name="LinkCsv.php" hash="92bf7932d32914adcc1b9547b59c7d49"/><file name="Product.php" hash="d896175131b871bf7f309e57ef5099dd"/></dir><dir name="Helper"><file name="Data.php" hash="51386589a569b1e52baa7f30f07a946b"/></dir><dir name="Model"><file name="Generate.php" hash="7d8f1cf3780f1a4d682196d324e5a4c2"/><file name="Observe.php" hash="d8a8475bcd27bb4a4275ba5c5dfc090d"/><file name="Order.php" hash="ad5588401fb34ee4e081c7e27bc2b694"/><file name="OrderStatuses.php" hash="c122ad1e6360bd53bc3598c4c3046a02"/><file name="PositionProduct.php" hash="5ed4224b515770f1b2f794a039f6d6c5"/><file name="PositionStore.php" hash="2fb071a9e98790acde7e608241aa3c97"/><file name="StyleProduct.php" hash="e306b9889e6f5d15bd3db729bf158eda"/><file name="StyleStore.php" hash="612898c7f347753f21a761c2addd7cd0"/><file name="WebService.php" hash="ba6069c3f158d38066251631ab887a70"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="Badge.php" hash="5b9815ddacd49bdac7f4f3450621759b"/></dir><file name="IndexController.php" hash="12e3bada70bbab8a0be9ebee88852d74"/></dir><dir name="etc"><file name="adminhtml.xml" hash="bfd9f0deeaa5f8eda6baa58caa768ca0"/><file name="config.xml" hash="37ec60555a49592b98eeb89334c5e54d"/><file name="system.xml" hash="beb93d5c964b5e4fb03af4050aac1141"/><file name="widget.xml" hash="f2b00c74bc9a0e7690be5cbe474efb47"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="Feedaty.xml" hash="eff88446ec32cc43a30a6c54a6f4937a"/></dir><dir name="template"><dir name="feedaty"><file name="base.phtml" hash="0009ab0914e8cb8ab1f3461ff2d6822b"/><file name="product_reviews.phtml" hash="f0978d0158078ab72ab1bad86b1a3933"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="it_IT"><file name="Feedaty.csv" hash="8a507edc136ea22a38cacfa21411534b"/></dir></target><target name="mageetc"><dir name="modules"><file name="Feedaty_Badge.xml" hash="e4e47863d6724079e09a6d4d53152275"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>4.3.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>