rejuni_image_optimizer - Version 0.1.3

Version Notes

Extension now works correctly in magento administration panel

Download this release

Release Info

Developer Remco
Extension rejuni_image_optimizer
Version 0.1.3
Comparing to
See all releases


Code changes from version 0.1.2 to 0.1.3

app/code/community/ReJuNi/Optimizer/Model/Observer.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  class ReJuNi_Optimizer_Model_Observer{
3
  public function optimizeFilesize(Varien_Event_Observer $observer){
4
- $enableStatus = Mage::getConfig()->getNode('default/rejuni/rejuni_optimizer_group/rejuni_optimizer_enabled');
5
  if($enableStatus > 0)
6
  {
7
  $event = $observer->getEvent();
@@ -16,8 +16,8 @@ class ReJuNi_Optimizer_Model_Observer{
16
  }
17
 
18
  private function doApiCall($image) {
19
- $target_url = Mage::getConfig()->getNode('default/rejuni/rejuni_optimizer_group/rejuni_optimizer_apiuri');
20
- $apikey = Mage::getConfig()->getNode('default/rejuni/rejuni_optimizer_group/rejuni_optimizer_apikey');
21
 
22
  if(empty($target_url)) {
23
  Mage::log("target uri not set", null, 'rejuni.log');
1
  <?php
2
  class ReJuNi_Optimizer_Model_Observer{
3
  public function optimizeFilesize(Varien_Event_Observer $observer){
4
+ $enableStatus = Mage::getConfig()->getNode('default/rejuni_optimizer/rejuni_optimizer_group/rejuni_optimizer_enabled');
5
  if($enableStatus > 0)
6
  {
7
  $event = $observer->getEvent();
16
  }
17
 
18
  private function doApiCall($image) {
19
+ $target_url = Mage::getConfig()->getNode('default/rejuni_optimizer/rejuni_optimizer_group/rejuni_optimizer_apiuri');
20
+ $apikey = Mage::getConfig()->getNode('default/rejuni_optimizer/rejuni_optimizer_group/rejuni_optimizer_apikey');
21
 
22
  if(empty($target_url)) {
23
  Mage::log("target uri not set", null, 'rejuni.log');
app/code/community/ReJuNi/Optimizer/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <ReJuNi_Optimizer>
5
- <version>0.1.1</version>
6
  </ReJuNi_Optimizer>
7
  </modules>
8
  <global>
@@ -42,7 +42,7 @@
42
  <default>
43
  <rejuni>
44
  <rejuni_group>
45
- <rejuni_optimizer_version>0.1.1</rejuni_optimizer_version>
46
  </rejuni_group>
47
  </rejuni>
48
  <rejuni_optimizer>
2
  <config>
3
  <modules>
4
  <ReJuNi_Optimizer>
5
+ <version>0.1.3</version>
6
  </ReJuNi_Optimizer>
7
  </modules>
8
  <global>
42
  <default>
43
  <rejuni>
44
  <rejuni_group>
45
+ <rejuni_optimizer_version>0.1.3</rejuni_optimizer_version>
46
  </rejuni_group>
47
  </rejuni>
48
  <rejuni_optimizer>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>rejuni_image_optimizer</name>
4
- <version>0.1.2</version>
5
  <stability>stable</stability>
6
  <license>GNU General Public License (GPL)</license>
7
  <channel>community</channel>
@@ -11,8 +11,8 @@
11
  <notes>Extension now works correctly in magento administration panel</notes>
12
  <authors><author><name>Remco</name><user>rejuni</user><email>info@rejuni.nl</email></author></authors>
13
  <date>2015-11-28</date>
14
- <time>09:32:11</time>
15
- <contents><target name="magecommunity"><dir name="ReJuNi"><dir name="Core"><dir name="Helper"><file name="Data.php" hash="c25de8cec52f28c75d483ddd8821751f"/></dir><dir name="etc"><file name="config.xml" hash="2694f9abec22840cdf6f1ae65d711994"/><file name="system.xml" hash="d70d2c33dbc265135920ba2319a88c4b"/></dir></dir><dir name="Optimizer"><dir name="Helper"><file name="Data.php" hash="df0125a410ed57094a8b5163ea3b12bd"/></dir><dir name="Model"><file name="Observer.php" hash="eb6453a73036fb443c2e175c42c824f5"/><dir name="Product"><file name="Image.php" hash="2d2c2e95963cd812e9df3135753e1076"/></dir></dir><dir name="etc"><file name="config.xml" hash="481060763486b5403e737625852c66fe"/><file name="system.xml" hash="ea6f6771a076351b12763213ed24fcf3"/></dir><dir name="sql"><dir name="optimizer_setup"><file name="install-1.0.0.php" hash="70b2d072336a89c5b528d7cc7f7748c7"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="ReJuNi_Core.xml" hash="ddaae448a38eaf4ab25ae68443aa3c86"/><file name="ReJuNi_Optimizer.xml" hash="164a50cab082cb4114cf56a666b4b186"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.0</min><max>5.6.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>rejuni_image_optimizer</name>
4
+ <version>0.1.3</version>
5
  <stability>stable</stability>
6
  <license>GNU General Public License (GPL)</license>
7
  <channel>community</channel>
11
  <notes>Extension now works correctly in magento administration panel</notes>
12
  <authors><author><name>Remco</name><user>rejuni</user><email>info@rejuni.nl</email></author></authors>
13
  <date>2015-11-28</date>
14
+ <time>10:32:29</time>
15
+ <contents><target name="magecommunity"><dir name="ReJuNi"><dir name="Core"><dir name="Helper"><file name="Data.php" hash="c25de8cec52f28c75d483ddd8821751f"/></dir><dir name="etc"><file name="config.xml" hash="2694f9abec22840cdf6f1ae65d711994"/><file name="system.xml" hash="d70d2c33dbc265135920ba2319a88c4b"/></dir></dir><dir name="Optimizer"><dir name="Helper"><file name="Data.php" hash="df0125a410ed57094a8b5163ea3b12bd"/></dir><dir name="Model"><file name="Observer.php" hash="6e99b9382fe9ee12fd95d5fa2f6e15f9"/><dir name="Product"><file name="Image.php" hash="2d2c2e95963cd812e9df3135753e1076"/></dir></dir><dir name="etc"><file name="config.xml" hash="4fd23626a9489e0db52b943f8c62e935"/><file name="system.xml" hash="ea6f6771a076351b12763213ed24fcf3"/></dir><dir name="sql"><dir name="optimizer_setup"><file name="install-1.0.0.php" hash="70b2d072336a89c5b528d7cc7f7748c7"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="ReJuNi_Core.xml" hash="ddaae448a38eaf4ab25ae68443aa3c86"/><file name="ReJuNi_Optimizer.xml" hash="164a50cab082cb4114cf56a666b4b186"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.0</min><max>5.6.0</max></php></required></dependencies>
18
  </package>