Commit graph

34711 commits

Author SHA1 Message Date
Jan Goralski
3fc01a3fad [API][ChannelPriceHistoryConfig] Upgrade and embed into channel 2024-08-19 07:19:16 +02:00
Rafał Jaskulski
0fc1655371
[UPMERGE] 2.0 -> api-platform-3 (#16724)
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/api-platform-3 -m "Resolve conflicts between 2.0 and api-platform-3"
```

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-08-16 03:57:10 +02:00
Jan Góralski
fe0b27b849
minor #16716 Fixing ci after upmerge (Wojdylak)
This PR was merged into the 2.0 branch.

Discussion
----------

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


Commits
-------
  Fix ci after upmerge
  Minor improvement
2024-08-15 13:45:03 +02:00
Wojdylak
98da6bd295
Minor improvement 2024-08-15 13:09:10 +02:00
Wojdylak
8ccb30b300
Fix ci after upmerge 2024-08-15 13:02:17 +02:00
Karol
fdf18d5ef7
[Unit] Product Options Improvements (#16707)
| Q               | A
|-----------------|-----
| Branch?         | api-platform-3<!-- 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/16684
| 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-08-14 14:03:44 +02:00
Rafikooo
1fdc8afba8
[Unit] Refactor product options tests codestyle 2024-08-14 10:36:07 +02:00
Rafikooo
8b0d39b60b
[Unit] Support PUT method in JsonApiTestCase util class 2024-08-14 10:36:07 +02:00
Rafał Jaskulski
557357bebf
[API] Fix parameter name in ProductOptionValue endpoints (#16705)
| Q               | A
|-----------------|-----
| Branch?         | api-platform-3
| 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/16684#pullrequestreview-2237189977
| 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-08-14 10:35:31 +02:00
Grzegorz Sadowski
38da3166f0
[API] Fix parameter name in ProductOptionValue endpoints 2024-08-14 07:45:32 +02:00
Rafikooo
c9a722203e [API] Include NotExposed operation in PathPrefixBasedOperationResolver 2024-08-14 07:37:07 +02:00
Rafikooo
f778c9c625 [API] Configure ProductOptionValue shop get operation 2024-08-14 07:37:07 +02:00
Rafikooo
cff4e4a428 [Unit] Add product option shop tests 2024-08-14 07:37:07 +02:00
Rafikooo
230e03e13c [Unit] Adjust product option collection response 2024-08-14 07:37:07 +02:00
Rafikooo
c243ed53c2 [API] Add product option filtering 2024-08-14 07:37:07 +02:00
Rafikooo
915068391e [Behat] Filter product options 2024-08-14 07:37:07 +02:00
Rafikooo
9bd483ff25 [Behat] Refactor subresources removal 2024-08-14 07:37:07 +02:00
Rafikooo
a6b8c46d0a [API] Implement workaround for deeply nested subresource IRI generation 2024-08-14 07:37:07 +02:00
Rafikooo
fe8ee4260e [API] Improve product option serialization 2024-08-14 07:37:07 +02:00
Rafikooo
a3114a81dc [API] Add ProductOptionValueNormalizer class 2024-08-14 07:37:07 +02:00
Rafikooo
bd4c2e0353 [Unit] Adjust responses of product option admin endpoints 2024-08-14 07:37:07 +02:00
Grzegorz Sadowski
2da50d6826 [API] Fix the IRI of ProductOptionValueTranslation 2024-08-14 07:37:07 +02:00
Rafikooo
457a06a514 [API] Adjust product option serialization groups 2024-08-14 07:37:07 +02:00
Rafikooo
08cc26c68c [Behat] Enable remaining product options scenarios 2024-08-14 07:37:07 +02:00
Rafikooo
b8ab84e531 [Unit] Adjust ProductOptions endpoints responses 2024-08-14 07:37:07 +02:00
Rafikooo
75f4e8b6d5 [Unit] Adjust ProductOptions update and remove obsolete ProductOptionValues tests 2024-08-14 07:37:07 +02:00
Rafikooo
349f5f545a [API] Remove obsolete serialization groups from ProductOption resources 2024-08-14 07:37:07 +02:00
Rafikooo
cb9fb9acb9 [API] Configure ProductOption and related resources 2024-08-14 07:37:07 +02:00
Rafikooo
d67cf2fe47 [Unit] Enable product options tests 2024-08-14 07:37:07 +02:00
Grzegorz Sadowski
01090f6f36
Merge branch '1.14' into 2.0
* 1.14:
  Fix builds after referrers refactor
  Add a note to UPGRADE file about ResendOrderConfirmationEmailAction constructor change
  [Maintenance] Less referrer usage in static redirects
2024-08-14 06:45:19 +02:00
Grzegorz Sadowski
028715d748
refactor #16703 [Maintenance] Less referrer usage in static redirects (NoResponseMate, GSadee)
This PR was merged into the 1.14 branch.

Discussion
----------

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

We are changing the referrers to static routes where appropriate to make the code more streamlined and predictable.

Commits
-------

dc61d08b21 [Maintenance] Less referrer usage in static redirects
c2fe0de635 Add a note to UPGRADE file about ResendOrderConfirmationEmailAction constructor change
30268e3b99 Fix builds after referrers refactor
2024-08-14 06:32:56 +02:00
Rafał Jaskulski
c93434d9bf
Add missing tests for product taxons filtering (#16704)
| Q               | A
|-----------------|-----
| Branch?         | api-platform-3 <!-- 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
-->
partially related https://github.com/Sylius/Sylius/pull/16682
2024-08-13 18:33:10 +02:00
Kamil Grygierzec
d0a17ce308
Add missing tests for product taxons filtering 2024-08-13 17:15:43 +02:00
Kamil Grygierzec
48a8e74587 Join all translations if no localeCode provided in PaymentMethod translations order filter 2024-08-13 14:52:43 +02:00
Grzegorz Sadowski
30268e3b99
Fix builds after referrers refactor 2024-08-13 14:40:23 +02:00
Grzegorz Sadowski
c2fe0de635
Add a note to UPGRADE file about ResendOrderConfirmationEmailAction constructor change 2024-08-13 13:05:21 +02:00
Jan Goralski
dc61d08b21
[Maintenance] Less referrer usage in static redirects 2024-08-13 12:50:47 +02:00
Rafikooo
c3e0034118 [ECS] Apply ecs fixes 2024-08-13 11:40:25 +02:00
Rafikooo
7ba55e4229 [Attribute] Improve validation message by listing available attribute types 2024-08-13 11:40:25 +02:00
Rafikooo
f5f2036b3c [Unit] Adjust response of creating unregistered type of attribute 2024-08-13 11:40:25 +02:00
Rafikooo
1107dccdbf [API] Serialize position field of product attribute with create and update operations 2024-08-13 11:40:25 +02:00
Rafikooo
2b0ffb2714 [Unit] Add tests for creating product attribute on specific position 2024-08-13 11:40:25 +02:00
Kamil Grygierzec
4bb89a3809
[API] Fix imports in TranslationOrderNameAndLocaleFilter (#16700)
| Q               | A
|-----------------|-----
| Branch?         | api-platform-3
| 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-08-12 13:14:17 +02:00
Grzegorz Sadowski
89616f2ac0
[API] Fix imports in TranslationOrderNameAndLocaleFilter 2024-08-12 12:55:54 +02:00
Grzegorz Sadowski
df6f0c867f
Merge branch '2.0' into api-platform-3
* 2.0:
  [API] Fix translation.name filters
  [Core] Fix #16603 SyliusCollector do not display API tag properly
  [Documentation] Update the dates on the release cycle page
2024-08-12 11:32:53 +02:00
Grzegorz Sadowski
08677c7eb7
Merge branch '1.14' into 2.0
* 1.14:
  [API] Fix translation.name filters
  [Core] Fix #16603 SyliusCollector do not display API tag properly
  [Documentation] Update the dates on the release cycle page
2024-08-12 11:10:29 +02:00
Grzegorz Sadowski
cc099118cd
Merge branch '1.13' into 1.14
* 1.13:
  [API] Fix translation.name filters
  [Documentation] Update the dates on the release cycle page
2024-08-12 11:10:25 +02:00
Karol
78c0e1baa5
minor #16697 [API] Fix translation.name filters (NoResponseMate)
This PR was merged into the 1.13 branch.

Discussion
----------

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


Commits
-------
  [API] Fix translation.name filters
2024-08-12 11:08:56 +02:00
Jan Goralski
ff62510826
[API] Fix translation.name filters 2024-08-09 15:25:38 +02:00
Jan Góralski
c2399d278e
minor #16681 [Api][Order] Enable Cart operations (Wojdylak)
This PR was merged into the api-platform-3 branch.

Discussion
----------

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

Commits
-------
  [Api][Order] Enable Cart operations
  [Api] Fix OrderPlacerTrait
  [Api] Enable shippingMethodsTest
  [Api][Order] Rename ObjectUriVariablesAwareContextBuilder to UriVariablesAwareContextBuilder
  [Api][Test] Use new constructor of commands
  [Api] Move ContextBuilder to Serializer/ContextBuilder directory
2024-08-08 12:54:25 +02:00