This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13 <!-- see the comment below --> |
| Bug fix? | no |
| New feature? | yes |
| BC breaks? | no |
| Deprecations? | no <!-- don't forget to update the UPGRADE-*.md file --> |
| License | MIT |
<!--
- Bug fixes must be submitted against the 1.12 branch
- Features and deprecations must be submitted against the 1.13 branch
- Make sure that the correct base branch is set
To be sure you are not breaking any Backward Compatibilities, check the documentation:
https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->
Commits
-------
04dc0b504d [API] Cover payment method management
b213efbc80 [Behat] Cover API scenarios
116d2dead0 Prevent removing payment method that is in use
9c462870eb Add contract tests
80be385cfe Adjust existing tests to changes
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13 |
| Bug fix? | kinda |
| New feature? | no? |
| BC breaks? | no |
| Deprecations? | no |
| Related tickets | - |
| License | MIT |
Commits
-------
[API] Automatically add a default translation to translatables
[API] Adjust tests after missing translation validation kicked in
[API] Less naive default translation checking
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13 <!-- see the comment below --> |
| Bug fix? | no |
| New feature? | yes |
| BC breaks? | no |
| Deprecations? | no <!-- don't forget to update the UPGRADE-*.md file --> |
| License | MIT |
<!--
- Bug fixes must be submitted against the 1.12 branch
- Features and deprecations must be submitted against the 1.13 branch
- Make sure that the correct base branch is set
To be sure you are not breaking any Backward Compatibilities, check the documentation:
https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->
Commits
-------
a0b29867eb Cover editing and deleting channels
f8222e5a4c [Behat] Add api tag to managing channel scenarios
67761b9626 [Behat] Add replaceRequestData method to ApiPlatformClient
6e0edf1db3 Prevent from deleting last available channel
4b9df1dc0b Add put operation to ShopBillingDataResource
3b7a343ddb Update ChannelDenormalizer to create ShopBillingData by default
53a120af07 Update upgrade file
14a94c043b [Behat] Create shopBillingData by default in channel setup step
8d4214d18c Refactor checking whether the channel can be deleted
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Related tickets | N/A
| License | MIT
Commits
-------
2df7d79909 [ApiBundle] Add customer resource to APIP2, admin scope
b962bfb6fc [ApiBundle] Add behat tests for customer resources
df266cc161 ApiBundle] Add customer modification feature to APIP2
1549c9d4b8 [ApiBundle] Add behat tests for customer resources
3801a7c293 [ApiBundle] Remove unused field
f2cae6f456 [ApiBundle][Swagger] Hide shop user get endpoint
b287891ca2 [ApiBundle] Add filtering customers by groups
fa0ad8d3a7 [ApiBundle] Add contract tests for Customer Api resources
a84513bb19 [ApiBundle] Add validation group to put action on customer
d53ed1413e [ApiBundle] Add notified password step to ManagingCustomersContext
0ccbcf8943 [ApiBundle] ManagingCustomersContext - refactor methods for simplicity
0cd1fa74d2 [ApiBundle] Unify behat tests for customer management
90f7a1b788 [ApiBundle] Remove endpoint subresource order for customer and use endpoint order with customer filter
2d50bd66a8 [ApiBundle] Fix seeing customer's basic information test
ba5c4e8ffb [ApiBundle] Fix seeing customer's basic information test
dddf3c5198 [ApiBundle] Remove order property from customer
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13
| Bug fix? | no
| New feature? | yes |
| BC breaks? | no
| Deprecations? | no
| Related tickets |
| License | MIT |
<!--
- Bug fixes must be submitted against the 1.12 branch
- Features and deprecations must be submitted against the 1.13 branch
- Make sure that the correct base branch is set
To be sure you are not breaking any Backward Compatibilities, check the documentation:
https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->
Commits
-------
[API][Admin] Extend GET endpoints for getting product variants
[API][Admin] Extend POST endpoint for creating a product variant
[API][Admin] Extend PUT endpoint for updating the product variant
[API][Admin] Add DELETE endpoint for product variant resource
[Behat][API] Cover scenarios for adding a product variant
[Behat][API] Cover scenarios for browsing product variants
[Behat][API] Cover scenarios for deleting a product variant
[API][Behat] Mark scenarios for generating product variants as no-api
[API][Behat] Cover scenarios for editing and validating product variants
[API] Validate option values on product variants
Fix CS and static analysis
[API] Fix contract tests after changing fixtures for product variants
[Behat][API] Extract some steps to separate contexts to resolve duplications
[Behat][API] Change setting code on option value to resolve problem with case sensitive PostgreSQL
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A
| --------------- | -----
| Branch? | master
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | yes
| Related tickets | mentioned in #13899
| License | MIT
Previously there was no validation on the `RequestPassword` object leading to 500 errors during the execution of the command handler.
With this PR, `ResetPasswordTokenExists` and `ResetPasswordTokenExpires` have been added to validate the `RequestPassword` object before the command handler is executed. A new scenario is now testing the expiration of a reset password request.
Commits
-------
768018edef Add validation on reset password token
a00fa79b26 Add new scenario testing expired password requested token
3673af1840 Add new spec files for the two new validators
fc94751d9a Alphabetic ordering
623e184fe7 Rename method
e4eabd5f30 Add new UserNotFound validator to the RequestResetPasswordToken object
4b5f3f5142 Add a new scenario to test validation
1fba577fe0 Rename validators and spec methods
2b80f9dee8 Use ShopUser prefix because validators can't be use with AdminUser
0d146878a4 Mirror UI behaviour within the API call
38e2069524 Remove not used constraints
e2fc25a1c1 Use the already present contexts
926081a7ac Add API validator message check
7c82a3788d Revert method name
a4bf2368a8 Remove not used uses
13346a258d Merge method
11154a1ddb Remove no more used method
25c96c5d2f Subtract twice to ensure the ttl is passed
71da3cd160 Fix and enhance method name
530a471d6e Remove not used translation
7f5e880728 Ensure no false positive assertion and use string literal instead of variable
4fec06d295 Add mixed type
47c2feb8fe Update src/Sylius/Bundle/ApiBundle/Resources/translations/validators.en.yaml
7e1538badb Fix not available constant
d20a5e4422 [Maintenance] Update the copyright block
4ad5e4c174 Fix coding style
dd65439ba7 Remove unused method
142601b439 Fix coding style
6b809c8a09 Fix coding style
7159d33293 Explicit var renaming
8763404483 Make the sentence applies to both UI and API