Commit graph

1476 commits

Author SHA1 Message Date
Rafikooo
2b0ffb2714 [Unit] Add tests for creating product attribute on specific position 2024-08-13 11:40:25 +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
Wojdylak
095900dae6
[Api] Move ContextBuilder to Serializer/ContextBuilder directory 2024-08-08 12:33:38 +02:00
Rafikooo
325ca8b5ce [Unit] Adjust ProductTaxons endpoints responses 2024-08-07 15:55:55 +02:00
Kamil Grygierzec
e4190c5fd8 Enable contract tests and correct some minor issues in tests 2024-08-07 15:55:55 +02:00
Wojdylak
49911f705d
[Api][Test] Use new constructor of commands 2024-08-07 10:06:22 +02:00
Wojdylak
75490cdfdf
[Api] Enable shippingMethodsTest 2024-08-07 09:57:10 +02:00
Wojdylak
d4ee8abd97
[Api] Fix OrderPlacerTrait 2024-08-07 09:57:10 +02:00
Wojdylak
78e57b71dc
[Api][Order] Enable Cart operations 2024-08-07 09:57:10 +02:00
Karol
15d62e235f
Upgrade PaymentMethod to APIP3 (#16672)
| 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
-->
| 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-07 08:14:35 +02:00
Michał Pysiak
d1226915b8 Minor changes after CR 2024-08-07 07:38:52 +02:00
Michał Pysiak
1fdbae1f7c [API] Fixes 2024-08-07 07:38:52 +02:00
Michał Pysiak
a1e8842817 [API] Fix image upload bug 2024-08-07 07:38:52 +02:00
Michał Pysiak
ba543283b5 [API] Refactor resource configuration 2024-08-07 07:38:52 +02:00
Michał Pysiak
be38057fd2 [APi] Enable disabled tests 2024-08-07 07:38:52 +02:00
Kamil Grygierzec
cc0313663d
Enable tests 2024-08-06 15:56:57 +02:00
Jacob Tobiasz
06c1853507
Fix Payum-related tests 2024-08-06 13:53:42 +02:00
Wojdylak
e786fb486a
[ApiBundle] Add normalization group to payment complete endpoint 2024-08-06 13:40:48 +02:00
Wojdylak
592090fe1f
[ApiBundle][Payment] Add subresource for payment request 2024-08-06 13:40:48 +02:00
Wojdylak
270e894f3c
[ApiBundle][PaymentRequest] Return only iri for payment method 2024-08-06 13:40:48 +02:00
Wojdylak
266812aa4c
[Test][Shop] Add contracts test for payment request 2024-08-06 13:40:47 +02:00
Wojdylak
24036f6832
[Test][Admin] Add contracts test for payment request 2024-08-06 13:40:47 +02:00
Grzegorz Sadowski
f27e03497a
Merge branch '2.0' into bootstrap-shop
* 2.0: (115 commits)
  [Admin] Rename parameter
  [Admin] Change command handlers and console command ids to dotted notation
  [Core] Change command handlers and console command ids to dotted notation
  [Core] Use new services
  [Core] Rename Message to Command
  [Admin] Rename Message to Command
  [Promotion] Remove deprecated commands
  [Ui] Remove deprecated commands
  [User] Remove deprecated commands
  [Admin] Configure and use anonymous view in store component
  [Admin] Add missing order notes information
  [Behat] Use test attribute to retrieve order notes
  [Admin] Render pagination and enabled filter test attributes
  [Behat] Enable scenarios and improve implementation for filtered pages redirections
  [Admin] Render view in store button in the variant edit page
  [CS][DX] Refactor
  [Behat] Improve view product in store action
  [Behat] Enable viewing product in store from variant edit page scenarios
  [Behat] Enable deleting multiple product variants scenario
  [Behat] Enable remaining managing users scenario
  ...
2024-08-05 14:20:57 +02:00
Grzegorz Sadowski
50c07bb334
Merge branch '2.0' into api-platform-3
* 2.0: (64 commits)
  [Admin] Rename parameter
  [Admin] Change command handlers and console command ids to dotted notation
  [Core] Change command handlers and console command ids to dotted notation
  [Core] Use new services
  [Core] Rename Message to Command
  [Admin] Rename Message to Command
  [Promotion] Remove deprecated commands
  [Ui] Remove deprecated commands
  [User] Remove deprecated commands
  [Admin] Configure and use anonymous view in store component
  [Admin] Add missing order notes information
  [Behat] Use test attribute to retrieve order notes
  [Admin] Render pagination and enabled filter test attributes
  [Behat] Enable scenarios and improve implementation for filtered pages redirections
  [Admin] Render view in store button in the variant edit page
  [CS][DX] Refactor
  [Behat] Improve view product in store action
  [Behat] Enable viewing product in store from variant edit page scenarios
  [Behat] Enable deleting multiple product variants scenario
  [Behat] Enable remaining managing users scenario
  ...
2024-08-05 14:18:00 +02:00
Rafikooo
167a52f0b4
[Unit] Adjust product attribute get collection response 2024-08-05 08:31:13 +02:00
Rafikooo
665325d0a9
[Unit] Adjust product attribute update test 2024-08-05 08:12:05 +02:00
Rafikooo
f70b9930bd
[Unit] Update product attribute tests responses 2024-08-05 08:12:04 +02:00
Rafikooo
70233ad975
[Unit] Enable product attributes tests 2024-08-05 08:12:03 +02:00
Michał Pysiak
41607bc1ef
[API][Admin] Upgrade ProductReview (#16662)
| Q               | A
|-----------------|-----
| Branch?         | api-platform-3
| Bug fix?        | no
| New feature?    | somewhat
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | -
| License         | MIT
2024-08-05 07:09:27 +02:00
Rafikooo
799557d62e
[Unit] Enable deleting the only channel test 2024-08-02 14:02:14 +02:00
Rafikooo
db6a202b5e
[Unit] Use requestPost util method in ChannelsTest 2024-08-02 14:02:14 +02:00
Jan Goralski
e171fca830
[API][Shop] Upgrade ProductReview 2024-08-02 13:20:22 +02:00
Jan Goralski
3161ff6656
[API] Fix response resource id generation for custom patch paths 2024-08-02 13:20:22 +02:00
Jan Goralski
cdf02bdc15
[API][Admin] Upgrade ProductReview 2024-08-02 13:20:17 +02:00
Rafikooo
0e05e49a70
[Unit] Add requestPost util function and other related code 2024-08-02 10:45:02 +02:00
Rafikooo
e0338c18e4
[Unit] ChannelsTest code refactor 2024-08-02 10:19:54 +02:00
Rafikooo
0f289e5f60
[Unit] Update channel tests responses to include shop billing data 2024-08-02 10:03:13 +02:00
Rafikooo
fc8d23c99c
[Unit] Remove obsolete shop billing data response files 2024-08-02 10:03:13 +02:00
Rafikooo
31421502d5
[Unit] Improve channel fixtures with more descriptive data 2024-08-02 10:03:13 +02:00
Rafikooo
006786df0b
[Unit] Update Channels tests to include embedded shop billing data 2024-08-02 10:03:13 +02:00
Jan Góralski
0ec16d06c7
minor #16666 [Api][Admin] Enable Order resource (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][Admin] Enable Order resource
  [Api][Admin] section after the type of service
2024-08-01 16:56:17 +02:00
Wojdylak
9add00905a
[Api][Admin] Enable Order resource 2024-08-01 13:30:28 +02:00
Michał Pysiak
8099c91076
[API] Make taxon translation subresource 2024-07-31 13:06:08 +02:00
Michał Pysiak
f73cae67e5
[API] Enable Taxon tests 2024-07-31 12:28:00 +02:00
Kamil Grygierzec
c97d51ae83
[Zone] Add validation of country/province/zone code (#16649)
| Q               | A
|-----------------|-----
| Branch?         | api-plarform-3
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | n/a
| License         | MIT
2024-07-30 13:56:40 +02:00
Kamil Grygierzec
530bd80002
[PromotionCoupon] replace filtering by promotion iri with filtering by promotion code 2024-07-30 12:28:17 +02:00
Karol
545565fe59
[UPMERGE] 1.14 -> 2.0 (#16651)
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/2.0 -m "Resolve conflicts between 1.14 and 2.0"
```

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-07-30 07:57:49 +02:00
Wojdylak
92786087cf
[Zone] Fix unit tests 2024-07-29 16:51:00 +02:00
Kamil Grygierzec
7958895598
[API] Upgrade Customer resource (#16619)
| Q               | A
|-----------------|-----
| Branch?         | api-platform-3
| 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-07-29 16:28:22 +02:00
Michał Pysiak
323e6d9402
Revert added context builder 2024-07-29 08:44:23 +02:00