Commit graph

57 commits

Author SHA1 Message Date
Kamil Grygierzec
80d6ce57df
Update baseline 2024-08-06 15:56:59 +02:00
Grzegorz Sadowski
50c07bb334
Merge branch '2.0' into api-platform-3
* 2.0: (64 commits)
  [Admin] Rename parameter
  [Admin] Change command handlers and console command ids to dotted notation
  [Core] Change command handlers and console command ids to dotted notation
  [Core] Use new services
  [Core] Rename Message to Command
  [Admin] Rename Message to Command
  [Promotion] Remove deprecated commands
  [Ui] Remove deprecated commands
  [User] Remove deprecated commands
  [Admin] Configure and use anonymous view in store component
  [Admin] Add missing order notes information
  [Behat] Use test attribute to retrieve order notes
  [Admin] Render pagination and enabled filter test attributes
  [Behat] Enable scenarios and improve implementation for filtered pages redirections
  [Admin] Render view in store button in the variant edit page
  [CS][DX] Refactor
  [Behat] Improve view product in store action
  [Behat] Enable viewing product in store from variant edit page scenarios
  [Behat] Enable deleting multiple product variants scenario
  [Behat] Enable remaining managing users scenario
  ...
2024-08-05 14:18:00 +02:00
Wojdylak
d52d2bd424 [Core] Rename Message to Command 2024-08-05 12:02:14 +02:00
Rafikooo
a366ab8762
[API] Remove obsolete ProductAttributeDataPersister class 2024-08-05 08:12:04 +02:00
Rafikooo
492369ae78
[API] Remove obsolete PromotionDataPersister class and its related code 2024-07-23 10:48:54 +02:00
Grzegorz Sadowski
86ed1e5241
[API] Remove unneeded records from phpstan-baseline 2024-07-16 09:41:19 +02:00
Jan Goralski
f8f0b5431f [API][Maintenance] Fix static analysis in query extensions 2024-07-16 09:33:41 +02:00
Grzegorz Sadowski
9138cc4a1a
Merge branch '2.0' into api-platform-3
* 2.0:
  [Behat] Add tests for filtering and sorting customer groups
  [Behat] Enable customer group browsing and deleting scenarios
  [Behat] Remove redundant at sign
  UserDropdownComponent - fix return type
  Remove unnecessary function
  [Admin][Locale] Fix path to form's template
  [Admin][Locale] Minor improvements
  [Admin][Locale] Add filtering tests
  [Admin][Locale] Remove update action
  [Admin][Locale] Enable behat tests
  [Admin][Locale] Add create/update page
  [Core] Remove LocaleTypeExtension
  [Admin] Change the name of the service to provide the logged in admin user
  [Admin] Extract logged in admin user providing
  [Admin] Fix 404 page when there is no route for url
  [Admin] Remove icon from existing avatar
2024-07-09 12:25:52 +02:00
Wojdylak
37d3c84a0d [Core] Remove LocaleTypeExtension 2024-07-09 09:22:56 +02:00
Grzegorz Sadowski
1109c4100e
Merge branch '2.0' into api-platform-3
* 2.0: (22 commits)
  [CS][DX] Refactor
  Fix error template finders specs and the way logged in admin user is checked
  [Behat] Fix """unexistent"""
  [Shop][Admin] Fix error pages location
  Slight cleanup
  Fix the build and improve a bit the failed step erros messages
  Move Error renderer to UiBundle
  Redirect to login page if the reset password token is wrong
  Decouple TwigErrorRenderer from AdminBundle
  Add tests
  Exclude ErrorRenderer and FlattenException from composer require checker
  Separate exact templates for Admin and Shop
  Separate the rendering of the error templates for Shop and Admin
  Create and add a 404 page for the Admin Panel using twig hooks
  Customer create edit page fixes
  Remove deprecated statistics
  Use interface for a response checker dependency
  [Admin][Taxon] Minor improvements
  [Admin][Taxon] Add info about component inside template
  [Admin][Taxon] Remove unnecessary lines
  ...
2024-07-04 06:56:56 +02:00
Michał Pysiak
87350f21fa Remove deprecated statistics 2024-07-03 14:54:44 +02:00
Grzegorz Sadowski
be0fd59044
[API] Remove unneeded data providers 2024-07-02 07:01:06 +02:00
Grzegorz Sadowski
2023f57a61
[API] Add query extension for Locale collection 2024-06-14 12:40:31 +02:00
Grzegorz Sadowski
25a3e77281
Merge branch '2.0' into api-platform-3
* 2.0: (547 commits)
  [Admin][UX] Filter translatable autocomplete results based on current locale [Admin][DX] Extract translatable autocomplete processing to a separate form type
  [Behat] Add possibility to accepting null as value in response checker
  [Maintenance] Enable non-UI tests in CI
  Fixes after CR
  Changes after CR
  [Admin][Product] Enable and fix tests
  [Admin][Product] Add view in store button
  Remove final from the Zone's form component
  Review fixes
  [Admin][UI] Add error indicators for form tabs and accordions
  [Admin][Taxon] Rename FormImageElement to ImageFormElement
  [Admin][Taxon] Split media more granularly
  [Admin][Taxon] Remove unnecessary code
  [Taxon][Behat] Extract management of image to separate form element.
  [Behat] Extract waitForFormUpdate function to CrudFormElement
  [Behat] Submit live component before submitting the form
  [Admin][Taxon][Image] Enable behat tests
  [Admin][Taxon] Implements media management
  [Admin][Product][Inventory] Enable behat tests
  [Admin][Zone] Move FormComponent
  ...
2024-05-20 12:36:43 +02:00
Wojdylak
0f51146baf
[API][Address] Upgrade Address resource 2024-05-09 21:01:52 +02:00
Jacob Tobiasz
ca232319de
Update the phpstan-baseline.neon file 2024-03-22 15:54:10 +01:00
Rafikooo
a4f6675afd
[PHPStan] Add entry to phpstan-baseline.neon file 2024-03-21 15:14:04 +01:00
Rafikooo
dd4fcc4366
Resolve conflicts between 1.13 and 2.0 2024-03-21 15:12:59 +01:00
Rafikooo
e7de6a6ffa
[PHPStan] Regenerate baseline.neon file 2024-03-19 10:38:21 +01:00
Rafikooo
d8ca67dd43
Resolve conflicts between 1.12 and 1.13 2024-03-19 10:37:12 +01:00
Wojdylak
575099e0cc
[Maintenance] Add api-platform changes to phpstan-baseline.neon 2024-03-19 09:28:16 +01:00
Jacob Tobiasz
45744cd855
Update phpstan-baseline.neon file 2024-03-14 09:50:51 +01:00
Jacob Tobiasz
ccc148f8c1
Regenerate the baseline file 2024-02-25 13:25:13 +01:00
Jacob Tobiasz
89597579ea
Resolve conflicts between 1.13 and 2.0 2024-02-25 09:05:17 +01:00
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