Commit graph

31870 commits

Author SHA1 Message Date
Jan Góralski
7d351c13fe
minor #15992 Provide some Bunnyshell images improvements (jakubtobiasz)
This PR was merged into the 1.13 branch.

Discussion
----------

- env autorefreshing every hour
- hide notices/deprecations in the logs
- add generating keypair for jwt signing

Commits
-------
  maintenance(Bunnyshell): disable logging notices, strict errors and deprecations
  maintenance(Bunnyshell): add refreshing the environment every hour
  maintenance(Bunnyshell): add generating keypair for generating JWT tokens
2024-03-14 09:33:17 +01:00
Jacob Tobiasz
6fe35a215f
maintenance(Bunnyshell): add generating keypair for generating JWT tokens 2024-03-14 09:23:07 +01:00
Jacob Tobiasz
3320384ed6
maintenance(Bunnyshell): add refreshing the environment every hour 2024-03-14 09:21:26 +01:00
Jacob Tobiasz
2ee42d6374
maintenance(Bunnyshell): disable logging notices, strict errors and deprecations 2024-03-14 09:21:12 +01:00
Jacob Tobiasz
c0a3a05b77
minor #15989 [Maintenance] Revert deprecating and aliasing PaymentFixture (NoResponseMate)
This PR was merged into the 1.13 branch.

Discussion
----------

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

The original service has been added in 1.13, no point in aliasing/deprecating it, we can just move it.

Commits
-------
  [Maintenance] Revert deprecating and aliasing PaymentFixture
2024-03-13 19:03:08 +01:00
Jan Goralski
1a822025d2
[Maintenance] Revert deprecating and aliasing PaymentFixture 2024-03-13 15:40:36 +01:00
Karol
02952c7d3a
minor #15988 Change the default NODE_VERSION to 18 (jakubtobiasz)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | `1.13`

From what I see, all our PR-based envs fails since we bumped the min. node version to 18 :p.

Commits
-------
  Change the default NODE_VERSION to 18
2024-03-13 15:29:13 +01:00
Jacob Tobiasz
867bed80ec
Change the default NODE_VERSION to 18 2024-03-13 14:25:13 +01:00
Jan Góralski
05b77bc4ab
minor #15949 [API] Administrator and Customer endpoints Reorganization (Rafikooo)
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                                                          |

To enhance DX, we place commonly searched auth endpoints at the top of the resources list, grouped together with Security group:
<img width="652" alt="image" src="https://github.com/Sylius/Sylius/assets/40125720/296be132-6127-47f7-8a0c-462ba553aaa1">

Additionally, In this PR, we grouped administrator and customer-related endpoints with their respective tags.

<img width="823" alt="image" src="https://github.com/Sylius/Sylius/assets/40125720/e4552492-aee2-4e4c-956d-33cdb0d74553">
<img width="765" alt="image" src="https://github.com/Sylius/Sylius/assets/40125720/72f8596d-68f6-4d40-b4f6-329fdc2a5782">
<img width="460" alt="image" src="https://github.com/Sylius/Sylius/assets/40125720/46e1b5c1-aa51-4f5b-b5e7-ea6108ab1c98">


Commits
-------
  [API] Unify AdminUser resources by their shortNames
  [API] Unify Customer resources by their shortNames
  [API] Use the same shortName for Customer resource in documentation modifier
  [API] Use the same shortName for AdminUser resource in documentation modifier
  [API] Improve schema documentation for administrator authentication
  [API] Add missing HTTP response descriptions in schema documentation for administrator authentication
  [API] Unify OpenApi summaries
  [API] Add missing HTTP response descriptions in schema documentation for customer authentication
  [API] Change endpoint for requesting admin authentication token
  [API] Change endpoint for requesting customer authentication token
  [Docs] Update Login to the shop section
  [API] Change endpoint for administrator reset password
  [API] Change endpoint for customer reset password
  [API] Change endpoint for customer verification
  [API] Change endpoint for contact
  [API] Change ResetPassword command property name
  [Swagger] Add Security section on top of the resurces list
  [Swagger] Fix post-token-obtaining dynamic API authorization
  [Behat] Simplify ApiPlatformSecurityClient constructor
  [UpgradeAPI] Add a note about endpoints changes
  [Upgrade] Add a note about ResetPassword commands constructors signatures changes
2024-03-12 16:20:53 +01:00
Rafikooo
0f1a41dc57
[Upgrade] Add a note about ResetPassword commands constructors signatures changes 2024-03-12 14:43:09 +01:00
Rafikooo
bff061dfce
[UpgradeAPI] Add a note about endpoints changes 2024-03-12 14:43:09 +01:00
Rafikooo
a6eb037ecd
[Behat] Simplify ApiPlatformSecurityClient constructor 2024-03-12 14:43:09 +01:00
Rafikooo
965302f18d
[Swagger] Fix post-token-obtaining dynamic API authorization 2024-03-12 14:43:09 +01:00
Jacob Tobiasz
d678eb6969
minor #15982 [Upgrade] Note about Command and Console namespaces (Rafikooo)
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 --> |
| Related tickets | https://github.com/Sylius/Sylius/pull/15947                   |
| 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
-------
  [Upgrade] Update a note about Command namespace changes
2024-03-11 22:34:48 +01:00
Rafikooo
efb8edc161
[Swagger] Add Security section on top of the resurces list 2024-03-11 17:00:09 +01:00
Rafikooo
018c813609
[API] Change ResetPassword command property name 2024-03-11 17:00:09 +01:00
Rafikooo
1a0c288dc0
[API] Change endpoint for contact 2024-03-11 17:00:09 +01:00
Rafikooo
0bc418fd88
[API] Change endpoint for customer verification 2024-03-11 17:00:08 +01:00
Rafikooo
295901a0cd
[API] Change endpoint for customer reset password 2024-03-11 17:00:08 +01:00
Rafikooo
9fdc244a35
[API] Change endpoint for administrator reset password 2024-03-11 17:00:08 +01:00
Rafikooo
e860ecf4ac
[Docs] Update Login to the shop section 2024-03-11 17:00:08 +01:00
Rafikooo
05ff93ffb0
[API] Change endpoint for requesting customer authentication token 2024-03-11 17:00:08 +01:00
Rafikooo
b0e1c284e8
[API] Change endpoint for requesting admin authentication token 2024-03-11 17:00:08 +01:00
Rafikooo
ff1a9e812c
[API] Add missing HTTP response descriptions in schema documentation for customer authentication 2024-03-11 17:00:08 +01:00
Rafikooo
8822420465
[API] Unify OpenApi summaries 2024-03-11 17:00:08 +01:00
Rafikooo
f3983644c3
[API] Add missing HTTP response descriptions in schema documentation for administrator authentication 2024-03-11 17:00:07 +01:00
Rafikooo
db91fb7e20
[API] Improve schema documentation for administrator authentication 2024-03-11 17:00:07 +01:00
Rafikooo
8d0a658a6a
[API] Use the same shortName for AdminUser resource in documentation modifier 2024-03-11 17:00:07 +01:00
Rafikooo
565e9d4027
[API] Use the same shortName for Customer resource in documentation modifier 2024-03-11 17:00:07 +01:00
Rafikooo
bdca191c44
[API] Unify Customer resources by their shortNames 2024-03-11 17:00:07 +01:00
Rafikooo
f8dfe9b292
[API] Unify AdminUser resources by their shortNames 2024-03-11 17:00:07 +01:00
Rafikooo
53c6d471f1
[Upgrade] Update a note about Command namespace changes 2024-03-11 16:56:45 +01:00
Jacob Tobiasz
900ed08d0a
minor #15947 [Maintenance] Enhance and Reorganize Upgrade Files (Rafikooo)
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                                                          |

To facilitate the transition to Sylius 1.13, we have improved the `UPGRADE` and `UPGRADE-API` files. Changes are now organized by topic, and any missing FCQNs have been added to avoid confusion.

Commits
-------
  [Upgrade] Apply auto-format and minor namespaces and descriptions enhancements
  [Upgrade] Group constructor deprecation changes
  [Upgrade] Move the rest of constructor related deprecations
  [Upgrade] Grup Interfaces and Classes deprecations and changes
  [Upgrade] Group configuration changes
  [Upgrade] Group State Machine changes
  [Upgrade] Move Price History Plugin entry to preconditions step
  [Upgrade] Group translations changes
  [Upgrade] Add miscellaneous section
  [Upgrade] Add missing FSQNs and improve other constructors signature changes descriptions
  [UpgradeAPI] Apply auto-format
  [UpgradeAPI] Group classes signature changes
  [Upgrade] Move SendResetPasswordEmailHandler class changes entry from UpgradeAPI
  [UpgradeAPI] Group endpoints changes
  [UpgradeAPI] Group miscellaneous changes
  [Upgrade] Fix formatting
  [Upgrade] Apply review request changes
  [UpgradeAPI] Apply review request changes
  [Upgrade] Unify the way of describing constructor signatures changes for CoreBundle classes
  [Upgrade] Unify the way of describing constructor signatures changes for AdminBundle classes
  [Upgrade] Unify the way of describing constructor signatures changes for ShopBundle classes
  [Upgrade] Unify the way of describing constructor signature changes for AttributeBundle class
  [Upgrade] Unify the way of describing constructor signatures changes for components' classes
  [Upgrade] Add a note about switching to symfony/clock package
  [Upgrade] Extract the architectural changes section
  [Upgrade] Move non-classes related changes under miscellaneous section
  [Upgrade] Group HTTP related changes
  [Upgrade] Extract dependencies section and apply other minor changes
2024-03-11 12:44:49 +01:00
Grzegorz Sadowski
a9b191cabd
Change application's version to v1.13.0-DEV 2024-03-11 11:36:08 +01:00
Grzegorz Sadowski
7573b9044f
Generate changelog for v1.13.0-ALPHA.2 2024-03-11 11:33:21 +01:00
Grzegorz Sadowski
a3717cb55f
Change application's version to v1.13.0-ALPHA.2 2024-03-11 11:26:49 +01:00
Rafał Jaskulski
05d935c423
[UPMERGE] 1.12 -> 1.13 (#15977)
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 <this-pr-number>
git merge upstream/1.13 -m "Resolve conflicts between 1.12 and 1.13"
```

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-03-10 23:39:33 +01:00
Jacob Tobiasz
84d83bdc8e
[UPMERGE] 1.12 -> 1.13 (#15973)
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 <this-pr-number>
git merge upstream/1.13 -m "Resolve conflicts between 1.12 and 1.13"
```

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-03-09 08:03:35 +01:00
Jacob Tobiasz
5e78da61be
bugfix #15696 [Admin] Do not disable channel base currency when none set (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 | fixes #15668, #12330                      |
| License         | MIT                                                          |

Commits
-------
  [Admin] Do not disable channel base currency when none set
2024-03-09 07:08:12 +01:00
Jacob Tobiasz
280248c98c
Resolve conflicts between 1.12 and 1.13 2024-03-09 06:45:51 +01:00
Rafał Jaskulski
ae48d5117c
minor #15939 BUGFIX: #15938 [AdminBundle] add spacing between choose file button and uploaded image in image_widget (crydotsnake)
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 | #15938                                                       |
| 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
-->

**Description**

As described in: #15938

When you upload a file in the image widget the uploaded image has no spacing between the choose file button. Therfore it looks a bit squeezed which doesent look very nice.

To make it look consistent i added a CSS class arround the button with a `margin-bottom` that has the same spacing as between the Type input, and the choose file button.

<img width="421" alt="before_and_after" src="https://github.com/Sylius/Sylius/assets/39345336/4ec1fcf4-fccb-4ed3-9124-075401815c51">


Commits
-------
  BUGFIX: #15938 add spacing between choose file button and uploaded image in image_widget
  TASK: adjust naming of css class
2024-03-08 13:23:41 +01:00
Grzegorz Sadowski
da79357b5c
minor #15971 [Docs] Refactor information about GUS (CoderMaggie)
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 |     |
| License         | MIT                                                          |

Moving information about GUS to a more appropriate place.


Commits
-------

e41d1081b1 [Docs] refactor information about GUS
2024-03-08 12:46:50 +01:00
Magdalena Sadowska
e41d1081b1 [Docs] refactor information about GUS 2024-03-08 12:34:42 +01:00
Jacob Tobiasz
a6bec53dbd
minor #15970 [Order] Remove dead argument from OrderRepository::countByCustomerAndCoupon (NoResponseMate)
This PR was merged into the 1.13 branch.

Discussion
----------

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

Rationale:
1. The argument is only present in the implementation's signature
2. If someone overwritten the method, nothing changes
3. If someone implemented the interface on their own, nothing changes since the interface doesn't have this argument
4. If someone uses the method w/ 3 arguments, nothing changes since it's not used in the method itself and PHP allows passing more than declared arguments to a method

Commits
-------
  [Order] Remove dead argument from OrderRepository::countByCustomerAndCoupon
2024-03-08 12:19:53 +01:00
Rafał Jaskulski
210254d717
minor #15969 [API] Remove experimental tag from ApiBundle (GSadee)
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<!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | |
| 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] Remove experimental tag
  [API] Remove experimental note from Swagger + remove unneeded template
2024-03-08 11:59:47 +01:00
Jan Goralski
8291cf6e98
[Order] Remove dead argument from OrderRepository::countByCustomerAndCoupon 2024-03-08 11:13:12 +01:00
Grzegorz Sadowski
4e06582276
[API] Remove experimental note from Swagger + remove unneeded template 2024-03-08 10:37:21 +01:00
Grzegorz Sadowski
08ceefd906
[API] Remove experimental tag 2024-03-08 10:36:07 +01:00
Rafał Jaskulski
602c61bc2c
[UPMERGE] 1.12 -> 1.13 (#15966)
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 <this-pr-number>
git merge upstream/1.13 -m "Resolve conflicts between 1.12 and 1.13"
```

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-03-08 09:24:29 +01:00
Jan Góralski
5dd4140a2f
docs #15968 Remove info about forum from Admin panel and documentation (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 | #15956 and #15957 |
| 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
-------
  [Admin] Remove info about forum from Admin panel
  [Documentation] Remove remaining info about forum
2024-03-08 08:12:45 +01:00