Commit graph

36145 commits

Author SHA1 Message Date
Wojdylak
6ea219dd8e
Mirror improvement 2024-09-27 09:34:51 +02:00
Wojdylak
e4cbd6b46a
[Admin][PaymentRequest] Add behat tests 2024-09-27 09:34:51 +02:00
Wojdylak
2d65680fb0
[Admin] Add payment request index and show pages 2024-09-27 09:34:50 +02:00
Grzegorz Sadowski
859c87a278
[UPMERGE] 2.0 -> payment-request (#17041)
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/payment-request -m "Resolve conflicts between 2.0 and payment-request"
```

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
push the changes to this PR.
2024-09-27 07:04:34 +02:00
Jan Góralski
e287711c00
minor #17038 Enable behat tests for browsing orders with different currencies (Wojdylak)
This PR was merged into the 2.0 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | n/a
| License         | MIT


Commits
-------
  Enable behat tests for browsing orders with different currencies
2024-09-26 17:12:18 +02:00
Wojdylak
1e81b40498
Enable behat tests for browsing orders with different currencies 2024-09-26 15:48:25 +02:00
Rafał Jaskulski
d408aef5b9
[CI] Add sylius-stack branch to upmerges (#17031)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| 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.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 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
-->
2024-09-26 15:27:33 +02:00
Rafał Jaskulski
92ac7fb3a9
[API] Remove legacy ApiResources (#17033)
| Q               | A
|-----------------|-----
| Branch?         | payment-request
| 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.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 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
-->
2024-09-26 15:26:39 +02:00
Jan Góralski
8e8f7b9e34
minor #17030 [API] Remove unused PathHiderDocumentationModifier (GSadee)
This PR was merged into the 2.0 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | yes
| Deprecations?   | no<!-- don't forget to update the UPGRADE-*.md file -->
| Related tickets | 
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
 - Features, removing deprecations and BC breaks must be submitted against the 2.0 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 unused PathHiderDocumentationModifier
2024-09-26 14:47:38 +02:00
Grzegorz Sadowski
5ec2ac0c7a
[API] Remove legacy ApiResources 2024-09-26 14:37:15 +02:00
Grzegorz Sadowski
a2051f9744
[UPMERGE] 2.0 -> payment-request (#17024)
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/payment-request -m "Resolve conflicts between 2.0 and payment-request"
```

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
push the changes to this PR.
2024-09-26 14:36:00 +02:00
Grzegorz Sadowski
d50c83fd46
[CI] Add sylius-stack branch to upmerges 2024-09-26 14:21:48 +02:00
Grzegorz Sadowski
501eadf68b
[API] Remove unused PathHiderDocumentationModifier 2024-09-26 14:03:08 +02:00
Grzegorz Sadowski
42f2fcb123
Resolve conflicts between 2.0 and payment-request 2024-09-26 13:52:33 +02:00
Karol
e30d0e5df3
[Behat] Enable some already covered scenarios (#17029)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| 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.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 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
-->
2024-09-26 11:08:52 +02:00
Karol
0be81a594c
[Behat][API] Uncomment managing users suite (#17028)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| 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.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 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
-->
2024-09-26 11:04:53 +02:00
Grzegorz Sadowski
54760822b8
[Behat] Enable some already covered scenarios 2024-09-26 09:35:45 +02:00
Grzegorz Sadowski
0643a227c0
[Behat][API] Uncomment managing users suite 2024-09-26 08:50:28 +02:00
Rafał Jaskulski
e5c594ade5
[Behat][Shop] Enable receiving fixed order discount scenario (#17026)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| 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.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 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
-->
2024-09-26 08:35:47 +02:00
Rafał Jaskulski
28614745c4
[Behat] Enable impersonating scenarios (#17027)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| 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.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 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
-->
2024-09-26 08:24:13 +02:00
Grzegorz Sadowski
9939ac5dd4
[Behat] Enable impersonating scenarios 2024-09-26 07:41:50 +02:00
Grzegorz Sadowski
1ef6610f8a
[Behat][Shop] Enable receiving fixed order discount scenario 2024-09-26 07:29:17 +02:00
Rafał Jaskulski
f7becf2241
[Behat] Reorder tags (#17022)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| 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.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 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
-->
2024-09-25 21:33:07 +02:00
Rafał Jaskulski
aaea5a51fc
[Maintenance] Update config phpstan, regenerate baseline and minor fixes (#17023)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | -
| License         | MIT
2024-09-25 21:30:02 +02:00
Jan Góralski
cfa682573c
minor #17021 [Maintenance] Remove unneeded extended-types from form type extension tags (GSadee)
This PR was merged into the 2.0 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 2.0
| 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.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
 - Features, removing deprecations and BC breaks must be submitted against the 2.0 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
-------
  [Maintenance] Remove unneeded extended-types from form type extension tags
2024-09-25 16:01:53 +02:00
Jan Goralski
e32ffdf0b1
[Maintenance] Update config phpstan, regenerate baseline and minor fixes 2024-09-25 15:58:58 +02:00
Grzegorz Sadowski
c8f5ed6cbc
[Behat] Reorder tags 2024-09-25 15:17:22 +02:00
Grzegorz Sadowski
9a0e117d64
[Maintenance] Remove unneeded extended-types from form type extension tags 2024-09-25 15:05:53 +02:00
Karol
3d268cdb52
SYL-3723: View store button (#16972)
![image](https://github.com/user-attachments/assets/86e72efc-7a54-49a2-a31a-74443afd353b)
2024-09-25 14:34:50 +02:00
Grzegorz Sadowski
7cedd62427
Add command bus for payment request (#17014)
| Q               | A
|-----------------|-----
| Branch?         | payment-request
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | n/a
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 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
-->
2024-09-25 14:32:18 +02:00
Kamil Grygierzec
428d353e02
[Composer] Bump minimum Symfony 7 version to 7.1 (#17018)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations? | no<!-- don't forget to update the UPGRADE-*.md file
-->
| Related tickets | 
| License         | MIT

As Symfony 7.0 is no longer supported, I would like to upgrade the
minimum supported version to 7.1.

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 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
-->
2024-09-25 12:17:55 +02:00
Grzegorz Sadowski
ecd82e8273
Merge branch '1.14' into 2.0
* 1.14:
  [API] Add missing endpoint for ShopUser in shop context
2024-09-25 12:13:51 +02:00
Grzegorz Sadowski
7e8e682d09
Merge branch '1.13' into 1.14
* 1.13:
  [API] Add missing endpoint for ShopUser in shop context
2024-09-25 12:06:23 +02:00
Rafał Jaskulski
48e5cef0cb
[API] Add missing endpoint for ShopUser in shop context (#17017)
| Q               | A
|-----------------|-----
| Branch?         | 1.13
| Bug fix?        | yes
| 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.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 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
-->
2024-09-25 11:19:50 +02:00
Grzegorz Sadowski
bcc2f9fe9e
[CI] Bump minimum Symfony 7 version to 7.1 2024-09-25 10:41:38 +02:00
Grzegorz Sadowski
6f23ae3844
[Composer] Bump minimum Symfony 7 version to 7.1 2024-09-25 10:41:03 +02:00
Michał Pysiak
ac0844a41e
Add command bus for payment request 2024-09-25 10:37:39 +02:00
Rafał Jaskulski
57ca6033ff
Move position field from admin to core ProductImageType (#17015)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations? | no<!-- don't forget to update the UPGRADE-*.md file
-->
| Related tickets | fixes
https://github.com/Sylius/Sylius/pull/16995#discussion_r1774696261
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 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
-->
2024-09-25 10:28:27 +02:00
Grzegorz Sadowski
4e19386c7e
[UPMERGE] 2.0 -> payment-request (#17016)
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/payment-request -m "Resolve conflicts between 2.0 and payment-request"
```

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
push the changes to this PR.
2024-09-25 10:25:02 +02:00
Grzegorz Sadowski
f0dc4cb967
[API] Add missing endpoint for ShopUser in shop context 2024-09-25 10:20:32 +02:00
Grzegorz Sadowski
65128bd24b
[UPMERGE] 2.0 -> payment-request (#17005)
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/payment-request -m "Resolve conflicts between 2.0 and payment-request"
```

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
push the changes to this PR.
2024-09-25 09:41:03 +02:00
Grzegorz Sadowski
3ab1eace64
Move position field from admin to core ProductImageType 2024-09-25 09:39:33 +02:00
Grzegorz Sadowski
6901ad3c79
Add position to ProductImage resource (#16995)
| Q               | A
|-----------------|-----
| Branch?         | 2.0 <!-- see the comment below -->
| Bug fix?        | no
| New feature?    | yes
| BC breaks?      | no
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 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
-->

![Screenshot 2024-09-23 at 14 52
11](https://github.com/user-attachments/assets/2eb464c3-f5f0-4dc8-810d-eafe738f3670)
2024-09-25 09:35:51 +02:00
Grzegorz Sadowski
2872d794f3
[Payum] Remove empty test suite config 2024-09-25 08:57:03 +02:00
Grzegorz Sadowski
9af70342d0
[API] Change FQCNs to parameters (#17013)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | n/a
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 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
-->
2024-09-25 08:41:19 +02:00
Grzegorz Sadowski
d0deea8120
[CI] Fix matrix 2024-09-25 08:40:48 +02:00
Karol
4439b14057
Reorganise the twig hooks and templates for translations and divide (#17008)
| Q               | A
|-----------------|-----
| Branch?         | 2.0 <!-- see the comment below -->
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 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
-->
2024-09-25 08:14:54 +02:00
Michał Pysiak
8404a99ed1
Change FQCNs to parameters 2024-09-25 07:56:37 +02:00
Grzegorz Sadowski
94930b8d20
Remove usage of deprecated MessageHandlerInterface 2024-09-25 07:44:46 +02:00
Michał Pysiak
76e7809475
[API] Make promotion coupon operations' names consistnent with other after refactor them (#17011)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations? | no<!-- don't forget to update the UPGRADE-*.md file
-->
| Related tickets | resolves
https://github.com/Sylius/Sylius/pull/16996#discussion_r1773308400
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 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
-->
2024-09-25 07:36:23 +02:00