Skip to content

Commit

Permalink
Merge branch 'dcon' into 'ditsuke/dcon'
Browse files Browse the repository at this point in the history
  • Loading branch information
ditsuke committed Sep 1, 2021
2 parents 785c844 + ce3244a commit 4edb1e0
Show file tree
Hide file tree
Showing 30 changed files with 70 additions and 67 deletions.
8 changes: 4 additions & 4 deletions administrator/components/com_scheduler/forms/filter_tasks.xml
Expand Up @@ -52,14 +52,14 @@
<option value="">JGLOBAL_SORT_BY</option>
<option value="a.id ASC">JGRID_HEADING_ID_ASC</option>
<option value="a.id DESC">JGRID_HEADING_ID_DESC</option>
<option value="a.ordering ASC">JGRID_HEADING_ORDERING_ASC</option>
<option value="a.ordering DESC">JGRID_HEADING_ORDERING_DESC</option>
<option value="a.state ASC">JSTATUS_ASC</option>
<option value="a.state DESC">JSTATUS_DESC</option>
<option value="a.title ASC">JGLOBAL_TITLE_ASC</option>
<option value="a.title DESC">JGLOBAL_TITLE_DESC</option>
<option value="j.type_title ASC">COM_SCHEDULER_TASK_TYPE_ASC</option>
<option value="j.type_title DESC">COM_SCHEDULER_TASK_TYPE_DESC</option>
<option value="a.state ASC">JSTATUS_ASC</option>
<option value="a.state DESC">JSTATUS_DESC</option>
<option value="a.ordering ASC">JGRID_HEADING_ORDERING_ASC</option>
<option value="a.ordering DESC">JGRID_HEADING_ORDERING_DESC</option>
</field>
<field
name="limit"
Expand Down
5 changes: 3 additions & 2 deletions administrator/components/com_scheduler/services/provider.php
@@ -1,14 +1,15 @@
<?php
/**
* Returns the service provider class for com_scheduler.
*
* @package Joomla.Administrator
* @subpackage com_scheduler
*
* @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

/** Returns the service provider class for com_scheduler. */

// Restrict direct access
defined('_JEXEC') or die;

use Joomla\CMS\Dispatcher\ComponentDispatcherFactoryInterface;
Expand Down
@@ -1,14 +1,14 @@
<?php
/**
* Declares the default controller (DisplayController) for com_scheduler
*
* @package Joomla.Administrator
* @subpackage com_scheduler
*
* @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

/** Implements the default controller (DisplayController) for com_scheduler */

namespace Joomla\Component\Scheduler\Administrator\Controller;

// Restrict direct access
Expand Down
@@ -1,18 +1,20 @@
<?php
/**
* Declares the MVC controller for TaskModel.
*
* * : Model implicitly defaults to TaskModel through a call to parent::getModel()
*
* @todo : Check if the controller needs more overrides
*
* @package Joomla.Administrator
* @subpackage com_scheduler
*
* @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

/**
* Implements the MVC controller for TaskModel.
*
* * : Model implicitly defaults to TaskModel through a call to parent::getModel()
*
* @todo : Check if the controller needs more overrides
*/

namespace Joomla\Component\Scheduler\Administrator\Controller;

// Restrict direct access
Expand Down
@@ -1,14 +1,14 @@
<?php
/**
* Declares the MVC controller for TasksView.
*
* @package Joomla.Administrator
* @subpackage com_scheduler
*
* @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

/** Implements the MVC controller for TasksView. */

namespace Joomla\Component\Scheduler\Administrator\Controller;

// Restrict direct access
Expand Down
@@ -1,14 +1,14 @@
<?php
/**
* Declares the ExecuteTaskEvent Event.
*
* @package Joomla.Administrator
* @subpackage com_scheduler
*
* @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

/** Implements the ExecuteTaskEvent Event. */

namespace Joomla\Component\Scheduler\Administrator\Event;

// Restrict direct access
Expand Down
@@ -1,14 +1,14 @@
<?php
/**
* Implements the Scheduler component class
*
* @package Joomla.Administrator
* @subpackage com_scheduler
*
* @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

/** Implements the Scheduler component class. */

namespace Joomla\Component\Scheduler\Administrator\Extension;

// Restrict direct access
Expand Down
@@ -1,14 +1,14 @@
<?php
/**
* Declares a list field with all possible states for a (cron)job entry.
*
* @package Joomla.Administrator
* @subpackage com_scheduler
*
* @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

/** Declares a list field with all possible states for a task entry. */

namespace Joomla\Component\Scheduler\Administrator\Field;

// Restrict direct access
Expand Down
@@ -1,14 +1,14 @@
<?php
/**
* Declares the JobTypeField for listing all available job types.
*
* @package Joomla.Administrator
* @subpackage com_scheduler
*
* @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

/** Declares the TaskTypeField for listing all available task routines. */

namespace Joomla\Component\Scheduler\Administrator\Field;

// Restrict direct access
Expand Down Expand Up @@ -49,7 +49,7 @@ protected function getOptions(): array
{
$options = parent::getOptions();

// Get all available job types and sort by title
// Get all available task types and sort by title
$types = ArrayHelper::sortObjects(
SchedulerHelper::getTaskOptions()->options,
'title', 1
Expand Down
@@ -1,14 +1,14 @@
<?php
/**
* Declares the helper class ExecRuleHelper.
*
* @package Joomla.Administrator
* @subpackage com_scheduler
*
* @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

/** Implements the helper class ExecRuleHelper. */

namespace Joomla\Component\Scheduler\Administrator\Helper;

// Restrict direct access
Expand Down
@@ -1,14 +1,14 @@
<?php
/**
* Implements the SchedulerHelper class
*
* @package Joomla.Administrator
* @subpackage com_scheduler
*
* @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

/** Implements the SchedulerHelper class. */

namespace Joomla\Component\Scheduler\Administrator\Helper;

// Restrict direct access
Expand Down
@@ -1,14 +1,14 @@
<?php
/**
* Declares the SelectModel MVC Model.
*
* @package Joomla.Administrator
* @subpackage com_scheduler
*
* @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

/** Implements the MVC Model for SelectView. */

namespace Joomla\Component\Scheduler\Administrator\Model;

// Restrict direct access
Expand Down
@@ -1,14 +1,14 @@
<?php
/**
* Declares the TaskModel MVC Model.
*
* @package Joomla.Administrator
* @subpackage com_scheduler
*
* @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

/** Implements the MVC Model for TaskView. */

namespace Joomla\Component\Scheduler\Administrator\Model;

// Restrict direct access
Expand Down
@@ -1,14 +1,14 @@
<?php
/**
* Declares the TasksModel MVC Model.
*
* @package Joomla.Administrator
* @subpackage com_scheduler
*
* @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

/** Implements the MVC Model for TasksView. */

namespace Joomla\Component\Scheduler\Administrator\Model;

// Restrict direct access
Expand Down
@@ -1,14 +1,14 @@
<?php
/**
* Declares the validation class for execution-rules.
*
* @package Joomla.Administrator
* @subpackage com_scheduler
*
* @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

/** Implements the validation class for execution-rules. */

namespace Joomla\Component\Scheduler\Administrator\Rule;

// Restrict direct access
Expand Down
@@ -1,14 +1,14 @@
<?php
/**
* Declares the main Table object for com_scheduler
*
* @package Joomla.Administrator
* @subpackage com_scheduler
*
* @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

/** Implements the Table class for com_scheduler.tasks. */

namespace Joomla\Component\Scheduler\Administrator\Table;

// Restrict direct access
Expand Down
4 changes: 2 additions & 2 deletions administrator/components/com_scheduler/src/Task/Status.php
@@ -1,7 +1,7 @@
<?php
/**
* @package Joomla.
* @subpackage sub
* @package Joomla.Administrator
* @subpackage com_scheduler
*
* @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
Expand Down
4 changes: 2 additions & 2 deletions administrator/components/com_scheduler/src/Task/Task.php
@@ -1,14 +1,14 @@
<?php
/**
* Implements the Task class.
*
* @package Joomla.Administrator
* @subpackage com_scheduler
*
* @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

/** Implements the Task class. */

namespace Joomla\Component\Scheduler\Administrator\Task;

// Restrict direct access
Expand Down
@@ -1,14 +1,14 @@
<?php
/**
* Implements the TaskOption class, used by com_scheduler to refer to plugin task routines.
*
* @package Joomla.Administrator
* @subpackage com_scheduler
*
* @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

/** Implements the TaskOption class, used by com_scheduler to refer to plugin task routines. */

namespace Joomla\Component\Scheduler\Administrator\Task;

// Restrict direct access
Expand Down
@@ -1,7 +1,5 @@
<?php
/**
* Implements the TaskOptions class used by com_scheduler as the subject arg for the `onTaskOptionsList` event.
*
* @package Joomla.Administrator
* @subpackage com_scheduler
*
Expand All @@ -10,6 +8,8 @@
*
*/

/** Implements the TaskOptions class used by com_scheduler as the subject arg for the `onTaskOptionsList` event. */

namespace Joomla\Component\Scheduler\Administrator\Task;

// Restrict direct access
Expand Down
@@ -1,14 +1,14 @@
<?php
/**
* Declares the TaskPluginTrait.
*
* @package Joomla.Administrator
* @subpackage com_scheduler
*
* @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

/** Implements the TaskPluginTrait. */

namespace Joomla\Component\Scheduler\Administrator\Traits;

// Restrict direct access
Expand Down
@@ -1,14 +1,14 @@
<?php
/**
* Declares the MVC View for Task type selection.
*
* @package Joomla.Administrator
* @subpackage com_scheduler
*
* @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

/** Implements the MVC View for Task type selection (SelectView). */

namespace Joomla\Component\Scheduler\Administrator\View\Select;

// Restrict direct access
Expand Down

0 comments on commit 4edb1e0

Please sign in to comment.