Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | epub export: fix missing cover image, only for exports of one article | Kevin Decherf | 2019-02-18 | 1 | -7/+9 |
| | | | | | | Fixes #3602 Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | CS | Jeremy Benoist | 2019-02-11 | 1 | -1/+1 |
| | |||||
* | EntriesExport: avoid else on $authors | Kevin Decherf | 2019-01-09 | 1 | -4/+2 |
| | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | EntriesExport: sanitize filename and fix tests | Kevin Decherf | 2019-01-08 | 1 | -10/+18 |
| | | | | | | | | 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> | ||||
* | EntriesExport/pdf: move notice to the end, add metadata cover | Kevin Decherf | 2019-01-07 | 1 | -8/+25 |
| | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | EntriesExport/epub: add metadata to each entry's cover | Kevin Decherf | 2019-01-07 | 1 | -1/+16 |
| | | | | | | | | | | | | | Add metadata to the cover of each entry: - Publishers - Estimated reading time - Date of creation ("Added on") - Address (URL) Related to #2821 Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | EntriesExport: change authors and title when not single entry export | Kevin Decherf | 2019-01-07 | 1 | -1/+1 |
| | | | | | | | | | | Change '{method} authors' (which gives 'Tag_entries authors' when exporting a tag) to 'Various authors'. When exporting a tag (tag_entries), change the title from 'Tag_entries articles' to 'Tag {tag} articles'. Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | EntriesExport/epub: revert c779373f, move exportinfo to the end of the book | Kevin Decherf | 2019-01-07 | 1 | -1/+3 |
| | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | EntriesExport/epub: use sha1 sums for filenames, fix and rename title chapters | Kevin Decherf | 2019-01-07 | 1 | -6/+6 |
| | | | | | | | | This commit renames entry chapters file using a sha1 sum of their title for simplicity. Also we fix the 'Title' chapter duplicate issue by using the hash of the related entry and the suffix '_title'. Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | EntriesExport/epub: remove TOC page | Kevin Decherf | 2019-01-07 | 1 | -2/+0 |
| | | | | | | | | | This change only remove the rendered page of the TOC at the end of the book, the TOC remains available to readers. Fixes #3603 Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | EntriesExport/epub: replace epub identifier with unique urn | Kevin Decherf | 2019-01-06 | 1 | -2/+8 |
| | | | | | | | | | | | | | | We replace the title used as the unique identifier of the epub file with a urn following the format: urn:wallabag:{sha1("wallabagUrl:listOfEntryIdsSeparatedByComma")} This format is repeatable: it always gives the same uid for the same list of entries. Fixes #3811 Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | phpcs | Kevin Decherf | 2018-10-24 | 1 | -1/+2 |
| | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | updateOriginUrl: remove 'query string' case from ignore list | Kevin Decherf | 2018-10-24 | 1 | -2/+0 |
| | | | | | | | 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> | ||||
* | updateOriginUrl: add comment blocks for the parse_url diff check | Kevin Decherf | 2018-10-24 | 1 | -0/+23 |
| | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | updateOriginUrl: rewrite some if, resolving feedbacks from PR | Kevin Decherf | 2018-10-24 | 1 | -32/+35 |
| | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | ignoreOriginUrl: add initial support of ignore lists | Kevin Decherf | 2018-10-22 | 1 | -20/+59 |
| | | | | | | | | | | | 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/+1 |
| | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | Refactor updateOriginUrl to include new behaviors behaviors | Kevin Decherf | 2018-10-22 | 1 | -9/+45 |
| | | | | | | | | - 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 | -4/+11 |
| | | | | | | | | graby content Closes #3529 Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | ContentProxy: fix a corner case when entry.url is empty in updateEntry | Kevin Decherf | 2018-10-21 | 1 | -0/+8 |
| | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | Run php-cs-fixer for fixing coding standard issues | Tobi823 | 2018-09-23 | 1 | -41/+53 |
| | |||||
* | Override the value of the given parameter ($title) with the (hopefully) | Tobi823 | 2018-09-21 | 1 | -2/+1 |
| | | | | correct (to UTF-8) converted PDF title | ||||
* | Add tests for logic | Tobi823 | 2018-09-21 | 1 | -2/+2 |
| | | | | Try to translate the title of a PDF from UTF-8 (then UTF-16BE, then WINDOWS-1252) to UTF-8 | ||||
* | Try to detect the character encoding in PDFs and try to translate | Tobi823 | 2018-09-21 | 1 | -13/+33 |
| | | | | the title from the PDF to UTF-8 | ||||
* | Remove type declaration for PHP 5 compatibility | Tobi823 | 2018-09-21 | 1 | -1/+1 |
| | |||||
* | Bugfix: Sanitize the title of a saved webpage from invalid UTF-8 characters | Tobi823 | 2018-09-21 | 1 | -0/+23 |
| | |||||
* | php-cs-fixer | Kevin Decherf | 2018-09-05 | 7 | -13/+13 |
| | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | More robust srcset image attribute handling | Simounet | 2018-07-12 | 1 | -3/+8 |
| | | | | Linked to HTMLawed PR https://github.com/kesar/HTMLawed/pull/17 | ||||
* | Fix image downloading on null image path | Simounet | 2018-07-05 | 1 | -0/+4 |
| | |||||
* | Fix srcset attribute on images downloaded | Simounet | 2018-06-01 | 1 | -3/+33 |
| | |||||
* | Fix empty title and domain_name when exception is thrown during fetch | Kevin Decherf | 2017-12-13 | 1 | -4/+33 |
| | | | | | | | | | | 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> | ||||
* | Define storeArticleHeaders false by default | Jeremy Benoist | 2017-11-21 | 1 | -1/+1 |
| | | | | | Fix tests which must use `$storeArticleHeaders`. Fix CS | ||||
* | Added internal setting to enable/disable headers storage | Nicolas Lœuillet | 2017-11-20 | 1 | -2/+4 |
| | |||||
* | Properly run php-cs-fixer | Jeremy Benoist | 2017-10-28 | 1 | -23/+23 |
| | |||||
* | php-cs-fixer | Martin Trigaux | 2017-10-28 | 1 | -24/+24 |
| | | | | php bin/php-cs-fixer fix src/Wallabag/CoreBundle/Helper/EntriesExport.php | ||||
* | Set the title in a separated chapter | Martin Trigaux | 2017-10-28 | 1 | -5/+4 |
| | | | | | Set the export option on the same page, same as done in producePdf Move the ToC at the end of the book so the title page is the first one | ||||
* | add a title page | Martin Trigaux | 2017-10-28 | 1 | -1/+2 |
| | | | | The first page of the book is the title | ||||
* | CS | Jeremy Benoist | 2017-10-11 | 1 | -3/+3 |
| | |||||
* | Fixed @j0k3r's review | Nicolas Lœuillet | 2017-10-11 | 1 | -0/+1 |
| | |||||
* | Fixed @tcitworld's review | Nicolas Lœuillet | 2017-10-11 | 1 | -6/+2 |
| | |||||
* | Translated first page of exported article | Nicolas Lœuillet | 2017-10-11 | 1 | -2/+7 |
| | |||||
* | CS | Jeremy Benoist | 2017-10-09 | 1 | -1/+1 |
| | |||||
* | Merge pull request #3332 from nclsHart/better-txt-export | Nicolas Lœuillet | 2017-09-06 | 1 | -1/+3 |
|\ | | | | | Better entry txt export using html2text | ||||
| * | better entry txt export using html2text | Nicolas Hart | 2017-08-27 | 1 | -1/+3 |
| | | |||||
* | | Tag: render tags case-insensitive by storing them in lowercase | Kevin Decherf | 2017-08-27 | 1 | -1/+1 |
|/ | | | | | | Fixes #2502 Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | Fix some namespaces and phpdoc | Nicolas Hart | 2017-07-29 | 1 | -2/+2 |
| | |||||
* | Add a test for updatePublishedAt | Jeremy Benoist | 2017-07-24 | 1 | -3/+9 |
| | | | | | | | To avoid error when a content is re-submitted and it previously add a published date. Also, fix the `testPostSameEntry` | ||||
* | Fix updatePublishedAt on already parsed article's date | Simounet | 2017-07-24 | 1 | -1/+1 |
| | |||||
* | Merge pull request #3266 from egilli/export-domain-as-author | Jérémy Benoist | 2017-07-11 | 1 | -6/+31 |
|\ | | | | | Use the article publisher as author for exported files | ||||
| * | Make updateAuthor code simpler to read | Étienne Gilli | 2017-07-10 | 1 | -8/+10 |
| | |