Commit graph

1117 commits

Author SHA1 Message Date
Grzegorz Sadowski
5969f0aa1d
[API] Apply statistics constraints sequentially to fix 500 error when using an undefined parameter 2024-10-28 12:33:59 +01:00
Grzegorz Sadowski
d37c6a8947
Fix OrderAdjustmentsRecalculationTest 2024-10-28 11:15:13 +01:00
Michał Pysiak
593bd945c8
Change fixtures - add createdAt different time for customers 2024-10-08 10:33:15 +02:00
Grzegorz Sadowski
f0dc4cb967
[API] Add missing endpoint for ShopUser in shop context 2024-09-25 10:20:32 +02:00
Wojdylak
4e877734f2
[ChannelsTest] Use inArray to check locales 2024-07-25 08:55:59 +02:00
Grzegorz Sadowski
88081528e3
Merge branch '1.12' into 1.13
* 1.12:
  [API] Add note about disabling adjustment GET endpoint to UPGRADE file
  [API] Remove unnecessarily added HeadersBuilder class
  Add phpunit test
  Disable adjustments shop API endpoint
2024-07-17 08:56:19 +02:00
Grzegorz Sadowski
61c984228a
[API] Remove unnecessarily added HeadersBuilder class 2024-07-17 08:06:56 +02:00
Michał Pysiak
37f812d825
Add phpunit test 2024-07-16 09:43:52 +02:00
Grzegorz Sadowski
8718274526
[API] Adjust adjustments contract tests after upmerge 2024-06-07 07:43:58 +02:00
Grzegorz Sadowski
a59b1b7472
Merge branch '1.12' into 1.13
* 1.12:
  [CS][DX] Refactor
  Apply Review fixes
  fix the build
  fallback order item test
  add contract tests
  Filter order items collection for visitors and shop users
  Add voter for the adjustments subresources
  Resolve createdByGuest on order fixtures
2024-06-06 15:03:59 +02:00
Kamil Grygierzec
5bba8f0ce4
Apply Review fixes 2024-06-06 01:46:53 +02:00
Kamil Grygierzec
d37daa380f
fallback order item test 2024-06-05 11:44:11 +02:00
Kamil Grygierzec
bb3cc9dd5b
add contract tests 2024-06-05 11:06:45 +02:00
Wojdylak
324f4300da
[API][Test] Minor updating of functions name 2024-04-02 11:14:54 +02:00
Wojdylak
9f07f0c3d1
[API][Test] Add common response for different databases 2024-04-02 11:14:54 +02:00
Wojdylak
da70b88f70
[API] Add respons for order item unit test 2024-04-02 11:14:54 +02:00
Wojdylak
833ac87af3
[Api][Shop] Improve orders tests 2024-04-02 11:14:53 +02:00
Wojdylak
1313080304
[Api][Shop] Add Checkout/CompletionTest 2024-04-02 11:14:53 +02:00
Wojdylak
279156675c
[Api][Shop] Add Checkout/PaymentMethodTest 2024-04-02 11:14:52 +02:00
Wojdylak
1663553482
[Api][Shop] Add Checkout/ShippingMethodTest 2024-04-02 11:14:52 +02:00
Wojdylak
ad53e3d569
[Api][Shop] Add Checkout/CartTest 2024-04-02 11:14:52 +02:00
Grzegorz Sadowski
7e3503ae4f
bug #16063 [Api][Checkout] Add validation for required address (Wojdylak)
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 | N/A
| License         | MIT


Commits
-------

d585cc0f81 [Api][Checkout] Add validation for required address
b217fb48b4 [Api][Admin] Fix get channels test
b23e263a29 [Api][Admin] Change validation message of address requirement
6bf3d5a1ef [Api][Admin] Add ChannelNotFoundException to OrderAddressRequirementValidator
3e80c98903 [API][Test] Minor updating of functions name
2024-04-02 11:12:43 +02:00
Wojdylak
3e80c98903
[API][Test] Minor updating of functions name 2024-04-02 08:27:54 +02:00
Wojdylak
b23e263a29
[Api][Admin] Change validation message of address requirement 2024-03-28 13:58:40 +01:00
Karol
4f499b5ff7
minor #16052 Add missing customer validation (TheMilek)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13 <!-- see the comment below -->                  |
| Bug fix?        | a bit                                                       |
| 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.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
-------
  Validate customer creation and edit
  Validate customer's password reset
2024-03-27 14:44:56 +01:00
Wojdylak
b217fb48b4
[Api][Admin] Fix get channels test 2024-03-27 14:02:17 +01:00
Wojdylak
d585cc0f81
[Api][Checkout] Add validation for required address 2024-03-27 13:41:33 +01:00
Kamil Grygierzec
fa12a15e22
Add missing locales to contract test 2024-03-27 09:22:46 +01:00
Kamil Grygierzec
fe65a3cdfc
Validate customer's password reset 2024-03-27 08:47:32 +01:00
Jacob Tobiasz
f5c877532e
minor #16044 [API] Expose TaxonImage resource in shop (NoResponseMate)
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                                                          |

Commits
-------
  [API] Expose TaxonImage resource in shop
  [Behat][API] TaxonImage shop tests
  [Behat] Minor improvments of viewing_taxon_image scenario
  [Api] Remove _response suffix
  [Api] Change namespace of TaxonImagesTest class
2024-03-26 16:34:33 +01:00
Jacob Tobiasz
b3e633c85a
minor #16056 [Api][Admin] Allow using float for ratio in exchange rate (Wojdylak)
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
-------
  [Api][Admin] Allow using float for ratio in exchange rate
2024-03-26 16:31:52 +01:00
Wojdylak
9883bcc10f
[Api] Change namespace of TaxonImagesTest class 2024-03-26 15:14:38 +01:00
Wojdylak
4a6a8dcfae
[Api] Remove _response suffix 2024-03-26 15:14:10 +01:00
Wojdylak
5cb134a891
[Api][ProductImage] Add https prefix check 2024-03-26 13:02:41 +01:00
Wojdylak
292ecd1199
[Api][Admin] Allow using float for ratio in exchange rate 2024-03-26 10:49:24 +01:00
Wojdylak
bc08b8e42c
[Api][ProductReview] Embed customer's name 2024-03-25 12:12:28 +01:00
Jan Goralski
b3a3670545
[Behat][API] TaxonImage shop tests 2024-03-22 17:13:31 +01:00
Jan Goralski
9fb7de840d
[Behat][API] Cover missing and too long channel fields data validation 2024-03-22 12:40:52 +01:00
Jacob Tobiasz
d22bd02f5f
minor #16009 [API] Refactor images path resolving (NoResponseMate)
This PR was merged into the 1.13 branch.

Discussion
----------

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

Commits
-------
  [API] Refactor image normalizer
  [API] Update unit tests due to image normalization changes
  [API] Refactor image filters provider
  [API] Add image filter query parameter to image endpoints
  [Maintenance][API] Rename `image_filter` parameter to `imageFilter`
  [Maintenance] Ignore stan errors after ApiPlatform patch
  [API][Maintenance] Alias liip image filters provider service
  [API][Maintenance] Note image path related changes in upgrade file
  [API][Maintenance] Secure image normalization in case of missing resolver
2024-03-21 16:22:27 +01:00
Jan Goralski
c0a77acc2a
[API][Behat] Test currency code validation 2024-03-20 18:03:11 +01:00
Jan Goralski
1eeab7a804
[Maintenance][API] Rename image_filter parameter to imageFilter 2024-03-19 09:10:21 +01:00
Jan Goralski
8220b895ab
[API] Update unit tests due to image normalization changes 2024-03-19 09:10:21 +01:00
Grzegorz Sadowski
ea9d490b7e
[API][Address] Fixes for address contract tests 2024-03-15 12:56:27 +01:00
Grzegorz Sadowski
6ad2223629
[API][Address] Fix the possibility of creating/editing an address with fields passed in any order 2024-03-15 12:56:08 +01:00
Grzegorz Sadowski
9bc1733714
[API][Address] Remove customer from admin address endpoints' responses 2024-03-15 12:56:08 +01:00
Grzegorz Sadowski
2a4b54acd6
[API][Address] Add company validation to address entity 2024-03-15 07:51:39 +01:00
Grzegorz Sadowski
95148747c7
[API][Address] Add phoneNumber validation to address entity 2024-03-15 07:39:32 +01:00
Grzegorz Sadowski
aaa90c85e4
[API][Address] Add country code validation to address entity 2024-03-15 06:44:11 +01:00
Rafikooo
1a0c288dc0
[API] Change endpoint for contact 2024-03-11 17:00:09 +01:00
Rafikooo
0bc418fd88
[API] Change endpoint for customer verification 2024-03-11 17:00:08 +01:00