Commit graph

37525 commits

Author SHA1 Message Date
Michał Pysiak
a7e9206368
Skip phpunit tests on mariadb (for now) 2024-10-25 10:18:08 +02:00
Michał Pysiak
a17bea459f
Fix spec 2024-10-25 10:18:08 +02:00
Michał Pysiak
23bf0bacf3
Fix conflict error 2024-10-25 10:18:08 +02:00
Michał Pysiak
ab1059eefd
Fix validation responses 2024-10-25 10:18:08 +02:00
Michał Pysiak
06ef4fab0e
Fix ApiBundle unit tests 2024-10-25 10:18:08 +02:00
Michał Pysiak
7559724f2f
Fix spec errors
# Conflicts:
#	src/Sylius/Behat/spec/Service/Converter/IriConverterSpec.php
#	src/Sylius/Bundle/ApiBundle/Doctrine/ORM/Filter/TaxonFilter.php
#	src/Sylius/Bundle/ApiBundle/spec/ApiPlatform/Routing/IriConverterSpec.php
#	src/Sylius/Bundle/ApiBundle/spec/Doctrine/ORM/Filter/TaxonFilterSpec.php
#	src/Sylius/Bundle/ApiBundle/spec/Serializer/Normalizer/ProductVariantNormalizerSpec.php
2024-10-25 10:18:08 +02:00
Michał Pysiak
1d1c287689
Bump APIP to 4.0 and Fix Put errors 2024-10-25 10:18:08 +02:00
Łukasz Chruściel
a47376099a
[Maintenance] Remove operation description 2024-10-25 10:18:08 +02:00
Łukasz Chruściel
b8121c14e3
[Maintenance] Override bugged service definition 2024-10-25 10:18:07 +02:00
Jan Góralski
7369192e04
minor #17334 [Maintenance] Install stable chrome on CI (mpysiak)
This PR was merged into the 2.0 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | n/a
| 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
-------
  Install stable chrome on CI
2024-10-25 10:17:22 +02:00
Francis Hilaire
6a160f417a
Fix wrong default value
Co-authored-by: Grzegorz Sadowski <sadowskigp@gmail.com>
2024-10-25 09:11:50 +02:00
Francis Hilaire
c5ae6e88aa
Alphabetical order
Co-authored-by: Grzegorz Sadowski <sadowskigp@gmail.com>
2024-10-25 09:11:23 +02:00
Michał Pysiak
c1358f98db
Install stable chrome on CI 2024-10-25 08:54:22 +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
Grzegorz Sadowski
2b94002ec6
Add info about thumbnails to the upgrade file (#17327) 2024-10-25 07:10:17 +02:00
Grzegorz Sadowski
0a17b3af0b
[CS][DX] Refactor (#17333)
This PR has been generated automatically.
For more details see
[refactor.yaml](/Sylius/Sylius/blob/1.12/.github/workflows/refactor.yaml).
2024-10-25 07:09:38 +02:00
Grzegorz Sadowski
2f2a946cf8
[Admin][Shop] Set http_method_override to true by default (#17264)
| Q               | A
|-----------------|-----
| Branch?         | 2.0 <!-- see the comment below -->
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| 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
-->
lets make it true by default, as it can cause some problems on plugins
2024-10-25 07:09:02 +02:00
Grzegorz Sadowski
c48ff87e7a
Fix missing icons (#17329)
![image](https://github.com/user-attachments/assets/c015ed78-7dcc-4198-ae9f-a843ccb351dd)
2024-10-25 07:06:59 +02:00
Grzegorz Sadowski
79dfa5fbd9
Extract common State processor for resource removal (#17319)
| Q               | A
|-----------------|-----
| Branch?         | 2.0 <!-- see the comment below -->
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| 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
-->
Ref: https://github.com/Sylius/Sylius/pull/17320
2024-10-25 07:05:29 +02:00
Sylius Bot
04880a59e7 [CS][DX] Refactor 2024-10-25 02:26:48 +00: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
Kamil Grygierzec
6660e1b1ef
Review fixes 2024-10-24 14:25:43 +02:00
Kamil Grygierzec
4785605db6
Correct province in use exception 2024-10-24 14:25:43 +02:00
Kamil Grygierzec
132d9d5a62
Update exception, remove unused ones 2024-10-24 14:25:43 +02:00
Kamil Grygierzec
760f06b809
Update Existing ResourceDeleteExceptionListener to prevent it from api context 2024-10-24 14:20:48 +02:00
Kamil Grygierzec
8e61e48580
Remove or update the existing state processors 2024-10-24 14:20:47 +02:00
Kamil Grygierzec
c9b1101054
Add Common RemoveStateProcessor for all resources 2024-10-24 14:20:47 +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
Kamil Grygierzec
2bdec41dc7
[ShopBundle] set http_method_override to true by default 2024-10-24 14:11:19 +02:00
Kamil Grygierzec
01499f13a9
[AdminBundle] set http_method_override to true by default 2024-10-24 14:11:19 +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
Bartłomiej Sęk
6287e2c27f Fix missing icons 2024-10-24 12:36:32 +02:00
kulczy
c2727ccb38 Add info about thumbnails to the upgrade file 2024-10-24 11:47:11 +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