forked from wallabag/wallabag
Move Import form type to Core
This commit is contained in:
@ -7,8 +7,8 @@ use Symfony\Component\HttpFoundation\Response;
|
|||||||
use Symfony\Component\Routing\Annotation\Route;
|
use Symfony\Component\Routing\Annotation\Route;
|
||||||
use Symfony\Contracts\Translation\TranslatorInterface;
|
use Symfony\Contracts\Translation\TranslatorInterface;
|
||||||
use Wallabag\CoreBundle\Controller\AbstractController;
|
use Wallabag\CoreBundle\Controller\AbstractController;
|
||||||
|
use Wallabag\CoreBundle\Form\Type\UploadImportType;
|
||||||
use Wallabag\CoreBundle\Import\ImportInterface;
|
use Wallabag\CoreBundle\Import\ImportInterface;
|
||||||
use Wallabag\ImportBundle\Form\Type\UploadImportType;
|
|
||||||
|
|
||||||
abstract class BrowserController extends AbstractController
|
abstract class BrowserController extends AbstractController
|
||||||
{
|
{
|
||||||
|
|||||||
@ -8,8 +8,8 @@ use Symfony\Component\HttpFoundation\Request;
|
|||||||
use Symfony\Component\Routing\Annotation\Route;
|
use Symfony\Component\Routing\Annotation\Route;
|
||||||
use Symfony\Contracts\Translation\TranslatorInterface;
|
use Symfony\Contracts\Translation\TranslatorInterface;
|
||||||
use Wallabag\CoreBundle\Controller\AbstractController;
|
use Wallabag\CoreBundle\Controller\AbstractController;
|
||||||
|
use Wallabag\CoreBundle\Form\Type\UploadImportType;
|
||||||
use Wallabag\CoreBundle\Import\DeliciousImport;
|
use Wallabag\CoreBundle\Import\DeliciousImport;
|
||||||
use Wallabag\ImportBundle\Form\Type\UploadImportType;
|
|
||||||
use Wallabag\ImportBundle\Redis\Producer as RedisProducer;
|
use Wallabag\ImportBundle\Redis\Producer as RedisProducer;
|
||||||
|
|
||||||
class DeliciousController extends AbstractController
|
class DeliciousController extends AbstractController
|
||||||
|
|||||||
@ -7,8 +7,8 @@ use Symfony\Component\HttpFoundation\Response;
|
|||||||
use Symfony\Component\Routing\Annotation\Route;
|
use Symfony\Component\Routing\Annotation\Route;
|
||||||
use Symfony\Contracts\Translation\TranslatorInterface;
|
use Symfony\Contracts\Translation\TranslatorInterface;
|
||||||
use Wallabag\CoreBundle\Controller\AbstractController;
|
use Wallabag\CoreBundle\Controller\AbstractController;
|
||||||
|
use Wallabag\CoreBundle\Form\Type\UploadImportType;
|
||||||
use Wallabag\CoreBundle\Import\ImportInterface;
|
use Wallabag\CoreBundle\Import\ImportInterface;
|
||||||
use Wallabag\ImportBundle\Form\Type\UploadImportType;
|
|
||||||
|
|
||||||
abstract class HtmlController extends AbstractController
|
abstract class HtmlController extends AbstractController
|
||||||
{
|
{
|
||||||
|
|||||||
@ -8,8 +8,8 @@ use Symfony\Component\HttpFoundation\Request;
|
|||||||
use Symfony\Component\Routing\Annotation\Route;
|
use Symfony\Component\Routing\Annotation\Route;
|
||||||
use Symfony\Contracts\Translation\TranslatorInterface;
|
use Symfony\Contracts\Translation\TranslatorInterface;
|
||||||
use Wallabag\CoreBundle\Controller\AbstractController;
|
use Wallabag\CoreBundle\Controller\AbstractController;
|
||||||
|
use Wallabag\CoreBundle\Form\Type\UploadImportType;
|
||||||
use Wallabag\CoreBundle\Import\InstapaperImport;
|
use Wallabag\CoreBundle\Import\InstapaperImport;
|
||||||
use Wallabag\ImportBundle\Form\Type\UploadImportType;
|
|
||||||
use Wallabag\ImportBundle\Redis\Producer as RedisProducer;
|
use Wallabag\ImportBundle\Redis\Producer as RedisProducer;
|
||||||
|
|
||||||
class InstapaperController extends AbstractController
|
class InstapaperController extends AbstractController
|
||||||
|
|||||||
@ -8,8 +8,8 @@ use Symfony\Component\HttpFoundation\Request;
|
|||||||
use Symfony\Component\Routing\Annotation\Route;
|
use Symfony\Component\Routing\Annotation\Route;
|
||||||
use Symfony\Contracts\Translation\TranslatorInterface;
|
use Symfony\Contracts\Translation\TranslatorInterface;
|
||||||
use Wallabag\CoreBundle\Controller\AbstractController;
|
use Wallabag\CoreBundle\Controller\AbstractController;
|
||||||
|
use Wallabag\CoreBundle\Form\Type\UploadImportType;
|
||||||
use Wallabag\CoreBundle\Import\PinboardImport;
|
use Wallabag\CoreBundle\Import\PinboardImport;
|
||||||
use Wallabag\ImportBundle\Form\Type\UploadImportType;
|
|
||||||
use Wallabag\ImportBundle\Redis\Producer as RedisProducer;
|
use Wallabag\ImportBundle\Redis\Producer as RedisProducer;
|
||||||
|
|
||||||
class PinboardController extends AbstractController
|
class PinboardController extends AbstractController
|
||||||
|
|||||||
@ -8,8 +8,8 @@ use Symfony\Component\HttpFoundation\Request;
|
|||||||
use Symfony\Component\Routing\Annotation\Route;
|
use Symfony\Component\Routing\Annotation\Route;
|
||||||
use Symfony\Contracts\Translation\TranslatorInterface;
|
use Symfony\Contracts\Translation\TranslatorInterface;
|
||||||
use Wallabag\CoreBundle\Controller\AbstractController;
|
use Wallabag\CoreBundle\Controller\AbstractController;
|
||||||
|
use Wallabag\CoreBundle\Form\Type\UploadImportType;
|
||||||
use Wallabag\CoreBundle\Import\ReadabilityImport;
|
use Wallabag\CoreBundle\Import\ReadabilityImport;
|
||||||
use Wallabag\ImportBundle\Form\Type\UploadImportType;
|
|
||||||
use Wallabag\ImportBundle\Redis\Producer as RedisProducer;
|
use Wallabag\ImportBundle\Redis\Producer as RedisProducer;
|
||||||
|
|
||||||
class ReadabilityController extends AbstractController
|
class ReadabilityController extends AbstractController
|
||||||
|
|||||||
@ -7,8 +7,8 @@ use Symfony\Component\HttpFoundation\Request;
|
|||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Contracts\Translation\TranslatorInterface;
|
use Symfony\Contracts\Translation\TranslatorInterface;
|
||||||
use Wallabag\CoreBundle\Controller\AbstractController;
|
use Wallabag\CoreBundle\Controller\AbstractController;
|
||||||
|
use Wallabag\CoreBundle\Form\Type\UploadImportType;
|
||||||
use Wallabag\CoreBundle\Import\ImportInterface;
|
use Wallabag\CoreBundle\Import\ImportInterface;
|
||||||
use Wallabag\ImportBundle\Form\Type\UploadImportType;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Define Wallabag import for v1 and v2, since there are very similar.
|
* Define Wallabag import for v1 and v2, since there are very similar.
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Wallabag\ImportBundle\Form\Type;
|
namespace Wallabag\CoreBundle\Form\Type;
|
||||||
|
|
||||||
use Symfony\Component\Form\AbstractType;
|
use Symfony\Component\Form\AbstractType;
|
||||||
use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
|
use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
|
||||||
Reference in New Issue
Block a user