aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/CoreBundle
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup testJeremy Benoist2017-06-091-1/+0
| | | | | Looks like we didn't ALWAYS get a value for language from 20minutes. Ahem.
* Convert - to _ in languageJeremy Benoist2017-06-091-4/+8
| | | | Mostly to increase language supports
* Use Locale instead of LanguageJeremy Benoist2017-06-091-14/+78
|
* Validate language & preview picture fieldsJeremy Benoist2017-06-081-12/+117
| | | | | Instead of saving the value of each field right into the content without any validation, it seems better to validate them. This might sounds obvious now we say that.
* CSJeremy Benoist2017-06-071-2/+0
|
* Merge pull request #3184 from wallabag/better-way-image-extensionJérémy Benoist2017-06-072-0/+25
|\ | | | | Use an alternative way to detect images
| * Use an alternative way to detect imageJeremy Benoist2017-06-052-0/+25
| | | | | | | | | | | | | | When parsing content to retrieve images to save locally, we only check for the content-type of the image response. In some case, that value is empty. Now we’re also checking for the first few bytes of the content as an alternative to detect if it’s an image wallabag can handle. We might get higher image supports using that alternative method.
* | Fix reviewThomas Citharel2017-06-041-1/+1
| | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Add show user commandThomas Citharel2017-06-021-0/+95
|/ | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Merge pull request #2708 from jcharaoui/import-disablecontentupdateJérémy Benoist2017-06-022-32/+44
|\ | | | | Import disableContentUpdate
| * Rewrote code & fix testsJeremy Benoist2017-06-012-20/+19
| |
| * Fix testsJeremy Benoist2017-06-011-2/+8
| |
| * Add disableContentUpdate import optionJerome Charaoui2017-06-011-5/+4
| | | | | | | | | | | | 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.
| * Avoid returning objects passed by reference.Jerome Charaoui2017-06-011-11/+19
| | | | | | | | | | | | Objects are always passed by reference, so it doesn't make sense to return an object which is passed by reference as it will always be the same object. This change makes the code a bit more readable.
* | Replace images with &Jeremy Benoist2017-06-011-3/+21
|/ | | | | | Images with `&` in the path weren’t well replaced because they might be with `&amp;` in the html instead. Replacing `&` with `&amp;` fix the problem.
* Merge pull request #3137 from aaa2000/isolated-testsJérémy Benoist2017-06-017-219/+357
|\ | | | | Isolated tests
| * Isolated testsadev2017-05-317-219/+357
| | | | | | | | Use https://github.com/dmaicher/doctrine-test-bundle to have test isolation.
* | Fix tests following rebaseJeremy Benoist2017-05-311-2/+2
| |
* | CSJeremy Benoist2017-05-311-3/+3
| |
* | Forced date can now be a timestamp tooJeremy Benoist2017-05-311-0/+81
| | | | | | | | Add adding more tests for forced content
* | Remove htmlawed and use graby insteadJeremy Benoist2017-05-311-13/+13
| | | | | | | | | | Instead of using htmlawed (which is already used in graby) use graby directly (which require some refacto on graby side). Still needs some tests.
* | Use graby ContentExtractor to clean htmlJeremy Benoist2017-05-311-0/+55
|/ | | | It might be better to re-use some graby functionalities to clean html instead of building a new system.
* Merge pull request #3168 from wallabag/instapaper-tags-importNicolas Lœuillet2017-05-314-4/+3
|\ | | | | Add support for tag in Instapaper import
| * CS & improve tags assertionsJeremy Benoist2017-05-314-4/+3
| |
* | Merge pull request #3138 from Kdecherf/2835-tagsNicolas Lœuillet2017-05-312-0/+28
|\ \ | | | | | | Ignore ActionMarkAsRead when removing tag from entry
| * | Ensure retrieved data are freshJeremy Benoist2017-05-311-0/+6
| | |
| * | TagController: ignore ActionMarkAsRead when removing tag from entryKevin Decherf2017-05-312-0/+22
| |/ | | | | | | | | | | Fixes #2835 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* / Use a better way to set input for commandJeremy Benoist2017-05-301-76/+30
|/ | | | | | Actually use the correct to way handle that http://symfony.com/doc/current/components/console/helpers/questionhelper.html#testing-a-command-that-expects-input
* Merge remote-tracking branch 'origin/master' into 2.3Jeremy Benoist2017-05-301-1/+1
|\
| * Fix documentation URL for "How can I help to fix that?"Damien Cassou2017-05-241-1/+1
| |
* | CSThomas Citharel2017-05-281-6/+0
| | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Move Tags assigner to a separate fileThomas Citharel2017-05-272-129/+124
| | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Ensure download_images_enabled is disabledJeremy Benoist2017-05-191-1/+20
| | | | | | | | | | Even if the tests fail, that config must stay disabled after the test. Otherwise it might timeout on other test (because it'll try to save all other images)
* | Merge remote-tracking branch 'origin/master' into 2.3Jeremy Benoist2017-05-191-0/+20
|\|
| * Add some testsJeremy Benoist2017-05-091-0/+20
| |
* | Added tests on logs recordsNicolas Lœuillet2017-05-121-3/+22
| |
* | Fixed testsNicolas Lœuillet2017-05-121-1/+7
| |
* | Replaced json_array with arrayNicolas Lœuillet2017-05-111-1/+1
| | | | | | | | And fixed failing test due to @j0k3r :trollface:
* | Added headers field in EntryNicolas Lœuillet2017-05-111-0/+1
| |
* | Skip auth when no credentials are foundJeremy Benoist2017-05-091-13/+27
| | | | | | | | If we can’t find a credential for the current host, even if it required login, we won’t add them and website will be fetched without any login.
* | Merge pull request #2751 from bdunogier/2.2-guzzle_subscribers_improvementJérémy Benoist2017-05-091-1/+1
|\ \ | | | | | | Improved Guzzle subscribers extensibility
| * | Changed parsing of login_extra_fields in guzzle authBertrand Dunogier2017-05-041-1/+1
| | |
* | | Merge pull request #3088 from wallabag/execute-migrations-after-installJérémy Benoist2017-05-051-3/+9
|\ \ \ | | | | | | | | Added migrations execution after fresh install
| * | | Added migrations execution after fresh installNicolas Lœuillet2017-05-053-5/+11
| |/ /
* | | Merge pull request #2920 from wallabag/cleanduplicatescommandJérémy Benoist2017-05-053-2/+110
|\ \ \ | |/ / |/| | Clean Duplicates Command
| * | Fixed testNicolas Lœuillet2017-05-051-0/+4
| | |
| * | Fixed @j0k3r reviewNicolas Lœuillet2017-05-051-3/+3
| | |
| * | Added test for deduplicationNicolas Lœuillet2017-05-053-3/+48
| | |
| * | Add basic testsThomas Citharel2017-05-011-0/+59
| | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | Changed export testNicolas Lœuillet2017-05-031-3/+1
| | |