Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | More robust srcset image attribute handling | Simounet | 2018-07-12 | 1 | -0/+25 |
| | | | | Linked to HTMLawed PR https://github.com/kesar/HTMLawed/pull/17 | ||||
* | Fix image downloading on null image path | Simounet | 2018-07-05 | 1 | -0/+23 |
| | |||||
* | Fix tests | Jeremy Benoist | 2018-06-06 | 1 | -1/+0 |
| | |||||
* | Fix srcset attribute on images downloaded | Simounet | 2018-06-01 | 1 | -0/+21 |
| | |||||
* | Fix countable in tests | Jeremy Benoist | 2017-12-18 | 1 | -4/+12 |
| | |||||
* | Use namespaced PHPUnit classes | Jeremy Benoist | 2017-12-18 | 6 | -6/+12 |
| | |||||
* | Define storeArticleHeaders false by default | Jeremy Benoist | 2017-11-21 | 1 | -14/+15 |
| | | | | | Fix tests which must use `$storeArticleHeaders`. Fix CS | ||||
* | Added internal setting to enable/disable headers storage | Nicolas Lœuillet | 2017-11-20 | 1 | -13/+13 |
| | |||||
* | CS | Jeremy Benoist | 2017-07-03 | 1 | -5/+5 |
| | |||||
* | Fix validateAndSetPreviewPicture | Jeremy Benoist | 2017-07-03 | 1 | -0/+35 |
| | | | | Which wasn't covered by a test! | ||||
* | Fix PATCH method | Jeremy Benoist | 2017-07-03 | 1 | -5/+2 |
| | | | | | The PATCH method for the entry should only update what user sent to us and not the whole entry as it was before. Also, sending tags when patching an entry will now remove all current tags & assocatied new ones. | ||||
* | Fix tests | Jeremy Benoist | 2017-07-03 | 1 | -1/+1 |
| | |||||
* | Add a real configuration for CS-Fixer | Jeremy Benoist | 2017-07-01 | 6 | -123/+123 |
| | |||||
* | Merge pull request #2683 from wallabag/credentials-in-db | Jérémy Benoist | 2017-06-20 | 1 | -0/+40 |
|\ | | | | | Store credentials in DB | ||||
| * | Crypt site credential password | Jeremy Benoist | 2017-06-20 | 1 | -0/+40 |
| | | |||||
* | | Fix empty language and preview pics | Thomas Citharel | 2017-06-12 | 1 | -3/+3 |
|/ | |||||
* | Validate language & preview picture fields | Jeremy Benoist | 2017-06-08 | 1 | -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 image | Jeremy Benoist | 2017-06-05 | 1 | -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-disablecontentupdate | Jérémy Benoist | 2017-06-02 | 1 | -31/+43 |
|\ | | | | | Import disableContentUpdate | ||||
| * | Rewrote code & fix tests | Jeremy Benoist | 2017-06-01 | 1 | -19/+18 |
| | | |||||
| * | Fix tests | Jeremy Benoist | 2017-06-01 | 1 | -2/+8 |
| | | |||||
| * | Add disableContentUpdate import option | Jerome Charaoui | 2017-06-01 | 1 | -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 Charaoui | 2017-06-01 | 1 | -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 Benoist | 2017-06-01 | 1 | -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 rebase | Jeremy Benoist | 2017-05-31 | 1 | -2/+2 |
| | |||||
* | CS | Jeremy Benoist | 2017-05-31 | 1 | -3/+3 |
| | |||||
* | Forced date can now be a timestamp too | Jeremy Benoist | 2017-05-31 | 1 | -0/+81 |
| | | | | Add adding more tests for forced content | ||||
* | Remove htmlawed and use graby instead | Jeremy Benoist | 2017-05-31 | 1 | -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 html | Jeremy Benoist | 2017-05-31 | 1 | -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-import | Nicolas Lœuillet | 2017-05-31 | 1 | -1/+0 |
|\ | | | | | Add support for tag in Instapaper import | ||||
| * | CS & improve tags assertions | Jeremy Benoist | 2017-05-31 | 1 | -1/+0 |
| | | |||||
* | | TagController: ignore ActionMarkAsRead when removing tag from entry | Kevin Decherf | 2017-05-31 | 1 | -0/+18 |
|/ | | | | | | Fixes #2835 Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | Merge remote-tracking branch 'origin/master' into 2.3 | Jeremy Benoist | 2017-05-30 | 1 | -1/+1 |
|\ | |||||
| * | Fix documentation URL for "How can I help to fix that?" | Damien Cassou | 2017-05-24 | 1 | -1/+1 |
| | | |||||
* | | CS | Thomas Citharel | 2017-05-28 | 1 | -6/+0 |
| | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr> | ||||
* | | Move Tags assigner to a separate file | Thomas Citharel | 2017-05-27 | 2 | -129/+124 |
| | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr> | ||||
* | | Added tests on logs records | Nicolas Lœuillet | 2017-05-12 | 1 | -3/+22 |
| | | |||||
* | | Fixed tests | Nicolas Lœuillet | 2017-05-12 | 1 | -1/+7 |
| | | |||||
* | | Added test for deduplication | Nicolas Lœuillet | 2017-05-05 | 1 | -1/+1 |
|/ | |||||
* | Avoid false preview image | Jeremy Benoist | 2017-01-10 | 1 | -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 ContentProxyTest | Jerome Charaoui | 2016-12-03 | 1 | -3/+4 |
| | | | | | Define the error string manually inside the test class instead of fetching it from app config. | ||||
* | Fix ContentProxy tests | Jerome Charaoui | 2016-12-03 | 1 | -17/+18 |
| | |||||
* | Added http_status in Entry entity | Nicolas Lœuillet | 2016-11-18 | 1 | -0/+4 |
| |