aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/CoreBundle/Helper
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Use an alternative way to detect imageJeremy Benoist2017-06-051-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.
* Merge pull request #2708 from jcharaoui/import-disablecontentupdateJérémy Benoist2017-06-021-31/+43
|\ | | | | Import disableContentUpdate
| * Rewrote code & fix testsJeremy Benoist2017-06-011-19/+18
| |
| * 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 `&` in the html instead. Replacing `&` with `&` fix the problem.
* 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-311-1/+0
|\ | | | | Add support for tag in Instapaper import
| * CS & improve tags assertionsJeremy Benoist2017-05-311-1/+0
| |
* | TagController: ignore ActionMarkAsRead when removing tag from entryKevin Decherf2017-05-311-0/+18
|/ | | | | | Fixes #2835 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* 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>
* | Added tests on logs recordsNicolas Lœuillet2017-05-121-3/+22
| |
* | Fixed testsNicolas Lœuillet2017-05-121-1/+7
| |
* | Added test for deduplicationNicolas Lœuillet2017-05-051-1/+1
|/
* Avoid false preview imageJeremy Benoist2017-01-101-0/+41
| | | | | If the website doesn't provide an og_image, the value will be false and so it'll be saved like that in the database. We prefer to leave it as null instead of false.
* Revert switch to KernelTestCase for ContentProxyTestJerome Charaoui2016-12-031-3/+4
| | | | | Define the error string manually inside the test class instead of fetching it from app config.
* Fix ContentProxy testsJerome Charaoui2016-12-031-17/+18
|
* Added http_status in Entry entityNicolas Lœuillet2016-11-181-0/+4
|
* CSJeremy Benoist2016-11-161-3/+0
|
* Update unit test for RedirectJeremy Benoist2016-11-161-61/+43
|
* Tried to fix testsNicolas Lœuillet2016-11-161-5/+60
|
* Added testsNicolas Lœuillet2016-11-161-2/+2
|
* Added a configuration to define the redirection after archiving an entryNicolas Lœuillet2016-11-162-2/+4
| | | | Fix #496
* Use custom event instead of Doctrine onesJeremy Benoist2016-11-011-15/+14
| | | | This give us ability to use Entry ID to determine where to store images and it’s then more easy to remove them when we remove the entry.
* Add instance url to the downloaded imagesJeremy Benoist2016-10-301-1/+3
|
* Fixing testsJeremy Benoist2016-10-301-0/+19
|
* Use doctrine event to download imagesJeremy Benoist2016-10-301-0/+123
|
* Use scheduled entity insertions to avoid tag duplicateJeremy Benoist2016-09-251-0/+23
| | | | Using `getScheduledEntityInsertions()` we can retrieve not yet flushed but already persisted entities and then avoid tags duplication on import.
* Jump to Symfony 3.1Jeremy Benoist2016-06-223-0/+585