Commit graph

32439 commits

Author SHA1 Message Date
Jan Goralski
dc61d08b21
[Maintenance] Less referrer usage in static redirects 2024-08-13 12:50:47 +02:00
Grzegorz Sadowski
cc099118cd
Merge branch '1.13' into 1.14
* 1.13:
  [API] Fix translation.name filters
  [Documentation] Update the dates on the release cycle page
2024-08-12 11:10:25 +02:00
Karol
78c0e1baa5
minor #16697 [API] Fix translation.name filters (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 | -
| License         | MIT


Commits
-------
  [API] Fix translation.name filters
2024-08-12 11:08:56 +02:00
Jan Goralski
ff62510826
[API] Fix translation.name filters 2024-08-09 15:25:38 +02:00
Karol
22c573d6e3
[UPMERGE] 1.13 -> 1.14 (#16687)
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/1.14 -m "Resolve conflicts between 1.13 and 1.14"
```

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-08-08 08:07:24 +02:00
Karol
f7854f5f12
[Documentation] Update the dates on the release cycle page (#16685)
| 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

I would like to better reflect the current projections for 2.0 and, at
the same time, extend support for 1.13 to overlap with 1.14 for at least
a few months.
2024-08-08 08:01:32 +02:00
Aymeric LAFONTAINE
f929c6c5c3 [Core] Fix #16603 SyliusCollector do not display API tag properly 2024-08-07 16:10:48 +02:00
Grzegorz Sadowski
0f8af860c2
[Documentation] Update the dates on the release cycle page 2024-08-07 16:00:41 +02:00
Karol
76d1de3f92
[UPMERGE] 1.13 -> 1.14 (#16658)
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/1.14 -m "Resolve conflicts between 1.13 and 1.14"
```

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-07-31 07:54:43 +02:00
Kamil Grygierzec
e880f3ce1a
minor #16654 [API] Fix ShopUser docs example (mpysiak)
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 #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
-->

Fix for Customer admin POST example in the docs


Commits
-------
  Fix ShopUser docs example
2024-07-30 14:15:07 +02:00
Michał Pysiak
a43660f199
Fix ShopUser docs example 2024-07-30 13:12:38 +02:00
Michał Pysiak
da38d8c8bd
minor #16647 Deprecate PromotionCouponPromotionFilter (TheMilek)
This PR was merged into the 1.14 branch.

Discussion
----------

| 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
-->
deprecates as it has been removed [here](https://github.com/Sylius/Sylius/pull/16646)


Commits
-------
  Deprecate PromotionCouponPromotionFilter
2024-07-30 09:34:14 +02:00
Karol
adc034b8ef
[UPMERGE] 1.13 -> 1.14 (#16652)
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/1.14 -m "Resolve conflicts between 1.13 and 1.14"
```

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-07-30 08:19:43 +02:00
Kamil Grygierzec
f8ce9f8a17
Deprecate PromotionCouponPromotionFilter 2024-07-29 15:21:43 +02:00
Kamil Grygierzec
8c9a2db5f7
minor #16638 Refactor GUS info (Wojdylak)
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 | N/A
| License         | MIT

![image](https://github.com/user-attachments/assets/6ecda25d-b4d3-4f93-bec5-d1f4094a8be0)

Commits
-------
  Refactor GUS info
2024-07-29 10:28:17 +02:00
Kamil Grygierzec
ceb602e986
minor #16639 Fix PostgreSQL CI Full to run (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 | #14786
| License         | MIT


Commits
-------
  Fix Full CI to run 2.0
2024-07-29 08:37:59 +02:00
Michał Pysiak
0c11dbea31
[UPMERGE] 1.13 -> 1.14 (#16641)
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/1.14 -m "Resolve conflicts between 1.13 and 1.14"
```

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-07-29 07:06:15 +02:00
Kamil Grygierzec
b75c79e947
minor #16633 [ChannelsTest] Use inArray to check locales (Wojdylak)
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 | [action](https://github.com/Sylius/Sylius/actions/runs/10086616660/job/27889633254) 
| License         | MIT

Fixed intermittent test failures in GitHub Actions

Commits
-------
  [ChannelsTest] Use inArray to check locales
2024-07-26 16:58:12 +02:00
Wojdylak
4680ee39ab
Fix Full CI to run 2.0 2024-07-26 15:42:47 +02:00
Wojdylak
545a22ea62
Refactor GUS info 2024-07-26 14:47:46 +02:00
Wojdylak
4e877734f2
[ChannelsTest] Use inArray to check locales 2024-07-25 08:55:59 +02:00
Rafał Jaskulski
b7d92a66ca
[CI] Run 1.14 full build instead of unsupported 1.12 (#16612)
| Q               | A
|-----------------|-----
| Branch?         | 1.14
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| 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-07-19 14:59:28 +02:00
Grzegorz Sadowski
a7d7acbf51
[CI] Run 1.14 full build instead of unsupported 1.12 2024-07-19 13:19:25 +02:00
Grzegorz Sadowski
220680f659
Merge branch '1.13' into 1.14
* 1.13:
  Revert "Remove unused argument
"
  Remove unused argument
  fix(locales): use callback wrapper for choices
2024-07-18 13:44:18 +02:00
Karol
640ef9729c
minor #16574 Use callback wrapper for LocaleChoiceType choices (wimulkeman)
This PR was merged into the 1.13 branch.

Discussion
----------

Using the callback wrapper to resolve the LocaleChoiceType keeping old entity objects during tests where both the form is build and submit through the Symfony PhpUnit WebTestCase.

Also see https://github.com/Sylius/Sylius/issues/16572

| Q               | A
|-----------------|-----
| Branch?         | 1.13
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | fixes #https://github.com/Sylius/Sylius/issues/16572
| License         | MIT


Commits
-------
  fix(locales): use callback wrapper for choices
  Remove unused argument

  Revert "Remove unused argument
"
2024-07-18 09:52:52 +02:00
Wim Ulkeman
992064be3e
Revert "Remove unused argument "
This reverts commit d97db7ca28.
2024-07-18 09:14:47 +02:00
Wim Ulkeman
d97db7ca28
Remove unused argument
Removing the unused $options argument for the variable is not used in the function.

Co-authored-by: Rafał Jaskulski <40125720+Rafikooo@users.noreply.github.com>
2024-07-17 15:01:20 +02:00
Grzegorz Sadowski
0589c27122
Merge branch '1.13' into 1.14
* 1.13:
  Change application's version to v1.13.5-dev
  Generate changelog for v1.13.4
  Change application's version to v1.13.4
2024-07-17 10:15:40 +02:00
Grzegorz Sadowski
0f23e4aeaa
Change application's version to v1.13.5-dev 2024-07-17 10:14:41 +02:00
Grzegorz Sadowski
8386db9677
Generate changelog for v1.13.4 2024-07-17 10:14:09 +02:00
Grzegorz Sadowski
d7e41382a3
Change application's version to v1.13.4 2024-07-17 10:13:05 +02:00
Grzegorz Sadowski
5e17d4c112
Merge branch '1.13' into 1.14
* 1.13:
  Change application's version to v1.12.20-dev
  Generate changelog for v1.12.19
  Change application's version to v1.12.19
2024-07-17 10:12:16 +02:00
Grzegorz Sadowski
3a6d1b581e
Merge branch '1.12' into 1.13
* 1.12:
  Change application's version to v1.12.20-dev
  Generate changelog for v1.12.19
  Change application's version to v1.12.19
2024-07-17 10:12:02 +02:00
Grzegorz Sadowski
6dcf692152
Change application's version to v1.12.20-dev 2024-07-17 10:10:16 +02:00
Grzegorz Sadowski
1547254940
Generate changelog for v1.12.19 2024-07-17 10:09:53 +02:00
Grzegorz Sadowski
251f053a10
Change application's version to v1.12.19 2024-07-17 10:08:41 +02:00
Grzegorz Sadowski
92897ba758
Merge branch '1.13' into 1.14
* 1.13:
  [API] Add note about disabling adjustment GET endpoint to UPGRADE file
  [API] Remove unnecessarily added HeadersBuilder class
  Add phpunit test
  Disable adjustments shop API endpoint
2024-07-17 08:56:46 +02:00
Grzegorz Sadowski
88081528e3
Merge branch '1.12' into 1.13
* 1.12:
  [API] Add note about disabling adjustment GET endpoint to UPGRADE file
  [API] Remove unnecessarily added HeadersBuilder class
  Add phpunit test
  Disable adjustments shop API endpoint
2024-07-17 08:56:19 +02:00
Grzegorz Sadowski
d833b2871c
bug #16592 [API] Disable shop GET adjustment endpoint (mpysiak, GSadee)
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<!-- 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
-------

de2dec6dbf Disable adjustments shop API endpoint
37f812d825 Add phpunit test
61c984228a [API] Remove unnecessarily added HeadersBuilder class
a9c2ff77bb [API] Add note about disabling adjustment GET endpoint to UPGRADE file
2024-07-17 08:44:31 +02:00
Grzegorz Sadowski
a9c2ff77bb
[API] Add note about disabling adjustment GET endpoint to UPGRADE file 2024-07-17 08:14:09 +02:00
Grzegorz Sadowski
61c984228a
[API] Remove unnecessarily added HeadersBuilder class 2024-07-17 08:06:56 +02:00
Michał Pysiak
37f812d825
Add phpunit test 2024-07-16 09:43:52 +02:00
Michał Pysiak
de2dec6dbf
Disable adjustments shop API endpoint 2024-07-16 09:43:51 +02:00
Grzegorz Sadowski
d26062b341
Merge branch '1.13' into 1.14
* 1.13:
  [CS][DX] Refactor
  More informative errror in ShowPage.php
2024-07-16 07:07:03 +02:00
Grzegorz Sadowski
e97ccc7bb3
refactor #16581 [CS][DX] Refactor ()
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
-------

3135b91fe3 [CS][DX] Refactor
2024-07-16 07:06:07 +02:00
Sylius Bot
3135b91fe3 [CS][DX] Refactor 2024-07-16 02:19:55 +00:00
Michał Pysiak
069d1f4c00
More informative errror in ShowPage.php (#16171)
I always didn't like behat errors like:

  Given I have product "Xxxx" in the cart
  (FriendsOfBehat\PageObjectExtension\Page\UnexpectedPageException)

Not informative. Is it unexpected page (i.e. wrong page opened)? Or is
it unexpected exception?

Now it shows:

Is not open: Could not open the page:
"http://localhost:8080/en_US/products/xxx". Received an error status
code: 500 {"slug":"xxx"}
(FriendsOfBehat\PageObjectExtension\Page\UnexpectedPageException)

Feel free to improve or change this commit.




| Q | A |

|-----------------|--------------------------------------------------------------|
| Branch?         |  1.13 (1.12 would be nice too)                  |
| Bug fix?        | no   |
| New feature?    | no |
| BC breaks? | ? |
| Deprecations?   | no? |
| Related tickets | none    |
| 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
-->
2024-07-15 07:16:52 +02:00
Wim Ulkeman
ecb37d33b2
fix(locales): use callback wrapper for choices
Using the callback wrapper to resolve the LocaleChoiceType keeping old entity objects during tests where both the form is build and submit through the Symfony PhpUnit WebTestCase.

Also see https://github.com/Sylius/Sylius/issues/16572

Fixes #16572
2024-07-12 17:36:50 +02:00
Grzegorz Sadowski
de6b78676c
Merge branch '1.13' into 1.14
* 1.13:
  [Behat] Enable accessing product edit page from show page scenarios
2024-07-10 09:45:18 +02:00
Grzegorz Sadowski
7905e6b8a0
bug #16550 [Behat] Enable Accessing The Product Edit Page From The Show Page Scenarios (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 -->
| License         | MIT

It appears that these scenarios were not taken into account in our CI.


Commits
-------

0182292e5b [Behat] Enable accessing product edit page from show page scenarios
2024-07-10 09:45:01 +02:00