Version Notes
fixed issue with viewing job queue item
Download this release
Release Info
Developer | Lanot |
Extension | Lanot_Scheduler |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.0 to 1.0.1
- app/code/community/Lanot/Core/Controller/Adminhtml/AbstractController.php +4 -1
- app/code/community/Lanot/Scheduler/Block/Adminhtml/Queue/Grid.php +2 -2
- app/code/community/Lanot/Scheduler/etc/config.xml +1 -1
- app/etc/modules/Lanot_Core.xml +11 -11
- app/etc/modules/Lanot_Scheduler.xml +13 -13
- package.xml +5 -5
app/code/community/Lanot/Core/Controller/Adminhtml/AbstractController.php
CHANGED
@@ -253,8 +253,11 @@ class Lanot_Core_Controller_Adminhtml_AbstractController
|
|
253 |
$itemIds = $this->getRequest()->getParam($key);
|
254 |
$type = $this->getRequest()->getParam('type');
|
255 |
$active = $this->_getItemModel()->getStatusDisabled();
|
|
|
|
|
|
|
256 |
|
257 |
-
if (
|
258 |
try {
|
259 |
foreach ($itemIds as $itemId) {
|
260 |
// 1. instance banner model
|
253 |
$itemIds = $this->getRequest()->getParam($key);
|
254 |
$type = $this->getRequest()->getParam('type');
|
255 |
$active = $this->_getItemModel()->getStatusDisabled();
|
256 |
+
if (is_string($itemIds)) {
|
257 |
+
$itemIds = explode(',', $itemIds);
|
258 |
+
}
|
259 |
|
260 |
+
if (count($itemIds)) {
|
261 |
try {
|
262 |
foreach ($itemIds as $itemId) {
|
263 |
// 1. instance banner model
|
app/code/community/Lanot/Scheduler/Block/Adminhtml/Queue/Grid.php
CHANGED
@@ -135,12 +135,12 @@ class Lanot_Scheduler_Block_Adminhtml_Queue_Grid
|
|
135 |
'width' => '70px',
|
136 |
'align' => 'center',
|
137 |
'type' => 'action',
|
138 |
-
'getter' => '
|
139 |
'actions' => array(
|
140 |
array(
|
141 |
'caption' => $this->_getHelper()->__('View'),
|
142 |
'url' => array('base' => '*/*/view'),
|
143 |
-
'field' => 'job_code'
|
144 |
)
|
145 |
),
|
146 |
'filter' => false,
|
135 |
'width' => '70px',
|
136 |
'align' => 'center',
|
137 |
'type' => 'action',
|
138 |
+
'getter' => 'getJobCode',
|
139 |
'actions' => array(
|
140 |
array(
|
141 |
'caption' => $this->_getHelper()->__('View'),
|
142 |
'url' => array('base' => '*/*/view'),
|
143 |
+
'field' => 'job_code',
|
144 |
)
|
145 |
),
|
146 |
'filter' => false,
|
app/code/community/Lanot/Scheduler/etc/config.xml
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
|
4 |
<modules>
|
5 |
<Lanot_Scheduler>
|
6 |
-
<version>1.0.
|
7 |
</Lanot_Scheduler>
|
8 |
</modules>
|
9 |
|
3 |
|
4 |
<modules>
|
5 |
<Lanot_Scheduler>
|
6 |
+
<version>1.0.1</version>
|
7 |
</Lanot_Scheduler>
|
8 |
</modules>
|
9 |
|
app/etc/modules/Lanot_Core.xml
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
-
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
<config>
|
3 |
-
<modules>
|
4 |
-
<Lanot_Core>
|
5 |
-
<active>true</active>
|
6 |
-
<codePool>community</codePool>
|
7 |
-
<depends>
|
8 |
-
<Mage_Adminhtml />
|
9 |
-
</depends>
|
10 |
-
</Lanot_Core>
|
11 |
-
</modules>
|
12 |
</config>
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Lanot_Core>
|
5 |
+
<active>true</active>
|
6 |
+
<codePool>community</codePool>
|
7 |
+
<depends>
|
8 |
+
<Mage_Adminhtml />
|
9 |
+
</depends>
|
10 |
+
</Lanot_Core>
|
11 |
+
</modules>
|
12 |
</config>
|
app/etc/modules/Lanot_Scheduler.xml
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<config>
|
3 |
-
<modules>
|
4 |
-
<Lanot_Scheduler>
|
5 |
-
<active>true</active>
|
6 |
-
<codePool>community</codePool>
|
7 |
-
<depends>
|
8 |
-
<Mage_Cron />
|
9 |
-
<Mage_Adminhtml />
|
10 |
-
</depends>
|
11 |
-
</Lanot_Scheduler>
|
12 |
-
</modules>
|
13 |
-
</config>
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Lanot_Scheduler>
|
5 |
+
<active>true</active>
|
6 |
+
<codePool>community</codePool>
|
7 |
+
<depends>
|
8 |
+
<Mage_Cron />
|
9 |
+
<Mage_Adminhtml />
|
10 |
+
</depends>
|
11 |
+
</Lanot_Scheduler>
|
12 |
+
</modules>
|
13 |
+
</config>
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Lanot_Scheduler</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Allows to manage custom cron jobs</summary>
|
10 |
<description>Allows to manage custom cron jobs</description>
|
11 |
-
<notes>
|
12 |
<authors><author><name>Lanot</name><user>Lanot</user><email>lanot.biz@gmail.com</email></author></authors>
|
13 |
-
<date>2014-
|
14 |
-
<time>
|
15 |
-
<contents><target name="mageetc"><dir name="modules"><file name="Lanot_Scheduler.xml" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Lanot_Scheduler</name>
|
4 |
+
<version>1.0.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Allows to manage custom cron jobs</summary>
|
10 |
<description>Allows to manage custom cron jobs</description>
|
11 |
+
<notes>fixed issue with viewing job queue item</notes>
|
12 |
<authors><author><name>Lanot</name><user>Lanot</user><email>lanot.biz@gmail.com</email></author></authors>
|
13 |
+
<date>2014-09-17</date>
|
14 |
+
<time>10:03:32</time>
|
15 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Lanot_Scheduler.xml" hash="5622d6525f4dcb4037dde512d778002d"/><file name="Lanot_Core.xml" hash="60e2d6da11f5753df0ba200e9b4cc08c"/></dir></target><target name="magecommunity"><dir name="Lanot"><dir name="Scheduler"><dir name="Block"><dir name="Adminhtml"><dir name="Job"><dir name="Edit"><file name="Form.php" hash="21ce80a7ffbb6025746de2160d6212d1"/><dir name="Tab"><file name="Main.php" hash="bb39a3b4837bb52c4964c833997cfbac"/></dir><file name="Tabs.php" hash="3520d19fe1388ec65f981b7781d33937"/></dir><file name="Edit.php" hash="06885174b6b6fa98f4c90ab25dfe80a1"/><file name="Grid.php" hash="dbe861fa9c0e7592bce47d4f50f0aa69"/></dir><file name="Job.php" hash="e4811f5faac5f897f4fd0c2834f32d3b"/><dir name="Queue"><file name="Grid.php" hash="1d8c47e334be72c740e7f6baeae2f829"/><file name="View.php" hash="ceece8da3e0d169079ac5e703a86a295"/></dir><file name="Queue.php" hash="c8d550a94fc6b6b867ea6f1c6d0d318c"/><dir name="Systemjob"><file name="Grid.php" hash="addacfc18084b0c817d29887b005f34e"/></dir><file name="Systemjob.php" hash="75a4f0f212397bcb7fd12a93165bc379"/></dir></dir><dir name="Helper"><file name="Admin.php" hash="7a09531aaceffe8ae56db97c03744c1f"/><file name="Data.php" hash="1a640e19537877b742d65dcfb46df497"/></dir><dir name="Model"><file name="Job.php" hash="aae2070ef18e36c45efdf4677fd46c33"/><dir name="Mysql4"><dir name="Job"><file name="Collection.php" hash="607ed2af1e32b348f949730801044d9e"/></dir><file name="Job.php" hash="3e6f0cb87fdce3b8504e810fc7392ebc"/></dir><file name="Observer.php" hash="dbe7bbfb9e70521c09be68346bd8e666"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="JobController.php" hash="ed91bca983eb5056dc0eccdc128fb3db"/><file name="QueueController.php" hash="0bfb7356a333b10a27f2fa8dd5ce28b1"/><file name="SystemjobController.php" hash="e5cc46a4056e447ce411660ca0f946ff"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="f3040dbb07e6b56fa7628ac7a8faffa9"/><file name="config.xml" hash="5d286c3ede2e9732e6f30a5a17536170"/><file name="system.xml" hash="30d26eea6886ac55ffc5c8b3cbe0e8ec"/></dir><dir name="sql"><dir name="lanot_scheduler_setup"><file name="mysql4-install-1.0.0.php" hash="6788859132df251d3ed70bf5fa384761"/></dir></dir></dir><dir name="Core"><dir name="Block"><dir name="Adminhtml"><dir name="Grid"><file name="Abstract.php" hash="7435e7fb99be238abc5a92a2fb2b031a"/></dir><dir name="System"><dir name="Config"><dir name="Form"><file name="Field.php" hash="0103ddfc1ac7f6a6c10b62b650e8e561"/></dir></dir><file name="Extension.php" hash="9412b06c2b993cd0e6f15df8177d01bb"/></dir></dir></dir><dir name="Controller"><dir name="Adminhtml"><file name="AbstractController.php" hash="2f6d2fd6d365c748f56cf77eedae5c32"/></dir></dir><dir name="Helper"><file name="Data.php" hash="c8b87c7644ccc315fdb2274b4052a1ae"/></dir><dir name="Model"><file name="Extension.php" hash="496f44598e8e84393f2d03b1d48021c9"/><dir name="Item"><file name="Interface.php" hash="990948919c42cd88c317fdadcd45e895"/></dir></dir><dir name="controllers"><dir name="System"><file name="ConfigController.php" hash="20e3f72ab3517174f2386d49933f9e6c"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="4f7e7da0b613580e9e7159c9cb5bd75d"/><file name="config.xml" hash="7f4b65a7be6b882385b6a03b393496ea"/><file name="system.xml" hash="76460a51c3ae79917ade87c38c0c765a"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="lanot_scheduler.xml" hash="b317ca0d55118811a06e854ce6222518"/></dir><dir name="template"><dir name="lanot"><dir name="scheduler"><dir name="widget"><dir name="form"><dir name="renderer"><dir name="fieldset"><file name="element.phtml" hash="fdde4030298ad019151b682daf9b8ec4"/></dir><file name="fieldset.phtml" hash="d72e901c66049419ed808025a242c623"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|