Commit graph

6536 commits

Author SHA1 Message Date
Kevin Decherf
b27d20d7b7
Merge pull request #5446 from wallabag/dependabot/composer/predis/predis-1.1.8
Bump predis/predis from 1.1.7 to 1.1.8
2021-10-23 14:59:56 +02:00
Kevin Decherf
b205c99604
Merge pull request #5408 from wallabag/dependabot/composer/m6web/redis-mock-5.0.1
Bump m6web/redis-mock from 5.0.0 to 5.0.1
2021-10-23 14:58:09 +02:00
Kevin Decherf
c34760127f
Merge pull request #5453 from Simounet/fix/5421-dark-theme-developper-page
Fix/5421 dark theme developper page
2021-10-23 14:35:11 +02: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
Simounet
60d601789c
Fix dark theme first-app code 2021-10-07 15:10:25 +02:00
Simounet
3d74bf483f
Fix 5421 dark theme on the developper page 2021-10-07 19:25:03 +02:00
dependabot[bot]
e30c56fd45
Bump predis/predis from 1.1.7 to 1.1.8
Bumps [predis/predis](https://github.com/predis/predis) from 1.1.7 to 1.1.8.
- [Release notes](https://github.com/predis/predis/releases)
- [Changelog](https://github.com/predis/predis/blob/v1.1.8/CHANGELOG.md)
- [Commits](https://github.com/predis/predis/compare/v1.1.7...v1.1.8)

---
updated-dependencies:
- dependency-name: predis/predis
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-01 02:53:30 +00:00
Thomas Citharel
6142adc4dc
Merge pull request #5406 from zidingz/patch-1
Create SECURITY.md
2021-09-01 19:06:01 +02:00
dependabot[bot]
b37c4249af
Bump m6web/redis-mock from 5.0.0 to 5.0.1
Bumps [m6web/redis-mock](https://github.com/M6Web/RedisMock) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/M6Web/RedisMock/releases)
- [Commits](https://github.com/M6Web/RedisMock/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: m6web/redis-mock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-01 02:01:31 +00:00
Ziding Zhang
9f7c5e9c8f
Create SECURITY.md
A simple instruction for security researchers.
2021-08-31 10:50:12 +01: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
d7a3f7eb01
Merge pull request #5261 from wallabag/fix/performance-exists
Improve performance of REST exists call
2021-08-07 00:11:37 +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
dc6e1af684
Merge pull request #5326 from wallabag/updates
Update dependencies
2021-08-05 22:57:13 +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
Kevin Decherf
6a044f8c6e Update assets
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2021-08-05 22:51:23 +02:00
Kevin Decherf
2eaa4f838b Update compose.lock
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2021-08-05 22:51:23 +02:00
Kevin Decherf
c467bf9382 Update npm/yarn dependencies
Replace deprecated babel-eslint with @babel/eslint-parser
Replace deprecated eslint-loader with eslint-webpack-plugin
Update other plugins, resolving several opened security reports.

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2021-08-05 22:51:23 +02:00
Kevin Decherf
fe572f5a6c
Merge pull request #5187 from weblate/weblate-wallabag-messages
Translations update from Weblate
2021-08-05 21:46:00 +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
c34fe9945a Fixed test 2021-08-03 08:36:56 +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
Dmytro Prokhorenkov
2dc3ff561c
Translated using Weblate (Ukrainian)
Currently translated at 67.8% (386 of 569 strings)
2021-08-03 08:10:26 +02:00
Tim Lee
518f44f4f7
Translated using Weblate (Korean)
Currently translated at 100.0% (6 of 6 strings)
2021-08-03 08:10:26 +02:00
Tim Lee
d568336d85
Translated using Weblate (Korean)
Currently translated at 100.0% (7 of 7 strings)
2021-08-03 08:10:26 +02:00
Tim Lee
b0c6dcd9ea
Translated using Weblate (Korean)
Currently translated at 100.0% (569 of 569 strings)
2021-08-03 08:10:26 +02:00
Tim Lee
ea06e4b735
Translated using Weblate (Korean)
Currently translated at 100.0% (40 of 40 strings)
2021-08-03 08:10:25 +02:00
Marek
efbc47e7ce
Translated using Weblate (Czech)
Currently translated at 100.0% (569 of 569 strings)
2021-08-03 08:10:25 +02:00
ssantos
731136c8eb
Translated using Weblate (Portuguese)
Currently translated at 100.0% (40 of 40 strings)
2021-08-03 08:10:25 +02:00
ssantos
cbb6272ae3
Translated using Weblate (Portuguese)
Currently translated at 61.8% (352 of 569 strings)
2021-08-03 08:10:25 +02:00
ssantos
f8075510ca
Translated using Weblate (Portuguese)
Currently translated at 100.0% (7 of 7 strings)
2021-08-03 08:10:25 +02:00
Marek
ea9712245d
Translated using Weblate (Czech)
Currently translated at 77.8% (443 of 569 strings)
2021-08-03 08:10:25 +02:00
Marek
e53a22d409
Translated using Weblate (Czech)
Currently translated at 68.3% (389 of 569 strings)
2021-08-03 08:10:25 +02:00
Marek
f7ed2a3554
Translated using Weblate (Czech)
Currently translated at 52.0% (296 of 569 strings)
2021-08-03 08:10:25 +02:00
Marek
a103b60c74
Translated using Weblate (Czech)
Currently translated at 100.0% (7 of 7 strings)
2021-08-03 08:10:25 +02:00
Marek
a11d2ad04e
Translated using Weblate (Czech)
Currently translated at 100.0% (40 of 40 strings)
2021-08-03 08:10:25 +02:00
Marek
eed243ff45
Translated using Weblate (Czech)
Currently translated at 100.0% (6 of 6 strings)
2021-08-03 08:10:25 +02:00
K. Herbert
236099129c
Translated using Weblate (German)
Currently translated at 100.0% (7 of 7 strings)
2021-08-03 08:10:25 +02:00
J. Lavoie
be2db47d39
Translated using Weblate (Croatian)
Currently translated at 100.0% (569 of 569 strings)
2021-08-03 08:10:25 +02:00
Nicolas Lœuillet
5344db7924
Merge pull request #5376 from wallabag/fix-failing-test
Fixed unavailable russian website in test
2021-08-03 08:10:20 +02:00
Nicolas Lœuillet
609193cf59 Fixed unavailable russian website in test 2021-08-03 07:56:14 +02:00
Kevin Decherf
ad9df862f0
Merge pull request #5202 from Simounet/feat/pagination-styling
Pagination style updated
2021-08-02 23:48:13 +02:00
Henne Vogelsang
23de687696
Make RSS feed entry links valid and accessible
According to the ATOM spec link elements must have a href:
https://validator.w3.org/feed/docs/atom.html

Also most feed readers (TinyTiny, Feedly, Thunderbird) prefer link elements in
this order:

- plain
- with attribute rel=alternate
- with attribute rel=via

As the content is work of the entry author, link to it by default. Not to the
wallabag instance entry.

This also makes it possible to share links with people who don't have access to
the wallabag instance via the RSS feed.
2021-07-08 22:36:50 +02:00
Kevin Decherf
7b17dfc172
Merge pull request #5296 from wallabag/tag-order
Tag view: order tags by label
2021-05-22 01:21:47 +02:00