Commit graph

72 commits

Author SHA1 Message Date
Yassine Guedidi 74a98aaae2 Rename wallabag_core to wallabag 2024-02-23 07:42:48 +01:00
Yassine Guedidi 0b44170e83 Remove the CoreBundle namespace 2024-02-23 07:42:48 +01:00
Yassine Guedidi a37b385c23 Move source files directly under src/ directory 2024-02-23 07:42:47 +01:00
Yassine Guedidi 62fcfe547a Make PocketImport use HttpClient 2024-02-19 12:29:06 +01:00
Yassine Guedidi 0576cb613f Make DownloadImages use HttpClient 2024-02-13 09:42:27 +01:00
Yassine Guedidi d48ddde108
Merge pull request #7229 from yguedidi/integrate-bdunogier/guzzle-site-authenticator-in-core
Integrate bdunogier/guzzle-site-authenticator in core
2024-02-05 09:09:13 +01:00
Yassine Guedidi 7c4ca62eae Make all commands lazy 2024-02-02 23:54:14 +01:00
Yassine Guedidi c690a19bd7 Remove RegisterWallabagGuzzleSubscribersPass 2024-02-02 22:48:03 +01:00
Yassine Guedidi 03111e510c Integrate bdunogier/guzzle-site-authenticator in core 2024-02-02 22:36:27 +01:00
Yassine Guedidi 8abea942b3 Rename GuzzleSiteAuthenticator namespace to SiteConfig 2024-02-02 22:36:23 +01:00
Yassine Guedidi bda26c21cf Rename wallabag_import to wallabag_core 2024-01-25 20:34:40 +01:00
Yassine Guedidi 057dbf0066 Move Import redis to Core 2024-01-25 20:34:40 +01:00
Yassine Guedidi 47b3a08284 Move Import importers to Core 2024-01-25 20:34:40 +01:00
Yassine Guedidi 6787f598cb Move Import controllers to Core 2024-01-25 20:34:40 +01:00
Yassine Guedidi ed4b20f27f Move Import consumers to Core 2024-01-25 20:34:40 +01:00
Yassine Guedidi b6b067c969 Move Import commands to Core 2024-01-25 20:34:40 +01:00
Yassine Guedidi adf195623d Remove ApiBundle 2024-01-25 20:34:40 +01:00
Yassine Guedidi 3fc0b5fa5b Move Api controllers to Core 2024-01-25 20:34:40 +01:00
Yassine Guedidi 7f8b806b8c Remove UserBundle 2024-01-25 20:34:40 +01:00
Yassine Guedidi 615adc81ff Move User event listeners to Core 2024-01-25 20:34:40 +01:00
Yassine Guedidi d8f2d3c7ee Move User mailer to Core 2024-01-25 20:34:40 +01:00
Yassine Guedidi 3d7bb85d71 Move User controller to Core 2024-01-25 20:34:40 +01:00
Yassine Guedidi 922ddc9d63 Remove AnnotationBundle 2024-01-25 20:34:40 +01:00
Yassine Guedidi 2ed8c219cc Move Annotation controller to Core 2024-01-25 20:34:39 +01:00
Yassine Guedidi 25474a7b99 Upgrade from lexik/form-filter-bundle to spiriitlabs/form-filter-bundle 2024-01-22 19:15:54 +01:00
Yassine Guedidi 16f31549fd Make database dependent commands lazy
(cherry picked from commit 9927a06cab)
2023-12-28 23:56:54 +01:00
Nicolas Lœuillet b1752b619d Add display article configurator (font family, font size, line height and max width) 2023-08-22 13:02:50 +02:00
Nicolas Lœuillet 2af48b8174 Add Shaarli and Pocket HTML imports 2023-08-22 08:02:07 +02:00
Yassine Guedidi cc33fcb4ba Replace kernel.root_dir by kernel.project_dir 2023-08-09 22:46:18 +01:00
Jeremy Benoist 679dc32885
Do not autoload fixtures
They should only be loaded from `app/config/services_test.yml`.
Otherwise we'll have an issue when clearing the cache in prod env:

```
In DefinitionErrorExceptionPass.php line 54:

  Class "Doctrine\Bundle\FixturesBundle\Fixture" not found while loading "Wal
  labag\AnnotationBundle\DataFixtures\AnnotationFixtures".
```

Also update deps to latest.
2023-06-20 19:28:08 +02:00
Nicolas Lœuillet a94d7503c2
Added new setting to show / hide articles thumbnails 2023-06-16 14:27:15 +02: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
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
Jeremy Benoist 28abfe264a
Upgrade to Twig 3 2022-12-15 13:44:21 +01: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 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 2efb990a14
Remove deprecated options from FOSRest
Also add a new alias for rulerz to remove a deprecation.
2022-11-23 11:13:52 +01:00
Jeremy Benoist b41696fd1c Remove some deprecation 2022-11-22 21:39:34 +01:00
Yassine Guedidi eb43c78720 Use FQCN instead of service alias 2022-09-01 09:07:19 +02:00
Yassine Guedidi e856c06d39 Simplify service definitions 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 96c8cc25af Remove autoconfigured tags 2022-08-31 02:05:29 +02:00
Yassine Guedidi dad088b575 Autowire service arguments 2022-08-31 02:05:29 +02:00
Yassine Guedidi 76a5133545 Enable autowire and autoconfigure 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