aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle
Commit message (Collapse)AuthorAgeFilesLines
* EntriesExport/epub: remove TOC pageKevin Decherf2019-01-071-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>
* Merge pull request #3827 from wallabag/epub-quoteKevin Decherf2019-01-071-2/+8
|\ | | | | EntriesExport/epub: replace epub identifier with unique urn
| * EntriesExport/epub: replace epub identifier with unique urnKevin Decherf2019-01-061-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>
* | Merge pull request #3820 from ↵Jérémy Benoist2019-01-071-4/+3
|\ \ | |/ |/| | | | | 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 CJKlizyn2019-01-061-1/+1
| |
| * Improve reading time testsJeremy Benoist2019-01-041-3/+2
| |
| * fix incorrect reading time calculation for entries with CJK characterslizyn2018-12-251-1/+1
| |
* | TagRestController: rewrite delete actions to only retrieve tags related to ↵Kevin Decherf2018-12-301-0/+17
| | | | | | | | | | | | | | | | the user Fixes #3815 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | TagRepository: refactor query builder for queries by userIdKevin Decherf2018-12-301-16/+20
| | | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | fixtures: refactor EntryData, TagData, add a new tagKevin Decherf2018-12-292-118/+122
|/ | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Merge pull request #3782 from wallabag/issue-3779Kevin Decherf2018-11-261-6/+5
|\ | | | | material: fix missing thumbnail on list view
| * material: fix missing thumbnail on list viewKevin Decherf2018-11-251-6/+5
| | | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | Merge pull request #3765 from burkemw3/patch-2Jérémy Benoist2018-11-262-7/+0
|\ \ | |/ |/| Remove preview picture from single entry view page for #1875
| * Remove preview picture from single entry view page for #1875Matt Burke2018-11-242-7/+0
| | | | | | | | | | | | Showing the preview picture usually leads to showing a duplicate image, and frequently leads to showing duplicate images directly adjacent to each other.
* | Card no preview replaced by wallabag logoSimounet2018-11-211-5/+2
| |
* | Update messages.en.ymlEloi Coutant2018-11-161-3/+3
| |
* | Update messages.fr.ymlEloi Coutant2018-11-161-1/+1
| |
* | Update messages.fr.ymlEloi Coutant2018-11-161-3/+3
| | | | | | Modification pour éclaircir le sens de l'option
* | Add rel=noopener to target=_blank linksMatt Burke2018-11-076-25/+25
|/ | | | | | | From https://developers.google.com/web/tools/lighthouse/audits/noopener: - new pages will run in separate processes, avoiding any performance intermingling impacts - new pages won't have access to current page's window object via JavaScript
* Merge pull request #3764 from shtrom/fix-matches-notmatches-languageKevin Decherf2018-11-018-13/+13
|\ | | | | Fix documentation wording for matches/notmatches tagging rules
| * fixup! fixup! Fix documentation wording for matches/notmatches tagging rulesOlivier Mehani2018-11-018-8/+8
| |
| * fixup! Fix documentation wording for matches/notmatches tagging rulesOlivier Mehani2018-11-018-8/+8
| |
| * Fix documentation wording for matches/notmatches tagging rulesOlivier Mehani2018-10-318-13/+13
| | | | | | | | Signed-off-by: Olivier Mehani <shtrom@ssji.net>
* | phpcsKevin Decherf2018-10-241-1/+2
| | | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | updateOriginUrl: remove 'query string' case from ignore listKevin Decherf2018-10-241-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 checkKevin Decherf2018-10-241-0/+23
| | | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | updateOriginUrl: rewrite some if, resolving feedbacks from PRKevin Decherf2018-10-241-32/+35
| | | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | ignoreOriginUrl: add initial support of ignore listsKevin Decherf2018-10-221-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 queryKevin Decherf2018-10-221-0/+1
| | | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | Refactor updateOriginUrl to include new behaviors behaviorsKevin Decherf2018-10-221-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 Decherf2018-10-211-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 updateEntryKevin Decherf2018-10-211-0/+8
| | | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | Merge pull request #3745 from burkemw3/patch-3Jérémy Benoist2018-10-163-17/+5
|\ \ | | | | | | Add placeholder image to card-based gallery entries page
| * | Add placeholder image to card-based gallery entries page for #3651Matt Burke2018-10-153-17/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I referenced https://css-tricks.com/using-svg/ for using the SVG icon. The icon has a black foreground and white background, which doesn't look very good as a placeholder. So, using the background-image style to show the svg and the inversion filter to make it white on gray. With the image always present, there isn't much difference between the with and without image preview templates, so I merged them. Tested on Chrome, Firefox, and Safari on OSX.
* | | Merge pull request #3606 from mritzmann/masterJérémy Benoist2018-10-151-0/+2
|\ \ \ | |/ / |/| | add manifest.json for android pwa
| * | change href link for manifest.jsonMarkus Ritzmann2018-03-191-1/+1
| | |
| * | add manifest.json for android pwamritzmann2018-03-181-0/+2
| | |
* | | Show tags on non-image gallery preview cardMatt Burke2018-10-111-0/+7
| | | | | | | | | | | | | | | Tags and images aren't coupled, so they shouldn't be coupled in the UI, either. This also makes the titles and source domains show up consistently for image and non-image entry cards.
* | | Run php-cs-fixer for fixing coding standard issuesTobi8232018-09-231-41/+53
| | |
* | | Override the value of the given parameter ($title) with the (hopefully)Tobi8232018-09-211-2/+1
| | | | | | | | | | | | correct (to UTF-8) converted PDF title
* | | Add tests for logicTobi8232018-09-211-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 translateTobi8232018-09-211-13/+33
| | | | | | | | | | | | the title from the PDF to UTF-8
* | | Remove type declaration for PHP 5 compatibilityTobi8232018-09-211-1/+1
| | |
* | | Bugfix: Sanitize the title of a saved webpage from invalid UTF-8 charactersTobi8232018-09-211-0/+23
| | |
* | | Add missing parametersJeremy Benoist2018-09-071-1/+1
| | | | | | | | | | | | Parameters weren’t passed to the sub function.
* | | php-cs-fixerKevin Decherf2018-09-051-7/+7
| | | | | | | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | | EntryRepository: refactor getBuilderForUntaggedByUserKevin Decherf2018-09-051-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | Improve SQL performance by replacing size(e.tags) with a left join and a null condition Move the QueryBuilder logic into getRawBuilderForUntaggedByUser Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | | EntryRepository: refactor getBuilderByUserKevin Decherf2018-09-051-12/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We refactor getBuilderByUser to separate QueryBuilder getter and the orderBy(). The previous code of getBuilderByUser() has been moved to getSortedQueryBuilderByUser(). getBuildByUser() now returns a QueryBuilder without the call to orderBy(). A new method named sortQueryBuilder() returns a given QueryBuilder with an orderBy() call using given sort parameters. Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | | php-cs-fixerKevin Decherf2018-09-0521-39/+39
| |/ |/| | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | Fixes a typoAleksandar Todorović (r3bl)2018-08-101-1/+1
| |