Commit graph

7559 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
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
github-actions[bot] 90f3028c10
Merge pull request #6146 from wallabag/dependabot/npm_and_yarn/css-loader-6.7.3
Bump css-loader from 6.7.2 to 6.7.3
2022-12-14 19:03:01 +00:00
dependabot[bot] 684ffc99d4
Bump jquery from 3.6.1 to 3.6.2
Bumps [jquery](https://github.com/jquery/jquery) from 3.6.1 to 3.6.2.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.6.1...3.6.2)

---
updated-dependencies:
- dependency-name: jquery
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 18:54:29 +00:00
dependabot[bot] b9acadae68
Bump css-loader from 6.7.2 to 6.7.3
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 6.7.2 to 6.7.3.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v6.7.2...v6.7.3)

---
updated-dependencies:
- dependency-name: css-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 18:54:16 +00:00
Jérémy Benoist de211be124
Merge pull request #6136 from wallabag/fix/fos-user-3.1 2022-12-14 19:53:01 +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 141d289ec0
Merge pull request #6138 from wallabag/dependabot/composer/tecnickcom/tcpdf-6.6.1 2022-12-14 06:48:16 +01:00
Jérémy Benoist f7cf7a795f
Merge pull request #6139 from wallabag/dependabot/composer/phpstan/phpstan-doctrine-1.3.26 2022-12-14 06:47:43 +01:00
Jérémy Benoist a301a7f08b
Merge pull request #6140 from wallabag/dependabot/composer/phpstan/phpstan-phpunit-1.3.2 2022-12-14 06:47:26 +01:00
Jérémy Benoist 8b38fff68b
Merge pull request #6142 from wallabag/dependabot/composer/php-amqplib/php-amqplib-3.4.0 2022-12-14 06:46:23 +01:00
dependabot[bot] 05ac9fe63a
Bump php-amqplib/php-amqplib from 2.12.3 to 3.4.0
Bumps [php-amqplib/php-amqplib](https://github.com/php-amqplib/php-amqplib) from 2.12.3 to 3.4.0.
- [Release notes](https://github.com/php-amqplib/php-amqplib/releases)
- [Changelog](https://github.com/php-amqplib/php-amqplib/blob/master/CHANGELOG.md)
- [Commits](https://github.com/php-amqplib/php-amqplib/compare/v2.12.3...v3.4.0)

---
updated-dependencies:
- dependency-name: php-amqplib/php-amqplib
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 03:02:04 +00:00
dependabot[bot] 2971a8256f
Bump phpstan/phpstan-phpunit from 1.2.2 to 1.3.2
Bumps [phpstan/phpstan-phpunit](https://github.com/phpstan/phpstan-phpunit) from 1.2.2 to 1.3.2.
- [Release notes](https://github.com/phpstan/phpstan-phpunit/releases)
- [Commits](https://github.com/phpstan/phpstan-phpunit/compare/1.2.2...1.3.2)

---
updated-dependencies:
- dependency-name: phpstan/phpstan-phpunit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 03:01:26 +00:00
dependabot[bot] 7819e1ea23
Bump phpstan/phpstan-doctrine from 1.3.23 to 1.3.26
Bumps [phpstan/phpstan-doctrine](https://github.com/phpstan/phpstan-doctrine) from 1.3.23 to 1.3.26.
- [Release notes](https://github.com/phpstan/phpstan-doctrine/releases)
- [Commits](https://github.com/phpstan/phpstan-doctrine/compare/1.3.23...1.3.26)

---
updated-dependencies:
- dependency-name: phpstan/phpstan-doctrine
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 03:01:21 +00:00