]> git.immae.eu Git - github/wallabag/wallabag.git/commit - src/Wallabag/ImportBundle/Import/PocketImport.php
Add tagged services for import
authorJeremy Benoist <jeremy.benoist@gmail.com>
Thu, 31 Dec 2015 10:24:46 +0000 (11:24 +0100)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Sat, 2 Jan 2016 22:27:41 +0000 (23:27 +0100)
commit7019c7cf6c6af39c0f458769e20c3f9306477943
tree12acceaa458cdf6d24367eba85f690265acddcdb
parentb1d05721cf37ab94ec1a6837fe79cf19474dd0ff
Add tagged services for import

- list services in /import
- add url to import service
- ImportBundle routing are now prefixed by /import
- optimize flush in each import (flushing each 20 contents)
- improve design of each import
- add more tests
25 files changed:
app/config/routing.yml
src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css
src/Wallabag/ImportBundle/Controller/ImportController.php
src/Wallabag/ImportBundle/Controller/PocketController.php
src/Wallabag/ImportBundle/Controller/WallabagV1Controller.php
src/Wallabag/ImportBundle/Form/Type/UploadImportType.php
src/Wallabag/ImportBundle/Import/ImportChain.php [new file with mode: 0644]
src/Wallabag/ImportBundle/Import/ImportCompilerPass.php [new file with mode: 0644]
src/Wallabag/ImportBundle/Import/ImportInterface.php
src/Wallabag/ImportBundle/Import/PocketImport.php
src/Wallabag/ImportBundle/Import/WallabagV1Import.php
src/Wallabag/ImportBundle/Resources/config/services.yml
src/Wallabag/ImportBundle/Resources/views/Import/index.html.twig
src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig
src/Wallabag/ImportBundle/Resources/views/WallabagV1/index.html.twig
src/Wallabag/ImportBundle/Tests/Controller/ImportControllerTest.php [new file with mode: 0644]
src/Wallabag/ImportBundle/Tests/Controller/PocketControllerTest.php [new file with mode: 0644]
src/Wallabag/ImportBundle/Tests/Controller/WallabagV1ControllerTest.php [new file with mode: 0644]
src/Wallabag/ImportBundle/Tests/Import/ImportChainTest.php [new file with mode: 0644]
src/Wallabag/ImportBundle/Tests/Import/ImportCompilerPassTest.php [new file with mode: 0644]
src/Wallabag/ImportBundle/Tests/Import/PocketImportTest.php
src/Wallabag/ImportBundle/Tests/Import/WallabagV1ImportTest.php
src/Wallabag/ImportBundle/Tests/fixtures/test.html [new file with mode: 0644]
src/Wallabag/ImportBundle/Tests/fixtures/test.txt [new file with mode: 0644]
src/Wallabag/ImportBundle/WallabagImportBundle.php