Commit graph

32863 commits

Author SHA1 Message Date
Michał Pysiak
b847995f96
Add tests 2024-10-29 10:44:59 +01:00
Michał Pysiak
74be2d9351
Add allowed types configuration and change validation 2024-10-29 10:44:59 +01:00
Michał Pysiak
23f949521a
Remove enshrined/svg-sanitize dependency 2024-10-29 10:44:59 +01:00
Rafał Jaskulski
1bb00f1f88
[Core][Promotion] Add missing type to AsCatalogPromotionPriceCalculator attribute + add missing AsCatalogPromotionVariantChecker attribute (#17356)
| Q               | A
|-----------------|-----
| Branch?         | 1.14
| Bug fix?        | no
| New feature?    | yes
| BC breaks?      | no
| Deprecations? | no<!-- don't forget to update the UPGRADE-*.md file
-->
| Related tickets | 
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 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
-->
2024-10-29 10:43:04 +01:00
Grzegorz Sadowski
8bf68a0bab
[Promotion] Add missing AsCatalogPromotionVariantChecker attribute 2024-10-28 15:30:00 +01:00
Grzegorz Sadowski
0f54e2e507
[Core] Add missing type to AsCatalogPromotionPriceCalculator attribute 2024-10-28 15:01:21 +01:00
Grzegorz Sadowski
f1f6dbbade
Merge branch '1.13' into 1.14
* 1.13:
  [API] Apply statistics constraints sequentially to fix 500 error when using an undefined parameter
  Fix OrderAdjustmentsRecalculationTest
2024-10-28 13:45:15 +01:00
Kamil Grygierzec
c7a54a169a
bugfix #17353 Fix OrderAdjustmentsRecalculationTest + apply API statistics constraints sequentially (GSadee)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 1.13
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no<!-- don't forget to update the UPGRADE-*.md file -->
| Related tickets | 
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
 - Features, removing deprecations and BC breaks must be submitted against the 2.0 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
-------
  Fix OrderAdjustmentsRecalculationTest
  [API] Apply statistics constraints sequentially to fix 500 error when using an undefined parameter
2024-10-28 13:17:01 +01:00
Grzegorz Sadowski
5969f0aa1d
[API] Apply statistics constraints sequentially to fix 500 error when using an undefined parameter 2024-10-28 12:33:59 +01:00
Grzegorz Sadowski
d37c6a8947
Fix OrderAdjustmentsRecalculationTest 2024-10-28 11:15:13 +01:00
Grzegorz Sadowski
146b1026fd
[AdminBundle] Add base form type for ShopUserType and PromotionCouponGeneratorInstructionType (#17337)
| Q               | A
|-----------------|-----
| Branch?         | 1.14
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | #17336
| License         | MIT
2024-10-28 11:08:55 +01:00
Karol
273f2b37e2
minor #17342 [Admin] Deprecate NotificationController (GSadee)
This PR was merged into the 1.14 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 1.14
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   |yes <!-- don't forget to update the UPGRADE-*.md file -->
| Related tickets | related to #17340 and #17341 
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
 - Features, removing deprecations and BC breaks must be submitted against the 2.0 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
-------
  [Admin] Deprecate NotificationController
2024-10-25 15:26:11 +02:00
Grzegorz Sadowski
c006720f79
[Admin] Deprecate NotificationController 2024-10-25 14:29:30 +02:00
Wojdylak
06bc2daea9
[AdminBundle] Add base form type for ShopUserType 2024-10-25 12:22:40 +02:00
Wojdylak
354deae356
[AdminBundle] Add base form type for PromotionCouponGeneratorInstructionType 2024-10-25 12:22:32 +02:00
Grzegorz Sadowski
60919f542c
chore(doc): add naming changes for plugin skeleton (#17281)
Add tests kernel and console naming changes.

| Q               | A
|-----------------|-----
| Branch?         |  1.14 
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations? | no<!-- don't forget to update the UPGRADE-*.md file
-->
| Related tickets | fixes #X, partially #Y, mentioned in #Z
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 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
-->
2024-10-25 07:11:51 +02:00
Rafał Jaskulski
f37f0975a7
Deprecate exceptions from ApiBundle (#17320)
| Q               | A
|-----------------|-----
| Branch?         | 1.14 <!-- see the comment below -->
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations? | yes <!-- don't forget to update the UPGRADE-*.md file
-->
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 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
-->
2024-10-24 09:27:04 +02:00
Kamil Grygierzec
680d5a31c1
Update upgrade file 2024-10-24 08:50:42 +02:00
Kamil Grygierzec
ee14268654
Deprecate exceptions from ApiBundle 2024-10-24 08:50:42 +02:00
Jan Góralski
35171db6f6
minor #17318 [API] Deprecate legacy_error_handling and serialization_groups configuration parameters (GSadee)
This PR was merged into the 1.14 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 1.14
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | yes <!-- don't forget to update the UPGRADE-*.md file -->
| Related tickets | related to #17317 and https://github.com/Sylius/Sylius/pull/17309#pullrequestreview-2388183159
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
 - Features, removing deprecations and BC breaks must be submitted against the 2.0 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] Deprecate legacy_error_handling and serialization_groups configuration parameters
2024-10-23 16:38:17 +02:00
Grzegorz Sadowski
44a221daeb
Merge branch '1.13' into 1.14
* 1.13:
  [API][PHPSpec] Remove unused arguments from ImageNormalizerSpec
2024-10-23 16:24:07 +02:00
Grzegorz Sadowski
915a3a7c8d
minor #17321 [API][PHPSpec] Remove unused arguments from ImageNormalizerSpec (GSadee)
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 | fixes https://github.com/Sylius/Sylius/pull/16601 and builds on 2.0 😅 
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
 - Features, removing deprecations and BC breaks must be submitted against the 2.0 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
-------

a699891368 [API][PHPSpec] Remove unused arguments from ImageNormalizerSpec
2024-10-23 16:23:53 +02:00
Grzegorz Sadowski
a699891368
[API][PHPSpec] Remove unused arguments from ImageNormalizerSpec 2024-10-23 16:18:38 +02:00
Grzegorz Sadowski
fa5888e553
refactor #17313 [ApiBundle] Deprecate PaymentMethodFilter and ShippingMethodFilter classes (Wojdylak)
This PR was merged into the 1.14 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 1.14
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | yes
| Related tickets | #17290
| License         | MIT

Commits
-------

1737b2c70b [ApiBundle] Deprecate PaymentMethodFilter and ShippingMethodFilter classes
2024-10-23 15:58:09 +02:00
Grzegorz Sadowski
83366dc7a2
Merge branch '1.13' into 1.14
* 1.13:
  [ApiBundle][Image] Prevent resolving non-serialized image paths
2024-10-23 15:44:48 +02:00
Grzegorz Sadowski
89b38a74df
bug #16601 [ApiBundle][Image] Prevent resolving non-serialized image paths (Wojdylak)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 1.13
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | fixes #16294
| License         | MIT

Commits
-------

fa45e3e69c [ApiBundle][Image] Prevent resolving non-serialized image paths
2024-10-23 15:44:32 +02:00
Grzegorz Sadowski
be2da11193
[API] Deprecate legacy_error_handling and serialization_groups configuration parameters 2024-10-23 15:36:42 +02:00
Wojdylak
1737b2c70b
[ApiBundle] Deprecate PaymentMethodFilter and ShippingMethodFilter classes 2024-10-23 14:00:24 +02:00
Wojdylak
fa45e3e69c
[ApiBundle][Image] Prevent resolving non-serialized image paths 2024-10-23 12:28:14 +02:00
Grzegorz Sadowski
33e6f0d150
refactor #17306 [All] Unification of services names (Wojdylak)
This PR was merged into the 1.14 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 1.14
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | #17093
| License         | MIT


Commits
-------

41f3d0226a [All] Unification of services names
5190792c98 Minor improvement
3da243664a Unification of services names
2024-10-23 12:17:07 +02:00
Wojdylak
3da243664a
Unification of services names 2024-10-23 10:59:27 +02:00
Wojdylak
5190792c98
Minor improvement 2024-10-23 10:50:41 +02:00
Wojdylak
41f3d0226a
[All] Unification of services names 2024-10-23 10:50:41 +02:00
Grzegorz Sadowski
812c0d2622
[CS][DX] Refactor (#17303)
This PR has been generated automatically.
For more details see
[refactor.yaml](/Sylius/Sylius/blob/1.12/.github/workflows/refactor.yaml).
2024-10-23 08:39:12 +02:00
Sylius Bot
05892bb55a [CS][DX] Refactor 2024-10-23 02:29:22 +00:00
Grzegorz Sadowski
2857100fac
minor #17297 Add info about trademark and logo to bundles and components in 1.14 (damonsson)
This PR was merged into the 1.14 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 1.14
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no<!-- don't forget to update the UPGRADE-*.md file -->
| Related tickets | related to #17255 
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
 - Features, removing deprecations and BC breaks must be submitted against the 2.0 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
-------

9ae0eb25a3 add info about trademark and logo
2024-10-22 14:57:33 +02:00
Grzegorz Sadowski
20c781f8cc
Merge branch '1.13' into 1.14
* 1.13:
  [Docs] Refresh Release Cycle
  [CoreBundle] Add missing license file
2024-10-22 14:55:00 +02:00
Grzegorz Sadowski
f14e0bcb76
minor #17299 [Docs] Refresh Release Cycle (CoderMaggie)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 1.13
| License         | MIT

The _around 2.0_ release cycle updates 🫡 


Commits
-------

6f4859528a [Docs] Refresh Release Cycle
2024-10-22 14:53:14 +02:00
Kamil Grygierzec
5d3eacc856
minor #17298 [CoreBundle] Add missing license file (GSadee)
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<!-- don't forget to update the UPGRADE-*.md file -->
| Related tickets | 
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
 - Features, removing deprecations and BC breaks must be submitted against the 2.0 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
-------
  [CoreBundle] Add missing license file
2024-10-22 14:52:24 +02:00
Magdalena Sadowska
6f4859528a [Docs] Refresh Release Cycle 2024-10-22 14:48:35 +02:00
Grzegorz Sadowski
8e6955ee96
minor #16096 Adding an index for the address_log_entries (TheMilek)
This PR was merged into the 1.14 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.14    |
| Bug fix?        | no                                                       |
| New feature?    | no                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no |
| Related tickets | -                    |
| License         | MIT                                                          |

## What's inside
Adding indicies to the `address_order_log_entry`.

## Why?
I don't know how exactly gedomo's loggable trait works but appereantly it querries the current version for an object like this:
```sql
SELECT MAX(s?_.version) AS sclr_? 
FROM sylius_address_log_entries s?_ 
WHERE s?_.object_id = ? AND s?_.object_class = ?
```

Which is very expensive if you have a lot of entries.

Commits
-------

9c042d0bcd Add indexes to address log entry
3cb993c48f Add migrations for mysql
a67ed7a089 Add migrations for postgres
2024-10-22 14:19:13 +02:00
Grzegorz Sadowski
b678eedf85
refactor #17292 [ShippingBundle] Unification of services names (Wojdylak)
This PR was merged into the 1.14 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 1.14
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | #17274
| License         | MIT


Commits
-------

f05e7c22e5 [ShippingBundle] Unification of services names
2024-10-22 14:13:18 +02:00
Grzegorz Sadowski
a4fcacaed9
[CoreBundle] Add missing license file 2024-10-22 14:07:50 +02:00
damonsson
9ae0eb25a3
add info about trademark and logo 2024-10-22 13:42:48 +02:00
Wojdylak
f05e7c22e5
[ShippingBundle] Unification of services names 2024-10-22 10:27:51 +02:00
Grzegorz Sadowski
421ce3d3d1
refactor #17274 [CoreBundle] Unification of services names - fix (Wojdylak)
This PR was merged into the 1.14 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 1.14
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | yes
| Related tickets | #17269
| License         | MIT

Commits
-------

fcc978383f [CoreBundle] Unification of services names - fix
7d87582682 Update upgrade file
a679ea31c2 Minor improvement
4017b5d331 [CoreBundle] Unification of services names - fix
66c1902fa0 Update upgrade file
a6ac2c00de [CoreBundle] Unification of services names
f1842144b5 [ApiBundle] Deprecates PathHiderDocumentationModifier
2024-10-22 08:10:07 +02:00
Thomas Decaux
4f936a7ad9
chore(doc): add naming changes for plugin skeleton
Add tests kernel and console naming changes.
2024-10-21 14:26:42 +02:00
Grzegorz Sadowski
6fd4137585
[CS][DX] Refactor (#17273)
This PR has been generated automatically.
For more details see
[refactor.yaml](/Sylius/Sylius/blob/1.12/.github/workflows/refactor.yaml).
2024-10-21 12:12:01 +02:00
Wojdylak
f1842144b5
[ApiBundle] Deprecates PathHiderDocumentationModifier 2024-10-21 12:00:35 +02:00
Wojdylak
a6ac2c00de
[CoreBundle] Unification of services names 2024-10-21 11:55:17 +02:00