Commit Graph

1986 Commits

Author SHA1 Message Date
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
9a4ff85cf5 Update phpunit dep for phpstan
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2021-08-05 22:51:23 +02:00
851e4225c2 Translated using Weblate (Russian)
Currently translated at 100.0% (569 of 569 strings)
2021-08-05 19:55:57 +02:00
c914aef2e9 Translated using Weblate (Polish)
Currently translated at 88.9% (506 of 569 strings)
2021-08-04 17:34:32 +02:00
0c68b9b4f3 Translated using Weblate (Galician)
Currently translated at 100.0% (569 of 569 strings)
2021-08-03 08:10:26 +02:00
2dc3ff561c Translated using Weblate (Ukrainian)
Currently translated at 67.8% (386 of 569 strings)
2021-08-03 08:10:26 +02:00
518f44f4f7 Translated using Weblate (Korean)
Currently translated at 100.0% (6 of 6 strings)
2021-08-03 08:10:26 +02:00
b0c6dcd9ea Translated using Weblate (Korean)
Currently translated at 100.0% (569 of 569 strings)
2021-08-03 08:10:26 +02:00
efbc47e7ce Translated using Weblate (Czech)
Currently translated at 100.0% (569 of 569 strings)
2021-08-03 08:10:25 +02:00
cbb6272ae3 Translated using Weblate (Portuguese)
Currently translated at 61.8% (352 of 569 strings)
2021-08-03 08:10:25 +02:00
ea9712245d Translated using Weblate (Czech)
Currently translated at 77.8% (443 of 569 strings)
2021-08-03 08:10:25 +02:00
e53a22d409 Translated using Weblate (Czech)
Currently translated at 68.3% (389 of 569 strings)
2021-08-03 08:10:25 +02:00
f7ed2a3554 Translated using Weblate (Czech)
Currently translated at 52.0% (296 of 569 strings)
2021-08-03 08:10:25 +02:00
eed243ff45 Translated using Weblate (Czech)
Currently translated at 100.0% (6 of 6 strings)
2021-08-03 08:10:25 +02:00
be2db47d39 Translated using Weblate (Croatian)
Currently translated at 100.0% (569 of 569 strings)
2021-08-03 08:10:25 +02:00
1ba4d40e82 Tag view: order tags by label
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2021-05-20 13:09:27 +02:00
655edbf7aa Translated using Weblate (Greek)
Currently translated at 100.0% (569 of 569 strings)
2021-03-08 19:03:17 +01:00
3c85d0b0d4 Translated using Weblate (Greek)
Currently translated at 100.0% (6 of 6 strings)
2021-03-08 19:02:54 +01:00
889792349a Translated using Weblate (French)
Currently translated at 100.0% (569 of 569 strings)
2021-03-08 19:02:53 +01:00
6725dd0d28 Merge pull request #5110 from weblate/weblate-wallabag-messages 2021-03-08 10:42:19 +01:00
41e1d97c96 Merge pull request #5113 from mx-psi/mx-psi/fix-link 2021-03-08 10:41:36 +01:00
8070b8ddb1 Update link to Wallabag hosted one 2021-03-08 10:15:16 +01:00
9599d6f289 Fix myreadspeed links
myreadspeed.com is no longer available, see craigmayhew/myreadspeed@9e7786c
2021-03-07 17:04:02 +01:00
7acd207054 Convert tag label to lowercase in RuleBasedTagger
Fixes #4266

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2021-03-06 19:46:24 +01:00
e61825a620 Added translation using Weblate (Greek) 2021-03-06 19:36:57 +01:00
17315e51bd Added translation using Weblate (Aragonese) 2021-03-06 19:36:57 +01:00
0060a65152 Added translation using Weblate (Basque) 2021-03-06 19:36:41 +01:00
87680f6ebf Added translation using Weblate (Greek) 2021-03-06 19:36:32 +01:00
c356146ddf Added translation using Weblate (Basque) 2021-03-06 19:36:32 +01:00
1fed05d936 Added translation using Weblate (Aragonese) 2021-03-06 19:36:26 +01:00
a39522e58f Translated using Weblate (French)
Currently translated at 100.0% (569 of 569 strings)
2021-03-05 22:50:37 +01:00
b933c7a85d Translated using Weblate (Spanish)
Currently translated at 92.7% (528 of 569 strings)
2021-03-01 23:50:33 +01:00
5c172c7f17 Translated using Weblate (Japanese)
Currently translated at 100.0% (569 of 569 strings)
2021-02-28 05:50:35 +01:00
4fd5cf38c9 Translated using Weblate (Galician)
Currently translated at 100.0% (569 of 569 strings)
2021-02-26 07:50:33 +01:00
ee90510af0 Translated using Weblate (Czech)
Currently translated at 21.9% (125 of 569 strings)
2021-02-15 12:50:48 +01:00
d3262da307 Translated using Weblate (Turkish)
Currently translated at 100.0% (569 of 569 strings)
2021-02-08 09:17:36 +01:00
5a38865c70 Translated using Weblate (German)
Currently translated at 100.0% (569 of 569 strings)
2021-01-27 21:32:13 +01:00
8869c7a153 Merge pull request #4971 from wallabag/fix/footer-date-translation
Fix translation of date in the footer using IntlDateFormatter
2021-01-25 09:33:57 +01:00
b50cd2564c Merge pull request #4972 from wallabag/fix/2533-filter-active-menu
Preselect currently active section in the filter menu
2021-01-25 09:30:03 +01:00
54cd1ac73d Translated using Weblate (Croatian)
Currently translated at 100.0% (569 of 569 strings)
2021-01-25 08:53:06 +01:00
8e89b3ad76 Preselect currently active section in the filter menu
Fixes #2533

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2021-01-24 02:16:43 +01:00
ebda18636c Fix translation of date in the footer using IntlDateFormatter
Fixes #2476
Fixes #2870

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2021-01-23 21:16:00 +01:00
d608caa0ad Translated using Weblate (Galician)
Currently translated at 99.8% (568 of 569 strings)
2021-01-22 07:32:18 +01:00
b9c0b2c465 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (569 of 569 strings)
2021-01-22 07:32:12 +01:00
a8db5b3782 Fix accessibility problem with the 2FA QR code (#4915)
* Add alt to qr code

* Add alt to qr code

* Fix contrast for api key link

* Add translate qrcode alt

* Add translatation for QR code alternative

* Fix extra space

* Add translation for qrcode image alternative
2021-01-18 11:11:13 +01:00
0fb77636d2 Translated using Weblate (Galician)
Currently translated at 73.7% (419 of 568 strings)
2021-01-18 11:01:52 +01:00
fceeae6499 Translated using Weblate (Galician)
Currently translated at 100.0% (6 of 6 strings)
2021-01-18 11:01:52 +01:00
5654c3aaf3 Translated using Weblate (Galician)
Currently translated at 70.5% (401 of 568 strings)
2021-01-18 11:01:52 +01:00
381f9681b5 Fix CS 2021-01-18 10:38:56 +01:00
146fe1411d Translated using Weblate (Turkish)
Currently translated at 100.0% (568 of 568 strings)
2021-01-13 11:32:09 +01:00