Commit graph

3332 commits

Author SHA1 Message Date
Ferror
47ac3b0c32 [maintenance]Prepare postgresql pipeline by making behat scenarios de-case-sensitive 2022-06-03 10:37:44 +02:00
TheMilek
7d6e0f3698
transformer for logged in customers added 2022-06-01 14:44:33 +02:00
Adam Kasperczak
7247324e87
add validation for contact requrst command 2022-06-01 14:44:28 +02:00
Adam Kasperczak
a2fe46161b
Add api endpoint config 2022-06-01 14:44:27 +02:00
Łukasz Chruściel
9b4b186f69
feature #14013 [API] cover scenarios for non existing taxon filter (SirDomin)
This PR was merged into the 1.12-dev branch.

Discussion
----------

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

<!--
 - Bug fixes must be submitted against the 1.10 or 1.11 branch(the lowest possible)
 - Features and deprecations must be submitted against the master 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
-------

d1fcba03a1 [API] cover scenarios for non existing taxon filter
9fce429027 [Doctrine] filter taxons by null if taxon is incorrect
2022-05-24 11:19:43 +02:00
Grzegorz Sadowski
2ca7051404
refactor #13996 [API][Behat] Update cart promotions on checkout if the promotion is not eligible (ernestWarwas)
This PR was merged into the 1.12-dev branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | master <!-- see the comment below -->          |
| Bug fix?        | no                                                       |
| New feature?    | no                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no |
| Related tickets | fixes #13955                      |
| License         | MIT                                                          |

When cart promotions were changed and if now the promotion is not eligible we should update cart promotions and throw a specific exception.

<!--
 - Bug fixes must be submitted against the 1.10 or 1.11 branch(the lowest possible)
 - Features and deprecations must be submitted against the master 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
-------

163e76c7de [API] Map order no longer eligible for promotion exception to 422 status code
e7dbbe1da4 [Behat][API] new scenario covered
c3858be109 extract logic of checking order promotions eligibility
339fb712b3 override data persister from api platform, refactor
331524343f [Docs] note about OrderIntegrityChecker
2022-05-24 10:54:23 +02:00
SirDomin
9fce429027
[Doctrine] filter taxons by null if taxon is incorrect 2022-05-24 09:28:55 +02:00
SirDomin
d1fcba03a1
[API] cover scenarios for non existing taxon filter 2022-05-23 11:57:24 +02:00
Rafikooo
e6a858c2da
[Behat] no-api scenario marked 2022-05-23 09:24:07 +02:00
Ernest Warwas
339fb712b3
override data persister from api platform, refactor
override data persister from api platform, refactor

override data persister from api platform, refactor

override data persister from api platform, refactor

override data persister from api platform, refactor

override data persister from api platform, refactor

[Spec] spec for messenger data persister

removed one useless tests in OrderPromotionsIntegrityCheckerSpec

review changes

clean useless change

removed blank space in upgradefile

typo
2022-05-23 08:20:26 +02:00
Ernest Warwas
e7dbbe1da4
[Behat][API] new scenario covered 2022-05-22 12:23:23 +02:00
Kevin Kaniaburka
0e70708360 [Behat] Explicitly define channel base currency in viewing exchange rates scenario 2022-05-20 08:54:46 +02:00
Kevin Kaniaburka
9de37cbb3a [Behat] Add one more step to ExchangeRateContext 2022-05-19 14:45:39 +02:00
Kevin Kaniaburka
e8b3e41197 [API][Shop] Add ExchangeRate API resource 2022-05-19 13:33:46 +02:00
Kevin Kaniaburka
2c70d49a37 [Behat] Add a scenario for viewing exchange rates as a customer 2022-05-17 12:44:29 +02:00
Łukasz Chruściel
cb854760c3
[API] Signing cart as logged in user, with initial guest checkout 2022-05-16 17:06:50 +02:00
Łukasz Chruściel
604db85709
[API] Checkout as guest with registered account 2022-05-16 17:06:50 +02:00
Grzegorz Sadowski
9444c96174
feature #13955 [Behat][API] Cover api scenarios for order promotion integrity validation (ernestWarwas, GSadee)
This PR was merged into the 1.12-dev branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | master <!-- see the comment below -->          |
| Bug fix?        | no                                                       |
| New feature?    | no                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no <!-- don't forget to update the UPGRADE-*.md file --> |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.10 or 1.11 branch(the lowest possible)
 - Features and deprecations must be submitted against the master 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
-------

6a9626c335 [Behat][API] Api scenarios for order promotion integrity validation
da0f950a6e [Behat] steps refactored
014db3cf5f Code base refactor
88d4488bb3 [API] Add an experimental tag to OrderIntegrityChecker
2022-05-12 23:23:05 +02:00
Ernest Warwas
da0f950a6e
[Behat] steps refactored
[Behat] steps refactored

[Spec] spec added to ComplateOrderHandler

typo fixes
2022-05-12 21:42:46 +02:00
Ernest Warwas
6a9626c335
[Behat][API] Api scenarios for order promotion integrity validation
[Behat][API] Api scenarios for order promotion integrity validation

[Behat][API] Api scenarios for order promotion integrity validation

checking eligible of promotions

[Behat] small improvements

removed tests and unused elements
2022-05-12 21:42:45 +02:00
TheMilek
ef28ece497
[API] ProductAssociation endpoint created and ProductAssociation field serialised at Product get endpoint 2022-05-12 11:43:30 +02:00
Grzegorz Sadowski
4b6e507e48
feature #13928 [API][Shop] Viewing product attributes (coldic3)
This PR was merged into the 1.12-dev branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | master          |
| Bug fix?        | no                                                       |
| New feature?    | yes                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no |
| Related tickets |                       |
| License         | MIT                                                          |

The PR introduces three GET methods for product attributes.
![image](https://user-images.githubusercontent.com/13316080/167826767-c0980897-5d1d-46f7-a74e-421a18adaa2b.png)


Commits
-------

460d8b2154 [Behat][API] Cover viewing product attributes scenarios
490c8f385b [Behat][API] Adjust viewing product attributes scenarios
a431732548 [API][Shop] Add ProductAttributeValue API resources
88a4b28f88 [API][Shop] Fix "product attributes" subresource path
147a077b81 [API][Shop] Add ProductAttributesSubresourceDataProvider
7a4cd25439 [API][Shop] Add ProductAttributeValueNormalizer
54dd3a5f58 [Behat] Fix ambiguous steps
5ebde2272f [Behat] Extract steps from ProductContext to ProductAttributeContext
cd822b95e4 [API][Shop] Simplify ProductAttributeValueNormalizer
f72372804e [Behat][API] Call for product attributes only if they are needed
2022-05-12 09:54:18 +02:00
Kevin Kaniaburka
7a4cd25439 [API][Shop] Add ProductAttributeValueNormalizer 2022-05-11 12:05:43 +02:00
Łukasz Chruściel
ee9116e81e
feature #13950 [API] Cover scenarios for receiving email after registration (GSadee)
This PR was merged into the 1.12-dev branch.

Discussion
----------

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

<!--
 - Bug fixes must be submitted against the 1.10 or 1.11 branch(the lowest possible)
 - Features and deprecations must be submitted against the master 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
-------

37552254fa [API] Cover scenarios for receiving email after registration
8bd0f09530 [API][Behat] Use Sylius ApiClient instead of AbstractBrowser in RegistrationContext
2022-05-11 09:32:11 +02:00
Grzegorz Sadowski
5caa31ba1c
minor #13947 [API] cover complex promotion with api (AdamKasp)
This PR was merged into the 1.12-dev branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         |  master         |
| Bug fix?        | no                                                    |
| New feature?    | yes                                                       |
| BC breaks?      | no                                                     |
| Deprecations?   | no|
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.10 or 1.11 branch(the lowest possible)
 - Features and deprecations must be submitted against the master 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
-------

19ca0187cf cover complex promotion with api
2022-05-11 08:41:40 +02:00
Grzegorz Sadowski
72c58e0888
minor #13953 [API] This same cart promotion discount in different channels (Rafikooo)
This PR was merged into the 1.12-dev branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | master <!-- see the comment below -->          |
| Bug fix?        | no                                                       |
| New feature?    | no                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no <!-- don't forget to update the UPGRADE-*.md file --> |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.10 or 1.11 branch(the lowest possible)
 - Features and deprecations must be submitted against the master 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
-->
API scenarios covered and some code maintenance


Commits
-------

830f06d672 [API] Receiving fixed discount dependent on channel on cart
82996b9b29 [Maintenance] Up-to-date yarn.lock, constructor property promotion in some behat classes
2022-05-11 07:14:14 +02:00
Rafikooo
830f06d672
[API] Receiving fixed discount dependent on channel on cart 2022-05-10 16:21:08 +02:00
Kevin Kaniaburka
490c8f385b [Behat][API] Adjust viewing product attributes scenarios 2022-05-10 14:33:38 +02:00
Kevin Kaniaburka
460d8b2154 [Behat][API] Cover viewing product attributes scenarios 2022-05-10 14:33:38 +02:00
Grzegorz Sadowski
37552254fa
[API] Cover scenarios for receiving email after registration 2022-05-10 12:36:14 +02:00
Adam Kasperczak
19ca0187cf cover complex promotion with api 2022-05-10 08:28:52 +02:00
Adam Kasperczak
f4add44fa5
feature #13945 [API][Behat] Cover scenarios for receiving a discount from one promotion based on items total (ernestWarwas)
This PR was merged into the 1.12-dev branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | master <!-- see the comment below -->          |
| Bug fix?        | no                                                       |
| New feature?    | no                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no <!-- don't forget to update the UPGRADE-*.md file --> |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.10 or 1.11 branch(the lowest possible)
 - Features and deprecations must be submitted against the master 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
-------

c08fffcd70 [API][Behat] Cover scenarios for receiving a discount from one promotion based on items total
d32e6cf82f [Behat][Api] added subtotal theirs step to check decreased price
2022-05-10 08:08:12 +02:00
Łukasz Chruściel
b9698a83bc
feature #13946 [API] Discount for nth order (Rafikooo)
This PR was merged into the 1.12-dev branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | master <!-- see the comment below -->          |
| Bug fix?        | no                                                      |
| New feature?    | no                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no <!-- don't forget to update the UPGRADE-*.md file --> |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.10 or 1.11 branch(the lowest possible)
 - Features and deprecations must be submitted against the master 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
-------

b6478753b5 [API] Discount for nth order
2022-05-09 15:12:18 +02:00
Ernest Warwas
d32e6cf82f
[Behat][Api] added subtotal theirs step to check decreased price
[Behat][Api] added subtotal theirs step to check decreased price

change method name
2022-05-09 14:52:42 +02:00
Rafikooo
b6478753b5
[API] Discount for nth order 2022-05-09 13:01:19 +02:00
Łukasz Chruściel
871d6bb976
feature #13943 [API][Behat] Cover scenarios for receiving fixed discount from specific taxon (GSadee)
This PR was merged into the 1.12-dev branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | master|
| Bug fix?        | no                                                       |
| New feature?    | yes                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no|
| Related tickets | |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.10 or 1.11 branch(the lowest possible)
 - Features and deprecations must be submitted against the master 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
-------

91c0863acf [API][Behat] Cover scenarios for receiving fixed discount from specific taxon
2022-05-09 11:01:05 +02:00
Łukasz Chruściel
d04fb8f1f8
feature #13936 [API][Behat] Cover scenarios for receiving discount on shipping after changing product's quantity (GSadee)
This PR was merged into the 1.12-dev branch.

Discussion
----------

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

<!--
 - Bug fixes must be submitted against the 1.10 or 1.11 branch(the lowest possible)
 - Features and deprecations must be submitted against the master 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
-------

f075abe053 [API][Behat] Cover scenarios for receiving discount on shipping after changing product's quantity
2022-05-09 10:57:14 +02:00
Łukasz Chruściel
303d5d6185
feature #13935 [API][Behat] Cover scenarios for applying taxes included in price (GSadee)
This PR was merged into the 1.12-dev branch.

Discussion
----------

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

<!--
 - Bug fixes must be submitted against the 1.10 or 1.11 branch(the lowest possible)
 - Features and deprecations must be submitted against the master 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
-------

23c1168461 [API][Behat] Implement scenarios for applying taxes included in price on order
fdb6ff1b56 [Order] Add methods for calculating included and excluded taxes on Order model
da55b3aaca [Shop] Deprecate OrderTaxesTotalExtension
95a9788d0d [API][Behat] Implement other scenarios for applying taxes included in price on order
0723f23fdf [Order] Fix static analysis
2022-05-09 10:56:44 +02:00
Ernest Warwas
c08fffcd70
[API][Behat] Cover scenarios for receiving a discount from one promotion based on items total 2022-05-09 10:50:01 +02:00
Grzegorz Sadowski
91c0863acf
[API][Behat] Cover scenarios for receiving fixed discount from specific taxon 2022-05-09 08:26:15 +02:00
Łukasz Chruściel
dfa8dc513a
feature #13930 [API][Behat] Cover scenarios for applying correct taxes (GSadee)
This PR was merged into the 1.12-dev branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | master          |
| Bug fix?        | no                                                       |
| New feature?    | yes                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no |
| Related tickets |                       |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.10 or 1.11 branch(the lowest possible)
 - Features and deprecations must be submitted against the master 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
-------

a6fcfd884e [API] Save customer's default address on cart during picking it up
49cb6262e9 [API][Behat] Cover scenarios for applying correct taxes
2022-05-06 23:55:20 +02:00
Grzegorz Sadowski
95a9788d0d
[API][Behat] Implement other scenarios for applying taxes included in price on order 2022-05-06 14:31:31 +02:00
Grzegorz Sadowski
23c1168461
[API][Behat] Implement scenarios for applying taxes included in price on order 2022-05-06 14:31:30 +02:00
Grzegorz Sadowski
f075abe053
[API][Behat] Cover scenarios for receiving discount on shipping after changing product's quantity 2022-05-06 14:22:18 +02:00
Grzegorz Sadowski
49cb6262e9
[API][Behat] Cover scenarios for applying correct taxes 2022-05-05 14:54:26 +02:00
TheMilek
c864bb2dba
[API][Shop] viewing only enabled variants fixed 2022-05-05 13:58:46 +02:00
Grzegorz Sadowski
a6fcfd884e
[API] Save customer's default address on cart during picking it up 2022-05-05 12:12:31 +02:00
Łukasz Chruściel
f602864b44
Merge branch '1.11'
* 1.11:
  [Behat] variant name instead of product name
  [Template] variant name instead of product name
2022-04-14 21:39:22 +02:00
Łukasz Chruściel
60f0183c41
Merge branch '1.10' into 1.11
* 1.10:
  [Behat] variant name instead of product name
  [Template] variant name instead of product name
2022-04-14 21:39:04 +02:00
Łukasz Chruściel
07e1d4ef81
bug #13878 [Template] Variant name instead of product name (ernestWarwas)
This PR was merged into the 1.10 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.10
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| License         | MIT

Show variant name instead of the product name.

<!--
 - Bug fixes must be submitted against the 1.10 or 1.11 branch(the lowest possible)
 - Features and deprecations must be submitted against the master 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
-------

47ffea55e8 [Template] variant name instead of product name
4b73ae1eea [Behat] variant name instead of product name
2022-04-14 21:10:48 +02:00