easysize - Version 1.2.2

Version Notes

Added install notification

Download this release

Release Info

Developer EasySize IVS
Extension easysize
Version 1.2.2
Comparing to
See all releases


Code changes from version 1.1.10 to 1.2.2

app/code/community/EasySize/SizeGuide/Model/Resource/Setup.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Created by PhpStorm.
4
+ * User: Emke
5
+ * Date: 5/31/16
6
+ * Time: 12:15 PM
7
+ */
8
+
9
+ class EasySize_SizeGuide_Model_Resource_Setup extends Mage_Core_Model_Resource_Setup {
10
+ }
app/code/community/EasySize/SizeGuide/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <EasySize_SizeGuide>
5
- <version>1.2.0</version>
6
  </EasySize_SizeGuide>
7
  </modules>
8
 
@@ -86,5 +86,14 @@
86
  <class>EasySize_SizeGuide_Helper</class>
87
  </sizeguide>
88
  </helpers>
 
 
 
 
 
 
 
 
 
89
  </global>
90
  </config>
2
  <config>
3
  <modules>
4
  <EasySize_SizeGuide>
5
+ <version>1.2.2</version>
6
  </EasySize_SizeGuide>
7
  </modules>
8
 
86
  <class>EasySize_SizeGuide_Helper</class>
87
  </sizeguide>
88
  </helpers>
89
+
90
+ <resources>
91
+ <sizeguide_setup>
92
+ <setup>
93
+ <module>EasySize_SizeGuide</module>
94
+ <class>EasySize_SizeGuide_Model_Resource_Setup</class>
95
+ </setup>
96
+ </sizeguide_setup>
97
+ </resources>
98
  </global>
99
  </config>
app/code/community/EasySize/SizeGuide/sql/sizeguide_setup/install-1.2.2.php ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /* @var $installer Mage_Core_Model_Resource_Setup */
4
+ $install = $this;
5
+ $install->startSetup();
6
+
7
+ $user = Mage::getSingleton('admin/session');
8
+ $user_email = urlencode($user->getUser()->getEmail());
9
+ $shop_doman = urlencode(Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB));
10
+
11
+ $curl = curl_init();
12
+
13
+ curl_setopt_array($curl, array(
14
+ CURLOPT_PORT => "6565",
15
+ CURLOPT_URL => "http://easysize-internal.cloudapp.net:6565/install?domain={$shop_doman}&email={$user_email}",
16
+ CURLOPT_RETURNTRANSFER => true,
17
+ CURLOPT_ENCODING => "",
18
+ CURLOPT_MAXREDIRS => 10,
19
+ CURLOPT_TIMEOUT => 30,
20
+ CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
21
+ CURLOPT_CUSTOMREQUEST => "GET",
22
+ CURLOPT_HTTPHEADER => array(
23
+ "cache-control: no-cache",
24
+ "postman-token: 6e549668-2f0a-1bad-3f47-a21f34bab086"
25
+ ),
26
+ ));
27
+
28
+ $response = curl_exec($curl);
29
+
30
+ curl_close($curl);
31
+
32
+
33
+ $install->endSetup();
package.xml CHANGED
@@ -1,23 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>easysize</name>
4
- <version>1.1.10</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.easysize.me/terms-of-use/">EasySize</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>EasySize sizing solution</summary>
10
  <description>EasySize was founded in October 2014 by Gulnaz Khusainova and is currently based in Copenhagen, Denmark. EasySize&#x2019;s aim is to improve the online shopping experience for customers and empower retailers to grow their online businesses by using smart technology to accurately understand what a customer&#x2019;s ideal fit is. To date, EasySize has helped over 400,000 unique users find their ideal fit all over the world. Please visit easysize.me for more information.</description>
11
- <notes>Multi shop configuration.&#xD;
12
- EasySize settings moved to System-&gt;Configuration.&#xD;
13
- Tracking on checkout page.&#xD;
14
- EasySize block added to 'before_body_end'.&#xD;
15
- One gender support.&#xD;
16
- Brand selectable (not default manufacturer anymore).</notes>
17
  <authors><author><name>EasySize IVS</name><user>EasySize</user><email>gk@easysize.me</email></author></authors>
18
- <date>2016-02-24</date>
19
- <time>14:50:15</time>
20
- <contents><target name="magecommunity"><dir name="EasySize"><dir name="SizeGuide"><dir name="Block"><file name="Data.php" hash="64242731fa0bee496f9b259eba41e7ae"/></dir><dir name="Helper"><file name="Data.php" hash="e1f1c548146a5eedc58222620232a758"/></dir><dir name="Model"><file name="Observer.php" hash="87c607e056e53cacd367c75f314e4921"/><file name="ShopAttributes.php" hash="cc02d02ce5ed899280cd72b049c066e1"/></dir><dir name="etc"><file name="config.xml" hash="b22b10df62ace9e7a9e873235e749565"/><file name="system.xml" hash="8cb01b6b5fc246f7a4a8170a5cf72cfa"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="sizeguide"><file name="easysize.phtml" hash="04a9b0118af89064f1ceb527289f1f6d"/></dir></dir><dir name="layout"><file name="sizeguide.xml" hash="719082d2622034408573c6650e98e644"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="EasySize_SizeGuide.xml" hash="2397289fc71f8ddb23dec37aefdf4779"/></dir></target></contents>
21
  <compatible/>
22
  <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
23
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>easysize</name>
4
+ <version>1.2.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.easysize.me/terms-of-use/">EasySize</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>EasySize sizing solution</summary>
10
  <description>EasySize was founded in October 2014 by Gulnaz Khusainova and is currently based in Copenhagen, Denmark. EasySize&#x2019;s aim is to improve the online shopping experience for customers and empower retailers to grow their online businesses by using smart technology to accurately understand what a customer&#x2019;s ideal fit is. To date, EasySize has helped over 400,000 unique users find their ideal fit all over the world. Please visit easysize.me for more information.</description>
11
+ <notes>Added install notification</notes>
 
 
 
 
 
12
  <authors><author><name>EasySize IVS</name><user>EasySize</user><email>gk@easysize.me</email></author></authors>
13
+ <date>2016-05-31</date>
14
+ <time>11:11:58</time>
15
+ <contents><target name="magecommunity"><dir name="EasySize"><dir name="SizeGuide"><dir name="Block"><file name="Data.php" hash="64242731fa0bee496f9b259eba41e7ae"/></dir><dir name="Helper"><file name="Data.php" hash="e1f1c548146a5eedc58222620232a758"/></dir><dir name="Model"><file name="Observer.php" hash="87c607e056e53cacd367c75f314e4921"/><dir name="Resource"><file name="Setup.php" hash="db68d16089806da3849ab919e4e35a01"/></dir><file name="ShopAttributes.php" hash="cc02d02ce5ed899280cd72b049c066e1"/></dir><dir name="etc"><file name="config.xml" hash="b5d50851fdcb066af902d675b46944b5"/><file name="system.xml" hash="8cb01b6b5fc246f7a4a8170a5cf72cfa"/></dir><dir name="sql"><dir name="sizeguide_setup"><file name="install-1.2.2.php" hash="250815493d507969f679828d7616e4bf"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="sizeguide"><file name="easysize.phtml" hash="04a9b0118af89064f1ceb527289f1f6d"/></dir></dir><dir name="layout"><file name="sizeguide.xml" hash="719082d2622034408573c6650e98e644"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="EasySize_SizeGuide.xml" hash="2397289fc71f8ddb23dec37aefdf4779"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>