zendesk - Version 1.1.2

Version Notes

Fix to resolve cache issue

Download this release

Release Info

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


Code changes from version 1.1.1 to 1.1.2

app/code/community/Zendesk/Zendesk/controllers/ApiController.php CHANGED
@@ -156,7 +156,6 @@ class Zendesk_Zendesk_ApiController extends Mage_Core_Controller_Front_Action
156
157
public function usersAction()
158
{
159
-
160
if(!$this->_authorise()) {
161
return $this;
162
}
@@ -337,6 +336,8 @@ class Zendesk_Zendesk_ApiController extends Mage_Core_Controller_Front_Action
337
// Clear the provisioning token so it can't be used any further
338
Mage::getModel('core/config')->saveConfig('zendesk/hidden/provision_token', null, 'default');
339
340
$this->getResponse()
341
->setBody(json_encode(array('success' => true)))
342
->setHttpResponseCode(200)
156
157
public function usersAction()
158
{
159
if(!$this->_authorise()) {
160
return $this;
161
}
336
// Clear the provisioning token so it can't be used any further
337
Mage::getModel('core/config')->saveConfig('zendesk/hidden/provision_token', null, 'default');
338
339
+ Mage::getConfig()->removeCache();
340
+
341
$this->getResponse()
342
->setBody(json_encode(array('success' => true)))
343
->setHttpResponseCode(200)
app/code/community/Zendesk/Zendesk/etc/config.xml CHANGED
@@ -17,7 +17,7 @@
17
<config>
18
<modules>
19
<Zendesk_Zendesk>
20
- <version>1.1.1</version>
21
</Zendesk_Zendesk>
22
</modules>
23
<zendesk>
17
<config>
18
<modules>
19
<Zendesk_Zendesk>
20
+ <version>1.1.2</version>
21
</Zendesk_Zendesk>
22
</modules>
23
<zendesk>
app/code/community/Zendesk/Zendesk/etc/system.xml CHANGED
@@ -340,7 +340,7 @@
340
<expanded>1</expanded>
341
<label>Setup</label>
342
<frontend_type>text</frontend_type>
343
- <sort_order>10</sort_order>
344
<show_in_default>1</show_in_default>
345
<show_in_website>1</show_in_website>
346
<show_in_store>1</show_in_store>
340
<expanded>1</expanded>
341
<label>Setup</label>
342
<frontend_type>text</frontend_type>
343
+ <sort_order>1</sort_order>
344
<show_in_default>1</show_in_default>
345
<show_in_website>1</show_in_website>
346
<show_in_store>1</show_in_store>
app/design/frontend/base/default/layout/zendesk.xml CHANGED
@@ -17,7 +17,7 @@
17
<layout>
18
<default>
19
<reference name="footer_links">
20
- <action method="addLink" translate="label title" module="contacts" ifconfig="zendesk/features/footer_link_enabled"><label>Helpdesk</label><url>zendesk</url><title>Helpdesk</title><prepare>true</prepare></action>
21
</reference>
22
<reference name="before_body_end">
23
<block type="zendesk/supporttab" name="zendesk_support_tab"/>
17
<layout>
18
<default>
19
<reference name="footer_links">
20
+ <action method="addLink" translate="label title" module="contacts" ifconfig="zendesk/features/footer_link_enabled"><label>Support</label><url>zendesk</url><title>Support</title><prepare>true</prepare></action>
21
</reference>
22
<reference name="before_body_end">
23
<block type="zendesk/supporttab" name="zendesk_support_tab"/>
app/locale/en_US/Zendesk_Zendesk.csv CHANGED
@@ -34,6 +34,7 @@ Show support tickets on order view,Show support tickets on order view
34
Status,Status
35
Subject,Subject
36
Successfully generated new API token,Successfully generated new API token
37
Support Tickets,Support Tickets
38
Ticket #%s Created.,Ticket #%s Created.
39
"To deploy tickets from Zendesk, we require a username and password/token of an agent on your Zendesk.","To deploy tickets from Zendesk, we require a username and password/token of an agent on your Zendesk."
34
Status,Status
35
Subject,Subject
36
Successfully generated new API token,Successfully generated new API token
37
+ Support,Support
38
Support Tickets,Support Tickets
39
Ticket #%s Created.,Ticket #%s Created.
40
"To deploy tickets from Zendesk, we require a username and password/token of an agent on your Zendesk.","To deploy tickets from Zendesk, we require a username and password/token of an agent on your Zendesk."
package.xml CHANGED
@@ -1,7 +1,7 @@
1
<?xml version="1.0"?>
2
<package>
3
<name>zendesk</name>
4
- <version>1.1.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,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 a feedback tab to your site</description>
20
- <notes>Fix to resolve cache issue with setup guide</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>2012-11-12</date>
23
- <time>05:13:33</time>
24
- <contents><target name="mageetc"><dir name="modules"><file name="Zendesk_Zendesk.xml" hash="7edb55f3349e4ad2ff74c2fb6568b6f5"/></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="e8e6cfed55f6b4f0545fb4e4e6910e8c"/><file name="Signup.php" hash="590cfac588241092a435aacff891fe00"/></dir><file name="Link.php" hash="31f933cbc1fef82be811d1b18f3c1ea8"/></dir><dir name="Create"><dir name="Edit"><file name="Form.php" hash="6efa3803bd7dadc849c6eb4c24b6f348"/></dir><file name="Edit.php" hash="2f745c92d8ae989d8efca07a4eb8c882"/></dir><dir name="Dashboard"><file name="Grids.php" hash="d0fcd44587dd5638f9b30c448b9401b1"/><dir name="Tab"><file name="View.php" hash="de6b1fbec6586ecf622425e819dd8630"/></dir></dir><file name="Dashboard.php" hash="dc4f3431ddaf57bedbb637e83861a8ed"/><file name="Menu.php" hash="29818e0fe101898350ca1ff93c1848a2"/><dir name="Order"><dir name="View"><file name="Tickets.php" hash="f4de4b62bff9957082cb65a9de020943"/></dir><file name="View.php" hash="791482c44b3d3ee806ab50c2ded76a76"/></dir></dir><file name="Supporttab.php" hash="7b9185784e85db83e7b98b32151ac5bd"/></dir><dir name="Helper"><file name="Data.php" hash="21be54f819b61a343b76b4c906f47748"/></dir><file name="LICENSE.txt" hash="5e5e84085e3a6622e82e7a9f4c52e6a3"/><dir name="Model"><dir name="Api"><file name="Abstract.php" hash="60c89bbba3b8c91adf43d674222935b0"/><file name="Requesters.php" hash="b77b4a68e1a4069afd636b3e5eb9c65d"/><file name="Tickets.php" hash="b9c3128bc55c8dadd058f9d177ba47ba"/><file name="Users.php" hash="d9ba554ea11442e64786551b44eeda66"/><file name="Views.php" hash="b24bf7e1654b011c75eea6d573f225e3"/></dir><file name="Observer.php" hash="f588fb73fee556e265651c2fe0b9f806"/><dir name="Source"><file name="Views.php" hash="cff74c9b29385a50a7fbb0fd09ed3daf"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="ZendeskController.php" hash="133f1d13aa824b95ae7df8a4e61d6aa4"/></dir><file name="ApiController.php" hash="7465549ed63309b58ff808cd38de50c8"/><file name="IndexController.php" hash="95682b48e725b4b054b582566b6ab68a"/></dir><dir name="etc"><file name="config.xml" hash="887cf4498a68b0e0197669d3e188ec05"/><file name="system.xml" hash="52da171c98cf741a3246e5b0f798016e"/></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Zendesk_Zendesk.csv" hash="8a3919a780456de3d5550b38a68dec51"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="zendesk.xml" hash="6b5e0f59c6c713b8e94bdd1281fc0743"/></dir><dir name="template"><dir name="zendesk"><dir name="config"><file name="button-generate.phtml" hash="7f3e2e207a81cb7e092507e7f6d526ae"/><file name="button-signup.phtml" hash="da45deac5d41c4f2abf5949515096e78"/><file name="link.phtml" hash="7acc00626ef529dc7c2b41861df438bb"/></dir><dir name="customer"><file name="tickets.phtml" hash="edd373911462b97554bda5aba1bd7a3a"/></dir><dir name="dashboard"><file name="empty.phtml" hash="bc46759dee9d291b8750dfd09e6dba74"/><file name="index.phtml" hash="9f2a75fcde8fdbecdff20ff8b7340a88"/><dir name="tabs"><file name="view.phtml" hash="2cb78499b250f9bf2d104daa5fc0f8d1"/></dir></dir><file name="left-menu.phtml" hash="78d5d8e32647c024d73287896f84df5d"/><dir name="order"><file name="tickets.phtml" hash="efe1c9582779b8bb5a6a182c9106d88d"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="zendesk.xml" hash="0a007796a9f0eab36279a7c19957cb59"/></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="454aaabc787598a2ee2db5dd48f8ed96"/></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>1.1.2</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 a feedback tab to your site</description>
20
+ <notes>Fix to resolve cache issue</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>2012-11-12</date>
23
+ <time>10:24:37</time>
24
+ <contents><target name="mageetc"><dir name="modules"><file name="Zendesk_Zendesk.xml" hash="7edb55f3349e4ad2ff74c2fb6568b6f5"/></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="e8e6cfed55f6b4f0545fb4e4e6910e8c"/><file name="Signup.php" hash="590cfac588241092a435aacff891fe00"/></dir><file name="Link.php" hash="31f933cbc1fef82be811d1b18f3c1ea8"/></dir><dir name="Create"><dir name="Edit"><file name="Form.php" hash="6efa3803bd7dadc849c6eb4c24b6f348"/></dir><file name="Edit.php" hash="2f745c92d8ae989d8efca07a4eb8c882"/></dir><dir name="Dashboard"><file name="Grids.php" hash="d0fcd44587dd5638f9b30c448b9401b1"/><dir name="Tab"><file name="View.php" hash="de6b1fbec6586ecf622425e819dd8630"/></dir></dir><file name="Dashboard.php" hash="dc4f3431ddaf57bedbb637e83861a8ed"/><file name="Menu.php" hash="29818e0fe101898350ca1ff93c1848a2"/><dir name="Order"><dir name="View"><file name="Tickets.php" hash="f4de4b62bff9957082cb65a9de020943"/></dir><file name="View.php" hash="791482c44b3d3ee806ab50c2ded76a76"/></dir></dir><file name="Supporttab.php" hash="7b9185784e85db83e7b98b32151ac5bd"/></dir><dir name="Helper"><file name="Data.php" hash="21be54f819b61a343b76b4c906f47748"/></dir><file name="LICENSE.txt" hash="5e5e84085e3a6622e82e7a9f4c52e6a3"/><dir name="Model"><dir name="Api"><file name="Abstract.php" hash="60c89bbba3b8c91adf43d674222935b0"/><file name="Requesters.php" hash="b77b4a68e1a4069afd636b3e5eb9c65d"/><file name="Tickets.php" hash="b9c3128bc55c8dadd058f9d177ba47ba"/><file name="Users.php" hash="d9ba554ea11442e64786551b44eeda66"/><file name="Views.php" hash="b24bf7e1654b011c75eea6d573f225e3"/></dir><file name="Observer.php" hash="f588fb73fee556e265651c2fe0b9f806"/><dir name="Source"><file name="Views.php" hash="cff74c9b29385a50a7fbb0fd09ed3daf"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="ZendeskController.php" hash="133f1d13aa824b95ae7df8a4e61d6aa4"/></dir><file name="ApiController.php" hash="3a9b8d2b545b420b671d862a38bb311b"/><file name="IndexController.php" hash="95682b48e725b4b054b582566b6ab68a"/></dir><dir name="etc"><file name="config.xml" hash="e5cc59947f4e9ae498b8c43d11428615"/><file name="system.xml" hash="ced0f4ea84c280ba139fd6549c97ac74"/></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Zendesk_Zendesk.csv" hash="bb79d2d7591e8b94c6a4f30868980ad8"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="zendesk.xml" hash="6b5e0f59c6c713b8e94bdd1281fc0743"/></dir><dir name="template"><dir name="zendesk"><dir name="config"><file name="button-generate.phtml" hash="7f3e2e207a81cb7e092507e7f6d526ae"/><file name="button-signup.phtml" hash="da45deac5d41c4f2abf5949515096e78"/><file name="link.phtml" hash="7acc00626ef529dc7c2b41861df438bb"/></dir><dir name="customer"><file name="tickets.phtml" hash="edd373911462b97554bda5aba1bd7a3a"/></dir><dir name="dashboard"><file name="empty.phtml" hash="bc46759dee9d291b8750dfd09e6dba74"/><file name="index.phtml" hash="9f2a75fcde8fdbecdff20ff8b7340a88"/><dir name="tabs"><file name="view.phtml" hash="2cb78499b250f9bf2d104daa5fc0f8d1"/></dir></dir><file name="left-menu.phtml" hash="78d5d8e32647c024d73287896f84df5d"/><dir name="order"><file name="tickets.phtml" hash="efe1c9582779b8bb5a6a182c9106d88d"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="zendesk.xml" hash="8017030a4724ee55a2668d4db24c25ee"/></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="454aaabc787598a2ee2db5dd48f8ed96"/></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>