Commit graph

37244 commits

Author SHA1 Message Date
Francis Hilaire
c5ae6e88aa
Alphabetical order
Co-authored-by: Grzegorz Sadowski <sadowskigp@gmail.com>
2024-10-25 09:11:23 +02:00
Francis Hilaire
9abf49e1b5
Add PostGreSQL migration 2024-10-24 23:26:05 +02:00
Francis Hilaire
ab5e11450d
Default to 1 2024-10-24 20:59:04 +02:00
Francis Hilaire
54e2fd6c88
Add DoctrineStorage to composer require checker 2024-10-24 20:51:59 +02:00
Francis Hilaire
c3814cf864
Display use_payum as a checkbox in the admin 2024-10-24 20:38:48 +02:00
Francis Hilaire
6717d33888
Simplify data access 2024-10-24 20:38:16 +02:00
Francis Hilaire
a59329b30d
Add extension to display the new use_payum field 2024-10-24 20:37:44 +02:00
Francis Hilaire
e984b6a692
Fix useless added class 2024-10-24 20:36:04 +02:00
Francis Hilaire
e2264b2f2b
Filter GatewayConfig during Payum factories 2024-10-24 20:35:41 +02:00
Francis Hilaire
4280ae0f2c
Add use_payum flag to the GatewayConfig 2024-10-24 20:34:39 +02:00
Grzegorz Sadowski
3466cbab10
Merge branch '1.14' into 2.0
* 1.14:
  Update upgrade file
  Deprecate exceptions from ApiBundle
2024-10-24 14:15:48 +02:00
Grzegorz Sadowski
547ac1a795
Services IDs Unification (#17324)
| Q               | A
|-----------------|-----
| Branch?         | 2.0 <!-- 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

<!--
 - 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 13:24:07 +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
Grzegorz Sadowski
4daef5e6d0
Merge branch '1.14' into 2.0
* 1.14:
  [API] Deprecate legacy_error_handling and serialization_groups configuration parameters
2024-10-24 09:03:47 +02:00
Grzegorz Sadowski
6192402fb2
[CS][DX] Refactor (#17325)
This PR has been generated automatically.
For more details see
[refactor.yaml](/Sylius/Sylius/blob/1.12/.github/workflows/refactor.yaml).
2024-10-24 08:53:07 +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
Grzegorz Sadowski
bec423f5bd
Regenerate migrations (#17305)
| Q               | A
|-----------------|-----
| Branch?         | 2.0 <!-- 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

<!--
 - 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
-->
the same as https://github.com/Sylius/Sylius/pull/16933, but with
removed duplicated migration from 1.14
2024-10-24 07:36:24 +02:00
Grzegorz Sadowski
9a346d0068
Update src/Sylius/Bundle/CoreBundle/Resources/config/services/catalog_promotion/calculators.xml 2024-10-24 06:46:28 +02:00
Sylius Bot
59017c0b43 [CS][DX] Refactor 2024-10-24 02:26:03 +00:00
Rafikooo
4fd542e7bf
[Core] Improve autowiring for catalog promotion services 2024-10-24 03:56:40 +02:00
Rafikooo
fd6927d297
[StateMachine] Invert service ids declaration 2024-10-24 00:57:03 +02:00
Rafikooo
c005362714
[Core] Change service id in the test class 2024-10-23 22:16:33 +02:00
Jan Goralski
942b32f78a
Fix default position of product image in postgres migration 2024-10-23 18:33:54 +02:00
Jan Goralski
a1daa3e5e1
Add conditional migrations for the messenger table when needed 2024-10-23 18:33:53 +02:00
Jan Góralski
8c6922f44a
minor #17317 [API] Remove legacy serialization_groups configuration parameters (GSadee)
This PR was merged into the 2.0 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | yes
| Deprecations?   | no<!-- don't forget to update the UPGRADE-*.md file -->
| Related tickets | fixes 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] Remove legacy_error_handling and serialization_groups configuration parameters
2024-10-23 16:49:29 +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
b642278e77
[Maintenance] Remove drivers binaries (#17322)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | kinda
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | -
| License         | MIT

Apparently these got mistakenly committed during an upmerge 💃
2024-10-23 16:36:13 +02:00
Grzegorz Sadowski
f9ea7ee7e0
Merge branch '1.14' into 2.0
* 1.14:
  [API][PHPSpec] Remove unused arguments from ImageNormalizerSpec
2024-10-23 16:24:11 +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
Jan Goralski
4f9bc4706e
[Maintenance] Remove drivers binaries 2024-10-23 16:20:49 +02:00
Grzegorz Sadowski
a699891368
[API][PHPSpec] Remove unused arguments from ImageNormalizerSpec 2024-10-23 16:18:38 +02:00
Grzegorz Sadowski
3319bd2fa6
[ApiBundle] NonArchivedExtension - remove the parameter and use the ArchivableInterface as reference to check resources (#17315)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | n/a
| License         | MIT
2024-10-23 16:05:45 +02:00
Grzegorz Sadowski
95436b57c3
[ApiBundle] Apply default public setting for filters (#17314)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | https://github.com/Sylius/Sylius/pull/17290
| License         | MIT
2024-10-23 16:00:22 +02:00
Grzegorz Sadowski
9d665e8c55
Merge branch '1.14' into 2.0
* 1.14:
  [ApiBundle] Deprecate PaymentMethodFilter and ShippingMethodFilter classes
2024-10-23 15:58:53 +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
3660f949b5
[Maintenance] Add info about private services to UPGRADE.md (#17312)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no/
| Deprecations?   | no
| Related tickets | https://github.com/Sylius/Sylius/pull/17276
| 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-23 15:46:23 +02:00
Grzegorz Sadowski
f538917c4b
Merge branch '1.14' into 2.0
* 1.14:
  [ApiBundle][Image] Prevent resolving non-serialized image paths
2024-10-23 15:44:53 +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
Grzegorz Sadowski
4cde499829
[API] Remove legacy_error_handling and serialization_groups configuration parameters 2024-10-23 15:36:14 +02:00
Kamil Grygierzec
ff82158f70
[Composer] Bump symfonycasts/dynamic-forms dependency and put it in appropriate bundles (#17311)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations? | no<!-- don't forget to update the UPGRADE-*.md file
-->
| Related tickets | replaces #17296 
| 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-23 15:07:41 +02:00
Wojdylak
1f5b20823c
[ApiBundle] NonArchivedExtension - remove the parameter and use the ArchivableInterface as reference to check resources 2024-10-23 14:45:51 +02:00
Wojdylak
05ed40d306
Update upgrade file 2024-10-23 14:13:52 +02:00
Wojdylak
4e18ff7822
[ApiBundle] Apply default public setting for filters 2024-10-23 14:13:37 +02:00
Wojdylak
1737b2c70b
[ApiBundle] Deprecate PaymentMethodFilter and ShippingMethodFilter classes 2024-10-23 14:00:24 +02:00
Grzegorz Sadowski
37951a0c08
[UPMERGE] 1.14 -> 2.0 (#17310)
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.14 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-10-23 13:28:41 +02:00
Kamil Grygierzec
7f0d51ceca
Fix tests 2024-10-23 13:28:03 +02:00