]>
git.immae.eu Git - github/wallabag/wallabag.git/log
Jeremy Benoist [Mon, 27 May 2019 07:38:07 +0000 (09:38 +0200)]
Fix test
Jérémy Benoist [Tue, 14 May 2019 09:14:37 +0000 (11:14 +0200)]
Merge pull request #3966 from wallabag/prepare-2.3.8
Prepare 2.3.8 release
Jeremy Benoist [Tue, 14 May 2019 08:16:46 +0000 (10:16 +0200)]
Prepare 2.3.8 release
Kevin Decherf [Tue, 14 May 2019 07:36:46 +0000 (09:36 +0200)]
Merge pull request #3964 from wallabag/fix/intl
Fix Intl Locale issue
Jeremy Benoist [Mon, 13 May 2019 11:35:43 +0000 (13:35 +0200)]
Fix Intl Locale issue
Some issue appeared after the release of PHP 7.2.17 about Intl Memory
Leak / infinite loop.
To fix it we should upgrade to Symfony 3.4 (which is done in wallabag
2.4) but for the 2.3 branch, we'll use a temporary fix for the Locale
issue.
Jérémy Benoist [Mon, 13 May 2019 04:40:16 +0000 (06:40 +0200)]
Merge pull request #3922 from burkemw3/patch-5
Remove preview picture from share view page for #1875
Kevin Decherf [Sun, 12 May 2019 21:44:33 +0000 (23:44 +0200)]
Merge pull request #3943 from wallabag/img-referrer
Enable no-referrer on img tags, enable strict-origin-when-cross-origin by default
Matt Burke [Thu, 18 Apr 2019 02:21:17 +0000 (22:21 -0400)]
Remove preview picture from share view page for #1875
Essentially, same as commit
038fccd for single entry views. From that commit:
> Showing the preview picture usually leads to showing a duplicate
> image, and frequently leads to showing duplicate images directly
> adjacent to each other.
Kevin Decherf [Fri, 10 May 2019 21:08:23 +0000 (23:08 +0200)]
assets: regenerate material.css
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Wed, 1 May 2019 12:05:38 +0000 (14:05 +0200)]
Enable no-referrer on img tags, enable strict-origin-when-cross-origin by default
Fixes #3889
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Jérémy Benoist [Thu, 9 May 2019 12:45:07 +0000 (15:45 +0300)]
Merge pull request #3942 from wallabag/issue-3838
material: add metadata to list view
Kevin Decherf [Sat, 27 Apr 2019 20:48:28 +0000 (22:48 +0200)]
material: add metadata to list view
Add reading time and creation date to rows of list view.
Refactor styles using a sass mixin.
Fixes #3838
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Jérémy Benoist [Sat, 27 Apr 2019 08:58:26 +0000 (10:58 +0200)]
Merge pull request #3937 from wallabag/fix/credential-subdomain
Add ability to match many domains for credentials
Jeremy Benoist [Wed, 24 Apr 2019 13:28:15 +0000 (15:28 +0200)]
Adding more tests to cover different scenario
Jeremy Benoist [Tue, 23 Apr 2019 20:48:04 +0000 (22:48 +0200)]
FIx unrelated failing test
Jeremy Benoist [Tue, 23 Apr 2019 20:28:36 +0000 (22:28 +0200)]
Add ability to match many domains for credentials
Instead of fetching one domain, we use the same method as in site config (to retrieve the matching file) and handle api.example.org, example.org, .org (yes the last one isn’t useful).
If one of these match, we got it and use it.
Jérémy Benoist [Mon, 18 Mar 2019 08:26:33 +0000 (09:26 +0100)]
Merge pull request #3909 from wallabag/fix/html-not-defined
Fix PHP warning
Jérémy Benoist [Mon, 18 Mar 2019 08:26:16 +0000 (09:26 +0100)]
Merge pull request #3908 from wallabag/epub-issue-3642
epub: fix exception when articles have the same title
Jérémy Benoist [Mon, 18 Mar 2019 08:25:00 +0000 (09:25 +0100)]
Merge pull request #3860 from baurmatt/fix/posix_compatibility
Make dev/install/update script posix compatible
Jeremy Benoist [Mon, 18 Mar 2019 05:23:41 +0000 (06:23 +0100)]
Fix PHP warning
Looks like sometimes (usually from import) the `html` key isn’t available.
Kevin Decherf [Sun, 17 Mar 2019 22:36:10 +0000 (23:36 +0100)]
epub: fix exception when articles have the same title
This commit fixes an exception occuring when exporting as epub several
articles with the same title. The chapter filename is now derived from
title and url.
Fixes #3642
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Matthias Baur [Thu, 17 Jan 2019 19:04:57 +0000 (20:04 +0100)]
Properly source require.sh
Fixes #3571.
Kevin Decherf [Sat, 9 Mar 2019 11:19:31 +0000 (12:19 +0100)]
Merge pull request #3901 from wallabag/fix-pr-3893
material: fix left padding on non-entry pages introduced by #3893
Kevin Decherf [Fri, 8 Mar 2019 23:27:50 +0000 (00:27 +0100)]
material: fix left padding on non-entry pages introduced by #3893
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Jérémy Benoist [Mon, 4 Mar 2019 14:23:06 +0000 (15:23 +0100)]
Merge pull request #3897 from wallabag/2.3.8-dev
Jump to 2.3.8-dev
Jeremy Benoist [Mon, 4 Mar 2019 12:49:23 +0000 (13:49 +0100)]
Jump to 2.3.8-dev
Jérémy Benoist [Mon, 4 Mar 2019 11:06:22 +0000 (12:06 +0100)]
Merge pull request #3895 from wallabag/prepare-2.3.7
Prepare 2.3.7 release
Jeremy Benoist [Mon, 4 Mar 2019 08:32:26 +0000 (09:32 +0100)]
Prepare 2.3.7 release
Kevin Decherf [Sun, 3 Mar 2019 19:22:30 +0000 (20:22 +0100)]
Merge pull request #3894 from wallabag/issue-3851
material: hide creation date from card actions on specific sizes
Kevin Decherf [Sun, 3 Mar 2019 18:24:34 +0000 (19:24 +0100)]
material: update prod assets
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Sun, 3 Mar 2019 01:16:19 +0000 (02:16 +0100)]
material: add media queries to hide creation date from card actions
Hide the creation date from card actions on specific sizes when there's
not enough space for all parts.
Fixes #3851
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Sun, 3 Mar 2019 01:13:14 +0000 (02:13 +0100)]
material: wrap card actions, remove class hiding of creation date
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Sun, 3 Mar 2019 18:22:03 +0000 (19:22 +0100)]
Merge pull request #3893 from wallabag/issue-3877
material: fix left padding of content on medium screens
Kevin Decherf [Sat, 2 Mar 2019 22:46:00 +0000 (23:46 +0100)]
material: fix left padding of content on medium screens
Fixes #3877
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Sat, 2 Mar 2019 21:48:43 +0000 (22:48 +0100)]
material: move a media query from cards to dedicated scss file
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Jérémy Benoist [Fri, 1 Mar 2019 19:22:22 +0000 (20:22 +0100)]
Merge pull request #3885 from mart-e/script-ignore-root
Allow optional --ignore-root-warning
Jérémy Benoist [Mon, 25 Feb 2019 13:03:41 +0000 (14:03 +0100)]
Merge pull request #3886 from wallabag/issue-3602
epub export: fix missing cover image, only for exports of one article
Jérémy Benoist [Mon, 25 Feb 2019 09:56:07 +0000 (10:56 +0100)]
Merge pull request #3887 from wallabag/issue-3711
Add support of expect parameter to change return object when deleting entry
Kevin Decherf [Sun, 17 Feb 2019 17:19:51 +0000 (18:19 +0100)]
tests: fix broken session clients for rest entry deletion tests
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Sun, 17 Feb 2019 14:30:42 +0000 (15:30 +0100)]
EntryRestController: add support of expect parameter to delete action
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>
Kevin Decherf [Sat, 16 Feb 2019 19:37:20 +0000 (20:37 +0100)]
epub export: fix missing cover image, only for exports of one article
Fixes #3602
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Sun, 17 Feb 2019 14:25:21 +0000 (15:25 +0100)]
tests: create entry for testDeleteEntry, fix missing id
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>
Martin Trigaux [Thu, 14 Feb 2019 11:10:51 +0000 (16:40 +0530)]
Allow optional --ignore-root-warning
Now both
./install prod --ignore-root-warning
./install --ignore-root-warning prod
will work
$1 was both used for the environment and the root flag
Fixes wallabag/wallabag#3884
Kevin Decherf [Wed, 13 Feb 2019 14:05:57 +0000 (15:05 +0100)]
Merge pull request #3882 from wallabag/fix/cors
Fix CORS for API
Jeremy Benoist [Wed, 13 Feb 2019 13:06:57 +0000 (14:06 +0100)]
CS
Jeremy Benoist [Mon, 11 Feb 2019 10:50:24 +0000 (11:50 +0100)]
CS
Rurik19 [Wed, 4 Oct 2017 09:19:09 +0000 (12:19 +0300)]
CORS repare for api
Jérémy Benoist [Fri, 1 Feb 2019 11:58:31 +0000 (12:58 +0100)]
Merge pull request #3869 from itsthejb/fix-2factor-email-image
Fix broken 2 factor auth logo image
Jonathan Crooke [Thu, 31 Jan 2019 21:14:53 +0000 (22:14 +0100)]
Fix broken 2 factor auth logo image
Jérémy Benoist [Mon, 28 Jan 2019 10:34:37 +0000 (11:34 +0100)]
Merge pull request #3819 from stan3/pocket-import
Fix read & starred status in Pocket import
Jeremy Benoist [Mon, 28 Jan 2019 05:03:16 +0000 (06:03 +0100)]
Improve checks & add tests
Tristan Hill [Sat, 22 Dec 2018 11:36:13 +0000 (11:36 +0000)]
status and favourite are actually strings in the import so use ==
Jérémy Benoist [Fri, 18 Jan 2019 12:20:38 +0000 (13:20 +0100)]
Merge pull request #3861 from wallabag/fix/siteconfig-email
Add dedicated email for site config issue
Jeremy Benoist [Fri, 18 Jan 2019 10:14:28 +0000 (11:14 +0100)]
Add dedicated email for site config issue
Instead of sending an email to the devs, it now creates an issue on GitHub using a zap from zapier.
Jérémy Benoist [Thu, 17 Jan 2019 11:09:07 +0000 (12:09 +0100)]
Merge pull request #3853 from techexo/patch-2
Update composer.json to add php-tidy (ext-tidy)
Eloi Coutant [Wed, 16 Jan 2019 20:54:38 +0000 (21:54 +0100)]
Update composer.json to add php-tidy (ext-tidy)
Should fix https://github.com/wallabag/wallabag/issues/3844 for milestone https://github.com/wallabag/wallabag/milestone/63.
Jérémy Benoist [Mon, 14 Jan 2019 21:24:40 +0000 (22:24 +0100)]
Merge pull request #3841 from wallabag/fix/bad-order-api
Fix bad order parameter in the API
Jeremy Benoist [Mon, 14 Jan 2019 16:01:21 +0000 (17:01 +0100)]
Avoid error when a bad `order` parameter is given
Only allowed parameter are asc & desc
Jeremy Benoist [Mon, 14 Jan 2019 16:00:32 +0000 (17:00 +0100)]
Come back to stable version
Previous one was used because some PHPUnit version where deleted and tests can't be run anymore.
Kevin Decherf [Sat, 12 Jan 2019 10:19:19 +0000 (11:19 +0100)]
Merge pull request #3837 from wallabag/2.3.7-dev
Jump to 2.3.7-dev
Jérémy Benoist [Fri, 11 Jan 2019 21:17:48 +0000 (22:17 +0100)]
Jump to 2.3.7-dev
Jérémy Benoist [Fri, 11 Jan 2019 16:12:13 +0000 (17:12 +0100)]
Merge pull request #3835 from wallabag/prepare-2.3.6
Prepare 2.3.6 release
Jeremy Benoist [Fri, 11 Jan 2019 13:16:41 +0000 (14:16 +0100)]
Prepare 2.3.6 release
Jérémy Benoist [Fri, 11 Jan 2019 12:34:38 +0000 (13:34 +0100)]
Merge pull request #3826 from wallabag/epub-toc
Rework of EPUB/PDF exports
Jérémy Benoist [Thu, 10 Jan 2019 16:03:03 +0000 (17:03 +0100)]
Merge pull request #3831 from wallabag/fix/api-bad-client-id
Cast client id to avoid PG error
Jérémy Benoist [Thu, 10 Jan 2019 09:02:34 +0000 (10:02 +0100)]
Merge pull request #3833 from techexo/patch-1
Fix settings field inverted
Eloi Coutant [Thu, 10 Jan 2019 03:25:51 +0000 (04:25 +0100)]
Update entries.html.twig
Should fix https://github.com/wallabag/wallabag/issues/3832
Eloi Coutant [Thu, 10 Jan 2019 03:23:08 +0000 (04:23 +0100)]
Update entries.html.twig
Should fix https://github.com/wallabag/wallabag/issues/3832
Jeremy Benoist [Wed, 9 Jan 2019 22:29:30 +0000 (23:29 +0100)]
Cast client id to avoid PG error
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.
Kevin Decherf [Wed, 9 Jan 2019 15:26:19 +0000 (16:26 +0100)]
EntriesExport: avoid else on $authors
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Mon, 7 Jan 2019 22:50:08 +0000 (23:50 +0100)]
EntriesExport: sanitize filename and fix tests
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>
Kevin Decherf [Mon, 7 Jan 2019 22:36:41 +0000 (23:36 +0100)]
EntriesExport/pdf: move notice to the end, add metadata cover
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Sun, 6 Jan 2019 22:28:39 +0000 (23:28 +0100)]
Add translations
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Sun, 6 Jan 2019 22:27:13 +0000 (23:27 +0100)]
EntriesExport/epub: add metadata to each entry's cover
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>
Kevin Decherf [Sun, 6 Jan 2019 19:17:35 +0000 (20:17 +0100)]
EntriesExport: change authors and title when not single entry export
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>
Kevin Decherf [Sun, 6 Jan 2019 18:23:01 +0000 (19:23 +0100)]
EntriesExport/epub: revert
c779373f , move exportinfo to the end of the book
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Sun, 6 Jan 2019 18:13:26 +0000 (19:13 +0100)]
EntriesExport/epub: use sha1 sums for filenames, fix and rename title chapters
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>
Kevin Decherf [Sun, 6 Jan 2019 17:55:39 +0000 (18:55 +0100)]
EntriesExport/epub: remove TOC page
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>
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>