Change namespace to add Kanboard as prefix

This commit is contained in:
Frederic Guillot
2015-10-13 22:19:17 -04:00
parent 7bfa38d93c
commit 9c9ed02cd7
329 changed files with 1184 additions and 1149 deletions

View File

@@ -1,6 +1,10 @@
Version 1.0.20 (unreleased) Version 1.0.20 (unreleased)
--------------------------- ---------------------------
Breaking changes:
- Add namespace Kanboard
New features: New features:
* Add CSV import for users and tasks * Add CSV import for users and tasks

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Action; namespace Kanboard\Action;
use Event\GenericEvent; use Kanboard\Event\GenericEvent;
use Pimple\Container; use Pimple\Container;
/** /**
@@ -11,7 +11,7 @@ use Pimple\Container;
* @package action * @package action
* @author Frederic Guillot * @author Frederic Guillot
*/ */
abstract class Base extends \Core\Base abstract class Base extends \Kanboard\Core\Base
{ {
/** /**
* Flag for called listener * Flag for called listener

View File

@@ -1,10 +1,10 @@
<?php <?php
namespace Action; namespace Kanboard\Action;
use Integration\BitbucketWebhook; use Kanboard\Integration\BitbucketWebhook;
use Integration\GithubWebhook; use Kanboard\Integration\GithubWebhook;
use Integration\GitlabWebhook; use Kanboard\Integration\GitlabWebhook;
/** /**
* Create automatically a comment from a webhook * Create automatically a comment from a webhook

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Action; namespace Kanboard\Action;
use Model\Task; use Kanboard\Model\Task;
/** /**
* Set a category automatically according to the color * Set a category automatically according to the color

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Action; namespace Kanboard\Action;
use Integration\GithubWebhook; use Kanboard\Integration\GithubWebhook;
/** /**
* Set a category automatically according to a label * Set a category automatically according to a label

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Action; namespace Kanboard\Action;
use Model\Task; use Kanboard\Model\Task;
/** /**
* Assign a color to a specific category * Assign a color to a specific category

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Action; namespace Kanboard\Action;
use Model\Task; use Kanboard\Model\Task;
/** /**
* Assign a color to a task * Assign a color to a task

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Action; namespace Kanboard\Action;
use Model\TaskLink; use Kanboard\Model\TaskLink;
/** /**
* Assign a color to a specific task link * Assign a color to a specific task link

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Action; namespace Kanboard\Action;
use Model\Task; use Kanboard\Model\Task;
/** /**
* Assign a color to a specific user * Assign a color to a specific user

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Action; namespace Kanboard\Action;
use Model\Task; use Kanboard\Model\Task;
/** /**
* Assign a task to the logged user * Assign a task to the logged user

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Action; namespace Kanboard\Action;
use Model\Task; use Kanboard\Model\Task;
/** /**
* Assign a task to a specific user * Assign a task to a specific user

View File

@@ -1,9 +1,9 @@
<?php <?php
namespace Action; namespace Kanboard\Action;
use Integration\GithubWebhook; use Kanboard\Integration\GithubWebhook;
use Integration\BitbucketWebhook; use Kanboard\Integration\BitbucketWebhook;
/** /**
* Assign a task to someone * Assign a task to someone

View File

@@ -1,11 +1,11 @@
<?php <?php
namespace Action; namespace Kanboard\Action;
use Integration\GitlabWebhook; use Kanboard\Integration\GitlabWebhook;
use Integration\GithubWebhook; use Kanboard\Integration\GithubWebhook;
use Integration\BitbucketWebhook; use Kanboard\Integration\BitbucketWebhook;
use Model\Task; use Kanboard\Model\Task;
/** /**
* Close automatically a task * Close automatically a task

View File

@@ -1,10 +1,10 @@
<?php <?php
namespace Action; namespace Kanboard\Action;
use Integration\GithubWebhook; use Kanboard\Integration\GithubWebhook;
use Integration\GitlabWebhook; use Kanboard\Integration\GitlabWebhook;
use Integration\BitbucketWebhook; use Kanboard\Integration\BitbucketWebhook;
/** /**
* Create automatically a task from a webhook * Create automatically a task from a webhook

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Action; namespace Kanboard\Action;
use Model\Task; use Kanboard\Model\Task;
/** /**
* Duplicate a task to another project * Duplicate a task to another project

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Action; namespace Kanboard\Action;
use Model\Task; use Kanboard\Model\Task;
/** /**
* Email a task to someone * Email a task to someone

View File

@@ -1,9 +1,9 @@
<?php <?php
namespace Action; namespace Kanboard\Action;
use Model\GithubWebhook; use Kanboard\Model\GithubWebhook;
use Model\Task; use Kanboard\Model\Task;
/** /**
* Add a log of the triggering event to the task description. * Add a log of the triggering event to the task description.
@@ -60,7 +60,7 @@ class TaskLogMoveAnotherColumn extends Base
if (! $this->userSession->isLogged()) { if (! $this->userSession->isLogged()) {
return false; return false;
} }
$column = $this->board->getColumn($data['column_id']); $column = $this->board->getColumn($data['column_id']);
return (bool) $this->comment->create(array( return (bool) $this->comment->create(array(

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Action; namespace Kanboard\Action;
use Model\Task; use Kanboard\Model\Task;
/** /**
* Move a task to another project * Move a task to another project

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Action; namespace Kanboard\Action;
use Model\Task; use Kanboard\Model\Task;
/** /**
* Move a task to another column when an assignee is set * Move a task to another column when an assignee is set

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Action; namespace Kanboard\Action;
use Model\Task; use Kanboard\Model\Task;
/** /**
* Move a task to another column when the category is changed * Move a task to another column when the category is changed

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Action; namespace Kanboard\Action;
use Model\Task; use Kanboard\Model\Task;
/** /**
* Move a task to another column when an assignee is cleared * Move a task to another column when an assignee is cleared

View File

@@ -1,9 +1,9 @@
<?php <?php
namespace Action; namespace Kanboard\Action;
use Integration\GithubWebhook; use Kanboard\Integration\GithubWebhook;
use Integration\BitbucketWebhook; use Kanboard\Integration\BitbucketWebhook;
/** /**
* Open automatically a task * Open automatically a task

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Action; namespace Kanboard\Action;
use Model\Task; use Kanboard\Model\Task;
/** /**
* Set the start date of task * Set the start date of task

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Api; namespace Kanboard\Api;
/** /**
* Action API controller * Action API controller
@@ -8,7 +8,7 @@ namespace Api;
* @package api * @package api
* @author Frederic Guillot * @author Frederic Guillot
*/ */
class Action extends \Core\Base class Action extends \Kanboard\Core\Base
{ {
public function getAvailableActions() public function getAvailableActions()
{ {

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Api; namespace Kanboard\Api;
/** /**
* App API controller * App API controller
@@ -8,7 +8,7 @@ namespace Api;
* @package api * @package api
* @author Frederic Guillot * @author Frederic Guillot
*/ */
class App extends \Core\Base class App extends \Kanboard\Core\Base
{ {
public function getTimezone() public function getTimezone()
{ {

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Api; namespace Kanboard\Api;
use JsonRPC\AuthenticationFailure; use JsonRPC\AuthenticationFailure;
use Symfony\Component\EventDispatcher\Event; use Symfony\Component\EventDispatcher\Event;

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Api; namespace Kanboard\Api;
use JsonRPC\AuthenticationFailure; use JsonRPC\AuthenticationFailure;
use JsonRPC\AccessDeniedException; use JsonRPC\AccessDeniedException;
@@ -11,7 +11,7 @@ use JsonRPC\AccessDeniedException;
* @package api * @package api
* @author Frederic Guillot * @author Frederic Guillot
*/ */
abstract class Base extends \Core\Base abstract class Base extends \Kanboard\Core\Base
{ {
private $user_allowed_procedures = array( private $user_allowed_procedures = array(
'getMe', 'getMe',

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Api; namespace Kanboard\Api;
/** /**
* Board API controller * Board API controller

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Api; namespace Kanboard\Api;
/** /**
* Category API controller * Category API controller
@@ -8,7 +8,7 @@ namespace Api;
* @package api * @package api
* @author Frederic Guillot * @author Frederic Guillot
*/ */
class Category extends \Core\Base class Category extends \Kanboard\Core\Base
{ {
public function getCategory($category_id) public function getCategory($category_id)
{ {

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Api; namespace Kanboard\Api;
/** /**
* Comment API controller * Comment API controller
@@ -8,7 +8,7 @@ namespace Api;
* @package api * @package api
* @author Frederic Guillot * @author Frederic Guillot
*/ */
class Comment extends \Core\Base class Comment extends \Kanboard\Core\Base
{ {
public function getComment($comment_id) public function getComment($comment_id)
{ {

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Api; namespace Kanboard\Api;
use Core\ObjectStorage\ObjectStorageException; use Kanboard\Core\ObjectStorage\ObjectStorageException;
/** /**
* File API controller * File API controller
@@ -10,7 +10,7 @@ use Core\ObjectStorage\ObjectStorageException;
* @package api * @package api
* @author Frederic Guillot * @author Frederic Guillot
*/ */
class File extends \Core\Base class File extends \Kanboard\Core\Base
{ {
public function getFile($file_id) public function getFile($file_id)
{ {

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Api; namespace Kanboard\Api;
/** /**
* Link API controller * Link API controller
@@ -8,7 +8,7 @@ namespace Api;
* @package api * @package api
* @author Frederic Guillot * @author Frederic Guillot
*/ */
class Link extends \Core\Base class Link extends \Kanboard\Core\Base
{ {
/** /**
* Get a link by id * Get a link by id

View File

@@ -1,9 +1,9 @@
<?php <?php
namespace Api; namespace Kanboard\Api;
use Model\Subtask as SubtaskModel; use Kanboard\Model\Subtask as SubtaskModel;
use Model\Task as TaskModel; use Kanboard\Model\Task as TaskModel;
/** /**
* Me API controller * Me API controller

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Api; namespace Kanboard\Api;
/** /**
* Project API controller * Project API controller

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Api; namespace Kanboard\Api;
/** /**
* ProjectPermission API controller * ProjectPermission API controller
@@ -8,7 +8,7 @@ namespace Api;
* @package api * @package api
* @author Frederic Guillot * @author Frederic Guillot
*/ */
class ProjectPermission extends \Core\Base class ProjectPermission extends \Kanboard\Core\Base
{ {
public function getMembers($project_id) public function getMembers($project_id)
{ {

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Api; namespace Kanboard\Api;
/** /**
* Subtask API controller * Subtask API controller
@@ -8,7 +8,7 @@ namespace Api;
* @package api * @package api
* @author Frederic Guillot * @author Frederic Guillot
*/ */
class Subtask extends \Core\Base class Subtask extends \Kanboard\Core\Base
{ {
public function getSubtask($subtask_id) public function getSubtask($subtask_id)
{ {

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Api; namespace Kanboard\Api;
/** /**
* Swimlane API controller * Swimlane API controller
@@ -8,7 +8,7 @@ namespace Api;
* @package api * @package api
* @author Frederic Guillot * @author Frederic Guillot
*/ */
class Swimlane extends \Core\Base class Swimlane extends \Kanboard\Core\Base
{ {
public function getActiveSwimlanes($project_id) public function getActiveSwimlanes($project_id)
{ {

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Api; namespace Kanboard\Api;
use Model\Task as TaskModel; use Kanboard\Model\Task as TaskModel;
/** /**
* Task API controller * Task API controller
@@ -34,7 +34,7 @@ class Task extends Base
{ {
return $this->taskFinder->getOverdueTasks(); return $this->taskFinder->getOverdueTasks();
} }
public function getOverdueTasksByProject($project_id) public function getOverdueTasksByProject($project_id)
{ {
$this->checkProjectPermission($project_id); $this->checkProjectPermission($project_id);

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Api; namespace Kanboard\Api;
/** /**
* TaskLink API controller * TaskLink API controller
@@ -8,7 +8,7 @@ namespace Api;
* @package api * @package api
* @author Frederic Guillot * @author Frederic Guillot
*/ */
class TaskLink extends \Core\Base class TaskLink extends \Kanboard\Core\Base
{ {
/** /**
* Get a task link * Get a task link

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Api; namespace Kanboard\Api;
use Auth\Ldap; use Kanboard\Auth\Ldap;
/** /**
* User API controller * User API controller
@@ -10,7 +10,7 @@ use Auth\Ldap;
* @package api * @package api
* @author Frederic Guillot * @author Frederic Guillot
*/ */
class User extends \Core\Base class User extends \Kanboard\Core\Base
{ {
public function getUser($user_id) public function getUser($user_id)
{ {

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Auth; namespace Kanboard\Auth;
use Pimple\Container; use Pimple\Container;
@@ -10,7 +10,7 @@ use Pimple\Container;
* @package auth * @package auth
* @author Frederic Guillot * @author Frederic Guillot
*/ */
abstract class Base extends \Core\Base abstract class Base extends \Kanboard\Core\Base
{ {
/** /**
* Database instance * Database instance

View File

@@ -1,9 +1,9 @@
<?php <?php
namespace Auth; namespace Kanboard\Auth;
use Model\User; use Kanboard\Model\User;
use Event\AuthEvent; use Kanboard\Event\AuthEvent;
/** /**
* Database authentication * Database authentication

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Auth; namespace Kanboard\Auth;
use Event\AuthEvent; use Kanboard\Event\AuthEvent;
/** /**
* Github backend * Github backend
@@ -22,7 +22,7 @@ class Github extends Base
* OAuth2 instance * OAuth2 instance
* *
* @access private * @access private
* @var \Core\OAuth2 * @var \Kanboard\Core\OAuth2
*/ */
private $service; private $service;
@@ -85,7 +85,7 @@ class Github extends Base
* Get OAuth2 configured service * Get OAuth2 configured service
* *
* @access public * @access public
* @return \Core\OAuth2 * @return KanboardCore\OAuth2
*/ */
public function getService() public function getService()
{ {

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Auth; namespace Kanboard\Auth;
use Event\AuthEvent; use Kanboard\Event\AuthEvent;
/** /**
* Gitlab backend * Gitlab backend
@@ -22,7 +22,7 @@ class Gitlab extends Base
* OAuth2 instance * OAuth2 instance
* *
* @access private * @access private
* @var \Core\OAuth2 * @var \Kanboard\Core\OAuth2
*/ */
private $service; private $service;
@@ -85,7 +85,7 @@ class Gitlab extends Base
* Get OAuth2 configured service * Get OAuth2 configured service
* *
* @access public * @access public
* @return \Core\OAuth2 * @return KanboardCore\OAuth2
*/ */
public function getService() public function getService()
{ {

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Auth; namespace Kanboard\Auth;
use Event\AuthEvent; use Kanboard\Event\AuthEvent;
/** /**
* Google backend * Google backend
@@ -23,7 +23,7 @@ class Google extends Base
* OAuth2 instance * OAuth2 instance
* *
* @access private * @access private
* @var \Core\OAuth2 * @var \Kanboard\Core\OAuth2
*/ */
private $service; private $service;
@@ -86,7 +86,7 @@ class Google extends Base
* Get OAuth2 configured service * Get OAuth2 configured service
* *
* @access public * @access public
* @return \Core\OAuth2 * @return KanboardCore\OAuth2
*/ */
public function getService() public function getService()
{ {

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Auth; namespace Kanboard\Auth;
use Event\AuthEvent; use Kanboard\Event\AuthEvent;
/** /**
* LDAP model * LDAP model

View File

@@ -1,10 +1,10 @@
<?php <?php
namespace Auth; namespace Kanboard\Auth;
use Core\Request; use Kanboard\Core\Request;
use Event\AuthEvent; use Kanboard\Event\AuthEvent;
use Core\Security; use Kanboard\Core\Security;
/** /**
* RememberMe model * RememberMe model

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Auth; namespace Kanboard\Auth;
use Event\AuthEvent; use Kanboard\Event\AuthEvent;
/** /**
* ReverseProxy backend * ReverseProxy backend

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Console; namespace Kanboard\Console;
use Pimple\Container; use Pimple\Container;
use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Command\Command;

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Console; namespace Kanboard\Console;
use RecursiveIteratorIterator; use RecursiveIteratorIterator;
use RecursiveDirectoryIterator; use RecursiveDirectoryIterator;

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Console; namespace Kanboard\Console;
use DirectoryIterator; use DirectoryIterator;
use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputInterface;

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Console; namespace Kanboard\Console;
use Core\Csv; use Kanboard\Core\Csv;
use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Output\OutputInterface;

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Console; namespace Kanboard\Console;
use Model\Project; use Kanboard\Model\Project;
use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Output\OutputInterface;

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Console; namespace Kanboard\Console;
use Core\Csv; use Kanboard\Core\Csv;
use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Output\OutputInterface;

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Console; namespace Kanboard\Console;
use Core\Csv; use Kanboard\Core\Csv;
use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Output\OutputInterface;

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Console; namespace Kanboard\Console;
use Symfony\Component\Console\Helper\Table; use Symfony\Component\Console\Helper\Table;
use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputInterface;

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Console; namespace Kanboard\Console;
use Core\Csv; use Kanboard\Core\Csv;
use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Output\OutputInterface;

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
/** /**
* Automatic actions management * Automatic actions management

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
/** /**
* Activity stream * Activity stream

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
/** /**
* Project Analytic controller * Project Analytic controller

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
use Model\Subtask as SubtaskModel; use Kanboard\Model\Subtask as SubtaskModel;
/** /**
* Application controller * Application controller

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
use Gregwar\Captcha\CaptchaBuilder; use Gregwar\Captcha\CaptchaBuilder;

View File

@@ -1,14 +1,14 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
use Pimple\Container; use Pimple\Container;
use Core\Security; use Kanboard\Core\Security;
use Core\Request; use Kanboard\Core\Request;
use Core\Response; use Kanboard\Core\Response;
use Core\Template; use Kanboard\Core\Template;
use Core\Session; use Kanboard\Core\Session;
use Model\LastLogin; use Kanboard\Model\LastLogin;
use Symfony\Component\EventDispatcher\Event; use Symfony\Component\EventDispatcher\Event;
/** /**
@@ -17,13 +17,13 @@ use Symfony\Component\EventDispatcher\Event;
* @package controller * @package controller
* @author Frederic Guillot * @author Frederic Guillot
*/ */
abstract class Base extends \Core\Base abstract class Base extends \Kanboard\Core\Base
{ {
/** /**
* Request instance * Request instance
* *
* @accesss protected * @accesss protected
* @var \Core\Request * @var \Kanboard\Core\Request
*/ */
protected $request; protected $request;
@@ -31,7 +31,7 @@ abstract class Base extends \Core\Base
* Response instance * Response instance
* *
* @accesss protected * @accesss protected
* @var \Core\Response * @var \Kanboard\Core\Response
*/ */
protected $response; protected $response;

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
/** /**
* Board controller * Board controller

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
use Model\Task as TaskModel; use Kanboard\Model\Task as TaskModel;
/** /**
* Project Calendar controller * Project Calendar controller

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
/** /**
* Category management * Category management

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
/** /**
* Column controller * Column controller

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
/** /**
* Comment controller * Comment controller

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
/** /**
* Config controller * Config controller

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
/** /**
* Currency controller * Currency controller

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
/** /**
* Custom Filter management * Custom Filter management
@@ -115,7 +115,7 @@ class Customfilter extends Base
if (! isset($values['is_shared'])) { if (! isset($values['is_shared'])) {
$values += array('is_shared' => 0); $values += array('is_shared' => 0);
} }
if (! isset($values['append'])) { if (! isset($values['append'])) {
$values += array('append' => 0); $values += array('append' => 0);
} }

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
use Parsedown; use Parsedown;

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
/** /**
* Export controller * Export controller

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
/** /**
* Atom/RSS Feed controller * Atom/RSS Feed controller

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
use Core\ObjectStorage\ObjectStorageException; use Kanboard\Core\ObjectStorage\ObjectStorageException;
/** /**
* File controller * File controller

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
use Model\Task as TaskModel; use Kanboard\Model\Task as TaskModel;
/** /**
* Gantt controller * Gantt controller

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
use Model\TaskFilter; use Kanboard\Model\TaskFilter;
use Eluceo\iCal\Component\Calendar as iCalendar; use Eluceo\iCal\Component\Calendar as iCalendar;
/** /**

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
/** /**
* Link controller * Link controller

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
use Model\Task as TaskModel; use Kanboard\Model\Task as TaskModel;
/** /**
* List view controller * List view controller

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
/** /**
* OAuth controller * OAuth controller

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
/** /**
* Project controller (Settings + creation/edition) * Project controller (Settings + creation/edition)

View File

@@ -1,9 +1,9 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
use Model\User as UserModel; use Kanboard\Model\User as UserModel;
use Model\Task as TaskModel; use Kanboard\Model\Task as TaskModel;
/** /**
* Project User overview * Project User overview

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
/** /**
* Search controller * Search controller

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
use Model\Subtask as SubtaskModel; use Kanboard\Model\Subtask as SubtaskModel;
/** /**
* Subtask controller * Subtask controller

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
use Model\Swimlane as SwimlaneModel; use Kanboard\Model\Swimlane as SwimlaneModel;
/** /**
* Swimlanes * Swimlanes

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
/** /**
* Task controller * Task controller

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
use Core\Csv; use Kanboard\Core\Csv;
/** /**
* Task Import controller * Task Import controller

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
/** /**
* Task Creation controller * Task Creation controller

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
/** /**
* Task Duplication controller * Task Duplication controller

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
/** /**
* TaskLink controller * TaskLink controller

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
/** /**
* Task Modification controller * Task Modification controller

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
/** /**
* Task Status controller * Task Status controller

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
/** /**
* Time Tracking controller * Time Tracking controller

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
use Otp\Otp; use Otp\Otp;
use Otp\GoogleAuthenticator; use Otp\GoogleAuthenticator;

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
use Model\NotificationType; use Kanboard\Model\NotificationType;
/** /**
* User controller * User controller

View File

@@ -1,8 +1,8 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
use Core\Csv; use Kanboard\Core\Csv;
/** /**
* User Import controller * User Import controller

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
/** /**
* Webhook controller * Webhook controller

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Controller; namespace Kanboard\Controller;
/** /**
* Web notification controller * Web notification controller

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Core; namespace Kanboard\Core;
use Pimple\Container; use Pimple\Container;
@@ -10,86 +10,86 @@ use Pimple\Container;
* @package core * @package core
* @author Frederic Guillot * @author Frederic Guillot
* *
* @property \Core\Helper $helper * @property \Kanboard\Core\Helper $helper
* @property \Core\EmailClient $emailClient * @property \Kanboard\Core\EmailClient $emailClient
* @property \Core\HttpClient $httpClient * @property \Kanboard\Core\HttpClient $httpClient
* @property \Core\Paginator $paginator * @property \Kanboard\Core\Paginator $paginator
* @property \Core\Request $request * @property \Kanboard\Core\Request $request
* @property \Core\Session $session * @property \Kanboard\Core\Session $session
* @property \Core\Template $template * @property \Kanboard\Core\Template $template
* @property \Core\OAuth2 $oauth * @property \Kanboard\Core\OAuth2 $oauth
* @property \Core\Router $router * @property \Kanboard\Core\Router $router
* @property \Core\Lexer $lexer * @property \Kanboard\Core\Lexer $lexer
* @property \Core\ObjectStorage\ObjectStorageInterface $objectStorage * @property \Kanboard\Core\ObjectStorage\ObjectStorageInterface $objectStorage
* @property \Core\Cache\Cache $memoryCache * @property \Kanboard\Core\Cache\Cache $memoryCache
* @property \Core\Plugin\Hook $hook * @property \Kanboard\Core\Plugin\Hook $hook
* @property \Core\Plugin\Loader $pluginLoader * @property \Kanboard\Core\Plugin\Loader $pluginLoader
* @property \Integration\BitbucketWebhook $bitbucketWebhook * @property \Kanboard\Integration\BitbucketWebhook $bitbucketWebhook
* @property \Integration\GithubWebhook $githubWebhook * @property \Kanboard\Integration\GithubWebhook $githubWebhook
* @property \Integration\GitlabWebhook $gitlabWebhook * @property \Kanboard\Integration\GitlabWebhook $gitlabWebhook
* @property \Integration\HipchatWebhook $hipchatWebhook * @property \Kanboard\Integration\HipchatWebhook $hipchatWebhook
* @property \Integration\Jabber $jabber * @property \Kanboard\Integration\Jabber $jabber
* @property \Integration\Mailgun $mailgun * @property \Kanboard\Integration\Mailgun $mailgun
* @property \Integration\Postmark $postmark * @property \Kanboard\Integration\Postmark $postmark
* @property \Integration\Sendgrid $sendgrid * @property \Kanboard\Integration\Sendgrid $sendgrid
* @property \Integration\SlackWebhook $slackWebhook * @property \Kanboard\Integration\SlackWebhook $slackWebhook
* @property \Integration\Smtp $smtp * @property \Kanboard\Integration\Smtp $smtp
* @property \Formatter\ProjectGanttFormatter $projectGanttFormatter * @property \Kanboard\Formatter\ProjectGanttFormatter $projectGanttFormatter
* @property \Formatter\TaskFilterGanttFormatter $taskFilterGanttFormatter * @property \Kanboard\Formatter\TaskFilterGanttFormatter $taskFilterGanttFormatter
* @property \Formatter\TaskFilterAutoCompleteFormatter $taskFilterAutoCompleteFormatter * @property \Kanboard\Formatter\TaskFilterAutoCompleteFormatter $taskFilterAutoCompleteFormatter
* @property \Formatter\TaskFilterCalendarFormatter $taskFilterCalendarFormatter * @property \Kanboard\Formatter\TaskFilterCalendarFormatter $taskFilterCalendarFormatter
* @property \Formatter\TaskFilterICalendarFormatter $taskFilterICalendarFormatter * @property \Kanboard\Formatter\TaskFilterICalendarFormatter $taskFilterICalendarFormatter
* @property \Model\Acl $acl * @property \Kanboard\Model\Acl $acl
* @property \Model\Action $action * @property \Kanboard\Model\Action $action
* @property \Model\Authentication $authentication * @property \Kanboard\Model\Authentication $authentication
* @property \Model\Board $board * @property \Kanboard\Model\Board $board
* @property \Model\Category $category * @property \Kanboard\Model\Category $category
* @property \Model\Color $color * @property \Kanboard\Model\Color $color
* @property \Model\Comment $comment * @property \Kanboard\Model\Comment $comment
* @property \Model\Config $config * @property \Kanboard\Model\Config $config
* @property \Model\Currency $currency * @property \Kanboard\Model\Currency $currency
* @property \Model\CustomFilter $customFilter * @property \Kanboard\Model\CustomFilter $customFilter
* @property \Model\DateParser $dateParser * @property \Kanboard\Model\DateParser $dateParser
* @property \Model\File $file * @property \Kanboard\Model\File $file
* @property \Model\LastLogin $lastLogin * @property \Kanboard\Model\LastLogin $lastLogin
* @property \Model\Link $link * @property \Kanboard\Model\Link $link
* @property \Model\Notification $notification * @property \Kanboard\Model\Notification $notification
* @property \Model\NotificationType $notificationType * @property \Kanboard\Model\NotificationType $notificationType
* @property \Model\NotificationFilter $notificationFilter * @property \Kanboard\Model\NotificationFilter $notificationFilter
* @property \Model\OverdueNotification $overdueNotification * @property \Kanboard\Model\OverdueNotification $overdueNotification
* @property \Model\WebNotification $webNotification * @property \Kanboard\Model\WebNotification $webNotification
* @property \Model\Project $project * @property \Kanboard\Model\Project $project
* @property \Model\ProjectActivity $projectActivity * @property \Kanboard\Model\ProjectActivity $projectActivity
* @property \Model\ProjectAnalytic $projectAnalytic * @property \Kanboard\Model\ProjectAnalytic $projectAnalytic
* @property \Model\ProjectDuplication $projectDuplication * @property \Kanboard\Model\ProjectDuplication $projectDuplication
* @property \Model\ProjectDailyColumnStats $projectDailyColumnStats * @property \Kanboard\Model\ProjectDailyColumnStats $projectDailyColumnStats
* @property \Model\ProjectDailyStats $projectDailyStats * @property \Kanboard\Model\ProjectDailyStats $projectDailyStats
* @property \Model\ProjectIntegration $projectIntegration * @property \Kanboard\Model\ProjectIntegration $projectIntegration
* @property \Model\ProjectPermission $projectPermission * @property \Kanboard\Model\ProjectPermission $projectPermission
* @property \Model\Subtask $subtask * @property \Kanboard\Model\Subtask $subtask
* @property \Model\SubtaskExport $subtaskExport * @property \Kanboard\Model\SubtaskExport $subtaskExport
* @property \Model\SubtaskTimeTracking $subtaskTimeTracking * @property \Kanboard\Model\SubtaskTimeTracking $subtaskTimeTracking
* @property \Model\Swimlane $swimlane * @property \Kanboard\Model\Swimlane $swimlane
* @property \Model\Task $task * @property \Kanboard\Model\Task $task
* @property \Model\TaskAnalytic $taskAnalytic * @property \Kanboard\Model\TaskAnalytic $taskAnalytic
* @property \Model\TaskCreation $taskCreation * @property \Kanboard\Model\TaskCreation $taskCreation
* @property \Model\TaskDuplication $taskDuplication * @property \Kanboard\Model\TaskDuplication $taskDuplication
* @property \Model\TaskExport $taskExport * @property \Kanboard\Model\TaskExport $taskExport
* @property \Model\TaskFinder $taskFinder * @property \Kanboard\Model\TaskFinder $taskFinder
* @property \Model\TaskFilter $taskFilter * @property \Kanboard\Model\TaskFilter $taskFilter
* @property \Model\TaskLink $taskLink * @property \Kanboard\Model\TaskLink $taskLink
* @property \Model\TaskModification $taskModification * @property \Kanboard\Model\TaskModification $taskModification
* @property \Model\TaskPermission $taskPermission * @property \Kanboard\Model\TaskPermission $taskPermission
* @property \Model\TaskPosition $taskPosition * @property \Kanboard\Model\TaskPosition $taskPosition
* @property \Model\TaskStatus $taskStatus * @property \Kanboard\Model\TaskStatus $taskStatus
* @property \Model\TaskValidator $taskValidator * @property \Kanboard\Model\TaskValidator $taskValidator
* @property \Model\Transition $transition * @property \Kanboard\Model\Transition $transition
* @property \Model\User $user * @property \Kanboard\Model\User $user
* @property \Model\UserSession $userSession * @property \Kanboard\Model\UserSession $userSession
* @property \Model\Webhook $webhook * @property \Kanboard\Model\Webhook $webhook
* @property \Psr\Log\LoggerInterface $logger * @property \Psr\Log\LoggerInterface $logger
* @property \League\HTMLToMarkdown\HtmlConverter $htmlConverter * @property \League\HTMLToMarkdown\HtmlConverter $htmlConverter
* @property \PicoDb\Database $db * @property \PicoDb\Database $db
*/ */
abstract class Base abstract class Base
{ {

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace Core\Cache; namespace Kanboard\Core\Cache;
/** /**
* Base class for cache drivers * Base class for cache drivers

Some files were not shown because too many files have changed in this diff Show More