Commit graph

1117 commits

Author SHA1 Message Date
Kamil Grygierzec
ff50deec10
Resolve comments 2024-02-15 08:47:00 +01:00
Jacob Tobiasz
78ba43534c
minor #15836 Resolve contract tests catalogs (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                                                       |
| 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
-->
Based on https://github.com/Sylius/Sylius/pull/15788

Commits
-------
  fix ship shipments
  [Admin][AdminUser] unify contact tests catalog
  [Admin][PriceHistory] unify contract tests catalog
  [Admin][Order] unify contract tests catalog
  [Admin][Locale] unify contract tests catalog
  [Admin][Payment] unify contract tests catalog
  [Admin][ShopBillingData] unify contract tests catalog
  [Shop][Payment] unify contract tests catalog
  [Shop][Locale] unify contract tests catalog
  [Shop][ExchangeRate] unify contract tests catalog
  [Shop][Country] unify contract tests catalog
  [Shop][Order] unify contract tests catalog
  [Shop][Channel] unify contract tests catalog
  [Shop][ShippingMethods] unify contract tests catalog
  [Shop][Product] unify contract tests catalog
  [Shop][Taxon] unify contract tests catalog
  Move all the contract tests to parent catalog Responses and remove expected catalog
2024-02-14 18:38:39 +01:00
Kamil Grygierzec
e4827d74c9
Move all the contract tests to parent catalog Responses and remove expected catalog 2024-02-14 13:06:48 +01:00
Kamil Grygierzec
a793b25757
[Shop][Taxon] unify contract tests catalog 2024-02-14 13:05:58 +01:00
Kamil Grygierzec
fa5a276d18
[Shop][Product] unify contract tests catalog 2024-02-14 13:05:58 +01:00
Kamil Grygierzec
a46dc9a4b2
[Shop][ShippingMethods] unify contract tests catalog 2024-02-14 13:05:58 +01:00
Kamil Grygierzec
ab323c5d08
[Shop][Channel] unify contract tests catalog 2024-02-14 13:05:58 +01:00
Kamil Grygierzec
09c717c787
[Shop][Order] unify contract tests catalog 2024-02-14 13:05:58 +01:00
Kamil Grygierzec
35cee772f3
[Shop][Country] unify contract tests catalog 2024-02-14 13:05:57 +01:00
Kamil Grygierzec
448c5653d9
[Shop][ExchangeRate] unify contract tests catalog 2024-02-14 13:05:57 +01:00
Kamil Grygierzec
2b2660f257
[Shop][Locale] unify contract tests catalog 2024-02-14 13:05:57 +01:00
Kamil Grygierzec
67b0b3b396
[Shop][Payment] unify contract tests catalog 2024-02-14 13:05:57 +01:00
Kamil Grygierzec
ed374c39d4
[Admin][ShopBillingData] unify contract tests catalog 2024-02-14 13:05:57 +01:00
Kamil Grygierzec
932dba03c2
[Admin][Payment] unify contract tests catalog 2024-02-14 13:05:57 +01:00
Kamil Grygierzec
a5dbafbfa7
[Admin][Locale] unify contract tests catalog 2024-02-14 13:05:56 +01:00
Kamil Grygierzec
b41e3ab280
[Admin][Order] unify contract tests catalog 2024-02-14 13:05:56 +01:00
Kamil Grygierzec
c48689f606
[Admin][PriceHistory] unify contract tests catalog 2024-02-14 13:05:56 +01:00
Kamil Grygierzec
cda4326622
[Admin][AdminUser] unify contact tests catalog 2024-02-14 13:05:56 +01:00
Kamil Grygierzec
8c9b23297b
fix ship shipments 2024-02-14 10:51:20 +01:00
Rafikooo
ef2b428121
[Refactor] Place the EmailManager construct arguments after the repository arguments within command handler classes 2024-02-14 10:17:21 +01:00
Rafikooo
18fa6fa002
[ECS] Apply ecs fixes 2024-02-14 08:40:32 +01:00
Rafikooo
ab909bde65
Remove obsolete functional tests 2024-02-14 08:40:31 +01:00
Rafikooo
a69bdd813d
Extract account verification email sending to a dedicated manager 2024-02-14 08:40:31 +01:00
Kamil Grygierzec
9dc51f94c7
[Address] add missing contract test 2024-02-13 13:10:48 +01:00
Kamil Grygierzec
d3c03e8483
[Customer] Add missing contract tests 2024-02-13 13:10:48 +01:00
Kamil Grygierzec
f3672b62f1
[Currency] Add missing contract tests 2024-02-13 13:10:48 +01:00
Kamil Grygierzec
562a7b40a5
[Shipment] Add missing contract tests 2024-02-13 13:10:47 +01:00
Kamil Grygierzec
b60d8cc28d
[Product] Fix serialization groups and add missing contract tests 2024-02-13 13:10:47 +01:00
Kamil Grygierzec
f03aa27ec1
[Country] Fix serialization groups and add missing contract tests 2024-02-13 13:10:47 +01:00
Kamil Grygierzec
7c067d33a2
[Zone] Fix serialization groups and add missing contract tests 2024-02-13 13:10:46 +01:00
Kamil Grygierzec
7129bcb8f6
[AdminUser] Add missing contract tests 2024-02-13 13:10:46 +01:00
Kamil Grygierzec
c48c6d9002
[Adjustment] Add missing contract tests 2024-02-13 13:10:46 +01:00
Kamil Grygierzec
d36fc235ac
[Payment] Fix serialization groups 2024-02-13 13:10:46 +01:00
Kamil Grygierzec
fe0ff72d2b
[Order] Add missing serialization groups 2024-02-13 13:10:45 +01:00
Kamil Grygierzec
66b4df0e3c
fix ship shipments 2024-02-13 13:10:45 +01:00
Wojdylak
9df6caed81
Add validation checking in StatisticsTest class 2024-02-09 09:27:24 +01:00
Wojdylak
1a3f0d86ba
[ApiBundle][Statistic] Add validation for endDate to be always after startDate 2024-02-09 09:27:23 +01:00
Kamil Grygierzec
6d8a50f6f0
Validate resending order confirmation email in correct state 2024-02-02 16:21:52 +01:00
Jacob Tobiasz
59ceb61c2a
refactor #15708 [Promotion] Switch catalog promotion validation from custom solution to symfony (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?   | tba |
| Related tickets | -                      |
| License         | MIT                                                          |

TODO:
- [x] Deprecate the previous validation abstraction
- [x] Apply same changes to catalog promotion action
- [x] Move the existing promotion action/rule validation groups config from promotion bundle to core

Commits
-------
  [Promotion] Switch catalog promotion scope validation from custom solution to symfony
  [Promotion] Switch catalog promotion action validation from custom solution to symfony
  [Core][DX] Update ChannelCodeCollectionValidator to allow local collection of channels
  [Behat] Update catalog promotion tests
  [Maintenance] Deprecate catalog promotion action/scope custom validation abstraction
  [Maintenance] Note catalog promotion validation upgrade
  [Promotion] Retrieve right object inside ChannelCodeCollection validator
  [ECS] Apply ecs fixes
  [Behat] Update flash error message for catalog promotion creation
  some minor comment fixes
  [Maintenance][DX] Move some validation config from particular bundles to Core
  Add propertyAccessor to channelCodeCollectionValidator
2024-01-31 10:43:25 +01:00
Jacob Tobiasz
07597081f9
refactor #15765 [Maintenance][Statistics] Bit of an overhaul (NoResponseMate)
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
-------
  [Maintenance][Statistics] Simplify get action
  [Maintenance][Statistics] Remove overreaching validation
  [Maintenance][Statistics] Simplify input validation
  [Maintenance] Refactor retrieving orders statistics logic to be more customizable
  [Maintenance] Simplify sales statistics and make the return structure more agnostic
  [Maintenance] Ignore abstract classes in spec arkitect rule
  [API][Admin] A bit more statistics tests
  [Maintenance][Statistics] Force same type while comparing totals' years
  Review fixes
2024-01-30 18:01:25 +01:00
Jan Goralski
e6dff966ce
[Behat] Update catalog promotion tests 2024-01-29 11:48:25 +01:00
Jan Goralski
d0fe806281
[Promotion] Switch catalog promotion action validation from custom solution to symfony 2024-01-29 11:48:25 +01:00
Jan Goralski
2c3f7ee0e8
[Promotion] Switch catalog promotion scope validation from custom solution to symfony
[Promotion] Add unique codes validation for all defined scopes
2024-01-29 11:48:24 +01:00
Jan Goralski
b025de3da7
[Maintenance][API] Normalize command missing field name 2024-01-26 17:33:33 +01:00
Jan Goralski
1a2cc2eae5
[API][Admin] A bit more statistics tests 2024-01-26 15:52:44 +01:00
Jan Goralski
1502b3cabe
[Maintenance] Ignore abstract classes in spec arkitect rule 2024-01-26 14:57:30 +01:00
Jan Goralski
f357304fd1
[Maintenance] Simplify sales statistics and make the return structure more agnostic 2024-01-26 14:44:28 +01:00
Jan Goralski
03ae24cda6
[Maintenance] Refactor retrieving orders statistics logic to be more customizable 2024-01-26 14:44:27 +01:00
Jan Goralski
0f92d92e99
[Maintenance][Statistics] Simplify input validation 2024-01-26 14:42:33 +01:00
Wojdylak
a06e283fd3
[ApiBundle] Remove nullable from AddProductReview constructor 2024-01-23 12:50:56 +01:00