Jeremy Benoist
b2b1e1c437
Fix database_path
in Docker env
...
Also, add `mailer_dsn` and limit xdebug to allow installation of PHP < 8
2022-12-22 12:30:34 +01:00
Jérémy Benoist
c684ad2d51
Merge pull request #6172 from wallabag/dependabot/composer/phpstan/phpstan-phpunit-1.3.3
2022-12-22 06:37:16 +01:00
dependabot[bot]
c6553e0ec7
Bump phpstan/phpstan-phpunit from 1.3.2 to 1.3.3
...
Bumps [phpstan/phpstan-phpunit](https://github.com/phpstan/phpstan-phpunit ) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/phpstan/phpstan-phpunit/releases )
- [Commits](https://github.com/phpstan/phpstan-phpunit/compare/1.3.2...1.3.3 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan-phpunit
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-22 03:01:54 +00: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
Jérémy Benoist
5165133347
Merge pull request #6170 from wallabag/dependabot/composer/doctrine/dbal-3.5.2
2022-12-21 06:17:55 +01:00
dependabot[bot]
36ffb3568e
Bump doctrine/dbal from 3.5.1 to 3.5.2
...
Bumps [doctrine/dbal](https://github.com/doctrine/dbal ) from 3.5.1 to 3.5.2.
- [Release notes](https://github.com/doctrine/dbal/releases )
- [Commits](https://github.com/doctrine/dbal/compare/3.5.1...3.5.2 )
---
updated-dependencies:
- dependency-name: doctrine/dbal
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-21 03:01:52 +00:00
Jérémy Benoist
62b2eef6e4
Merge pull request #6167 from wallabag/dependabot/composer/doctrine/orm-2.14.0
2022-12-20 07:49:55 +01:00
Jérémy Benoist
f85a9bff43
Merge pull request #6168 from wallabag/dependabot/composer/doctrine/persistence-3.1.2
2022-12-20 07:48:47 +01:00
dependabot[bot]
3d6e791a5d
Bump doctrine/persistence from 3.1.1 to 3.1.2
...
Bumps [doctrine/persistence](https://github.com/doctrine/persistence ) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/doctrine/persistence/releases )
- [Commits](https://github.com/doctrine/persistence/compare/3.1.1...3.1.2 )
---
updated-dependencies:
- dependency-name: doctrine/persistence
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-20 03:01:14 +00:00
dependabot[bot]
64ae958345
Bump doctrine/orm from 2.13.4 to 2.14.0
...
Bumps [doctrine/orm](https://github.com/doctrine/orm ) from 2.13.4 to 2.14.0.
- [Release notes](https://github.com/doctrine/orm/releases )
- [Commits](https://github.com/doctrine/orm/compare/2.13.4...2.14.0 )
---
updated-dependencies:
- dependency-name: doctrine/orm
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-20 03:01:01 +00: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
Jérémy Benoist
c9edd15bc5
Merge pull request #6159 from wallabag/fix/controller-as-a-service
...
Move to controller as a service
2022-12-19 11:44:25 +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
Jérémy Benoist
39f603e015
Merge pull request #6163 from wallabag/dependabot/composer/tecnickcom/tcpdf-6.6.2
2022-12-19 07:33:41 +01:00
Jérémy Benoist
2507b16987
Merge pull request #6165 from wallabag/dependabot/composer/phpstan/phpstan-1.9.4
2022-12-19 07:33:13 +01:00
Jérémy Benoist
8757de3997
Merge pull request #6160 from weblate/weblate-wallabag-messages
2022-12-19 07:32:54 +01:00
Weblate
dbd2edcf86
Added translation using Weblate (Danish)
2022-12-19 04:08:11 +01:00
github-actions[bot]
4133cc4fe4
Merge pull request #6164 from wallabag/dependabot/npm_and_yarn/sass-1.57.0
...
Bump sass from 1.56.2 to 1.57.0
2022-12-19 03:08:07 +00:00
github-actions[bot]
fdf13afadb
Merge pull request #6162 from wallabag/dependabot/npm_and_yarn/eslint-8.30.0
...
Bump eslint from 8.29.0 to 8.30.0
2022-12-19 03:04:47 +00:00
dependabot[bot]
d52d3d4bfe
Bump phpstan/phpstan from 1.9.3 to 1.9.4
...
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan ) from 1.9.3 to 1.9.4.
- [Release notes](https://github.com/phpstan/phpstan/releases )
- [Changelog](https://github.com/phpstan/phpstan/blob/1.9.x/CHANGELOG.md )
- [Commits](https://github.com/phpstan/phpstan/compare/1.9.3...1.9.4 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 03:01:28 +00:00
dependabot[bot]
6fb088602f
Bump sass from 1.56.2 to 1.57.0
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.56.2 to 1.57.0.
- [Release notes](https://github.com/sass/dart-sass/releases )
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sass/dart-sass/compare/1.56.2...1.57.0 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 03:01:15 +00:00
dependabot[bot]
ac00c121b6
Bump tecnickcom/tcpdf from 6.6.1 to 6.6.2
...
Bumps [tecnickcom/tcpdf](https://github.com/tecnickcom/TCPDF ) from 6.6.1 to 6.6.2.
- [Release notes](https://github.com/tecnickcom/TCPDF/releases )
- [Changelog](https://github.com/tecnickcom/TCPDF/blob/main/CHANGELOG.TXT )
- [Commits](https://github.com/tecnickcom/TCPDF/compare/6.6.1...6.6.2 )
---
updated-dependencies:
- dependency-name: tecnickcom/tcpdf
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 03:01:10 +00:00
dependabot[bot]
b4bd11889f
Bump eslint from 8.29.0 to 8.30.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.29.0 to 8.30.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.29.0...v8.30.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 03:01:01 +00:00
Jérémy Benoist
a8916425ae
Merge pull request #6145 from wallabag/fix/update-pagerfanta
2022-12-16 14:35:46 +01:00
Jérémy Benoist
7a343aacd8
Merge pull request #6158 from wallabag/dependabot/composer/phpstan/phpstan-symfony-1.2.18
...
Bump phpstan/phpstan-symfony from 1.2.17 to 1.2.18
2022-12-16 13:43:58 +01:00
Jérémy Benoist
c19a0c6fe5
Ignore lcobucci/jwt > 4.2.0
2022-12-16 13:40:12 +01:00
Jeremy Benoist
67a344c2c6
Update PagerFanta
2022-12-16 12:22:56 +01:00
dependabot[bot]
1fcdd38630
Bump phpstan/phpstan-symfony from 1.2.17 to 1.2.18
...
Bumps [phpstan/phpstan-symfony](https://github.com/phpstan/phpstan-symfony ) from 1.2.17 to 1.2.18.
- [Release notes](https://github.com/phpstan/phpstan-symfony/releases )
- [Commits](https://github.com/phpstan/phpstan-symfony/compare/1.2.17...1.2.18 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan-symfony
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-16 11:17:40 +00:00
Jérémy Benoist
ef83032601
Merge pull request #6143 from wallabag/fix/update-doctrine
...
Update all Doctrine deps
2022-12-16 12:15:50 +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
Jérémy Benoist
02cd3b7d52
Merge pull request #6150 from wallabag/fix/remove-swiftmailer
...
Replace SwiftMailer by Symfony Mailer
2022-12-16 10:25:10 +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
Nicolas Lœuillet
35c77c180c
Merge pull request #6155 from wallabag/dependabot/composer/lcobucci/jwt-4.2.1
...
Bump lcobucci/jwt from 4.1.5 to 4.2.1
2022-12-16 08:07:48 +01:00
dependabot[bot]
7fdd0badc4
Bump lcobucci/jwt from 4.1.5 to 4.2.1
...
Bumps [lcobucci/jwt](https://github.com/lcobucci/jwt ) from 4.1.5 to 4.2.1.
- [Release notes](https://github.com/lcobucci/jwt/releases )
- [Commits](https://github.com/lcobucci/jwt/compare/4.1.5...4.2.1 )
---
updated-dependencies:
- dependency-name: lcobucci/jwt
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-16 03:01:00 +00:00
Jérémy Benoist
3cf9d01981
Merge pull request #6153 from wallabag/fix/translations-files
...
Move translations files to `/translations`
2022-12-15 21:48:34 +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
Jérémy Benoist
63bcf50ea7
Merge pull request #6057 from wallabag/dependabot/composer/jms/serializer-bundle-5.0.2
...
Bump jms/serializer-bundle from 3.10.0 to 5.0.2
2022-12-15 15:36:13 +01:00
dependabot[bot]
1922e6e2c7
Bump jms/serializer-bundle from 3.10.0 to 5.0.2
...
Bumps [jms/serializer-bundle](https://github.com/schmittjoh/JMSSerializerBundle ) from 3.10.0 to 5.0.2.
- [Release notes](https://github.com/schmittjoh/JMSSerializerBundle/releases )
- [Changelog](https://github.com/schmittjoh/JMSSerializerBundle/blob/master/CHANGELOG.md )
- [Commits](https://github.com/schmittjoh/JMSSerializerBundle/compare/3.10.0...5.0.2 )
---
updated-dependencies:
- dependency-name: jms/serializer-bundle
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-15 13:34:49 +00:00
Jérémy Benoist
70f2c59ad4
Merge pull request #6151 from wallabag/fix/update-twig-3
2022-12-15 14:33:58 +01:00
Jeremy Benoist
28abfe264a
Upgrade to Twig 3
2022-12-15 13:44:21 +01:00
Jérémy Benoist
e62a9d05cc
Merge pull request #6135 from wallabag/dependabot/composer/friendsofsymfony/rest-bundle-3.4.0
...
Bump friendsofsymfony/rest-bundle from 2.8.6 to 3.4.0
2022-12-15 13:42:13 +01:00
dependabot[bot]
15026643b7
Bump friendsofsymfony/rest-bundle from 2.8.6 to 3.4.0
...
Bumps [friendsofsymfony/rest-bundle](https://github.com/FriendsOfSymfony/FOSRestBundle ) from 2.8.6 to 3.4.0.
- [Release notes](https://github.com/FriendsOfSymfony/FOSRestBundle/releases )
- [Changelog](https://github.com/FriendsOfSymfony/FOSRestBundle/blob/3.x/CHANGELOG.md )
- [Commits](https://github.com/FriendsOfSymfony/FOSRestBundle/compare/2.8.6...3.4.0 )
---
updated-dependencies:
- dependency-name: friendsofsymfony/rest-bundle
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-15 08:21:01 +00:00
Jérémy Benoist
adf6587d5c
Merge pull request #6144 from wallabag/fix/update-scheb-2fa-bundle
...
Update to `scheb/2fa-bundle`
2022-12-15 09:20:07 +01:00
github-actions[bot]
2087848fda
Merge pull request #6147 from wallabag/dependabot/npm_and_yarn/jquery-3.6.2
...
Bump jquery from 3.6.1 to 3.6.2
2022-12-15 08:17:58 +00:00
Jeremy Benoist
19c3a48646
Update to scheb/2fa-bundle
...
Following https://github.com/scheb/2fa/blob/5.x/UPGRADE.md
2022-12-15 09:15:38 +01:00
Jeremy Benoist
4329634534
Update assets
2022-12-15 09:14:01 +01:00