zendesk - Version 2.0.1

Version Notes

Embeddables Web Widget - Drop Feedback Tab support

Download this release

Release Info

Developer Jason Smale
Extension zendesk
Version 2.0.1
Comparing to
See all releases


Code changes from version 1.4.3 to 2.0.1

app/code/community/Zendesk/Zendesk/Block/{Supporttab.php → WebWidget.php} RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * Copyright 2012 Zendesk.
4
  *
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
  * you may not use this file except in compliance with the License.
@@ -15,14 +15,14 @@
15
  * limitations under the License.
16
  */
17
 
18
- class Zendesk_Zendesk_Block_Supporttab extends Mage_Core_Block_Template
19
  {
20
  protected function _toHtml()
21
  {
22
- if(!Mage::getStoreConfig('zendesk/frontend_features/feedback_tab_code_active')) {
23
  return '';
24
  }
25
 
26
- return Mage::getStoreConfig('zendesk/frontend_features/feedback_tab_code');
27
  }
28
  }
1
  <?php
2
  /**
3
+ * Copyright 2015 Zendesk.
4
  *
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
  * you may not use this file except in compliance with the License.
15
  * limitations under the License.
16
  */
17
 
18
+ class Zendesk_Zendesk_Block_WebWidget extends Mage_Core_Block_Template
19
  {
20
  protected function _toHtml()
21
  {
22
+ if(!Mage::getStoreConfig('zendesk/frontend_features/web_widget_code_active')) {
23
  return '';
24
  }
25
 
26
+ return Mage::getStoreConfig('zendesk/frontend_features/web_widget_code_snippet');
27
  }
28
  }
app/code/community/Zendesk/Zendesk/Helper/Data.php CHANGED
@@ -224,9 +224,17 @@ class Zendesk_Zendesk_Helper_Data extends Mage_Core_Helper_Abstract
224
 
225
  public function getSupportEmail($store = null)
226
  {
 
227
  $domain = Mage::getStoreConfig('zendesk/general/domain', $store);
228
  $email = 'support@' . $domain;
229
 
 
 
 
 
 
 
 
230
  return $email;
231
  }
232
 
224
 
225
  public function getSupportEmail($store = null)
226
  {
227
+ // Serves as the dafault email
228
  $domain = Mage::getStoreConfig('zendesk/general/domain', $store);
229
  $email = 'support@' . $domain;
230
 
231
+ // Get the actual default email from the API, return the default if somehow none is found
232
+ $defaultRecipient = Mage::getModel('zendesk/api_supportaddresses')->getDefault();
233
+
234
+ if (!is_null($defaultRecipient)) {
235
+ $email = $defaultRecipient['email'];
236
+ }
237
+
238
  return $email;
239
  }
240
 
app/code/community/Zendesk/Zendesk/Model/Api/SupportAddresses.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Zendesk_Zendesk_Model_Api_SupportAddresses extends Zendesk_Zendesk_Model_Api_Users
4
+ {
5
+ public function all()
6
+ {
7
+ $page = 1;
8
+ $addresses = array();
9
+
10
+ while ($page) {
11
+ $response = $this->_call('recipient_addresses.json?page=' . $page);
12
+ $addresses = array_merge($addresses, $response['recipient_addresses']);
13
+ $page = is_null($response['next_page']) ? 0 : $page + 1;
14
+ }
15
+
16
+ return $addresses;
17
+ }
18
+
19
+ /**
20
+ * Gets the default support address.
21
+ * @return array The default support address email.
22
+ */
23
+ public function getDefault()
24
+ {
25
+ $address = null;
26
+
27
+ foreach ($this->all() as $recipient_address) {
28
+ if ($recipient_address['default']) {
29
+ $address = $recipient_address;
30
+ break;
31
+ }
32
+ }
33
+
34
+ return $address;
35
+ }
36
+ }
app/code/community/Zendesk/Zendesk/Model/Observer.php CHANGED
@@ -97,6 +97,23 @@ class Zendesk_Zendesk_Model_Observer
97
  Mage::getModel('core/config')->saveConfig('contacts/email/recipient_email', $oldEmail, $scope, $scopeId);
98
  }
99
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
100
  }
101
 
102
  public function addTicketButton(Varien_Event_Observer $event)
97
  Mage::getModel('core/config')->saveConfig('contacts/email/recipient_email', $oldEmail, $scope, $scopeId);
98
  }
99
  }
100
+
101
+ // If the zendesk domain is not found in the web widget snippet (wrapped with quotes), generate it again
102
+ $zDomain = Mage::getStoreConfig('zendesk/general/domain', $storeCode);
103
+ $widgetSnippet = Mage::getStoreConfig('zendesk/frontend_features/web_widget_code_snippet', $storeCode);
104
+ // Case insensitive search with single and double quotes, still better performance than 1 regexp search
105
+ if($zDomain && stripos($widgetSnippet, "'{$zDomain}'") === false && stripos($widgetSnippet, '"'.$zDomain.'"') === false) {
106
+ $webWidgetSnippet=<<<EOJS
107
+ <!-- Start of Zendesk Widget script -->
108
+ <script>/*<![CDATA[*/window.zEmbed||function(e,t){var n,o,d,i,s,a=[],r=document.createElement("iframe");window.zEmbed=function(){a.push(arguments)},window.zE=window.zE||window.zEmbed,r.src="javascript:false",r.title="",r.role="presentation",(r.frameElement||r).style.cssText="display: none",d=document.getElementsByTagName("script"),d=d[d.length-1],d.parentNode.insertBefore(r,d),i=r.contentWindow,s=i.document;try{o=s}catch(c){n=document.domain,r.src='javascript:var d=document.open();d.domain="'+n+'";void(0);',o=s}o.open()._l=function(){var o=this.createElement("script");n&&(this.domain=n),o.id="js-iframe-async",o.src=e,this.t=+new Date,this.zendeskHost=t,this.zEQueue=a,this.body.appendChild(o)},o.write('<body onload="document._l();">'),o.close()}("//assets.zendesk.com/embeddable_framework/main.js","{$zDomain}");/*]]>*/</script>
109
+ <!-- End of Zendesk Widget script -->
110
+ EOJS;
111
+
112
+ Mage::getModel('core/config')->saveConfig('zendesk/frontend_features/web_widget_code_active', 1);
113
+ Mage::getModel('core/config')->saveConfig('zendesk/frontend_features/web_widget_code_snippet', $webWidgetSnippet);
114
+ } elseif (empty($zDomain)) {
115
+ Mage::getModel('core/config')->saveConfig('zendesk/frontend_features/web_widget_code_snippet', '');
116
+ }
117
  }
118
 
119
  public function addTicketButton(Varien_Event_Observer $event)
app/code/community/Zendesk/Zendesk/controllers/ApiController.php CHANGED
@@ -367,12 +367,12 @@ class Zendesk_Zendesk_ApiController extends Mage_Core_Controller_Front_Action
367
  }
368
  }
369
 
370
- if(isset($data['feedback_tab'])) {
371
- $configUpdates['zendesk/frontend_features/feedback_tab_code_active'] = ($data['feedback_tab'] === 'true');
372
  }
373
 
374
- if(isset($data['feedback_tab_html'])) {
375
- $configUpdates['zendesk/frontend_features/feedback_tab_code'] = $data['feedback_tab_html'];
376
  }
377
 
378
 
367
  }
368
  }
369
 
370
+ if(isset($data['web_widget_code_active'])) {
371
+ $configUpdates['zendesk/frontend_features/web_widget_code_active'] = ($data['web_widget_code_active'] === 'true');
372
  }
373
 
374
+ if(isset($data['web_widget_code_snippet'])) {
375
+ $configUpdates['zendesk/frontend_features/web_widget_code_snippet'] = $data['web_widget_code_snippet'];
376
  }
377
 
378
 
app/code/community/Zendesk/Zendesk/data/zendesk_setup/data-upgrade-1.4.2-2.0.0.php ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2015 Zendesk
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+
18
+ /**
19
+ * In version 2.0 we are replacing the deprecated Feedback Tab with the new
20
+ * Embeddables Web Widget.
21
+ * More info: https://www.zendesk.com/embeddables
22
+ *
23
+ * In this data upgrade we are going to drop the Feedback Tab related settings
24
+ * from the database, and inserting the required fields for the Web Widget.
25
+ */
26
+
27
+ $config = new Mage_Core_Model_Config();
28
+
29
+ // We won't need the Feedback Tab code snippet anymore
30
+ $config->deleteConfig('zendesk/frontend_features/feedback_tab_code');
31
+
32
+ // We won't check in our code whether to show or not the Feedback Tab
33
+ $config->deleteConfig('zendesk/frontend_features/feedback_tab_code_active');
34
+
35
+ // Retrieve the domain from the config settings
36
+ $domain = Mage::getStoreConfig('zendesk/general/domain');
37
+
38
+ if($domain) {
39
+ // We are activating the Web Widget by default
40
+ $config->saveConfig('zendesk/frontend_features/web_widget_code_active', 1);
41
+
42
+ // The Web Widget code snippet, using the account zendesk domain from settings
43
+ $webWidgetSnippet=<<<EOJS
44
+ <!-- Start of Zendesk Widget script -->
45
+ <script>/*<![CDATA[*/window.zEmbed||function(e,t){var n,o,d,i,s,a=[],r=document.createElement("iframe");window.zEmbed=function(){a.push(arguments)},window.zE=window.zE||window.zEmbed,r.src="javascript:false",r.title="",r.role="presentation",(r.frameElement||r).style.cssText="display: none",d=document.getElementsByTagName("script"),d=d[d.length-1],d.parentNode.insertBefore(r,d),i=r.contentWindow,s=i.document;try{o=s}catch(c){n=document.domain,r.src='javascript:var d=document.open();d.domain="'+n+'";void(0);',o=s}o.open()._l=function(){var o=this.createElement("script");n&&(this.domain=n),o.id="js-iframe-async",o.src=e,this.t=+new Date,this.zendeskHost=t,this.zEQueue=a,this.body.appendChild(o)},o.write('<body onload="document._l();">'),o.close()}("//assets.zendesk.com/embeddable_framework/main.js","{$domain}");/*]]>*/</script>
46
+ <!-- End of Zendesk Widget script -->
47
+ EOJS;
48
+
49
+ $config->saveConfig('zendesk/frontend_features/web_widget_code_snippet', $webWidgetSnippet);
50
+ } else {
51
+ // There is no domain on the settings, we can't activate the Web Widget
52
+ // The user should probably re-run the Setup from the Zendesk extension settings page
53
+ $config->saveConfig('zendesk/frontend_features/web_widget_code_active', 0);
54
+ $config->saveConfig('zendesk/frontend_features/web_widget_code_snippet', '');
55
+ }
app/code/community/Zendesk/Zendesk/etc/config.xml CHANGED
@@ -19,7 +19,7 @@
19
  <config>
20
  <modules>
21
  <Zendesk_Zendesk>
22
- <version>1.4.3</version>
23
  </Zendesk_Zendesk>
24
  </modules>
25
  <zendesk>
@@ -253,7 +253,7 @@
253
  <customer_sync>0</customer_sync>
254
  </general>
255
  <frontend_features>
256
- <feedback_tab_code_active>0</feedback_tab_code_active>
257
  <contact_us>0</contact_us>
258
  </frontend_features>
259
  <backend_features>
19
  <config>
20
  <modules>
21
  <Zendesk_Zendesk>
22
+ <version>2.0.1</version>
23
  </Zendesk_Zendesk>
24
  </modules>
25
  <zendesk>
253
  <customer_sync>0</customer_sync>
254
  </general>
255
  <frontend_features>
256
+ <web_widget_code_active>0</web_widget_code_active>
257
  <contact_us>0</contact_us>
258
  </frontend_features>
259
  <backend_features>
app/code/community/Zendesk/Zendesk/etc/system.xml CHANGED
@@ -190,7 +190,7 @@
190
  <show_in_default>1</show_in_default>
191
  <show_in_website>1</show_in_website>
192
  <show_in_store>1</show_in_store>
193
- <fields>
194
  <contact_us translate="label">
195
  <label>Create tickets from Contact Us form</label>
196
  <frontend_type>select</frontend_type>
@@ -200,38 +200,25 @@
200
  <show_in_website>1</show_in_website>
201
  <show_in_store>1</show_in_store>
202
  </contact_us>
203
- <feedback_tab_code_active translate="label">
204
- <label>Code to display Feedback Tab</label>
205
  <frontend_type>select</frontend_type>
206
  <source_model>adminhtml/system_config_source_yesno</source_model>
207
  <sort_order>6</sort_order>
208
  <show_in_default>1</show_in_default>
209
  <show_in_website>1</show_in_website>
210
  <show_in_store>1</show_in_store>
211
- </feedback_tab_code_active>
212
- <feedback_tab_code>
213
- <frontend_type>textarea</frontend_type>
214
- <sort_order>7</sort_order>
215
- <show_in_default>1</show_in_default>
216
- <show_in_website>1</show_in_website>
217
- <show_in_store>1</show_in_store>
218
- <depends>
219
- <feedback_tab_code_active>1</feedback_tab_code_active>
220
- </depends>
221
- </feedback_tab_code>
222
- <feedback_tab_customise translate="label value">
223
  <label></label>
224
  <frontend_model>zendesk/adminhtml_config_link</frontend_model>
225
- <destination><![CDATA[account/dropboxes/new]]></destination>
226
- <value>Customize Feedback Tab</value>
227
- <sort_order>8</sort_order>
228
  <show_in_default>1</show_in_default>
229
  <show_in_website>1</show_in_website>
230
  <show_in_store>1</show_in_store>
231
- <depends>
232
- <feedback_tab_code_active>1</feedback_tab_code_active>
233
- </depends>
234
- </feedback_tab_customise>
235
  <footer_link_enabled translate="label">
236
  <label>Display link to Zendesk in Magento footer</label>
237
  <frontend_type>select</frontend_type>
@@ -280,7 +267,7 @@
280
  <show_in_default>1</show_in_default>
281
  <show_in_website>1</show_in_website>
282
  <show_in_store>0</show_in_store>
283
- </show_on_order>
284
  <show_on_dashboard translate="label">
285
  <label>Show support tickets on admin dashboard</label>
286
  <frontend_type>select</frontend_type>
@@ -298,7 +285,7 @@
298
  <show_in_default>1</show_in_default>
299
  <show_in_website>1</show_in_website>
300
  <show_in_store>0</show_in_store>
301
- </show_all>
302
  <default_sort translate="label">
303
  <label>Default Sort Order</label>
304
  <frontend_type>select</frontend_type>
@@ -453,16 +440,16 @@
453
  <show_in_website>1</show_in_website>
454
  <show_in_store>1</show_in_store>
455
  </voice>
456
- <feedback_tab translate="label value">
457
- <label>Feedback Tab</label>
458
  <frontend_model>zendesk/adminhtml_config_link</frontend_model>
459
- <destination><![CDATA[account/dropboxes/new]]></destination>
460
  <value>Configure</value>
461
  <sort_order>1</sort_order>
462
  <show_in_default>1</show_in_default>
463
  <show_in_website>1</show_in_website>
464
  <show_in_store>1</show_in_store>
465
- </feedback_tab>
466
  <api translate="label value">
467
  <label>API</label>
468
  <frontend_model>zendesk/adminhtml_config_link</frontend_model>
190
  <show_in_default>1</show_in_default>
191
  <show_in_website>1</show_in_website>
192
  <show_in_store>1</show_in_store>
193
+ <fields>
194
  <contact_us translate="label">
195
  <label>Create tickets from Contact Us form</label>
196
  <frontend_type>select</frontend_type>
200
  <show_in_website>1</show_in_website>
201
  <show_in_store>1</show_in_store>
202
  </contact_us>
203
+ <web_widget_code_active translate="label">
204
+ <label>Include Web Widget</label>
205
  <frontend_type>select</frontend_type>
206
  <source_model>adminhtml/system_config_source_yesno</source_model>
207
  <sort_order>6</sort_order>
208
  <show_in_default>1</show_in_default>
209
  <show_in_website>1</show_in_website>
210
  <show_in_store>1</show_in_store>
211
+ </web_widget_code_active>
212
+ <web_widget_customise translate="label value">
 
 
 
 
 
 
 
 
 
 
213
  <label></label>
214
  <frontend_model>zendesk/adminhtml_config_link</frontend_model>
215
+ <destination><![CDATA[agent/admin/widget]]></destination>
216
+ <value>Customize Web Widget</value>
217
+ <sort_order>7</sort_order>
218
  <show_in_default>1</show_in_default>
219
  <show_in_website>1</show_in_website>
220
  <show_in_store>1</show_in_store>
221
+ </web_widget_customise>
 
 
 
222
  <footer_link_enabled translate="label">
223
  <label>Display link to Zendesk in Magento footer</label>
224
  <frontend_type>select</frontend_type>
267
  <show_in_default>1</show_in_default>
268
  <show_in_website>1</show_in_website>
269
  <show_in_store>0</show_in_store>
270
+ </show_on_order>
271
  <show_on_dashboard translate="label">
272
  <label>Show support tickets on admin dashboard</label>
273
  <frontend_type>select</frontend_type>
285
  <show_in_default>1</show_in_default>
286
  <show_in_website>1</show_in_website>
287
  <show_in_store>0</show_in_store>
288
+ </show_all>
289
  <default_sort translate="label">
290
  <label>Default Sort Order</label>
291
  <frontend_type>select</frontend_type>
440
  <show_in_website>1</show_in_website>
441
  <show_in_store>1</show_in_store>
442
  </voice>
443
+ <web_widget translate="label value">
444
+ <label>Web Widget</label>
445
  <frontend_model>zendesk/adminhtml_config_link</frontend_model>
446
+ <destination><![CDATA[agent/admin/widget]]></destination>
447
  <value>Configure</value>
448
  <sort_order>1</sort_order>
449
  <show_in_default>1</show_in_default>
450
  <show_in_website>1</show_in_website>
451
  <show_in_store>1</show_in_store>
452
+ </web_widget>
453
  <api translate="label value">
454
  <label>API</label>
455
  <frontend_model>zendesk/adminhtml_config_link</frontend_model>
app/design/frontend/base/default/layout/zendesk.xml CHANGED
@@ -27,7 +27,7 @@
27
  </action>
28
  </reference>
29
  <reference name="before_body_end">
30
- <block type="zendesk/supporttab" name="zendesk_support_tab"/>
31
  </reference>
32
  </default>
33
 
27
  </action>
28
  </reference>
29
  <reference name="before_body_end">
30
+ <block type="zendesk/webWidget" name="zendesk_web_widget"/>
31
  </reference>
32
  </default>
33
 
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>zendesk</name>
4
- <version>1.4.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache Software License v2</license>
7
  <channel>community</channel>
@@ -17,11 +17,11 @@ This extension makes Zendesk work seamlessly with Magento to enable stores to de
17
  - Display relevant support tickets on order &amp; customer dashboards&lt;br /&gt;&#xD;
18
  - Create support tickets from Contact Us requests&lt;br /&gt;&#xD;
19
  - Easily add the Web Widget to your site</description>
20
- <notes>Fix stability mismatch</notes>
21
  <authors><author><name>Jason Smale</name><user>zendesk</user><email>jsmale@zendesk.com</email></author><author><name>Fontis</name><user>fontis</user><email>magento@fontis.com.au</email></author></authors>
22
  <date>2015-05-20</date>
23
- <time>09:28:37</time>
24
- <contents><target name="mageetc"><dir name="modules"><file name="Zendesk_Zendesk.xml" hash="a630cf18c788dafb70d4c156a33eaa07"/></dir></target><target name="magecommunity"><dir name="Zendesk"><dir name="Zendesk"><dir name="Block"><dir name="Adminhtml"><dir name="Config"><dir name="Buttons"><file name="Generate.php" hash="7fa35e3e71b4bfb94f2dceddb19e86a0"/><file name="MagentoTest.php" hash="005323c12510f8ac07b46bede8df6349"/><file name="Signup.php" hash="f0d9ec9bc9a99f8643f1c2e6ac9989f2"/><file name="Sync.php" hash="d561b6fcbf69d284e866113e7d9afd44"/><file name="ZendeskTest.php" hash="83b67b5e66f8a9757ec424a72121133c"/></dir><file name="Link.php" hash="779827427e11db311b6e1de9d42818f2"/></dir><dir name="Create"><dir name="Customer"><dir name="Grid"><dir name="Renderer"><file name="Action.php" hash="4c599ec0b7210b32733318ca40b403f1"/></dir></dir><file name="Grid.php" hash="d5da59c8bd8f939a578d776648a1920c"/></dir><file name="Customer.php" hash="afe5c04c6ac7aa0cfaefded4ceacef37"/><dir name="Edit"><file name="Form.php" hash="c94acf32924a5140edeef7eae238aa4e"/></dir><file name="Edit.php" hash="fae5df1b1f5c5f524257bdf31bd569b4"/><dir name="Order"><dir name="Grid"><dir name="Renderer"><file name="Action.php" hash="7e9aa2cbd5600865fc77ce35fd6cb73a"/></dir></dir><file name="Grid.php" hash="0e4f085158ce9cc9d3566411b80d4592"/></dir><file name="Order.php" hash="857150ae3de0e3ded29ff972732060b3"/></dir><dir name="Dashboard"><file name="Grids.php" hash="5717e87a142a8cfb0bb8dc996f8a055a"/><dir name="Tab"><dir name="Tickets"><dir name="Grid"><file name="Abstract.php" hash="7403aac1c3eb52e25aef0ec2e989836f"/><file name="All.php" hash="b545bedb568c6ce6fe2696197b1729f5"/><file name="Massaction.php" hash="9d3ba44e00b40f4585e167c200b4bfa6"/><dir name="Renderer"><file name="Action.php" hash="53a3b787e3f473a86bd896a0f8d7992e"/><file name="Email.php" hash="bca118431a1d45e9030ca3b26028befe"/><file name="Group.php" hash="814178c8eabb9d8444d2beadd1c07a84"/><file name="Type.php" hash="4f0cd9a88be44fbe7faa4e1f1ba55a38"/><file name="User.php" hash="1e838a9f5f87af3c6411c32c83c6fce6"/></dir><file name="View.php" hash="5b5320a258e838e680bfbde6a8491d88"/></dir></dir></dir></dir><file name="Dashboard.php" hash="3b2ff1e8355be7750f19b93dcfcb50ec"/><file name="Log.php" hash="da85421d71f2e50c1ef2384eedd5688a"/><file name="Menu.php" hash="ceb245a4ee23c65c828add89402d411b"/><dir name="Order"><dir name="View"><file name="Tickets.php" hash="a83a2ad42801ddbddad2d761779a597b"/></dir></dir></dir><dir name="Customer"><dir name="Tickets"><file name="List.php" hash="eddae13553494e6689ba1736896327a7"/></dir><file name="Tickets.php" hash="619b990e39222018831a42b9bee3f07b"/></dir><file name="Supporttab.php" hash="6c55ed5f1cd6daa0d188dc7839f084e7"/></dir><dir name="Helper"><file name="Data.php" hash="69d8954498282657a96b77d47783af91"/><file name="JWT.php" hash="6610b92191eccedb8edcf993730c3dc0"/><file name="Log.php" hash="358c44a7a478dc6166208eb59ccd53fb"/></dir><file name="LICENSE.txt" hash="d9922043f61f536de5d4d7af831e7f73"/><dir name="Model"><dir name="Api"><file name="Abstract.php" hash="86a16008112175b4448e6abd729fce17"/><file name="Groups.php" hash="7c2694b292399083c8209d297a1e6746"/><file name="Requesters.php" hash="9cb06bc83c45b4874ee29750bfc91f0b"/><file name="Tickets.php" hash="a73bd8178a57738f7e1d55a5ff74bb28"/><file name="Users.php" hash="b5c67e552efcdc574bd753d097e33339"/><file name="Views.php" hash="757dac0b088d8cac6d591d41b622b682"/></dir><file name="Observer.php" hash="a0fee1fce3269fe597f1124a04ce6e80"/><dir name="Resource"><dir name="Tickets"><file name="Collection.php" hash="1b52a98b4a36e3e4496ab485f5bb171b"/></dir><file name="Tickets.php" hash="8eed34a07f8d65e3680ba3e735a3a4a1"/></dir><dir name="Search"><file name="Field.php" hash="2961022121af96a4bc599141d82e6732"/></dir><file name="Search.php" hash="cac21f222a240bab7ea813023c4523f0"/><dir name="Source"><file name="Sortdir.php" hash="916a3319d52661df8a77438935bae56f"/><file name="Sortorder.php" hash="1c58234e5253987027c174aa192a2b5f"/><file name="Views.php" hash="1c7527338bf40082016a62e45fe44622"/></dir><file name="Tickets.php" hash="796782889d46c6bc658f3cd03ee74a1c"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ZendeskController.php" hash="21dc9d4d52ed75802558d1f39c313c6e"/></dir><file name="ApiController.php" hash="be7a8a3e564ebc5649c1d2dfa07944e5"/><dir name="Customer"><file name="TicketsController.php" hash="89164100a9640def75e94345e0fe1a14"/></dir><file name="IndexController.php" hash="f2caa943c4619d5add2149ef26443108"/><file name="SsoController.php" hash="2b99171f2c81573405d2258df835fa26"/></dir><dir name="data"><dir name="zendesk_setup"><file name="data-upgrade-1.3.0-1.4.0.php" hash="bcf2b209ab108ed2fc045176262d35ad"/><file name="data-upgrade-1.3.1-1.4.0.php" hash="bcf2b209ab108ed2fc045176262d35ad"/></dir></dir><dir name="etc"><file name="config.xml" hash="9d5fb99bd22786f0309e647c6ef6b192"/><file name="jstranslator.xml" hash="3f3bd74e4b6484613126a2b2f7e34aac"/><file name="system.xml" hash="43d15598bb5023e8efdfd52e7bdcda1d"/></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Zendesk_Zendesk.csv" hash="82849b0c8a98daf56f6153bbccd8e957"/></dir><dir name="de_DE"><file name="Zendesk_Zendesk.csv" hash="3892feb95f2173d3f934fe964708b75b"/></dir><dir name="es_ES"><file name="Zendesk_Zendesk.csv" hash="a0c3268b8136b65ee5a5a961212323c0"/></dir><dir name="fr_FR"><file name="Zendesk_Zendesk.csv" hash="7a7609df060c812fb3c30c935b157a75"/></dir><dir name="it_IT"><file name="Zendesk_Zendesk.csv" hash="64de62c856de4c83a69dac292c2f04a7"/></dir><dir name="ja_JP"><file name="Zendesk_Zendesk.csv" hash="8d0ab1a39457a8ba2dcf986faf4eb742"/></dir><dir name="ko_KR"><file name="Zendesk_Zendesk.csv" hash="38aee57e5520d82f607999ce25ba5dc2"/></dir><dir name="nl_NL"><file name="Zendesk_Zendesk.csv" hash="985790d52273a6127c9e941dacc6a25d"/></dir><dir name="pt_BR"><file name="Zendesk_Zendesk.csv" hash="90568149b111a18cc7db9debf82f9dfc"/></dir><dir name="ru_RU"><file name="Zendesk_Zendesk.csv" hash="534791f7ae25eb537b9fa5c2be70d2d3"/></dir><dir name="zh_TW"><file name="Zendesk_Zendesk.csv" hash="2fff120a9ee211608f505400b60c733f"/></dir><dir name="zh_CN"><file name="Zendesk_Zendesk.csv" hash="c8bfa3b4398c99ec8fd498b1635be1db"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="zendesk.xml" hash="b824f0f7099d22a7f1c0a31d83cd9efc"/></dir><dir name="template"><dir name="zendesk"><file name="autocomplete.phtml" hash="01f42e0bbe3337c058ebc0a8832ddca9"/><dir name="config"><file name="button-generate.phtml" hash="21a25898c1fdea93d31b02ae91c1dd6f"/><file name="button-signup.phtml" hash="8871a0aa0bad7f85a7419853db8e0ce4"/><file name="button-sync.phtml" hash="0a79ffa3cb7021e2883844d37133af3e"/><file name="button-test-magento.phtml" hash="e86287ab32a2ee29ce44aad62249bcab"/><file name="button-test-zendesk.phtml" hash="434623e895e3044fe826639824f90dc9"/><file name="link.phtml" hash="ce55d65900113183e770b2905a31b0eb"/></dir><dir name="create"><file name="customer.phtml" hash="4195705109186f619780613f31d3799d"/><file name="order.phtml" hash="6565383d06a6428ce91238d90a1a0a1a"/></dir><dir name="customer"><file name="tickets.phtml" hash="bb86da828b1f8837b3e8d7e3df8be06e"/></dir><dir name="dashboard"><file name="empty.phtml" hash="d0c30af25f17ff45215d210b48063a46"/><file name="index.phtml" hash="2ea21311d37450c55adff7b44601f00b"/></dir><file name="left-menu.phtml" hash="51913c4c343c7e751324651e8f0efbae"/><dir name="log"><file name="index.phtml" hash="c54c187ce5f09da6f56078cbfdf3ca29"/></dir><dir name="order"><file name="tickets.phtml" hash="4fe433f11c40708b0eb56aef5b0ce663"/></dir><dir name="tickets"><file name="tickets.phtml" hash="fc60966507ec30a2521413cb9b998770"/></dir><file name="translations.phtml" hash="663af777fa809b84ea9001afa740109f"/><dir name="widget"><file name="grid.phtml" hash="5e7beb2c7e37c9efe225ea3e80f1ffd7"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="zendesk.xml" hash="2f3d419fe38e683597cdbe1664e4490f"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="zendesk"><file name="button.png" hash="58e62edb7f4be46e3b29c0bb774c7ad7"/><file name="icon.png" hash="b5bfce535c987d1e9e604823ac4b3943"/><file name="zendesk-tab.png" hash="0f322d15c392528c212d6491732bc133"/><file name="zendesk.css" hash="0ebc697c77767467aaeceacefaa2d1a5"/></dir></dir></dir></dir></target></contents>
25
  <compatible/>
26
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
27
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>zendesk</name>
4
+ <version>2.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache Software License v2</license>
7
  <channel>community</channel>
17
  - Display relevant support tickets on order &amp; customer dashboards&lt;br /&gt;&#xD;
18
  - Create support tickets from Contact Us requests&lt;br /&gt;&#xD;
19
  - Easily add the Web Widget to your site</description>
20
+ <notes>Embeddables Web Widget - Drop Feedback Tab support</notes>
21
  <authors><author><name>Jason Smale</name><user>zendesk</user><email>jsmale@zendesk.com</email></author><author><name>Fontis</name><user>fontis</user><email>magento@fontis.com.au</email></author></authors>
22
  <date>2015-05-20</date>
23
+ <time>09:39:29</time>
24
+ <contents><target name="mageetc"><dir name="modules"><file name="Zendesk_Zendesk.xml" hash="a630cf18c788dafb70d4c156a33eaa07"/></dir></target><target name="magecommunity"><dir name="Zendesk"><dir name="Zendesk"><dir name="Block"><dir name="Adminhtml"><dir name="Config"><dir name="Buttons"><file name="Generate.php" hash="7fa35e3e71b4bfb94f2dceddb19e86a0"/><file name="MagentoTest.php" hash="005323c12510f8ac07b46bede8df6349"/><file name="Signup.php" hash="f0d9ec9bc9a99f8643f1c2e6ac9989f2"/><file name="Sync.php" hash="d561b6fcbf69d284e866113e7d9afd44"/><file name="ZendeskTest.php" hash="83b67b5e66f8a9757ec424a72121133c"/></dir><file name="Link.php" hash="779827427e11db311b6e1de9d42818f2"/></dir><dir name="Create"><dir name="Customer"><dir name="Grid"><dir name="Renderer"><file name="Action.php" hash="4c599ec0b7210b32733318ca40b403f1"/></dir></dir><file name="Grid.php" hash="d5da59c8bd8f939a578d776648a1920c"/></dir><file name="Customer.php" hash="afe5c04c6ac7aa0cfaefded4ceacef37"/><dir name="Edit"><file name="Form.php" hash="c94acf32924a5140edeef7eae238aa4e"/></dir><file name="Edit.php" hash="fae5df1b1f5c5f524257bdf31bd569b4"/><dir name="Order"><dir name="Grid"><dir name="Renderer"><file name="Action.php" hash="7e9aa2cbd5600865fc77ce35fd6cb73a"/></dir></dir><file name="Grid.php" hash="0e4f085158ce9cc9d3566411b80d4592"/></dir><file name="Order.php" hash="857150ae3de0e3ded29ff972732060b3"/></dir><dir name="Dashboard"><file name="Grids.php" hash="5717e87a142a8cfb0bb8dc996f8a055a"/><dir name="Tab"><dir name="Tickets"><dir name="Grid"><file name="Abstract.php" hash="7403aac1c3eb52e25aef0ec2e989836f"/><file name="All.php" hash="b545bedb568c6ce6fe2696197b1729f5"/><file name="Massaction.php" hash="9d3ba44e00b40f4585e167c200b4bfa6"/><dir name="Renderer"><file name="Action.php" hash="53a3b787e3f473a86bd896a0f8d7992e"/><file name="Email.php" hash="bca118431a1d45e9030ca3b26028befe"/><file name="Group.php" hash="814178c8eabb9d8444d2beadd1c07a84"/><file name="Type.php" hash="4f0cd9a88be44fbe7faa4e1f1ba55a38"/><file name="User.php" hash="1e838a9f5f87af3c6411c32c83c6fce6"/></dir><file name="View.php" hash="5b5320a258e838e680bfbde6a8491d88"/></dir></dir></dir></dir><file name="Dashboard.php" hash="3b2ff1e8355be7750f19b93dcfcb50ec"/><file name="Log.php" hash="da85421d71f2e50c1ef2384eedd5688a"/><file name="Menu.php" hash="ceb245a4ee23c65c828add89402d411b"/><dir name="Order"><dir name="View"><file name="Tickets.php" hash="a83a2ad42801ddbddad2d761779a597b"/></dir></dir></dir><dir name="Customer"><dir name="Tickets"><file name="List.php" hash="eddae13553494e6689ba1736896327a7"/></dir><file name="Tickets.php" hash="619b990e39222018831a42b9bee3f07b"/></dir><file name="WebWidget.php" hash="292d16516b754c0ff0609ac3a8b8e5d2"/></dir><dir name="Helper"><file name="Data.php" hash="8368e56483cd5aac5df44e24cb293903"/><file name="JWT.php" hash="6610b92191eccedb8edcf993730c3dc0"/><file name="Log.php" hash="358c44a7a478dc6166208eb59ccd53fb"/></dir><file name="LICENSE.txt" hash="d9922043f61f536de5d4d7af831e7f73"/><dir name="Model"><dir name="Api"><file name="Abstract.php" hash="86a16008112175b4448e6abd729fce17"/><file name="Groups.php" hash="7c2694b292399083c8209d297a1e6746"/><file name="Requesters.php" hash="9cb06bc83c45b4874ee29750bfc91f0b"/><file name="SupportAddresses.php" hash="a9b8bee9fa03b5295f1fa63c56a651c1"/><file name="Tickets.php" hash="a73bd8178a57738f7e1d55a5ff74bb28"/><file name="Users.php" hash="b5c67e552efcdc574bd753d097e33339"/><file name="Views.php" hash="757dac0b088d8cac6d591d41b622b682"/></dir><file name="Observer.php" hash="564721eca86afad8c5cbbb6b4d5170c4"/><dir name="Resource"><dir name="Tickets"><file name="Collection.php" hash="1b52a98b4a36e3e4496ab485f5bb171b"/></dir><file name="Tickets.php" hash="8eed34a07f8d65e3680ba3e735a3a4a1"/></dir><dir name="Search"><file name="Field.php" hash="2961022121af96a4bc599141d82e6732"/></dir><file name="Search.php" hash="cac21f222a240bab7ea813023c4523f0"/><dir name="Source"><file name="Sortdir.php" hash="916a3319d52661df8a77438935bae56f"/><file name="Sortorder.php" hash="1c58234e5253987027c174aa192a2b5f"/><file name="Views.php" hash="1c7527338bf40082016a62e45fe44622"/></dir><file name="Tickets.php" hash="796782889d46c6bc658f3cd03ee74a1c"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ZendeskController.php" hash="21dc9d4d52ed75802558d1f39c313c6e"/></dir><file name="ApiController.php" hash="84672fb7c6110ebadb9414e9c99ddfd0"/><dir name="Customer"><file name="TicketsController.php" hash="89164100a9640def75e94345e0fe1a14"/></dir><file name="IndexController.php" hash="f2caa943c4619d5add2149ef26443108"/><file name="SsoController.php" hash="2b99171f2c81573405d2258df835fa26"/></dir><dir name="data"><dir name="zendesk_setup"><file name="data-upgrade-1.3.0-1.4.0.php" hash="bcf2b209ab108ed2fc045176262d35ad"/><file name="data-upgrade-1.3.1-1.4.0.php" hash="bcf2b209ab108ed2fc045176262d35ad"/><file name="data-upgrade-1.4.2-2.0.0.php" hash="2b8f26c843de7435cc2bc53ad9e5cdb9"/></dir></dir><dir name="etc"><file name="config.xml" hash="042bd606afe205858f152092e03aed6e"/><file name="jstranslator.xml" hash="3f3bd74e4b6484613126a2b2f7e34aac"/><file name="system.xml" hash="2f37034472542a19e7fa67e37bb05da4"/></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Zendesk_Zendesk.csv" hash="82849b0c8a98daf56f6153bbccd8e957"/></dir><dir name="de_DE"><file name="Zendesk_Zendesk.csv" hash="3892feb95f2173d3f934fe964708b75b"/></dir><dir name="es_ES"><file name="Zendesk_Zendesk.csv" hash="a0c3268b8136b65ee5a5a961212323c0"/></dir><dir name="fr_FR"><file name="Zendesk_Zendesk.csv" hash="7a7609df060c812fb3c30c935b157a75"/></dir><dir name="it_IT"><file name="Zendesk_Zendesk.csv" hash="64de62c856de4c83a69dac292c2f04a7"/></dir><dir name="ja_JP"><file name="Zendesk_Zendesk.csv" hash="8d0ab1a39457a8ba2dcf986faf4eb742"/></dir><dir name="ko_KR"><file name="Zendesk_Zendesk.csv" hash="38aee57e5520d82f607999ce25ba5dc2"/></dir><dir name="nl_NL"><file name="Zendesk_Zendesk.csv" hash="985790d52273a6127c9e941dacc6a25d"/></dir><dir name="pt_BR"><file name="Zendesk_Zendesk.csv" hash="90568149b111a18cc7db9debf82f9dfc"/></dir><dir name="ru_RU"><file name="Zendesk_Zendesk.csv" hash="534791f7ae25eb537b9fa5c2be70d2d3"/></dir><dir name="zh_TW"><file name="Zendesk_Zendesk.csv" hash="2fff120a9ee211608f505400b60c733f"/></dir><dir name="zh_CN"><file name="Zendesk_Zendesk.csv" hash="c8bfa3b4398c99ec8fd498b1635be1db"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="zendesk.xml" hash="b824f0f7099d22a7f1c0a31d83cd9efc"/></dir><dir name="template"><dir name="zendesk"><file name="autocomplete.phtml" hash="01f42e0bbe3337c058ebc0a8832ddca9"/><dir name="config"><file name="button-generate.phtml" hash="21a25898c1fdea93d31b02ae91c1dd6f"/><file name="button-signup.phtml" hash="8871a0aa0bad7f85a7419853db8e0ce4"/><file name="button-sync.phtml" hash="0a79ffa3cb7021e2883844d37133af3e"/><file name="button-test-magento.phtml" hash="e86287ab32a2ee29ce44aad62249bcab"/><file name="button-test-zendesk.phtml" hash="434623e895e3044fe826639824f90dc9"/><file name="link.phtml" hash="ce55d65900113183e770b2905a31b0eb"/></dir><dir name="create"><file name="customer.phtml" hash="4195705109186f619780613f31d3799d"/><file name="order.phtml" hash="6565383d06a6428ce91238d90a1a0a1a"/></dir><dir name="customer"><file name="tickets.phtml" hash="bb86da828b1f8837b3e8d7e3df8be06e"/></dir><dir name="dashboard"><file name="empty.phtml" hash="d0c30af25f17ff45215d210b48063a46"/><file name="index.phtml" hash="2ea21311d37450c55adff7b44601f00b"/></dir><file name="left-menu.phtml" hash="51913c4c343c7e751324651e8f0efbae"/><dir name="log"><file name="index.phtml" hash="c54c187ce5f09da6f56078cbfdf3ca29"/></dir><dir name="order"><file name="tickets.phtml" hash="4fe433f11c40708b0eb56aef5b0ce663"/></dir><dir name="tickets"><file name="tickets.phtml" hash="fc60966507ec30a2521413cb9b998770"/></dir><file name="translations.phtml" hash="663af777fa809b84ea9001afa740109f"/><dir name="widget"><file name="grid.phtml" hash="5e7beb2c7e37c9efe225ea3e80f1ffd7"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="zendesk.xml" hash="09058ecabaf99b91c7a57e12c74b0b0d"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="zendesk"><file name="button.png" hash="58e62edb7f4be46e3b29c0bb774c7ad7"/><file name="icon.png" hash="b5bfce535c987d1e9e604823ac4b3943"/><file name="zendesk-tab.png" hash="0f322d15c392528c212d6491732bc133"/><file name="zendesk.css" hash="0ebc697c77767467aaeceacefaa2d1a5"/></dir></dir></dir></dir></target></contents>
25
  <compatible/>
26
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
27
  </package>