Commit graph

237 commits

Author SHA1 Message Date
Michał Pysiak
d3a62673fd Fix behat errors 2024-09-16 14:22:00 +02:00
Grzegorz Sadowski
108fbf7b5d [SF7] Update configs 2024-09-16 14:22:00 +02:00
Grzegorz Sadowski
7de412f515 [Composer] Remove willdurand/hateoas and willdurand/hateoas-bundle dependencies 2024-09-16 14:22:00 +02:00
Grzegorz Sadowski
d1407d6153
Resolve conflicts between 2.0 and symfony-7 2024-09-04 13:19:19 +02:00
Loïc Frémont
c63a42b82d [SF7] Add Symfony 7 support for User bundle 2024-08-23 14:45:44 +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
Jan Goralski
7732964a01
[Admin][Order] Updated history view styling 2024-05-02 16:24:39 +02:00
Grzegorz Sadowski
a29f1ea135
Merge branch '2.0' into api-platform-3
* 2.0: (25 commits)
  Change application's version to v1.13.0-DEV
  Generate changelog for v1.13.0-RC.1
  Change application's version to v1.13.0-RC.1
  [Documentation] Update release dates for 1.13 and 2.0 versions
  [ECS] Fix nullable type declarations in the codebase
  [ECS] Fix nullable type declarations in Behat namespace
  [ECS] Add the NullableTypeDeclarationForDefaultNullValueFixer rule
  Add default label template in ShopBundle extending the UiBundle one
  Use extends instead of include in ShopBundle flashes template
  Manage confirmation modal for ShopBundle extending UiBundle
  Use Shop pagination macro in templates
  Use Shop messages macro in templates
  Use Shop flags macro in templates
  Use Shop headers macro in templates
  Use Shop buttons macro in templates
  [Documentation] Remove duplicated callback from state machine
  Update docs/book/architecture/state_machine.rst
  Add upmerging from 2.0 to api-platform-3
  Update php-entrypoint to give www-data permissions to public/media
  Update FUNDING.yml
  ...
2024-04-16 15:14:53 +02:00
Jacob Tobiasz
16c6701649
[UPMERGE] 2.0 -> bootstrap-admin-panel (#16108)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/1.13/.github/workflows/upmerge_pr.yaml).

**Remember!** The upmerge should always be merged with using `Merge pull
request` button.

In case of conflicts, please resolve them manually with usign the
following commands:
```
git fetch upstream
gh pr checkout <this-pr-number>
git merge upstream/bootstrap-admin-panel -m "Resolve conflicts between 2.0 and bootstrap-admin-panel"
```

If you use other name for the upstream remote, please replace `upstream`
with the name of your remote pointing to the `Sylius/Sylius` repository.

Once the conflicts are resolved, please run `git merge --continue` and
push the changes to this PR.
2024-04-10 08:43:02 +02:00
Jacob Tobiasz
906187827d
[UPMERGE] 1.13 -> 2.0 (#16101)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/1.13/.github/workflows/upmerge_pr.yaml).

**Remember!** The upmerge should always be merged with using `Merge pull
request` button.

In case of conflicts, please resolve them manually with usign the
following commands:
```
git fetch upstream
gh pr checkout <this-pr-number>
git merge upstream/2.0 -m "Resolve conflicts between 1.13 and 2.0"
```

If you use other name for the upstream remote, please replace `upstream`
with the name of your remote pointing to the `Sylius/Sylius` repository.

Once the conflicts are resolved, please run `git merge --continue` and
push the changes to this PR.
2024-04-09 10:20:23 +02:00
Wojdylak
f62a814d48
[Maintenance] Add image firewall 2024-04-08 12:44:29 +02:00
Grzegorz Sadowski
d13ebb94d8
Merge branch '2.0' into api-platform-3
* 2.0: (776 commits)
  Add missing validation for the customers first and last name
  [CS][DX] Refactor
  Bring back all Sylius' state machines to Winzou
  Add overriding the Resource's state machine with the one from the Sylius abstraction
  Add missing locales to contract test
  [Taxon][Behat] validate translations with unexisting locales
  [ShippingMethod][Behat] validate translations with unexisting locales
  [Promotion][Behat] validate translations with unexisting locales
  [Product][Behat] validate translations with unexisting locales
  [PaymentMethod][Behat] validate translations with unexisting locales
  Validate all translatable objects for unexisiting locales
  Validate customer's password reset
  Validate customer creation and edit
  Make the validation trait more generic
  [Api] Change namespace of TaxonImagesTest class
  [Api] Remove _response suffix
  [Behat] Minor improvments of viewing_taxon_image scenario
  [Api][ProductImage] Add https prefix check
  [Api][Admin] Allow using float for ratio in exchange rate
  SYL-3329 Fix behat test for SyliusPayPalPlugin
  ...
2024-03-29 14:49:47 +01:00
Jacob Tobiasz
bc775d80f3
Resolve conflicts between 2.0 and bootstrap-admin-panel 2024-03-14 09:40:38 +01:00
Rafikooo
d28e33369a
Resolve conflicts between 1.13 and 2.0 2024-03-13 10:22:00 +01:00
Rafikooo
9fdc244a35
[API] Change endpoint for administrator reset password 2024-03-11 17:00:08 +01:00
Rafikooo
05ff93ffb0
[API] Change endpoint for requesting customer authentication token 2024-03-11 17:00:08 +01:00
Rafikooo
b0e1c284e8
[API] Change endpoint for requesting admin authentication token 2024-03-11 17:00:08 +01:00
Jacob Tobiasz
6b3c87c221
Move the autocomplete endpoint behind the admin firewall 2024-02-25 14:33:05 +01:00
Jacob Tobiasz
13d24369cb
Add a basic add an attribute mechanism 2024-02-25 14:33:04 +01:00
Jacob Tobiasz
83bb8a1b7d
Resolve conflicts between 2.0 and bootstrap-admin-panel 2024-02-25 13:19:22 +01:00
Jacob Tobiasz
4906081bd9
Install the sylius/twig-hooks package 2024-02-08 16:49:53 +01:00
Jan Goralski
2bb4e0d26c
[Maintenance][Behat] Autoload calendar contexts into container 2024-02-02 15:55:39 +01:00
Jacob Tobiasz
544b0766d1
Resolve conflicts between 1.13 and 2.0 2024-02-01 08:22:59 +01:00
Jan Góralski
e688d18fec
minor #15738 Use the new State Machine abstraction (jakubtobiasz)
This PR was merged into the 1.13 branch.

Discussion
----------

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



Commits
-------
  Use the new State Machine abstraction
  Fix invalid workflow event names
  Fix retrieving the checkout state in the validator
  Reverse the sign next to the Symfony Workflow events listeners priorities
  Remove the non-existing config key
  Fix the StateMachine-related tests
  Fix CI
  Remove a reference to Sylius Resource
  Fix handling transitions inside the WinzouStateMachine
  Add testing the state machine adapter in the CI
  Fix the deprecation trigger descriptions
  Remove redundant phpdocs about thrown exception
  Remove redundant sm.configs parameter passed to the winzou adapter
2024-01-31 21:05:51 +01:00
Jacob Tobiasz
ab217352ee
Add testing the state machine adapter in the CI 2024-01-26 14:48:56 +01:00
Kamil Grygierzec
a3dc54aa91
Add default locale parameter to core 2024-01-26 13:15:46 +01:00
Grzegorz Sadowski
1ea9b54b2d
Merge branch '1.13' into 2.0
* 1.13:
  Update upgrade file
  [Admin] Add Sylius certification to menu
  [UpgradeFile] update upgrade file
  move parameters to separate file
  Add clear cache command
  Improve locale setup command
  [Behat] Change to assert error message
  [ApiBundle] Remove unnecessary checking from validators
  [ApiBundle] Remove nullable from ChangeShopUserPassword constructor
  [ApiBundle] Remove nullable from AddProductReview constructor
  [ApiBundle] Remove nullable from AddItemToCart and ChangeItemQuantityInCart constructors
  [CS][DX] Refactor
  Change the COMPOSER_ROOT_VERSION for the CI
  Update the branch-aliases and inter-dependencies versions
2024-01-25 14:42:53 +01:00
Kamil Grygierzec
be811eee74
move parameters to separate file 2024-01-24 10:45:16 +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
Jacob Tobiasz
97fef09fa7
Extract StateMachine abstraction into its own package 2024-01-15 15:40:07 +01:00
Jacob Tobiasz
3bccc3ee7d
Resolve conflicts between 2.0 and bootstrap-admin-panel 2024-01-04 16:23:43 +01:00
Jacob Tobiasz
8f5a40215a
Resolve conflicts between 1.13 and 2.0 2023-12-24 08:39:59 +01:00
Kamil Grygierzec
6235621ac2
Move validation groups parameters to appropriate bundle configs 2023-12-21 10:30:03 +01:00
Grzegorz Sadowski
ae9ba0fe30
Merge branch '2.0' into api-platform-3
* 2.0: (172 commits)
  [Admin] Change name of official support section in menu and adjust translations
  Add all translations & change label
  Add business support CTA to admin panel
  [PromotionBundle] Add prefix to validation groups for promotion action/rule
  [PromotionBundle][PromotionRule] Add available type to validation message
  [PromotionBundle][PromotionAction] Add available type to validation message
  Update upgrade file
  [PromotionBundle] Split PromotionRuleValidator to PromotionRuleGroupValidator and PromotionRuleTypeValidator
  [PromotionBundle] Split PromotionActionValidator to PromotionActionGroupValidator and PromotionActionTypeValidator
  Add prefix sylius_ to validation groups
  Update upgrade file
  [PromotionBundle] Remove constraints from FormType to avoid double constraints
  [PromotionBundle] Move logic from PromotionRuleGroupValidator to PromotionRuleValidator
  [PromotionBundle] Move logic from PromotionActionGroupValidator to PromotionActionValidator
  [PromotionBundle] Add parameters validation groups for promotion action and promotion rule
  [ECS] Apply types order changes
  [ECS] Add union types ordering rule
  [ECS] Apply ecs fixes
  [ChannelsTest] use inArray to check locales
  [ApiBundle] Add contract tests for ProductTaxon resource
  ...
2023-12-15 14:45:38 +01:00
Grzegorz Sadowski
fe77e9782d
Merge branch '1.13' into 2.0
* 1.13:
  [PromotionBundle] Add prefix to validation groups for promotion action/rule
  [PromotionBundle][PromotionRule] Add available type to validation message
  [PromotionBundle][PromotionAction] Add available type to validation message
  Update upgrade file
  [PromotionBundle] Split PromotionRuleValidator to PromotionRuleGroupValidator and PromotionRuleTypeValidator
  [PromotionBundle] Split PromotionActionValidator to PromotionActionGroupValidator and PromotionActionTypeValidator
  Add prefix sylius_ to validation groups
  Update upgrade file
  [PromotionBundle] Remove constraints from FormType to avoid double constraints
  [PromotionBundle] Move logic from PromotionRuleGroupValidator to PromotionRuleValidator
  [PromotionBundle] Move logic from PromotionActionGroupValidator to PromotionActionValidator
  [PromotionBundle] Add parameters validation groups for promotion action and promotion rule
2023-12-15 14:10:11 +01:00
Wojdylak
1494fce8fe
[PromotionBundle] Add prefix to validation groups for promotion action/rule 2023-12-14 10:05:45 +01:00
Wojdylak
c021e3e3a1
Add prefix sylius_ to validation groups 2023-12-14 08:49:46 +01:00
Wojdylak
e530c7d9ca
[PromotionBundle] Add parameters validation groups for promotion action and promotion rule 2023-12-14 08:49:44 +01:00
Jacob Tobiasz
e2cec8b0a0
Resolve conflicts between 1.13 and 2.0 2023-12-06 17:42:41 +01:00
Kamil Grygierzec
ae860bde19
Define gateway config validation groups by parameters 2023-12-06 13:21:27 +01:00
Kamil Grygierzec
f91d64b786
Rename AdminResetPassword uri from reset-password-requests to reset-password 2023-10-26 08:52:31 +02:00
Jacob Tobiasz
03efe82baa
Make the taxon tree a live component 2023-10-20 12:15:52 +02:00
Grzegorz Sadowski
9d5a1b3604
[API] Bump APIP to 3.1 and configure admin authentication 2023-09-28 15:10:20 +02:00
Rafikooo
567b599a40
Upmerge 1.13 into 2.0 2023-09-25 23:31:01 +02:00
Jacob Tobiasz
430158aeef
Fix action buttons on the index page 2023-09-25 08:51:36 +02:00
Jacob Tobiasz
7a84255b6d
Add support for Twig Components in Template Events 2023-09-22 10:28:20 +02:00
Jacob Tobiasz
0d9699f287
Remove left-overs after sylius/calendar in the root test app 2023-09-21 13:34:59 +02:00
Jacob Tobiasz
1ee39efc70
Remove the redundant liip_imagine.yaml 2023-09-21 07:52:58 +02:00
Mateusz Zalewski
e9100a4de3
Change default Liip loader and resolver names 2023-09-21 07:52:42 +02:00
Jacob Tobiasz
d55679c1ec
Add a missing configuration for the test Sylius app 2023-09-17 09:04:26 +02:00