aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag
Commit message (Collapse)AuthorAgeFilesLines
* Improve reading time testsJeremy Benoist2019-01-048-6/+39
|
* fix incorrect reading time calculation for entries with CJK characterslizyn2018-12-253-0/+21
|
* Prepare 2.3.4 releaseJeremy Benoist2018-11-231-3/+2
|
* updateOriginUrl: remove 'query string' case from ignore listKevin Decherf2018-10-241-10/+2
| | | | | | | Two urls with a different query string may refer to two different pages so keep them both. Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* ignoreOriginUrl: add initial support of ignore listsKevin Decherf2018-10-221-1/+33
| | | | | | | | | | | Add the ability to specify hosts and patterns lists to ignore the given entry url and replace it with the fetched content url without touching to origin_url. This initial support should be reworked in the following months to move the hardcoded ignore lists in the database. Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* updateOriginUrl: add behavior when diff is fragment and queryKevin Decherf2018-10-221-0/+8
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Refactor updateOriginUrl to include new behaviors behaviorsKevin Decherf2018-10-221-26/+95
| | | | | | | | - Leave origin_url unchanged if difference is an ending slash - Leave origin_url unchanged if difference is scheme - Ignore (noop) if difference is query string or fragment Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* ContentProxy: swap entry url to origin_url and set new url according to ↵Kevin Decherf2018-10-211-0/+26
| | | | | | | | graby content Closes #3529 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Run php-cs-fixer for fixing coding standard issues (on ContentProxyTest)Tobi8232018-09-231-11/+19
|
* Make helper methods strToHex and hexToStr in ContentProxyTest.php privateTobi8232018-09-211-2/+2
| | | | to prevent misusage (from outside this class)
* Add tests for logicTobi8232018-09-211-0/+236
| | | | Try to translate the title of a PDF from UTF-8 (then UTF-16BE, then WINDOWS-1252) to UTF-8
* Liberation goes httpsJeremy Benoist2018-09-215-11/+14
|
* Fix testsJeremy Benoist2018-09-071-4/+4
|
* php-cs-fixerKevin Decherf2018-09-0513-31/+31
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Removing failing test from TravisJeremy Benoist2018-08-191-4/+0
|
* More robust srcset image attribute handlingSimounet2018-07-121-0/+25
| | | | Linked to HTMLawed PR https://github.com/kesar/HTMLawed/pull/17
* Replace SO url by lemondeJeremy Benoist2018-07-052-6/+6
| | | | Looks like we got a lot of random failing while grabing SO content, replacing it might fix the problem.
* Fix image downloading on null image pathSimounet2018-07-051-0/+23
|
* Fix testsJeremy Benoist2018-06-068-31/+30
|
* Fix srcset attribute on images downloadedSimounet2018-06-011-0/+21
|
* Allow login by emailFloran Brutel2018-04-011-1/+11
|
* Fix CS in UtilsTest.phpFloran Brutel2018-03-311-1/+1
|
* Replace zataz urlFloran Brutel2018-03-303-9/+9
|
* Use https instead of http for bild.de to fix testsFloran Brutel2018-03-291-1/+1
|
* 20 Minutes is now httpsJeremy Benoist2018-02-242-2/+2
|
* Fixed testsNicolas Lœuillet2018-01-123-6/+6
|
* php-csKevin Decherf2017-12-311-1/+1
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Add test to prevent regression for #3534Kevin Decherf2017-12-311-0/+20
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Add missing assertion in testsJeremy Benoist2017-12-181-0/+3
|
* Fix countable in testsJeremy Benoist2017-12-181-4/+12
|
* Add missing TestCase namespaceJeremy Benoist2017-12-185-5/+10
|
* Fix typoJeremy Benoist2017-12-181-3/+3
|
* Use namespaced PHPUnit classesJeremy Benoist2017-12-1823-23/+46
|
* api: copy entry object before sending, to keep idKevin Decherf2017-12-171-0/+1
| | | | | | Workaround for https://github.com/wallabag/android-app/issues/646 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Add test on EntryControllerTest for #3442Kevin Decherf2017-12-132-0/+54
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Fix empty title and domain_name when exception is thrown during fetchKevin Decherf2017-12-131-0/+2
| | | | | | | | | | Add a new helper to set a default title when it's empty: 1/ use basename part of entry's path, if any 2/ or use domain name Fixes #2053 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Fix All RSS not accessible if not logged in + TestsChristophe VERGNE2017-12-111-0/+25
|
* Merge pull request #3401 from aaa2000/migration-initialJérémy Benoist2017-11-251-6/+2
|\ | | | | Add an initial doctrine migration
| * Fix installation commandadev2017-11-211-6/+2
| |
* | Merge pull request #3431 from wallabag/disable-site-credentialsJérémy Benoist2017-11-221-0/+14
|\ \ | |/ |/| Disable controller access if feature disabled
| * Disable controller access if feature disabledJeremy Benoist2017-11-221-0/+14
| | | | | | | | If `restricted_access` is disabled, accessing `/site-credentials/` must be disabled.
* | Merge pull request #3425 from wallabag/add-setting-for-headersNicolas Lœuillet2017-11-212-1/+5
|\| | | | | Added internal setting to enable/disable headers storage
| * Define storeArticleHeaders false by defaultJeremy Benoist2017-11-213-16/+17
| | | | | | | | | | Fix tests which must use `$storeArticleHeaders`. Fix CS
| * Added internal setting to enable/disable headers storageNicolas Lœuillet2017-11-202-13/+16
| |
* | CSJeremy Benoist2017-11-213-3/+3
| |
* | Fix phpcsKevin Decherf2017-11-193-19/+19
| | | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | Improve EntryRestControllerTest for origin_urlKevin Decherf2017-11-191-0/+55
| | | | | | | | | | | | | | | | Ensure that origin_url is initially null Ensure patching entry with origin_url='' Ensure patching entry with origin_url=null Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | Update EntryControllerTest to handle origin_urlKevin Decherf2017-11-191-2/+38
| | | | | | | | | | | | | | Set an origin_url in testEditUpdate Test origin_url deletion in testEditRemoveOriginUrl Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | Add some tests for OriginUrl in EntryRestControllerKevin Decherf2017-11-191-0/+73
| | | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | Twig: add removeSchemeAndWww filterKevin Decherf2017-11-191-0/+27
|/ | | | | | | | This twig filter removes scheme (only http and https are supported) and pass the result to removeWww filter to also remove 'www.' at the beginning of an url. Signed-off-by: Kevin Decherf <kevin@kdecherf.com>