]>
git.immae.eu Git - github/wallabag/wallabag.git/log
Jérémy Benoist [Wed, 5 Jun 2019 12:14:17 +0000 (14:14 +0200)]
Try to force people to update the secret
Jérémy Benoist [Wed, 5 Jun 2019 09:38:00 +0000 (11:38 +0200)]
Merge pull request #3271 from wallabag/store-resolved-url
Add `given_url` in Entry table to check if a redirected url has already added
Jeremy Benoist [Wed, 5 Jun 2019 08:54:43 +0000 (10:54 +0200)]
Typos
Jeremy Benoist [Wed, 5 Jun 2019 08:51:06 +0000 (10:51 +0200)]
Use two indexes instead of one for hashed urls
When using `OR` in a where clause, a composite index can't be used. We should use a `UNION` to take advantages of it.
Instead, create 2 indexes on each hashed urls and make 2 queries to find an url. It'll be faster than the previous solution.
Jérémy Benoist [Wed, 29 May 2019 19:00:36 +0000 (21:00 +0200)]
Merge pull request #3987 from wallabag/fix/drop-simplepie
Drop SimplePie
Jeremy Benoist [Wed, 29 May 2019 15:05:12 +0000 (17:05 +0200)]
Drop SimplePie
It was only used to make an absolute url when downloading images.
The deps is still there (in the `composer.lock`) because Graby use it (not for absolute but for encoding).
Jeremy Benoist [Wed, 29 May 2019 12:18:04 +0000 (14:18 +0200)]
Use hash given url to avoid duplicate
Using hashed url we can ensure an index on them to ensure it's fast.
Jérémy Benoist [Wed, 29 May 2019 12:40:01 +0000 (14:40 +0200)]
Merge pull request #3986 from wallabag/fix/scrutinizer-issues
Fix some Scrutinizer issues
Nicolas Lœuillet [Mon, 10 Jul 2017 19:32:25 +0000 (21:32 +0200)]
Added given_url in entry table
- Added index on entry table for given_url field
- Fix tests:
The previous `bit.ly` url redirected to doc.wallabag but that url doesn't exist in the fixtures.
I used our own internal "redirector" to create a redirect to an url which exist in the fixtures.
Also, updating current migration to use the new `WallabagMigration`.
Jeremy Benoist [Wed, 29 May 2019 10:00:23 +0000 (12:00 +0200)]
Fix some Scrutinizer issues
Jérémy Benoist [Wed, 29 May 2019 10:49:32 +0000 (12:49 +0200)]
Merge pull request #3985 from wallabag/update-composer
Keep composer.lock
Jeremy Benoist [Wed, 29 May 2019 10:02:24 +0000 (12:02 +0200)]
Typos
Jeremy Benoist [Wed, 29 May 2019 09:41:07 +0000 (11:41 +0200)]
Keep composer.lock
We initially ignored the `composer.lock` because it generated a lock of rebase on PR when someone updated it and the master updated it too.
Now we have less contributions (sadly) so I think we won't run against that problem.
Also, it'll solve issue about people cloning the master and got angry because composer eat all the available memory to determine packages to install.
It'll also be much easier to make release.
Scrutinizer & Travis will be faster too.
Jérémy Benoist [Wed, 29 May 2019 09:14:00 +0000 (11:14 +0200)]
Merge pull request #3984 from wallabag/2.4
Merge 2.4 into master
Jérémy Benoist [Tue, 28 May 2019 12:18:33 +0000 (14:18 +0200)]
Merge pull request #3944 from shtrom/always-hash-exists-url
Always hash exists url
Jérémy Benoist [Tue, 28 May 2019 12:00:22 +0000 (14:00 +0200)]
Merge pull request #3390 from
aaa2000 /httplug
Use httplug and graby 2.0
Jeremy Benoist [Tue, 28 May 2019 10:02:17 +0000 (12:02 +0200)]
Fix tests after rebase
Jeremy Benoist [Mon, 11 Feb 2019 09:59:56 +0000 (10:59 +0100)]
CS & fix tests
Jeremy Benoist [Thu, 7 Feb 2019 16:56:05 +0000 (17:56 +0100)]
Fix some tests
Jeremy Benoist [Thu, 7 Feb 2019 16:30:38 +0000 (17:30 +0100)]
CS
Jeremy Benoist [Mon, 28 Jan 2019 05:10:26 +0000 (06:10 +0100)]
CS
adev [Sun, 12 Nov 2017 11:15:02 +0000 (12:15 +0100)]
Configure timeout
adev [Sat, 11 Nov 2017 19:04:15 +0000 (20:04 +0100)]
Fix because of some breaking changes of Graby 2.0
adev [Tue, 24 Oct 2017 20:55:40 +0000 (22:55 +0200)]
Use httplug
Jeremy Benoist [Mon, 27 May 2019 08:46:01 +0000 (10:46 +0200)]
Merge remote-tracking branch 'origin/master' into 2.4
Jérémy Benoist [Mon, 27 May 2019 08:22:03 +0000 (10:22 +0200)]
Merge pull request #3982 from wallabag/fix/https-test
Fix http/https test
Jeremy Benoist [Mon, 27 May 2019 07:38:07 +0000 (09:38 +0200)]
Fix test
Kevin Decherf [Sun, 26 May 2019 15:47:44 +0000 (17:47 +0200)]
Merge pull request #3965 from nicofrand/previewPic
Preview picture: use the 1st pic retrieved if no og:image set
Jérémy Benoist [Fri, 24 May 2019 14:03:05 +0000 (16:03 +0200)]
Merge pull request #3980 from wallabag/fix/instapaper-date-import
Fix Instapaper import date order
Jeremy Benoist [Fri, 24 May 2019 13:43:30 +0000 (15:43 +0200)]
Remove useless methods
Also fix a phpdoc block
Jeremy Benoist [Fri, 24 May 2019 13:15:12 +0000 (15:15 +0200)]
Change the way to define algorithm for hashing url
Olivier Mehani [Fri, 10 May 2019 12:07:55 +0000 (22:07 +1000)]
Add Wallabag\CoreBundle\Helper\UrlHasher
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
Olivier Mehani [Fri, 3 May 2019 12:23:04 +0000 (22:23 +1000)]
Delegate findByUrlAndUserId to findByHashedUrlAndUserId
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
Olivier Mehani [Thu, 2 May 2019 11:19:20 +0000 (21:19 +1000)]
EntryRestController::getEntriesExistsAction: always find by hashed url
Simplify the logic from #3158 by hashing all the urls from the request,
and only doing a search by hash. This allows to get performance benefits
from the new indexed hash column even when using older clients that do
not hash the URL in the request.
Fixes: #3158, #3919
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
Jeremy Benoist [Fri, 24 May 2019 12:37:54 +0000 (14:37 +0200)]
Fix Instapaper import date
Jérémy Benoist [Thu, 23 May 2019 09:57:07 +0000 (11:57 +0200)]
Merge pull request #3977 from wallabag/fix/7.2-dockerfile
Force PHP version in Dockerfile
Jérémy Benoist [Thu, 23 May 2019 06:51:54 +0000 (08:51 +0200)]
Force PHP version in Dockerfile
nicofrand [Tue, 21 May 2019 18:10:57 +0000 (20:10 +0200)]
[tests] Fix pre-existing tests (preview now imported + records added)
nicofrand [Mon, 13 May 2019 19:56:52 +0000 (21:56 +0200)]
[tests] Set first picture as preview picture
nicofrand [Fri, 10 May 2019 21:01:07 +0000 (23:01 +0200)]
Set first picture as preview picture
Jérémy Benoist [Tue, 21 May 2019 09:18:19 +0000 (11:18 +0200)]
Merge pull request #3960 from wallabag/api-entries-2817
api/entries: add parameter detail to exclude or include content in response
Kevin Decherf [Sat, 11 May 2019 22:00:00 +0000 (00:00 +0200)]
api/entries: add parameter detail to exclude or include content in response
detail=metadata will nullify the content field of entries in order to
make smaller responses.
detail=full keeps the former behavior, it sends the content of entries.
It's the default, for backward compatibility.
Fixes #2817
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Jeremy Benoist [Wed, 15 May 2019 12:58:40 +0000 (14:58 +0200)]
CS
Jeremy Benoist [Wed, 15 May 2019 12:38:07 +0000 (14:38 +0200)]
Merge remote-tracking branch 'origin/master' into 2.4
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:41:16 +0000 (06:41 +0200)]
Merge pull request #3956 from wallabag/fix/delete-cascade-oauth2
Cascade delete on oauth2 table when deleting a user
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>
Jeremy Benoist [Fri, 10 May 2019 19:15:46 +0000 (21:15 +0200)]
Fix SQLite constraint
Jeremy Benoist [Fri, 10 May 2019 18:36:25 +0000 (20:36 +0200)]
Fix SQLite migration
Jeremy Benoist [Fri, 10 May 2019 14:49:19 +0000 (16:49 +0200)]
Cascade delete on oauth2 table when deleting a user
Jérémy Benoist [Fri, 10 May 2019 18:24:06 +0000 (21:24 +0300)]
Merge pull request #3955 from wallabag/fix/gif-animation-imagick
Use Imagick to keep GIF animation
Jeremy Benoist [Fri, 10 May 2019 14:52:01 +0000 (16:52 +0200)]
Fallback to default solution if Imagick fails
Jeremy Benoist [Fri, 10 May 2019 13:49:39 +0000 (15:49 +0200)]
CS
Jeremy Benoist [Fri, 10 May 2019 13:47:47 +0000 (15:47 +0200)]
Setup Imagick for Travis
To avoid error from phpstan about class not found
Jeremy Benoist [Fri, 10 May 2019 13:32:29 +0000 (15:32 +0200)]
Use Imagick to keep GIF animation
If Imagick is available, GIF will be saved using it to keep animation.
Otherwise the previous method will be used and the animation won't be kept.
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
Jérémy Benoist [Thu, 9 May 2019 12:21:21 +0000 (15:21 +0300)]
Merge pull request #3223 from wallabag/rss2atom
Changed RSS to Atom feed and improve paging
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 [Fri, 26 Apr 2019 11:40:58 +0000 (13:40 +0200)]
Handle redirection from previous feeds
Jeremy Benoist [Thu, 25 Apr 2019 12:12:56 +0000 (14:12 +0200)]
Fix tests & cs & migration
Thomas Citharel [Tue, 13 Jun 2017 16:48:10 +0000 (18:48 +0200)]
Changed RSS to Atom feed and improve paging
Jérémy Benoist [Thu, 25 Apr 2019 11:28:09 +0000 (13:28 +0200)]
Merge pull request #3158 from wallabag/hash-exist-url
Hash exist url
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 [Tue, 2 Apr 2019 20:59:50 +0000 (22:59 +0200)]
Fix ApiDoc about md5/sha1
Jeremy Benoist [Mon, 1 Apr 2019 13:45:17 +0000 (15:45 +0200)]
Fix index on MySQL
Jeremy Benoist [Mon, 1 Apr 2019 12:34:20 +0000 (14:34 +0200)]
Some cleanup
Also, do not run the hashed_url migration into a Doctrine migration
Jeremy Benoist [Mon, 1 Apr 2019 11:51:57 +0000 (13:51 +0200)]
Use a better index for hashed_url
It'll most often be used in addition to the `user_id`.
Also, automatically generate the hash when saving the url.
Switch from `md5` to `sha1`.
Jeremy Benoist [Mon, 1 Apr 2019 09:50:33 +0000 (11:50 +0200)]
Keep url in exists endpoint
- Add migration
- Use md5 instead of sha512 (we don't need security here, just a hash)
- Update tests
Thomas Citharel [Sun, 28 May 2017 12:53:04 +0000 (14:53 +0200)]
Hash the urls to check if they exist
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Jeremy Benoist [Mon, 1 Apr 2019 11:16:15 +0000 (13:16 +0200)]
Merge remote-tracking branch 'origin/master' into 2.4
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>
Kevin Decherf [Sat, 2 Mar 2019 16:20:18 +0000 (17:20 +0100)]
Merge pull request #3868 from Nadrieril/fix-3662
Add missing entries in craue_config_setting.