Commit graph

31199 commits

Author SHA1 Message Date
Jan Góralski
c08f0a6fd6
[UPMERGE] 1.12 -> 1.13 (#15691)
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 
git merge upstream/1.13 --no-commit
```

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
change the commit title to
```
Resolve conflicts between 1.12 and 1.13
```
2024-01-03 15:00:47 +01:00
Jan Góralski
23b3e98bdd
bugfix #15690 [Behat] Update test steps to use dynamic date (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 | N/A
| License         | MIT


Commits
-------
  [Behat] Update test steps to use dynamic date
2024-01-02 11:05:28 +01:00
Wojdylak
3db23c2daf
[Behat] Update test steps to use dynamic date 2024-01-02 10:36:47 +01:00
Jacob Tobiasz
5b8a5f65cb
docs #15687 Fix Typo fixtures.rst (zairigimad)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12 or 1.13 <!-- 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 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
-------
  Fix Typo fixtures.rst
2024-01-02 08:48:52 +01:00
Zairig Imad
fe559b3b24
Fix Typo fixtures.rst 2023-12-29 18:21:34 +01:00
Jacob Tobiasz
9e0d60a315
[UPMERGE] 1.12 -> 1.13 (#15684)
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 
git merge upstream/1.13 --no-commit
```

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
change the commit title to
```
Resolve conflicts between 1.12 and 1.13
```
2023-12-26 09:32:17 +01:00
Jacob Tobiasz
24bd5786a5 Define permissions for all workflows
Co-authored-by: nathannaveen <42319948+nathannaveen@users.noreply.github.com>
2023-12-25 12:29:13 +01:00
Sylius Bot
7327c74439 [CS][DX] Refactor 2023-12-25 12:28:08 +01:00
Jacob Tobiasz
502c817630
[UPMERGE] 1.12 -> 1.13 (#15674)
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 
git merge upstream/1.13 --no-commit
```

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
change the commit title to
```
Resolve conflicts between 1.12 and 1.13
```
2023-12-24 09:08:20 +01:00
Sylius Bot
245c6fc3ea [CS][DX] Refactor 2023-12-24 08:38:45 +01:00
Sylius Bot
1487f5a1c6 [CS][DX] Refactor 2023-12-24 08:38:27 +01:00
Jacob Tobiasz
26cec53ed0
Resolve conflicts between 1.12 and 1.13 2023-12-24 08:37:42 +01:00
Jacob Tobiasz
520d030fba
[UPMERGE] 1.12 -> 1.13 (#15671)
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 
git merge upstream/1.13 --no-commit
```

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
change the commit title to
```
Resolve conflicts between 1.12 and 1.13
```
2023-12-22 16:37:59 +01:00
Jacob Tobiasz
d76c641b85
Replace @javascript with @mink:chromedriver in failing scenarios 2023-12-22 15:29:21 +01:00
Jacob Tobiasz
e63fea8f2f
Update product associations feature test tag 2023-12-22 15:21:23 +01:00
Jacob Tobiasz
cb7b6898f6
docs #13777 [Locale] Change language negotiation to RFC 4647 based (gseric)
This PR was merged into the 1.12 branch.

Discussion
----------

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

Following this PR: #13708 

Commits
-------
  [Locale] Change language negotiation from simple string comparison to RFC 4647 based
  [Locale] Add some more tests for header languange negotiation
  [Unit] Fix JsonApiTestCase constructor arguments
  [Behat][API] Allow setting no accept-language in header
2023-12-22 15:04:58 +01:00
Jacob Tobiasz
cd207b6eb4
Remove duplicated translation entries 2023-12-22 14:20:23 +01:00
Jacob Tobiasz
9dccd3cfe4
Allow to install lower version of stripe/stripe-php 2023-12-22 13:57:22 +01:00
Jacob Tobiasz
66d6a047d8
Resolve conflicts between 1.12 and 1.13 2023-12-22 13:53:00 +01:00
Jan Goralski
0ceb7db697
[Behat][API] Allow setting no accept-language in header
[Locale] Prepend default channel locale when resolving by header
2023-12-22 13:31:55 +01:00
Jan Góralski
57ef590dce
minor #15664 Move validation groups parameters to appropriate bundle configs (TheMilek)
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                                                       |
| Deprecations?   | no <!-- don't forget to update the UPGRADE-*.md file --> |
| 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
-->
To make it load by default we should add it to our bundle config files instead of _sylius file itself

Commits
-------
  Move validation groups parameters to appropriate bundle configs
  Adjust gateway config validation groups parameter definition to changes
  Improve the new CHANGELOG.md entry
2023-12-22 13:02:57 +01:00
Jacob Tobiasz
d508915428
docs #15672 Typo cart-flow.rst (zairigimad)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12 or 1.13 <!-- 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 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
-------
  Typo cart-flow.rst
2023-12-22 09:54:03 +01:00
Zairig Imad
02c9b7428b
Typo cart-flow.rst 2023-12-22 09:51:48 +01:00
Jan Goralski
d896de175d
[Unit] Fix JsonApiTestCase constructor arguments 2023-12-22 09:11:03 +01:00
Jan Goralski
e002d791d9
[Locale] Add some more tests for header languange negotiation 2023-12-21 18:17:20 +01:00
gseric
3d5da057b8
[Locale] Change language negotiation from simple string comparison to RFC 4647 based 2023-12-21 18:11:44 +01:00
Jacob Tobiasz
c49e3682c7
Improve the new CHANGELOG.md entry
Co-authored-by: Jan Góralski <jan.wojciech.goralski@gmail.com>
2023-12-21 18:03:10 +01:00
Jan Góralski
61923954bb
minor #15617 Switch JS session Behat driver to the Symfony Panther (jakubtobiasz)
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 | reactivated #13796
| License         | MIT


Commits
-------
  Add a support for Symfony Panther in the JS-based Behats
  Fix PHPSpec scenario
  Add support for Panther to CookieSetter service
  Run failing scenarios on Panther with using chromedriver
  Bring back the "chrome_headless_second_session" mink session
2023-12-21 15:21:57 +01:00
Jan Goralski
dc300fb0da [Documentation] Update mailer configuration 2023-12-21 15:14:16 +01:00
arti0090
dbbea4689f PR comment fix 2023-12-21 15:14:16 +01:00
arti0090
e4fdf671de [WIP][DOCS] Add info about mailer to 1.12 2023-12-21 15:14:16 +01:00
Jacob Tobiasz
c9c1ec8291
Bring back the "chrome_headless_second_session" mink session 2023-12-21 14:51:22 +01:00
Jacob Tobiasz
1d48c06ff5
Run failing scenarios on Panther with using chromedriver 2023-12-21 14:23:41 +01:00
Alexis DUMAS
ec9f4f53a1 Update themes.rst 2023-12-21 11:33:07 +01:00
Kamil Grygierzec
ea50847309
Adjust gateway config validation groups parameter definition to changes 2023-12-21 10:36:42 +01:00
Kamil Grygierzec
6235621ac2
Move validation groups parameters to appropriate bundle configs 2023-12-21 10:30:03 +01:00
Jacob Tobiasz
bb26e46f3c
minor #15657 [AUTO] Updated translations from Crowdin (1.13) (SyliusBot)
This PR was merged into the 1.13 branch.

Discussion
----------



Commits
-------
  [Translations] Updated translations from Crowdin
2023-12-21 10:12:53 +01:00
Sylius Bot
33c6c7d511 [CS][DX] Refactor 2023-12-21 10:04:44 +01:00
Jacob Tobiasz
ed578b3952
feature #15660 [API] Finish covering managing orders (TheMilek)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13 <!-- see the comment below -->                  |
| Bug fix?        | no                                                     |
| New feature?    | yes                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no <!-- don't forget to update the UPGRADE-*.md file --> |
| 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
-------
  Cover handling order shipment
  Cover accessing order from payments and shipments
  Cover preventing to view customers cart from the orders resource
  Remove no more valid scenarios
  Use SectionProvider in OrderExtension
  Move applyToCollection logic to private method and use in both cases
  Rename fulfilled_order file to fulfilled
  Add parameter for order state to filter out and fix the OrdrerExtension logic
2023-12-20 19:05:45 +01:00
Jacob Tobiasz
249eb7476f
minor #15639 [API][Admin] Finish covering product scenarios (NoResponseMate)
This PR was merged into the 1.13 branch.

Discussion
----------

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

Commits
-------
  [API][Admin] Finish covering product filtering
  [API][Admin] Finish covering product and product taxon sorting
  [API][Admin] More product related scenarios marked no-api
  [API][Admin] Cover seeing applied promotions on variants
  [API][Admin] Refactor viewing product suite split
  [API] Finish covering viewing product attributes
  [API][Admin] Cover managing product associations
  Cleanup
  [API] Cover viewing details of a product
  [Behat] Update step names in scenarios after changing name of steps
2023-12-20 18:48:40 +01:00
Jacob Tobiasz
4866eb4334
feature #15632 Cover shipping method management (TheMilek)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13 <!-- see the comment below -->                  |
| Bug fix?        | no                                                       |
| New feature?    | yes                                                       |
| 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
-------
  [API] Add missing shipping method serialization and resources
  Validate shipping method rules and calculators
  [Behat] Cover shipping method management
  Add parameter for shipping method rule and calculator validation groups
  Cover contract tests
  Update upgrade file
  Change shipping validation groups parameters
  Add comments fixes
  move validation groups parameters to shipping config
2023-12-20 18:25:52 +01:00
Kamil Grygierzec
0aab186720
move validation groups parameters to shipping config 2023-12-20 17:46:01 +01:00
Kamil Grygierzec
77cf963b17
Add comments fixes 2023-12-20 17:45:59 +01:00
Kamil Grygierzec
2110bfa744
Change shipping validation groups parameters 2023-12-20 17:38:40 +01:00
Kamil Grygierzec
6b69ce0a41
Update upgrade file 2023-12-20 17:38:40 +01:00
Kamil Grygierzec
99b2cacbd3
Cover contract tests 2023-12-20 17:38:40 +01:00
Kamil Grygierzec
82eb13ea1c
Add parameter for shipping method rule and calculator validation groups 2023-12-20 17:38:40 +01:00
Kamil Grygierzec
474b1087ac
[Behat] Cover shipping method management 2023-12-20 17:38:40 +01:00
Kamil Grygierzec
74309f102f
Validate shipping method rules and calculators 2023-12-20 17:38:40 +01:00
Kamil Grygierzec
936418bb2b
[API] Add missing shipping method serialization and resources 2023-12-20 17:38:39 +01:00