ltsecurityinc安防产品在线商城代码
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Cron Schedule List for Magento 2 (System)
|
||||
*/
|
||||
|
||||
namespace Amasty\CronScheduleList\Block\Adminhtml;
|
||||
|
||||
use Amasty\Base\Helper\Module;
|
||||
use Magento\Backend\Block\Template;
|
||||
use Magento\Framework\Module\Manager;
|
||||
|
||||
class Advertising extends Template
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $_template = 'Amasty_CronScheduleList::advertising.phtml';
|
||||
|
||||
/**
|
||||
* @var Manager
|
||||
*/
|
||||
private $moduleManager;
|
||||
|
||||
/**
|
||||
* @var Module
|
||||
*/
|
||||
private $moduleHelper;
|
||||
|
||||
public function __construct(
|
||||
Manager $moduleManager,
|
||||
Template\Context $context,
|
||||
Module $moduleHelper,
|
||||
array $data = []
|
||||
) {
|
||||
$this->moduleManager = $moduleManager;
|
||||
$this->moduleHelper = $moduleHelper;
|
||||
parent::__construct($context, $data);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function toHtml()
|
||||
{
|
||||
if ($this->moduleManager->isEnabled('Amasty_CronScheduler') || $this->moduleHelper->isOriginMarketplace()) {
|
||||
return '';
|
||||
}
|
||||
|
||||
return parent::toHtml();
|
||||
}
|
||||
|
||||
public function getLink()
|
||||
{
|
||||
return 'https://amasty.com/cron-scheduler-for-magento-2.html'
|
||||
. '?utm_source=extension&utm_medium=backend&utm_campaign=from_cron_schedule_list_to_cron_schedule_m2';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
<?php
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Cron Schedule List for Magento 2 (System)
|
||||
*/
|
||||
|
||||
namespace Amasty\CronScheduleList\Block\Adminhtml;
|
||||
|
||||
use Magento\Backend\Block\Template;
|
||||
use Amasty\CronScheduleList\Model\ScheduleCollectionFactory as CollectionFactory;
|
||||
use Amasty\CronScheduleList\Model\DateTimeBuilder;
|
||||
|
||||
class Notice extends Template
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $_template = 'Amasty_CronScheduleList::notice.phtml';
|
||||
|
||||
/**
|
||||
* @var CollectionFactory
|
||||
*/
|
||||
private $jobsCollection;
|
||||
|
||||
/**
|
||||
* @var DateTimeBuilder
|
||||
*/
|
||||
private $dateTimeBuilder;
|
||||
|
||||
public function __construct(
|
||||
CollectionFactory $jobsCollection,
|
||||
DateTimeBuilder $dateTimeBuilder,
|
||||
Template\Context $context,
|
||||
array $data = []
|
||||
) {
|
||||
parent::__construct($context, $data);
|
||||
$this->jobsCollection = $jobsCollection;
|
||||
$this->dateTimeBuilder = $dateTimeBuilder;
|
||||
}
|
||||
|
||||
public function getLastActivity()
|
||||
{
|
||||
$collection = $this->jobsCollection->create();
|
||||
|
||||
$item = $collection->getLastActivity();
|
||||
|
||||
if ($item->getId()) {
|
||||
return $this->dateTimeBuilder->formatDate($item->getData('finished_at'));
|
||||
} else {
|
||||
return __('never');
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Cron Schedule List for Magento 2 (System)
|
||||
*/
|
||||
|
||||
namespace Amasty\CronScheduleList\Controller\Adminhtml;
|
||||
|
||||
use Magento\Backend\App\Action;
|
||||
|
||||
abstract class AbstractSchedule extends Action
|
||||
{
|
||||
/**
|
||||
* Authorization level of a basic admin session
|
||||
*
|
||||
* @see _isAllowed()
|
||||
*/
|
||||
public const ADMIN_RESOURCE = 'Amasty_CronScheduleList::schedule_list';
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Cron Schedule List for Magento 2 (System)
|
||||
*/
|
||||
|
||||
namespace Amasty\CronScheduleList\Controller\Adminhtml\Schedule;
|
||||
|
||||
use Amasty\CronScheduleList\Controller\Adminhtml\AbstractSchedule;
|
||||
use Magento\Framework\Controller\ResultFactory;
|
||||
|
||||
class Index extends AbstractSchedule
|
||||
{
|
||||
/**
|
||||
* Index action
|
||||
*
|
||||
* @return \Magento\Backend\Model\View\Result\Page
|
||||
*/
|
||||
public function execute()
|
||||
{
|
||||
/** @var \Magento\Backend\Model\View\Result\Page $resultPage */
|
||||
$resultPage = $this->resultFactory->create(ResultFactory::TYPE_PAGE);
|
||||
$resultPage->setActiveMenu('Amasty_CronScheduleList::schedule_list');
|
||||
$resultPage->getConfig()->getTitle()->prepend(__('Cron Tasks List'));
|
||||
$resultPage->addBreadcrumb(__('Cron Tasks List'), __('Cron Tasks List'));
|
||||
|
||||
return $resultPage;
|
||||
}
|
||||
}
|
||||
+87
@@ -0,0 +1,87 @@
|
||||
<?php
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Cron Schedule List for Magento 2 (System)
|
||||
*/
|
||||
|
||||
namespace Amasty\CronScheduleList\Controller\Adminhtml\Schedule;
|
||||
|
||||
use Amasty\CronScheduleList\Controller\Adminhtml\AbstractSchedule;
|
||||
use Magento\Backend\App\Action\Context;
|
||||
use Magento\Framework\Exception\LocalizedException;
|
||||
use Magento\Ui\Component\MassAction\Filter;
|
||||
use Magento\Cron\Model\ResourceModel\Schedule\CollectionFactory;
|
||||
use Psr\Log\LoggerInterface;
|
||||
|
||||
class MassDelete extends AbstractSchedule
|
||||
{
|
||||
/**
|
||||
* Authorization level of a basic admin session
|
||||
*
|
||||
* @see _isAllowed()
|
||||
*/
|
||||
public const ADMIN_RESOURCE = 'Amasty_CronScheduleList::schedule_list';
|
||||
|
||||
/**
|
||||
* @var Filter
|
||||
*/
|
||||
private $filter;
|
||||
|
||||
/**
|
||||
* @var LoggerInterface
|
||||
*/
|
||||
private $logger;
|
||||
|
||||
/**
|
||||
* @var CollectionFactory
|
||||
*/
|
||||
private $jobsCollectionFactory;
|
||||
|
||||
public function __construct(
|
||||
Context $context,
|
||||
Filter $filter,
|
||||
LoggerInterface $logger,
|
||||
CollectionFactory $jobsCollectionFactory
|
||||
) {
|
||||
parent::__construct($context);
|
||||
$this->filter = $filter;
|
||||
$this->logger = $logger;
|
||||
$this->jobsCollectionFactory = $jobsCollectionFactory;
|
||||
}
|
||||
|
||||
/**
|
||||
* Mass action execution
|
||||
*
|
||||
* @throws LocalizedException
|
||||
*/
|
||||
public function execute()
|
||||
{
|
||||
$this->filter->applySelectionOnTargetProvider();
|
||||
|
||||
/** @var Collection $collection */
|
||||
$collection = $this->filter->getCollection($this->jobsCollectionFactory->create());
|
||||
$deletedJobs = 0;
|
||||
|
||||
if ($collection->count() > 0) {
|
||||
try {
|
||||
foreach ($collection->getItems() as $job) {
|
||||
$job->delete();
|
||||
$deletedJobs++;
|
||||
}
|
||||
|
||||
$this->messageManager->addSuccessMessage(
|
||||
__('%1 task(s) has been successfully deleted', $deletedJobs)
|
||||
);
|
||||
|
||||
} catch (LocalizedException $e) {
|
||||
$this->messageManager->addErrorMessage($e->getMessage());
|
||||
} catch (\Exception $e) {
|
||||
$this->messageManager->addErrorMessage(__('An error has occurred'));
|
||||
$this->logger->critical($e);
|
||||
}
|
||||
}
|
||||
|
||||
return $this->resultRedirectFactory->create()->setRefererUrl();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Cron Schedule List for Magento 2 (System)
|
||||
*/
|
||||
|
||||
namespace Amasty\CronScheduleList\Controller\Adminhtml\Schedule;
|
||||
|
||||
use Amasty\CronScheduleList\Controller\Adminhtml\AbstractSchedule;
|
||||
use Magento\Backend\App\Action\Context;
|
||||
use Magento\Framework\App\CacheInterface;
|
||||
use Magento\Framework\Exception\LocalizedException;
|
||||
use Magento\Framework\Shell;
|
||||
use Symfony\Component\Process\PhpExecutableFinder;
|
||||
|
||||
class RunCron extends AbstractSchedule
|
||||
{
|
||||
/**
|
||||
* @var CacheInterface
|
||||
*/
|
||||
private $cache;
|
||||
|
||||
/**
|
||||
* @var Shell
|
||||
*/
|
||||
private $shell;
|
||||
|
||||
/**
|
||||
* @var PhpExecutableFinder
|
||||
*/
|
||||
private $phpExecutableFinder;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $redirectUrl = 'amasty_cronschedulelist/schedule/index';
|
||||
|
||||
public function __construct(
|
||||
Context $context,
|
||||
CacheInterface $cache,
|
||||
Shell $shell,
|
||||
PhpExecutableFinder $phpExecutableFinder
|
||||
) {
|
||||
parent::__construct($context);
|
||||
|
||||
$this->cache = $cache;
|
||||
$this->shell = $shell;
|
||||
$this->phpExecutableFinder = $phpExecutableFinder;
|
||||
}
|
||||
|
||||
public function execute()
|
||||
{
|
||||
$phpPath = $this->phpExecutableFinder->find() ?: 'php';
|
||||
$this->cache->clean(['crontab']);
|
||||
|
||||
try {
|
||||
$this->shell->execute($phpPath . ' %s cron:run', [BP . '/bin/magento']);
|
||||
$this->messageManager->addSuccessMessage(__('Job\'s generation started'));
|
||||
} catch (LocalizedException $e) {
|
||||
$this->messageManager->addNoticeMessage($e->getMessage());
|
||||
} catch (\Exception $e) {
|
||||
$this->messageManager->addErrorMessage($e->getMessage());
|
||||
}
|
||||
|
||||
return $this->resultRedirectFactory->create()->setPath($this->redirectUrl);
|
||||
}
|
||||
}
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Cron Schedule List for Magento 2 (System)
|
||||
*/
|
||||
|
||||
namespace Amasty\CronScheduleList\Cron;
|
||||
|
||||
use Magento\Framework\App\ObjectManager;
|
||||
use Magento\Framework\Module\Manager;
|
||||
|
||||
class Activity
|
||||
{
|
||||
/**
|
||||
* @var Manager
|
||||
*/
|
||||
private $moduleManager;
|
||||
|
||||
public function __construct(Manager $moduleManager)
|
||||
{
|
||||
$this->moduleManager = $moduleManager;
|
||||
}
|
||||
|
||||
public function execute()
|
||||
{
|
||||
$moduleManager = $this->moduleManager;
|
||||
|
||||
if ($moduleManager->isEnabled('Amasty_CronScheduler')) {
|
||||
/** @var \Amasty\CronScheduler\Model\JobsGenerator $jobsGenerator */
|
||||
$jobsGenerator = ObjectManager::getInstance()->get(\Amasty\CronScheduler\Model\JobsGenerator::class);
|
||||
$jobsGenerator->execute();
|
||||
|
||||
/** @var @var \Amasty\CronScheduler\Model\FailedJobsNotifier $emailNotifier */
|
||||
$emailNotifier = ObjectManager::getInstance()->get(\Amasty\CronScheduler\Model\FailedJobsNotifier::class);
|
||||
$emailNotifier->updateFailedJobs();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Cron Schedule List for Magento 2 (System)
|
||||
*/
|
||||
|
||||
namespace Amasty\CronScheduleList\Model;
|
||||
|
||||
use Magento\Framework\Stdlib\DateTime as DateTimeFormat;
|
||||
use Magento\Framework\Stdlib\DateTime\DateTime;
|
||||
|
||||
class DateTimeBuilder
|
||||
{
|
||||
/**
|
||||
* @var DateTime
|
||||
*/
|
||||
private $dateTime;
|
||||
|
||||
/**
|
||||
* @var DateTimeFormat
|
||||
*/
|
||||
private $dateTimeFormat;
|
||||
|
||||
public function __construct(
|
||||
DateTime $dateTime,
|
||||
DateTimeFormat $dateTimeFormat
|
||||
) {
|
||||
$this->dateTime = $dateTime;
|
||||
$this->dateTimeFormat = $dateTimeFormat;
|
||||
}
|
||||
|
||||
public function formatDate($datetime)
|
||||
{
|
||||
$now = new \DateTime();
|
||||
$ago = new \DateTime($datetime);
|
||||
$diff = $now->diff($ago);
|
||||
|
||||
$string = [
|
||||
'h' => 'hour',
|
||||
'i' => 'minute',
|
||||
's' => 'second',
|
||||
];
|
||||
|
||||
foreach ($string as $k => &$v) {
|
||||
if ($diff->$k) {
|
||||
$v = $diff->$k . ' ' . $v . ($diff->$k > 1 ? 's' : '');
|
||||
} else {
|
||||
unset($string[$k]);
|
||||
}
|
||||
}
|
||||
|
||||
$hours = isset($string['h']) ? $string['h'] : '';
|
||||
$minutes = isset($string['i']) ? $string['i'] : '';
|
||||
$seconds = isset($string['s']) && !isset($string['h']) ? $string['s'] : '';
|
||||
|
||||
return __('%1 ago', $hours . ' ' . $minutes . ' ' . $seconds);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
<?php
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Cron Schedule List for Magento 2 (System)
|
||||
*/
|
||||
|
||||
namespace Amasty\CronScheduleList\Model\OptionSource;
|
||||
|
||||
use Magento\Framework\Data\OptionSourceInterface;
|
||||
use Magento\Framework\Escaper;
|
||||
use Magento\Cron\Model\Schedule;
|
||||
|
||||
class Status implements OptionSourceInterface
|
||||
{
|
||||
/**
|
||||
* @var Escaper
|
||||
*/
|
||||
private $escaper;
|
||||
|
||||
public function __construct(
|
||||
Escaper $escaper
|
||||
) {
|
||||
$this->escaper = $escaper;
|
||||
}
|
||||
|
||||
public function toOptionArray()
|
||||
{
|
||||
return [
|
||||
[
|
||||
'value' => Schedule::STATUS_SUCCESS, 'label' => '<span class="grid-severity-notice">'
|
||||
. $this->escaper->escapeHtml(__("Success"))
|
||||
. '</span>'
|
||||
],
|
||||
[
|
||||
'value' => Schedule::STATUS_PENDING, 'label' => '<span class="grid-severity-minor">'
|
||||
. $this->escaper->escapeHtml(__("Pending"))
|
||||
. '</span>'
|
||||
],
|
||||
[
|
||||
'value' => Schedule::STATUS_RUNNING, 'label' => '<span class="grid-severity-minor">'
|
||||
. $this->escaper->escapeHtml(__("Running"))
|
||||
. '</span>'
|
||||
],
|
||||
[
|
||||
'value' => Schedule::STATUS_ERROR, 'label' => '<span class="grid-severity-critical">'
|
||||
. $this->escaper->escapeHtml(__("Error"))
|
||||
. '</span>'
|
||||
],
|
||||
[
|
||||
'value' => Schedule::STATUS_MISSED, 'label' => '<span class="grid-severity-critical">'
|
||||
. $this->escaper->escapeHtml(__("Missed"))
|
||||
. '</span>'
|
||||
]
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Cron Schedule List for Magento 2 (System)
|
||||
*/
|
||||
|
||||
namespace Amasty\CronScheduleList\Model\OptionSource;
|
||||
|
||||
use Magento\Framework\Option\ArrayInterface;
|
||||
use Magento\Cron\Model\Schedule;
|
||||
|
||||
class StatusFilter implements ArrayInterface
|
||||
{
|
||||
public function toOptionArray()
|
||||
{
|
||||
$statuses = [
|
||||
['value' => Schedule::STATUS_SUCCESS, 'label' => __('Success')],
|
||||
['value' => Schedule::STATUS_PENDING, 'label' => __('Pending')],
|
||||
['value' => Schedule::STATUS_RUNNING, 'label' => __('Running')],
|
||||
['value' => Schedule::STATUS_ERROR, 'label' => __('Error')],
|
||||
['value' => Schedule::STATUS_MISSED, 'label' => __('Missed')]
|
||||
];
|
||||
|
||||
return $statuses;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Cron Schedule List for Magento 2 (System)
|
||||
*/
|
||||
|
||||
namespace Amasty\CronScheduleList\Model;
|
||||
|
||||
use Magento\Cron\Model\Schedule;
|
||||
|
||||
class ScheduleCollection extends \Magento\Cron\Model\ResourceModel\Schedule\Collection
|
||||
{
|
||||
public function getLastActivity()
|
||||
{
|
||||
$this->addFieldToFilter('job_code', 'amasty_cron_activity')
|
||||
->getSelect()->where('finished_at IS NOT NULL')->order('finished_at');
|
||||
|
||||
return $this->getLastItem();
|
||||
}
|
||||
|
||||
public function removeActivitySchedule()
|
||||
{
|
||||
$this->getSelect()->where('job_code != "amasty_cron_activity"');
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getFailedScheduleByJobCode($jobCode)
|
||||
{
|
||||
return $this->addFieldToFilter('job_code', $jobCode)
|
||||
->addFieldToFilter('status', Schedule::STATUS_ERROR)
|
||||
->getLastItem();
|
||||
}
|
||||
|
||||
public function getLastFailedJobs()
|
||||
{
|
||||
$lastFailedJobs = [];
|
||||
$items = $this->addFieldToFilter('status', Schedule::STATUS_ERROR)->getItems();
|
||||
|
||||
foreach ($items as $item) {
|
||||
$lastFailedJobs[$item->getJobCode()] = $item;
|
||||
}
|
||||
|
||||
return $lastFailedJobs;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Cron Schedule List for Magento 2 (System)
|
||||
*/
|
||||
|
||||
namespace Amasty\CronScheduleList\Plugin;
|
||||
|
||||
class ScheduleCollectionPlugin
|
||||
{
|
||||
public function afterGetIdFieldName($subject, $result)
|
||||
{
|
||||
if ($result === null) {
|
||||
$result = 'schedule_id';
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
+38
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Cron Schedule List for Magento 2 (System)
|
||||
*/
|
||||
|
||||
namespace Amasty\CronScheduleList\Ui\DataProvider\Listing;
|
||||
|
||||
class ScheduleDataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider
|
||||
{
|
||||
/**
|
||||
* @var \Amasty\CronScheduleList\Model\ScheduleCollectionFactory
|
||||
*/
|
||||
private $collectionFactory;
|
||||
|
||||
public function __construct(
|
||||
\Amasty\CronScheduleList\Model\ScheduleCollectionFactory $collectionFactory,
|
||||
$name,
|
||||
$primaryFieldName,
|
||||
$requestFieldName,
|
||||
array $meta = [],
|
||||
array $data = []
|
||||
) {
|
||||
parent::__construct($name, $primaryFieldName, $requestFieldName, $meta, $data);
|
||||
|
||||
$this->collectionFactory = $collectionFactory;
|
||||
}
|
||||
|
||||
public function getCollection()
|
||||
{
|
||||
if (!$this->collection) {
|
||||
$this->collection = $this->collectionFactory->create()->removeActivitySchedule();
|
||||
}
|
||||
|
||||
return $this->collection;
|
||||
}
|
||||
}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "amasty/cron-schedule-list",
|
||||
"description": "Cron Schedule List by Amasty",
|
||||
"require": {
|
||||
"php": ">=7.3",
|
||||
"amasty/base": ">=1.14.6"
|
||||
},
|
||||
"type": "magento2-module",
|
||||
"version": "1.0.7",
|
||||
"license": [
|
||||
"proprietary"
|
||||
],
|
||||
"autoload": {
|
||||
"files": [
|
||||
"registration.php"
|
||||
],
|
||||
"psr-4": {
|
||||
"Amasty\\CronScheduleList\\": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
Executable
+22
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Cron Schedule List for Magento 2 (System)
|
||||
*/-->
|
||||
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
|
||||
<acl>
|
||||
<resources>
|
||||
<resource id="Magento_Backend::admin">
|
||||
<resource id="Magento_Backend::system">
|
||||
<resource id="Amasty_CronScheduleList::amasty_schedule" title="Amasty Cron Scheduler">
|
||||
<resource id="Amasty_CronScheduleList::schedule_list" title="Cron Tasks List" />
|
||||
</resource>
|
||||
</resource>
|
||||
</resource>
|
||||
</resources>
|
||||
</acl>
|
||||
</config>
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Cron Schedule List for Magento 2 (System)
|
||||
*/-->
|
||||
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd">
|
||||
<menu>
|
||||
<add id="Amasty_CronScheduleList::amasty_schedule"
|
||||
title="Amasty Cron Scheduler"
|
||||
module="Amasty_CronScheduleList"
|
||||
sortOrder="110"
|
||||
parent="Magento_Backend::system"
|
||||
resource="Amasty_CronScheduleList::amasty_schedule"/>
|
||||
<add id="Amasty_CronScheduleList::schedule_list"
|
||||
title="Cron Tasks List"
|
||||
module="Amasty_CronScheduleList"
|
||||
sortOrder="10"
|
||||
parent="Amasty_CronScheduleList::amasty_schedule"
|
||||
action="amasty_cronschedulelist/schedule/index"
|
||||
resource="Amasty_CronScheduleList::schedule_list"/>
|
||||
</menu>
|
||||
</config>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Cron Schedule List for Magento 2 (System)
|
||||
*/-->
|
||||
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd">
|
||||
<router id="admin">
|
||||
<route id="amasty_cronschedulelist" frontName="amasty_cronschedulelist">
|
||||
<module name="Amasty_CronScheduleList"/>
|
||||
</route>
|
||||
</router>
|
||||
</config>
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!--
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Cron Schedule List for Magento 2 (System)
|
||||
*/-->
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Cron:etc/crontab.xsd">
|
||||
<group id="default">
|
||||
<job instance="Amasty\CronScheduleList\Cron\Activity" method="execute" name="amasty_cron_activity">
|
||||
<schedule>* * * * *</schedule>
|
||||
</job>
|
||||
</group>
|
||||
</config>
|
||||
Executable
+18
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Cron Schedule List for Magento 2 (System)
|
||||
*/-->
|
||||
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
|
||||
<type name="Magento\Cron\Model\ResourceModel\Schedule\Collection">
|
||||
<plugin name="Amasty_CronScheduleList::idfieldname" type="Amasty\CronScheduleList\Plugin\ScheduleCollectionPlugin" />
|
||||
</type>
|
||||
<type name="Amasty\CronScheduleList\Controller\Adminhtml\Schedule\RunCron">
|
||||
<arguments>
|
||||
<argument name="shell" xsi:type="object">shellBackground</argument>
|
||||
</arguments>
|
||||
</type>
|
||||
</config>
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Cron Schedule List for Magento 2 (System)
|
||||
*/-->
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
|
||||
<module name="Amasty_CronScheduleList" setup_version="1.0.0">
|
||||
<sequence>
|
||||
<module name="Amasty_Base"/>
|
||||
</sequence>
|
||||
</module>
|
||||
</config>
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
never,never
|
||||
"Cron Tasks List","Cron Tasks List"
|
||||
"%1 task(s) has been successfully deleted","%1 task(s) has been successfully deleted"
|
||||
"An error has occurred","An error has occurred"
|
||||
"Job's generation started","Job's generation started"
|
||||
"%1 ago","%1 ago"
|
||||
Success,Success
|
||||
Pending,Pending
|
||||
Running,Running
|
||||
Error,Error
|
||||
Missed,Missed
|
||||
"Efficiently track and manage all cron tasks running in the website background with","Efficiently track and manage all cron tasks running in the website background with"
|
||||
"Visit page","Visit page"
|
||||
"Last Cron Activity: %1","Last Cron Activity: %1"
|
||||
"Run Cron","Run Cron"
|
||||
Status,Status
|
||||
"Select status..","Select status.."
|
||||
Delete,Delete
|
||||
"Delete Tasks","Delete Tasks"
|
||||
"Are you sure you want to delete selected tasks?","Are you sure you want to delete selected tasks?"
|
||||
ID,ID
|
||||
"Job Code","Job Code"
|
||||
Messages,Messages
|
||||
"Created At","Created At"
|
||||
"Scheduled At","Scheduled At"
|
||||
"Executed At","Executed At"
|
||||
"Finished At","Finished At"
|
||||
|
+11
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Cron Schedule List for Magento 2 (System)
|
||||
*/
|
||||
\Magento\Framework\Component\ComponentRegistrar::register(
|
||||
\Magento\Framework\Component\ComponentRegistrar::MODULE,
|
||||
'Amasty_CronScheduleList',
|
||||
__DIR__
|
||||
);
|
||||
Executable
+21
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Cron Schedule List for Magento 2 (System)
|
||||
*/-->
|
||||
|
||||
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
|
||||
<head>
|
||||
<css src="Amasty_CronScheduleList::css/messages.css"/>
|
||||
</head>
|
||||
<body>
|
||||
<referenceContainer name="content">
|
||||
<block class="Amasty\CronScheduleList\Block\Adminhtml\Advertising" name="amasty_cron_advertising"/>
|
||||
<block class="Amasty\CronScheduleList\Block\Adminhtml\Notice" name="amasty_cron_notice" template="Amasty_CronScheduleList::notice.phtml" />
|
||||
<uiComponent name="amasty_cronschedulelist_schedule_listing"/>
|
||||
</referenceContainer>
|
||||
</body>
|
||||
</page>
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Cron Schedule List for Magento 2 (System)
|
||||
*/ /** @var \Amasty\CronScheduleList\Block\Adminhtml\Advertising $block */ ?>
|
||||
<?php /** @var \Magento\Framework\Escaper $escaper */ ?>
|
||||
|
||||
<div class="amasty_cron_advertising_banner">
|
||||
<div class="message">
|
||||
<p>
|
||||
<?= $escaper->escapeHtml(__('Efficiently track and manage all cron tasks running '
|
||||
. 'in the website background with')); ?><b> Magento 2 Cron Scheduler extension.</b>
|
||||
<a href="<?= $escaper->escapeUrl($block->getLink()); ?>" target="_blank">
|
||||
<button class="action- scalable primary">
|
||||
<span>
|
||||
<?= $escaper->escapeHtml(__('Visit page')); ?>
|
||||
</span>
|
||||
</button>
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Cron Schedule List for Magento 2 (System)
|
||||
*/ /** @var \Amasty\CronScheduleList\Block\Adminhtml\Notice $block */ ?>
|
||||
<?php /** @var \Magento\Framework\Escaper $escaper */ ?>
|
||||
|
||||
<div class="amasty_cron_notice">
|
||||
<div class="message">
|
||||
<p>
|
||||
<?= $escaper->escapeHtml(__('Last Cron Activity: %1', $block->getLastActivity())); ?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
+170
@@ -0,0 +1,170 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Cron Schedule List for Magento 2 (System)
|
||||
*/-->
|
||||
<listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
|
||||
<argument name="data" xsi:type="array">
|
||||
<item name="js_config" xsi:type="array">
|
||||
<item name="provider" xsi:type="string">amasty_cronschedulelist_schedule_listing.amasty_cronschedulelist_schedule_listing_data_source</item>
|
||||
<item name="deps" xsi:type="string">amasty_cronschedulelist_schedule_listing.amasty_cronschedulelist_schedule_listing_data_source</item>
|
||||
</item>
|
||||
<item name="spinner" xsi:type="string">amasty_cronschedulelist_schedule_listing_columns</item>
|
||||
<item name="buttons" xsi:type="array">
|
||||
<item name="add" xsi:type="array">
|
||||
<item name="name" xsi:type="string">run</item>
|
||||
<item name="label" xsi:type="string" translate="true">Run Cron</item>
|
||||
<item name="class" xsi:type="string">primary</item>
|
||||
<item name="url" xsi:type="string">*/*/runCron</item>
|
||||
</item>
|
||||
</item>
|
||||
</argument>
|
||||
<dataSource name="amasty_cronschedulelist_schedule_listing_data_source">
|
||||
<argument name="dataProvider" xsi:type="configurableObject">
|
||||
<argument name="class" xsi:type="string">Amasty\CronScheduleList\Ui\DataProvider\Listing\ScheduleDataProvider</argument>
|
||||
<argument name="name" xsi:type="string">amasty_cronschedulelist_schedule_listing_data_source</argument>
|
||||
<argument name="primaryFieldName" xsi:type="string">schedule_id</argument>
|
||||
<argument name="requestFieldName" xsi:type="string">schedule_id</argument>
|
||||
<argument name="data" xsi:type="array">
|
||||
<item name="config" xsi:type="array">
|
||||
<item name="component" xsi:type="string">Magento_Ui/js/grid/provider</item>
|
||||
<item name="update_url" xsi:type="url" path="mui/index/render"/>
|
||||
<item name="storageConfig" xsi:type="array">
|
||||
<item name="indexField" xsi:type="string">schedule_id</item>
|
||||
</item>
|
||||
</item>
|
||||
</argument>
|
||||
</argument>
|
||||
</dataSource>
|
||||
|
||||
<listingToolbar name="listing_top">
|
||||
<argument name="data" xsi:type="array">
|
||||
<item name="config" xsi:type="array">
|
||||
<item name="sticky" xsi:type="boolean">true</item>
|
||||
</item>
|
||||
</argument>
|
||||
<filters name="listing_filters">
|
||||
<filterSelect name="status">
|
||||
<argument name="optionsProvider" xsi:type="configurableObject">
|
||||
<argument name="class" xsi:type="string">Amasty\CronScheduleList\Model\OptionSource\StatusFilter</argument>
|
||||
</argument>
|
||||
<argument name="data" xsi:type="array">
|
||||
<item name="config" xsi:type="array">
|
||||
<item name="provider" xsi:type="string">${ $.parentName }</item>
|
||||
<item name="dataScope" xsi:type="string">status</item>
|
||||
<item name="label" xsi:type="string" translate="true">Status</item>
|
||||
<item name="caption" xsi:type="string" translate="true">Select status..</item>
|
||||
</item>
|
||||
</argument>
|
||||
</filterSelect>
|
||||
</filters>
|
||||
<bookmark name="bookmarks"/>
|
||||
<columnsControls name="columns_controls"/>
|
||||
<massaction name="listing_massaction">
|
||||
<argument name="data" xsi:type="array">
|
||||
<item name="config" xsi:type="array">
|
||||
<item name="component" xsi:type="string">Magento_Ui/js/grid/tree-massactions</item>
|
||||
<item name="indexField" xsi:type="string">schedule_id</item>
|
||||
</item>
|
||||
</argument>
|
||||
<action name="delete">
|
||||
<argument name="data" xsi:type="array">
|
||||
<item name="config" xsi:type="array">
|
||||
<item name="type" xsi:type="string">delete</item>
|
||||
<item name="label" xsi:type="string" translate="true">Delete</item>
|
||||
<item name="url" xsi:type="url" path="amasty_cronschedulelist/schedule/massDelete"/>
|
||||
<item name="confirm" xsi:type="array">
|
||||
<item name="title" xsi:type="string" translate="true">Delete Tasks</item>
|
||||
<item name="message" xsi:type="string" translate="true">Are you sure you want to delete selected tasks?</item>
|
||||
</item>
|
||||
</item>
|
||||
</argument>
|
||||
</action>
|
||||
</massaction>
|
||||
<paging name="listing_paging"/>
|
||||
</listingToolbar>
|
||||
<columns name="amasty_cronschedulelist_schedule_listing_columns">
|
||||
<selectionsColumn name="ids">
|
||||
<argument name="data" xsi:type="array">
|
||||
<item name="config" xsi:type="array">
|
||||
<item name="indexField" xsi:type="string">schedule_id</item>
|
||||
</item>
|
||||
</argument>
|
||||
</selectionsColumn>
|
||||
<column name="schedule_id">
|
||||
<argument name="data" xsi:type="array">
|
||||
<item name="config" xsi:type="array">
|
||||
<item name="filter" xsi:type="string">textRange</item>
|
||||
<item name="dataType" xsi:type="string">text</item>
|
||||
<item name="label" xsi:type="string" translate="true">ID</item>
|
||||
</item>
|
||||
</argument>
|
||||
</column>
|
||||
<column name="job_code">
|
||||
<argument name="data" xsi:type="array">
|
||||
<item name="config" xsi:type="array">
|
||||
<item name="filter" xsi:type="string">text</item>
|
||||
<item name="dataType" xsi:type="string">text</item>
|
||||
<item name="label" xsi:type="string" translate="true">Job Code</item>
|
||||
</item>
|
||||
</argument>
|
||||
</column>
|
||||
<column name="status">
|
||||
<argument name="data" xsi:type="array">
|
||||
<item name="config" xsi:type="array">
|
||||
<item name="label" xsi:type="string" translate="true">Status</item>
|
||||
<item name="dataType" xsi:type="string">select</item>
|
||||
<item name="component" xsi:type="string">Magento_Ui/js/grid/columns/select</item>
|
||||
<item name="bodyTmpl" xsi:type="string">ui/grid/cells/html</item>
|
||||
</item>
|
||||
<item name="options" xsi:type="object">Amasty\CronScheduleList\Model\OptionSource\Status</item>
|
||||
</argument>
|
||||
</column>
|
||||
<column name="messages">
|
||||
<argument name="data" xsi:type="array">
|
||||
<item name="config" xsi:type="array">
|
||||
<item name="dataType" xsi:type="string">text</item>
|
||||
<item name="label" xsi:type="string" translate="true">Messages</item>
|
||||
</item>
|
||||
</argument>
|
||||
</column>
|
||||
<column name="created_at" class="Magento\Ui\Component\Listing\Columns\Date">
|
||||
<argument name="data" xsi:type="array">
|
||||
<item name="config" xsi:type="array">
|
||||
<item name="label" xsi:type="string" translate="true">Created At</item>
|
||||
<item name="filter" xsi:type="string">dateRange</item>
|
||||
<item name="component" xsi:type="string">Magento_Ui/js/grid/columns/date</item>
|
||||
</item>
|
||||
</argument>
|
||||
</column>
|
||||
<column name="scheduled_at" class="Magento\Ui\Component\Listing\Columns\Date">
|
||||
<argument name="data" xsi:type="array">
|
||||
<item name="config" xsi:type="array">
|
||||
<item name="label" xsi:type="string" translate="true">Scheduled At</item>
|
||||
<item name="filter" xsi:type="string">dateRange</item>
|
||||
<item name="component" xsi:type="string">Magento_Ui/js/grid/columns/date</item>
|
||||
</item>
|
||||
</argument>
|
||||
</column>
|
||||
<column name="executed_at" class="Magento\Ui\Component\Listing\Columns\Date">
|
||||
<argument name="data" xsi:type="array">
|
||||
<item name="config" xsi:type="array">
|
||||
<item name="label" xsi:type="string" translate="true">Executed At</item>
|
||||
<item name="filter" xsi:type="string">dateRange</item>
|
||||
<item name="component" xsi:type="string">Magento_Ui/js/grid/columns/date</item>
|
||||
</item>
|
||||
</argument>
|
||||
</column>
|
||||
<column name="finished_at" class="Magento\Ui\Component\Listing\Columns\Date">
|
||||
<argument name="data" xsi:type="array">
|
||||
<item name="config" xsi:type="array">
|
||||
<item name="label" xsi:type="string" translate="true">Finished At</item>
|
||||
<item name="filter" xsi:type="string">dateRange</item>
|
||||
<item name="component" xsi:type="string">Magento_Ui/js/grid/columns/date</item>
|
||||
</item>
|
||||
</argument>
|
||||
</column>
|
||||
</columns>
|
||||
</listing>
|
||||
@@ -0,0 +1,26 @@
|
||||
.amasty_cron_advertising_banner {
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
.amasty_cron_advertising_banner .message {
|
||||
position: relative;
|
||||
height: 60px;
|
||||
background: #D0E5A9;
|
||||
padding: 1.5rem 8rem;
|
||||
font-family: Roboto;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 1.8rem;
|
||||
line-height: normal;
|
||||
}
|
||||
.amasty_cron_advertising_banner .message:before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 64px;
|
||||
height: 60px;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2NCA2MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB3aWR0aD0iNjQiIGhlaWdodD0iNjAiIGZpbGw9IiMyNTYwODYiLz48cmVjdCB4PSIxMy45NDI0IiB5PSIxOS4xNjg1IiB3aWR0aD0iMzQuNjE1NCIgaGVpZ2h0PSI3LjAxMDczIiBmaWxsPSIjRURFREVEIi8+PHJlY3QgeD0iMTMuOTQyNCIgeT0iMTkuMTY4NSIgd2lkdGg9IjM0LjYxNTQiIGhlaWdodD0iNy4wMTA3MyIgZmlsbD0iI0UzRTNFMyIvPjxyZWN0IHg9IjEzLjk0MjQiIHk9IjI2LjE3OTEiIHdpZHRoPSIzNC42MTU0IiBoZWlnaHQ9IjcuMDEwNzMiIGZpbGw9IiNFREVERUQiLz48cmVjdCB4PSIxMy45NDI0IiB5PSIzMy4xOTAxIiB3aWR0aD0iMzQuNjE1NCIgaGVpZ2h0PSI3LjAxMDczIiBmaWxsPSIjRURFREVEIi8+PHJlY3QgeD0iMTMuOTQyNCIgeT0iMzMuMTkwMSIgd2lkdGg9IjM0LjYxNTQiIGhlaWdodD0iNy4wMTA3MyIgZmlsbD0iI0UzRTNFMyIvPjxyZWN0IHg9IjEzLjk0MjQiIHk9IjQwLjIwMDciIHdpZHRoPSIzNC42MTU0IiBoZWlnaHQ9IjcuMDEwNzMiIGZpbGw9IiNFREVERUQiLz48cmVjdCB4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