From f99a3c501fd6ed7b4914b8d6e855489c2ce5b219 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 16 Oct 2015 20:50:12 -0400 Subject: Make mail transports pluggable and move integrations to plugins - Postmark: https://github.com/kanboard/plugin-postmark - Mailgun: https://github.com/kanboard/plugin-mailgun - Sendgrid: https://github.com/kanboard/plugin-sendgrid --- kanboard | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) (limited to 'kanboard') diff --git a/kanboard b/kanboard index 4d2c9ab1..2911a506 100755 --- a/kanboard +++ b/kanboard @@ -5,16 +5,24 @@ require __DIR__.'/app/common.php'; use Symfony\Component\Console\Application; use Symfony\Component\EventDispatcher\Event; +use Kanboard\Console\TaskOverdueNotification; +use Kanboard\Console\SubtaskExport; +use Kanboard\Console\TaskExport; +use Kanboard\Console\ProjectDailyStatsCalculation; +use Kanboard\Console\ProjectDailyColumnStatsExport; +use Kanboard\Console\TransitionExport; +use Kanboard\Console\LocaleSync; +use Kanboard\Console\LocaleComparator; $container['dispatcher']->dispatch('console.bootstrap', new Event); $application = new Application('Kanboard', APP_VERSION); -$application->add(new Console\TaskOverdueNotification($container)); -$application->add(new Console\SubtaskExport($container)); -$application->add(new Console\TaskExport($container)); -$application->add(new Console\ProjectDailyStatsCalculation($container)); -$application->add(new Console\ProjectDailyColumnStatsExport($container)); -$application->add(new Console\TransitionExport($container)); -$application->add(new Console\LocaleSync($container)); -$application->add(new Console\LocaleComparator($container)); +$application->add(new TaskOverdueNotification($container)); +$application->add(new SubtaskExport($container)); +$application->add(new TaskExport($container)); +$application->add(new ProjectDailyStatsCalculation($container)); +$application->add(new ProjectDailyColumnStatsExport($container)); +$application->add(new TransitionExport($container)); +$application->add(new LocaleSync($container)); +$application->add(new LocaleComparator($container)); $application->run(); -- cgit v1.2.3