Commit Graph

2359 Commits

Author SHA1 Message Date
9ca670c801 Fix Instapaper import date 2019-05-24 14:37:54 +02:00
423efadefc Set first picture as preview picture 2019-05-21 20:38:22 +02:00
a2b5d67560 Merge pull request #3960 from wallabag/api-entries-2817
api/entries: add parameter detail to exclude or include content in response
2019-05-21 11:18:19 +02:00
feb239ea10 mysql: change collation of tag table
utf8mb4_unicode_ci considers that 'caché' is equal to 'cache' which
can lead to attaching incorrect tags to entries. This issue is due to
some unicode normalization done by MySQL.

utf8mb4_bin makes no unicode normalization, letting wallabag to consider
'cache' and 'caché' as two different tags.

We change the collation of the whole table as Doctrine does not support
setting a collation on a column for a specific platform (it tries to
apply utf8mb4_bin even for pgsql and sqlite).

Fixes #3302

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2019-05-19 23:37:49 +02:00
2c290747cb 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>
2019-05-18 18:11:08 +02:00
9f0957b831 Merge remote-tracking branch 'origin/master' into 2.4 2019-05-15 14:38:07 +02:00
9da1efd343 Translated using Weblate (Hungarian)
Currently translated at 63.8% (308 of 483 strings)
2019-05-15 02:49:40 +02:00
a73cb8a689 Merge pull request #3922 from burkemw3/patch-5
Remove preview picture from share view page for #1875
2019-05-13 06:40:16 +02:00
19822ecb31 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.
2019-05-12 12:32:22 -04:00
2dbb5b2307 Enable no-referrer on img tags, enable strict-origin-when-cross-origin by default
Fixes #3889

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2019-05-10 23:07:26 +02:00
637f0df976 Cascade delete on oauth2 table when deleting a user 2019-05-10 20:36:45 +02:00
844fd9fafc Fallback to default solution if Imagick fails 2019-05-10 16:52:01 +02:00
9306c2a368 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.
2019-05-10 15:33:36 +02:00
45bf1d6772 Translated using Weblate (German)
Currently translated at 100.0% (6 of 6 strings)
2019-05-09 00:49:21 +02:00
bc895d71a2 Translated using Weblate (German)
Currently translated at 100.0% (483 of 483 strings)
2019-05-09 00:49:20 +02:00
e5d069f0b9 Translated using Weblate (Portuguese)
Currently translated at 100.0% (6 of 6 strings)
2019-05-06 16:49:35 +02:00
a15a5e0a87 Translated using Weblate (Hungarian)
Currently translated at 60.5% (292 of 483 strings)
2019-05-02 13:49:27 +02:00
4b5b228650 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>
2019-05-01 15:47:48 +02:00
f277bc042c Fix tests & cs & migration 2019-04-26 12:53:21 +02:00
531c8d0a5c Changed RSS to Atom feed and improve paging 2019-04-25 13:46:31 +02:00
35359bd3c6 Adding more tests to cover different scenario 2019-04-24 15:28:15 +02:00
f45496336f 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.
2019-04-23 22:39:31 +02:00
a68fd9b61d Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (6 of 6 strings)
2019-04-07 10:05:02 +02:00
076f1e1fcd Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (7 of 7 strings)
2019-04-07 10:05:01 +02:00
0eb987b583 Added translation using Weblate (Chinese (Traditional)) 2019-04-06 09:55:09 +02:00
c144e05457 Added translation using Weblate (Chinese (Traditional)) 2019-04-06 09:55:06 +02:00
016784f535 Added translation using Weblate (Chinese (Traditional)) 2019-04-06 09:54:58 +02:00
76bc05ebc0 Fix ApiDoc about md5/sha1 2019-04-02 22:59:50 +02:00
5cc0646e66 Fix index on MySQL 2019-04-01 15:45:17 +02:00
c579ce2306 Some cleanup
Also, do not run the hashed_url migration into a Doctrine migration
2019-04-01 14:34:20 +02:00
8a64566298 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`.
2019-04-01 13:51:57 +02:00
9c2b2aae70 Keep url in exists endpoint
- Add migration
- Use md5 instead of sha512 (we don't need security here, just a hash)
- Update tests
2019-04-01 13:24:40 +02:00
bfe02a0b48 Hash the urls to check if they exist
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-01 13:24:40 +02:00
3620dae1e6 Merge remote-tracking branch 'origin/master' into 2.4 2019-04-01 13:16:15 +02:00
db900a83ae Translated using Weblate (Hungarian)
Currently translated at 58.2% (281 of 483 strings)
2019-03-31 18:09:28 +02:00
1616f53ea2 Translated using Weblate (Japanese)
Currently translated at 61.5% (297 of 483 strings)
2019-03-25 16:39:11 +01:00
61106f6d80 Translated using Weblate (Hungarian)
Currently translated at 100.0% (6 of 6 strings)
2019-03-24 01:39:31 +01:00
ab9a02754e Translated using Weblate (Hungarian)
Currently translated at 57.6% (278 of 483 strings)
2019-03-24 01:39:30 +01:00
d00f5f22ca Translated using Weblate (French)
Currently translated at 100.0% (483 of 483 strings)
2019-03-20 16:04:30 +01:00
7822a62e36 Translated using Weblate (Hungarian)
Currently translated at 100.0% (7 of 7 strings)
2019-03-20 00:46:42 +01:00
bfd69c74e5 Merge pull request #3909 from wallabag/fix/html-not-defined
Fix PHP warning
2019-03-18 09:26:33 +01:00
8ca858ee73 Fix PHP warning
Looks like sometimes (usually from import) the `html` key isn’t available.
2019-03-18 06:23:41 +01:00
41d476d7e7 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>
2019-03-17 23:36:10 +01:00
77dc50a74f Added translation using Weblate (Hungarian) 2019-03-16 19:58:49 +01:00
a69c7fc5f1 Added translation using Weblate (Hungarian) 2019-03-16 19:58:41 +01:00
2be507564f Added translation using Weblate (Hungarian) 2019-03-16 19:58:38 +01:00
4b1c0226f1 Translated using Weblate (Turkish)
Currently translated at 100.0% (483 of 483 strings)
2019-03-15 18:04:14 +01:00
fc380182d6 Translated using Weblate (Turkish)
Currently translated at 87.8% (424 of 483 strings)
2019-03-14 13:04:37 +01:00
44984d2aa7 Translated using Weblate (Turkish)
Currently translated at 81.6% (394 of 483 strings)
2019-03-09 16:04:33 +01:00
a27b2ecc57 Translated using Weblate (Turkish)
Currently translated at 100.0% (6 of 6 strings)
2019-03-08 13:04:10 +01:00