Commit graph

24074 commits

Author SHA1 Message Date
Grzegorz Sadowski
9f19f02653
[Maintenance] Remove validation of schema from GitHub Actions 2022-03-04 15:22:41 +01:00
Grzegorz Sadowski
f560e16b89
bug #13282 [API] Revert changes of checked keys in cart and checkout responses to fix the build (GSadee)
This PR was merged into the 1.9 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.9
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | revert changes from https://github.com/Sylius/Sylius/pull/13244
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.9 or 1.10 branch (the lowest possible)
 - Features and deprecations must be submitted against the master 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
-------

caf9f0d825 [API] Revert changes of checked keys in cart and checkout responses to fix the build
2021-11-09 13:32:53 +01:00
Grzegorz Sadowski
caf9f0d825
[API] Revert changes of checked keys in cart and checkout responses to fix the build 2021-11-09 11:47:14 +01:00
Grzegorz Sadowski
147a716ea7
minor #13275 [Maintenance] Add note about doctrine/dbal requirement (lchrusciel)
This PR was merged into the 1.9 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.9
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | https://github.com/Sylius/Sylius/pull/13252#issuecomment-953665585
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.9 or 1.10 branch (the lowest possible)
 - Features and deprecations must be submitted against the master 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
-------

cc66b79e3a [Maintenance] Add note about doctrine/dbal requirement
2021-11-08 11:41:07 +01:00
Łukasz Chruściel
cc66b79e3a
[Maintenance] Add note about doctrine/dbal requirement 2021-11-05 18:20:05 +01:00
Łukasz Chruściel
ab810afe31
Merge pull request #13255 from CoderMaggie/docs/update-core-team
[Docs][The Book] Update the Core Team members
2021-11-04 13:15:21 +01:00
CoderMaggie
f37ab0a8d5
[Docs][The Book] Update the Core Team members - review fixes 2021-11-04 12:33:44 +01:00
CoderMaggie
a665d7a724
[Docs] Fix the build 2021-11-04 11:54:31 +01:00
Łukasz Chruściel
e20e8feee4
Merge pull request #13239 from 4c0n/remove-deprecated-whitespace-from-behat-tag-filters
Remove deprecated whitespace from behat tag filters
2021-11-03 11:57:04 +01:00
Mateusz Zalewski
a36859a948
Change application's version to v1.9.10-dev 2021-11-03 11:08:47 +01:00
Mateusz Zalewski
8c632c2ea7
Generate changelog for v1.9.9 2021-11-03 11:08:34 +01:00
Mateusz Zalewski
b1ad0f9f0f
Change application's version to v1.9.9 2021-11-03 11:08:33 +01:00
Łukasz Chruściel
88c0869547
refactor #13263 Remove undocumented conflict on laminas-code ^4.0 (4c0n)
This PR was merged into the 1.9 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.9 1.10 master
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| License         | MIT

https://sylius-devs.slack.com/archives/C3EGDG9LY/p1634735181098300

This conflict is not documented in `CONFLICTS.md` anymore, was brought back in this commit:
f80f42d06f

However according https://github.com/laminas/laminas-code/issues/67 and considering:
49b070933b/.github/workflows/application.yml (L104) should no longer be an issue.

If it still is, then I guess the build will show it and there should be a new issue opened somewhere.

Commits
-------

0ec91616ff Remove undocumented conflict on laminas-code ^4.0
2021-11-02 17:24:59 +01:00
Youri Westerman
0ec91616ff Remove undocumented conflict on laminas-code ^4.0 2021-10-31 10:47:22 +01:00
Łukasz Chruściel
5ae0970416
bug #13261 Conflict liip/imagine-bundle ^2.7 (Zales0123)
This PR was merged into the 1.9 branch.

Discussion
----------

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

~Psalm complains about it after upgrading liip/imagine-bundle to 2.7. We should probably think about bumping the bundle's version and using the new configuration soon~

EDIT: I conflict with `liip/imagine-bundle:^2.7` for now, due to some other problems. Thanks, @mynameisbogdan for the suggestion 🖖 

Commits
-------

d71406f47c Conflict liip/imagine-bundle ^2.7
2021-10-29 16:09:51 +02:00
Mateusz Zalewski
d71406f47c
Conflict liip/imagine-bundle ^2.7 2021-10-29 14:56:42 +02:00
Mateusz Zalewski
4611fd6956
minor #13252 [Maintenance] Replace dbal conflict with explicit requirement (lchrusciel)
This PR was merged into the 1.9 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.9
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | mentioned in https://github.com/Sylius/Sylius/pull/13215#pullrequestreview-790562436
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.9 or 1.10 branch (the lowest possible)
 - Features and deprecations must be submitted against the master 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
-------

cb7cac8788 [Maintenance] Replace dbal conflict with explicit requirement
2021-10-28 09:21:32 +02:00
CoderMaggie
307a0771c5
[Docs][The Book] Update the Core Team members 2021-10-28 00:26:19 +02:00
Youri Westerman
5f9fffe835 Merge branch '1.9' of github.com:sylius/sylius into remove-deprecated-whitespace-from-behat-tag-filters 2021-10-27 14:36:38 +02:00
Łukasz Chruściel
cb7cac8788
[Maintenance] Replace dbal conflict with explicit requirement 2021-10-27 14:35:27 +02:00
Łukasz Chruściel
6923e75172
bug #13215 Add conflict with doctrine/dbal ^3 to avoid missing json_array doctrine type error (Prometee)
This PR was merged into the 1.9 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.9, 1.10
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | fixes #13211
| License         | MIT

See #13211 and #13214 for more details about the `json_array` type error.

Commits
-------

4466a76b5f Add conflict with doctrine/dba ^3 to avoid missing json_array type error
b7b7095432 Merge branch '1.9' into constraint-doctrine-dbal
2021-10-27 14:26:26 +02:00
Łukasz Chruściel
ff98f9434c
bug #13244 Fix builds (nedac-sorbo)
This PR was merged into the 1.9 branch.

Discussion
----------

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

Commits
-------

397a054652 Require the json extension as dev dependency as the tests use json_decode()
ba6780d3c5 Checking hydra description key instead of message key
2021-10-27 14:20:23 +02:00
Magdalena Sadowska
a520930dca
bug #13243 BUGFIX: #12859 Fix link to ResourceController in documentation (Jashi)
This PR was merged into the 1.9 branch.

Discussion
----------

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

Commits
-------

dedb5624be BUGFIX: #12859 Fix link to ResourceController in documentation
2021-10-25 23:57:02 +02:00
Youri Westerman
ba6780d3c5 Checking hydra description key instead of message key 2021-10-22 15:35:15 +02:00
Christiane Helmchen
dedb5624be BUGFIX: #12859 Fix link to ResourceController in documentation 2021-10-22 15:26:04 +02:00
Youri Westerman
397a054652 Require the json extension as dev dependency as the tests use json_decode() 2021-10-22 13:45:49 +02:00
Youri Westerman
d953ed74b4 Remove whitespace from behat tag filters in github action configuration 2021-10-22 12:42:34 +02:00
Youri Westerman
4ab80c52a6 Remove deprecated whitespace from behat tag filters 2021-10-22 12:38:18 +02:00
Francis Hilaire
b7b7095432
Merge branch '1.9' into constraint-doctrine-dbal 2021-10-21 18:22:46 +02:00
Francis Hilaire
4466a76b5f Add conflict with doctrine/dba ^3 to avoid missing json_array type error 2021-10-21 17:06:25 +02:00
Grzegorz Sadowski
ecb243b2d7
minor #13216 [Maintenance] Bump node version in CI (lchrusciel)
This PR was merged into the 1.9 branch.

Discussion
----------

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

<!--
 - Bug fixes must be submitted against the 1.9 or 1.10 branch (the lowest possible)
 - Features and deprecations must be submitted against the master 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
-------

e5b05e7dde [Maintenance] Bump node version in CI
abe0677535 [Maintenance] Bump node version in CI to v14
2021-10-21 07:13:36 +02:00
Łukasz Chruściel
abe0677535
[Maintenance] Bump node version in CI to v14 2021-10-19 17:47:24 +02:00
Łukasz Chruściel
e5b05e7dde
[Maintenance] Bump node version in CI 2021-10-19 14:52:29 +02:00
Łukasz Chruściel
6991150d65
Merge pull request #13213 from Arminek/feature/change-ubuntu-version-github-runners-19
[Maintenance] Change ubuntu runners
2021-10-18 18:42:57 +02:00
Arkadiusz Krakowiak
559d683e29 [Maintenance] Change ubuntu runners 2021-10-18 15:15:18 +02:00
Mateusz Zalewski
6fc113a382
bug #13173 [HotFix] Update conflict to doctrine/orm to fix the problem with creating taxons (GSadee)
This PR was merged into the 1.9 branch.

Discussion
----------

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

<!--
 - Bug fixes must be submitted against the 1.9 or 1.10 branch (the lowest possible)
 - Features and deprecations must be submitted against the master 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
-------

82d459819e [HotFix] Update conflict to doctrine/orm to fix the problem with creating taxons
2021-10-06 11:39:57 +02:00
Grzegorz Sadowski
82d459819e
[HotFix] Update conflict to doctrine/orm to fix the problem with creating taxons 2021-10-06 07:12:40 +02:00
Mateusz Zalewski
8db773d2f7
bug #13165 [HotFix] Add conflict to doctrine/orm to fix the problem with creating taxons (GSadee)
This PR was merged into the 1.9 branch.

Discussion
----------

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


Commits
-------

312746312e [HotFix] Add conflict to doctrine/orm to fix the problem with creating taxons
2021-10-04 12:01:23 +02:00
Grzegorz Sadowski
312746312e
[HotFix] Add conflict to doctrine/orm to fix the problem with creating taxons 2021-10-04 11:40:44 +02:00
Mateusz Zalewski
403c033385
Change application's version to v1.9.9-dev 2021-09-30 14:13:37 +02:00
Mateusz Zalewski
d766241f97
Generate changelog for v1.9.8 2021-09-30 14:07:24 +02:00
Mateusz Zalewski
32f69f9baf
Change application's version to v1.9.8 2021-09-30 14:06:00 +02:00
Grzegorz Sadowski
767c1ce98a
bug #13154 [API] Do not allow to address empty cart (Zales0123)
This PR was merged into the 1.9 branch.

Discussion
----------

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

After addressing the empty cart and adding an item to it, there is a cart with some products but payment_skipped as payment state 💃 *In theory*, it's not a problem, as after completion payment state is correct (awaiting payment), but if anything happens about payment before checkout completion, it can lead to some nasty errors. And, conceptually, addressing empty cart does not seems as something correct 🚀 

Commits
-------

10e6645c61 Describe bug with Behat scenario
724ac5be72 Include validation on AddressCart command
2021-09-30 09:55:15 +02:00
Mateusz Zalewski
724ac5be72
Include validation on AddressCart command 2021-09-30 07:34:03 +02:00
Mateusz Zalewski
10e6645c61
Describe bug with Behat scenario 2021-09-27 16:37:14 +02:00
Mateusz Zalewski
c00bf6d526
bug #13102 Check if the form is submitted before validation (jacquesbh)
This PR was merged into the 1.9 branch.

Discussion
----------

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

I got this error during the development of a cart related feature:

```
Symfony\Component\Form\Exception\LogicException:
Cannot check if an unsubmitted form is valid. Call Form::isSubmitted() before Form::isValid().

  at vendor/symfony/form/Form.php:752
  at Symfony\Component\Form\Form->isValid()
     (vendor/sylius/sylius/src/Sylius/Bundle/OrderBundle/Controller/OrderController.php:83)
  at Sylius\Bundle\OrderBundle\Controller\OrderController->saveAction(object(Request))
     (vendor/symfony/http-kernel/HttpKernel.php:157)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:79)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:199)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (public/index.php:25)
```

This PR fixes that.

We _could_ update all controllers with the same fix but right now I prefer to change only this one since I know the behavior.

Commits
-------

8d37b493c7 Check if the form is submitted before validation
2021-09-16 11:34:52 +02:00
Jacques Bodin-Hullin
8d37b493c7
Check if the form is submitted before validation 2021-09-16 09:19:59 +02:00
Magdalena Sadowska
80d32d43ec
feature #12863 Add yaml configuration examples to the "Custom Payment Gateway" cookbook (DennisCodeBuds)
This PR was merged into the 1.9 branch.

Discussion
----------

In my projects I tend to use YAML for the configuration files so I thought it might be helpful to others to add configuration examples in the YAML format

| Q               | A
| --------------- | -----
| Branch?         | 1.9, 1.10 or master 
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | 
| License         | MIT


Commits
-------

d81eb2b17b Add yaml configuration examples
d81f3f1e6b Fix codeblock notations, remove commads
2021-09-13 22:43:39 +02:00
Magdalena Sadowska
1f6b320171
bug #12824 [Documentation] Fixed logo customization (, CoderMaggie)
This PR was merged into the 1.9 branch.

Discussion
----------

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

Fixed path to logo template file

Commits
-------

a50af8700a corrected path to logo template and overridden file code
c1c21a74d0 [Docs][Getting started with Sylius] Logo customization - review fixes
2021-09-09 22:51:57 +02:00
DennisCodeBuds
d81f3f1e6b
Fix codeblock notations, remove commads 2021-09-09 15:36:34 +02:00