Commit graph

29593 commits

Author SHA1 Message Date
Rafikooo
cc137a567c
[API][Behat][Taxon] Add step implementation 2023-05-10 08:31:40 +02:00
Rafikooo
9eb7a3134a
[Feature] Add deleting a taxon that is a main taxon of a product scenario 2023-05-10 08:28:43 +02:00
Kamil Grygierzec
e5d808bcb7
minor #15002 Cover product integrity scenarios in API (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

Commits
-------

5c319cc0b6 Cover product integrity scenarios in API
2023-05-02 10:53:03 +02:00
Kamil Grygierzec
339e69f67e
minor #15003 Cover seeing default shipping method scenarios in API (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


Commits
-------

69e83ad372 Cover seeing default shipping method scenarios in API
2023-05-02 10:49:47 +02:00
Jacob Tobiasz
fb3d9e0782
Merge branch 1.12 into 1.13
* 1.12:
  Avoid double label translation
  Replace http with https
  Replace http with https
  Replace Doctrine Persistence Object Manager API docs URL to another reference in the docs, since the former was removed (see https://twitter.com/doctrineproject/status/1116080889996431362)
  fix Symfony XML schema namespace
  Update spreecommerce adjustments docs URL
  fix Symfony XML schema namespace
  Replace Doctrine ORM Query Builder API docs URL to another reference in the docs, since the former was removed (see https://twitter.com/doctrineproject/status/1116080889996431362)
  Update spreecommerce inventory docs URL
  Update spreecommerce adjustments docs URL
  Update spreecommerce products docs URL
  Update spreecommerce taxonomies and taxons user docs URL
  Replace dead Payum URL with its GitHub repo URL
  Remove references to api.sylius.com which was shut down
  remove dead link to codebetter.com
  fix message of the length constraint on email
2023-05-02 10:20:30 +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
Jacob Tobiasz
8b130ffa26
bugfix #13864 fix message of the length constraint on email (james2001)
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
| License         | MIT

[Symfony Lenght constraint](https://symfony.com/doc/current/reference/constraints/Length.html) use limit param as param 

![2cb725a2-374b-4c8a-a031-b1479dced87f](https://user-images.githubusercontent.com/6031642/162991847-cab6332e-cd04-488d-8114-1222d63724d4.png)



Commits
-------
  fix message of the length constraint on email
2023-05-01 12:25:57 +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
Jacob Tobiasz
05c8429a97
docs #13438 Replace http with https in static URLs (vvasiloi)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.12
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | replaces https://github.com/Sylius/Sylius/pull/11922
| License         | MIT


Commits
-------
  Replace http with https
  Replace http with https
  Replace Doctrine Persistence Object Manager API docs URL to another reference in the docs, since the former was removed (see https://twitter.com/doctrineproject/status/1116080889996431362)
  fix Symfony XML schema namespace
  Update spreecommerce adjustments docs URL
  fix Symfony XML schema namespace
  Replace Doctrine ORM Query Builder API docs URL to another reference in the docs, since the former was removed (see https://twitter.com/doctrineproject/status/1116080889996431362)
  Update spreecommerce inventory docs URL
  Update spreecommerce adjustments docs URL
  Update spreecommerce products docs URL
  Update spreecommerce taxonomies and taxons user docs URL
  Replace dead Payum URL with its GitHub repo URL
  Remove references to api.sylius.com which was shut down
  remove dead link to codebetter.com
2023-05-01 11:48:02 +02:00
Rathgeber Stéphane
18a2a51560
fix message of the length constraint on email 2023-05-01 11:19:02 +02:00
Victor Vasiloi
54bcc7ed61
remove dead link to codebetter.com 2023-05-01 11:05:24 +02:00
Victor Vasiloi
13781d7531
Remove references to api.sylius.com which was shut down 2023-05-01 11:05:21 +02:00
Victor Vasiloi
f69eddb12a
Replace dead Payum URL with its GitHub repo URL 2023-05-01 11:04:17 +02:00
Victor Vasiloi
fed9009b40
Update spreecommerce taxonomies and taxons user docs URL 2023-05-01 11:04:17 +02:00
Victor Vasiloi
af55930a48
Update spreecommerce products docs URL 2023-05-01 11:04:17 +02:00
Victor Vasiloi
ad6e965ab0
Update spreecommerce adjustments docs URL 2023-05-01 11:04:17 +02:00
Victor Vasiloi
3f0423ad3a
Update spreecommerce inventory docs URL 2023-05-01 11:04:17 +02:00
Victor Vasiloi
6c82e6f8d0
Replace Doctrine ORM Query Builder API docs URL to another reference in the docs, since the former was removed (see https://twitter.com/doctrineproject/status/1116080889996431362) 2023-05-01 11:04:17 +02:00
Victor Vasiloi
4b77bf028a
fix Symfony XML schema namespace 2023-05-01 11:04:17 +02:00
Victor Vasiloi
1f1bc2971e
Update spreecommerce adjustments docs URL 2023-05-01 11:04:17 +02:00
Victor Vasiloi
f72098c160
fix Symfony XML schema namespace 2023-05-01 11:04:17 +02:00
Victor Vasiloi
47a24ab557
Replace Doctrine Persistence Object Manager API docs URL to another reference in the docs, since the former was removed (see https://twitter.com/doctrineproject/status/1116080889996431362) 2023-05-01 11:04:17 +02:00
Victor Vasiloi
804f620c2c
Replace http with https 2023-05-01 11:04:17 +02:00
Victor Vasiloi
c25fedc788
Replace http with https 2023-05-01 11:04:17 +02:00
Sylius Bot
45164a700b [CS][DX] Refactor 2023-05-01 02:22:45 +00:00
Jakub Tobiasz
69e83ad372
Cover seeing default shipping method scenarios in API 2023-04-30 08:14:03 +02:00
Jakub Tobiasz
5c319cc0b6
Cover product integrity scenarios in API 2023-04-30 07:34:16 +02: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
Grzegorz Sadowski
4c79f4f23f
minor #14967 [GRID] Avoid double label translation on date filter (Prometee)
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 | none                      |
| License         | MIT                                                          |

Just a quick fix that avoid the date label to be re-translated.
Before/After on the url `/admin/orders` :
<img width="1077" alt="image" src="https://user-images.githubusercontent.com/861820/233858524-1351f6d3-4288-45a3-afef-f799302499a9.png">
<img width="1067" alt="image" src="https://user-images.githubusercontent.com/861820/233858553-766c19b9-6c77-4e80-aafc-36dece66695f.png">



Commits
-------

21d88d344f Avoid double label translation
2023-04-28 14:39:11 +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