diff options
Diffstat (limited to 'app/Controller')
41 files changed, 64 insertions, 64 deletions
diff --git a/app/Controller/Action.php b/app/Controller/Action.php index d92385c7..8e31fb30 100644 --- a/app/Controller/Action.php +++ b/app/Controller/Action.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; /** * Automatic actions management diff --git a/app/Controller/Activity.php b/app/Controller/Activity.php index 234e4be4..24327c23 100644 --- a/app/Controller/Activity.php +++ b/app/Controller/Activity.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; /** * Activity stream diff --git a/app/Controller/Analytic.php b/app/Controller/Analytic.php index ca2146ed..1082b462 100644 --- a/app/Controller/Analytic.php +++ b/app/Controller/Analytic.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; /** * Project Analytic controller diff --git a/app/Controller/App.php b/app/Controller/App.php index 8a1a6e2b..50ac1d32 100644 --- a/app/Controller/App.php +++ b/app/Controller/App.php @@ -1,8 +1,8 @@ <?php -namespace Controller; +namespace Kanboard\Controller; -use Model\Subtask as SubtaskModel; +use Kanboard\Model\Subtask as SubtaskModel; /** * Application controller diff --git a/app/Controller/Auth.php b/app/Controller/Auth.php index bb1154e4..b40811f4 100644 --- a/app/Controller/Auth.php +++ b/app/Controller/Auth.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; use Gregwar\Captcha\CaptchaBuilder; diff --git a/app/Controller/Base.php b/app/Controller/Base.php index e0fd59cb..8883a676 100644 --- a/app/Controller/Base.php +++ b/app/Controller/Base.php @@ -1,14 +1,14 @@ <?php -namespace Controller; +namespace Kanboard\Controller; use Pimple\Container; -use Core\Security; -use Core\Request; -use Core\Response; -use Core\Template; -use Core\Session; -use Model\LastLogin; +use Kanboard\Core\Security; +use Kanboard\Core\Request; +use Kanboard\Core\Response; +use Kanboard\Core\Template; +use Kanboard\Core\Session; +use Kanboard\Model\LastLogin; use Symfony\Component\EventDispatcher\Event; /** @@ -17,13 +17,13 @@ use Symfony\Component\EventDispatcher\Event; * @package controller * @author Frederic Guillot */ -abstract class Base extends \Core\Base +abstract class Base extends \Kanboard\Core\Base { /** * Request instance * * @accesss protected - * @var \Core\Request + * @var \Kanboard\Core\Request */ protected $request; @@ -31,7 +31,7 @@ abstract class Base extends \Core\Base * Response instance * * @accesss protected - * @var \Core\Response + * @var \Kanboard\Core\Response */ protected $response; diff --git a/app/Controller/Board.php b/app/Controller/Board.php index a2cde287..06c9a2ff 100644 --- a/app/Controller/Board.php +++ b/app/Controller/Board.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; /** * Board controller diff --git a/app/Controller/Calendar.php b/app/Controller/Calendar.php index 7050e54b..131d87aa 100644 --- a/app/Controller/Calendar.php +++ b/app/Controller/Calendar.php @@ -1,8 +1,8 @@ <?php -namespace Controller; +namespace Kanboard\Controller; -use Model\Task as TaskModel; +use Kanboard\Model\Task as TaskModel; /** * Project Calendar controller diff --git a/app/Controller/Category.php b/app/Controller/Category.php index e8d83f2d..065da80b 100644 --- a/app/Controller/Category.php +++ b/app/Controller/Category.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; /** * Category management diff --git a/app/Controller/Column.php b/app/Controller/Column.php index 89c495a6..a07a1fe1 100644 --- a/app/Controller/Column.php +++ b/app/Controller/Column.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; /** * Column controller diff --git a/app/Controller/Comment.php b/app/Controller/Comment.php index cf0af615..90d9d6df 100644 --- a/app/Controller/Comment.php +++ b/app/Controller/Comment.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; /** * Comment controller diff --git a/app/Controller/Config.php b/app/Controller/Config.php index 1ae390c8..ba3c690a 100644 --- a/app/Controller/Config.php +++ b/app/Controller/Config.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; /** * Config controller diff --git a/app/Controller/Currency.php b/app/Controller/Currency.php index 10fb90da..d3f9de5f 100644 --- a/app/Controller/Currency.php +++ b/app/Controller/Currency.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; /** * Currency controller diff --git a/app/Controller/Customfilter.php b/app/Controller/Customfilter.php index 80d18a17..26e6cc87 100644 --- a/app/Controller/Customfilter.php +++ b/app/Controller/Customfilter.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; /** * Custom Filter management @@ -115,7 +115,7 @@ class Customfilter extends Base if (! isset($values['is_shared'])) { $values += array('is_shared' => 0); } - + if (! isset($values['append'])) { $values += array('append' => 0); } diff --git a/app/Controller/Doc.php b/app/Controller/Doc.php index f9f0a675..282f5d15 100644 --- a/app/Controller/Doc.php +++ b/app/Controller/Doc.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; use Parsedown; diff --git a/app/Controller/Export.php b/app/Controller/Export.php index 8b558c0a..cdedcb88 100644 --- a/app/Controller/Export.php +++ b/app/Controller/Export.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; /** * Export controller diff --git a/app/Controller/Feed.php b/app/Controller/Feed.php index c08919c2..95b81fb8 100644 --- a/app/Controller/Feed.php +++ b/app/Controller/Feed.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; /** * Atom/RSS Feed controller diff --git a/app/Controller/File.php b/app/Controller/File.php index ef90c55a..673e2669 100644 --- a/app/Controller/File.php +++ b/app/Controller/File.php @@ -1,8 +1,8 @@ <?php -namespace Controller; +namespace Kanboard\Controller; -use Core\ObjectStorage\ObjectStorageException; +use Kanboard\Core\ObjectStorage\ObjectStorageException; /** * File controller diff --git a/app/Controller/Gantt.php b/app/Controller/Gantt.php index 879ab377..dd02626f 100644 --- a/app/Controller/Gantt.php +++ b/app/Controller/Gantt.php @@ -1,8 +1,8 @@ <?php -namespace Controller; +namespace Kanboard\Controller; -use Model\Task as TaskModel; +use Kanboard\Model\Task as TaskModel; /** * Gantt controller diff --git a/app/Controller/Ical.php b/app/Controller/Ical.php index e89b7e38..ee2b1518 100644 --- a/app/Controller/Ical.php +++ b/app/Controller/Ical.php @@ -1,8 +1,8 @@ <?php -namespace Controller; +namespace Kanboard\Controller; -use Model\TaskFilter; +use Kanboard\Model\TaskFilter; use Eluceo\iCal\Component\Calendar as iCalendar; /** diff --git a/app/Controller/Link.php b/app/Controller/Link.php index 482e415c..73cd95f9 100644 --- a/app/Controller/Link.php +++ b/app/Controller/Link.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; /** * Link controller diff --git a/app/Controller/Listing.php b/app/Controller/Listing.php index 2c197e3e..b9c851f5 100644 --- a/app/Controller/Listing.php +++ b/app/Controller/Listing.php @@ -1,8 +1,8 @@ <?php -namespace Controller; +namespace Kanboard\Controller; -use Model\Task as TaskModel; +use Kanboard\Model\Task as TaskModel; /** * List view controller diff --git a/app/Controller/Oauth.php b/app/Controller/Oauth.php index b0f13dc3..d9fb513b 100644 --- a/app/Controller/Oauth.php +++ b/app/Controller/Oauth.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; /** * OAuth controller diff --git a/app/Controller/Project.php b/app/Controller/Project.php index 3e3e47ce..5a3edf7a 100644 --- a/app/Controller/Project.php +++ b/app/Controller/Project.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; /** * Project controller (Settings + creation/edition) diff --git a/app/Controller/Projectuser.php b/app/Controller/Projectuser.php index 4456ce3d..5729d662 100644 --- a/app/Controller/Projectuser.php +++ b/app/Controller/Projectuser.php @@ -1,9 +1,9 @@ <?php -namespace Controller; +namespace Kanboard\Controller; -use Model\User as UserModel; -use Model\Task as TaskModel; +use Kanboard\Model\User as UserModel; +use Kanboard\Model\Task as TaskModel; /** * Project User overview diff --git a/app/Controller/Search.php b/app/Controller/Search.php index f6dc7a32..67e2df82 100644 --- a/app/Controller/Search.php +++ b/app/Controller/Search.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; /** * Search controller diff --git a/app/Controller/Subtask.php b/app/Controller/Subtask.php index 338918fb..79b74896 100644 --- a/app/Controller/Subtask.php +++ b/app/Controller/Subtask.php @@ -1,8 +1,8 @@ <?php -namespace Controller; +namespace Kanboard\Controller; -use Model\Subtask as SubtaskModel; +use Kanboard\Model\Subtask as SubtaskModel; /** * Subtask controller diff --git a/app/Controller/Swimlane.php b/app/Controller/Swimlane.php index f92e9fe3..69fdf3df 100644 --- a/app/Controller/Swimlane.php +++ b/app/Controller/Swimlane.php @@ -1,8 +1,8 @@ <?php -namespace Controller; +namespace Kanboard\Controller; -use Model\Swimlane as SwimlaneModel; +use Kanboard\Model\Swimlane as SwimlaneModel; /** * Swimlanes diff --git a/app/Controller/Task.php b/app/Controller/Task.php index 8e577839..ab7a8a9c 100644 --- a/app/Controller/Task.php +++ b/app/Controller/Task.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; /** * Task controller diff --git a/app/Controller/TaskImport.php b/app/Controller/TaskImport.php index 0343b1dc..387374c5 100644 --- a/app/Controller/TaskImport.php +++ b/app/Controller/TaskImport.php @@ -1,8 +1,8 @@ <?php -namespace Controller; +namespace Kanboard\Controller; -use Core\Csv; +use Kanboard\Core\Csv; /** * Task Import controller diff --git a/app/Controller/Taskcreation.php b/app/Controller/Taskcreation.php index b9e9a33c..db33a130 100644 --- a/app/Controller/Taskcreation.php +++ b/app/Controller/Taskcreation.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; /** * Task Creation controller diff --git a/app/Controller/Taskduplication.php b/app/Controller/Taskduplication.php index 8d329ca4..2eea1567 100644 --- a/app/Controller/Taskduplication.php +++ b/app/Controller/Taskduplication.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; /** * Task Duplication controller diff --git a/app/Controller/Tasklink.php b/app/Controller/Tasklink.php index dd076802..c9649cc6 100644 --- a/app/Controller/Tasklink.php +++ b/app/Controller/Tasklink.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; /** * TaskLink controller diff --git a/app/Controller/Taskmodification.php b/app/Controller/Taskmodification.php index 638af594..6bd2b25e 100644 --- a/app/Controller/Taskmodification.php +++ b/app/Controller/Taskmodification.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; /** * Task Modification controller diff --git a/app/Controller/Taskstatus.php b/app/Controller/Taskstatus.php index 1768b773..b38a143f 100644 --- a/app/Controller/Taskstatus.php +++ b/app/Controller/Taskstatus.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; /** * Task Status controller diff --git a/app/Controller/Timer.php b/app/Controller/Timer.php index 2a4531ba..b2096f9f 100644 --- a/app/Controller/Timer.php +++ b/app/Controller/Timer.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; /** * Time Tracking controller diff --git a/app/Controller/Twofactor.php b/app/Controller/Twofactor.php index a8b0351f..029ee048 100644 --- a/app/Controller/Twofactor.php +++ b/app/Controller/Twofactor.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; use Otp\Otp; use Otp\GoogleAuthenticator; diff --git a/app/Controller/User.php b/app/Controller/User.php index 0b39619d..15e9a0ee 100644 --- a/app/Controller/User.php +++ b/app/Controller/User.php @@ -1,8 +1,8 @@ <?php -namespace Controller; +namespace Kanboard\Controller; -use Model\NotificationType; +use Kanboard\Model\NotificationType; /** * User controller diff --git a/app/Controller/UserImport.php b/app/Controller/UserImport.php index 9c27aa06..59defa0a 100644 --- a/app/Controller/UserImport.php +++ b/app/Controller/UserImport.php @@ -1,8 +1,8 @@ <?php -namespace Controller; +namespace Kanboard\Controller; -use Core\Csv; +use Kanboard\Core\Csv; /** * User Import controller diff --git a/app/Controller/Webhook.php b/app/Controller/Webhook.php index 1a4cfe9a..1b3a659b 100644 --- a/app/Controller/Webhook.php +++ b/app/Controller/Webhook.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; /** * Webhook controller diff --git a/app/Controller/Webnotification.php b/app/Controller/Webnotification.php index a481e9b8..52e3f266 100644 --- a/app/Controller/Webnotification.php +++ b/app/Controller/Webnotification.php @@ -1,6 +1,6 @@ <?php -namespace Controller; +namespace Kanboard\Controller; /** * Web notification controller |