Commit graph

83 commits

Author SHA1 Message Date
Wojdylak
0146289e2b
[Api][Admin] Add recursively return adjustments for order item 2024-02-21 12:31:19 +01:00
Jacob Tobiasz
544b0766d1
Resolve conflicts between 1.13 and 2.0 2024-02-01 08:22:59 +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
Grzegorz Sadowski
1e943288a6
Merge branch '1.13' into 2.0
* 1.13: (82 commits)
  CreateAdminUserCommandTest class - sorting of used classes
  InformAboutGUSCommand class - fix a typo
  Update upgrade file
  [AdminBundle] Change namespace of CreateAdminUser
  [CoreBundle] Move classes from Command to Console/Command
  [UserBundle] Move classes from Command to Console/Command
  [UiBundle] Move classes from Command to Console/Command
  [PromotionBundle] Move classes from Command to Console/Command
  [OrderBundle] Move classes from Command to Console/Command
  [AdminBundle] Move classes from Command to Console/Command
  [ECS] Apply ecs fixes
  [Addressing] Support BC for ZoneMatcher
  [Upgrade] Note ZoneRepository addition and ZoneMatcher constructor changes
  [DX] Update OrderRepository
  [Statistics] Refactor GetStatisticsAction
  Change new orders name to paid orders to not mix up names
  fix unit test
  Apply changes from comments and improve outdated StatisticsModifier
  fix behat tests
  Remove specs for unexisting classes and add existing ones
  ...
2024-01-19 14:50:54 +01:00
Wojdylak
f4d9a86e0b
[CoreBundle] Move classes from Command to Console/Command 2024-01-18 08:21:37 +01:00
Rafikooo
a8b9c54e2c
[PHPStan] Specify return types in the StatisticsDataProviderInterface service 2024-01-17 14:21:49 +01:00
Wojdylak
4b94f51140
[AdminBundle] Add QuestionFactory 2024-01-03 14:49:07 +01:00
Stephan Hochdörfer
3bd23c518c
Allow to reset admin user password via CLI 2024-01-03 14:48:31 +01:00
Jan Goralski
03b11686df
[API][Admin] Finish covering product filtering 2023-12-21 10:15:16 +01:00
Jan Goralski
e71ee0de25
[API][Admin] Finish covering product filtering 2023-12-20 13:47:52 +01:00
Jacob Tobiasz
c88f00a86c
Regenerate the baseline for PHPStan 2023-12-06 18:03:56 +01:00
Jan Goralski
7b931b8348
[DX] Ignore missing return of getId model methods and update baseline 2023-12-05 13:27:44 +01:00
Rafikooo
894a1fe830
[PHPStan] Regenerate baseline.neon file 2023-12-05 13:22:15 +01:00
Grzegorz Sadowski
bc7d625baf
Merge branch '1.12' into 1.13
* 1.12:
  [CS][DX] Refactor
  Resolve phpstan issues
  Resolve psalm issues
  Fix Spec tests
  Update src/Sylius/Component/Product/Resolver/DefaultProductVariantResolver.php
  Using findBy to avoid PSALM error
  Add Scenario to test default variant
  Add orderBy position and id to get the same sets used on ->getEnabledVariants()
  mention about service new argument
  Add deprecation notice mention by @diimpp
2023-11-30 07:46:32 +01:00
Wojdylak
67f600a390 Resolve phpstan issues 2023-11-29 15:58:13 +01:00
Wojdylak
77124ac2a8 Resolve phpstan isssues 2023-11-22 08:36:20 +01:00
Wojdylak
d07a1d8f94 [ApiBundle] Update phpstan baseline 2023-11-20 11:37:02 +01:00
Jan Goralski
90124657a8
[API] Less naive default translation checking 2023-11-07 16:57:57 +01:00
Kamil Grygierzec
9518e82a41
feature #15460 [API][Admin] Managing product variants (GSadee)
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                                                          |

<!--
 - 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
-------
  [API][Admin] Extend GET endpoints for getting product variants
  [API][Admin] Extend POST endpoint for creating a product variant
  [API][Admin] Extend PUT endpoint for updating the product variant
  [API][Admin] Add DELETE endpoint for product variant resource
  [Behat][API] Cover scenarios for adding a product variant
  [Behat][API] Cover scenarios for browsing product variants
  [Behat][API] Cover scenarios for deleting a product variant
  [API][Behat] Mark scenarios for generating product variants as no-api
  [API][Behat] Cover scenarios for editing and validating product variants
  [API] Validate option values on product variants
  Fix CS and static analysis
  [API] Fix contract tests after changing fixtures for product variants
  [Behat][API] Extract some steps to separate contexts to resolve duplications
  [Behat][API] Change setting code on option value to resolve problem with case sensitive PostgreSQL
2023-10-31 16:07:35 +01:00
Grzegorz Sadowski
6df65d3842
Fix CS and static analysis 2023-10-24 09:23:21 +02:00
Grzegorz Sadowski
c25ee45737
[API] Fix static analysis 2023-10-20 14:02:54 +02:00
Jan Goralski
07cbd59764
[Maintenance] Fix static analysis 2023-10-12 14:56:24 +02:00
Jan Goralski
41ba211323
[Api][Attribute] Switch storage type setting from persister to event subscriber 2023-09-25 14:34:27 +02:00
Jacob Tobiasz
7df78676c4
Upmerge 1.12 into 1.13 2023-08-29 09:07:42 +02:00
Jan Goralski
a8d28988c5
[Country] Additional validation for duplicated provinces names 2023-08-25 08:40:12 +02:00
Jan Goralski
cddec53fdf
Update phpstan baseline 2023-08-24 11:10:07 +02:00
Kevin Kaniaburka
2554fd64f5
[API] Replace Swagger with OpenAPI 2023-07-12 09:54:32 +02:00
Jakub Tobiasz
720cf95804
Add missing entry to phpstan-baseline.neon 2023-06-23 11:27:06 +02:00
Jakub Tobiasz
b56bad878d
Update PHPStan baseline for 1.12 branch 2023-06-23 10:21:36 +02:00
Jakub Tobiasz
6dab1aba12
Update PHPStan baseline file 2023-06-23 09:06:32 +02:00
Jakub Tobiasz
ae38d40674
Update PHPStan baseline file 2023-06-22 09:44:38 +02:00
Lorenzo Ruozzi
bd109242e0
[PHPStan] Upgrade to level 6 (#14019) 2023-06-22 09:43:18 +02:00