Commit graph

6517 commits

Author SHA1 Message Date
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
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
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
Kevin Decherf
d930639b06
Merge pull request #5260 from wallabag/dependabot-schedule
dependabot: change schedule to check updates once a month
2021-05-22 01:21:32 +02:00
Kevin Decherf
1ba4d40e82 Tag view: order tags by label
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2021-05-20 13:09:27 +02:00
Kevin Decherf
60ce3da325
Merge pull request #5274 from wallabag/dependabot/composer/phpstan/phpstan-symfony-0.12.33
Bump phpstan/phpstan-symfony from 0.12.25 to 0.12.33
2021-05-14 22:03:51 +02:00
dependabot[bot]
e369309570
Bump phpstan/phpstan-symfony from 0.12.25 to 0.12.33
Bumps [phpstan/phpstan-symfony](https://github.com/phpstan/phpstan-symfony) from 0.12.25 to 0.12.33.
- [Release notes](https://github.com/phpstan/phpstan-symfony/releases)
- [Commits](https://github.com/phpstan/phpstan-symfony/compare/0.12.25...0.12.33)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-14 19:44:24 +00:00
Kevin Decherf
b4a1d6f62d
Merge pull request #5277 from wallabag/dependabot/npm_and_yarn/webpack-5.37.0
Bump webpack from 5.28.0 to 5.37.0
2021-05-14 21:43:38 +02:00
Kevin Decherf
457c462f35
Merge pull request #5278 from wallabag/dependabot/composer/phpstan/phpstan-phpunit-0.12.19
Bump phpstan/phpstan-phpunit from 0.12.18 to 0.12.19
2021-05-14 21:43:13 +02:00
dependabot[bot]
339f2772fa
Bump webpack from 5.28.0 to 5.37.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.28.0 to 5.37.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.28.0...v5.37.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-14 19:33:42 +00:00
dependabot[bot]
bbb894d28c
Bump phpstan/phpstan-phpunit from 0.12.18 to 0.12.19
Bumps [phpstan/phpstan-phpunit](https://github.com/phpstan/phpstan-phpunit) from 0.12.18 to 0.12.19.
- [Release notes](https://github.com/phpstan/phpstan-phpunit/releases)
- [Commits](https://github.com/phpstan/phpstan-phpunit/compare/0.12.18...0.12.19)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-14 19:26:33 +00:00
Kevin Decherf
600872304c
Merge pull request #5285 from wallabag/dependabot/composer/symfony/symfony-3.4.48
Bump symfony/symfony from 3.4.47 to 3.4.48
2021-05-14 21:25:23 +02:00
dependabot[bot]
d988e0d568
Bump symfony/symfony from 3.4.47 to 3.4.48
Bumps [symfony/symfony](https://github.com/symfony/symfony) from 3.4.47 to 3.4.48.
- [Release notes](https://github.com/symfony/symfony/releases)
- [Changelog](https://github.com/symfony/symfony/blob/v3.4.48/CHANGELOG-3.4.md)
- [Commits](https://github.com/symfony/symfony/compare/v3.4.47...v3.4.48)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-14 09:18:46 +00:00
Kevin Decherf
e2a5f3ba41
Merge pull request #5288 from wallabag/dependabot/composer/phpseclib/phpseclib-3.0.8
Bump phpseclib/phpseclib from 3.0.6 to 3.0.8
2021-05-14 11:15:28 +02:00
dependabot[bot]
2ed5e63668
Bump phpseclib/phpseclib from 3.0.6 to 3.0.8
Bumps [phpseclib/phpseclib](https://github.com/phpseclib/phpseclib) from 3.0.6 to 3.0.8.
- [Release notes](https://github.com/phpseclib/phpseclib/releases)
- [Changelog](https://github.com/phpseclib/phpseclib/blob/master/CHANGELOG.md)
- [Commits](https://github.com/phpseclib/phpseclib/compare/3.0.6...3.0.8)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-13 22:17:37 +00:00
Kevin Decherf
4d43f79b34 dependabot: change schedule to check updates once a month
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2021-05-03 13:30:34 +02:00
Kevin Decherf
691746e8d9
Merge pull request #5218 from wallabag/dependabot/composer/phpstan/phpstan-symfony-0.12.25
Bump phpstan/phpstan-symfony from 0.12.21 to 0.12.25
2021-04-14 15:35:08 +02:00
Simounet
abb69c5911
Pagination style updated 2021-04-14 14:14:49 +02:00
dependabot[bot]
3fcef24f08
Bump phpstan/phpstan-symfony from 0.12.21 to 0.12.25
Bumps [phpstan/phpstan-symfony](https://github.com/phpstan/phpstan-symfony) from 0.12.21 to 0.12.25.
- [Release notes](https://github.com/phpstan/phpstan-symfony/releases)
- [Commits](https://github.com/phpstan/phpstan-symfony/compare/0.12.21...0.12.25)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-14 12:14:22 +00:00
Kevin Decherf
5d2ab97d1a
Merge pull request #5217 from Simounet/fix/tests
Fix/tests
2021-04-14 14:13:03 +02:00
Simounet
6324d30db2
Fix PHPUnit deprecated warning 2021-04-14 13:07:46 +02:00
Simounet
e491052b0d
Fix 404 on real content test URL 2021-04-14 13:07:34 +02:00