Commit graph

29568 commits

Author SHA1 Message Date
Jakub Tobiasz
65b12a6596
Remove payum/payum 2023-05-02 09:52:29 +02:00
Jacob Tobiasz
be419d05dd
refactor #15004 [CS][DX] Refactor (github-actions[bot])
This PR was merged into the 1.13 branch.

Discussion
----------

This PR has been generated automatically.
For more details see [refactor.yaml](/Sylius/Sylius/blob/1.12/.github/workflows/refactor.yaml).

Commits
-------
  [CS][DX] Refactor
2023-05-02 06:27:00 +02:00
Jacob Tobiasz
21a2174bdd
minor #14584 Fix product review validation's notInRangeMessage (diimpp)
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?   | yes  |
| Related tickets | partially #14576                     |
| License         | MIT                                                          |

Continuation of #14576 based on 1.13 due deprecation and changes introduced in 1.12

```patch
--- range: Review rating must be an integer in the range 1-5.
+++ not_in_range: Review rating must be between {{ min }} and {{ max }}.
```
[Range](https://symfony.com/doc/current/reference/constraints/Range.html) constraints doesn't validate for integer type, so I've removed mention of this and was forced to remove translated strings from other languages.

> Validates that a given number or DateTime object is between some minimum and maximum.


Commits
-------
  Update product review validation's notInRangeMessage
  Restore sylius.review.rating.range translation key for BC compatibility
2023-05-02 06:20:18 +02:00
Jakub Tobiasz
4bada6d64c
Restore sylius.review.rating.range translation key for BC compatibility 2023-05-01 12:24:03 +02:00
Dmitri Perunov
52adeda398
Update product review validation's notInRangeMessage 2023-05-01 12:23:18 +02:00
Sylius Bot
45164a700b [CS][DX] Refactor 2023-05-01 02:22:45 +00:00
Grzegorz Sadowski
69fd052829
refactor #14919 Use Symfony HTTP Client in place of Guzzle 6 by default and provide Guzzle 7 support (coldic3)
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?   | yes
| Related tickets | fixes https://github.com/Sylius/Sylius/issues/14671
| License         | MIT                                                          |

TODO:
- [x] upgrade file
- [x] Symfony HTTP Client support
- [x] Guzzle 6 support (legacy)
- [x] Guzzle 7 support

Commits
-------

352b7464c1 Replace Guzzle with Symfony HTTP Client
b15cd4c1db Use Http\Client\HttpClient service instead of HttplugClient explicitly
d0d5db1bfb [Admin] Improve deprecations in NotificationController
238472d99d [Composer] Fix dependencies
69ed3e7b47 [Maintenance] Fix HTTP Client deprecations
77652769e3 Use Psr\Http\Client\ClientInterface service ID in place of psr18.http_client
cad50787e2 Drop Guzzle adapters to support both Guzzle 6 and 7
2023-04-28 14:50:03 +02:00
Grzegorz Sadowski
907329e160
minor #14969 [DX] Removed obsolete templating helper (NoResponseMate)
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 | followup #14885                      |
| License         | MIT                                                          |

Commits
-------

1fd6cc04fb [DX] Removed obsolete templating helper
2023-04-28 14:41:57 +02:00
Jacob Tobiasz
eceed543a1
minor #14999 [CI] Change outdated GitHub action (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                                                      |
| 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
-->


Commits
-------
  [CI] Change outdated GitHub action
  [ECS] Apply ecs fixes
2023-04-28 11:16:53 +02:00
Kevin Kaniaburka
fe8efefbd0
minor #14975 [CS][DX] Refactor (github-actions[bot])
This PR was merged into the 1.13 branch.

Discussion
----------

This PR has been generated automatically.
For more details see [refactor.yaml](/Sylius/Sylius/blob/1.12/.github/workflows/refactor.yaml).

Commits
-------

f13c44789d [CS][DX] Refactor
2023-04-28 10:12:27 +02:00
Kevin Kaniaburka
cad50787e2
Drop Guzzle adapters to support both Guzzle 6 and 7 2023-04-28 09:56:18 +02:00
Rafikooo
1b05ca5073
[ECS] Apply ecs fixes 2023-04-28 02:16:57 +02:00
Rafikooo
96dc607261
[CI] Change outdated GitHub action 2023-04-28 02:15:43 +02:00
Kevin Kaniaburka
77652769e3
Use Psr\Http\Client\ClientInterface service ID in place of psr18.http_client 2023-04-27 13:36:06 +02:00
Kevin Kaniaburka
69ed3e7b47
[Maintenance] Fix HTTP Client deprecations 2023-04-27 13:36:06 +02:00
Kevin Kaniaburka
238472d99d
[Composer] Fix dependencies 2023-04-27 13:36:06 +02:00
Kevin Kaniaburka
d0d5db1bfb
[Admin] Improve deprecations in NotificationController 2023-04-27 13:36:05 +02:00
Kevin Kaniaburka
b15cd4c1db
Use Http\Client\HttpClient service instead of HttplugClient explicitly 2023-04-27 13:36:05 +02:00
Kevin Kaniaburka
352b7464c1
Replace Guzzle with Symfony HTTP Client 2023-04-27 13:24:50 +02:00
Grzegorz Sadowski
c41bbe3444
bug #14989 [ProductTaxon][Product] Improve validation (NoResponseMate)
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 | related #14724                     |
| License         | MIT                                                          |

Commits
-------

328db68a8b [ProductTaxon] Add validation for missing part
8793f07d91 [Product] Add ProductTaxon validation
2023-04-27 08:59:09 +02:00
Jacob Tobiasz
22cb85a85c
Merge branch 1.12 into 1.13
* 1.12:
  [Shop] Add request matching to LocaleStrippingRouter
  [UI][Swagger] Update link to API Introduction section
  [CS][DX] Refactor
  [Promotion] Fix price range filter to also consider configuration with only max
  [Maintenance] Fix DisablingApiTest on unstable symfony
2023-04-27 08:46:59 +02:00
Grzegorz Sadowski
0b65067199
minor #14964 Clean up conflicts for sylius/sylius (jakubtobiasz)
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 | 
| License         | MIT

As we usually bump dependencies version in minor versions of Sylius, I've prepared a cleanup of conflicts for the `sylius/sylius` package. Also, we should do the same for every package (as some packages have conflict for `twig/twig:^1.0` when it cannot be installed).

Commits
-------

d7f2080625 Clean up conflicts for sylius/sylius
51188508a4 Drop support for DBAL 2.7
2023-04-27 07:32:18 +02:00
Jacob Tobiasz
53dfdbd959
minor #14991 [Unstable][Maintenance] Fix DisablingApiTest on unstable symfony (NoResponseMate)
This PR was merged into the 1.12 branch.

Discussion
----------

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

Commits
-------
  [Maintenance] Fix DisablingApiTest on unstable symfony
2023-04-26 19:51:34 +02:00
Jacob Tobiasz
99a7943287
refactor #14974 [CS][DX] Refactor (github-actions[bot])
This PR was merged into the 1.12 branch.

Discussion
----------

This PR has been generated automatically.
For more details see [refactor.yaml](/Sylius/Sylius/blob/1.12/.github/workflows/refactor.yaml).

Commits
-------
  [CS][DX] Refactor
2023-04-26 13:58:36 +02:00
Jan Goralski
d544bae630
[Maintenance] Fix DisablingApiTest on unstable symfony 2023-04-26 13:56:05 +02:00
Jacob Tobiasz
a6e0aacc16
bugfix #14977 [Promotion] Fix price range filter to also consider configuration with only max (NoResponseMate)
This PR was merged into the 1.12 branch.

Discussion
----------

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

I have no idea why it was considered invalid.
ATM setting only `min` works, and items are filtered; setting only `max` does not filter anything and returns all items.

Commits
-------
  [Promotion] Fix price range filter to also consider configuration with only max
2023-04-26 13:53:01 +02:00
Jakub Tobiasz
51188508a4
Drop support for DBAL 2.7 2023-04-26 13:24:37 +02:00
Jan Goralski
8793f07d91
[Product] Add ProductTaxon validation 2023-04-26 12:58:27 +02:00
Jan Goralski
328db68a8b
[ProductTaxon] Add validation for missing part 2023-04-25 15:25:09 +02:00
Jan Góralski
ecb820b50f
minor #14791 Add a taxon delete section (dawkaa)
This PR was merged into the 1.13 branch.

Discussion
----------

I added a taxon delete section.

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13                  |
| Bug fix?        | no                                                       |
| New feature?    | yes                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no <!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | part of https://github.com/Sylius/Sylius/issues/11250                     |
| 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
-->


Commits
-------

65f39f2057 Add a taxon delete section

I added a taxon delete section.
2023-04-25 12:25:25 +02:00
dawkaa
65f39f2057 Add a taxon delete section
I added a taxon delete section.
2023-04-25 16:45:30 +08:00
Jan Góralski
65d84046c4
minor #14950 [Migrations] Support PostgreSQL migrations (Rafikooo)
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                                                      |
| Deprecations?   | no<!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | fixes https://github.com/Sylius/Sylius/issues/11851  #mentioned https://github.com/Sylius/Sylius/pull/14925          |
| License         | MIT                                                          |

This PR introduced the initial migrations dedicated to `PostgreSQL` database. From now on, each new migration should be created for both databases and extend the corresponding `AbstractMigration` class

Commits
-------

1c8f0bad4f [Migrations][PostgreSQL] Mark non-PostgreSQL migrations as executed
90a2611d45 [Migrations][MySQL] Mark non-MySQL migrations as executed
ddf9d8d150 [Migrations] Fix incorrectly extended migrations
5569fb013c [Migrations][PostgreSQL] Add migration to Sylius <= 1.12.x
1ca31a70ba [Migrations][PostgreSQL] Add migration to Sylius 1.13.0
2a56716441 [CI] Use SyliusLabs/BuildTestAppAction@v2.1
9d2030a0f3 [PostgreSQL] Add PostgreSQLDefaultSchemaListener
356ea70b0a [ECS] Apply ecs fixes
2023-04-25 09:50:24 +02:00
Rafikooo
356ea70b0a
[ECS] Apply ecs fixes 2023-04-24 22:04:02 +02:00
Rafikooo
9d2030a0f3
[PostgreSQL] Add PostgreSQLDefaultSchemaListener 2023-04-24 22:02:29 +02:00
Rafikooo
2a56716441
[CI] Use SyliusLabs/BuildTestAppAction@v2.1 2023-04-24 22:02:29 +02:00
Rafikooo
1ca31a70ba
[Migrations][PostgreSQL] Add migration to Sylius 1.13.0 2023-04-24 22:02:29 +02:00
Rafikooo
5569fb013c
[Migrations][PostgreSQL] Add migration to Sylius <= 1.12.x 2023-04-24 21:53:01 +02:00
Rafikooo
ddf9d8d150
[Migrations] Fix incorrectly extended migrations 2023-04-24 21:53:01 +02:00
Rafikooo
90a2611d45
[Migrations][MySQL] Mark non-MySQL migrations as executed 2023-04-24 21:53:01 +02:00
Rafikooo
1c8f0bad4f
[Migrations][PostgreSQL] Mark non-PostgreSQL migrations as executed 2023-04-24 21:53:01 +02:00
Łukasz Chruściel
ebb4792f84
refactor #14952 [DX] Improve ChannelCollector customizability and performance (coldic3)
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 |  |
| License         | MIT                                                          |

In order to improve customizability and make it easier to modify data while decorating the service, I have moved the `data` property declaration from the constructor method to the collect method.
Additionally, performance has been improved by fetching only needed data.

Commits
-------

f596b4ff2d [DX] Improve ChannelCollector customizability
c284deb5d0 Improve ChannelCollector performance
2023-04-24 16:02:18 +02:00
Kevin Kaniaburka
c284deb5d0
Improve ChannelCollector performance 2023-04-24 15:11:00 +02:00
Rafał Jaskulski
3929558d2b
minor #14973 [UI][Swagger] Update link to API Introduction section (coldic3)
This PR was merged into the 1.12 branch.

Discussion
----------

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

Commits
-------

7a3e23d1af [UI][Swagger] Update link to API Introduction section
2023-04-24 14:56:30 +02:00
Jan Goralski
61a2f38433
[Promotion] Fix price range filter to also consider configuration with only max 2023-04-24 12:36:10 +02:00
Sylius Bot
f13c44789d [CS][DX] Refactor 2023-04-24 02:23:17 +00:00
Sylius Bot
3df6469dc8 [CS][DX] Refactor 2023-04-24 02:22:50 +00:00
Kevin Kaniaburka
7a3e23d1af
[UI][Swagger] Update link to API Introduction section 2023-04-21 18:42:45 +02:00
Jan Goralski
1fd6cc04fb
[DX] Removed obsolete templating helper 2023-04-21 14:43:04 +02:00
Grzegorz Sadowski
5590bf3028
refactor #14885 [DX] Ease adding more data to variant options map (NoResponseMate)
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?   | yes |
| Related tickets | - |
| License         | MIT                                                          |


Commits
-------

c6a41e05cb [DX] Ease adding more data to variant options map
e6557c806d [DX] Extract Product Variant Map providers
9461403c6e Add lowest price provider to variant map
2ae0f8168f [Shop] Replace sylius_product_variant_prices with sylius_product_variants_map
c7553b21ee [Maintenance] Deprecate old workflow of getting prices based on variant options
c75523ad1e Remove redundant variant map provider
b7661ab725 [DX] Open up variant map providers to different criteria than just the channel
ed62f06aa0 Review fixes
2023-04-21 13:53:35 +02:00
Grzegorz Sadowski
fc3b8ea90d
bug #14956 [Shop] Add request matching to LocaleStrippingRouter (NoResponseMate)
This PR was merged into the 1.12 branch.

Discussion
----------

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


Commits
-------

14b2629937 [Shop] Add request matching to LocaleStrippingRouter
2023-04-21 13:28:40 +02:00