Commit graph

31466 commits

Author SHA1 Message Date
Jacob Tobiasz
8be6ad1500
Use serialized name when displaying an error about a wrong request field type 2023-12-07 15:39:25 +01:00
Jacob Tobiasz
4b0bc53732
minor #15614 [Admin][UI] Fix csrf error breaking admin form (NoResponseMate)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12 |
| Bug fix?        | kinda                                                       |
| New feature?    | no                                                       |
| BC breaks?      | no |
| Deprecations?   | no |
| Related tickets | fixes #15606                      |
| License         | MIT                                                          |

![Screenshot 2023-12-07 at 13 09 32](https://github.com/Sylius/Sylius/assets/9448101/aeef1c28-bed4-4fad-a796-87e78946edcc)


Commits
-------
  [Admin][UI] Fix csrf error breaking admin form
2023-12-07 14:26:54 +01:00
Jan Goralski
a0b5b393c5
[Admin][UI] Fix csrf error breaking admin form 2023-12-07 13:10:26 +01:00
Jan Góralski
9a49368da6
minor #15610 JavaScriptTestHelper: Interval Increase (Rafikooo)
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                                                          |

This PR updates the interval between each test browser element reaching attempt from `0.1s` to `1s`.

Commits
-------
  [Behat] Change JavaScriptTestHelper interval from 0.1s to 1s
2023-12-07 13:01:30 +01:00
Rafikooo
38d2564cc3 [ECS] Apply ecs fixes 2023-12-07 12:58:24 +01:00
Jan Góralski
4142e21f4f
Bump all Symfony dependencies' versions to ^6.4 (#15612)
| Q | A |

|-----------------|--------------------------------------------------------------|
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | 
| License         | MIT
2023-12-07 09:45:56 +01:00
Jacob Tobiasz
349dd3eabe
[Maintenance] Remove leftover deprecations (#15386) 2023-12-07 09:45:01 +01:00
Jacob Tobiasz
3b92dd813d
Propagate root composer.json's versions to packages 2023-12-07 09:14:38 +01:00
Jan Goralski
05c038c205
[Behat] Remove deprecations 2023-12-07 09:14:37 +01:00
Jan Goralski
4f6f25d65a
[Core] Remove deprecations 2023-12-07 09:14:37 +01:00
Jan Goralski
163a7eeed5
[Product] Remove deprecations 2023-12-07 09:14:36 +01:00
Jan Goralski
ca8e24abee
[Taxonomy] Remove deprecations 2023-12-07 09:14:36 +01:00
Jan Goralski
0c12d06f6a
[UI] Remove deprecations 2023-12-07 09:14:36 +01:00
Jan Goralski
ae7841b044
[Shipping] Remove deprecations 2023-12-07 09:14:36 +01:00
Jan Goralski
7d0508d948
[Order] Remove deprecations 2023-12-07 09:14:36 +01:00
Jacob Tobiasz
5d2ec8fb5b
Bump all Symfony dependencies' versions to ^6.4 2023-12-07 09:13:46 +01:00
Jan Goralski
49c59617e7
[Locale] Remove deprecations 2023-12-07 09:11:39 +01:00
Jan Goralski
0f09a854b1
[Addressing] Remove deprecations 2023-12-07 09:11:39 +01:00
Jan Góralski
6351f82b89
minor #15611 Validate Paypal express checkout sandbox field type (TheMilek)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13 <!-- see the comment below -->                  |
| Bug fix?        | yes                                                       |
| New feature?    | no                                                      |
| BC breaks?      | no                                                       |
| 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
-->
It is minor fix to https://github.com/Sylius/Sylius/pull/15549 PR


Commits
-------
  Validate Paypal express checkout sandbox field type
2023-12-07 09:03:42 +01:00
Kamil Grygierzec
b2c9fa2f18
Validate Paypal express checkout sandbox field type 2023-12-07 00:30:25 +01:00
Rafikooo
66116329b1
[Behat] Change JavaScriptTestHelper interval from 0.1s to 1s 2023-12-06 23:38:44 +01:00
Jan Goralski
4816d273c0
[Maintenance][API] Marking more inapplicable scenarios with no-api 2023-12-06 18:50:24 +01:00
Jacob Tobiasz
9d419887b4
[UPMERGE] 1.13 -> 2.0 (#15607) 2023-12-06 18:42:54 +01:00
Jacob Tobiasz
e56bcb536a
Fix CalendarContext service's name 2023-12-06 18:16:03 +01:00
Jacob Tobiasz
2e9be89ca9
Revert few symfony/* 6.4 packages to 6.3 ones 2023-12-06 18:03:56 +01:00
Jacob Tobiasz
c88f00a86c
Regenerate the baseline for PHPStan 2023-12-06 18:03:56 +01:00
Jacob Tobiasz
e2cec8b0a0
Resolve conflicts between 1.13 and 2.0 2023-12-06 17:42:41 +01:00
Jan Góralski
ff7ba120ac
minor #15581 [API] Resolve update of translations (Wojdylak)
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 | N/A
| License         | MIT

#15535

Commits
-------
  [AttributeBundle] Add unique entity constraint to AttributeTranslation
  [PaymentBundle] Add unique entity constraint to PaymentMethodTranslation
  [ProductBundle] Add unique entity constraint to ProductAssociationTypeTranslation
  [ProductBundle] Add unique entity constraint to ProductOptionTranslation and ProductOptionValueTranslation
  [ProductBundle] Add unique entity constraint to ProductTranslation
  [ProductBundle] Add unique entity constraint to ProductVariantTranslation
  [PromotionBundle] Add unique entity constraint to CatalogPromotionTranslation
  [PromotionBundle] Add unique entity constraint to PromotionTranslation
  [ShippingBundle] Add unique entity constraint to ShippingMethodTranslation
  [TaxonBundle] Add unique entity constraint to TaxonTranslation
  [Behat] Rename language to localeCode for improved clarity
  [Api][Test] Improve spec test of throwing an exception if locale is not the same as key
  Change message of unique entity constraint of translations
  Rename unique constraint error message in translation
2023-12-06 14:39:25 +01:00
Jan Góralski
f9fac11013
minor #15549 Validate payment method's gateway configuration (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?    | yes                                                       |
| BC breaks?      | no                                                       |
| 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
-->
Continuation of https://github.com/Sylius/Sylius/pull/15530

Commits
-------
  Validate gateway configuration
  [Behat] Adjust tests
  Early return the unexisting validation groups
  Define gateway config validation groups by parameters
  Remove constraints from gateway factory forms
  Use custom validator for only checking existing factories
  Add GatewayConfigGroupsGenerator and use it for validation groups delivery
  Update upgrade file
2023-12-06 14:25:53 +01:00
Jacob Tobiasz
9c3ce08239
minor #15561 [API]Cover generate promotion coupons (Wojdylak)
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 | N/A
| License         | MIT

Based on #15539

![image](https://github.com/Sylius/Sylius/assets/33687392/d9181254-5290-40b1-abf5-5f5f5fe7256f)


Commits
-------
  [ApiBundle] Add generate promotion coupons action
  [ApiBundle][PromotionCoupon] Add documentation do admin_generate
  [ApiBundle][Promotion] Add FailedGenerationException to status code mapping
  [ApiBundle] Remove ObjectDenormalizer
  [ApiBundle][Promotion] Change subresource operation path
  [ApiBundle][Promotion] Rename property of GeneratePromotionCoupon
  [ApiBundle][PromotionCoupon] Flattening structure for coupon generation
  [ApiBundle][Promotion] Rename group from promotion_coupon:update to promotion_coupon:generate
  [PromotionBundle] Split PromotionCouponGeneratorInstructionInterface class into separate getter and setter interface
  [ApiBundle] Change message of PromotionNotFoundException
  [PromotionBundle] Rename PromotionCouponGeneratorInstructionReadInterface to ReadablePromotionCouponGeneratorInstructionInterface
  Fixed indentation in PromotionCouponGenerator class
2023-12-06 14:08:01 +01:00
Wojdylak
8171019f6a
Fixed indentation in PromotionCouponGenerator class 2023-12-06 14:06:10 +01:00
Wojdylak
a61c57b37c
Rename unique constraint error message in translation 2023-12-06 13:56:12 +01:00
Wojdylak
faddd948d5
Change message of unique entity constraint of translations 2023-12-06 13:56:11 +01:00
Wojdylak
484431ec3f
[Api][Test] Improve spec test of throwing an exception if locale is not the same as key 2023-12-06 13:56:11 +01:00
Wojdylak
59366e2e5c
[Behat] Rename language to localeCode for improved clarity 2023-12-06 13:56:11 +01:00
Wojdylak
7e9f520c56
[TaxonBundle] Add unique entity constraint to TaxonTranslation 2023-12-06 13:56:10 +01:00
Wojdylak
8cb2c26b33
[ShippingBundle] Add unique entity constraint to ShippingMethodTranslation 2023-12-06 13:56:10 +01:00
Wojdylak
aa92cbaaf3
[PromotionBundle] Add unique entity constraint to PromotionTranslation 2023-12-06 13:56:10 +01:00
Wojdylak
a86b10d042
[PromotionBundle] Add unique entity constraint to CatalogPromotionTranslation 2023-12-06 13:56:10 +01:00
Wojdylak
1579fa759b
[ProductBundle] Add unique entity constraint to ProductVariantTranslation 2023-12-06 13:56:09 +01:00
Wojdylak
5d97520be3
[ProductBundle] Add unique entity constraint to ProductTranslation 2023-12-06 13:56:09 +01:00
Wojdylak
05261ace11
[ProductBundle] Add unique entity constraint to ProductOptionTranslation and ProductOptionValueTranslation 2023-12-06 13:56:09 +01:00
Wojdylak
45ed0d88bd
[ProductBundle] Add unique entity constraint to ProductAssociationTypeTranslation 2023-12-06 13:56:08 +01:00
Wojdylak
12f3d3e8eb
[PaymentBundle] Add unique entity constraint to PaymentMethodTranslation 2023-12-06 13:56:08 +01:00
Wojdylak
dd72face51
[AttributeBundle] Add unique entity constraint to AttributeTranslation 2023-12-06 13:56:08 +01:00
Kamil Grygierzec
11a3c53e14
Update upgrade file 2023-12-06 13:21:27 +01:00
Kamil Grygierzec
b4189a39d2
Add GatewayConfigGroupsGenerator and use it for validation groups delivery 2023-12-06 13:21:27 +01:00
Kamil Grygierzec
9f2f190675
Use custom validator for only checking existing factories 2023-12-06 13:21:27 +01:00
Kamil Grygierzec
f03adba796
Remove constraints from gateway factory forms 2023-12-06 13:21:27 +01:00
Kamil Grygierzec
ae860bde19
Define gateway config validation groups by parameters 2023-12-06 13:21:27 +01:00