wallabag/tests/Wallabag/ImportBundle/Import
Jeremy Benoist e668a8124c
Allow other fields to be send using API
Entry API can now have these new fields:
- content
- language
- preview_picture
- published_at

Re-use the ContentProxy to be able to do the same using the web UI (in the future).
htmLawed is used to clean stuff from content, I hope it’ll be enough to avoid security breach.

Lower content validation when we want to update an entry with content already defined. Before, language & content_type were required. If there weren’t provided, we re-fetched the content using graby. I think these fields aren’t required for an entry to be created. So I removed them.
Which means some import from the v1 export won’t be re-fetched since they provide content, url & title.

Also, remove liberation link from Readability import to avoid overlaping import (from wallabag v1, which had the same link)
2017-05-31 13:59:45 +02:00
..
ChromeImportTest.php Move Tags assigner to a separate file 2017-05-27 22:08:14 +02:00
FirefoxImportTest.php Move Tags assigner to a separate file 2017-05-27 22:08:14 +02:00
ImportChainTest.php Jump to Symfony 3.1 2016-06-22 17:59:35 +02:00
ImportCompilerPassTest.php Jump to Symfony 3.1 2016-06-22 17:59:35 +02:00
InstapaperImportTest.php Add support for tag in Instapaper import 2017-05-31 10:38:00 +02:00
PocketImportTest.php Move Tags assigner to a separate file 2017-05-27 22:08:14 +02:00
ReadabilityImportTest.php Allow other fields to be send using API 2017-05-31 13:59:45 +02:00
WallabagV1ImportTest.php Move Tags assigner to a separate file 2017-05-27 22:08:14 +02:00
WallabagV2ImportTest.php Move Tags assigner to a separate file 2017-05-27 22:08:14 +02:00