summaryrefslogtreecommitdiff
path: root/app/ServiceProvider/ActionProvider.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2017-12-06 18:31:43 -0800
committerFrédéric Guillot <fred@kanboard.net>2017-12-06 18:31:43 -0800
commit230eddcc69f7f31cdc489ad3de21a46de958f605 (patch)
tree5cb6de16f60646b3b8210214687975a645d5352e /app/ServiceProvider/ActionProvider.php
parent0060fb9d5c2d75203aa7662e646d1f6db2c977a8 (diff)
Add two automatic actions for subtasks
- Action to create a subtask assigned to the creator and start the timer - Action to stop the timer of subtasks
Diffstat (limited to 'app/ServiceProvider/ActionProvider.php')
-rw-r--r--app/ServiceProvider/ActionProvider.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/ServiceProvider/ActionProvider.php b/app/ServiceProvider/ActionProvider.php
index 14b84c7a..73d7f171 100644
--- a/app/ServiceProvider/ActionProvider.php
+++ b/app/ServiceProvider/ActionProvider.php
@@ -41,6 +41,8 @@ use Kanboard\Action\TaskCloseNoActivityColumn;
use Kanboard\Action\TaskCloseNotMovedColumn;
use Kanboard\Action\TaskAssignColorSwimlane;
use Kanboard\Action\TaskAssignPrioritySwimlane;
+use Kanboard\Action\SubtaskTimerMoveTaskColumn;
+use Kanboard\Action\StopSubtaskTimerMoveTaskColumn;
/**
* Action Provider
@@ -96,6 +98,8 @@ class ActionProvider implements ServiceProviderInterface
$container['actionManager']->register(new TaskAssignColorSwimlane($container));
$container['actionManager']->register(new TaskAssignPrioritySwimlane($container));
$container['actionManager']->register(new TaskAssignColorOnDueDate($container));
+ $container['actionManager']->register(new SubtaskTimerMoveTaskColumn($container));
+ $container['actionManager']->register(new StopSubtaskTimerMoveTaskColumn($container));
return $container;
}