Commit graph

34867 commits

Author SHA1 Message Date
Grzegorz Sadowski
b0cd88be22
[API] Enable remaining contract tests for Customer resource + minor refactor 2024-09-02 14:02:13 +02:00
Grzegorz Sadowski
08df41295a
[API] Rename resources configurations to be consistent with Sylius 1.x 2024-08-30 10:26:53 +02:00
Jan Góralski
ad85940b2e
minor #16799 [Behat] Enable Applying Shipping Fee Scenarios (Rafikooo)
This PR was merged into the api-platform-3 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | api-platform-3 <!-- see the comment below -->
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no <!-- don't forget to update the UPGRADE-*.md file -->
| Related tickets | continuation of https://github.com/Sylius/Sylius/pull/16692, https://github.com/Sylius/Sylius/pull/16760, https://github.com/Sylius/Sylius/pull/16792
| License         | MIT

Commits
-------
  [Behat] Enable applying shipping fee scenarios
  [Behat] Decouple addressing from selecting the shipping method step
  [Behat][UI] Decouple addressing from selecting the shipping method step
  [ECS] Apply ecs fixes
  [Behat] Simplify and improve scenarios' flow
  [Behat][UI] Reduce nested step methods calls
  [Behat][API] Enable applying shipping fee suite
  [Behat] Move context method to the proper class after rebase
2024-08-29 16:10:24 +02:00
Grzegorz Sadowski
39e936bafd
Merge branch '2.0' into api-platform-3
* 2.0: (22 commits)
  [Maintenance] Remove message buses duplications
  [CS][DX] Refactor
  Minor CS fix in workflow
  [Resource] Add validation for translatable interface with new namespace
  Apply suggestions from code review
  Both resource and grid unstable versions
  Try SyliusGridBundle 1.13
  [Core] Move validation of translation classes to Core
  Fix failing JS tests
  [API] Minor improvements for ProductVariantNormalizer
  [API] Remove deprecated Sylius 1.13 tests
  [Money] Deprecate unneeded templating helpers
  [CS][DX] Refactor
  [CS][DX] Refactor
  Change application's version to v1.13.6-dev
  Generate changelog for v1.13.5
  Change application's version to v1.13.5
  [CS][DX] Refactor
  [CS][DX] Refactor
  [Admin] Fix resending order confirmation emails
  ...
2024-08-29 13:48:13 +02:00
Grzegorz Sadowski
9e94c05f4e
Merge branch '1.14' into 2.0
* 1.14:
  Minor CS fix in workflow
  [Resource] Add validation for translatable interface with new namespace
  Apply suggestions from code review
  Both resource and grid unstable versions
  Try SyliusGridBundle 1.13
  [Core] Move validation of translation classes to Core
2024-08-29 13:39:16 +02:00
Grzegorz Sadowski
43686746bd
Merge branch '1.13' into 1.14
* 1.13:
  Minor CS fix in workflow
  [Resource] Add validation for translatable interface with new namespace
  Apply suggestions from code review
  Both resource and grid unstable versions
  Try SyliusGridBundle 1.13
  [Core] Move validation of translation classes to Core
2024-08-29 13:35:28 +02:00
Jan Goralski
70288b3c7a [Maintenance] Remove message buses duplications 2024-08-29 13:33:56 +02:00
Rafikooo
252ae5303f [Behat][API] Enable inventory suites 2024-08-29 13:21:41 +02:00
Rafikooo
0809749257 [Behat] Reorganize inventory scenario tags 2024-08-29 13:21:41 +02:00
Rafikooo
8f791584fc [Behat][API] Enable promotions suites 2024-08-29 13:21:41 +02:00
Rafikooo
a8afd680a0 [Behat] Reorganize promotions scenario tags and mark untagged UI ones as '@todo-ui' 2024-08-29 13:21:41 +02:00
Sylius Bot
cf69bc4af7 [CS][DX] Refactor 2024-08-29 13:17:27 +02:00
Rafikooo
9d4568a1a2
[Behat] Move context method to the proper class after rebase 2024-08-29 12:34:58 +02:00
Rafikooo
22becdef6e
[Behat][API] Enable applying shipping fee suite 2024-08-29 12:34:58 +02:00
Rafikooo
523fe25a79
[Behat][UI] Reduce nested step methods calls 2024-08-29 12:34:57 +02:00
Rafikooo
979b2910be
[Behat] Simplify and improve scenarios' flow 2024-08-29 12:34:57 +02:00
Rafikooo
875ab8a362
[ECS] Apply ecs fixes 2024-08-29 12:34:57 +02:00
Rafikooo
41b6d650d3
[Behat][UI] Decouple addressing from selecting the shipping method step 2024-08-29 12:34:57 +02:00
Jan Góralski
7c0ce45021
minor #16803 [API][Behat] Enable already covered scenarios (GSadee)
This PR was merged into the api-platform-3 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | api-platform-3
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | 
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
 - Features, removing deprecations and BC breaks must be submitted against the 2.0 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
-------
  [Admin][Behat] Enable already covered scenarios
  [Shop][Behat] Enable already covered scenarios
2024-08-29 09:07:09 +02:00
Grzegorz Sadowski
07dc38e98c
[Shop][Behat] Enable already covered scenarios 2024-08-29 08:33:20 +02:00
Grzegorz Sadowski
5b047faa43
[Admin][Behat] Enable already covered scenarios 2024-08-29 08:33:11 +02:00
Rafikooo
681fcc23b5
[Behat] Decouple addressing from selecting the shipping method step 2024-08-29 07:24:52 +02:00
Rafikooo
0c7a078dbd
[Behat] Enable applying shipping fee scenarios 2024-08-29 07:24:51 +02:00
Wojdylak
cf09bd61b6 [Api] Fix behat tests 2024-08-29 06:39:35 +02:00
Wojdylak
513f6c2b75 [Api] Fix phpspec tests 2024-08-29 06:39:35 +02:00
Wojdylak
b8ab1dcd9e [Api] Change commands to immutable classes 2024-08-29 06:39:35 +02:00
Wojdylak
a8f1addd9a [Api] Remove AsCommandDataTransformer 2024-08-29 06:39:35 +02:00
Wojdylak
ca536b95e1 [Api][Test] Add arguments to new changePaymentMethod 2024-08-29 06:39:35 +02:00
Wojdylak
01d9d102c5 [Api][Command][PickupCart] Change public to protected 2024-08-29 06:39:35 +02:00
Wojdylak
af29be2148 [Api][Command] Change public to protected 2024-08-29 06:39:35 +02:00
Wojdylak
8635c4e824 [Api] Remove CommandAwareDataTransformer 2024-08-29 06:39:35 +02:00
Wojdylak
55bf57508c [Api] Mirror improvments 2024-08-29 06:39:35 +02:00
Jan Góralski
97c94269af
minor #15706 Try SyliusResourceBundle 1.11 & SyliusGridBundle 1.13 (loic425)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13                |
| Bug fix?        | no                                                       |
| New feature?    | no                                                       |
| 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
-->

Inspired by #15119 


Commits
-------
  Try SyliusGridBundle 1.13
  Both resource and grid unstable versions
  Apply suggestions from code review
  [Resource] Add validation for translatable interface with new namespace
  Minor CS fix in workflow
2024-08-28 13:39:57 +02:00
Grzegorz Sadowski
5f56fef3c3
Minor CS fix in workflow 2024-08-28 12:19:40 +02:00
Grzegorz Sadowski
ca45aea6f8
[Resource] Add validation for translatable interface with new namespace 2024-08-28 12:19:40 +02:00
Loïc Frémont
b860b555bf
Apply suggestions from code review
Co-authored-by: Łukasz Chruściel <lchrusciel@gmail.com>
2024-08-28 12:19:40 +02:00
Loïc Frémont
614c79c3ad
Both resource and grid unstable versions 2024-08-28 12:19:02 +02:00
Loïc Frémont
8779ecfb65
Try SyliusGridBundle 1.13 2024-08-28 12:19:02 +02:00
Kamil Grygierzec
4984605df8
minor #16794 [Core] Move validation of translation classes to Core (GSadee)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 1.13
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no<!-- don't forget to update the UPGRADE-*.md file -->
| Related tickets | extracted from #15706 
| License         | MIT

This is a change to allow support for SyliusResourceBundle 1.11 (and older), where this validation has just been added globally on `AbstractTranslation`. PR with enabled tests: #15706.

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
 - Features, removing deprecations and BC breaks must be submitted against the 2.0 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
-------
  [Core] Move validation of translation classes to Core
2024-08-28 11:34:29 +02:00
Kamil Grygierzec
8bc3ee784e Filter product variants ASC by position by default, fix order of tags in variant scenarios 2024-08-28 11:17:46 +02:00
Rafikooo
45cd7320b4 [Unit] Use AdminUserLoginTrait explicitly 2024-08-28 10:46:06 +02:00
Rafikooo
0675858759 [API] Fix serialization group for 'complete payment' action 2024-08-28 10:46:06 +02:00
Rafikooo
02e9e64ae0 [Unit] Correct 'complete payment' response 2024-08-28 10:46:06 +02:00
Rafikooo
a2980c7b42 [API] Update URI path from /payment-method/ to /payment-methods/ 2024-08-28 10:46:06 +02:00
Rafikooo
c97e240e43 [Unit] Update URI path from /payment-method/ to /payment-methods/ 2024-08-28 10:46:06 +02:00
Rafikooo
1529ab7b69 [Unit] Refactor shop payments test 2024-08-28 10:46:06 +02:00
Rafikooo
a0f77f3e69 [Unit] Move all default headers calls into 'setUp' function 2024-08-28 10:46:06 +02:00
Rafikooo
7cbe348bd7 [Unit] Deprecate log in traits 2024-08-28 10:46:06 +02:00
Rafikooo
6366a15455 [Unit] Allow to pass the email into the setUpAdminContext function 2024-08-28 10:46:06 +02:00
Rafikooo
2909c645c1 [API] Implement refunding order's payment 2024-08-28 10:46:06 +02:00