diff options
Diffstat (limited to 'app/Action')
22 files changed, 56 insertions, 56 deletions
diff --git a/app/Action/Base.php b/app/Action/Base.php index c8ff02a4..4d2d6da6 100644 --- a/app/Action/Base.php +++ b/app/Action/Base.php @@ -1,8 +1,8 @@ <?php -namespace Action; +namespace Kanboard\Action; -use Event\GenericEvent; +use Kanboard\Event\GenericEvent; use Pimple\Container; /** @@ -11,7 +11,7 @@ use Pimple\Container; * @package action * @author Frederic Guillot */ -abstract class Base extends \Core\Base +abstract class Base extends \Kanboard\Core\Base { /** * Flag for called listener diff --git a/app/Action/CommentCreation.php b/app/Action/CommentCreation.php index 4029c875..73fedc3b 100644 --- a/app/Action/CommentCreation.php +++ b/app/Action/CommentCreation.php @@ -1,10 +1,10 @@ <?php -namespace Action; +namespace Kanboard\Action; -use Integration\BitbucketWebhook; -use Integration\GithubWebhook; -use Integration\GitlabWebhook; +use Kanboard\Integration\BitbucketWebhook; +use Kanboard\Integration\GithubWebhook; +use Kanboard\Integration\GitlabWebhook; /** * Create automatically a comment from a webhook diff --git a/app/Action/TaskAssignCategoryColor.php b/app/Action/TaskAssignCategoryColor.php index ba319a1f..ffa1ac2a 100644 --- a/app/Action/TaskAssignCategoryColor.php +++ b/app/Action/TaskAssignCategoryColor.php @@ -1,8 +1,8 @@ <?php -namespace Action; +namespace Kanboard\Action; -use Model\Task; +use Kanboard\Model\Task; /** * Set a category automatically according to the color diff --git a/app/Action/TaskAssignCategoryLabel.php b/app/Action/TaskAssignCategoryLabel.php index 1383d491..0ef474b6 100644 --- a/app/Action/TaskAssignCategoryLabel.php +++ b/app/Action/TaskAssignCategoryLabel.php @@ -1,8 +1,8 @@ <?php -namespace Action; +namespace Kanboard\Action; -use Integration\GithubWebhook; +use Kanboard\Integration\GithubWebhook; /** * Set a category automatically according to a label diff --git a/app/Action/TaskAssignColorCategory.php b/app/Action/TaskAssignColorCategory.php index a362c68f..a2332f78 100644 --- a/app/Action/TaskAssignColorCategory.php +++ b/app/Action/TaskAssignColorCategory.php @@ -1,8 +1,8 @@ <?php -namespace Action; +namespace Kanboard\Action; -use Model\Task; +use Kanboard\Model\Task; /** * Assign a color to a specific category diff --git a/app/Action/TaskAssignColorColumn.php b/app/Action/TaskAssignColorColumn.php index deb3e2b0..53140733 100644 --- a/app/Action/TaskAssignColorColumn.php +++ b/app/Action/TaskAssignColorColumn.php @@ -1,8 +1,8 @@ <?php -namespace Action; +namespace Kanboard\Action; -use Model\Task; +use Kanboard\Model\Task; /** * Assign a color to a task diff --git a/app/Action/TaskAssignColorLink.php b/app/Action/TaskAssignColorLink.php index d055f225..67b2ef62 100644 --- a/app/Action/TaskAssignColorLink.php +++ b/app/Action/TaskAssignColorLink.php @@ -1,8 +1,8 @@ <?php -namespace Action; +namespace Kanboard\Action; -use Model\TaskLink; +use Kanboard\Model\TaskLink; /** * Assign a color to a specific task link diff --git a/app/Action/TaskAssignColorUser.php b/app/Action/TaskAssignColorUser.php index 6161514d..6bf02c36 100644 --- a/app/Action/TaskAssignColorUser.php +++ b/app/Action/TaskAssignColorUser.php @@ -1,8 +1,8 @@ <?php -namespace Action; +namespace Kanboard\Action; -use Model\Task; +use Kanboard\Model\Task; /** * Assign a color to a specific user diff --git a/app/Action/TaskAssignCurrentUser.php b/app/Action/TaskAssignCurrentUser.php index ff3aaee1..f34c4f36 100644 --- a/app/Action/TaskAssignCurrentUser.php +++ b/app/Action/TaskAssignCurrentUser.php @@ -1,8 +1,8 @@ <?php -namespace Action; +namespace Kanboard\Action; -use Model\Task; +use Kanboard\Model\Task; /** * Assign a task to the logged user diff --git a/app/Action/TaskAssignSpecificUser.php b/app/Action/TaskAssignSpecificUser.php index 4c96f7f0..dfcb281b 100644 --- a/app/Action/TaskAssignSpecificUser.php +++ b/app/Action/TaskAssignSpecificUser.php @@ -1,8 +1,8 @@ <?php -namespace Action; +namespace Kanboard\Action; -use Model\Task; +use Kanboard\Model\Task; /** * Assign a task to a specific user diff --git a/app/Action/TaskAssignUser.php b/app/Action/TaskAssignUser.php index c28df9fb..a5821729 100644 --- a/app/Action/TaskAssignUser.php +++ b/app/Action/TaskAssignUser.php @@ -1,9 +1,9 @@ <?php -namespace Action; +namespace Kanboard\Action; -use Integration\GithubWebhook; -use Integration\BitbucketWebhook; +use Kanboard\Integration\GithubWebhook; +use Kanboard\Integration\BitbucketWebhook; /** * Assign a task to someone diff --git a/app/Action/TaskClose.php b/app/Action/TaskClose.php index 0fe58dac..d80bd023 100644 --- a/app/Action/TaskClose.php +++ b/app/Action/TaskClose.php @@ -1,11 +1,11 @@ <?php -namespace Action; +namespace Kanboard\Action; -use Integration\GitlabWebhook; -use Integration\GithubWebhook; -use Integration\BitbucketWebhook; -use Model\Task; +use Kanboard\Integration\GitlabWebhook; +use Kanboard\Integration\GithubWebhook; +use Kanboard\Integration\BitbucketWebhook; +use Kanboard\Model\Task; /** * Close automatically a task diff --git a/app/Action/TaskCreation.php b/app/Action/TaskCreation.php index bb5b05c2..af1403f0 100644 --- a/app/Action/TaskCreation.php +++ b/app/Action/TaskCreation.php @@ -1,10 +1,10 @@ <?php -namespace Action; +namespace Kanboard\Action; -use Integration\GithubWebhook; -use Integration\GitlabWebhook; -use Integration\BitbucketWebhook; +use Kanboard\Integration\GithubWebhook; +use Kanboard\Integration\GitlabWebhook; +use Kanboard\Integration\BitbucketWebhook; /** * Create automatically a task from a webhook diff --git a/app/Action/TaskDuplicateAnotherProject.php b/app/Action/TaskDuplicateAnotherProject.php index 7b7c6bf6..1f6684dd 100644 --- a/app/Action/TaskDuplicateAnotherProject.php +++ b/app/Action/TaskDuplicateAnotherProject.php @@ -1,8 +1,8 @@ <?php -namespace Action; +namespace Kanboard\Action; -use Model\Task; +use Kanboard\Model\Task; /** * Duplicate a task to another project diff --git a/app/Action/TaskEmail.php b/app/Action/TaskEmail.php index 363a01c6..355a49d8 100644 --- a/app/Action/TaskEmail.php +++ b/app/Action/TaskEmail.php @@ -1,8 +1,8 @@ <?php -namespace Action; +namespace Kanboard\Action; -use Model\Task; +use Kanboard\Model\Task; /** * Email a task to someone diff --git a/app/Action/TaskLogMoveAnotherColumn.php b/app/Action/TaskLogMoveAnotherColumn.php index 621e8e6c..39c7710f 100644 --- a/app/Action/TaskLogMoveAnotherColumn.php +++ b/app/Action/TaskLogMoveAnotherColumn.php @@ -1,9 +1,9 @@ <?php -namespace Action; +namespace Kanboard\Action; -use Model\GithubWebhook; -use Model\Task; +use Kanboard\Model\GithubWebhook; +use Kanboard\Model\Task; /** * Add a log of the triggering event to the task description. @@ -60,7 +60,7 @@ class TaskLogMoveAnotherColumn extends Base if (! $this->userSession->isLogged()) { return false; } - + $column = $this->board->getColumn($data['column_id']); return (bool) $this->comment->create(array( diff --git a/app/Action/TaskMoveAnotherProject.php b/app/Action/TaskMoveAnotherProject.php index ee212998..476e2036 100644 --- a/app/Action/TaskMoveAnotherProject.php +++ b/app/Action/TaskMoveAnotherProject.php @@ -1,8 +1,8 @@ <?php -namespace Action; +namespace Kanboard\Action; -use Model\Task; +use Kanboard\Model\Task; /** * Move a task to another project diff --git a/app/Action/TaskMoveColumnAssigned.php b/app/Action/TaskMoveColumnAssigned.php index 70ad7699..16622ee4 100644 --- a/app/Action/TaskMoveColumnAssigned.php +++ b/app/Action/TaskMoveColumnAssigned.php @@ -1,8 +1,8 @@ <?php -namespace Action; +namespace Kanboard\Action; -use Model\Task; +use Kanboard\Model\Task; /** * Move a task to another column when an assignee is set diff --git a/app/Action/TaskMoveColumnCategoryChange.php b/app/Action/TaskMoveColumnCategoryChange.php index a0f41ba4..1e12be4a 100644 --- a/app/Action/TaskMoveColumnCategoryChange.php +++ b/app/Action/TaskMoveColumnCategoryChange.php @@ -1,8 +1,8 @@ <?php -namespace Action; +namespace Kanboard\Action; -use Model\Task; +use Kanboard\Model\Task; /** * Move a task to another column when the category is changed diff --git a/app/Action/TaskMoveColumnUnAssigned.php b/app/Action/TaskMoveColumnUnAssigned.php index 2216c8d0..617c75a8 100644 --- a/app/Action/TaskMoveColumnUnAssigned.php +++ b/app/Action/TaskMoveColumnUnAssigned.php @@ -1,8 +1,8 @@ <?php -namespace Action; +namespace Kanboard\Action; -use Model\Task; +use Kanboard\Model\Task; /** * Move a task to another column when an assignee is cleared diff --git a/app/Action/TaskOpen.php b/app/Action/TaskOpen.php index ee42ab32..2e53efae 100644 --- a/app/Action/TaskOpen.php +++ b/app/Action/TaskOpen.php @@ -1,9 +1,9 @@ <?php -namespace Action; +namespace Kanboard\Action; -use Integration\GithubWebhook; -use Integration\BitbucketWebhook; +use Kanboard\Integration\GithubWebhook; +use Kanboard\Integration\BitbucketWebhook; /** * Open automatically a task diff --git a/app/Action/TaskUpdateStartDate.php b/app/Action/TaskUpdateStartDate.php index 4cd50c9a..4cd548af 100644 --- a/app/Action/TaskUpdateStartDate.php +++ b/app/Action/TaskUpdateStartDate.php @@ -1,8 +1,8 @@ <?php -namespace Action; +namespace Kanboard\Action; -use Model\Task; +use Kanboard\Model\Task; /** * Set the start date of task |