aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add disableContentUpdate import optionJerome Charaoui2017-06-018-35/+34
| | | | | | | | | | | | 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 `&` in the html instead. Replacing `&` with `&` fix the problem.
* Merge pull request #3137 from aaa2000/isolated-testsJérémy Benoist2017-06-0112-262/+429
|\ | | | | Isolated tests
| * Isolated testsadev2017-05-3113-265/+433
| | | | | | | | 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.
* | Reduce imported entriesJeremy Benoist2017-05-318-491/+23
| | | | | | | | Down from 2.2 minutes to 1.39 minutes
* | 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.
* | Add support for authorsJeremy Benoist2017-05-311-0/+4
| |
* | Allow other fields to be send using APIJeremy Benoist2017-05-315-21/+20
|/ | | | | | | | | | | | | | | | 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)
* Merge pull request #3168 from wallabag/instapaper-tags-importNicolas Lœuillet2017-05-3112-31/+77
|\ | | | | Add support for tag in Instapaper import
| * CS & improve tags assertionsJeremy Benoist2017-05-319-18/+34
| |
| * Add support for tag in Instapaper importJeremy Benoist2017-05-313-13/+43
| |
* | 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>
* | | Merge pull request #3161 from wallabag/scrutinizer-2.3Nicolas Lœuillet2017-05-311-76/+30
|\ \ \ | |_|/ |/| | Fix some Scrutinizer issues
| * | 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 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
| | |
* | | Merge pull request #3065 from wallabag/api-creation-endpointJérémy Benoist2017-05-303-3/+113
|\ \ \ | |_|/ |/| | Register through API
| * | Avoid side effect on other testsJeremy Benoist2017-05-301-1/+13
| | |
| * | Remove unknown validation_groupsJeremy Benoist2017-05-301-2/+2
| | | | | | | | | | | | The Profile validation_groups does not exist and then for validation to be skipped (like password length)
| * | Re-use `NewUserType` to validate registrationJeremy Benoist2017-05-302-1/+99
| | | | | | | | | | | | | | | | | | The only ugly things is how we handle error by generating the view and then parse the content to retrieve all errors… Fix exposition fields in User entity
* | | 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-279-136/+169
| |/ |/| | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Fix SO testsJeremy Benoist2017-05-241-4/+4
| | | | | | | | SO switched to http yesterday
* | 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-192-0/+54
|\|
| * Merge pull request #3095 from aaa2000/api-error-on-fail-fetch-contentThomas Citharel2017-05-101-0/+34
| |\ | | | | | | Create a new entry via API even when its content can't be retrieved
| | * Remove the created entry to avoid side effects on other testsadev2017-05-091-8/+18
| | |
| | * Create a new entry via API even when its content can't be retrievedadev2017-05-081-0/+24
| | | | | | | | | | | | Fix #2988
| * | Merge pull request #3076 from wallabag/hotfix/2979Nicolas Lœuillet2017-05-091-0/+20
| |\ \ | | | | | | | | Disable negative numbers in filters
| | * | 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
| | |
* | | Merge pull request #3101 from wallabag/credentials-new-extrafieldsJérémy Benoist2017-05-101-13/+27
|\ \ \ | | | | | | | | Skip auth when no credentials are found
| * | | 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.
* | | | Retrieve tag / tags value from query or requestJeremy Benoist2017-05-091-4/+26
|/ / / | | | | | | | | | | | | It allows to request to delete a tag using query string instead of body parameter (which seems to be the standard). Instead of breaking the previous behavior, I used a generic way to retrieve parameter (which looks into request attributes, query parameters and request parameters)
* | | 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 remote-tracking branch 'origin/master' into 2.3Jeremy Benoist2017-05-091-0/+16
|\ \ \ \ | | |/ / | |/| |
| * | | Fix API pagination is broken if perPage is custom valueadev2017-05-081-0/+16
| | |/ | |/| | | | | | | Fix #2720