Commit graph

32350 commits

Author SHA1 Message Date
Michał Pysiak
a43660f199
Fix ShopUser docs example 2024-07-30 13:12:38 +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
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
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
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
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
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
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
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
Rafikooo
0182292e5b
[Behat] Enable accessing product edit page from show page scenarios 2024-07-09 13:43:25 +02:00
Grzegorz Sadowski
9dc9bd84ea
Merge branch '1.12' into 1.13
* 1.12:
  [Docs] Update taxon-menu page to reflect current fixtures configuration
2024-07-09 07:01:35 +02:00
Grzegorz Sadowski
29d4364521
bug #16544 [Docs] Update Taxon-Menu Page To Reflect Current Fixtures Configuration (Rafikooo)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 1.12 <!-- 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 | https://github.com/Sylius/Sylius/pull/11339/files#diff-a07e09d99a1e7ba91cfa0916f49ff948d56676286e28e7cb31b53bfe258bb11eR13
| 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
-------

5dfe52c8a8 [Docs] Update taxon-menu page to reflect current fixtures configuration
2024-07-09 07:01:20 +02:00
Rafikooo
5dfe52c8a8
[Docs] Update taxon-menu page to reflect current fixtures configuration 2024-07-08 15:58:17 +02:00
Grzegorz Sadowski
e9421bdb19
minor #16469 Use interface for a response checker dependency (jaroslavtyc)
This PR was merged into the 1.13 branch.

Discussion
----------

To allow decorate response checker for custom error messages and so.

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

Commits
-------

fe8300c661 Use interface for a response checker dependency
2024-07-04 06:51:06 +02:00
Jaroslav Týc
fe8300c661 Use interface for a response checker dependency
To allow decorate response checker for custom error messages and so.
2024-07-03 14:33:14 +02:00
Grzegorz Sadowski
19dacea52c
Change application's version to v1.13.4-dev 2024-07-02 10:31:36 +02:00
Grzegorz Sadowski
6d092ebceb
Generate changelog for v1.13.3 2024-07-02 10:31:07 +02:00
Grzegorz Sadowski
33c1cf8da3
Change application's version to v1.13.3 2024-07-02 10:30:28 +02:00
Grzegorz Sadowski
48d2951714
Merge branch '1.12' into 1.13
* 1.12:
  Change application's version to v1.12.19-dev
  Generate changelog for v1.12.18
  Change application's version to v1.12.18
2024-07-02 10:28:00 +02:00
Grzegorz Sadowski
a1b3fc00a3
Change application's version to v1.12.19-dev 2024-07-02 10:26:12 +02:00
Grzegorz Sadowski
ac4bd7772f
Generate changelog for v1.12.18 2024-07-02 10:25:37 +02:00
Grzegorz Sadowski
abecc9baeb
Change application's version to v1.12.18 2024-07-02 10:24:30 +02:00
Grzegorz Sadowski
3179ddf03e
minor #16475 Update repository.rst (zairigimad)
This PR was merged into the 1.13 branch.

Discussion
----------

fix typo

| Q               | A
|-----------------|-----
| Branch?         | 1.12, 1.13, 1.14 or 2.0 <!-- see the comment below -->
| Bug fix?        | no/yes
| New feature?    | no/yes
| BC breaks?      | no/yes
| Deprecations?   | no/yes <!-- 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.12 or 1.13 branches
 - 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
-------

cfcbd05dec Update repository.rst
2024-07-02 10:06:03 +02:00
Grzegorz Sadowski
e23b11a587
minor #16474 Update model.rst (zairigimad)
This PR was merged into the 1.13 branch.

Discussion
----------

fix typo

| Q               | A
|-----------------|-----
| Branch?         | 1.12, 1.13, 1.14 or 2.0 <!-- see the comment below -->
| Bug fix?        | no/yes
| New feature?    | no/yes
| BC breaks?      | no/yes
| Deprecations?   | no/yes <!-- 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.12 or 1.13 branches
 - 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
-------

74a900caa8 Update model.rst
2024-07-02 10:05:40 +02:00
Grzegorz Sadowski
0f487ec952
Merge branch '1.12' into 1.13
* 1.12:
  Minor fixes after PR review
  Fix products grid for mobile
  Update PR template
  [Documentation] Update Sylius 1.12 version on the release cycle page
  Fix ProductTaxons' positioning logic
2024-07-01 16:39:47 +02:00
Grzegorz Sadowski
d821dd6825
style #16380 Fix products grid for mobile (Yanick-K)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 1.12 <!-- 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 [#16379](https://github.com/Sylius/Sylius/issues/16379)
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.12 or 1.13 branches
 - 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
-->

On Mobile: 

Then 
![Capture d’écran 2024-06-12 à 17 30 07](https://github.com/Sylius/Sylius/assets/6756788/cd32d03d-ae39-400a-b7c4-fa19b2d6d3c3)


Now 
![Capture d’écran 2024-06-12 à 17 30 37](https://github.com/Sylius/Sylius/assets/6756788/6d1a3931-f6f6-4208-9854-22f76ee8a5e6)


Commits
-------

3536620e30 Fix products grid for mobile
2024-07-01 16:37:21 +02:00
Grzegorz Sadowski
f63e2a3a9a
bug #16477 Fix ProductTaxons' positioning logic (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 | outlined in https://github.com/Sylius/Sylius/pull/15225#issuecomment-1790825230
| License         | MIT

The second issue:
>The other error is smaller, the count should not be reduced by 1 because the positioner will check for $newPosition >= $maxPosition. If you move a product to the last one in the taxon it will change it to the second-last position.

does not occur since when the `$newPosition >= $maxPosition` check is true, the position is set to `-1` instead of being reduced by 1. After that, the default Gedmo logic kicks in and `-1` gets converted into the last position.

Commits
-------

4fa32f324c Fix ProductTaxons' positioning logic
2024-07-01 16:32:35 +02:00
Karol
bd3e203df1
minor #16500 [Documentation] Update Sylius 1.12 version on the release cycle page + update PR template (GSadee)
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<!-- don't forget to update the UPGRADE-*.md file -->
| Related tickets | 
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.12 or 1.13 branches
 - 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
-------
  [Documentation] Update Sylius 1.12 version on the release cycle page
  Update PR template
  Minor fixes after PR review
2024-07-01 13:14:35 +02:00
Grzegorz Sadowski
f769343c14
Minor fixes after PR review 2024-07-01 12:33:53 +02:00
Yanick
3536620e30
Fix products grid for mobile 2024-07-01 11:59:11 +02:00
Grzegorz Sadowski
e31ba811bb
Update PR template 2024-07-01 11:19:17 +02:00