Magmodules_Trustpilot - Version 1.1.3

Version Notes

First stable release

Download this release

Release Info

Developer Magento Core Team
Extension Magmodules_Trustpilot
Version 1.1.3
Comparing to
See all releases


Code changes from version 1.1.2 to 1.1.3

app/code/local/Magmodules/Trustpilot/controllers/Adminhtml/TrustpilotlogController.php CHANGED
@@ -61,7 +61,10 @@ class Magmodules_Trustpilot_Adminhtml_TrustpilotlogController extends Mage_Admin
61
  }
62
  Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('trustpilot')->__('Total of %s log record(s) deleted.', $i));
63
  }
64
- $this->_redirect('*/*/index');
65
  }
66
-
 
 
 
67
  }
61
  }
62
  Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('trustpilot')->__('Total of %s log record(s) deleted.', $i));
63
  }
64
+ $this->_redirect('*/*/index');
65
  }
66
+
67
+ protected function _isAllowed() {
68
+ return Mage::getSingleton('admin/session')->isAllowed('admin/trustpilot/trustpilot_log');
69
+ }
70
  }
app/code/local/Magmodules/Trustpilot/controllers/Adminhtml/TrustpilotreviewsController.php CHANGED
@@ -143,5 +143,8 @@ class Magmodules_Trustpilot_Adminhtml_TrustpilotreviewsController extends Mage_A
143
  Mage::app()->cleanCache('trustpilot_block');
144
  $this->_redirect('*/*/index');
145
  }
146
-
 
 
 
147
  }
143
  Mage::app()->cleanCache('trustpilot_block');
144
  $this->_redirect('*/*/index');
145
  }
146
+
147
+ protected function _isAllowed() {
148
+ return Mage::getSingleton('admin/session')->isAllowed('admin/trustpilot/trustpilot_reviews');
149
+ }
150
  }
app/code/local/Magmodules/Trustpilot/etc/config.xml CHANGED
@@ -23,7 +23,7 @@
23
  <config>
24
  <modules>
25
  <Magmodules_Trustpilot>
26
- <version>1.1.2</version>
27
  </Magmodules_Trustpilot>
28
  </modules>
29
  <global>
23
  <config>
24
  <modules>
25
  <Magmodules_Trustpilot>
26
+ <version>1.1.3</version>
27
  </Magmodules_Trustpilot>
28
  </modules>
29
  <global>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Magmodules_Trustpilot</name>
4
- <version>1.1.2</version>
5
  <stability>stable</stability>
6
  <license/>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>Connect your Magento shop to The Feedback Company</description>
11
  <notes>First stable release</notes>
12
  <authors><author><name>Magmodules</name><user>auto-converted</user><email>info@magmodules.nl</email></author></authors>
13
- <date>2015-05-20</date>
14
- <time>17:42:39</time>
15
- <contents><target name="magelocal"><dir name="Magmodules"><dir name="Trustpilot"><dir name="Block"><dir name="Adminhtml"><dir name="Trustpilotlog"><file name="Grid.php" hash="1d0393c4292c5b6bf924b1d898fe1489"/></dir><dir name="Trustpilotreviews"><dir name="Renderer"><file name="Experience.php" hash="56cd001e25933e6f717b8bbadfdfcdc1"/></dir><file name="Grid.php" hash="de8e87e480fd17ca720bb889eb41984d"/></dir><dir name="Widget"><dir name="Buttons"><file name="Process.php" hash="f88e0b904b4fdfe6c499c67ee63bf4cd"/></dir><dir name="Form"><file name="Heading.php" hash="d4240108d265b16e30f98aa02d89fdc2"/><file name="Note.php" hash="c363887b1db75d441ba7128034e409f0"/></dir><dir name="Grid"><file name="Log.php" hash="58591e425491b28ab6f9a7406417bcfa"/><file name="Seconds.php" hash="62bd740dc21beb7eb9f8ff246100472f"/><file name="Stars.php" hash="a18d4771c304e9f2fc3976730df2e046"/></dir><dir name="Info"><file name="Info.php" hash="049b0544b16972242dac36c54e81a175"/></dir></dir><file name="Trustpilotlog.php" hash="69a09905d4e8f4e53f5e3baaedc2d629"/><file name="Trustpilotreviews.php" hash="6c846808a318948c1230d51cb1a0cd1b"/></dir><file name="Custom.php" hash="b303aedb6d0ced8b478fd55f0c0499d0"/><file name="Reviews.php" hash="d7d571bbad61d22a5c0cd842dacc33ec"/><file name="Sidebar.php" hash="f12a9967e54beddceca9a237da83fe2b"/></dir><dir name="Helper"><file name="Data.php" hash="a77b3dc5b5129d99a06804d215645274"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Log"><file name="Collection.php" hash="67a8cc90f0373834af154b78ba1d221c"/></dir><dir name="Reviews"><file name="Collection.php" hash="575e14b7bb94d7caf36b11163a25415d"/></dir><dir name="Stats"><file name="Collection.php" hash="f46da181a9ea2ee4def015cf38b1506d"/></dir><file name="Log.php" hash="ba3cb0ec65bfd14bfd5c500c6cc1be97"/><file name="Reviews.php" hash="ed6eba1a4a104578009a14f712b88d95"/><file name="Stats.php" hash="83ef36cc25b1bdcea3bb68725b2777d8"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Cronfrequency.php" hash="1b0d3fbb6471391d5f5bb63191f5950a"/><file name="Orderstatus.php" hash="cc0f2903f29abb21bf27be1cba911c74"/><file name="Position.php" hash="990add06e5acc227e9f2603d4c7448ae"/><file name="Sidebarlink.php" hash="fa59946b89bdf5cd3939978860706bf9"/><file name="Sidebarstyle.php" hash="a6daee24f617f127dae491af9f8b3d75"/></dir><file name="Flushcache.php" hash="f6d470c805c174534da779cfc57c6c21"/></dir></dir><file name="Api.php" hash="f1b9146e1ca19d4be86897ad126381aa"/><file name="Log.php" hash="1081140ad66a8de337a700cfdf0b2ea7"/><file name="Observer.php" hash="44277db1b4ec0e9fbd1cb1d433f21733"/><file name="Reviews.php" hash="41c6062c6e478e8def11f47bac802733"/><file name="Stats.php" hash="6c8ac63386177694c179b981fa424382"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="TrustpilotlogController.php" hash="42cb795593c0db3fece3eee848b4ce7d"/><file name="TrustpilotreviewsController.php" hash="f30c89ea023f7a6853adc46992398728"/></dir><file name="IndexController.php" hash="fa12a86ff5ddf21351ed23da4e594eb6"/></dir><dir name="etc"><file name="adminhtml.xml" hash="4b8f2002f6905226d5409ebf0b912dd1"/><file name="config.xml" hash="4ae10cd15b725c38fc0ad973975e859b"/><file name="system.xml" hash="e02933773e83f67f9287de953530f5e6"/></dir><dir name="sql"><dir name="trustpilot_setup"><file name="mysql4-install-0.9.0.php" hash="7033a3cb0486d615e5f77dac7ba9fd63"/><file name="mysql4-upgrade-0.9.0-1.0.0.php" hash="054e4cfe0524f75ab08458146665738c"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="magmodules_trustpilot.xml" hash="a1dffcc86459d9490ec683df022eaf5b"/></dir><dir name="template"><dir name="magmodules"><dir name="trustpilot"><dir name="sidebar"><file name="left.phtml" hash="36591ffafce93778eda8c8907cb4d025"/><file name="right.phtml" hash="8df2dfe5c37647a69bd1238a755110a3"/></dir><dir name="widget"><file name="medium.phtml" hash="1ec450fa4a651b341041274b10bfa15c"/><file name="sidebar.phtml" hash="758cd44c121c4e2d7feec7e1b947670f"/><file name="small.phtml" hash="107cfe25aa2c92d6811db88786092bdb"/></dir><file name="index.phtml" hash="c9f93beeddd9a6676112f0f6dbc63b8b"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="magmodules_trustpilot.xml" hash="285cf7890eed0dbf4cb79fc5342fc7d2"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magmodules_Trustpilot.xml" hash="ef276abf28d9d1a59cab187ea5e68c2b"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Magmodules_Trustpilot.csv" hash="43b62da5910383251d93dfd6c41373d9"/></dir><dir name="nl_NL"><file name="Magmodules_Trustpilot.csv" hash="b5727a43e1ddc9e17728228589b9dc30"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="magmodules"><dir name="trustpilot"><dir name="images"><file name="5-stars-empty.png" hash="799c499ca785331e7e69d892df52dd48"/><file name="5-stars-full.png" hash="1d06151a2c4da6bb71381538c8a903a5"/><file name="bkg_rating.gif" hash="0efa835d6b68d7f8042170b182ace2a9"/><file name="greystar.png" hash="ab99888c7a8f47826ad7a83bcabf9130"/><file name="logo.png" hash="7dc164baee77a185d41abfa3f72b1f8a"/><file name="star.png" hash="647c77f0ef881fb2a90a4f53f70d75fa"/></dir><file name="richsnippets.css" hash="10513a90a15d0c4783d887ccd75c5109"/><file name="sidebar.css" hash="8daee00a13286a5c587215f12292c3eb"/><file name="style.css" hash="67216df1d18af5834abe798268cc9c0b"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="magmodules"><dir name="trustpilot"><file name="grid.css" hash="90a8ac7d668d2ea9a7dc84632e639847"/><file name="star.png" hash="4beacfb62ebdd5feecd946494e895f4c"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Magmodules_Trustpilot</name>
4
+ <version>1.1.3</version>
5
  <stability>stable</stability>
6
  <license/>
7
  <channel>community</channel>
10
  <description>Connect your Magento shop to The Feedback Company</description>
11
  <notes>First stable release</notes>
12
  <authors><author><name>Magmodules</name><user>auto-converted</user><email>info@magmodules.nl</email></author></authors>
13
+ <date>2015-07-09</date>
14
+ <time>09:00:49</time>
15
+ <contents><target name="magelocal"><dir name="Magmodules"><dir name="Trustpilot"><dir name="Block"><dir name="Adminhtml"><dir name="Trustpilotlog"><file name="Grid.php" hash="1d0393c4292c5b6bf924b1d898fe1489"/></dir><dir name="Trustpilotreviews"><dir name="Renderer"><file name="Experience.php" hash="56cd001e25933e6f717b8bbadfdfcdc1"/></dir><file name="Grid.php" hash="de8e87e480fd17ca720bb889eb41984d"/></dir><dir name="Widget"><dir name="Buttons"><file name="Process.php" hash="f88e0b904b4fdfe6c499c67ee63bf4cd"/></dir><dir name="Form"><file name="Heading.php" hash="d4240108d265b16e30f98aa02d89fdc2"/><file name="Note.php" hash="c363887b1db75d441ba7128034e409f0"/></dir><dir name="Grid"><file name="Log.php" hash="58591e425491b28ab6f9a7406417bcfa"/><file name="Seconds.php" hash="62bd740dc21beb7eb9f8ff246100472f"/><file name="Stars.php" hash="a18d4771c304e9f2fc3976730df2e046"/></dir><dir name="Info"><file name="Info.php" hash="049b0544b16972242dac36c54e81a175"/></dir></dir><file name="Trustpilotlog.php" hash="69a09905d4e8f4e53f5e3baaedc2d629"/><file name="Trustpilotreviews.php" hash="6c846808a318948c1230d51cb1a0cd1b"/></dir><file name="Custom.php" hash="b303aedb6d0ced8b478fd55f0c0499d0"/><file name="Reviews.php" hash="d7d571bbad61d22a5c0cd842dacc33ec"/><file name="Sidebar.php" hash="f12a9967e54beddceca9a237da83fe2b"/></dir><dir name="Helper"><file name="Data.php" hash="a77b3dc5b5129d99a06804d215645274"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Log"><file name="Collection.php" hash="67a8cc90f0373834af154b78ba1d221c"/></dir><dir name="Reviews"><file name="Collection.php" hash="575e14b7bb94d7caf36b11163a25415d"/></dir><dir name="Stats"><file name="Collection.php" hash="f46da181a9ea2ee4def015cf38b1506d"/></dir><file name="Log.php" hash="ba3cb0ec65bfd14bfd5c500c6cc1be97"/><file name="Reviews.php" hash="ed6eba1a4a104578009a14f712b88d95"/><file name="Stats.php" hash="83ef36cc25b1bdcea3bb68725b2777d8"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Cronfrequency.php" hash="1b0d3fbb6471391d5f5bb63191f5950a"/><file name="Orderstatus.php" hash="cc0f2903f29abb21bf27be1cba911c74"/><file name="Position.php" hash="990add06e5acc227e9f2603d4c7448ae"/><file name="Sidebarlink.php" hash="fa59946b89bdf5cd3939978860706bf9"/><file name="Sidebarstyle.php" hash="a6daee24f617f127dae491af9f8b3d75"/></dir><file name="Flushcache.php" hash="f6d470c805c174534da779cfc57c6c21"/></dir></dir><file name="Api.php" hash="f1b9146e1ca19d4be86897ad126381aa"/><file name="Log.php" hash="1081140ad66a8de337a700cfdf0b2ea7"/><file name="Observer.php" hash="44277db1b4ec0e9fbd1cb1d433f21733"/><file name="Reviews.php" hash="41c6062c6e478e8def11f47bac802733"/><file name="Stats.php" hash="6c8ac63386177694c179b981fa424382"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="TrustpilotlogController.php" hash="b60ed25d3a8e43b074d5eda6c80e26ea"/><file name="TrustpilotreviewsController.php" hash="80274df6ac2e34eaf5c8aaac1b0396e0"/></dir><file name="IndexController.php" hash="fa12a86ff5ddf21351ed23da4e594eb6"/></dir><dir name="etc"><file name="adminhtml.xml" hash="4b8f2002f6905226d5409ebf0b912dd1"/><file name="config.xml" hash="e1dd0e4830434cf1cb52460e76ec7903"/><file name="system.xml" hash="e02933773e83f67f9287de953530f5e6"/></dir><dir name="sql"><dir name="trustpilot_setup"><file name="mysql4-install-0.9.0.php" hash="7033a3cb0486d615e5f77dac7ba9fd63"/><file name="mysql4-upgrade-0.9.0-1.0.0.php" hash="054e4cfe0524f75ab08458146665738c"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="magmodules_trustpilot.xml" hash="a1dffcc86459d9490ec683df022eaf5b"/></dir><dir name="template"><dir name="magmodules"><dir name="trustpilot"><dir name="sidebar"><file name="left.phtml" hash="36591ffafce93778eda8c8907cb4d025"/><file name="right.phtml" hash="8df2dfe5c37647a69bd1238a755110a3"/></dir><dir name="widget"><file name="medium.phtml" hash="1ec450fa4a651b341041274b10bfa15c"/><file name="sidebar.phtml" hash="758cd44c121c4e2d7feec7e1b947670f"/><file name="small.phtml" hash="107cfe25aa2c92d6811db88786092bdb"/></dir><file name="index.phtml" hash="c9f93beeddd9a6676112f0f6dbc63b8b"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="magmodules_trustpilot.xml" hash="285cf7890eed0dbf4cb79fc5342fc7d2"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magmodules_Trustpilot.xml" hash="ef276abf28d9d1a59cab187ea5e68c2b"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Magmodules_Trustpilot.csv" hash="43b62da5910383251d93dfd6c41373d9"/></dir><dir name="nl_NL"><file name="Magmodules_Trustpilot.csv" hash="b5727a43e1ddc9e17728228589b9dc30"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="magmodules"><dir name="trustpilot"><dir name="images"><file name="5-stars-empty.png" hash="799c499ca785331e7e69d892df52dd48"/><file name="5-stars-full.png" hash="1d06151a2c4da6bb71381538c8a903a5"/><file name="bkg_rating.gif" hash="0efa835d6b68d7f8042170b182ace2a9"/><file name="greystar.png" hash="ab99888c7a8f47826ad7a83bcabf9130"/><file name="logo.png" hash="7dc164baee77a185d41abfa3f72b1f8a"/><file name="star.png" hash="647c77f0ef881fb2a90a4f53f70d75fa"/></dir><file name="richsnippets.css" hash="10513a90a15d0c4783d887ccd75c5109"/><file name="sidebar.css" hash="8daee00a13286a5c587215f12292c3eb"/><file name="style.css" hash="67216df1d18af5834abe798268cc9c0b"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="magmodules"><dir name="trustpilot"><file name="grid.css" hash="90a8ac7d668d2ea9a7dc84632e639847"/><file name="star.png" hash="4beacfb62ebdd5feecd946494e895f4c"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>