Version Notes
Minor adjustments, version number bump.
Download this release
Release Info
Developer | Adam Levenson |
Extension | Ordermonitor_Agent |
Version | 1.2.3 |
Comparing to | |
See all releases |
Code changes from version 1.2.2 to 1.2.3
app/code/community/Ordermonitor/Agent/controllers/AgentController.php
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
*/
|
11 |
class Ordermonitor_Agent_AgentController extends Mage_Core_Controller_Front_Action
|
12 |
{
|
13 |
-
const OM_AUTH_FAIL = 'Invalid authentication
|
14 |
|
15 |
protected $_auth = false;
|
16 |
|
@@ -36,8 +36,8 @@ class Ordermonitor_Agent_AgentController extends Mage_Core_Controller_Front_Acti
|
|
36 |
$request = $this->getRequest();
|
37 |
|
38 |
// require start and end dates
|
39 |
-
$start = strtotime($request->getParam('start', '
|
40 |
-
$end = strtotime($request->getParam('end', '
|
41 |
|
42 |
$storeIds = json_decode($request->getParam('stores', '["0"]'));
|
43 |
$skus = json_decode($request->getParam('skus', '[]'));
|
10 |
*/
|
11 |
class Ordermonitor_Agent_AgentController extends Mage_Core_Controller_Front_Action
|
12 |
{
|
13 |
+
const OM_AUTH_FAIL = 'Invalid authentication';
|
14 |
|
15 |
protected $_auth = false;
|
16 |
|
36 |
$request = $this->getRequest();
|
37 |
|
38 |
// require start and end dates
|
39 |
+
$start = strtotime($request->getParam('start', '2016-01-01 00:00:00'));
|
40 |
+
$end = strtotime($request->getParam('end', '2016-01-01 00:00:01'));
|
41 |
|
42 |
$storeIds = json_decode($request->getParam('stores', '["0"]'));
|
43 |
$skus = json_decode($request->getParam('skus', '[]'));
|
app/code/community/Ordermonitor/Agent/etc/config.xml
CHANGED
@@ -14,7 +14,7 @@
|
|
14 |
<modules>
|
15 |
<Ordermonitor_Agent>
|
16 |
<!-- @Om - If version changes, update the default value for <om_version> at end of file -->
|
17 |
-
<version>1.2.
|
18 |
</Ordermonitor_Agent>
|
19 |
</modules>
|
20 |
<frontend>
|
@@ -69,7 +69,7 @@
|
|
69 |
<default>
|
70 |
<ordermonitor>
|
71 |
<general_configuration>
|
72 |
-
<om_version>1.2.
|
73 |
<om_username/>
|
74 |
<om_api_key/>
|
75 |
</general_configuration>
|
14 |
<modules>
|
15 |
<Ordermonitor_Agent>
|
16 |
<!-- @Om - If version changes, update the default value for <om_version> at end of file -->
|
17 |
+
<version>1.2.3</version>
|
18 |
</Ordermonitor_Agent>
|
19 |
</modules>
|
20 |
<frontend>
|
69 |
<default>
|
70 |
<ordermonitor>
|
71 |
<general_configuration>
|
72 |
+
<om_version>1.2.3</om_version>
|
73 |
<om_username/>
|
74 |
<om_api_key/>
|
75 |
</general_configuration>
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Ordermonitor_Agent</name>
|
4 |
-
<version>1.2.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.ordermonitor.com/license">Commercial</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Monitor what matters; orders. Get notifications if something goes awry. Trends and forecasting give you insight into how your store is performing.</summary>
|
10 |
<description>The Order Monitor Agent collects and aggregates data for the Order Monitor service, enabling you to setup alerts based on order volume, aov, discounts and much more. Compare your metrics to yesterday and your average to see if your trending up or down. Forecasting allows to predict the sales for the day.</description>
|
11 |
-
<notes>
|
12 |
<authors><author><name>Adam Levenson</name><user>adamdo</user><email>adam@digitaloperative.com</email></author></authors>
|
13 |
<date>2016-02-24</date>
|
14 |
-
<time>18:
|
15 |
-
<contents><target name="mageetc"><dir name="modules"><file name="Ordermonitor_Agent.xml" hash="d801d81de66117f06637c0750e2a5931"/></dir></target><target name="magecommunity"><dir name="Ordermonitor"><dir name="Agent"><file name="Exception.php" hash="8831bc1226e079c73176a27acd23a02b"/><dir name="Helper"><file name="Data.php" hash="cf9a837e4b1e6a2c40000ab3b795e5d8"/></dir><dir name="Model"><file name="Cron.php" hash="81f3ae712cb1200c01f9dc36d6d2f524"/><file name="Inventory.php" hash="3fec6496931d6d3f533c9760d1479e5f"/><file name="Monitor.php" hash="a035dadb0930ab49575ef54f9ebbc51a"/></dir><dir name="controllers"><file name="AgentController.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.5.0.0</min><max>1.9.2.4</max></package></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Ordermonitor_Agent</name>
|
4 |
+
<version>1.2.3</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.ordermonitor.com/license">Commercial</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Monitor what matters; orders. Get notifications if something goes awry. Trends and forecasting give you insight into how your store is performing.</summary>
|
10 |
<description>The Order Monitor Agent collects and aggregates data for the Order Monitor service, enabling you to setup alerts based on order volume, aov, discounts and much more. Compare your metrics to yesterday and your average to see if your trending up or down. Forecasting allows to predict the sales for the day.</description>
|
11 |
+
<notes>Minor adjustments, version number bump.</notes>
|
12 |
<authors><author><name>Adam Levenson</name><user>adamdo</user><email>adam@digitaloperative.com</email></author></authors>
|
13 |
<date>2016-02-24</date>
|
14 |
+
<time>18:07:06</time>
|
15 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Ordermonitor_Agent.xml" hash="d801d81de66117f06637c0750e2a5931"/></dir></target><target name="magecommunity"><dir name="Ordermonitor"><dir name="Agent"><file name="Exception.php" hash="8831bc1226e079c73176a27acd23a02b"/><dir name="Helper"><file name="Data.php" hash="cf9a837e4b1e6a2c40000ab3b795e5d8"/></dir><dir name="Model"><file name="Cron.php" hash="81f3ae712cb1200c01f9dc36d6d2f524"/><file name="Inventory.php" hash="3fec6496931d6d3f533c9760d1479e5f"/><file name="Monitor.php" hash="a035dadb0930ab49575ef54f9ebbc51a"/></dir><dir name="controllers"><file name="AgentController.php" hash="02433e97f441c23eb761b1ca19d6aaa7"/></dir><dir name="etc"><file name="config.xml" hash="972b37af2dc950dfb77c514f8206625f"/><file name="system.xml" hash="1984b77515766fedb9ce67c0e4b1cd35"/></dir><file name=".DS_Store" hash="816504a148fbbe790644c6c7427a6f81"/></dir><file name=".DS_Store" hash="60238f239932c73cc1be075fbd3e96ef"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.5.0.0</min><max>1.9.2.4</max></package></required></dependencies>
|
18 |
</package>
|