Commit graph

939 commits

Author SHA1 Message Date
Łukasz Chruściel
5ee52c9bf0
[Minor] Adjust test class names to follow emerged convention 2021-08-18 15:01:45 +02:00
Łukasz Chruściel
66a72e73fd
[API] Log in contract tests + minor fixes 2021-08-16 18:03:08 +02:00
Łukasz Chruściel
d27469e8b3
[API][BC-Break] Move commands and handlers to common namespace 2021-08-13 16:31:07 +02:00
Łukasz Chruściel
aae87f5f1d
[API] Make PickupCart action stateless 2021-08-13 15:36:31 +02:00
arti0090
3f7260f08f Response fix 2021-08-13 11:03:18 +02:00
Adam Kasperczak
805a8065a8 Rename original_price to originalPrice in api responses 2021-08-13 10:50:59 +02:00
SirDomin
dde631e09b
[Spec] add scenario for missing channel 2021-08-11 14:26:38 +02:00
SirDomin
d69671f243
[API] add original price to product variant 2021-08-11 08:52:19 +02:00
Grzegorz Sadowski
9a4963389d
feature #12862 [API] Add liip image filters to API (arti0090, SirDomin)
This PR was merged into the 1.11-dev branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         |  master 
| Bug fix?        | no
| New feature?    | yes
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | PR with PoC: https://github.com/Sylius/Sylius/pull/12798
| License         | MIT

At the moment it adds 'filtered_path' with normal 'path'.
![image](https://user-images.githubusercontent.com/35863747/128310010-d29f2a5b-8414-4b65-9147-26f5a5d38dbd.png)

You can choose filter from list 
![image](https://user-images.githubusercontent.com/35863747/128310130-3b6c05b2-1151-498e-9a24-3ecfdc2cd04c.png)



Commits
-------

3c73852656 Add liip image filters to API
a6c166f097 changes to tests
05d670d93c Add contract test
7972705edb [Build] fix specs constructor
1f9089d68c change input bag to parameter bag
2021-08-06 07:29:09 +02:00
arti0090
05d670d93c Add contract test 2021-08-05 15:16:02 +02:00
Grzegorz Sadowski
19a833c032
feature #12782 [API] Check payment amount (Tomanhez, AdamKasp, GSadee)
This PR was merged into the 1.11-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.9 or 1.10 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
-------

2c1a6a268a Check payment amount for shop
7370877a18 Check payment amount for admin
ad579abb61 [Behat] Refactor checkout contexts
5420787613 [API][Admin] Add contract tests for order and payment get endpoints
eca592293b [Behat] Add missing return type
0dda733f8b [API] Refactor OrderPlacerTrait
6b10079611 [API][Shop] Add contract tests for payment get endpoint
2021-08-05 11:56:08 +02:00
Grzegorz Sadowski
a7dc89b209
minor #12856 [API] reduce customer update serialization (SirDomin)
This PR was merged into the 1.11-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.9 or 1.10 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
-------

985e4b8661 [API] reduce customer update serialization
75b8959f48 [API] add customer denormalization context to avoid errors when getting user
4fac945f00 [API] remove shop-customer-denormalize from xml
2021-08-05 11:54:49 +02:00
Grzegorz Sadowski
6b10079611
[API][Shop] Add contract tests for payment get endpoint 2021-08-05 11:21:32 +02:00
Grzegorz Sadowski
0dda733f8b
[API] Refactor OrderPlacerTrait 2021-08-05 11:15:16 +02:00
SirDomin
4fac945f00
[API] remove shop-customer-denormalize from xml 2021-08-05 10:58:02 +02:00
Grzegorz Sadowski
5420787613
[API][Admin] Add contract tests for order and payment get endpoints 2021-08-05 10:09:11 +02:00
SirDomin
985e4b8661
[API] reduce customer update serialization 2021-08-03 13:18:14 +02:00
Grzegorz Sadowski
7c804f2695
[API][Country] Improve endpoints serialization 2021-08-03 11:38:26 +02:00
arti0090
201e900185 Change media_path to media and add additional test cases 2021-07-30 11:56:53 +02:00
arti0090
7bedeb6a92 Introduce Image Normalizer 2021-07-28 11:08:10 +02:00
arti0090
888087eadb
[ENH][API] Fixing naming issues after PR for serializing post on address 2021-07-08 09:20:12 +02:00
Adam Kasperczak
996343df9d [Locale] refactor get locale responses 2021-07-07 08:28:23 +02:00
Grzegorz Sadowski
d6993d2abe
refactor #12785 [API] Remove customer and serialize posted address (arti0090)
This PR was merged into the 1.11-dev branch.

Discussion
----------

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

![Zrzut ekranu z 2021-07-06 11-54-16](https://user-images.githubusercontent.com/35863747/124582366-3e5e8b00-de52-11eb-8589-d93e693228c0.png)


Commits
-------

da86f599b6 [API] Remove customer and serialize posted address
a19977ef3f Add note about changed body in upgrade file
2021-07-07 08:19:50 +02:00
Grzegorz Sadowski
366f10a8bc
feature #12766 [Locale]Available locales in channel by api (AdamKasp)
This PR was merged into the 1.11-dev branch.

Discussion
----------

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

<!--
 - Bug fixes must be submitted against the 1.9 or 1.10 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
-------

d516bf1233 [Locales] providing only available locales for shop user (admin gets always all)
90ceff637e [Locales] Create ADR for locales exposing
2021-07-07 08:13:23 +02:00
arti0090
a19977ef3f Add note about changed body in upgrade file 2021-07-06 14:31:24 +02:00
arti0090
da86f599b6 [API] Remove customer and serialize posted address 2021-07-06 12:02:48 +02:00
arti0090
0e816e2875 [API] Add Product Image type to responses 2021-07-03 16:46:39 +02:00
Adam Kasperczak
d516bf1233 [Locales] providing only available locales for shop user (admin gets always all) 2021-07-02 11:00:48 +02:00
Adam Kasperczak
2971fe9ce5 [API] contract test for get order collection by guest 2021-06-30 08:19:41 +02:00
arti0090
2dcc1b073a Add code fixes 2021-06-24 07:54:01 +02:00
arti0090
201d7d5c6c Add contract test to admin ProductVariant 2021-06-23 13:54:14 +02:00
Grzegorz Sadowski
6d33190353
[API] Merge zone fixtures with shipping methods fixtures in contract tests 2021-06-22 12:48:05 +02:00
Grzegorz Sadowski
aa1609b1f4
[API] Serialize only shipment id and method as shipment in order response 2021-06-22 12:48:01 +02:00
Grzegorz Sadowski
7f485a81fc
[API][Order] Add contract test for getting order in shop 2021-06-22 11:32:33 +02:00
Grzegorz Sadowski
dedad00207
[API][ShippingMethod] Add contract test for available shipping methods endpoint 2021-06-22 06:30:19 +02:00
Grzegorz Sadowski
175ca05609
[API] Change names of API contract tests 2021-06-22 06:30:13 +02:00
Grzegorz Sadowski
01b1769d9b
[API] Fix problem with getting command bus from container in api test case 2021-06-08 09:11:12 +02:00
Grzegorz Sadowski
36eb5dd182
[API][PaymentMethod] Add contract test for available payment methods endpoint 2021-06-08 09:10:56 +02:00
Grzegorz Sadowski
7849a0bb5f
[API][Country] Initialize contract tests for api/v2 2021-06-07 08:30:24 +02:00