Commit graph

215 commits

Author SHA1 Message Date
Jeremy Benoist 28abfe264a
Upgrade to Twig 3 2022-12-15 13:44:21 +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
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 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
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] f227e36367
Bump lexik/form-filter-bundle from 5.0.10 to 6.1.1
Bumps [lexik/form-filter-bundle](https://github.com/lexik/LexikFormFilterBundle) from 5.0.10 to 6.1.1.
- [Release notes](https://github.com/lexik/LexikFormFilterBundle/releases)
- [Commits](https://github.com/lexik/LexikFormFilterBundle/compare/v5.0.10...v6.1.1)

---
updated-dependencies:
- dependency-name: lexik/form-filter-bundle
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 10:18:23 +00:00
dependabot[bot] 6ff6ce2475
Bump nelmio/cors-bundle from 1.5.6 to 2.2.0
Bumps [nelmio/cors-bundle](https://github.com/nelmio/NelmioCorsBundle) from 1.5.6 to 2.2.0.
- [Release notes](https://github.com/nelmio/NelmioCorsBundle/releases)
- [Changelog](https://github.com/nelmio/NelmioCorsBundle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nelmio/NelmioCorsBundle/compare/1.5.6...2.2.0)

---
updated-dependencies:
- dependency-name: nelmio/cors-bundle
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 10:08:11 +00:00
dependabot[bot] 938e1f2ded
Bump php-amqplib/rabbitmq-bundle from 1.15.1 to 2.11.0
Bumps [php-amqplib/rabbitmq-bundle](https://github.com/php-amqplib/RabbitMqBundle) from 1.15.1 to 2.11.0.
- [Release notes](https://github.com/php-amqplib/RabbitMqBundle/releases)
- [Changelog](https://github.com/php-amqplib/RabbitMqBundle/blob/master/CHANGELOG)
- [Commits](https://github.com/php-amqplib/RabbitMqBundle/compare/v1.15.1...2.11.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 09:50:31 +00:00
dependabot[bot] 2c32997bb7
Bump sensio/framework-extra-bundle from 5.6.1 to 6.2.9
Bumps [sensio/framework-extra-bundle](https://github.com/sensiolabs/SensioFrameworkExtraBundle) from 5.6.1 to 6.2.9.
- [Release notes](https://github.com/sensiolabs/SensioFrameworkExtraBundle/releases)
- [Changelog](https://github.com/sensiolabs/SensioFrameworkExtraBundle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sensiolabs/SensioFrameworkExtraBundle/compare/v5.6.1...v6.2.9)

---
updated-dependencies:
- dependency-name: sensio/framework-extra-bundle
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 09:44:23 +00:00
dependabot[bot] bc624ccce5
Bump laminas/laminas-code from 3.4.1 to 4.7.1
Bumps [laminas/laminas-code](https://github.com/laminas/laminas-code) from 3.4.1 to 4.7.1.
- [Release notes](https://github.com/laminas/laminas-code/releases)
- [Commits](https://github.com/laminas/laminas-code/compare/3.4.1...4.7.1)

---
updated-dependencies:
- dependency-name: laminas/laminas-code
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 09:31:51 +00:00
dependabot[bot] 498b205c53
Bump friendsofphp/php-cs-fixer from 2.19.3 to 3.4.0
Bumps [friendsofphp/php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) from 2.19.3 to 3.4.0.
- [Release notes](https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases)
- [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/FriendsOfPHP/PHP-CS-Fixer/compare/v2.19.3...v3.4.0)

---
updated-dependencies:
- dependency-name: friendsofphp/php-cs-fixer
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 06:06:22 +00:00
dependabot[bot] bd33f9e4f5
Bump friendsoftwig/twigcs from 5.1.0 to 6.0.0
Bumps [friendsoftwig/twigcs](https://github.com/friendsoftwig/twigcs) from 5.1.0 to 6.0.0.
- [Release notes](https://github.com/friendsoftwig/twigcs/releases)
- [Upgrade guide](https://github.com/friendsoftwig/twigcs/blob/main/doc/upgrade.md)
- [Commits](https://github.com/friendsoftwig/twigcs/compare/v5.1.0...v6.0.0)

---
updated-dependencies:
- dependency-name: friendsoftwig/twigcs
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 03:03:52 +00: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
Yassine Guedidi 63d598c066
Upgrade PHPStan and extensions 2022-11-23 15:24:07 +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
Casper Meijn 470a8575c0 Update to nelmio/api-doc 3.0
Convert ApiDoc to Swagger
2022-11-16 16:10:33 +01:00
dependabot[bot] 679a710ea7 Bump predis/predis from 1.1.10 to 2.0.3
Bumps [predis/predis](https://github.com/predis/predis) from 1.1.10 to 2.0.3.
- [Release notes](https://github.com/predis/predis/releases)
- [Changelog](https://github.com/predis/predis/blob/main/CHANGELOG.md)
- [Commits](https://github.com/predis/predis/compare/v1.1.10...v2.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-06 19:26:23 +01:00
dependabot[bot] 2bd6a8b612
Bump friendsoftwig/twigcs from 4.1.0 to 5.1.0
Bumps [friendsoftwig/twigcs](https://github.com/friendsoftwig/twigcs) from 4.1.0 to 5.1.0.
- [Release notes](https://github.com/friendsoftwig/twigcs/releases)
- [Upgrade guide](https://github.com/friendsoftwig/twigcs/blob/main/doc/upgrade.md)
- [Commits](https://github.com/friendsoftwig/twigcs/compare/v4.1.0...v5.1.0)

---
updated-dependencies:
- dependency-name: friendsoftwig/twigcs
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-04 03:09:27 +00:00
Jeremy Benoist 43ed9198dd
Free Composer 2022-11-03 10:40:18 +01:00
Jeremy Benoist 8d3fcd4635
Merge remote-tracking branch 'origin/master' into 2.6.0 2022-11-03 10:30:17 +01:00
Jeremy Benoist dc28d7ea0f
Add support to download SVG locally 2022-10-18 11:14:45 +02:00
Yassine Guedidi 6e61ee4f56 Install TwigCS 2022-08-24 23:12:42 +02:00
Yassine Guedidi 34eebdb2dd Upgrade FOSUserBundle to 2.1 2022-08-15 17:23:16 +02:00
Yassine Guedidi e881b9d5e9 Remove transitive dependencies 2022-08-08 15:37:13 +02:00
Yassine Guedidi 819487721a Back to latest composer version 2022-05-21 23:46:49 +02:00
Yassine Guedidi eda4ff0336 Remove SensioDistributionBundle 2022-05-21 23:35:53 +02:00
Yassine Guedidi 1bd86e156e Drop PHP prior to 7.4 2022-05-13 07:29:23 +02:00
Jeremy Benoist fea2b46496
Composer 2.3 isn't compatible with wallabag 2022-04-01 16:09:59 +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 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 2c870423c4
Fix epub language
Ensure language has `_` instead of `-`
And update wallabag/phpepub
2022-03-21 20:56:29 +01:00
Jeremy Benoist 2b3ff84829
Avoid overlapping images when downloading them 2022-02-07 15:19:49 +01:00
dependabot[bot] 31d93def7c
Bump symfony/phpunit-bridge from 5.3.10 to 6.0.0
Bumps [symfony/phpunit-bridge](https://github.com/symfony/phpunit-bridge) from 5.3.10 to 6.0.0.
- [Release notes](https://github.com/symfony/phpunit-bridge/releases)
- [Changelog](https://github.com/symfony/phpunit-bridge/blob/5.3/CHANGELOG.md)
- [Commits](https://github.com/symfony/phpunit-bridge/compare/v5.3.10...v6.0.0)

---
updated-dependencies:
- dependency-name: symfony/phpunit-bridge
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-01 03:01:09 +00:00
dependabot[bot] 874a09091f
Bump pragmarx/recovery from 0.1.0 to 0.2.0
Bumps [pragmarx/recovery](https://github.com/antonioribeiro/recovery) from 0.1.0 to 0.2.0.
- [Release notes](https://github.com/antonioribeiro/recovery/releases)
- [Changelog](https://github.com/antonioribeiro/recovery/blob/master/CHANGELOG.md)
- [Commits](https://github.com/antonioribeiro/recovery/compare/v0.1.0...v0.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-24 03:04:36 +00:00
Jeremy Benoist cab3eb4005
Update deps (PHP & JS)
Also re-enable assets diff in GitHub Actions.
2020-11-30 11:52:44 +01:00
dependabot-preview[bot] 3c227fec22
Bump sentry/sentry-symfony from 3.5.2 to 3.5.3
Bumps [sentry/sentry-symfony](https://github.com/getsentry/sentry-symfony) from 3.5.2 to 3.5.3.
- [Release notes](https://github.com/getsentry/sentry-symfony/releases)
- [Changelog](https://github.com/getsentry/sentry-symfony/blob/3.5.3/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-symfony/compare/3.5.2...3.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-14 02:25:37 +00:00
dependabot-preview[bot] 3eaaf71fd5
Bump sentry/sentry-symfony from 3.2.1 to 3.5.2
Bumps [sentry/sentry-symfony](https://github.com/getsentry/sentry-symfony) from 3.2.1 to 3.5.2.
- [Release notes](https://github.com/getsentry/sentry-symfony/releases)
- [Changelog](https://github.com/getsentry/sentry-symfony/blob/3.5.2/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-symfony/compare/3.2.1...3.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-15 02:32:25 +00:00
Jeremy Benoist e50617fc05
Move predis/predis to stable version
As new maintainer is in the place.
2020-08-25 07:22:13 +02:00
Jeremy Benoist 2c3f785ac5
Update deps
Mostly to fix pagerfanta issue.
2020-08-21 09:30:56 +02:00
Jeremy Benoist c10b79e82f
Update PagerFanta deprecation 2020-07-29 06:36:43 +02:00
Jeremy Benoist effa5deacb
Update deps
Remove lock on dbal because we are now using PHP >= 7.2
2020-07-06 07:58:14 +02:00
Jeremy Benoist 7332d1f4e5
Remove support for PHP < 7.2
Updating deps

  - Removing electrolinux/php-html5lib (0.1.0)
  - Updating doctrine/inflector (1.3.1 => 1.4.3)
  - Updating doctrine/lexer (1.0.2 => 1.2.1)
  - Installing symfony/polyfill-php80 (v1.17.0)
  - Updating symfony/service-contracts (v1.1.8 => v2.1.2)
  - Installing symfony/deprecation-contracts (v2.1.2)
  - Updating symfony/mime (v4.4.8 => v5.1.1)
  - Updating friendsofsymfony/rest-bundle (2.7.4 => 2.8.0)
  - Updating doctrine/instantiator (1.3.0 => 1.3.1)
  - Updating ocramius/proxy-manager (2.1.1 => 2.2.3)
  - Updating php-http/discovery (1.7.4 => 1.8.0)
  - Updating symfony/http-client-contracts (v1.1.8 => v2.1.2)
  - Updating symfony/http-client (v4.4.8 => v5.1.1)
  - Updating php-http/httplug-bundle (1.16.0 => 1.18.0)
  - Updating symfony/phpunit-bridge (v4.3.11 => v5.1.1)
  - Updating doctrine/data-fixtures (1.3.3 => 1.4.3)
  - Updating composer/xdebug-handler (1.4.1 => 1.4.2)
  - Updating masterminds/html5 (2.7.0 => 2.7.1)
  - Updating j0k3r/php-readability (1.2.4 => 1.2.5)
  - Updating phpoption/phpoption (1.7.3 => 1.7.4)
  - Updating nikic/php-parser (v4.4.0 => v4.5.0)
  - Installing thecodingmachine/safe (v1.1.1)
  - Updating spomky-labs/otphp (v9.1.4 => v10.0.1)
  - Updating pagerfanta/pagerfanta (v2.1.3 => v2.3.0)

Package white-october/pagerfanta-bundle is abandoned, you should avoid using it. Use babdev/pagerfanta-bundle instead.

  - Removing white-october/pagerfanta-bundle (v1.3.2)
  - Installing babdev/pagerfanta-bundle (v2.4.2)

Upgrading PHPStan to 0.12 and use extension installer

  - Removing phpstan/phpdoc-parser (0.3.5)
  - Removing nette/utils (v3.1.2)
  - Removing nette/schema (v1.0.2)
  - Removing nette/robot-loader (v3.2.3)
  - Removing nette/php-generator (v3.4.0)
  - Removing nette/neon (v3.1.2)
  - Removing nette/finder (v2.5.2)
  - Removing nette/di (v3.0.4)
  - Removing nette/bootstrap (v3.0.2)
  - Updating phpstan/phpstan (0.11.19 => 0.12.29)
  - Updating phpstan/phpstan-doctrine (0.11.6 => 0.12.16)
  - Updating phpstan/phpstan-phpunit (0.11.2 => 0.12.11)
  - Updating phpstan/phpstan-symfony (0.11.6 => 0.12.6)
  - Installing phpstan/extension-installer (1.0.4)

Upgrading jms/serializer-bundle to version 3 (and willdurand/hateoas-bundle to version 2)

  - Removing phpoption/phpoption (1.7.4)
  - Removing phpcollection/phpcollection (0.5.0)
  - Removing jms/parser-lib (1.0.0)
  - Updating jms/metadata (1.7.0 => 2.3.0)
  - Updating jms/serializer (1.14.1 => 3.7.0)
  - Updating jms/serializer-bundle (2.4.4 => 3.6.0)
  - Updating willdurand/hateoas (2.12.0 => 3.6.0)
  - Updating willdurand/hateoas-bundle (1.4.0 => 2.1.0)

Upgrading dama/doctrine-test-bundle to version 6

  - Updating dama/doctrine-test-bundle (v5.0.3 => v6.2.0)
2020-06-15 08:25:59 +02:00
Jeremy Benoist 2a253d24ca
Upgrade scheb/two-factor-bundle to fix vulnerability
The bundle was locked to a version which contains a security bug.
Jumping to the most recent fix the issue.

But we'll have the `ListenerInterface` issue, again.
So, downgrading sentry-symfony instead.

See 0cf743f6fb
2020-06-02 07:53:26 +02:00
Jeremy Benoist 0cf743f6fb
Lock scheb/two-factor-bundle to avoid issue with ListenerInterface / TwoFactorListener
- v4.6.0 introduce a fix for "deprecated listener for Symfony < 4.3"
- but sentry-symfony 3.3.0 introduce a bug in the workaround previous fix
- which was fixed in sentry-symfony 3.4.2
- we can't upgrade to that version because it requires sentry/sdk 2.1 which use `php-http/guzzle6-adapter` instead of curl
- as we are using guzzle5, we can't upgrade and fix the listerner issue
2020-05-25 07:14:00 +02:00
Jeremy Benoist 2a74acb77f
Update deps
- Clean Travis config file
  - Only cache deps from composer (avoiding metadata to invalid Travis cache)
  - Update config file to match future version from Travis
  - Remove useless (not so working) `travis_fold`
- Remove `SensioGeneratorBundle` and use `MakerBundle`
  ```
  Package sensio/generator-bundle is abandoned, you should avoid using it. Use symfony/maker-bundle instead.
  ```
- Sort packages in `composer.json`
- Use `laminas/*` package to remove deprecated `zendframework/*` ones:
  ```
  Package zendframework/zend-code is abandoned, you should avoid using it. Use laminas/laminas-code instead.
  Package zendframework/zend-diactoros is abandoned, you should avoid using it. Use laminas/laminas-diactoros instead.
  Package zendframework/zend-eventmanager is abandoned, you should avoid using it. Use laminas/laminas-eventmanager instead.
  ```
2020-05-25 06:28:04 +02:00
Nicolas Lœuillet 9717d01298
Upgrade Piwik Twig Extension to Matomo 2020-04-29 14:19:31 +02:00
Kevin Decherf 7f88c7423f Replace wallabag's fork of tcpdf with the original one, fix notices for PHP 7.4
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2020-04-26 18:29:34 +02:00
Kevin Decherf 9d196fcc15 composer: replace grandt/phpepub with wallabag version
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2020-03-29 16:27:31 +02:00
dependabot-preview[bot] 501d5fd102
Bump m6web/redis-mock from 4.7.0 to 5.0.0
Bumps [m6web/redis-mock](https://github.com/M6Web/RedisMock) from 4.7.0 to 5.0.0.
- [Release notes](https://github.com/M6Web/RedisMock/releases)
- [Commits](https://github.com/M6Web/RedisMock/compare/v4.7.0...v5.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-09 03:56:31 +00:00
Jeremy Benoist d3847ac125
Lock PHPUnit-Bridge
Version 4.4.0 & 5.0.0 will install PHPUnit 8.3.x by default which required PHP > 7.1.
We could lock the PHPUnit version using `SYMFONY_PHPUNIT_VERSION` env variable but we'll have an issue with PHP 5 then because there is no PHPUnit version compatible with both PHP 5 & PHP 7.

Also update deps:
  - Updating ocramius/package-versions (1.4.0 => 1.4.2)
  - Updating j0k3r/graby-site-config (1.0.94 => 1.0.95)
  - Updating php-http/client-common (2.0.0 => 2.1.0)
  - Updating symfony/mime (v4.3.8 => v4.4.0)
  - Updating white-october/pagerfanta-bundle (v1.2.4 => v1.3.1)
  - Installing phpseclib/phpseclib (2.0.23)
  - Updating php-amqplib/php-amqplib (v2.10.1 => v2.11.0)
  - Updating nette/php-generator (v3.2.3 => v3.3.1)
  - Updating zendframework/zend-diactoros (2.2.0 => 2.2.1)
2019-11-22 22:38:42 +01:00