Commit graph

2382 commits

Author SHA1 Message Date
Jeremy Benoist
0049ef390b
Add some basic test 2022-03-21 21:29:30 +01:00
fly9i
1b9e1d4886
add webp support 2022-03-21 21:29:26 +01:00
Simounet
d0cfdaf10e
Fix row and card style regressions 2022-03-15 13:54:04 +01:00
Jérémy Benoist
eb99cacf43
Merge pull request #5664 from Simounet/feat/home-entries-updated 2022-03-15 09:34:00 +01:00
Adrien Gallou
29df8ed590
this change adds an option to sort the feed entires by updated_at
There is now an option to sort the feed entires by updated_at, on the
controler : a sort querystring argument that accepts either "created"
or "updated".
2022-03-14 22:58:45 +01:00
Simounet
201a9930f9
Card actions styled at the bottom 2022-03-14 22:13:44 +01:00
Simounet
016ceb6829
ul entries list replaced by ol 2022-03-14 22:12:22 +01:00
Simounet
e700cadae3
Mass action buttons extracted from entries list 2022-03-14 22:11:09 +01:00
Simounet
85e91f9e67
CSS grid used for bloc mode entries and flex for card bloc 2022-03-14 22:09:07 +01:00
Jeremy Benoist
5c4993832e
Fix tagging rule match when user a custom reading speed
By default, we assume the reading speed is 200 word per minute (WPM) when we save an entry.
User can change that value in the config and the rendering is properly performed with the user reading speed.
BUT, when the matching rule is applied, it uses the default reading time defined in the entry without applying the custom reading speed of the user.
This should fix that bug.

Also update the `wallabag:tag:all` to fix the bug when tagging all entries.
2022-03-02 19:12:33 +01:00
Gil
3920ece418
Translated using Weblate (Portuguese)
Currently translated at 63.9% (364 of 569 strings)
2022-02-18 15:55:34 +01:00
Jérémy Benoist
03e1fd6d73
Merge pull request #5594 from wallabag/fix/download-image-overlapping 2022-02-14 06:05:18 +01:00
monirzadeh
d38fe8d7af
Add support for RTL content 2022-02-08 15:51:50 +01:00
Jeremy Benoist
2b3ff84829
Avoid overlapping images when downloading them 2022-02-07 15:19:49 +01:00
Jérémy Benoist
a0c679d27a
Merge pull request #5591 from wallabag/fix/test-php8
Add build test on PHP 8.0 & 8.1
2022-01-31 13:09:56 +01:00
Jeremy Benoist
3c507d676f
Add build test on PHP 8.0 & 8.1
Add `isTransactional` to `WallabagMigration` because PHP 8 behave differently with PDO transaction.
This is a workaround because we can't upgrade Doctrine Migration for now (upper versions have the fix).

- Build is now using Composer v2 (instead of v1)
- All actions have been updated to latest version
- Fix bug in PHP 8 were `$entry->getTags()` can't be properly used as a _traversable_ by `assertContains` during tests. Added a custom method `Entry::getTagsLabel()` which return a flatted tag array with only label
- Replace `assertNotRegExp` by `assertDoesNotMatchRegularExpression` because it was deprecated
2022-01-31 12:59:39 +01:00
Christian Junk
4c724f2661 Fixed 'PHP-CS-Fixer.no_whitespace_in_blank_line'. 2022-01-31 01:18:04 -08:00
Christian Junk
fc7265f1b8
Fixed wrong number of entries for tag feeds. 2022-01-30 18:11:18 +01:00
Reza Almanda
6d79d4461f
Translated using Weblate (Indonesian)
Currently translated at 100.0% (6 of 6 strings)
2022-01-28 01:54:47 +01:00
Reza Almanda
cc99dd95b9
Translated using Weblate (Indonesian)
Currently translated at 100.0% (7 of 7 strings)
2022-01-28 01:54:46 +01:00
Reza Almanda
912a4589bf
Translated using Weblate (Indonesian)
Currently translated at 0.1% (1 of 569 strings)
2022-01-26 05:53:51 +01:00
Reza Almanda
7ac10ee54d
Translated using Weblate (Indonesian)
Currently translated at 85.7% (6 of 7 strings)
2022-01-26 05:53:50 +01:00
yzqzss
6b0c61bf2b
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (569 of 569 strings)
2022-01-26 05:53:50 +01:00
Kevin Decherf
8c120a3c42
Merge pull request #5380 from wallabag/add-random-entry-view
Added random button on article view
2022-01-07 23:21:23 +01:00
Nicolas Lœuillet
da18ed13b2
Added random button on article view 2022-01-07 15:39:09 +01:00
Nicolas Lœuillet
c9a3b67c83
Show when articles is read 2022-01-07 15:37:53 +01:00
Jeremy Benoist
283675ccd0
Rebuild assets and update webpack config
And optimize images (Thanks ImageOptim)
2022-01-05 16:09:43 +01:00
Oğuz Ersen
980d939ea4
Translated using Weblate (Turkish)
Currently translated at 100.0% (569 of 569 strings)
2022-01-02 12:37:07 +01:00
Weblate
f3e04b1d4b
Added translation using Weblate (Lithuanian) 2022-01-02 12:37:07 +01:00
Weblate
bbee0a52ea
Added translation using Weblate (Lithuanian) 2022-01-02 12:37:07 +01:00
Weblate
f9e5ea1507
Added translation using Weblate (Lithuanian) 2022-01-02 12:37:07 +01:00
Artem
feef933404
Translated using Weblate (Russian)
Currently translated at 100.0% (569 of 569 strings)
2022-01-02 12:37:07 +01:00
WETX
5ead4f7949
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (569 of 569 strings)
2022-01-02 12:37:07 +01:00
liimee
db4f5a8e7f
Translated using Weblate (Indonesian)
Currently translated at 71.4% (5 of 7 strings)
2022-01-02 12:37:07 +01:00
Weblate
2b8f63fdf1
Added translation using Weblate (Indonesian) 2022-01-02 12:37:06 +01:00
Weblate
d04da487aa
Added translation using Weblate (Indonesian) 2022-01-02 12:37:06 +01:00
liimee
b9f59b393f
Added translation using Weblate (Indonesian) 2022-01-02 12:37:06 +01:00
Alvaro
9a92a96103
Translated using Weblate (Spanish)
Currently translated at 94.0% (535 of 569 strings)
2022-01-02 12:37:06 +01:00
Kevin Decherf
ac529622bb
Merge pull request #5405 from wallabag/fix-5404
Fixed reading time in epub/pdf exports
2021-10-23 13:49:17 +02:00
Nicolas Lœuillet
ff1c4f6090 Fixed reading time in epub/pdf exports 2021-10-23 13:29:27 +02:00
Kevin Decherf
05a7904cfa
Merge pull request #5156 from wallabag/fix-assign-tags
Fixed timeout when assigning tags to entry
2021-10-23 13:24:22 +02:00
Nicolas Lœuillet
ca845b3204
Merge pull request #5379 from wallabag/fix-search-homepage
Fixed search on homepage
2021-08-20 11:16:33 +02:00
Kevin Decherf
ca4d7283d2
Merge pull request #5347 from hennevogel/bugfix/rss-feed-entry
Make RSS feed entry links valid and accessible
2021-08-07 10:45:29 +02:00
Kevin Decherf
19802d8bd5 Improve performance of REST exists call
I've noticed that the endpoint `/api/entries/exists` used by the "Sweep
articles" feature on the Android app failed almost all the time on my
instance.

After checking the corresponding method I found that
`EntryRestController::getEntriesExistsAction()` could be improved.

Here is the former way the method worked:

```
for id in [list of ids]
  get full entry by id
  if null
    get full entry by given id

return array of ids or array of hashes
```

With this behavior on my instance I could expect up to 13k SQL requests
when sweeping articles from the Android app. Morever the repository
fetches all fields (content included) while the method only returns ids
or hashes.

The new behavior is described as follow:

```
get ids, hashes by [list of ids]
merge with provided [list of ids] // this part will complete the final
                                  // array with not found ids

return array of ids or array of hashes
```

In my case this change reduces the number of SQL requests to only 135
(_considering one request for 50 articles_)

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2021-08-05 23:19:08 +02:00
Kevin Decherf
9a4ff85cf5 Update phpunit dep for phpstan
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2021-08-05 22:51:23 +02:00
Nikita Epifanov
851e4225c2
Translated using Weblate (Russian)
Currently translated at 100.0% (569 of 569 strings)
2021-08-05 19:55:57 +02:00
gnu-ewm
c914aef2e9
Translated using Weblate (Polish)
Currently translated at 88.9% (506 of 569 strings)
2021-08-04 17:34:32 +02:00
Nicolas Lœuillet
f664af752d Fixed search on homepage 2021-08-03 11:54:36 +02:00
Nicolas Lœuillet
ebb806496f Fixed timeout when assigning tags to entry
Fix #4998
2021-08-03 08:14:13 +02:00
Xosé M
0c68b9b4f3
Translated using Weblate (Galician)
Currently translated at 100.0% (569 of 569 strings)
2021-08-03 08:10:26 +02:00