Commit graph

27012 commits

Author SHA1 Message Date
Ferror
fc21e98852 use test_cached environment 2022-04-29 10:43:24 +02:00
Ferror
8335dbc1f2 [docker]Run Catalog Promotion via SYNC messenger transport 2022-04-28 14:52:20 +02:00
Łukasz Chruściel
760f934bda
Merge branch '1.11'
* 1.11:
  Explain in details how new Sylius release is planned
2022-04-27 18:36:13 +02:00
Łukasz Chruściel
69483cdc79
Merge branch '1.10' into 1.11
* 1.10:
  Explain in details how new Sylius release is planned
2022-04-27 18:35:52 +02:00
Łukasz Chruściel
466cefb2fa
bug #13903 [Documentation] Improve and fix the release cycle documentation (Zales0123)
This PR was merged into the 1.10 branch.

Discussion
----------

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

I was quite surprised when I found out that our release cycle is called _time-based_ in our documentation 😱 That's definitely not the way we are releasing Sylius now (and it has not been for some past versions as well). 
So, to improve transparency within the Community, I would like to document what are the factors we take into consideration when planning the new minor release and what are the consequences of this decision. 

I've also remodelled the tables with past releases a little bit 💃

Do not fear, the 1.12 release date will be determined soon 🚀 🖖 


Commits
-------

84acb22788 Explain in details how new Sylius release is planned
2022-04-27 18:35:34 +02:00
Mateusz Zalewski
84acb22788
Explain in details how new Sylius release is planned 2022-04-27 15:46:02 +02:00
Grzegorz Sadowski
03014b7931
Merge branch '1.11'
* 1.11:
  [maintenance][mailer]Assert that email is not null
2022-04-27 07:38:54 +02:00
Grzegorz Sadowski
29844a9d0d
Merge branch '1.10' into 1.11
* 1.10:
  [maintenance][mailer]Assert that email is not null
2022-04-27 07:26:20 +02:00
Grzegorz Sadowski
3776274c5b
minor #13898 [maintenance][mailer]Assert that email is not null (Ferror)
This PR was merged into the 1.10 branch.

Discussion
----------

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

The latest Sylius Mailer update changed the email address type as not nullable. Therefore our psalm and phpstan pipelines recorded errors. This PR checks if the email is null. Similarly, as we did it in Sylius/Plus. There is no need to send a mail when the email address is null.

Commits
-------

5a021b06f7 [maintenance][mailer]Assert that email is not null
2022-04-27 07:22:40 +02:00
Łukasz Chruściel
3d0c17d697
refactor #13896 [behat]Extract Request creation to separate service (Ferror)
This PR was merged into the 1.12-dev branch.

Discussion
----------

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

It is a part of improving Developer Experience in Behat tests. I removed factory methods out of the Request class, as the object has really grown up. Moved these methods to separate Factory required a lot of changes, that's why I decided to postpone here and merge current changes.

Created Request Builder and Factory will provide an additional layer for future developers to build their own Requests

Commits
-------

77b515ea96 Extract building and creating Request object outside of API client
2022-04-26 16:42:53 +02:00
Ferror
5a021b06f7
[maintenance][mailer]Assert that email is not null 2022-04-26 16:22:26 +02:00
Ferror
77b515ea96 Extract building and creating Request object outside of API client 2022-04-26 16:00:21 +02:00
Łukasz Chruściel
6cbcaa8ac1
refactor #13881 Use api route prefix parameter instead of /api/v2 (Prometee)
This PR was merged into the 1.12-dev branch.

Discussion
----------

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

Small PR to be able to use another api route prefix while generating the swagger page.


Commits
-------

a5aa5f7a7c Use api route prefix parameter instead of fixed /api/v2
2022-04-25 16:54:57 +02:00
Grzegorz Sadowski
5cf9044f66
Merge branch '1.11'
* 1.11:
  Change application's version to v1.11.5-dev
  Generate changelog for v1.11.4
  Change application's version to v1.11.4
2022-04-22 12:26:40 +02:00
Grzegorz Sadowski
a3740747ab
Change application's version to v1.11.5-dev 2022-04-22 12:24:33 +02:00
Grzegorz Sadowski
7f4d3115f0
Generate changelog for v1.11.4 2022-04-22 12:24:09 +02:00
Grzegorz Sadowski
e19e2dbbd0
Change application's version to v1.11.4 2022-04-22 12:24:07 +02:00
Grzegorz Sadowski
509c3a96bf
Merge branch '1.11'
* 1.11:
  Change application's version to v1.10.14-dev
  Generate changelog for v1.10.13
  Change application's version to v1.10.13
2022-04-22 12:22:48 +02:00
Grzegorz Sadowski
3fb59ef2de
Merge branch '1.10' into 1.11
* 1.10:
  Change application's version to v1.10.14-dev
  Generate changelog for v1.10.13
  Change application's version to v1.10.13
2022-04-22 12:22:22 +02:00
Grzegorz Sadowski
8c9e698f28
Change application's version to v1.10.14-dev 2022-04-22 12:15:40 +02:00
Grzegorz Sadowski
c66ab3bfcd
Generate changelog for v1.10.13 2022-04-22 12:14:55 +02:00
Grzegorz Sadowski
2611430153
Change application's version to v1.10.13 2022-04-22 12:14:54 +02:00
Grzegorz Sadowski
6d907912b5
Merge branch '1.11'
* 1.11:
  [maintenance]Fix ECS HeaderCommentFixer
  [maintenance]Run ECS in parallel
  [Templates][Admin] Refactor order payments template to use events
  [Documentation] Fix the description of items total shipping rules
  Description added to header
  [Swagger] Enum with available locale codes in Accept-Language header
2022-04-22 12:10:58 +02:00
Grzegorz Sadowski
52e8b9c502
Merge branch '1.10' into 1.11
* 1.10:
  [maintenance]Fix ECS HeaderCommentFixer
  [maintenance]Run ECS in parallel
  [Templates][Admin] Refactor order payments template to use events
  [Documentation] Fix the description of items total shipping rules
2022-04-22 12:10:38 +02:00
Łukasz Chruściel
98584d6e86
feature #13875 [Swagger] Enum with available locale codes in Accept-Language header (ernestWarwas)
This PR was merged into the 1.11 branch.

Discussion
----------

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

<img width=719 alt=image src=https://user-images.githubusercontent.com/28228691/163384178-a9abf83c-ebcc-4961-828e-517d278d839c.png>


<!--
 - Bug fixes must be submitted against the 1.10 or 1.11 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
-------

ac2c8f5 [Swagger] Enum with available locale codes in Accept-Language header
f58396e Description added to header
2022-04-21 20:58:37 +02:00
Łukasz Chruściel
f08c43ec51
refactor #13850 [Maintenance][Docker]Create simple docker environment (Ferror)
This PR was merged into the master branch.

Discussion
----------

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

This is the first version of working Sylius monorepo Docker Compose. Please note, that it is a simple docker environment and some things may not work yet out of the box - we should use it and inform you about any existing issues.

# Things that do not work yet, but are not crucial
* I decided to not install  yet, but it will be provided in the nearest future
* JS Behat tests are not successfully running as there is a problem with chrome on M1 processors. I'm in touch with somebody from https://github.com/Zenika/alpine-chrome as they are working on it in the latest version.

# Requirements
* Docker
* Docker Compose
* Free 80 and 3306 HTTP ports

# How to run?
* bash:  
*  or  for docker compose V2
* run inside the container:  - it will execute fixtures and composer
* Mac OS only - wait for some as the container has to initialize and sync the file system
* enter 

# How to update?
* bash: 
* bash: 
* run inside the container:  - it will execute fixtures, composer, and node updates
* Mac OS only - wait for some as the container has to initialize and sync the file system
* enter 

Commits
-------

49589a8 [Maintenance][Docker]Create simple environment
2022-04-21 17:55:06 +02:00
Łukasz Chruściel
f4fcc1c75d
refactor #13890 [maintenance]Fix ECS HeaderCommentFixer (Ferror)
This PR was merged into the 1.10 branch.

Discussion
----------

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

Commits
-------

20f38df1b5 [maintenance]Fix ECS HeaderCommentFixer
2022-04-21 09:31:26 +02:00
Łukasz Chruściel
afbd7064fb
refactor #13891 [maintenance]Run ECS in parallel (Ferror)
This PR was merged into the 1.10 branch.

Discussion
----------

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

<!--
 - Bug fixes must be submitted against the 1.10 or 1.11 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
-->

Nowadays computers and PIPELINES have more than one core - this simple trick will speed up checking coding standard

Commits
-------

d78f93ce82 [maintenance]Run ECS in parallel
2022-04-21 09:30:17 +02:00
Ferror
20f38df1b5
[maintenance]Fix ECS HeaderCommentFixer 2022-04-21 07:49:10 +02:00
Ferror
d78f93ce82
[maintenance]Run ECS in parallel 2022-04-21 07:44:38 +02:00
Ferror
49589a8c83 [Maintenance][Docker]Create simple environment 2022-04-20 16:01:14 +02:00
Łukasz Chruściel
3310fd7270
minor #13888 [Documentation] Fix the description of items total shipping rules (GSadee)
This PR was merged into the 1.10 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.10
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | 
| Related tickets | after https://github.com/Sylius/Sylius/pull/13870
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.10 or 1.11 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
-------

50475cdb02 [Documentation] Fix the description of items total shipping rules
2022-04-20 15:43:05 +02:00
Łukasz Chruściel
424e31b673
refactor #13886 [Templates][Admin] Refactor order payments template to use events (coldic3)
This PR was merged into the 1.10 branch.

Discussion
----------

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


Commits
-------

d58645e1d9 [Templates][Admin] Refactor order payments template to use events
2022-04-20 15:41:11 +02:00
Kevin Kaniaburka
d58645e1d9 [Templates][Admin] Refactor order payments template to use events 2022-04-20 13:50:13 +02:00
Grzegorz Sadowski
50475cdb02
[Documentation] Fix the description of items total shipping rules 2022-04-20 13:31:10 +02:00
Grzegorz Sadowski
213a9d4251
Merge branch '1.11'
* 1.11:
  Use the interface
  Use the interface
  [Maintenance] Run the build on tags rather than on releases
2022-04-20 10:00:03 +02:00
Grzegorz Sadowski
d445bc0782
Merge branch '1.10' into 1.11
* 1.10:
  Use the interface
  Use the interface
  [Maintenance] Run the build on tags rather than on releases
2022-04-20 09:59:10 +02:00
Grzegorz Sadowski
b1f651ab86
refactor #13601 Use the Gaufrette FilesystemInterface instead of a concrete implementation (GSadee, mbabker)
This PR was merged into the 1.10 branch.

Discussion
----------

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

The image uploader has a dependency to a concrete class instead of the interface.  This widens the parameter type to allow the interface.

Commits
-------

7d3fbe13c0 Use the interface
c37b30e0ea Use the interface
2022-04-20 09:56:00 +02:00
Michael Babker
c37b30e0ea
Use the interface 2022-04-20 08:43:50 +02:00
Grzegorz Sadowski
7d3fbe13c0
Use the interface 2022-04-20 08:43:41 +02:00
Francis Hilaire
a5aa5f7a7c
Use api route prefix parameter instead of fixed /api/v2 2022-04-15 19:32:27 +02:00
Łukasz Chruściel
486becba9c
minor #13855 [UI][Swagger] AutoAuthorize on sending admin credentials (SirDomin)
This PR was merged into the 1.11-dev branch.

Discussion
----------

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

Automatically log in to swagger docs after authorization. Just to improve user/developer experience to avoid requesting and copy-pasting credentials every time you refresh page.

I had to hack React using vanilla js xD appreciate it.

https://user-images.githubusercontent.com/22825722/162623176-07768e6c-6ca0-468b-b99e-dc6217a24f42.mov



<!--
 - Bug fixes must be submitted against the 1.10 or 1.11 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
-------

29345891f0 [UI][Swagger] AutoAuthorize on sending admin credentials
2022-04-15 16:59:33 +02:00
Łukasz Chruściel
64e3e1f3eb
minor #13852 [Maintenance] Run the build on tags rather than on releases (Zales0123)
This PR was merged into the 1.10 branch.

Discussion
----------

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

The tag push is an actual moment when the new version of Sylius is done, the release is just the icing on the cake 🍰 So it makes more sense to run the workflow when the real thing is happening, not when it's nicely served 🖖 

Commits
-------

a51aa7e [Maintenance] Run the build on tags rather than on releases
2022-04-15 16:44:51 +02:00
Łukasz Chruściel
17b2cf90a3
Merge branch '1.11'
* 1.11:
  [API] Cover more cases in the filter_eager_loading_extension config tests
  [API] Refactor sylius_api.filter_eager_loading_extension config
  [API] Rename FilterEagerLoadingExtension to RestrictingFilterEagerLoadingExtension
2022-04-15 16:11:58 +02:00
Łukasz Chruściel
46c11782f3
refactor #13876 [API] Refactor FilterEagerLoadingExtension (coldic3)
This PR was merged into the 1.11 branch.

Discussion
----------

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

Commits
-------

b1f67d6242 [API] Rename FilterEagerLoadingExtension to RestrictingFilterEagerLoadingExtension
71258fb6fc [API] Refactor sylius_api.filter_eager_loading_extension config
a3f2adf269 [API] Cover more cases in the filter_eager_loading_extension config tests
2022-04-15 16:11:05 +02:00
Ernest Warwas
f58396e9d4
Description added to header
Description added to header

description updated

spec fixed
2022-04-15 15:40:09 +02:00
Łukasz Chruściel
a4144c70a6
bug #13879 [HotFix][Behat][API] Fix suddenly failing tests (coldic3)
This PR was merged into the 1.11-dev branch.

Discussion
----------

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

Sometimes there is a need to resend a request if the last response has been overwritten.

Commits
-------

bb26546ca4 [Behat][API] Add resend request functionality to API client
836ed3b157 [Behat][API] Fix suddenly failing tests
2022-04-15 10:49:47 +02:00
Kevin Kaniaburka
836ed3b157 [Behat][API] Fix suddenly failing tests 2022-04-15 09:26:35 +02:00
Kevin Kaniaburka
bb26546ca4 [Behat][API] Add resend request functionality to API client 2022-04-15 09:14:49 +02:00
Łukasz Chruściel
f602864b44
Merge branch '1.11'
* 1.11:
  [Behat] variant name instead of product name
  [Template] variant name instead of product name
2022-04-14 21:39:22 +02:00