aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/ImportBundle
Commit message (Collapse)AuthorAgeFilesLines
* Replace kernel.root_dir by kernel.project_dirNicolas Hart2017-10-141-2/+2
| | | | | kernel.root_dir and Kernel::getRootDir() are deprecated since Symfony 3.3. See https://symfony.com/blog/new-in-symfony-3-3-a-simpler-way-to-get-the-project-root-directory and https://github.com/symfony/symfony/blob/3.3/UPGRADE-3.3.md#httpkernel for more information.
* Jump to Symfony 3.3 & update others depsJeremy Benoist2017-10-099-7/+22
| | | | Also update tests urls
* Fix testsJeremy Benoist2017-08-271-1/+1
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Tag: render tags case-insensitive by storing them in lowercaseKevin Decherf2017-08-271-1/+1
| | | | | | Fixes #2502 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Add a real configuration for CS-FixerJeremy Benoist2017-07-0122-638/+638
|
* Rewrote code & fix testsJeremy Benoist2017-06-017-30/+30
|
* Replace Wallabag v1 error strings with v2 stringsJerome Charaoui2017-06-011-1/+10
|
* Add disableContentUpdate import optionJerome Charaoui2017-06-017-30/+30
| | | | | | This commit also decouples the "import" and "update" functions inside ContentProxy. If a content array is available, it must be passed to the new importEntry method.
* Merge pull request #3137 from aaa2000/isolated-testsJérémy Benoist2017-06-011-0/+1
|\ | | | | Isolated tests
| * Isolated testsadev2017-05-312-3/+5
| | | | | | | | Use https://github.com/dmaicher/doctrine-test-bundle to have test isolation.
* | Reduce imported entriesJeremy Benoist2017-05-318-491/+23
| | | | | | | | Down from 2.2 minutes to 1.39 minutes
* | Allow other fields to be send using APIJeremy Benoist2017-05-314-21/+14
|/ | | | | | | | | | | | | | | | 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)
* CS & improve tags assertionsJeremy Benoist2017-05-315-14/+31
|
* Add support for tag in Instapaper importJeremy Benoist2017-05-313-13/+43
|
* Merge pull request #3143 from wallabag/fix-wllbg2-importNicolas Lœuillet2017-05-312-1/+2
|\ | | | | Fixed is_starred for wallabag v2 import
| * Add testsJeremy Benoist2017-05-302-1/+2
| |
* | Move Tags assigner to a separate fileThomas Citharel2017-05-277-7/+45
|/ | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Fix SO testsJeremy Benoist2017-05-241-4/+4
| | | | SO switched to http yesterday
* Use username to importThomas Citharel2017-05-041-8/+23
| | | | | | | | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr> add docs Signed-off-by: Thomas Citharel <tcit@tcit.fr> use username as default Signed-off-by: Thomas Citharel <tcit@tcit.fr> rename user to username typo Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Added notmatches operator for tagging ruleNicolas Lœuillet2017-04-207-8/+8
|
* Import: we now skip messages when user is nullNicolas Lœuillet2017-02-202-2/+4
|
* Fix WallabagV1Controller testJerome Charaoui2016-12-031-4/+4
| | | | Account for URL redirection in refreshed entry.
* Fix testsJeremy Benoist2016-11-171-5/+5
|
* Put log in the most common failure testsJeremy Benoist2016-11-177-26/+26
| | | | So we’ll quickly be able to see what kind of test is failing when viewing Travis
* Fix testsJeremy Benoist2016-11-062-2/+2
|
* Add Pinboard importJeremy Benoist2016-11-042-0/+202
|
* Add entry.saved event to import & restJeremy Benoist2016-11-029-39/+146
|
* Fix testJeremy Benoist2016-10-201-1/+1
|
* Avoid error when Redis isn't here in testsJeremy Benoist2016-10-102-0/+2
|
* Add controller test for InstapaperJeremy Benoist2016-09-271-0/+196
|
* Add Instapaper importJeremy Benoist2016-09-273-1/+238
| | | | Also update ImportController with latest import (chrome, firefox & instapaper).
* Merge pull request #2192 from wallabag/import-browser-bookmarksJeremy Benoist2016-09-269-3/+883
|\ | | | | Import Firefox & Chrome bookmarks into wallabag
| * Added tags for Firefox importNicolas Lœuillet2016-09-262-1/+2
| |
| * Update Firefox fileJeremy Benoist2016-09-253-66/+67
| | | | | | | | | | With real data, the previous looks more than a Chrome converted file. Also, fix date conversion (hope so).
| * Fix bad date format in Browser importJeremy Benoist2016-09-252-0/+8
| |
| * fix testsThomas Citharel2016-09-253-28/+27
| |
| * bring chrome and firefox as separate importsThomas Citharel2016-09-256-35/+679
| |
| * Added tests for Chrome bookmarks importNicolas Lœuillet2016-09-254-3/+75
| |
| * Indentation and renamed fixtures fileNicolas Lœuillet2016-09-252-1/+1
| |
| * Add Chrome path for Mac OSNicolas Lœuillet2016-09-251-1/+1
| |
| * Import Firefox & Chrome bookmarks into wallabagThomas Citharel2016-09-252-0/+155
| |
* | Use scheduled entity insertions to avoid tag duplicateJeremy Benoist2016-09-253-0/+42
|/ | | | Using `getScheduledEntityInsertions()` we can retrieve not yet flushed but already persisted entities and then avoid tags duplication on import.
* Avoid failing test for user who didn’t install RedisJeremy Benoist2016-09-244-0/+4
|
* Avoid losing entry when fetching failJeremy Benoist2016-09-172-2/+4
| | | | Instead of just say “Failed to save entry” we’ll save the entry at all cost and try to fetch content. If fetching content failed, the entry will still be saved at least, but without content.
* Moved Pocket token to user configJeremy Benoist2016-09-161-11/+7
|
* AMPQ -> AMQPJeremy Benoist2016-09-141-5/+5
|
* Add more “real” testsJeremy Benoist2016-09-133-30/+87
|
* Change flash message for queued articlesJeremy Benoist2016-09-134-19/+19
|
* Fix testsJeremy Benoist2016-09-111-3/+3
|
* Add tests on ImportCommandJeremy Benoist2016-09-111-0/+86
|