Commit graph

25 commits

Author SHA1 Message Date
Grzegorz Sadowski
d13ebb94d8
Merge branch '2.0' into api-platform-3
* 2.0: (776 commits)
  Add missing validation for the customers first and last name
  [CS][DX] Refactor
  Bring back all Sylius' state machines to Winzou
  Add overriding the Resource's state machine with the one from the Sylius abstraction
  Add missing locales to contract test
  [Taxon][Behat] validate translations with unexisting locales
  [ShippingMethod][Behat] validate translations with unexisting locales
  [Promotion][Behat] validate translations with unexisting locales
  [Product][Behat] validate translations with unexisting locales
  [PaymentMethod][Behat] validate translations with unexisting locales
  Validate all translatable objects for unexisiting locales
  Validate customer's password reset
  Validate customer creation and edit
  Make the validation trait more generic
  [Api] Change namespace of TaxonImagesTest class
  [Api] Remove _response suffix
  [Behat] Minor improvments of viewing_taxon_image scenario
  [Api][ProductImage] Add https prefix check
  [Api][Admin] Allow using float for ratio in exchange rate
  SYL-3329 Fix behat test for SyliusPayPalPlugin
  ...
2024-03-29 14:49:47 +01:00
Jacob Tobiasz
545d4a0463
Exclude the "Psr\Clock\ClockInterface" from the Composer Require Checker 2024-02-25 09:51:02 +01:00
Grzegorz Sadowski
398a14b12f
Merge branch '2.0' into api-platform-3
* 2.0: (69 commits)
  Add a conflict for "doctrine/doctrine-bundle": "2.11.0"
  Disable check for security vulnerabilites step
  [CS][DX] Refactor
  [API] Adjust contract tests after changes with translations
  [API] Disallow removing the translation in default locale
  [API] Improve contract test of creating a product with invalid translation locale
  [Maintenance] Fix other possibly invalid route attribute getting
  [Maintenance] Fix AdminFilterSubscriber failing when no _route attribute present
  [ApiBundle] Fix ProductAssociationTypesTest
  [ApiBundle] Remove unnecessary method in TranslatableLocaleKeyDenormalizer
  [ApiBundle] Translation key as locale
  [ApiBundle] Fix type-hint
  [PromotionBundle] Remove unnecessary constraint
  [AttributeBundle] Standardize locale validation translations
  Standardize locale validation translations
  [ApiBundle] Improve readability
  [ApiBundle] Add contract test to check validation of locale
  [TaxonomyBundle] Add validation on locale of translation
  [ShippingBundle] Add validation on locale of translation
  [PromotionBundle] Add validation on locale of translation
  ...
2023-11-14 13:44:48 +01:00
Jacob Tobiasz
9ee01ac071
Merge 1.13 into 2.0 2023-11-13 16:32:54 +01:00
Rafikooo
a77233118a
[ComposerRequireChecker] Remove references to Swiftmailer 2023-11-06 10:22:39 +01:00
Francis Hilaire
986faccd4d
Update composer-require-checker 2023-11-01 14:58:54 +01:00
Grzegorz Sadowski
5d4f455826
[API] Temporarily add API Platform classes to composer checker whitelist 2023-09-29 15:06:58 +02:00
Jan Goralski
3db63e41ee
[API] Allow overriding xml mapping 2023-06-08 12:25:37 +02:00
Jakub Tobiasz
65b12a6596
Remove payum/payum 2023-05-02 09:52:29 +02:00
Kevin Kaniaburka
69ed3e7b47
[Maintenance] Fix HTTP Client deprecations 2023-04-27 13:36:06 +02:00
Kevin Kaniaburka
b15cd4c1db
Use Http\Client\HttpClient service instead of HttplugClient explicitly 2023-04-27 13:36:05 +02:00
Jakub Tobiasz
df124bc5ff
Remove possibility to add Stripe as a payment method when package is missing 2023-02-14 08:36:07 +01:00
Jan Goralski
254682f9a5
[Maintenance] Bring back swiftmailer-based tests in packages 2022-10-05 10:36:10 +02:00
Jan Goralski
18c888a6a9
Fix static checks on symfony 6 - continuation 2022-10-05 10:36:05 +02:00
Grzegorz Sadowski
ab96ab82c8
[Maintenance] Exclude API Platform services in ComposerRequireChecker 2022-09-30 12:16:36 +02:00
Kevin Kaniaburka
36374223b2
[Maintenance] Introduce Flysystem
Co-authored-by: Jakub Tobiasz <jakub.tobiasz@icloud.com>
2022-09-15 15:42:36 +02:00
Jakub Tobiasz
a5b19e9f86 Move all logic checking if database is mysql to AbstractMySqlMigration 2022-07-13 12:18:30 +02:00
Manuele Menozzi
f43c86cc5c Remove broken methods from Sylius < 1.3 old Kernel class (#13524) 2022-02-04 22:14:46 +01:00
Manuele Menozzi
39181f558f Remove Symfony 4 circular dep exception listener fix (#13525) 2022-01-24 12:58:11 +01:00
Manuele Menozzi
5d4765e483 Whitelist hwi/oauth-bundle symbols
hwi/oauth-bundle is an optional dependency because its symbols
are used by Sylius\Bundle\CoreBundle\OAuth\UserProvider which in
turn is used only if configured.

IMHO this could be improved by extracting this feature in a
separate dependency,

See:
* https://docs.sylius.com/en/1.9/cookbook/shop/facebook-login.html
* https://github.com/Sylius/Sylius/pull/10664#discussion_r334418975
2022-01-21 09:21:10 +01:00
Manuele Menozzi
d002e9a33f Whitelist some Behat symbols used in ApiBundle
The experimental Sylius\Bundle\ApiBundle\Behat\Extension\SyliusApiBundleExtension
and its Sylius\Bundle\ApiBundle\Behat\Tester\ApiScenarioEventDispatchingScenarioTester
are using some Behat symbols and Behat is, of course, not required.

I don't know if this experimental ApiBundle extension is used or
not. Anyway this MUST be fixed.
2022-01-21 09:06:31 +01:00
Manuele Menozzi
963b923166 Whitelist Swift_Message in ComposerRequireChecker config
swiftmailer/swiftmailer is already required but has a PSR-0
autoloading which is not supported by ComposerRequireChecker.
2022-01-21 09:06:31 +01:00
Manuele Menozzi
e09551c016 Whitelist symfony/http-kernel 4 symbols
Sylius\Bundle\CoreBundle\EventListener\CircularDependencyBreakingExceptionListener
uses two class from symfony/http-kernel that have been removed in
version 5.

So currently Sylius it's not really compatible with both
symfony/http-kernel 4 and 4: this MUST be fixed.
2022-01-21 09:06:31 +01:00
Manuele Menozzi
30c42ff5a4 Whitelist symbols used by old Kernel in ComposerRequireChecker config 2022-01-21 09:06:28 +01:00
Manuele Menozzi
95685ce3b9 Use custom config of composer-require-checker 2022-01-21 07:53:45 +01:00