Commit graph

3636 commits

Author SHA1 Message Date
Rafikooo
1200f8cd7b
[Behat][Cart][ProductOptions] Refactor behat context 2023-05-17 17:55:52 +02:00
Rafikooo
46ef50a2fe
[Scenario][API] Product variants with options 2023-05-17 17:55:52 +02:00
Kevin Kaniaburka
2f485ac9ec
[Behat] Minor fix in a scenario 2023-05-17 16:55:21 +02:00
Ibes Mongabure
a7b1e87414
Update features/cart/shopping_cart/resolving_default_shipping_method_in_cart_summary_based_on_method_position.feature
Co-authored-by: Jan Góralski <jan.wojciech.goralski@gmail.com>
2023-05-17 16:55:21 +02:00
Ibes
fb4a67793d
Add @api tag 2023-05-17 16:55:21 +02:00
Ibes
359cb3a31d
Behat scenario 2023-05-17 16:55:21 +02:00
Jacob Tobiasz
e63ef1d443
feature #14994 [Products][Taxon] Allowing deleting a taxon that is a main taxon of a product (Rafikooo)
This PR was merged into the 1.13 branch.

Discussion
----------

 Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         |  1.13 <!-- see the comment below -->                  |
| Bug fix?        | kind of                                                      |
| New feature?    | yes                                                       |
| BC breaks?      | no                                                      |
| Deprecations?   | no<!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | https://github.com/Sylius/Sylius/pull/14791  |
| License         | MIT                                                          |


This PR changes (or more accurately unifies) the way we can delete taxon in Sylius.
Previously, we could delete a taxon that is not `main_taxon` for any product, and we could not delete a taxon in the opposite case.

This PR allows us to remove taxon that is `main_taxon` for some product by setting the relationship to `NULL`.

Alternatively, we could prevent the deletion of taxon in both cases. Let's bring this up for discussion 💬 

Commits
-------
  [Feature] Add deleting a taxon that is a main taxon of a product scenario
  [API][Behat][Taxon] Add step implementation
  Revert "[Behat] Describe scenario for messing up products assignments after trying to delete taxon
  [Behat][UI] Change isMainTaxonChosen method name
  [UI][Behat][Taxon] Add step implementation
  [Products] Add ON DELETE SET NULL to the Product mainTaxon field mapping
  [Migrations] Alter the product table
2023-05-12 20:58:36 +02:00
TheMilek
1f9e9419c0
Cover viewing_only_enabled_taxons_in_taxon_menu.feature scenario 2023-05-10 12:18:43 +02:00
Rafikooo
9d7c70d5a5
[UI][Behat][Taxon] Add step implementation 2023-05-10 08:34:37 +02:00
Rafikooo
a3e81518e1
Revert "[Behat] Describe scenario for messing up products assignments after trying to delete taxon
This reverts commit baa01c01
2023-05-10 08:34:37 +02:00
Rafikooo
cc137a567c
[API][Behat][Taxon] Add step implementation 2023-05-10 08:31:40 +02:00
Rafikooo
9eb7a3134a
[Feature] Add deleting a taxon that is a main taxon of a product scenario 2023-05-10 08:28:43 +02:00
Jan Góralski
f3c6463e7a
minor #15001 Cover editing customer profile scenarios in API (jakubtobiasz)
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


Commits
-------

6426db133e Cover editing customer profile scenarios in API
2023-05-08 13:31:57 +02:00
Jakub Tobiasz
6426db133e
Cover editing customer profile scenarios in API 2023-05-05 11:04:14 +02:00
TheMilek
e995e95d44
Merge branch '1.12' into 1.13
* 1.12:
  Fix being unable to add two product attributes at once
  Add a Behat scenario reproducing being unable to add two product attributes at once
2023-05-04 13:22:54 +02:00
Kamil Grygierzec
e5d808bcb7
minor #15002 Cover product integrity scenarios in API (jakubtobiasz)
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

Commits
-------

5c319cc0b6 Cover product integrity scenarios in API
2023-05-02 10:53:03 +02:00
Kamil Grygierzec
339e69f67e
minor #15003 Cover seeing default shipping method scenarios in API (jakubtobiasz)
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


Commits
-------

69e83ad372 Cover seeing default shipping method scenarios in API
2023-05-02 10:49:47 +02:00
Jakub Tobiasz
e4d8d790b2
Add a Behat scenario reproducing being unable to add two product attributes at once 2023-05-02 07:51:16 +02:00
Dmitri Perunov
52adeda398
Update product review validation's notInRangeMessage 2023-05-01 12:23:18 +02:00
Jakub Tobiasz
69e83ad372
Cover seeing default shipping method scenarios in API 2023-04-30 08:14:03 +02:00
Jakub Tobiasz
5c319cc0b6
Cover product integrity scenarios in API 2023-04-30 07:34:16 +02:00
Grzegorz Sadowski
c41bbe3444
bug #14989 [ProductTaxon][Product] Improve validation (NoResponseMate)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13 |
| Bug fix?        | yes                                                       |
| New feature?    | no                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no |
| Related tickets | related #14724                     |
| License         | MIT                                                          |

Commits
-------

328db68a8b [ProductTaxon] Add validation for missing part
8793f07d91 [Product] Add ProductTaxon validation
2023-04-27 08:59:09 +02:00
Jacob Tobiasz
22cb85a85c
Merge branch 1.12 into 1.13
* 1.12:
  [Shop] Add request matching to LocaleStrippingRouter
  [UI][Swagger] Update link to API Introduction section
  [CS][DX] Refactor
  [Promotion] Fix price range filter to also consider configuration with only max
  [Maintenance] Fix DisablingApiTest on unstable symfony
2023-04-27 08:46:59 +02:00
Jan Goralski
8793f07d91
[Product] Add ProductTaxon validation 2023-04-26 12:58:27 +02:00
Jan Goralski
328db68a8b
[ProductTaxon] Add validation for missing part 2023-04-25 15:25:09 +02:00
Jan Góralski
ecb820b50f
minor #14791 Add a taxon delete section (dawkaa)
This PR was merged into the 1.13 branch.

Discussion
----------

I added a taxon delete section.

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13                  |
| Bug fix?        | no                                                       |
| New feature?    | yes                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no <!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | part of https://github.com/Sylius/Sylius/issues/11250                     |
| 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
-------

65f39f2057 Add a taxon delete section

I added a taxon delete section.
2023-04-25 12:25:25 +02:00
dawkaa
65f39f2057 Add a taxon delete section
I added a taxon delete section.
2023-04-25 16:45:30 +08:00
Jan Goralski
61a2f38433
[Promotion] Fix price range filter to also consider configuration with only max 2023-04-24 12:36:10 +02:00
TheMilek
fae9f207c3
Merge branch '1.12' into 1.13
* 1.12:
  [ApiBundle][Maintenance] Remove conflict with doctrine/dbal:3.*
  [API] Fix dynamic filter enum for ProductImage in swagger docs
  [API] Remove invalid enum value from ProductImage resource
  add english translation
  [Admin][Promotion] Remove leftover rules after their assigned product gets deleted
  apply suggestion with new translation key
  fix english word and add shipment state in admin show shipment
2023-04-21 12:03:40 +02:00
Rafał Jaskulski
a87346a886
minor #14948 Cover reverting previously applied discount on cart scenarios in API (jakubtobiasz)
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 | n/a
| License         | MIT



Commits
-------

d9166f492c Cover reverting previously applied discount on cart scenarios in API
2023-04-21 11:27:39 +02:00
Rafał Jaskulski
fa2ffc9315
minor #14945 Add @no-api to redirecting_to_products_when_there_is_a_trailing_slash_in_path scenarios (jakubtobiasz)
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 | contains fixes from #14941 
| License         | MIT


Commits
-------

8a922bc7e7 Add @no-api to redirecting_to_products_when_there_is_a_trailing_slash_in_path scenarios
ab4d04fe09 Silence Http\Message\MessageFactory deprecation report
2023-04-21 11:25:38 +02:00
Jacob Tobiasz
94e988e7c9
minor #14959 [Behat][API] Retrying the payment with different Offline payment (coldic3)
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                                                          |

Commits
-------
  [Behat][API] Retrying the payment with different Offline payment
2023-04-21 11:17:36 +02:00
Jacob Tobiasz
2861e60af1
minor #14960 Cover Api steps in paying offline during checkout as guest scenario (TheMilek)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13 <!-- see the comment below -->                  |
| Bug fix?        | no                                                       |
| New feature?    | no                                                      |
| BC breaks?      | no                                                       |
| 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
-------
  Cover Api steps in paying offline during checkout as guest scenario
  [ECS] Fix
2023-04-21 11:10:30 +02:00
TheMilek
c08deaff33
Cover Api steps in paying offline during checkout as guest scenario 2023-04-21 08:09:53 +02:00
Kevin Kaniaburka
66d1e0ea54
[Behat][API] Retrying the payment with different Offline payment 2023-04-20 13:23:30 +02:00
Jakub Tobiasz
d9166f492c
Cover reverting previously applied discount on cart scenarios in API 2023-04-20 07:57:45 +02:00
TheMilek
9ae966d756
Cover Api steps in paying offline during checkout scenario 2023-04-19 14:25:49 +02:00
Kamil Grygierzec
db561c9b1f
minor #14947 Cover reapplying promotion on cart changes scenarios in API (jakubtobiasz)
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 | n/a
| License         | MIT




Commits
-------

2f56278d9d Cover reapplying promotion on cart changes scenarios in API
2023-04-19 12:34:43 +02:00
Jan Goralski
a0fcf80e79
[Admin][Promotion] Remove leftover rules after their assigned product gets deleted 2023-04-19 09:15:59 +02:00
Jakub Tobiasz
2f56278d9d
Cover reapplying promotion on cart changes scenarios in API 2023-04-19 08:29:02 +02:00
Jakub Tobiasz
a743297922
Cover applying correct taxes for shipping with tax rate included in price scenarios 2023-04-19 06:45:49 +02:00
Grzegorz Sadowski
963af2544b
feature #14936 Cover applying correct taxes for shipping scenarios (jakubtobiasz)
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 | to be merged after #14937
| License         | MIT                                                          |


Commits
-------

7fc6734ca2 Add calculating OrderItemsSubtotal to the Order model
add6f4a285 Cover applying correct taxes for shipping scenarios
2023-04-18 19:59:20 +02:00
Kevin Kaniaburka
fec60fffa9
[Behat][API] Add "no-api" tag to the changing payment method page scenario 2023-04-18 11:38:35 +02:00
Rafał Jaskulski
a12af20720
minor #14943 Cover handling different currencies on multiple channels via API scenarios (jakubtobiasz)
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 | contains changes from #14941 
| License         | MIT


Commits
-------

f750f33357 Silence Http\Message\MessageFactory deprecation report
dc4cd8a71c Cover handling different currencies on multiple channels via API scenarios
2023-04-18 08:41:05 +02:00
Jakub Tobiasz
8a922bc7e7
Add @no-api to redirecting_to_products_when_there_is_a_trailing_slash_in_path scenarios 2023-04-15 10:48:29 +02:00
Jakub Tobiasz
dc4cd8a71c
Cover handling different currencies on multiple channels via API scenarios 2023-04-15 10:31:42 +02:00
Jakub Tobiasz
39b3e61e47
Allow to filter products via API only by enabled taxon 2023-04-15 08:28:53 +02:00
Rafał Jaskulski
e9dfe3313a
minor #14934 Cover accessing non-existing product via API scenario (jakubtobiasz)
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


Commits
-------

895ae9fd63 Cover accessing non-existing product via API scenario
2023-04-14 13:58:35 +02:00
Jakub Tobiasz
add6f4a285
Cover applying correct taxes for shipping scenarios 2023-04-14 11:15:20 +02:00
Grzegorz Sadowski
b6c348ffa1
Merge branch '1.12' into 1.13
* 1.12:
  Do not hardcode checking cart state in processors
  Determine Order being processable on itself
  Add conflict for doctrine/orm:2.14.2
  [CS][DX] Refactor
  [Tasks] Improve Robo task
  [Product][Association] Fix attaching association with numeric code
2023-04-14 09:18:08 +02:00