Commit graph

2746 commits

Author SHA1 Message Date
Jeremy Benoist
bd4c71682e
Fix XSS on username on share page 2023-02-07 19:58:06 +01:00
Jeremy Benoist
b795622f06
Prepare 2.5.3 2023-02-01 09:51:02 +01:00
Jérémy Benoist
5ac6b6bff9
Merge pull request from GHSA-mrqx-mjc4-vfh3
AnnotationController: fix improper authorization vulnerability
2023-02-01 09:32:22 +01:00
Kevin Decherf
3ed7f2b751 AnnotationController: fix improper authorization vulnerability
This PR is based on 2.5.x branch.

We fix the improper authorization by retrieving the annotation using id
and user id.

We also replace the ParamConverter used to get the requested Annotation
on put and delete actions with an explicit call to AnnotationRepository
in order to prevent a resource enumeration through response discrepancy.

Fixes GHSA-mrqx-mjc4-vfh3

Co-authored-by: Jeremy Benoist <jeremy.benoist@gmail.com>
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2023-01-27 23:34:14 +01:00
Wynton Franklin
baddc525bb fix for config links 2023-01-23 18:19:49 -04:00
Kevin Decherf
0fdd9aa991 ExportController: fix improper authorization vulnerability
We fix the improper authorization by duplicating the check done by
the private method EntryController::checkUserAction().

We also replace the ParamConverter used to get the requested Entry with
an explicit call to EntryRepository in order to prevent a resource
enumeration through response discrepancy. Thus, we get the same
exception whether the requested resource does not exist or is not owned
by the requester.

Fixes GHSA-qwx8-mxxx-mg96

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2023-01-20 15:09:38 +01:00
Kevin Decherf
2f2cfa2c2a Add prefix for tag slugs
This should be considered as a temporary fix, we may deprecate tag
slugs in the future.

Fixes #6048

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2023-01-11 23:20:13 +01:00
Jérémy Benoist
7625e36b5a
Merge pull request #6182 from caspermeijn/openapi3
Update annotations to OpenApi 3
2023-01-02 10:39:56 +01:00
Michael Ciociola
97fee36fa6
Update src/Wallabag/CoreBundle/Controller/TagController.php
Co-authored-by: Jérémy Benoist <j0k3r@users.noreply.github.com>
2022-12-23 11:03:25 -06:00
Casper Meijn
4f9c7a92a1 Update annotations to OpenApi 3
Most of the API annotations are directly converted. The changes in meaning are:
- Parameters "in body" is not supported anymore. These are changed to "in query" or to a request body (depending on the code).
2022-12-23 14:54:55 +01:00
Jérémy Benoist
f04e48fc23
Merge pull request #6171 from wallabag/fix/json-array-dbal-type
Properly handle `json_array` type removal
2022-12-22 16:29:53 +01:00
Jeremy Benoist
cdd2185063
Properly handle json_array type removal
The `json_array` type was removed from DBAL v3, we should handle it using a migration to avoid error.
I've also added the remove type because we need it during migration.
2022-12-21 11:02:51 +01:00
Jeremy Benoist
0a6e6abdc4
Add RabbitMQConsumerTotalProxy to lazy RabbitMQ services for messages
This is just a simple proxy because we can't lazy load RabbitMQ service just to count number of messages in the queue.
As they are automatically injected in the controller now, we can't lazy load them.

Also forgot to use `AbstractController` in previous PR about _controller as a service_.
2022-12-19 13:23:56 +01:00
Jeremy Benoist
6aca334d53
Move to controller as a service
Mostly using autowiring to inject deps.
The only tricky part was for import because all producer use the same class and have a different alias. So we must write them down in the service definition, autowiring doesn't work in that case.

Usually:
- if a controller has a constructor, it means injected services are at least re-used once in actions
- otherwise, service are injected per action
2022-12-19 10:38:08 +01:00
Jeremy Benoist
67a344c2c6
Update PagerFanta 2022-12-16 12:22:56 +01:00
Jeremy Benoist
b3099f68c5
Update all Doctrine deps
Also update these deps to be compatible with latest Doctrine version:
- `friendsofsymfony/oauth-server-bundle`
- `lexik/form-filter-bundle`
- `dama/doctrine-test-bundle`
2022-12-16 10:29:42 +01:00
Jérémy Benoist
8f473ecf5c
Merge pull request #6152 from wallabag/fix/container-aware-command
Remove `ContainerAwareCommand` from commands
2022-12-16 10:25:26 +01:00
Jeremy Benoist
32661f380c
Replace SwiftMailer by Symfony Mailer 2022-12-16 10:03:34 +01:00
Jeremy Benoist
5832482a10
Remove ContainerAwareCommand from commands
And use DI to retrieve services in commands (except for `RedisWorkerCommand` where the container is injected, hard to find a better way, at least for now).
2022-12-16 10:02:15 +01:00
Nicolas Lœuillet
9c16dd7bd1
Merge pull request #6154 from wallabag/fix/event-dispatcher
Fix EventDispatcher & events
2022-12-16 08:08:53 +01:00
Jeremy Benoist
d47c208743
Fix EventDispatcer & events
Looks like parameter for the `->dispatch(` have been flipped (event first then event name).
Define events should now extends `Symfony\Contracts\EventDispatcher\Event`
2022-12-15 21:47:31 +01:00
Jeremy Benoist
5e2ad5f8db
Move translations files to /translations
This is a recommendation for Symfony 5
2022-12-15 21:19:41 +01:00
Jeremy Benoist
28abfe264a
Upgrade to Twig 3 2022-12-15 13:44:21 +01:00
Jeremy Benoist
33267f0736
Update to FOSUserBundle 3.1
Also remove some deprecation from Symfony.
Use `LegacyEventDispatcherProxy` to handle Symfony 4 dispatch from FOSUser
2022-12-14 09:42:17 +01:00
Jérémy Benoist
a57c815ddc
Merge pull request #6113 from wallabag/dependabot/composer/friendsofphp/php-cs-fixer-3.4.0
Bump friendsofphp/php-cs-fixer from 2.19.3 to 3.4.0
2022-12-13 10:30:58 +01:00
Jeremy Benoist
de5b138a59
Fix CS 2022-12-13 10:26:51 +01:00
Diego Heras
519e9db94b
Translated using Weblate (Spanish)
Currently translated at 100.0% (576 of 576 strings)
2022-12-12 04:16:51 +01:00
Michael Ciociola
13bd448e01 feat: use session instead of referer for redirects 2022-12-04 16:20:11 -06:00
Jeremy Benoist
aa5c7f05b8
Upgrade to Symfony 4.4
- disable autowiring for Event (because the Entry entity was injected)
- rename `getClient()` for test to `getTestClient()` to avoid error while overriding (from `BrowserKitAssertionsTrait`)
2022-11-29 18:01:46 -08:00
Jeremy Benoist
b7dba18cb2
Cleanup 2022-11-23 15:51:33 +01:00
Jeremy Benoist
1d3935fbd3
Remove LiipThemeBundle
As baggy theme was removed and material is the only remaining theme, we don't need a theme switched anymore.
So:
- move all `*.twig` files from the material theme folder to the root
- remove useless translations
2022-11-23 14:52:06 +01:00
Jeremy Benoist
27e788d0be
Re-create all API routes 2022-11-23 12:44:55 +01:00
Jeremy Benoist
b41696fd1c Remove some deprecation 2022-11-22 21:39:34 +01:00
Jérémy Benoist
d1cdae9967
Merge pull request #6062 from caspermeijn/openapi
Switch to Swagger for api documentation
2022-11-16 16:42:11 +01:00
Casper Meijn
470a8575c0 Update to nelmio/api-doc 3.0
Convert ApiDoc to Swagger
2022-11-16 16:10:33 +01:00
Xosé M
a5047aff98
Translated using Weblate (Galician)
Currently translated at 100.0% (579 of 579 strings)
2022-11-10 06:47:01 +01:00
retiolus
e7464867ae
Translated using Weblate (Catalan)
Currently translated at 3.1% (18 of 579 strings)
2022-11-07 04:33:43 +01:00
Milo Ivir
acfbe92640
Translated using Weblate (Croatian)
Currently translated at 100.0% (579 of 579 strings)
2022-11-07 04:33:43 +01:00
Eric
6d9d3f9fd4
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (579 of 579 strings)
2022-11-04 17:00:57 +01:00
Oğuz Ersen
d4d57b4d22
Translated using Weblate (Turkish)
Currently translated at 100.0% (579 of 579 strings)
2022-11-04 17:00:57 +01:00
Matthaiks
bfd6614b2f
Translated using Weblate (Polish)
Currently translated at 100.0% (579 of 579 strings)
2022-11-04 17:00:56 +01:00
retiolus
849e39ec80
Translated using Weblate (Catalan)
Currently translated at 1.3% (8 of 578 strings)
2022-11-03 10:53:21 +01:00
Jeremy Benoist
48803b68d6
Cleanup baggy 2022-11-03 10:35:33 +01:00
Jeremy Benoist
8d3fcd4635
Merge remote-tracking branch 'origin/master' into 2.6.0 2022-11-03 10:30:17 +01:00
Nicolas Lœuillet
9d39130a96
Removed useless files 2022-11-03 10:16:52 +01:00
Nicolas Lœuillet
df44e6eff8 Fixed bug on new form page 2022-11-03 09:59:31 +01:00
Nicolas Lœuillet
b62511652b Removed useless file 2022-11-03 09:59:31 +01:00
Nicolas Lœuillet
594c609a54 Fixed edit button for tagging rules 2022-11-03 09:55:24 +01:00
Nicolas Lœuillet
29308024ac Removed old, not so maintained and buggy baggy theme 2022-11-03 09:55:20 +01:00
Jérémy Benoist
0883bda18d
Merge pull request #5954 from yguedidi/rework-command-tests
Rework command tests
2022-11-03 09:01:21 +01:00
retiolus
2f1f5551b3
Translated using Weblate (Catalan)
Currently translated at 100.0% (7 of 7 strings)
2022-11-02 09:55:59 +01:00
Weblate
d60c0300ba
Added translation using Weblate (Catalan) 2022-11-02 09:55:59 +01:00
Weblate
2690e4d920
Added translation using Weblate (Catalan) 2022-11-02 09:55:59 +01:00
Weblate
587670260b
Added translation using Weblate (Catalan) 2022-11-02 09:55:59 +01:00
Nicolas Lœuillet
4947d419a3
Removed Carrot & Scuttle share 2022-11-01 15:10:02 +01:00
SAKATA, Yusuke
08ce432cea
Translated using Weblate (Japanese)
Currently translated at 97.7% (565 of 578 strings)
2022-10-20 02:07:40 +02:00
Yassine Guedidi
39cd51a3f9 Make InstallCommand properties and methods private 2022-10-18 15:19:07 +02:00
Yassine Guedidi
8f20df6559 Remove InstallCommandMock 2022-10-18 15:19:07 +02:00
Jeremy Benoist
dc28d7ea0f
Add support to download SVG locally 2022-10-18 11:14:45 +02:00
Jeremy Benoist
c372d68cc1
Merge remote-tracking branch 'origin/master' into 2.6.0 2022-10-18 11:11:02 +02:00
Yotam Nachum
f994ab8b5d Add domain_name to entries api endpoint 2022-10-16 18:36:41 +03:00
Andrea Brandi
6f750a3b66
Translated using Weblate (Italian)
Currently translated at 82.3% (476 of 578 strings)
2022-10-13 00:29:42 +02:00
JT Smith
6da76ffaae Typofixes 2022-10-03 18:31:43 -06:00
Jeremy Benoist
812b4a906f
Add nbEntries to the API tags list response
So client will be able to do the same as in the web UI.

Also remove empty `div` from the tags template.
2022-09-23 15:16:38 +02:00
Cthulhux
b768371a13
Translated using Weblate (German)
Currently translated at 100.0% (578 of 578 strings)
2022-09-22 00:19:06 +02:00
Matthaiks
db25a7f5d8
Translated using Weblate (Polish)
Currently translated at 100.0% (7 of 7 strings)
2022-09-19 09:02:44 +02:00
Matthaiks
f1dde1ac80
Translated using Weblate (Polish)
Currently translated at 100.0% (578 of 578 strings)
2022-09-19 09:02:44 +02:00
Yassine Guedidi
98af2e25f2 Use ::class notation where possible 2022-09-01 20:54:56 +02:00
Yassine Guedidi
d1d56fbe25 Import used classes 2022-09-01 19:21:45 +02:00
Yassine Guedidi
eb43c78720 Use FQCN instead of service alias 2022-09-01 09:07:19 +02:00
Yassine Guedidi
156158673f Alias Config entity to ConfigEntity to not conflict with Craue Config 2022-09-01 09:07:18 +02:00
Yassine Guedidi
1c479d6b97 Autowire Redis and RabbitMQ services 2022-08-31 02:05:30 +02:00
Yassine Guedidi
d520e55c84 Bind most constructor parameters to simplify service definition 2022-08-31 02:05:30 +02:00
Yassine Guedidi
1bee0eeb29 Make repositories use ServiceEntityRepository 2022-08-31 02:05:30 +02:00
Yassine Guedidi
51884911f5 Pass logger in constructor for importers 2022-08-31 02:05:29 +02:00
Yassine Guedidi
dad088b575 Autowire service arguments 2022-08-31 02:05:29 +02:00
Yassine Guedidi
73bdd66c84 Move services and parameters to app services 2022-08-31 02:05:29 +02:00
Yassine Guedidi
791b674cdc Migrate remaining places 2022-08-26 17:47:46 +02:00
Yassine Guedidi
481283bbee Migrate controller and action references 2022-08-26 17:47:46 +02:00
Yassine Guedidi
1c880883e2 Migrate ParamConverter class parameter 2022-08-26 17:47:46 +02:00
Yassine Guedidi
8b7b4975d6 Migrate getRepository with entities 2022-08-26 17:47:46 +02:00
MarkLee
cbe77537b1
Translated using Weblate (Chinese (Traditional))
Currently translated at 13.4% (78 of 578 strings)
2022-08-26 04:20:12 +02:00
Yassine Guedidi
9549a90e76 Migrate first level template references to new notation 2022-08-25 21:09:26 +02:00
Yassine Guedidi
10f1bc5506 Migrate root level template references to new notation 2022-08-25 21:08:21 +02:00
Jérémy Benoist
009697f844
Merge pull request #5748 from yguedidi/use-fqcn-as-service-name 2022-08-25 07:37:06 +02:00
Yassine Guedidi
538fd258fe Use FQCN as service name for Rulerz operators 2022-08-24 23:24:25 +02:00
Yassine Guedidi
a5f22ff835 Use FQCN as service name for Predis client 2022-08-24 23:24:25 +02:00
Yassine Guedidi
60777e0573 Use FQCN as service name for remaining CoreBundle services 2022-08-24 23:24:25 +02:00
Yassine Guedidi
0f9c359476 Use FQCN as service name for repositories 2022-08-24 23:24:25 +02:00
Yassine Guedidi
844e8e9d22 Use FQCN as service name for helper services 2022-08-24 23:24:24 +02:00
Yassine Guedidi
7227d55913 Use FQCN as service name for Graby services 2022-08-24 23:24:24 +02:00
Yassine Guedidi
dd5ec92e08 Use FQCN as service name for form types 2022-08-24 23:24:24 +02:00
Yassine Guedidi
b7aaceeaad Use FQCN as service name for ImportChain 2022-08-24 23:24:24 +02:00
Yassine Guedidi
9f7a076e41 Use FQCN as service name for commands 2022-08-24 23:24:24 +02:00
Yassine Guedidi
a7addd3c13 Use FQCN as service name for Import services 2022-08-24 23:24:24 +02:00
Yassine Guedidi
4449265836 Use FQCN as service name for remaining UserBundle services 2022-08-24 23:17:17 +02:00
Yassine Guedidi
ff9f719ec5 Use FQCN as service name for UserRepository 2022-08-24 23:17:17 +02:00
Yassine Guedidi
c6d9a3fcea Add empty line for code readability 2022-08-24 23:17:16 +02:00
Yassine Guedidi
fc85cfd52e Fix TwigCS issues 2022-08-24 23:13:18 +02:00
Jeremy Benoist
131f21883d
Merge remote-tracking branch 'origin/master' into 2.6.0 2022-08-23 08:43:46 +02:00
Jérémy Benoist
2f1f6e9c51
Merge pull request #5838 from wallabag/feat/mass-action-tag
Add support of mass action to tag entries
2022-08-22 20:56:04 +02:00
Azorimor
e81f8043b3
Translated using Weblate (German)
Currently translated at 100.0% (7 of 7 strings)
2022-08-22 20:21:11 +02:00
Yassine Guedidi
007bd31bee Use a listener to skip registration 2022-08-15 17:23:16 +02:00
Yassine Guedidi
bfc28d4c0b Use Twig globals to pass registration_enabled 2022-08-15 17:23:16 +02:00
Yassine Guedidi
5a55a64fee Use fosuser_registration directly instead of wallabag_user.registration_enabled 2022-08-15 17:23:16 +02:00
Xosé M
bc4e9aa908
Translated using Weblate (Galician)
Currently translated at 100.0% (578 of 578 strings)
2022-08-15 13:10:37 +02:00
Yassine Guedidi
327fa7d527 Extend right FOSRestBundle controller class 2022-08-15 12:59:28 +02:00
Yassine Guedidi
e494d51868 Register missed commands 2022-08-14 22:16:47 +02:00
Yassine Guedidi
c15a3e5340 Fix DateTime case 2022-07-31 22:01:23 +01:00
Oğuz Ersen
c92622ff5e
Translated using Weblate (Turkish)
Currently translated at 100.0% (578 of 578 strings)
2022-07-21 21:17:47 +02:00
Kevin Decherf
08eb190c95 Add support of mass action to tag entries
Closes #3118

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2022-06-29 15:48:41 +02:00
Nicolas Lœuillet
5291f7fb97 Fixed test 2022-06-16 15:18:10 +02:00
Simounet
e55cb639fc
Tag delete style action updated 2022-06-15 16:18:12 +02:00
Nicolas Lœuillet
086b3dda88
Fixed cs 2022-06-15 16:18:12 +02:00
Nicolas Lœuillet
4feca1ccd5
Added tag deletion from tags list
Fixed #2952
2022-06-15 16:18:11 +02:00
Jeremy Benoist
2984c0dfcc
Merge remote-tracking branch 'origin/master' into 2.6.0 2022-06-15 16:17:50 +02:00
Strubbl
821093c033
Translated using Weblate (German)
Currently translated at 99.1% (573 of 578 strings)
2022-06-15 10:00:18 +02:00
Gil
e50f2daf76
Translated using Weblate (Portuguese)
Currently translated at 62.6% (362 of 578 strings)
2022-06-13 06:02:08 +02:00
Milo Ivir
274d6d325c
Translated using Weblate (Croatian)
Currently translated at 100.0% (578 of 578 strings)
2022-06-13 06:02:08 +02:00
Jeremy Benoist
40595af2cf
Merge remote-tracking branch 'origin/master' into 2.6.0 2022-06-09 11:33:05 +02:00
Jérémy
14a1755445
Translated using Weblate (French)
Currently translated at 100.0% (578 of 578 strings)
2022-06-09 07:16:39 +02:00
Kevin Decherf
932a1cb422
Translated using Weblate (Hungarian)
Currently translated at 54.8% (317 of 578 strings)
2022-06-06 20:14:33 +02:00
Kevin Decherf
e934516b28
Translated using Weblate (Thai)
Currently translated at 78.3% (453 of 578 strings)
2022-06-06 20:14:33 +02:00
Kevin Decherf
6999f32020
Translated using Weblate (Portuguese)
Currently translated at 62.4% (361 of 578 strings)
2022-06-06 20:14:32 +02:00
Kevin Decherf
9a5821eb09
Translated using Weblate (Polish)
Currently translated at 86.8% (502 of 578 strings)
2022-06-06 20:14:32 +02:00
Kevin Decherf
67e1bb06b7
Translated using Weblate (Occitan)
Currently translated at 82.8% (479 of 578 strings)
2022-06-06 20:14:31 +02:00
Kevin Decherf
a56c5d07ba
Translated using Weblate (Italian)
Currently translated at 82.1% (475 of 578 strings)
2022-06-06 20:14:30 +02:00
Kevin Decherf
338d8b25e2
Translated using Weblate (French)
Currently translated at 98.7% (571 of 578 strings)
2022-06-06 20:14:30 +02:00
Jérémy Benoist
031f5d27d8
Fix error about template not found
Following bundle inheritance removal
2022-05-30 13:40:26 +02:00
Yassine Guedidi
eda4ff0336 Remove SensioDistributionBundle 2022-05-21 23:35:53 +02:00
Reza Almanda
e0f234e568
Translated using Weblate (Indonesian)
Currently translated at 1.3% (8 of 578 strings)
2022-05-19 06:17:19 +02:00
Xosé M
4649745a6f
Translated using Weblate (Galician)
Currently translated at 100.0% (578 of 578 strings)
2022-05-19 06:17:18 +02:00
Eric
c713d5bf60
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (578 of 578 strings)
2022-05-16 06:16:42 +02:00
Kevin Decherf
5809d7b072
Merge pull request #5794 from wallabag/2.5.0
Merge branch 2.5.0 in master
2022-05-14 16:44:13 +02:00
Jeremy Benoist
4947ea6758
Merge remote-tracking branch 'origin/master' into 2.5.0 2022-05-13 13:50:50 +02:00
Jeremy Benoist
c87c91d3df
Update message 2022-05-13 09:56:35 +02:00
Eric
9a045b87ab
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (570 of 570 strings)
2022-05-13 07:19:34 +02:00
Jérémy Benoist
ebfbdb4519
Merge pull request #5381 from wallabag/tag-search-results 2022-05-13 07:09:18 +02:00
Kevin Decherf
3818cfe15f
Merge pull request #5673 from wallabag/api-config-endpoint
Add new endpoint for API: config
2022-05-13 00:50:32 +02:00
Xosé M
5ccfc98b47
Translated using Weblate (Galician)
Currently translated at 100.0% (569 of 569 strings)
2022-05-06 08:14:32 +02:00
Jérémy Benoist
e90a7c20e2
Merge pull request #5742 from wallabag/fix/deprecated-baggy-theme 2022-05-03 05:40:38 +02:00
Jérémy Benoist
dcddd4bdae
Merge pull request #5744 from jonas-hagen/domainname-www 2022-04-24 08:11:43 +02:00
Yassine Guedidi
82fc828442 Remove bundle inheritance 2022-04-24 05:56:44 +02:00
Jonas Hagen
0396e15098 Use site with subdomain as tagging rule example
Fixes wallabag/doc#104
This change affects all translations in documentation and wallabag source.
2022-04-23 23:26:46 +02:00
Jeremy Benoist
9f6414785c
Fix tests 2022-04-20 23:13:17 +02:00
Nicolas Lœuillet
5077c46e4e
Added action to tag search results 2022-04-20 22:57:25 +02:00
Jeremy Benoist
d86f296870
Deprecated Baggy
- a big message will be displayed to user using the Baggy theme
- switching from Material to Baggy is no more allowed in config (it'll be forced to material)
- the theme label in the config for Baggy is now _Baggy (DEPRECATED)_
2022-04-20 22:50:08 +02:00
Nicolas Lœuillet
33b1c252a7
fixed review 2022-04-20 22:12:49 +02:00
Nicolas Lœuillet
aaa03cc395
Added serialization group 2022-04-20 22:12:49 +02:00
Nicolas Lœuillet
bb12538fab
Added new endpoint for API: config 2022-04-20 22:12:49 +02:00
Jérémy Benoist
974062f749
Merge pull request #5647 from wallabag/fix/epub-language 2022-03-21 22:40:01 +01:00
Kevin Decherf
8f2fefe233
Merge pull request #5680 from wallabag/impr/intl
Replace `iconv()` calls with Transliterator
2022-03-21 22:28:49 +01:00
Kevin Decherf
1608bf5a4e Replace iconv() calls with Transliterator
See https://stackoverflow.com/a/35178027/954513

Closes #5377

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2022-03-21 22:12:11 +01:00
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
Jeremy Benoist
2c870423c4
Fix epub language
Ensure language has `_` instead of `-`
And update wallabag/phpepub
2022-03-21 20:56:29 +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
9160c4e713
Remove commented translations
Not necessary as they are handled by weblate.
2022-03-02 20:07:44 +01:00
Nicolas Lœuillet
0feee8ba9a
Fixed review 2022-03-02 20:07:44 +01:00
Nicolas Lœuillet
9992017fb7
Fixed translation file 2022-03-02 20:07:44 +01:00
Nicolas Lœuillet
cd975c5f13
Added annotated filter 2022-03-02 20:07:44 +01:00
Nicolas Lœuillet
6dfc031839
Enhanced tests and changed route 2022-03-02 20:07:43 +01:00
Nicolas Lœuillet
dce50ddb79
Added route to list entries with annotations 2022-03-02 20:07:17 +01:00
Jeremy Benoist
9a6146d2ef
Merge remote-tracking branch 'origin/master' into 2.5.0 2022-03-02 20:03:33 +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
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
Marek
efbc47e7ce
Translated using Weblate (Czech)
Currently translated at 100.0% (569 of 569 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
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
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
1ba4d40e82 Tag view: order tags by label
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2021-05-20 13:09:27 +02:00
Panos Alevropoulos
655edbf7aa
Translated using Weblate (Greek)
Currently translated at 100.0% (569 of 569 strings)
2021-03-08 19:03:17 +01:00
Panos Alevropoulos
3c85d0b0d4
Translated using Weblate (Greek)
Currently translated at 100.0% (6 of 6 strings)
2021-03-08 19:02:54 +01:00
Panos Alevropoulos
173e35283f
Translated using Weblate (Greek)
Currently translated at 100.0% (7 of 7 strings)
2021-03-08 19:02:53 +01:00
Panos Alevropoulos
889792349a
Translated using Weblate (French)
Currently translated at 100.0% (569 of 569 strings)
2021-03-08 19:02:53 +01:00
Jérémy Benoist
6725dd0d28
Merge pull request #5110 from weblate/weblate-wallabag-messages 2021-03-08 10:42:19 +01:00
Jérémy Benoist
41e1d97c96
Merge pull request #5113 from mx-psi/mx-psi/fix-link 2021-03-08 10:41:36 +01:00
Pablo Baeyens
8070b8ddb1
Update link to Wallabag hosted one 2021-03-08 10:15:16 +01:00
Pablo Baeyens
9599d6f289
Fix myreadspeed links
myreadspeed.com is no longer available, see craigmayhew/myreadspeed@9e7786c
2021-03-07 17:04:02 +01:00
Kevin Decherf
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
Weblate
e61825a620
Added translation using Weblate (Greek) 2021-03-06 19:36:57 +01:00
Weblate
17315e51bd
Added translation using Weblate (Aragonese) 2021-03-06 19:36:57 +01:00
Weblate
0060a65152
Added translation using Weblate (Basque) 2021-03-06 19:36:41 +01:00
Weblate
87680f6ebf
Added translation using Weblate (Greek) 2021-03-06 19:36:32 +01:00
Weblate
c356146ddf
Added translation using Weblate (Basque) 2021-03-06 19:36:32 +01:00
Weblate
5fed2aece3
Added translation using Weblate (Greek) 2021-03-06 19:36:30 +01:00
Weblate
5d1c7dff4f
Added translation using Weblate (Basque) 2021-03-06 19:36:30 +01:00
Weblate
1fed05d936
Added translation using Weblate (Aragonese) 2021-03-06 19:36:26 +01:00
Weblate
e10636b962
Added translation using Weblate (Aragonese) 2021-03-06 19:36:23 +01:00
ayiniho
a39522e58f
Translated using Weblate (French)
Currently translated at 100.0% (569 of 569 strings)
2021-03-05 22:50:37 +01:00
Alvaro
b933c7a85d
Translated using Weblate (Spanish)
Currently translated at 92.7% (528 of 569 strings)
2021-03-01 23:50:33 +01:00
naofum
5c172c7f17
Translated using Weblate (Japanese)
Currently translated at 100.0% (569 of 569 strings)
2021-02-28 05:50:35 +01:00
Xosé M
4fd5cf38c9
Translated using Weblate (Galician)
Currently translated at 100.0% (569 of 569 strings)
2021-02-26 07:50:33 +01:00
leschek
ee90510af0
Translated using Weblate (Czech)
Currently translated at 21.9% (125 of 569 strings)
2021-02-15 12:50:48 +01:00