smartbear_alertsite - Version 2.0.1

Version Notes

This is the second release of AlertSite for Magento.

This release adds the following new features:

-Scatter Plot Report graphing response time for your URL

-Benchmark Report comparing performance of URL against top industry benchmark sites

-Capability to edit extension configuration information

Download this release

Release Info

Developer SmartBear Software
Extension smartbear_alertsite
Version 2.0.1
Comparing to
See all releases


Code changes from version 2.0.0 to 2.0.1

app/code/community/Smartbear/Alertsite/Block/Adminhtml/Report.php CHANGED
@@ -18,6 +18,22 @@ class Smartbear_Alertsite_Block_Adminhtml_Report extends Mage_Adminhtml_Block_Te
18
  $api->setRequestIp(Mage::helper('core/http')->getRemoteAddr());
19
  $api->login();
20
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  $options->customer = intval(str_replace('C', '', $api->getCustomerId())) - 10000;
22
  $options->session = $api->getSessionId();
23
 
18
  $api->setRequestIp(Mage::helper('core/http')->getRemoteAddr());
19
  $api->login();
20
 
21
+ /**
22
+ var opts = {
23
+ customer : '4553',
24
+ user : "cbrinegar@alertsite.com",
25
+ session : "2abccb38d10850d1",
26
+ container : "#scatter_plot",
27
+ device : '160285',
28
+ timezone : '-5'
29
+ };
30
+
31
+ //this will render the scatter graph for the
32
+ var scatter_plot = new sb_external_Scatter(opts);
33
+
34
+ opts.container = "#benchmark_plot";
35
+ var benchmark_plot = new sb_external_Benchmark(opts);
36
+ */
37
  $options->customer = intval(str_replace('C', '', $api->getCustomerId())) - 10000;
38
  $options->session = $api->getSessionId();
39
 
app/design/adminhtml/default/default/layout/alertsite.xml CHANGED
@@ -18,8 +18,6 @@
18
  <adminhtml_alertsite_create>
19
  <reference name="head">
20
  <action method="addCss"><name>smartbear/alertsite/css/alertsite.css</name></action>
21
- <action method="addJs"><name>smartbear/alertsite/jquery.min.js</name></action>
22
- <action method="addJs"><name>smartbear/alertsite/alertsite.js</name></action>
23
  </reference>
24
  <reference name="content">
25
  <block type="alertsite/adminhtml_create" name="smartbear.create" template="alertsite/create.phtml">
@@ -34,8 +32,6 @@
34
  <adminhtml_alertsite_advance>
35
  <reference name="head">
36
  <action method="addCss"><name>smartbear/alertsite/css/alertsite.css</name></action>
37
- <action method="addJs"><name>smartbear/alertsite/jquery.min.js</name></action>
38
- <action method="addJs"><name>smartbear/alertsite/alertsite.js</name></action>
39
  </reference>
40
  <reference name="content">
41
  <block type="alertsite/adminhtml_advance" name="smartbear.advance" template="alertsite/advance.phtml">
@@ -56,7 +52,6 @@
56
  <adminhtml_alertsite_scatterplot>
57
  <reference name="head">
58
  <action method="addCss"><name>smartbear/alertsite/css/alertsite.css</name></action>
59
- <action method="addJs"><name>smartbear/alertsite/alertsite.js</name></action>
60
  </reference>
61
  <reference name="content">
62
  <block type="alertsite/adminhtml_report" name="smartbear.create" template="alertsite/scatterplot.phtml">
@@ -70,7 +65,6 @@
70
  <adminhtml_alertsite_benchmark>
71
  <reference name="head">
72
  <action method="addCss"><name>smartbear/alertsite/css/alertsite.css</name></action>
73
- <action method="addJs"><name>smartbear/alertsite/alertsite.js</name></action>
74
  </reference>
75
  <reference name="content">
76
  <block type="alertsite/adminhtml_report" name="smartbear.create" template="alertsite/benchmark.phtml">
18
  <adminhtml_alertsite_create>
19
  <reference name="head">
20
  <action method="addCss"><name>smartbear/alertsite/css/alertsite.css</name></action>
 
 
21
  </reference>
22
  <reference name="content">
23
  <block type="alertsite/adminhtml_create" name="smartbear.create" template="alertsite/create.phtml">
32
  <adminhtml_alertsite_advance>
33
  <reference name="head">
34
  <action method="addCss"><name>smartbear/alertsite/css/alertsite.css</name></action>
 
 
35
  </reference>
36
  <reference name="content">
37
  <block type="alertsite/adminhtml_advance" name="smartbear.advance" template="alertsite/advance.phtml">
52
  <adminhtml_alertsite_scatterplot>
53
  <reference name="head">
54
  <action method="addCss"><name>smartbear/alertsite/css/alertsite.css</name></action>
 
55
  </reference>
56
  <reference name="content">
57
  <block type="alertsite/adminhtml_report" name="smartbear.create" template="alertsite/scatterplot.phtml">
65
  <adminhtml_alertsite_benchmark>
66
  <reference name="head">
67
  <action method="addCss"><name>smartbear/alertsite/css/alertsite.css</name></action>
 
68
  </reference>
69
  <reference name="content">
70
  <block type="alertsite/adminhtml_report" name="smartbear.create" template="alertsite/benchmark.phtml">
app/design/adminhtml/default/default/template/alertsite/benchmark.phtml CHANGED
@@ -20,7 +20,7 @@
20
 
21
  </div>
22
 
23
- <script type="text/javascript" src="http://www.alertsite.com/js/bundles/external_charts-app-min.js"></script>
24
  <script type="text/javascript">
25
  var alertsiteOptions = <?php echo $this->getConfigJson(); ?>;
26
  alertsiteOptions.container = '#alertsite-report';
20
 
21
  </div>
22
 
23
+ <script type="text/javascript" src="https://www.alertsite.com/js/bundles/external_charts-app-min.js"></script>
24
  <script type="text/javascript">
25
  var alertsiteOptions = <?php echo $this->getConfigJson(); ?>;
26
  alertsiteOptions.container = '#alertsite-report';
app/design/adminhtml/default/default/template/alertsite/scatterplot.phtml CHANGED
@@ -19,7 +19,7 @@
19
 
20
  </div>
21
 
22
- <script type="text/javascript" src="http://www.alertsite.com/js/bundles/external_charts-app-min.js"></script>
23
  <script type="text/javascript">
24
  var alertsiteOptions = <?php echo $this->getConfigJson(); ?>;
25
  alertsiteOptions.container = '#alertsite-report';
19
 
20
  </div>
21
 
22
+ <script type="text/javascript" src="https://www.alertsite.com/js/bundles/external_charts-app-min.js"></script>
23
  <script type="text/javascript">
24
  var alertsiteOptions = <?php echo $this->getConfigJson(); ?>;
25
  alertsiteOptions.container = '#alertsite-report';
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>smartbear_alertsite</name>
4
- <version>2.0.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.alertsite.com/order_terms_agreement.shtml">Free</license>
7
  <channel>community</channel>
@@ -19,9 +19,9 @@ This release adds the following new features:&#xD;
19
  &#xD;
20
  -Capability to edit extension configuration information</notes>
21
  <authors><author><name>SmartBear Software</name><user>Kgodskind</user><email>magento-extension@SmartBear.com</email></author></authors>
22
- <date>2013-03-28</date>
23
- <time>22:47:15</time>
24
- <contents><target name="magecommunity"><dir name="Smartbear"><dir name="Alertsite"><dir name="Block"><dir name="Adminhtml"><file name="Advance.php" hash="f34e1293e55db7c4fb76540a54f8ff9a"/><file name="Create.php" hash="89d84302201df05c91b2a63cce0bc558"/><file name="Dashboard.php" hash="1c95a6dabc323b54c0f41fe802818756"/><file name="Notifications.php" hash="e6ee80fb6a4d2d671774548ba31e557e"/><file name="Report.php" hash="0dedd19beee5e4123fe65f8ef29c1ba4"/><file name="Smartbear.php" hash="4f294b360278d140b23c82050b1d964e"/><dir name="System"><dir name="Form"><dir name="Renderer"><file name="AdvanceLink.php" hash="ad47e8d59dad1683a56705d08b9e37cc"/><file name="ConfigMessage.php" hash="df00daab83b9178424c704b9c6e5ce2f"/><file name="DeviceDescription.php" hash="906fcdda396b0a761aeb169498ef66c3"/><file name="Label.php" hash="184619f752eb3bf52d6da7af2e61dc02"/><file name="LinkButton.php" hash="9fd9bc004a0a5bb98f93ba3a96d296c9"/><file name="Subheader.php" hash="2453c7bad971a7311bbe9e42f60e4bc8"/></dir><file name=".DS_Store" hash="766834cb509351057b269d576cdbf5ac"/></dir><file name=".DS_Store" hash="12352d4bf027b0f895185d80df00d8aa"/></dir><file name=".DS_Store" hash="13c47c0f5dc265d0c60feb18896f270c"/></dir><file name=".DS_Store" hash="0047fe0bc161a58c6088a4e959de43a4"/></dir><dir name="Helper"><file name="Data.php" hash="3f64a0955ba49f086cd902e01c388d46"/></dir><dir name="Model"><file name="Alertsiteapi.php" hash="d03b613c865fb719feabf58d720c629f"/><file name="Observer.php" hash="a2e7587671e6a131e17a6d422284f470"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Editaccount.php" hash="c4342b2f51743f09e6a5dae6a34b5602"/><file name="Editdevice.php" hash="df58feb985765b2c655573e07bd72e5f"/><file name="Enable.php" hash="3e7a720cf8700839fc9be8cbcac9e140"/></dir><file name=".DS_Store" hash="0a9398a6a23c073c1f64eef341f87cc3"/></dir><file name=".DS_Store" hash="60d450ab59b771a3c283579b2d35d28e"/></dir><file name=".DS_Store" hash="13c47c0f5dc265d0c60feb18896f270c"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="AlertsiteController.php" hash="c6f963ac6edbdca1c69dc1205e514e97"/></dir><file name=".DS_Store" hash="0047fe0bc161a58c6088a4e959de43a4"/></dir><dir name="etc"><file name="adminhtml.xml" hash="96c59e70d9f8a8b8ea24610ed17b41df"/><file name="config.xml" hash="394d1ce0f6cde2742217a461efd825d4"/><file name="system.xml" hash="19f9b75c24a9d1a0366d4cd18d7c7008"/></dir><file name=".DS_Store" hash="eb03774a462f5cc9f379a3cc14db34f0"/></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="alertsite.xml" hash="1d8e529bf2b6f4f4513117083383823a"/></dir><dir name="template"><dir name="alertsite"><file name="advance.phtml" hash="1016dc96d79b17242e51e64d6e5f4d91"/><file name="benchmark.phtml" hash="dca7d55713af01cb658100b515e87c7a"/><file name="create.phtml" hash="ca2583149d389d811690a0eff850e2e3"/><file name="dashboard.phtml" hash="eb94013fd119353363ee4759affbc9c4"/><file name="linkbutton.phtml" hash="d9d3cdd1345c82d5a20058a091a8e226"/><file name="notifications.phtml" hash="eeed995f647c048756bdbadec71dfcd8"/><file name="scatterplot.phtml" hash="c7b7f2a956f878a7763215ac392c6748"/><file name="subheader.phtml" hash="7cf89385b395bfaeac098960dd4fb84b"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Smartbear_Alertsite.xml" hash="64a3cc66ca83c2f77239814fee24b53f"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="smartbear"><dir name="alertsite"><dir name="css"><file name="alertsite.css" hash="f556e329ca2a07691c74b959e2b4abfd"/></dir><dir name="images"><file name="alertsite_15_icon.png" hash="4c69502d7bb49ded2697cc8e826ca9bb"/><file name="smartbear_15_icon.png" hash="9aa725351c49766f194f5727c924e62a"/><file name="smartbear_20_icon.gif" hash="221347ce1d17b26af00b8f73c6f853b1"/><file name="smartbear_error.png" hash="fb6f697ff3c3bec25b2ac8696a7dcbfd"/><file name="smartbear_great.png" hash="1e4330c182c17b937dcdd244b2c8043b"/><file name="smartbear_info.png" hash="a267bcdeb04b0e4d9e1b9cb621060f07"/><file name="smartbear_notice.png" hash="deec6c7c7c72442526f25e50b7996732"/><file name="smartbear_warning.png" hash="d59c3691206e009d4fbb49aee38a29da"/></dir></dir></dir></dir></dir></dir></target></contents>
25
  <compatible/>
26
  <dependencies><required><php><min>5.3.6</min><max>5.4.11</max></php><extension><name>curl</name><min>7.21.3</min><max/></extension><extension><name>SimpleXML</name><min/><max/></extension></required></dependencies>
27
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>smartbear_alertsite</name>
4
+ <version>2.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.alertsite.com/order_terms_agreement.shtml">Free</license>
7
  <channel>community</channel>
19
  &#xD;
20
  -Capability to edit extension configuration information</notes>
21
  <authors><author><name>SmartBear Software</name><user>Kgodskind</user><email>magento-extension@SmartBear.com</email></author></authors>
22
+ <date>2013-03-29</date>
23
+ <time>18:11:40</time>
24
+ <contents><target name="magecommunity"><dir name="Smartbear"><dir name="Alertsite"><dir name="Block"><dir name="Adminhtml"><file name="Advance.php" hash="f34e1293e55db7c4fb76540a54f8ff9a"/><file name="Create.php" hash="89d84302201df05c91b2a63cce0bc558"/><file name="Dashboard.php" hash="1c95a6dabc323b54c0f41fe802818756"/><file name="Notifications.php" hash="e6ee80fb6a4d2d671774548ba31e557e"/><file name="Report.php" hash="99a3b39479c3a4deed78ee06f7f03b91"/><file name="Smartbear.php" hash="4f294b360278d140b23c82050b1d964e"/><dir name="System"><dir name="Form"><dir name="Renderer"><file name="AdvanceLink.php" hash="ad47e8d59dad1683a56705d08b9e37cc"/><file name="ConfigMessage.php" hash="df00daab83b9178424c704b9c6e5ce2f"/><file name="DeviceDescription.php" hash="906fcdda396b0a761aeb169498ef66c3"/><file name="Label.php" hash="184619f752eb3bf52d6da7af2e61dc02"/><file name="LinkButton.php" hash="9fd9bc004a0a5bb98f93ba3a96d296c9"/><file name="Subheader.php" hash="2453c7bad971a7311bbe9e42f60e4bc8"/></dir><file name=".DS_Store" hash="766834cb509351057b269d576cdbf5ac"/></dir><file name=".DS_Store" hash="12352d4bf027b0f895185d80df00d8aa"/></dir><file name=".DS_Store" hash="13c47c0f5dc265d0c60feb18896f270c"/></dir><file name=".DS_Store" hash="0047fe0bc161a58c6088a4e959de43a4"/></dir><dir name="Helper"><file name="Data.php" hash="3f64a0955ba49f086cd902e01c388d46"/></dir><dir name="Model"><file name="Alertsiteapi.php" hash="d03b613c865fb719feabf58d720c629f"/><file name="Observer.php" hash="a2e7587671e6a131e17a6d422284f470"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Editaccount.php" hash="c4342b2f51743f09e6a5dae6a34b5602"/><file name="Editdevice.php" hash="df58feb985765b2c655573e07bd72e5f"/><file name="Enable.php" hash="3e7a720cf8700839fc9be8cbcac9e140"/></dir><file name=".DS_Store" hash="0a9398a6a23c073c1f64eef341f87cc3"/></dir><file name=".DS_Store" hash="60d450ab59b771a3c283579b2d35d28e"/></dir><file name=".DS_Store" hash="13c47c0f5dc265d0c60feb18896f270c"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="AlertsiteController.php" hash="c6f963ac6edbdca1c69dc1205e514e97"/></dir><file name=".DS_Store" hash="0047fe0bc161a58c6088a4e959de43a4"/></dir><dir name="etc"><file name="adminhtml.xml" hash="96c59e70d9f8a8b8ea24610ed17b41df"/><file name="config.xml" hash="394d1ce0f6cde2742217a461efd825d4"/><file name="system.xml" hash="19f9b75c24a9d1a0366d4cd18d7c7008"/></dir><file name=".DS_Store" hash="eb03774a462f5cc9f379a3cc14db34f0"/></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="alertsite.xml" hash="14d50da4f059e0b04b32c3fb6b0ef6d9"/></dir><dir name="template"><dir name="alertsite"><file name="advance.phtml" hash="1016dc96d79b17242e51e64d6e5f4d91"/><file name="benchmark.phtml" hash="b017d8a0f02b73cff6e600e2b719c54f"/><file name="create.phtml" hash="ca2583149d389d811690a0eff850e2e3"/><file name="dashboard.phtml" hash="eb94013fd119353363ee4759affbc9c4"/><file name="linkbutton.phtml" hash="d9d3cdd1345c82d5a20058a091a8e226"/><file name="notifications.phtml" hash="eeed995f647c048756bdbadec71dfcd8"/><file name="scatterplot.phtml" hash="ea073c081191df18f7820c8e8292a2f1"/><file name="subheader.phtml" hash="7cf89385b395bfaeac098960dd4fb84b"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Smartbear_Alertsite.xml" hash="64a3cc66ca83c2f77239814fee24b53f"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="smartbear"><dir name="alertsite"><dir name="css"><file name="alertsite.css" hash="f556e329ca2a07691c74b959e2b4abfd"/></dir><dir name="images"><file name="alertsite_15_icon.png" hash="4c69502d7bb49ded2697cc8e826ca9bb"/><file name="smartbear_15_icon.png" hash="9aa725351c49766f194f5727c924e62a"/><file name="smartbear_20_icon.gif" hash="221347ce1d17b26af00b8f73c6f853b1"/><file name="smartbear_error.png" hash="fb6f697ff3c3bec25b2ac8696a7dcbfd"/><file name="smartbear_great.png" hash="1e4330c182c17b937dcdd244b2c8043b"/><file name="smartbear_info.png" hash="a267bcdeb04b0e4d9e1b9cb621060f07"/><file name="smartbear_notice.png" hash="deec6c7c7c72442526f25e50b7996732"/><file name="smartbear_warning.png" hash="d59c3691206e009d4fbb49aee38a29da"/></dir></dir></dir></dir></dir></dir></target></contents>
25
  <compatible/>
26
  <dependencies><required><php><min>5.3.6</min><max>5.4.11</max></php><extension><name>curl</name><min>7.21.3</min><max/></extension><extension><name>SimpleXML</name><min/><max/></extension></required></dependencies>
27
  </package>