]>
git.immae.eu Git - github/wallabag/wallabag.git/log
Kevin Decherf [Mon, 7 Jan 2019 10:59:38 +0000 (11:59 +0100)]
Merge pull request #3827 from wallabag/epub-quote
EntriesExport/epub: replace epub identifier with unique urn
Jérémy Benoist [Mon, 7 Jan 2019 09:17:29 +0000 (10:17 +0100)]
Merge pull request #3820 from lizyn/bugfix/incorrect-calculation-of-CJK-characters-in-reading-time-estimation
Fix incorrect reading time calculation for entries with CJK characters
Kevin Decherf [Sun, 6 Jan 2019 17:38:02 +0000 (18:38 +0100)]
EntriesExport/epub: replace epub identifier with unique urn
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>
lizyn [Sat, 5 Jan 2019 04:30:15 +0000 (12:30 +0800)]
Counting two characters together as a word in CJK
Jeremy Benoist [Fri, 4 Jan 2019 10:22:43 +0000 (11:22 +0100)]
Improve reading time tests
Jérémy Benoist [Fri, 4 Jan 2019 10:06:53 +0000 (11:06 +0100)]
Merge pull request #3816 from wallabag/validate-import-entry
Validate imported entry to avoid error on import
Jeremy Benoist [Tue, 18 Dec 2018 12:14:42 +0000 (13:14 +0100)]
Validate imported entry to avoid error on import
We got some imports with a missing `url` field generating some errors while trying to retrieve an existing entry with that url.
Introducing the `validateEntry` allow us to dismiss a message when it doesn't have an url (or other missing stuff in the future)
Jérémy Benoist [Thu, 3 Jan 2019 08:14:26 +0000 (09:14 +0100)]
Merge pull request #3823 from wallabag/fix-tag-api-leak
Fix tag API leak
Kevin Decherf [Sat, 29 Dec 2018 19:43:34 +0000 (20:43 +0100)]
TagRestController: fix test for tag without entries
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>
Kevin Decherf [Sat, 29 Dec 2018 19:42:41 +0000 (20:42 +0100)]
TagRestController: rewrite delete actions to only retrieve tags related to the user
Fixes #3815
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Sat, 29 Dec 2018 18:43:07 +0000 (19:43 +0100)]
TagRestController: add tests to ensure that other user's tags are unreachable
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Sat, 29 Dec 2018 18:42:37 +0000 (19:42 +0100)]
TagRepository: refactor query builder for queries by userId
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Sat, 29 Dec 2018 18:22:05 +0000 (19:22 +0100)]
fixtures: refactor EntryData, TagData, add a new tag
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
lizyn [Tue, 25 Dec 2018 07:31:44 +0000 (15:31 +0800)]
fix incorrect reading time calculation for entries with CJK characters
Jérémy Benoist [Mon, 17 Dec 2018 08:34:15 +0000 (09:34 +0100)]
Merge pull request #3814 from wallabag/2.3.6-dev
Jump to 2.3.6-dev and update release process
Jeremy Benoist [Sat, 15 Dec 2018 07:14:47 +0000 (08:14 +0100)]
Jump to 2.3.6-dev and update release process
Fix release archive in `release.sh` and also fix a typo in the release process
Jérémy Benoist [Fri, 14 Dec 2018 21:53:07 +0000 (22:53 +0100)]
Merge pull request #3812 from wallabag/prepare-2.3.5
Prepare 2.3.5 release
Jeremy Benoist [Fri, 14 Dec 2018 19:59:16 +0000 (20:59 +0100)]
Prepare 2.3.5 release
Jérémy Benoist [Fri, 14 Dec 2018 09:46:44 +0000 (10:46 +0100)]
Merge pull request #3810 from wallabag/remove-guzzle-site-authenticator-dev
No more dev for guzzle-site-authenticator
Jérémy Benoist [Thu, 13 Dec 2018 21:13:34 +0000 (22:13 +0100)]
Merge pull request #3781 from wallabag/yarn-up
build: upgrade yarn dependencies, update prod assets
Jeremy Benoist [Thu, 13 Dec 2018 21:12:21 +0000 (22:12 +0100)]
No more dev for guzzle-site-authenticator
Kevin Decherf [Sun, 25 Nov 2018 13:57:41 +0000 (14:57 +0100)]
build: upgrade yarn dependencies, update prod assets
Production assets are rebuilt against new dependency versions.
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Mon, 26 Nov 2018 17:45:38 +0000 (18:45 +0100)]
Merge pull request #3783 from wallabag/issue-3780
material: decrease size of tags on list view
Kevin Decherf [Mon, 26 Nov 2018 17:45:12 +0000 (18:45 +0100)]
Merge pull request #3782 from wallabag/issue-3779
material: fix missing thumbnail on list view
Jérémy Benoist [Mon, 26 Nov 2018 12:57:16 +0000 (13:57 +0100)]
Merge pull request #3784 from giuppi/master
Fix Android app login issue
Jérémy Benoist [Mon, 26 Nov 2018 12:51:00 +0000 (13:51 +0100)]
Merge pull request #3765 from burkemw3/patch-2
Remove preview picture from single entry view page for #1875
Jérémy Benoist [Sun, 25 Nov 2018 21:21:19 +0000 (22:21 +0100)]
Merge pull request #3778 from wallabag/better-release
Jump to 2.3.5-dev and update release process
giuppi [Sun, 25 Nov 2018 15:07:08 +0000 (16:07 +0100)]
Fix Android app login issue
class and alt tags must be in the correct order for the android app to recognize the wallabag server
Kevin Decherf [Sun, 25 Nov 2018 14:38:17 +0000 (15:38 +0100)]
material: decrease size of tags on list view
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Sun, 25 Nov 2018 14:00:08 +0000 (15:00 +0100)]
material: fix missing thumbnail on list view
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Jeremy Benoist [Sun, 25 Nov 2018 08:43:21 +0000 (09:43 +0100)]
Jump to 2.3.5-dev and update release process
After the latest release, I update the documentation about it so it’s more clear
Matt Burke [Sat, 3 Nov 2018 16:56:49 +0000 (12:56 -0400)]
Remove preview picture from single entry view page for #1875
Showing the preview picture usually leads to showing a duplicate
image, and frequently leads to showing duplicate images directly
adjacent to each other.
Jérémy Benoist [Sat, 24 Nov 2018 20:13:03 +0000 (21:13 +0100)]
Merge pull request #3775 from wallabag/prepare-2.3.4
Prepare 2.3.4 release
Jeremy Benoist [Fri, 23 Nov 2018 20:48:35 +0000 (21:48 +0100)]
Create a custom swap to avoid error
Jeremy Benoist [Fri, 23 Nov 2018 15:04:33 +0000 (16:04 +0100)]
Use latest bridge to avoid PHPUnit break
Because branch 4.8 & 5.7 have been removed
Jeremy Benoist [Fri, 23 Nov 2018 07:50:16 +0000 (08:50 +0100)]
Use new Travis infra
Jeremy Benoist [Wed, 21 Nov 2018 20:11:55 +0000 (21:11 +0100)]
Prepare 2.3.4 release
Jérémy Benoist [Wed, 21 Nov 2018 19:56:09 +0000 (20:56 +0100)]
Merge pull request #3774 from Simounet/feature/card-ui
Card no preview replaced by wallabag logo
Simounet [Wed, 11 Jul 2018 21:57:01 +0000 (23:57 +0200)]
Card no preview replaced by wallabag logo
Jérémy Benoist [Fri, 16 Nov 2018 13:34:41 +0000 (14:34 +0100)]
Merge pull request #3772 from techexo/patch-1
Update translation when marking as read
Eloi Coutant [Fri, 16 Nov 2018 13:16:38 +0000 (14:16 +0100)]
Update messages.en.yml
Eloi Coutant [Fri, 16 Nov 2018 00:45:16 +0000 (01:45 +0100)]
Update messages.fr.yml
Eloi Coutant [Fri, 16 Nov 2018 00:37:53 +0000 (01:37 +0100)]
Update messages.fr.yml
Modification pour éclaircir le sens de l'option
Jérémy Benoist [Fri, 9 Nov 2018 15:08:27 +0000 (16:08 +0100)]
Merge pull request #3769 from burkemw3/patch-4
Add rel=noopener to target=_blank links
Matt Burke [Wed, 7 Nov 2018 03:53:48 +0000 (22:53 -0500)]
Add rel=noopener to target=_blank links
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
Jérémy Benoist [Tue, 6 Nov 2018 05:20:28 +0000 (05:20 +0000)]
Merge pull request #3766 from merwan/patch-1
Fix link to wallabag requirements in documentation
Merouane Atig [Mon, 5 Nov 2018 09:17:50 +0000 (10:17 +0100)]
Fix link to wallabag requirements in documentation
Kevin Decherf [Thu, 1 Nov 2018 11:04:55 +0000 (12:04 +0100)]
Merge pull request #3764 from shtrom/fix-matches-notmatches-language
Fix documentation wording for matches/notmatches tagging rules
Olivier Mehani [Thu, 1 Nov 2018 08:40:17 +0000 (19:40 +1100)]
fixup! fixup! Fix documentation wording for matches/notmatches tagging rules
Olivier Mehani [Thu, 1 Nov 2018 08:26:06 +0000 (19:26 +1100)]
fixup! Fix documentation wording for matches/notmatches tagging rules
Olivier Mehani [Wed, 31 Oct 2018 08:56:48 +0000 (19:56 +1100)]
Fix documentation wording for matches/notmatches tagging rules
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
Jérémy Benoist [Sat, 27 Oct 2018 06:15:03 +0000 (06:15 +0000)]
Merge pull request #3763 from wallabag/ghpr-template-update
Add note on GitHub PR template to auto-close issues
Kevin Decherf [Fri, 26 Oct 2018 21:50:55 +0000 (23:50 +0200)]
misc: add note on GitHub PR template to auto-close issues
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Fri, 26 Oct 2018 09:31:41 +0000 (11:31 +0200)]
Merge pull request #3553 from wallabag/url-3529
Swap entry url with origin url if graby provides an updated one
Kevin Decherf [Wed, 24 Oct 2018 20:33:32 +0000 (22:33 +0200)]
phpcs
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Wed, 24 Oct 2018 20:27:27 +0000 (22:27 +0200)]
updateOriginUrl: remove 'query string' case from ignore list
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>
Kevin Decherf [Wed, 24 Oct 2018 20:11:35 +0000 (22:11 +0200)]
updateOriginUrl: add comment blocks for the parse_url diff check
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Wed, 24 Oct 2018 19:54:09 +0000 (21:54 +0200)]
updateOriginUrl: rewrite some if, resolving feedbacks from PR
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Mon, 22 Oct 2018 21:39:31 +0000 (23:39 +0200)]
ignoreOriginUrl: add initial support of ignore lists
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>
Kevin Decherf [Mon, 22 Oct 2018 21:08:58 +0000 (23:08 +0200)]
updateOriginUrl: add behavior when diff is fragment and query
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Thu, 6 Sep 2018 20:26:20 +0000 (22:26 +0200)]
Refactor updateOriginUrl to include new behaviors behaviors
- 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>
Kevin Decherf [Sun, 7 Jan 2018 16:28:04 +0000 (17:28 +0100)]
ContentProxy: swap entry url to origin_url and set new url according to graby content
Closes #3529
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Sun, 7 Jan 2018 16:25:26 +0000 (17:25 +0100)]
ContentProxy: fix a corner case when entry.url is empty in updateEntry
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Wed, 17 Oct 2018 09:26:12 +0000 (11:26 +0200)]
Merge pull request #3733 from Deuchnord/root-abort-update
Abort running install and update script if root
Jérôme Deuchnord [Tue, 16 Oct 2018 18:32:25 +0000 (20:32 +0200)]
Added argument to ignore the warning.
Jérémy Benoist [Tue, 16 Oct 2018 07:45:22 +0000 (07:45 +0000)]
Merge pull request #3745 from burkemw3/patch-3
Add placeholder image to card-based gallery entries page
Matt Burke [Sat, 13 Oct 2018 18:30:34 +0000 (14:30 -0400)]
Add placeholder image to card-based gallery entries page for #3651
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.
Jérémy Benoist [Mon, 15 Oct 2018 08:30:26 +0000 (08:30 +0000)]
Merge pull request #3606 from mritzmann/master
add manifest.json for android pwa
Kevin Decherf [Sun, 14 Oct 2018 18:07:42 +0000 (20:07 +0200)]
Merge pull request #3706 from shtrom/fix/gnu-make-bash
Makefile fixes for non GNU systems
Jérémy Benoist [Sat, 13 Oct 2018 12:00:00 +0000 (12:00 +0000)]
Merge pull request #3743 from burkemw3/patch-1
Show tags on non-image gallery preview card
Jérémy Benoist [Sat, 13 Oct 2018 06:30:10 +0000 (06:30 +0000)]
Merge pull request #3734 from davidmohamedfr/fix-dockerfile-php72
Fix dockerfile php72
Matt Burke [Thu, 11 Oct 2018 23:47:48 +0000 (19:47 -0400)]
Show tags on non-image gallery preview card
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.
David MOHAMED [Sat, 6 Oct 2018 12:15:59 +0000 (14:15 +0200)]
libpng12-dev was rename as libpng-dev
David MOHAMED [Sat, 6 Oct 2018 12:15:01 +0000 (14:15 +0200)]
remove mcrypt since openssl is included in php 7.2
mcrypt extension doesn't exist anymore
Jérôme Deuchnord [Sat, 6 Oct 2018 10:23:40 +0000 (12:23 +0200)]
Abort running install and update script if root (closes #3590)
Kevin Decherf [Mon, 24 Sep 2018 16:34:16 +0000 (18:34 +0200)]
Merge pull request #3725 from Tobi823/master
Bugfix: Sanitize the title of a saved webpage from invalid UTF-8 characters.
Tobi823 [Sun, 23 Sep 2018 21:42:05 +0000 (23:42 +0200)]
Run php-cs-fixer for fixing coding standard issues (on ContentProxyTest)
Tobi823 [Sun, 23 Sep 2018 20:20:43 +0000 (22:20 +0200)]
Run php-cs-fixer for fixing coding standard issues
Tobi823 [Fri, 21 Sep 2018 11:31:28 +0000 (13:31 +0200)]
Make helper methods strToHex and hexToStr in ContentProxyTest.php private
to prevent misusage (from outside this class)
Tobi823 [Fri, 21 Sep 2018 11:23:39 +0000 (13:23 +0200)]
Override the value of the given parameter ($title) with the (hopefully)
correct (to UTF-8) converted PDF title
Tobi823 [Wed, 19 Sep 2018 11:59:07 +0000 (13:59 +0200)]
Add tests for logic
Try to translate the title of a PDF from UTF-8 (then UTF-16BE, then WINDOWS-1252) to UTF-8
Tobi823 [Wed, 19 Sep 2018 10:30:26 +0000 (12:30 +0200)]
Try to detect the character encoding in PDFs and try to translate
the title from the PDF to UTF-8
Tobi823 [Wed, 19 Sep 2018 09:03:42 +0000 (11:03 +0200)]
Remove type declaration for PHP 5 compatibility
Tobi823 [Tue, 18 Sep 2018 13:04:19 +0000 (15:04 +0200)]
Bugfix: Sanitize the title of a saved webpage from invalid UTF-8 characters
Jérémy Benoist [Fri, 21 Sep 2018 08:16:27 +0000 (08:16 +0000)]
Merge pull request #3726 from wallabag/fix-tests
Liberation goes https
Jeremy Benoist [Fri, 21 Sep 2018 06:56:20 +0000 (08:56 +0200)]
Liberation goes https
Kevin Decherf [Fri, 7 Sep 2018 15:02:39 +0000 (17:02 +0200)]
Merge pull request #3719 from wallabag/fix-sort-parameters
Fix sort parameters
Jeremy Benoist [Fri, 7 Sep 2018 12:20:02 +0000 (14:20 +0200)]
Updating node to 6.10
Same as defined in .travis.yml
Jeremy Benoist [Fri, 7 Sep 2018 12:09:06 +0000 (14:09 +0200)]
Fix tests
Jeremy Benoist [Fri, 7 Sep 2018 11:56:35 +0000 (13:56 +0200)]
Jump to the new Scrutinizer PHP analysis engine
Jeremy Benoist [Fri, 7 Sep 2018 11:56:14 +0000 (13:56 +0200)]
Add missing parameters
Parameters weren’t passed to the sub function.
Jérémy Benoist [Fri, 7 Sep 2018 11:43:07 +0000 (11:43 +0000)]
Merge pull request #3712 from wallabag/refactor-entry-queries
Rename getBuilderByUser and refactor query for untagged entries
Kevin Decherf [Thu, 6 Sep 2018 09:28:57 +0000 (11:28 +0200)]
Merge pull request #3717 from wallabag/php-72
PHP 7.2 shouldn't fail
Jérémy Benoist [Thu, 6 Sep 2018 05:58:26 +0000 (07:58 +0200)]
PHP 7.2 shouldn't fail
Kevin Decherf [Sun, 2 Sep 2018 16:36:04 +0000 (18:36 +0200)]
php-cs-fixer
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Sun, 2 Sep 2018 15:44:19 +0000 (17:44 +0200)]
EntryRepository: refactor getBuilderForUntaggedByUser
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>
Kevin Decherf [Sun, 2 Sep 2018 15:34:30 +0000 (17:34 +0200)]
EntryRepository: refactor getBuilderByUser
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>
Kevin Decherf [Sun, 2 Sep 2018 15:32:32 +0000 (17:32 +0200)]
AnnotationRepository: rename getBuilderByUser
We rename getBuilderByUser to getSortedQueryBuilderByUser as long as the
method currently returns a QueryBuilder with an orderBy()
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Jérémy Benoist [Wed, 5 Sep 2018 16:38:20 +0000 (16:38 +0000)]
Merge pull request #3716 from wallabag/csfixer
php-cs-fixer: native_function_invocation
Kevin Decherf [Wed, 5 Sep 2018 12:25:32 +0000 (14:25 +0200)]
php-cs-fixer
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>