MVentory_API - Version 1.6.1

Version Notes

* Fix the bug which prevents another users of Magento API to send order emails

Download this release

Release Info

Developer Anatoly A. Kazantsev
Extension MVentory_API
Version 1.6.1
Comparing to
See all releases


Code changes from version 1.6.0 to 1.6.1

app/code/community/MVentory/API/Helper/Mage/Sales/Data.php CHANGED
@@ -33,7 +33,7 @@ class MVentory_API_Helper_Mage_Sales_Data extends Mage_Sales_Helper_Data {
33
  * @return bool
34
  */
35
  public function canSendNewOrderConfirmationEmail ($store = null) {
36
- return $this->_notApiCall()
37
  && parent::canSendNewOrderConfirmationEmail($store);
38
  }
39
 
@@ -44,7 +44,7 @@ class MVentory_API_Helper_Mage_Sales_Data extends Mage_Sales_Helper_Data {
44
  * @return bool
45
  */
46
  public function canSendNewOrderEmail ($store = null) {
47
- return $this->_notApiCall() && parent::canSendNewOrderEmail($store);
48
  }
49
 
50
  /**
@@ -54,7 +54,7 @@ class MVentory_API_Helper_Mage_Sales_Data extends Mage_Sales_Helper_Data {
54
  * @return bool
55
  */
56
  public function canSendOrderCommentEmail ($store = null) {
57
- return $this->_notApiCall() && parent::canSendOrderCommentEmail($store);
58
  }
59
 
60
  /**
@@ -64,7 +64,7 @@ class MVentory_API_Helper_Mage_Sales_Data extends Mage_Sales_Helper_Data {
64
  * @return bool
65
  */
66
  public function canSendNewShipmentEmail ($store = null) {
67
- return $this->_notApiCall() && parent::canSendNewShipmentEmail($store);
68
  }
69
 
70
  /**
@@ -74,7 +74,8 @@ class MVentory_API_Helper_Mage_Sales_Data extends Mage_Sales_Helper_Data {
74
  * @return bool
75
  */
76
  public function canSendShipmentCommentEmail ($store = null) {
77
- return $this->_notApiCall() && parent::canSendShipmentCommentEmail($store);
 
78
  }
79
 
80
  /**
@@ -84,7 +85,7 @@ class MVentory_API_Helper_Mage_Sales_Data extends Mage_Sales_Helper_Data {
84
  * @return bool
85
  */
86
  public function canSendNewInvoiceEmail ($store = null) {
87
- return $this->_notApiCall() && parent::canSendNewInvoiceEmail($store);
88
  }
89
 
90
  /**
@@ -94,7 +95,8 @@ class MVentory_API_Helper_Mage_Sales_Data extends Mage_Sales_Helper_Data {
94
  * @return bool
95
  */
96
  public function canSendInvoiceCommentEmail ($store = null) {
97
- return $this->_notApiCall() && parent::canSendInvoiceCommentEmail($store);
 
98
  }
99
 
100
  /**
@@ -104,7 +106,8 @@ class MVentory_API_Helper_Mage_Sales_Data extends Mage_Sales_Helper_Data {
104
  * @return bool
105
  */
106
  public function canSendNewCreditmemoEmail ($store = null) {
107
- return $this->_notApiCall() && parent::canSendNewCreditmemoEmail($store);
 
108
  }
109
 
110
  /**
@@ -114,16 +117,19 @@ class MVentory_API_Helper_Mage_Sales_Data extends Mage_Sales_Helper_Data {
114
  * @return bool
115
  */
116
  public function canSendCreditmemoCommentEmail ($store = null) {
117
- return $this->_notApiCall()
118
  && parent::canSendCreditmemoCommentEmail($store);
119
  }
120
 
121
  /**
122
- * Check if Magento was requested throw API
 
123
  *
124
  * @return bool
 
 
125
  */
126
- protected function _notApiCall () {
127
- return Mage::getSingleton('api/server')->getAdapter() == null;
128
  }
129
  }
33
  * @return bool
34
  */
35
  public function canSendNewOrderConfirmationEmail ($store = null) {
36
+ return $this->_notMventoryApi()
37
  && parent::canSendNewOrderConfirmationEmail($store);
38
  }
39
 
44
  * @return bool
45
  */
46
  public function canSendNewOrderEmail ($store = null) {
47
+ return $this->_notMventoryApi() && parent::canSendNewOrderEmail($store);
48
  }
49
 
50
  /**
54
  * @return bool
55
  */
56
  public function canSendOrderCommentEmail ($store = null) {
57
+ return $this->_notMventoryApi() && parent::canSendOrderCommentEmail($store);
58
  }
59
 
60
  /**
64
  * @return bool
65
  */
66
  public function canSendNewShipmentEmail ($store = null) {
67
+ return $this->_notMventoryApi() && parent::canSendNewShipmentEmail($store);
68
  }
69
 
70
  /**
74
  * @return bool
75
  */
76
  public function canSendShipmentCommentEmail ($store = null) {
77
+ return $this->_notMventoryApi()
78
+ && parent::canSendShipmentCommentEmail($store);
79
  }
80
 
81
  /**
85
  * @return bool
86
  */
87
  public function canSendNewInvoiceEmail ($store = null) {
88
+ return $this->_notMventoryApi() && parent::canSendNewInvoiceEmail($store);
89
  }
90
 
91
  /**
95
  * @return bool
96
  */
97
  public function canSendInvoiceCommentEmail ($store = null) {
98
+ return $this->_notMventoryApi()
99
+ && parent::canSendInvoiceCommentEmail($store);
100
  }
101
 
102
  /**
106
  * @return bool
107
  */
108
  public function canSendNewCreditmemoEmail ($store = null) {
109
+ return $this->_notMventoryApi()
110
+ && parent::canSendNewCreditmemoEmail($store);
111
  }
112
 
113
  /**
117
  * @return bool
118
  */
119
  public function canSendCreditmemoCommentEmail ($store = null) {
120
+ return $this->_notMventoryApi()
121
  && parent::canSendCreditmemoCommentEmail($store);
122
  }
123
 
124
  /**
125
+ * Check if current order/shipment/invoice is not being created
126
+ * via mVentory API
127
  *
128
  * @return bool
129
+ * True if usual order/shipment/invoice,
130
+ * false if mVentory order/shipment/invoice
131
  */
132
+ protected function _notMventoryApi () {
133
+ return !Mage::registry(MVentory_API_Model_Config::ORDER_DISABLE_EMAILS);
134
  }
135
  }
app/code/community/MVentory/API/Model/Cart/Api.php CHANGED
@@ -217,6 +217,17 @@ class MVentory_API_Model_Cart_Api extends Mage_Checkout_Model_Cart_Api {
217
 
218
  $result = $cartPayment->setPaymentMethod($quoteId, $data, $storeId);
219
 
 
 
 
 
 
 
 
 
 
 
 
220
  $orderId = $this->createOrder($quoteId, $storeId);
221
 
222
  //Save transaction ID and orderId pair. So, it will return existing order
@@ -251,6 +262,9 @@ class MVentory_API_Model_Cart_Api extends Mage_Checkout_Model_Cart_Api {
251
  Mage::logException($e);
252
  }
253
 
 
 
 
254
  if ($updateProduct) try {
255
  Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID);
256
 
217
 
218
  $result = $cartPayment->setPaymentMethod($quoteId, $data, $storeId);
219
 
220
+ /**
221
+ * Set flag that we create order via mVentory API to prevent sending email
222
+ * for an order/shipment/invoice
223
+ *
224
+ * @see MVentory_API_Helper_Mage_Sales_Data
225
+ * See the class to find how we disabled sending emails
226
+ * for an order/shipment/invoice
227
+ */
228
+ Mage::unregister(MVentory_API_Model_Config::ORDER_DISABLE_EMAILS);
229
+ Mage::register(MVentory_API_Model_Config::ORDER_DISABLE_EMAILS, true, true);
230
+
231
  $orderId = $this->createOrder($quoteId, $storeId);
232
 
233
  //Save transaction ID and orderId pair. So, it will return existing order
262
  Mage::logException($e);
263
  }
264
 
265
+ //Unset the flag because the order was created
266
+ Mage::unregister(MVentory_API_Model_Config::ORDER_DISABLE_EMAILS);
267
+
268
  if ($updateProduct) try {
269
  Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID);
270
 
app/code/community/MVentory/API/Model/Config.php CHANGED
@@ -62,4 +62,6 @@ class MVentory_API_Model_Config
62
  const MT_INPUT_GESTURES = 3;
63
  const MT_INPUT_INTERNETSEARCH = 4;
64
  const MT_INPUT_ANOTHERPROD = 5;
 
 
65
  }
62
  const MT_INPUT_GESTURES = 3;
63
  const MT_INPUT_INTERNETSEARCH = 4;
64
  const MT_INPUT_ANOTHERPROD = 5;
65
+
66
+ const ORDER_DISABLE_EMAILS = 'mventory_order_disable_emails';
67
  }
app/design/adminhtml/default/default/template/mventory/config/build-info.phtml CHANGED
@@ -18,5 +18,5 @@
18
 
19
  ?>
20
 
21
- Build version: 5519f60
22
- <BR/>Build date: 08/02/2016 11:39 UTC
18
 
19
  ?>
20
 
21
+ Build version: 86d224d
22
+ <BR/>Build date: 14/03/2016 02:06 UTC
package.xml CHANGED
@@ -1,5 +1,5 @@
1
  <?xml version="1.0"?>
2
- <package><name>MVentory_API</name><version>1.6.0</version><stability>stable</stability><license>CC BY-NC-ND 4.0</license><channel>community</channel><extends></extends><summary>The easiest way to sell online: PoS, Inventory and Website control in one elegant Android application.</summary><description>mVentory is an Android application for efficient management of Magento stores. This extension provides additional API functionality and is required for the app to connect to your Magento website.
3
 
4
 
5
 
@@ -49,10 +49,4 @@ Creative Commons BY-NC-ND 4.0 (http://creativecommons.org/licenses/by-nc-nd/4.0/
49
 
50
  The extension is free for non-commercial or trial use. Please, request a FREE commercial license from info@mventory.com
51
 
52
- Visit http://mventory.com for more info.</description><notes>* Bug fixes and refactoring
53
- * Image Review moved into separate extension
54
- * Compatibility with SUPEE-6788
55
- * Allow category matching based on yes/no attributes
56
-
57
- Note: Category matching has changed. All rules that match will be applied to make
58
- assignment of a product to multiple categories easier.</notes><authors><author><name>Anatoly A. Kazantsev</name><user>anatoly</user><email>anatoly@mventory.com</email></author></authors><date>2016-02-08</date><time>3:39:22</time><compatible></compatible><dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies><contents><target name="mage"><dir name="js"><dir name="jquery"><file name="jquery-min.js" hash="baae1db8cca4abb2265b0a6e01f1beed"/><file name="jquery-ui-custom-min.js" hash="e37cbc707c78240780a5ce641f476eb3"/></dir><dir name="mventory"><file name="matching.js" hash="2a3d6d34c60aee3f0efe94ff96fd67fc"/></dir></dir><dir name="var"><dir name="connect"><file name="MVentory_API.xml" hash="da16fa4c396c5da070270de40212966d"/></dir></dir><dir name="app"><dir name="design"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="mventory.xml" hash="902a95b8b78acdf528e13993eb6f5030"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="mventory.xml" hash="46b4a123593ad761f3521d5b2d4f71bb"/></dir><dir name="template"><dir name="mventory"><file name="element.phtml" hash="cb233713a0e550b2165280231c24360f"/><file name="matching.phtml" hash="8ea9c645ab56cf781c20394cb70404ba"/><file name="metadata.phtml" hash="29d84bb98175c7ca358e68f49cffa8f3"/><dir name="matching"><file name="categories.phtml" hash="ab29d30352987276065b9e933acd3fcc"/></dir><dir name="customer"><dir name="edit"><file name="js.phtml" hash="36e6fba58aa4eff02bc57e2a1d628d79"/></dir></dir><dir name="config"><file name="build-info.phtml" hash="5ac77e1eb88cf6a61c919461a5f7535a"/></dir></dir></dir></dir></dir></dir></dir><dir name="code"><dir name="community"><dir name="MVentory"><dir name="API"><dir name="controllers"><file name="AppController.php" hash="d4ab9585f3853ec17a197aff505be7c5"/><file name="DropboxController.php" hash="e01cffec132c9ef06fdcc383d6f032ad"/><file name="ImageController.php" hash="deb5c8227a982e8a328479aa88e8f088"/><file name="QrController.php" hash="1678dcc58be2ebcb554e7dc0e7c26d80"/><file name="SwitchController.php" hash="1a00ad2aae0845faea5dbe1475e84d8f"/><dir name="Mventory"><file name="CarriersController.php" hash="01eaded7d5657734ad369dd5896a49b0"/><file name="CustomerController.php" hash="ce8499f6debad3df37bc576844f11b2b"/><file name="LogsController.php" hash="d43b0317cc5b35c360aefb7538b5ba43"/><file name="MatchingController.php" hash="5636dc831558cfa4328822f56c9eab6f"/><dir name="Catalog"><file name="ProductController.php" hash="4790e3b3d72699faf5e0c41106cb5aae"/></dir></dir></dir><dir name="Block"><file name="Matching.php" hash="6ed6bbce33870acf34a313c590707dc0"/><file name="Metadata.php" hash="4b68a44b1f064093ac94722c40c7c651"/><dir name="Setting"><file name="Buildinfo.php" hash="87e71b9cd02e61dff260609be485ca54"/><file name="Fieldset.php" hash="5b5a717192210b9726e5e86ee75949d9"/></dir><dir name="Matching"><file name="Categories.php" hash="e5ffc5a02aa37a43d90079c66eace63b"/></dir><dir name="Carrier"><dir name="Volumerate"><file name="Grid.php" hash="182f5a1eb264ec7648aae468d5faef99"/></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Exportrates.php" hash="ddf0f8e341ac369f17769eb0b627a2c7"/><file name="Imgcliplog.php" hash="30f64331eab18977ec25c41f3565466c"/><file name="Template.php" hash="e018ed53db7aa3d794a93f59be837518"/></dir></dir></dir></dir></dir><dir name="data"><dir name="mventory_setup"><file name="data-upgrade-20-21.php" hash="ab6622b831fc5a806d780eff2eacf75b"/><file name="data-upgrade-23-24.php" hash="9d5bd2a2745585d814d3b203008ef2ad"/><file name="data-upgrade-27-28.php" hash="6b63835702467615f932f6fbac78e97d"/><file name="data-upgrade-28-29.php" hash="db2ca19d3162d377bd1927a22f2b6be0"/></dir></dir><dir name="Helper"><file name="Barcode.php" hash="57de68928ed6da93a02a044bf9f93f86"/><file name="Data.php" hash="bff33fc3ef5c305ab13030eb5acebd2f"/><file name="Image.php" hash="cb931b138f4c90f7f52cf8303ecb6aa2"/><file name="Imageclipper.php" hash="08d96954626102448011dfdcccbccf78"/><file name="Product.php" hash="7200352ec5501528d1a8f1e9db00c65d"/><file name="String.php" hash="258c2000ce8feb070211e04816e903e3"/><dir name="Mage"><dir name="Sales"><file name="Data.php" hash="84fbc100be8baa83e5dbb5fcecccbd6b"/></dir></dir><dir name="Product"><file name="Attribute.php" hash="130bee848a2d12bc75ed07383d15c190"/><file name="Configurable.php" hash="5f5eadcb33883752a56ad306fadf32dd"/></dir></dir><dir name="sql"><dir name="mventory_setup"><file name="install-3.php" hash="7514f77abff39b3d359a59978784e275"/><file name="upgrade-10-11.php" hash="fb312c3621c87f7b2222ba56e3f83fb9"/><file name="upgrade-12-13.php" hash="aefb35e0871eafd84864f8052ff21423"/><file name="upgrade-17-18.php" hash="a06e899380dd85a175b331fe5b52f324"/><file name="upgrade-18-19.php" hash="00113090ec00f2385c78d28464871c46"/><file name="upgrade-20-21.php" hash="27d45b15f3ba21df99cd90a3750f9c79"/><file name="upgrade-21-22.php" hash="e882fef187fa158587a4451bfced7e45"/><file name="upgrade-22-23.php" hash="e67150b521f86d35027fcafcf3d6000b"/><file name="upgrade-24-25.php" hash="ef3e432929a236bed6ef0d9c19ca3db5"/><file name="upgrade-25-26.php" hash="e134738e9a55fc1691a38b5eb4cbe73e"/><file name="upgrade-26-27.php" hash="fb5e01ee89497e99426f816240791d4a"/><file name="upgrade-3-4.php" hash="9f04a747fe387598a2871cdc8c9caf87"/><file name="upgrade-8-9.php" hash="0e3e3bb76a0cd039910bf17f2956285f"/><file name="upgrade-9-10.php" hash="05ccf6ee0b530dc5bf63b5fe0bc8f044"/></dir></dir><dir name="Model"><file name="Config.php" hash="093a3ce94560ab56af1288e2b9ed3248"/><file name="Matching.php" hash="70eb93aa9425e5f3b15866288b64f769"/><file name="Observer.php" hash="13a120855a6cf9a799cbdf2e5a2a57d2"/><file name="Payment.php" hash="d2745860dfb2eca1adbc0f7b3de6fbfc"/><file name="Shipping.php" hash="043c9d12eebdff5016b84e4d86cc1e77"/><dir name="Setting"><dir name="Backend"><file name="Backupdir.php" hash="3e6f19697fbaae8b03961680524f0964"/><file name="Dbxpath.php" hash="cd9272381487b8a599a63cfe123d57b7"/></dir></dir><dir name="Dataflow"><file name="Api.php" hash="bfb1829343503354daf9db216f313976"/></dir><dir name="Category"><file name="Api.php" hash="9628dc59a845bc36a80a490ee808c338"/></dir><dir name="Carrier"><file name="Volumerate.php" hash="609709fdded050a3ac4204464ef6d922"/></dir><dir name="Stock"><dir name="Item"><file name="Api.php" hash="64473e1600fd51600853eddee75d598e"/></dir></dir><dir name="Config"><dir name="Data"><file name="Websites.php" hash="a7314efd0ca3c6adc8594893c64555aa"/></dir></dir><dir name="System"><dir name="Config"><dir name="Backend"><dir name="Carrier"><file name="Volumerate.php" hash="2010718655ff39b4559a369403074fa4"/></dir></dir><dir name="Source"><file name="Allowedshippingtypes.php" hash="d2a6259b9278242d3acf8a0c4f34c763"/><file name="Contenttype.php" hash="e91f6a1a495f1a19e1875fbde4ed5aac"/><file name="Customers.php" hash="b3e615aa64cce43d1bb4cadbe41c2ee7"/><file name="Inputmethod.php" hash="0cdc2b42456faeffd2b86481d2a04940"/><file name="Visibility.php" hash="22a8599fb6867d2fe5887f2f9b0246cb"/><file name="Website.php" hash="b8ea07d8f5c82df42c7f0b9be950bb0e"/></dir></dir></dir><dir name="Product"><file name="Action.php" hash="6cb738d6a133a99d0004cad23fed84e5"/><file name="Api.php" hash="cf529699ca985ff88cca42b91e1a6d8b"/><dir name="Attribute"><file name="Api.php" hash="f6c53d7a8988119f2f57bfce34dfd1d2"/><dir name="Set"><file name="Api.php" hash="112da5255f9e73b0bc715bccf5c6103f"/></dir><dir name="Media"><file name="Api.php" hash="ddc699334a2d8e168de814b9a2073876"/></dir></dir></dir><dir name="Resource"><file name="Matching.php" hash="790d70f09cc175f643eccdfff754d92c"/><file name="Product.php" hash="e04d66d258b01579e4e6301a01f70771"/><file name="Setup.php" hash="5ce8cb51734c03b947d37a0eff1b7117"/><file name="Sku.php" hash="21379417a6a30c33f74f0a5ffbdfbac7"/><dir name="Carrier"><file name="Volumerate.php" hash="6763c1a02ff9750fd5d8eca703da05dd"/><dir name="Volumerate"><file name="Collection.php" hash="a5e5852a7d58fa31cb49ef7e4c1e38cf"/></dir></dir><dir name="Product"><file name="Collection.php" hash="5e09f3e940fa105aecb8a74bdde295ac"/></dir><dir name="Cart"><file name="Item.php" hash="3e1cbab71c91eca69f225668d55f3d0d"/></dir><dir name="Entity"><file name="Attribute.php" hash="14461aa0ae2e032b9efb16ebf23096af"/></dir><dir name="Order"><file name="Transaction.php" hash="16b62fc85e4b68443941c8212054cce7"/></dir></dir><dir name="Cart"><file name="Api.php" hash="ad1f00db94427ebae92202f1b51ca28f"/><file name="Item.php" hash="84ad9830e7e50a55e28fcd4105521a91"/><dir name="Payment"><file name="Api.php" hash="b9253dd46ee980e322d10be6b7b0ffd7"/></dir></dir><dir name="Order"><file name="Api.php" hash="3d65404a24ab282eee8764d0c77ccaa3"/><file name="Transaction.php" hash="0666f26f229b11f30a1db2dfd6e1bf77"/><dir name="Shipment"><file name="Api.php" hash="f7ac72e14810d9af0ab1f876b57e00b9"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="bceda356fa43b9f5bfc7ab0ea91bafca"/><file name="api.xml" hash="e69c9b6a59cb2bcd4324b53d43bd7440"/><file name="config.xml" hash="2ae5913b9fac82ee527fc406631aaaa7"/><file name="system.xml" hash="16d4a80c430b1aed4575e037d9c859e4"/></dir></dir></dir><dir name="Hackathon"><dir name="PSR0Autoloader"><dir name="Model"><file name="Observer.php" hash="27ff6168c7057b3d116915c50e34c0a6"/><file name="SplAutoloader.php" hash="ca80992ff765e7fa88c507976205f7e2"/></dir><dir name="etc"><file name="config.xml" hash="4b76d9de1d114e8bf5dfef6fae75d973"/></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="Hackathon_PSR0Autoloader.xml" hash="87095bbf80d16f7e97304317761690dd"/><file name="MVentory_API.xml" hash="3002a36d0a49a782ead45dc5bf2d885a"/></dir></dir></dir><dir name="lib"><dir name="Dropbox"><file name="AppInfo.php" hash="b08006228ca38ac11c1a431646536ad9"/><file name="AppInfoLoadException.php" hash="06360c81e5ceafe6d029a72e0d38a58a"/><file name="ArrayEntryStore.php" hash="abfcab905705695de35004a314b05ec0"/><file name="AuthBase.php" hash="b0ac3fdae57cb61152d0f60066cd1e77"/><file name="AuthInfo.php" hash="3166cd194c72d1951d80bb1f7cc572f8"/><file name="AuthInfoLoadException.php" hash="4435a95cc3ad35471b1491834d3462f2"/><file name="Checker.php" hash="7433c56c1a9b53f918a5ad66d3844caf"/><file name="Client.php" hash="1c8fbbf62477bfba8ba7892f624604ef"/><file name="Curl.php" hash="9ff4836a05237b7990eac9a16a6a97ff"/><file name="CurlStreamRelay.php" hash="99b9d4b311110bbef6455cc3769585fc"/><file name="DeserializeException.php" hash="bb74de5ce4ad24ed03efabe52604a300"/><file name="DropboxMetadataHeaderCatcher.php" hash="608e493bbc560cb5d89804b831b38c43"/><file name="Exception.php" hash="1c55eda1bc2e9fb753c1f8f32b95c2e9"/><file name="Host.php" hash="c46c786726fc59c890ee2e588a7c3af6"/><file name="HttpResponse.php" hash="5cb98bfbaac3e48ffb7f1fe4ecab400c"/><file name="OAuth1AccessToken.php" hash="25ed61cb959c4446ec79552a4ce7fa77"/><file name="OAuth1Upgrader.php" hash="f3bc2125746d19bc99c0f4d8887ea3e6"/><file name="Path.php" hash="242a8243ee9f66281058979922e76c7f"/><file name="RequestUtil.php" hash="34e02972f318c99d1a2247bcbb5eeda7"/><file name="SSLTester.php" hash="2aba98547a9915608073438f6370fd15"/><file name="Security.php" hash="252e63a1a377935aa1ef3e40405d3412"/><file name="StreamReadException.php" hash="464bfb0fc75beef2b73e0c5192d0a061"/><file name="ValueStore.php" hash="c932c52f15d67c01a6e3c841f82306dd"/><file name="WebAuth.php" hash="e9e971b77ffc60544a2d9f10a5940eaf"/><file name="WebAuthBase.php" hash="1128a83bbf693e528e68a3c3893aef4f"/><file name="WebAuthNoRedirect.php" hash="87f2494ed95142f7a7e4c968fbb3e09e"/><file name="WriteMode.php" hash="22a3b70bf74feae770e4aa94915a1b1a"/><file name="app-info.json" hash="418aafd4a85212f6b96a1d180c2fd053"/><file name="autoload.php" hash="55bd4af009c75821e0416f33ef5e5fab"/><file name="strict.php" hash="b39f6f3228a1a499ac88ada9ec57ebfd"/><dir name="Exception"><file name="BadRequest.php" hash="5f0ae16a2d28c26bc66ed2e43ac8b4e1"/><file name="BadResponse.php" hash="c534a78bd9436b3ae6130bfbbdf7b8da"/><file name="BadResponseCode.php" hash="9720559b39e522a3acb6a9986b68c711"/><file name="InvalidAccessToken.php" hash="d2106a45d6366d7060d351e89fa738ed"/><file name="NetworkIO.php" hash="1278b1d756b43912f9083985df756305"/><file name="ProtocolError.php" hash="c99f595645d9fba2ddcec415483ea3af"/><file name="RetryLater.php" hash="b3d88a95ffd772f94838ab03c479f6a7"/><file name="ServerError.php" hash="ed7f0cb2dd114e9f60cf12acece68611"/></dir><dir name="certs"><file name="trusted-certs.crt" hash="847f0dc12cc8ddee1969a3ec857facb6"/></dir><dir name="WebAuthException"><file name="BadRequest.php" hash="8b2e77ef6128b2b96c20ec0847c5812b"/><file name="BadState.php" hash="039a2e21cac09f89ab6090e4f9648241"/><file name="Csrf.php" hash="3e2f878255c5366cabcc2880a7c97586"/><file name="NotApproved.php" hash="5d5db96ad13433a081a0db5dcb6d9412"/><file name="Provider.php" hash="5cf549587d95873cfb4a8e96f98d0534"/></dir></dir></dir><dir name="skin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="mventory"><dir name="css"><file name="styles.css" hash="f601b571e9b565d5d78a8de48c56038d"/></dir></dir></dir></dir></dir></dir></target></contents></package>
1
  <?xml version="1.0"?>
2
+ <package><name>MVentory_API</name><version>1.6.1</version><stability>stable</stability><license>CC BY-NC-ND 4.0</license><channel>community</channel><extends></extends><summary>The easiest way to sell online: PoS, Inventory and Website control in one elegant Android application.</summary><description>mVentory is an Android application for efficient management of Magento stores. This extension provides additional API functionality and is required for the app to connect to your Magento website.
3
 
4
 
5
 
49
 
50
  The extension is free for non-commercial or trial use. Please, request a FREE commercial license from info@mventory.com
51
 
52
+ Visit http://mventory.com for more info.</description><notes>* Fix the bug which prevents another users of Magento API to send order emails</notes><authors><author><name>Anatoly A. Kazantsev</name><user>anatoly</user><email>anatoly@mventory.com</email></author></authors><date>2016-03-13</date><time>19:06:14</time><compatible></compatible><dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies><contents><target name="mage"><dir name="js"><dir name="jquery"><file name="jquery-min.js" hash="baae1db8cca4abb2265b0a6e01f1beed"/><file name="jquery-ui-custom-min.js" hash="e37cbc707c78240780a5ce641f476eb3"/></dir><dir name="mventory"><file name="matching.js" hash="2a3d6d34c60aee3f0efe94ff96fd67fc"/></dir></dir><dir name="var"><dir name="connect"><file name="MVentory_API.xml" hash="1d497b98fa597e9455a22ce241556d11"/></dir></dir><dir name="app"><dir name="design"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="mventory.xml" hash="902a95b8b78acdf528e13993eb6f5030"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="mventory.xml" hash="46b4a123593ad761f3521d5b2d4f71bb"/></dir><dir name="template"><dir name="mventory"><file name="element.phtml" hash="cb233713a0e550b2165280231c24360f"/><file name="matching.phtml" hash="8ea9c645ab56cf781c20394cb70404ba"/><file name="metadata.phtml" hash="29d84bb98175c7ca358e68f49cffa8f3"/><dir name="matching"><file name="categories.phtml" hash="ab29d30352987276065b9e933acd3fcc"/></dir><dir name="customer"><dir name="edit"><file name="js.phtml" hash="36e6fba58aa4eff02bc57e2a1d628d79"/></dir></dir><dir name="config"><file name="build-info.phtml" hash="855149220f69f7e40c137210b8b76056"/></dir></dir></dir></dir></dir></dir></dir><dir name="code"><dir name="community"><dir name="MVentory"><dir name="API"><dir name="controllers"><file name="AppController.php" hash="d4ab9585f3853ec17a197aff505be7c5"/><file name="DropboxController.php" hash="e01cffec132c9ef06fdcc383d6f032ad"/><file name="ImageController.php" hash="deb5c8227a982e8a328479aa88e8f088"/><file name="QrController.php" hash="1678dcc58be2ebcb554e7dc0e7c26d80"/><file name="SwitchController.php" hash="1a00ad2aae0845faea5dbe1475e84d8f"/><dir name="Mventory"><file name="CarriersController.php" hash="01eaded7d5657734ad369dd5896a49b0"/><file name="CustomerController.php" hash="ce8499f6debad3df37bc576844f11b2b"/><file name="LogsController.php" hash="d43b0317cc5b35c360aefb7538b5ba43"/><file name="MatchingController.php" hash="5636dc831558cfa4328822f56c9eab6f"/><dir name="Catalog"><file name="ProductController.php" hash="4790e3b3d72699faf5e0c41106cb5aae"/></dir></dir></dir><dir name="Block"><file name="Matching.php" hash="6ed6bbce33870acf34a313c590707dc0"/><file name="Metadata.php" hash="4b68a44b1f064093ac94722c40c7c651"/><dir name="Setting"><file name="Buildinfo.php" hash="87e71b9cd02e61dff260609be485ca54"/><file name="Fieldset.php" hash="5b5a717192210b9726e5e86ee75949d9"/></dir><dir name="Matching"><file name="Categories.php" hash="e5ffc5a02aa37a43d90079c66eace63b"/></dir><dir name="Carrier"><dir name="Volumerate"><file name="Grid.php" hash="182f5a1eb264ec7648aae468d5faef99"/></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Exportrates.php" hash="ddf0f8e341ac369f17769eb0b627a2c7"/><file name="Imgcliplog.php" hash="30f64331eab18977ec25c41f3565466c"/><file name="Template.php" hash="e018ed53db7aa3d794a93f59be837518"/></dir></dir></dir></dir></dir><dir name="data"><dir name="mventory_setup"><file name="data-upgrade-20-21.php" hash="ab6622b831fc5a806d780eff2eacf75b"/><file name="data-upgrade-23-24.php" hash="9d5bd2a2745585d814d3b203008ef2ad"/><file name="data-upgrade-27-28.php" hash="6b63835702467615f932f6fbac78e97d"/><file name="data-upgrade-28-29.php" hash="db2ca19d3162d377bd1927a22f2b6be0"/></dir></dir><dir name="Helper"><file name="Barcode.php" hash="57de68928ed6da93a02a044bf9f93f86"/><file name="Data.php" hash="bff33fc3ef5c305ab13030eb5acebd2f"/><file name="Image.php" hash="cb931b138f4c90f7f52cf8303ecb6aa2"/><file name="Imageclipper.php" hash="08d96954626102448011dfdcccbccf78"/><file name="Product.php" hash="7200352ec5501528d1a8f1e9db00c65d"/><file name="String.php" hash="258c2000ce8feb070211e04816e903e3"/><dir name="Mage"><dir name="Sales"><file name="Data.php" hash="1f5c06409fbc03d1c0a865d8f66eb3ad"/></dir></dir><dir name="Product"><file name="Attribute.php" hash="130bee848a2d12bc75ed07383d15c190"/><file name="Configurable.php" hash="5f5eadcb33883752a56ad306fadf32dd"/></dir></dir><dir name="sql"><dir name="mventory_setup"><file name="install-3.php" hash="7514f77abff39b3d359a59978784e275"/><file name="upgrade-10-11.php" hash="fb312c3621c87f7b2222ba56e3f83fb9"/><file name="upgrade-12-13.php" hash="aefb35e0871eafd84864f8052ff21423"/><file name="upgrade-17-18.php" hash="a06e899380dd85a175b331fe5b52f324"/><file name="upgrade-18-19.php" hash="00113090ec00f2385c78d28464871c46"/><file name="upgrade-20-21.php" hash="27d45b15f3ba21df99cd90a3750f9c79"/><file name="upgrade-21-22.php" hash="e882fef187fa158587a4451bfced7e45"/><file name="upgrade-22-23.php" hash="e67150b521f86d35027fcafcf3d6000b"/><file name="upgrade-24-25.php" hash="ef3e432929a236bed6ef0d9c19ca3db5"/><file name="upgrade-25-26.php" hash="e134738e9a55fc1691a38b5eb4cbe73e"/><file name="upgrade-26-27.php" hash="fb5e01ee89497e99426f816240791d4a"/><file name="upgrade-3-4.php" hash="9f04a747fe387598a2871cdc8c9caf87"/><file name="upgrade-8-9.php" hash="0e3e3bb76a0cd039910bf17f2956285f"/><file name="upgrade-9-10.php" hash="05ccf6ee0b530dc5bf63b5fe0bc8f044"/></dir></dir><dir name="Model"><file name="Config.php" hash="0699aeb9dca50e6cd06a6e6ea1621211"/><file name="Matching.php" hash="70eb93aa9425e5f3b15866288b64f769"/><file name="Observer.php" hash="13a120855a6cf9a799cbdf2e5a2a57d2"/><file name="Payment.php" hash="d2745860dfb2eca1adbc0f7b3de6fbfc"/><file name="Shipping.php" hash="043c9d12eebdff5016b84e4d86cc1e77"/><dir name="Setting"><dir name="Backend"><file name="Backupdir.php" hash="3e6f19697fbaae8b03961680524f0964"/><file name="Dbxpath.php" hash="cd9272381487b8a599a63cfe123d57b7"/></dir></dir><dir name="Dataflow"><file name="Api.php" hash="bfb1829343503354daf9db216f313976"/></dir><dir name="Category"><file name="Api.php" hash="9628dc59a845bc36a80a490ee808c338"/></dir><dir name="Carrier"><file name="Volumerate.php" hash="609709fdded050a3ac4204464ef6d922"/></dir><dir name="Stock"><dir name="Item"><file name="Api.php" hash="64473e1600fd51600853eddee75d598e"/></dir></dir><dir name="Config"><dir name="Data"><file name="Websites.php" hash="a7314efd0ca3c6adc8594893c64555aa"/></dir></dir><dir name="System"><dir name="Config"><dir name="Backend"><dir name="Carrier"><file name="Volumerate.php" hash="2010718655ff39b4559a369403074fa4"/></dir></dir><dir name="Source"><file name="Allowedshippingtypes.php" hash="d2a6259b9278242d3acf8a0c4f34c763"/><file name="Contenttype.php" hash="e91f6a1a495f1a19e1875fbde4ed5aac"/><file name="Customers.php" hash="b3e615aa64cce43d1bb4cadbe41c2ee7"/><file name="Inputmethod.php" hash="0cdc2b42456faeffd2b86481d2a04940"/><file name="Visibility.php" hash="22a8599fb6867d2fe5887f2f9b0246cb"/><file name="Website.php" hash="b8ea07d8f5c82df42c7f0b9be950bb0e"/></dir></dir></dir><dir name="Product"><file name="Action.php" hash="6cb738d6a133a99d0004cad23fed84e5"/><file name="Api.php" hash="cf529699ca985ff88cca42b91e1a6d8b"/><dir name="Attribute"><file name="Api.php" hash="f6c53d7a8988119f2f57bfce34dfd1d2"/><dir name="Set"><file name="Api.php" hash="112da5255f9e73b0bc715bccf5c6103f"/></dir><dir name="Media"><file name="Api.php" hash="ddc699334a2d8e168de814b9a2073876"/></dir></dir></dir><dir name="Resource"><file name="Matching.php" hash="790d70f09cc175f643eccdfff754d92c"/><file name="Product.php" hash="e04d66d258b01579e4e6301a01f70771"/><file name="Setup.php" hash="5ce8cb51734c03b947d37a0eff1b7117"/><file name="Sku.php" hash="21379417a6a30c33f74f0a5ffbdfbac7"/><dir name="Carrier"><file name="Volumerate.php" hash="6763c1a02ff9750fd5d8eca703da05dd"/><dir name="Volumerate"><file name="Collection.php" hash="a5e5852a7d58fa31cb49ef7e4c1e38cf"/></dir></dir><dir name="Product"><file name="Collection.php" hash="5e09f3e940fa105aecb8a74bdde295ac"/></dir><dir name="Cart"><file name="Item.php" hash="3e1cbab71c91eca69f225668d55f3d0d"/></dir><dir name="Entity"><file name="Attribute.php" hash="14461aa0ae2e032b9efb16ebf23096af"/></dir><dir name="Order"><file name="Transaction.php" hash="16b62fc85e4b68443941c8212054cce7"/></dir></dir><dir name="Cart"><file name="Api.php" hash="8cc90a51be56da5fdb5e962b3f65d3e5"/><file name="Item.php" hash="84ad9830e7e50a55e28fcd4105521a91"/><dir name="Payment"><file name="Api.php" hash="b9253dd46ee980e322d10be6b7b0ffd7"/></dir></dir><dir name="Order"><file name="Api.php" hash="3d65404a24ab282eee8764d0c77ccaa3"/><file name="Transaction.php" hash="0666f26f229b11f30a1db2dfd6e1bf77"/><dir name="Shipment"><file name="Api.php" hash="f7ac72e14810d9af0ab1f876b57e00b9"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="bceda356fa43b9f5bfc7ab0ea91bafca"/><file name="api.xml" hash="e69c9b6a59cb2bcd4324b53d43bd7440"/><file name="config.xml" hash="2ae5913b9fac82ee527fc406631aaaa7"/><file name="system.xml" hash="16d4a80c430b1aed4575e037d9c859e4"/></dir></dir></dir><dir name="Hackathon"><dir name="PSR0Autoloader"><dir name="Model"><file name="Observer.php" hash="27ff6168c7057b3d116915c50e34c0a6"/><file name="SplAutoloader.php" hash="ca80992ff765e7fa88c507976205f7e2"/></dir><dir name="etc"><file name="config.xml" hash="4b76d9de1d114e8bf5dfef6fae75d973"/></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="Hackathon_PSR0Autoloader.xml" hash="87095bbf80d16f7e97304317761690dd"/><file name="MVentory_API.xml" hash="3002a36d0a49a782ead45dc5bf2d885a"/></dir></dir></dir><dir name="lib"><dir name="Dropbox"><file name="AppInfo.php" hash="b08006228ca38ac11c1a431646536ad9"/><file name="AppInfoLoadException.php" hash="06360c81e5ceafe6d029a72e0d38a58a"/><file name="ArrayEntryStore.php" hash="abfcab905705695de35004a314b05ec0"/><file name="AuthBase.php" hash="b0ac3fdae57cb61152d0f60066cd1e77"/><file name="AuthInfo.php" hash="3166cd194c72d1951d80bb1f7cc572f8"/><file name="AuthInfoLoadException.php" hash="4435a95cc3ad35471b1491834d3462f2"/><file name="Checker.php" hash="7433c56c1a9b53f918a5ad66d3844caf"/><file name="Client.php" hash="1c8fbbf62477bfba8ba7892f624604ef"/><file name="Curl.php" hash="9ff4836a05237b7990eac9a16a6a97ff"/><file name="CurlStreamRelay.php" hash="99b9d4b311110bbef6455cc3769585fc"/><file name="DeserializeException.php" hash="bb74de5ce4ad24ed03efabe52604a300"/><file name="DropboxMetadataHeaderCatcher.php" hash="608e493bbc560cb5d89804b831b38c43"/><file name="Exception.php" hash="1c55eda1bc2e9fb753c1f8f32b95c2e9"/><file name="Host.php" hash="c46c786726fc59c890ee2e588a7c3af6"/><file name="HttpResponse.php" hash="5cb98bfbaac3e48ffb7f1fe4ecab400c"/><file name="OAuth1AccessToken.php" hash="25ed61cb959c4446ec79552a4ce7fa77"/><file name="OAuth1Upgrader.php" hash="f3bc2125746d19bc99c0f4d8887ea3e6"/><file name="Path.php" hash="242a8243ee9f66281058979922e76c7f"/><file name="RequestUtil.php" hash="34e02972f318c99d1a2247bcbb5eeda7"/><file name="SSLTester.php" hash="2aba98547a9915608073438f6370fd15"/><file name="Security.php" hash="252e63a1a377935aa1ef3e40405d3412"/><file name="StreamReadException.php" hash="464bfb0fc75beef2b73e0c5192d0a061"/><file name="ValueStore.php" hash="c932c52f15d67c01a6e3c841f82306dd"/><file name="WebAuth.php" hash="e9e971b77ffc60544a2d9f10a5940eaf"/><file name="WebAuthBase.php" hash="1128a83bbf693e528e68a3c3893aef4f"/><file name="WebAuthNoRedirect.php" hash="87f2494ed95142f7a7e4c968fbb3e09e"/><file name="WriteMode.php" hash="22a3b70bf74feae770e4aa94915a1b1a"/><file name="app-info.json" hash="418aafd4a85212f6b96a1d180c2fd053"/><file name="autoload.php" hash="55bd4af009c75821e0416f33ef5e5fab"/><file name="strict.php" hash="b39f6f3228a1a499ac88ada9ec57ebfd"/><dir name="Exception"><file name="BadRequest.php" hash="5f0ae16a2d28c26bc66ed2e43ac8b4e1"/><file name="BadResponse.php" hash="c534a78bd9436b3ae6130bfbbdf7b8da"/><file name="BadResponseCode.php" hash="9720559b39e522a3acb6a9986b68c711"/><file name="InvalidAccessToken.php" hash="d2106a45d6366d7060d351e89fa738ed"/><file name="NetworkIO.php" hash="1278b1d756b43912f9083985df756305"/><file name="ProtocolError.php" hash="c99f595645d9fba2ddcec415483ea3af"/><file name="RetryLater.php" hash="b3d88a95ffd772f94838ab03c479f6a7"/><file name="ServerError.php" hash="ed7f0cb2dd114e9f60cf12acece68611"/></dir><dir name="certs"><file name="trusted-certs.crt" hash="847f0dc12cc8ddee1969a3ec857facb6"/></dir><dir name="WebAuthException"><file name="BadRequest.php" hash="8b2e77ef6128b2b96c20ec0847c5812b"/><file name="BadState.php" hash="039a2e21cac09f89ab6090e4f9648241"/><file name="Csrf.php" hash="3e2f878255c5366cabcc2880a7c97586"/><file name="NotApproved.php" hash="5d5db96ad13433a081a0db5dcb6d9412"/><file name="Provider.php" hash="5cf549587d95873cfb4a8e96f98d0534"/></dir></dir></dir><dir name="skin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="mventory"><dir name="css"><file name="styles.css" hash="f601b571e9b565d5d78a8de48c56038d"/></dir></dir></dir></dir></dir></dir></target></contents></package>
 
 
 
 
 
 
var/connect/MVentory_API.xml CHANGED
@@ -35,15 +35,9 @@ The extension is free for non-commercial or trial use. Please, request a FREE co
35
  Visit http://mventory.com for more info.</description>
36
  <license>CC BY-NC-ND 4.0</license>
37
  <license_uri>http://creativecommons.org/licenses/by-nc-nd/4.0/</license_uri>
38
- <version>1.6.0</version>
39
  <stability>stable</stability>
40
- <notes>* Bug fixes and refactoring
41
- * Image Review moved into separate extension
42
- * Compatibility with SUPEE-6788
43
- * Allow category matching based on yes/no attributes
44
-
45
- Note: Category matching has changed. All rules that match will be applied to mak
46
- assignment of a product to multiple categories easier.</notes>
47
  <authors>
48
  <name>
49
  <name>Anatoly A. Kazantsev</name>
35
  Visit http://mventory.com for more info.</description>
36
  <license>CC BY-NC-ND 4.0</license>
37
  <license_uri>http://creativecommons.org/licenses/by-nc-nd/4.0/</license_uri>
38
+ <version>1.6.1</version>
39
  <stability>stable</stability>
40
+ <notes>* Fix the bug which prevents another users of Magento API to send order emails</notes>
 
 
 
 
 
 
41
  <authors>
42
  <name>
43
  <name>Anatoly A. Kazantsev</name>