Commit graph

35952 commits

Author SHA1 Message Date
Wojdylak
eb2cec1ad2
Add localization to live components 2024-09-30 13:41:24 +02:00
Grzegorz Sadowski
06c6fe06f9
Enable tests for placing orders as impersonated shop users and for picking up cart created in UI in the api (#17035)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | n/a
| License         | MIT
2024-09-30 07:18:11 +02:00
Grzegorz Sadowski
e06428cce2
[Maintenance] Remove FOS Restbundle (#17025)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | yes
| 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-30 07:15:41 +02:00
Grzegorz Sadowski
eda9403073
Update typehint for $publicDir (#17051)
| Q               | A
|-----------------|-----
| Branch?         | 2.0 
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | none
| License         | MIT

$publicDir is a value of `%sylius_core.public_dir%` which is a string
value (usually a `sylius_core.public_dir:
'%kernel.project_dir%/public'`), not a bool value. Which now causes
assets to be installed into a wrong directory.

Pre-fix:
```bash
➜ bin/console sylius:install:assets --no-interaction;
Installing Sylius assets for environment dev.
Created "/Users/username/Code/Sylius-Standard/1/assets" directory.
Created "/Users/username/Code/Sylius-Standard/1/bundles" directory.
```

Post-fix:
```bash
➜ bin/console sylius:install:assets --no-interaction;
Installing Sylius assets for environment dev.
Created "/Users/username/Code/Sylius-Standard/public/assets" directory.
Created "/Users/username/Code/Sylius-Standard/public/bundles" directory.
```
2024-09-30 06:53:39 +02:00
Egidijus Lukauskas
6408b41cbc
Update typehint for $publicDir 2024-09-28 22:53:33 +03:00
Wojdylak
365de37fba
Enable impersonation tests 2024-09-27 13:31:51 +02:00
Grzegorz Sadowski
6188311d3e
[Maintenance] Remove leftover mentions of master request related methods (#17043)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | kinda
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | -
| License         | MIT
2024-09-27 12:18:24 +02:00
Michał Pysiak
54a2a5cc65
[Admin] Fix product in taxon (and variant) positions 2024-09-27 12:10:56 +02:00
Grzegorz Sadowski
69f77e01bd
Merge branch '1.14' into 2.0
* 1.14:
  [Docs] Add 2.0-dev installation instructions
2024-09-27 11:25:06 +02:00
Grzegorz Sadowski
79c14bb1e6
Merge branch '1.13' into 1.14
* 1.13:
  [Docs] Add 2.0-dev installation instructions
2024-09-27 11:25:04 +02:00
Grzegorz Sadowski
95623773e0
minor #17044 [Docs] Add 2.0-dev installation instructions (CoderMaggie)
This PR was merged into the 1.13 branch.

Discussion
----------

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



Commits
-------

8af0c3025b [Docs] Add 2.0-dev installation instructions
2024-09-27 11:24:47 +02:00
Magdalena Sadowska
8af0c3025b [Docs] Add 2.0-dev installation instructions 2024-09-27 11:14:19 +02:00
Michał Pysiak
5c66672fec
[Shop] Add json login 2024-09-27 10:39:46 +02:00
Jan Goralski
559840e342
[Maintenance] Remove leftover mentions of master request related methods 2024-09-27 10:13:34 +02:00
Wojdylak
32c0a3b85a
Enable hybrid suit with javascript tag in actions 2024-09-27 09:20:34 +02:00
Wojdylak
1659159c1b
Enable behat test for picking up cart created in ui and the api 2024-09-27 08:51:19 +02:00
Wojdylak
63d886137d
Enable behat test for placing orders as impersonated shop users 2024-09-27 08:51:19 +02:00
Michał Pysiak
432411c84b
refactor controllers 2024-09-27 06:22:21 +02:00
Michał Pysiak
e45919de75
remove configs 2024-09-27 06:10:51 +02:00
Michał Pysiak
2ff455c82e
Remove FlattenExcepitonNormalizer 2024-09-27 06:10:22 +02:00
Michał Pysiak
5360772aaf
Remove dependecies 2024-09-27 06:09:00 +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
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
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
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
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
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
f0dc4cb967
[API] Add missing endpoint for ShopUser in shop context 2024-09-25 10:20:32 +02:00