Commit graph

27034 commits

Author SHA1 Message Date
Ferror
c40c39e2e9 [maintenance][docker]Increase opcache limits 2022-05-04 12:09:57 +02:00
Łukasz Chruściel
50be917ea0
bug #13901 Use API Url prefix on sylius.api.paths_to_hide (Prometee)
This PR was merged into the 1.12-dev branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | master
| Bug fix?        | yes (in case you are not using the default api url prefix)
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | none
| License         | MIT

If you are using another url prefix, different from `/api/v2` then those paths are not processed, this PR fix this issue.


Commits
-------

6f15f1209f Use API Url prefix on sylius.api.paths_to_hide
2022-04-29 19:13:32 +02:00
Łukasz Chruściel
e66eed0814
minor #13882 [maintenance]Unify markdown tables (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

<!--
 - 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
-->
<img width="874" alt="Screenshot 2022-04-17 at 00 32 36" src="https://user-images.githubusercontent.com/17534504/163693300-71da6a05-4c8d-4729-9722-30a24aa8e196.png">




Commits
-------

7c8b4dd945 [maintenance]Unify markdown tables
2022-04-29 19:12:44 +02:00
Łukasz Chruściel
4b907c6d6e
minor #13914 Revert "[docker]Run Catalog Promotion via SYNC messenger transport" (lchrusciel)
This PR was merged into the 1.12-dev branch.

Discussion
----------

Reverts Sylius/Sylius#13897, due to too quick merge. The build itself was red and it should not land in the codebase in the first place

Commits
-------

3f0750b504 Revert "[docker]Run Catalog Promotion via SYNC messenger transport"
2022-04-29 18:56:25 +02:00
Łukasz Chruściel
3f0750b504
Revert "[docker]Run Catalog Promotion via SYNC messenger transport" 2022-04-29 18:55:35 +02:00
Łukasz Chruściel
e34578a114
refactor #13897 [docker]Run Catalog Promotion via SYNC messenger transport (Ferror)
This PR was merged into the master branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.10, 1.11 or master <!-- 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.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
-------

8335dbc [docker]Run Catalog Promotion via SYNC messenger transport
fc21e98 use test_cached environment
8264470 specify KernelClass
c367c2e composer dump env
2022-04-29 18:54:26 +02:00
Łukasz Chruściel
e2a0cd63d1
minor #13906 [AUTO] Updated translations from Crowdin (master) (SyliusBot)
This PR was merged into the master branch.

Discussion
----------



Commits
-------

d3098d1 [Translations] Updated translations from Crowdin
2022-04-29 18:28:08 +02:00
Mateusz Zalewski
8ea9855a6d
Merge branch '1.11'
* 1.11:
  [Docs] Updated Sylius Plus installation guide
  [Maintenance] Specify the default path in the ECS configuration
  [Translations] Updated translations from Crowdin
  Using Sylius template event to change logo
2022-04-29 15:40:56 +02:00
Mateusz Zalewski
e389f53ef9
Merge branch '1.10' into 1.11
* 1.10:
  [Docs] Updated Sylius Plus installation guide
  [Maintenance] Specify the default path in the ECS configuration
  Using Sylius template event to change logo
2022-04-29 15:40:54 +02:00
Mateusz Zalewski
ea775bf044
minor #13909 [Maintenance] Specify the default path in the ECS configuration (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

It makes ECS execution a little bit easier 🙂 

Before:
```bash
vendor/bin/ecs check --fix src/Sylius
```

After:
```bash
vendor/bin/ecs check --fix
```

Yet it is still possible to set any argument in the command, then `src/Sylius` will be overwritten.

Commits
-------

dce26c78e4 [Maintenance] Specify the default path in the ECS configuration
2022-04-29 15:40:01 +02:00
Łukasz Chruściel
90d7c4df53
minor #13905 [AUTO] Updated translations from Crowdin (1.11) (SyliusBot)
This PR was merged into the 1.11 branch.

Discussion
----------



Commits
-------

5f95298 [Translations] Updated translations from Crowdin
2022-04-29 15:39:05 +02:00
Ferror
c367c2e5b6 composer dump env 2022-04-29 13:14:58 +02:00
Ferror
82644701c7 specify KernelClass 2022-04-29 13:12:30 +02:00
Ferror
fc21e98852 use test_cached environment 2022-04-29 10:43:24 +02:00
Grzegorz Sadowski
d103a8b48e
refactor #13907 [Docs] Updated Sylius Plus installation guide - optional PDF Generator (Rafikooo)
This PR was merged into the 1.10 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | master <!-- see the comment below -->
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no <!-- don't forget to update the UPGRADE-*.md file -->
| Related tickets | https://github.com/Sylius/Plus/pull/1032
| 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
-->

<img width="740" alt="image" src="https://user-images.githubusercontent.com/40125720/165862387-157a0dea-70bb-4fa4-91bd-4921e854a41b.png">



Commits
-------

6787b88150 [Docs] Updated Sylius Plus installation guide
2022-04-29 06:50:52 +02:00
Rafikooo
6787b88150
[Docs] Updated Sylius Plus installation guide 2022-04-29 01:13:33 +02:00
Kevin Kaniaburka
dce26c78e4 [Maintenance] Specify the default path in the ECS configuration 2022-04-28 15:36:45 +02:00
Ferror
8335dbc1f2 [docker]Run Catalog Promotion via SYNC messenger transport 2022-04-28 14:52:20 +02:00
Sylius Bot
d3098d1f69 [Translations] Updated translations from Crowdin 2022-04-28 08:34:54 +00:00
Sylius Bot
5f952989fa [Translations] Updated translations from Crowdin 2022-04-28 08:30:17 +00:00
Łukasz Chruściel
8d3dac628b
refactor #13894 Using Sylius template event to change logo (arti0090)
This PR was merged into the 1.10 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.10
| License         | MIT

After:
![image](https://user-images.githubusercontent.com/35863747/164982656-27148c3b-ed8f-49e7-90b9-f2bc5a7d03ab.png)

@CoderMaggie I added the hint about yaml files, if it does not fit I can remove it 🚀 

Commits
-------

3f6f64e508 Using Sylius template event to change logo
2022-04-27 18:59:35 +02:00
arti0090
3f6f64e508 Using Sylius template event to change logo 2022-04-27 18:55:16 +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
Francis Hilaire
6f15f1209f
Use API Url prefix on sylius.api.paths_to_hide 2022-04-27 10:46:15 +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