Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | EntryRestController: add support of expect parameter to delete action | Kevin Decherf | 2019-02-20 | 1 | -5/+16 |
| | | | | | | | | | | | The expect parameter enables an application to request the whole entry or only the id when requesting its deletion. `expects` defaults to `entry` to prevent any API breakage. Fixes #3711 Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | tests: create entry for testDeleteEntry, fix missing id | Kevin Decherf | 2019-02-17 | 1 | -7/+29 |
| | | | | | | | | | | | When using the entity manager to retrieve an already stored entry, the id disapears from $entry after the first delete call. This leads to testing a nonexistent endpoint (api/entries/.json) during the second delete call. This change now creates an entry specifically for the test. Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | Improve checks & add tests | Jeremy Benoist | 2019-01-28 | 1 | -0/+7 |
| | |||||
* | Avoid error when a bad `order` parameter is given | Jeremy Benoist | 2019-01-14 | 1 | -0/+9 |
| | | | | Only allowed parameter are asc & desc | ||||
* | Merge pull request #3826 from wallabag/epub-toc | Jérémy Benoist | 2019-01-11 | 1 | -3/+8 |
|\ | | | | | Rework of EPUB/PDF exports | ||||
| * | EntriesExport: sanitize filename and fix tests | Kevin Decherf | 2019-01-08 | 1 | -3/+8 |
| | | | | | | | | | | | | | | | | Filename will now only use a-zA-Z0-9-' and space. Fixes remaining filename issue on #3811 Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | | Merge pull request #3831 from wallabag/fix/api-bad-client-id | Jérémy Benoist | 2019-01-10 | 1 | -0/+14 |
|\ \ | |/ |/| | Cast client id to avoid PG error | ||||
| * | Cast client id to avoid PG error | Jeremy Benoist | 2019-01-09 | 1 | -0/+14 |
| | | | | | | | | If someone send a malformated client_id when trying to authenticate using the API we got a 500 if wallabag use postgres because the request send a string instead of an integer. | ||||
* | | Merge pull request #3820 from ↵ | Jérémy Benoist | 2019-01-07 | 8 | -6/+60 |
|\ \ | | | | | | | | | | | | | lizyn/bugfix/incorrect-calculation-of-CJK-characters-in-reading-time-estimation Fix incorrect reading time calculation for entries with CJK characters | ||||
| * | | Counting two characters together as a word in CJK | lizyn | 2019-01-06 | 3 | -4/+4 |
| | | | |||||
| * | | Improve reading time tests | Jeremy Benoist | 2019-01-04 | 8 | -6/+39 |
| | | | |||||
| * | | fix incorrect reading time calculation for entries with CJK characters | lizyn | 2018-12-25 | 3 | -0/+21 |
| |/ | |||||
* | | TagRestController: fix test for tag without entries | Kevin Decherf | 2018-12-30 | 1 | -2/+12 |
| | | | | | | | | | | | | | | | | As the deletion now requires that at least one entry for the user must be linked to the given tag, we fix the test testDeleteUserTag by linking it to an entry. Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | | TagRestController: add tests to ensure that other user's tags are unreachable | Kevin Decherf | 2018-12-30 | 1 | -0/+32 |
|/ | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | Prepare 2.3.4 release | Jeremy Benoist | 2018-11-23 | 1 | -3/+2 |
| | |||||
* | updateOriginUrl: remove 'query string' case from ignore list | Kevin Decherf | 2018-10-24 | 1 | -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 lists | Kevin Decherf | 2018-10-22 | 1 | -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 query | Kevin Decherf | 2018-10-22 | 1 | -0/+8 |
| | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | Refactor updateOriginUrl to include new behaviors behaviors | Kevin Decherf | 2018-10-22 | 1 | -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 Decherf | 2018-10-21 | 1 | -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) | Tobi823 | 2018-09-23 | 1 | -11/+19 |
| | |||||
* | Make helper methods strToHex and hexToStr in ContentProxyTest.php private | Tobi823 | 2018-09-21 | 1 | -2/+2 |
| | | | | to prevent misusage (from outside this class) | ||||
* | Add tests for logic | Tobi823 | 2018-09-21 | 1 | -0/+236 |
| | | | | Try to translate the title of a PDF from UTF-8 (then UTF-16BE, then WINDOWS-1252) to UTF-8 | ||||
* | Liberation goes https | Jeremy Benoist | 2018-09-21 | 5 | -11/+14 |
| | |||||
* | Fix tests | Jeremy Benoist | 2018-09-07 | 1 | -4/+4 |
| | |||||
* | php-cs-fixer | Kevin Decherf | 2018-09-05 | 13 | -31/+31 |
| | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | Removing failing test from Travis | Jeremy Benoist | 2018-08-19 | 1 | -4/+0 |
| | |||||
* | More robust srcset image attribute handling | Simounet | 2018-07-12 | 1 | -0/+25 |
| | | | | Linked to HTMLawed PR https://github.com/kesar/HTMLawed/pull/17 | ||||
* | Replace SO url by lemonde | Jeremy Benoist | 2018-07-05 | 2 | -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 path | Simounet | 2018-07-05 | 1 | -0/+23 |
| | |||||
* | Fix tests | Jeremy Benoist | 2018-06-06 | 8 | -31/+30 |
| | |||||
* | Fix srcset attribute on images downloaded | Simounet | 2018-06-01 | 1 | -0/+21 |
| | |||||
* | Allow login by email | Floran Brutel | 2018-04-01 | 1 | -1/+11 |
| | |||||
* | Fix CS in UtilsTest.php | Floran Brutel | 2018-03-31 | 1 | -1/+1 |
| | |||||
* | Replace zataz url | Floran Brutel | 2018-03-30 | 3 | -9/+9 |
| | |||||
* | Use https instead of http for bild.de to fix tests | Floran Brutel | 2018-03-29 | 1 | -1/+1 |
| | |||||
* | 20 Minutes is now https | Jeremy Benoist | 2018-02-24 | 2 | -2/+2 |
| | |||||
* | Fixed tests | Nicolas Lœuillet | 2018-01-12 | 3 | -6/+6 |
| | |||||
* | php-cs | Kevin Decherf | 2017-12-31 | 1 | -1/+1 |
| | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | Add test to prevent regression for #3534 | Kevin Decherf | 2017-12-31 | 1 | -0/+20 |
| | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | Add missing assertion in tests | Jeremy Benoist | 2017-12-18 | 1 | -0/+3 |
| | |||||
* | Fix countable in tests | Jeremy Benoist | 2017-12-18 | 1 | -4/+12 |
| | |||||
* | Add missing TestCase namespace | Jeremy Benoist | 2017-12-18 | 5 | -5/+10 |
| | |||||
* | Fix typo | Jeremy Benoist | 2017-12-18 | 1 | -3/+3 |
| | |||||
* | Use namespaced PHPUnit classes | Jeremy Benoist | 2017-12-18 | 23 | -23/+46 |
| | |||||
* | api: copy entry object before sending, to keep id | Kevin Decherf | 2017-12-17 | 1 | -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 #3442 | Kevin Decherf | 2017-12-13 | 2 | -0/+54 |
| | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | Fix empty title and domain_name when exception is thrown during fetch | Kevin Decherf | 2017-12-13 | 1 | -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 + Tests | Christophe VERGNE | 2017-12-11 | 1 | -0/+25 |
| | |||||
* | Merge pull request #3401 from aaa2000/migration-initial | Jérémy Benoist | 2017-11-25 | 1 | -6/+2 |
|\ | | | | | Add an initial doctrine migration |