* 2.0: (547 commits)
[Admin][UX] Filter translatable autocomplete results based on current locale [Admin][DX] Extract translatable autocomplete processing to a separate form type
[Behat] Add possibility to accepting null as value in response checker
[Maintenance] Enable non-UI tests in CI
Fixes after CR
Changes after CR
[Admin][Product] Enable and fix tests
[Admin][Product] Add view in store button
Remove final from the Zone's form component
Review fixes
[Admin][UI] Add error indicators for form tabs and accordions
[Admin][Taxon] Rename FormImageElement to ImageFormElement
[Admin][Taxon] Split media more granularly
[Admin][Taxon] Remove unnecessary code
[Taxon][Behat] Extract management of image to separate form element.
[Behat] Extract waitForFormUpdate function to CrudFormElement
[Behat] Submit live component before submitting the form
[Admin][Taxon][Image] Enable behat tests
[Admin][Taxon] Implements media management
[Admin][Product][Inventory] Enable behat tests
[Admin][Zone] Move FormComponent
...
* 2.0: (25 commits)
Change application's version to v1.13.0-DEV
Generate changelog for v1.13.0-RC.1
Change application's version to v1.13.0-RC.1
[Documentation] Update release dates for 1.13 and 2.0 versions
[ECS] Fix nullable type declarations in the codebase
[ECS] Fix nullable type declarations in Behat namespace
[ECS] Add the NullableTypeDeclarationForDefaultNullValueFixer rule
Add default label template in ShopBundle extending the UiBundle one
Use extends instead of include in ShopBundle flashes template
Manage confirmation modal for ShopBundle extending UiBundle
Use Shop pagination macro in templates
Use Shop messages macro in templates
Use Shop flags macro in templates
Use Shop headers macro in templates
Use Shop buttons macro in templates
[Documentation] Remove duplicated callback from state machine
Update docs/book/architecture/state_machine.rst
Add upmerging from 2.0 to api-platform-3
Update php-entrypoint to give www-data permissions to public/media
Update FUNDING.yml
...
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/1.13/.github/workflows/upmerge_pr.yaml).
**Remember!** The upmerge should always be merged with using `Merge pull
request` button.
In case of conflicts, please resolve them manually with usign the
following commands:
```
git fetch upstream
gh pr checkout <this-pr-number>
git merge upstream/bootstrap-admin-panel -m "Resolve conflicts between 2.0 and bootstrap-admin-panel"
```
If you use other name for the upstream remote, please replace `upstream`
with the name of your remote pointing to the `Sylius/Sylius` repository.
Once the conflicts are resolved, please run `git merge --continue` and
push the changes to this PR.
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/1.13/.github/workflows/upmerge_pr.yaml).
**Remember!** The upmerge should always be merged with using `Merge pull
request` button.
In case of conflicts, please resolve them manually with usign the
following commands:
```
git fetch upstream
gh pr checkout <this-pr-number>
git merge upstream/2.0 -m "Resolve conflicts between 1.13 and 2.0"
```
If you use other name for the upstream remote, please replace `upstream`
with the name of your remote pointing to the `Sylius/Sylius` repository.
Once the conflicts are resolved, please run `git merge --continue` and
push the changes to this PR.
* 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
...
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13
| Bug fix? | no
| New feature? | kinda
| BC breaks? | no
| Deprecations? | no
| Related tickets | based on the #15729
| License | MIT
Commits
-------
Use the new State Machine abstraction
Fix invalid workflow event names
Fix retrieving the checkout state in the validator
Reverse the sign next to the Symfony Workflow events listeners priorities
Remove the non-existing config key
Fix the StateMachine-related tests
Fix CI
Remove a reference to Sylius Resource
Fix handling transitions inside the WinzouStateMachine
Add testing the state machine adapter in the CI
Fix the deprecation trigger descriptions
Remove redundant phpdocs about thrown exception
Remove redundant sm.configs parameter passed to the winzou adapter
* 1.13:
Update upgrade file
[Admin] Add Sylius certification to menu
[UpgradeFile] update upgrade file
move parameters to separate file
Add clear cache command
Improve locale setup command
[Behat] Change to assert error message
[ApiBundle] Remove unnecessary checking from validators
[ApiBundle] Remove nullable from ChangeShopUserPassword constructor
[ApiBundle] Remove nullable from AddProductReview constructor
[ApiBundle] Remove nullable from AddItemToCart and ChangeItemQuantityInCart constructors
[CS][DX] Refactor
Change the COMPOSER_ROOT_VERSION for the CI
Update the branch-aliases and inter-dependencies versions
* 1.13: (82 commits)
CreateAdminUserCommandTest class - sorting of used classes
InformAboutGUSCommand class - fix a typo
Update upgrade file
[AdminBundle] Change namespace of CreateAdminUser
[CoreBundle] Move classes from Command to Console/Command
[UserBundle] Move classes from Command to Console/Command
[UiBundle] Move classes from Command to Console/Command
[PromotionBundle] Move classes from Command to Console/Command
[OrderBundle] Move classes from Command to Console/Command
[AdminBundle] Move classes from Command to Console/Command
[ECS] Apply ecs fixes
[Addressing] Support BC for ZoneMatcher
[Upgrade] Note ZoneRepository addition and ZoneMatcher constructor changes
[DX] Update OrderRepository
[Statistics] Refactor GetStatisticsAction
Change new orders name to paid orders to not mix up names
fix unit test
Apply changes from comments and improve outdated StatisticsModifier
fix behat tests
Remove specs for unexisting classes and add existing ones
...
* 2.0: (172 commits)
[Admin] Change name of official support section in menu and adjust translations
Add all translations & change label
Add business support CTA to admin panel
[PromotionBundle] Add prefix to validation groups for promotion action/rule
[PromotionBundle][PromotionRule] Add available type to validation message
[PromotionBundle][PromotionAction] Add available type to validation message
Update upgrade file
[PromotionBundle] Split PromotionRuleValidator to PromotionRuleGroupValidator and PromotionRuleTypeValidator
[PromotionBundle] Split PromotionActionValidator to PromotionActionGroupValidator and PromotionActionTypeValidator
Add prefix sylius_ to validation groups
Update upgrade file
[PromotionBundle] Remove constraints from FormType to avoid double constraints
[PromotionBundle] Move logic from PromotionRuleGroupValidator to PromotionRuleValidator
[PromotionBundle] Move logic from PromotionActionGroupValidator to PromotionActionValidator
[PromotionBundle] Add parameters validation groups for promotion action and promotion rule
[ECS] Apply types order changes
[ECS] Add union types ordering rule
[ECS] Apply ecs fixes
[ChannelsTest] use inArray to check locales
[ApiBundle] Add contract tests for ProductTaxon resource
...
* 1.13:
[PromotionBundle] Add prefix to validation groups for promotion action/rule
[PromotionBundle][PromotionRule] Add available type to validation message
[PromotionBundle][PromotionAction] Add available type to validation message
Update upgrade file
[PromotionBundle] Split PromotionRuleValidator to PromotionRuleGroupValidator and PromotionRuleTypeValidator
[PromotionBundle] Split PromotionActionValidator to PromotionActionGroupValidator and PromotionActionTypeValidator
Add prefix sylius_ to validation groups
Update upgrade file
[PromotionBundle] Remove constraints from FormType to avoid double constraints
[PromotionBundle] Move logic from PromotionRuleGroupValidator to PromotionRuleValidator
[PromotionBundle] Move logic from PromotionActionGroupValidator to PromotionActionValidator
[PromotionBundle] Add parameters validation groups for promotion action and promotion rule
* 1.12:
Cart promotion Action Update
Enable Sylius API for app environments
[Maintenance] Update dev symfony version to 5.4.*
Provide post-CR fixes
Remove redundant TaxonPositioner service
Cover "jumping" taxons while moving with Behat scenarios
Revert bc promise breaking changes
Leave only bug-related code and extract the position-related logic
Added: Move taxon to the top/end buttons at admin
Fixed: Moving taxons up and down at admin