Commit graph

237 commits

Author SHA1 Message Date
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
Jeremy Benoist 32661f380c
Replace SwiftMailer by Symfony Mailer 2022-12-16 10:03:34 +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
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 b41696fd1c Remove some deprecation 2022-11-22 21:39:34 +01:00
Jeremy Benoist 8d3fcd4635
Merge remote-tracking branch 'origin/master' into 2.6.0 2022-11-03 10:30:17 +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
Jeremy Benoist c372d68cc1
Merge remote-tracking branch 'origin/master' into 2.6.0 2022-10-18 11:11:02 +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
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 1bee0eeb29 Make repositories use ServiceEntityRepository 2022-08-31 02:05:30 +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 8b7b4975d6 Migrate getRepository with entities 2022-08-26 17:47:46 +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 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 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
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
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 82fc828442 Remove bundle inheritance 2022-04-24 05:56:44 +02: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 7ac10ee54d
Translated using Weblate (Indonesian)
Currently translated at 85.7% (6 of 7 strings)
2022-01-26 05:53:50 +01:00
Weblate bbee0a52ea
Added translation using Weblate (Lithuanian) 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
liimee b9f59b393f
Added translation using Weblate (Indonesian) 2022-01-02 12:37:06 +01: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
Tim Lee d568336d85
Translated using Weblate (Korean)
Currently translated at 100.0% (7 of 7 strings)
2021-08-03 08:10:26 +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 a103b60c74
Translated using Weblate (Czech)
Currently translated at 100.0% (7 of 7 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
Panos Alevropoulos 173e35283f
Translated using Weblate (Greek)
Currently translated at 100.0% (7 of 7 strings)
2021-03-08 19:02:53 +01:00
Weblate 5fed2aece3
Added translation using Weblate (Greek) 2021-03-06 19:36:30 +01:00