Version Notes
[!] New store registration did not work (clicking the Connect to Searchanise button did nothing). Fixed.
Download this release
Release Info
Developer | Simbirsk Technologies, Ltd. |
Extension | Simtech_Searchanise |
Version | 3.0.1 |
Comparing to | |
See all releases |
Code changes from version 3.0.0 to 3.0.1
app/code/community/Simtech/Searchanise/Helper/ApiSe.php
CHANGED
@@ -699,7 +699,8 @@ class Simtech_Searchanise_Helper_ApiSe
|
|
699 |
} elseif ($method == Zend_Http_Client::POST) {
|
700 |
$client->setParameterPost($data);
|
701 |
}
|
702 |
-
|
|
|
703 |
try {
|
704 |
$response = $client->request($method);
|
705 |
$responseBody = $response->getBody();
|
@@ -1093,9 +1094,9 @@ class Simtech_Searchanise_Helper_ApiSe
|
|
1093 |
$url = str_replace('index.php/', $base_url, $url);
|
1094 |
}
|
1095 |
|
1096 |
-
list($h, $
|
1097 |
Zend_Http_Client::POST,
|
1098 |
-
self::getServiceUrl() . '/api/signup',
|
1099 |
array(
|
1100 |
'url' => $url,
|
1101 |
'email' => $email,
|
@@ -1112,36 +1113,32 @@ class Simtech_Searchanise_Helper_ApiSe
|
|
1112 |
self::echoConnectProgress('.');
|
1113 |
}
|
1114 |
|
1115 |
-
if (!empty($
|
1116 |
-
$
|
|
|
1117 |
|
1118 |
-
if (
|
1119 |
-
|
1120 |
-
|
1121 |
-
|
1122 |
-
|
1123 |
-
|
1124 |
-
|
1125 |
-
|
1126 |
-
|
1127 |
-
|
1128 |
-
|
1129 |
-
|
1130 |
-
|
1131 |
-
|
1132 |
-
|
1133 |
-
|
1134 |
-
|
1135 |
-
|
1136 |
-
} else {
|
1137 |
-
if ($showNotification == true) {
|
1138 |
-
self::echoConnectProgress(' Error<br />');
|
1139 |
-
}
|
1140 |
-
|
1141 |
-
break;
|
1142 |
}
|
|
|
|
|
1143 |
}
|
1144 |
-
|
1145 |
self::setExportStatus(self::EXPORT_STATUS_NONE, $store);
|
1146 |
}
|
1147 |
}
|
699 |
} elseif ($method == Zend_Http_Client::POST) {
|
700 |
$client->setParameterPost($data);
|
701 |
}
|
702 |
+
|
703 |
+
$response = false;
|
704 |
try {
|
705 |
$response = $client->request($method);
|
706 |
$responseBody = $response->getBody();
|
1094 |
$url = str_replace('index.php/', $base_url, $url);
|
1095 |
}
|
1096 |
|
1097 |
+
list($h, $response) = self::httpRequest(
|
1098 |
Zend_Http_Client::POST,
|
1099 |
+
self::getServiceUrl() . '/api/signup/json',
|
1100 |
array(
|
1101 |
'url' => $url,
|
1102 |
'email' => $email,
|
1113 |
self::echoConnectProgress('.');
|
1114 |
}
|
1115 |
|
1116 |
+
if (!empty($response) && $responseKeys = self::parseResponse($response, true)) {
|
1117 |
+
$apiKey = empty($responseKeys['keys']['api']) ? false : $responseKeys['keys']['api'];
|
1118 |
+
$privateKey = empty($responseKeys['keys']['private']) ? false : $responseKeys['keys']['private'];
|
1119 |
|
1120 |
+
if (empty($apiKey) || empty($privateKey)) {
|
1121 |
+
return false;
|
1122 |
+
}
|
1123 |
+
|
1124 |
+
if (empty($parentPrivateKey)) {
|
1125 |
+
self::setParentPrivateKey($privateKey);
|
1126 |
+
$parentPrivateKey = $privateKey;
|
1127 |
+
}
|
1128 |
+
|
1129 |
+
self::setApiKey($apiKey, $store);
|
1130 |
+
self::setPrivateKey($privateKey, $store);
|
1131 |
+
|
1132 |
+
$connected = true;
|
1133 |
+
|
1134 |
+
} else {
|
1135 |
+
if ($showNotification == true) {
|
1136 |
+
self::echoConnectProgress(' Error<br />');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1137 |
}
|
1138 |
+
|
1139 |
+
break;
|
1140 |
}
|
1141 |
+
|
1142 |
self::setExportStatus(self::EXPORT_STATUS_NONE, $store);
|
1143 |
}
|
1144 |
}
|
app/code/community/Simtech/Searchanise/etc/config.xml
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
<config>
|
16 |
<modules>
|
17 |
<Simtech_Searchanise>
|
18 |
-
<version>3.0.
|
19 |
</Simtech_Searchanise>
|
20 |
</modules>
|
21 |
<frontend>
|
15 |
<config>
|
16 |
<modules>
|
17 |
<Simtech_Searchanise>
|
18 |
+
<version>3.0.1</version>
|
19 |
</Simtech_Searchanise>
|
20 |
</modules>
|
21 |
<frontend>
|
app/code/community/Simtech/Searchanise/etc/config_without_search.xml
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
<config>
|
16 |
<modules>
|
17 |
<Simtech_Searchanise>
|
18 |
-
<version>3.0.
|
19 |
</Simtech_Searchanise>
|
20 |
</modules>
|
21 |
<frontend>
|
15 |
<config>
|
16 |
<modules>
|
17 |
<Simtech_Searchanise>
|
18 |
+
<version>3.0.1</version>
|
19 |
</Simtech_Searchanise>
|
20 |
</modules>
|
21 |
<frontend>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Simtech_Searchanise</name>
|
4 |
-
<version>3.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://docs.searchanise.com/connector_addon/license_agreement.html">Commercial license: http://docs.searchanise.com/connector_addon/license_agreement.html</license>
|
7 |
<channel>community</channel>
|
@@ -10,17 +10,11 @@
|
|
10 |
<description>Searchanise is a free SaaS solution providing fast and smart search for online stores. It provides rapid search results and instant search suggestions presented in a fancy and customizable widget.
|
11 |

|
12 |
With the help of Searchanise Connector Add-on you will be able to connect your store to the service and start using the search widget in no time. Power up your store right now!</description>
|
13 |
-
<notes>[
|
14 |
-
[*] Switch to API v. 1.3.<br>
|
15 |
-
[*] Datafeeds are now submitted in JSON instead of XML.<br>
|
16 |
-
[*] Faster indexation: Only active products are submitted on initial indexation.<br>
|
17 |
-
[*] Faster indexation: Child products are not submitted separately from their parents.<br>
|
18 |
-
[!] Usergroup-based prices could be submitted incorrectly. Fixed.<br>
|
19 |
-
[!] Minor improvements and fixes in the advanced search.<br></notes>
|
20 |
<authors><author><name>Simbirsk Technologies, Ltd.</name><user>searchanise</user><email>sales@searchanise.com</email></author></authors>
|
21 |
-
<date>2014-02-
|
22 |
-
<time>
|
23 |
-
<contents><target name="magecommunity"><dir name="Simtech"><dir name="Searchanise"><dir name="Block"><file name="Async.php" hash="bc97c98da15f5abbc1d8922ca477dc6d"/><file name="Autocomplete.php" hash="efc89ac3f897be3bc307fba6a36778f0"/><file name="Jsinit.php" hash="3cb0a3bd02858a6ce81d14dbc7b6042f"/><dir name="Product"><dir name="List"><file name="Toolbar.php" hash="759854378cb8c35c37a8a7f44076194f"/></dir><file name="Result.php" hash="4e767e273ee21a38332ac226af878291"/></dir><file name="Result.php" hash="dec7b27ab9511c956680eb60eba9b95e"/></dir><dir name="Helper"><file name="ApiCategories.php" hash="dc10df2138ae17ea77e9ad522748ab81"/><file name="ApiProducts.php" hash="12b5b03b26dccf7c07777f3d73e90713"/><file name="ApiSe.php" hash="
|
24 |
<compatible/>
|
25 |
<dependencies><required><php><min>5.2.13</min><max>6.0.0</max></php></required></dependencies>
|
26 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Simtech_Searchanise</name>
|
4 |
+
<version>3.0.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://docs.searchanise.com/connector_addon/license_agreement.html">Commercial license: http://docs.searchanise.com/connector_addon/license_agreement.html</license>
|
7 |
<channel>community</channel>
|
10 |
<description>Searchanise is a free SaaS solution providing fast and smart search for online stores. It provides rapid search results and instant search suggestions presented in a fancy and customizable widget.
|
11 |

|
12 |
With the help of Searchanise Connector Add-on you will be able to connect your store to the service and start using the search widget in no time. Power up your store right now!</description>
|
13 |
+
<notes>[!] New store registration did not work (clicking the Connect to Searchanise button did nothing). Fixed.</notes>
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
<authors><author><name>Simbirsk Technologies, Ltd.</name><user>searchanise</user><email>sales@searchanise.com</email></author></authors>
|
15 |
+
<date>2014-02-17</date>
|
16 |
+
<time>11:05:55</time>
|
17 |
+
<contents><target name="magecommunity"><dir name="Simtech"><dir name="Searchanise"><dir name="Block"><file name="Async.php" hash="bc97c98da15f5abbc1d8922ca477dc6d"/><file name="Autocomplete.php" hash="efc89ac3f897be3bc307fba6a36778f0"/><file name="Jsinit.php" hash="3cb0a3bd02858a6ce81d14dbc7b6042f"/><dir name="Product"><dir name="List"><file name="Toolbar.php" hash="759854378cb8c35c37a8a7f44076194f"/></dir><file name="Result.php" hash="4e767e273ee21a38332ac226af878291"/></dir><file name="Result.php" hash="dec7b27ab9511c956680eb60eba9b95e"/></dir><dir name="Helper"><file name="ApiCategories.php" hash="dc10df2138ae17ea77e9ad522748ab81"/><file name="ApiProducts.php" hash="12b5b03b26dccf7c07777f3d73e90713"/><file name="ApiSe.php" hash="e830ce95cb9172e23c5e8b7244479da5"/><file name="Data.php" hash="d4925c397d8b821b47be87a4d377930a"/></dir><dir name="Model"><file name="Advanced.php" hash="deb3ae5193e0aee50b94360b1833ac82"/><dir name="Config"><file name="Data.php" hash="ddc558d22208f0ebc1e4378c9d050022"/></dir><file name="Config.php" hash="00ca3c7955f3ff2283c636a2074b6f03"/><dir name="Import"><dir name="Entity"><file name="Product.php" hash="4997af528b36f0f576d1c01402e14b03"/></dir></dir><dir name="Layer"><dir name="Filter"><file name="Category.php" hash="e290ab29f2d50e1acbbbb37496150ea4"/><file name="Price.php" hash="743887b32bf012274ad8a371fff96411"/></dir></dir><file name="Layer.php" hash="3e8c975d649ae6e20fcc69d35779c97c"/><file name="LayerCatalogSearch.php" hash="42058e0552719902f3f40f91e816b460"/><dir name="Mysql4"><dir name="Advanced"><file name="Collection.php" hash="dd8c6f3cbb0621a5a7320f3104e68da6"/></dir><dir name="Config"><file name="Collection.php" hash="470218c1eb3f1cc1ca0e6d0e93e1b097"/></dir><file name="Config.php" hash="c95dc8ecd7ab4f955b6eaf4710ab960e"/><dir name="Fulltext"><file name="Collection.php" hash="5646955503a90020f87cfd861ac07e73"/></dir><dir name="Product"><file name="Collection.php" hash="28b478eb328502ce03e389404d9f54b5"/><file name="CollectionTag.php" hash="ea06ec75ee4d083f2b4232c5fe298f00"/></dir><dir name="Queue"><file name="Collection.php" hash="30ca0f8640bdc443deb94cd2e71010c8"/></dir><file name="Queue.php" hash="286351623e8f011a21519f8d9c3e3151"/><file name="Store.php" hash="0126a4291d7dad6641bf59abb0f64cc4"/></dir><file name="Observer.php" hash="f7571c2aea1673f05d61eda706b26c15"/><file name="Queue.php" hash="71cc48374a82faed0f3a312aa2462ef8"/><file name="Request.php" hash="897d53117d7d0e11932e77daaf8b639e"/><dir name="Resource"><dir name="Advanced"><file name="Collection.php" hash="6744555254ba1c57f482504b5f16012a"/></dir><dir name="Eav"><dir name="Mysql4"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="05320757b9289edac4f15230cd06c0e1"/><file name="Price.php" hash="ed4e21a18c552e3a92b21ff6e8bc5d61"/></dir></dir><dir name="Product"><file name="Action.php" hash="006e3c8c775cf31a8b9c66fb934c9d2d"/></dir></dir></dir><dir name="Fulltext"><file name="Collection.php" hash="273467b2e39649fcd0a8eede59c5ab98"/></dir><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="643a513735ac2a2ac9fba08ff1fa79a0"/><file name="Price.php" hash="15d7ab510b37655a148e077dcece13df"/></dir></dir><dir name="Product"><file name="Collection.php" hash="b7c9a1c2fc24ecf78a32fd0d9d46b120"/><file name="CollectionTag.php" hash="60f12d27d78426a8e04e01d2cbdadb48"/></dir><file name="Store.php" hash="dee8bb23b7fe48dc55e46e93f583699a"/></dir><file name="Searchanise.php" hash="0a03a35854470a310f075298c9a1abf2"/><dir name="System"><dir name="Config"><dir name="Source"><dir name="Searchanise"><file name="TypeAsync.php" hash="11d1aa481094ccbeab365b1fed33440d"/></dir></dir></dir></dir><dir name="Tag"><file name="Relation.php" hash="598f81fd8b2ac77baf24211c2ed03e55"/></dir></dir><dir name="controllers"><file name="AdvancedController.php" hash="5ea4f7fb3362d720462dc0a8e1f1497b"/><file name="AsyncController.php" hash="f589349f353e2de8c31155b2025b8bea"/><file name="CategoryController.php" hash="06eac1ad4730d42379f6bc6aae097427"/><file name="IndexController.php" hash="e3234ca51a7669741e29ff7c38789989"/><file name="InfoController.php" hash="7592aa452dcb382cc3fc584918febe01"/><file name="OptionsController.php" hash="46b8e49dd1026a5e07410b51d101d498"/><file name="ProductController.php" hash="4cf4e991446a36ea34b7c1d350971e1a"/><file name="ResultController.php" hash="2c1d838a2897ffcbb8bc61743254e934"/><file name="ResyncController.php" hash="0612f929d375427326821dfc12186be8"/><file name="SignupController.php" hash="80f87a63d6272f98a068dde35f1d140e"/></dir><dir name="etc"><file name="config.xml" hash="5cbc14e802b9a42269704fe7fcbb7770"/><file name="config_without_search.xml" hash="aa5c68e4257634554d2211c7c0983102"/><file name="system.xml" hash="a006341e693571d11efaa9d289ebf7fa"/></dir><dir name="sql"><dir name="searchanise_setup"><file name="mysql4-install-0.1.0.php" hash="754324c8783e9cc24de86396e1587e73"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="searchanise"><file name="dashboard.phtml" hash="0ec8814b915e8594b019062c071cc485"/></dir></dir><dir name="layout"><file name="searchanise.xml" hash="68baa611d05db05f8816ea2a8260e961"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="searchanise.xml" hash="5e904fee02cbd42324a297d513b9f582"/></dir></dir></dir><dir name="default"><dir name="default"><dir name="template"><dir name="catalogsearch"><file name="form.mini.phtml" hash="fcf8e06e66801a36c96f20ca5d187123"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Simtech_Searchanise.xml" hash="04148681a6648bd370ab62140cbf2ad9"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Simtech_Searchanise.csv" hash="1bdb7fddc596dac1460bc3054c425187"/></dir></target></contents>
|
18 |
<compatible/>
|
19 |
<dependencies><required><php><min>5.2.13</min><max>6.0.0</max></php></required></dependencies>
|
20 |
</package>
|