Commit graph

34422 commits

Author SHA1 Message Date
Michał Pysiak
5360aeea3a
[API] Promotion Create and Update (#16624)
| Q               | A
|-----------------|-----
| Branch?         | api-platform-3 <!-- see the comment below -->
| Bug fix?        | no
| New feature?    | yes
| BC breaks?      | no
| Deprecations? | no <!-- don't forget to update the UPGRADE-*.md file
-->
| Related tickets | continuation of
https://github.com/Sylius/Sylius/pull/16613, related to
https://github.com/Sylius/Sylius/pull/16622
| 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
-->

Current endpoints state:
<img width="695" alt="image"
src="https://github.com/user-attachments/assets/b0a0c92e-f56a-435e-85d1-3a2dcc6ff9ca">
2024-07-25 08:40:17 +02:00
Karol
c5d847334b
[API] Cover shipments (#16614)
| Q               | A
|-----------------|-----
| Branch?         | api-platform-3
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | -
| License         | MIT
2024-07-25 08:29:10 +02:00
Karol
54bb55d4e9
Adjust ShopUserResetPassword consistent with the changes from 1.13 (#16631)
| 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
-->
continuation of https://github.com/Sylius/Sylius/pull/16629
2024-07-25 08:27:45 +02:00
Kamil Grygierzec
f8fdf46586
minor fix 2024-07-25 08:22:46 +02:00
Rafikooo
abcac1a672
[Unit] Adjust promotion updating response 2024-07-25 08:22:46 +02:00
Rafikooo
bf7ff2c20c
[API] Configure Promotion Update endpoint 2024-07-25 08:22:46 +02:00
Rafikooo
09551d7a45
[Unit] Restore promotion updating tests 2024-07-25 08:22:46 +02:00
Rafikooo
4ce9660fee
[Unit] Adjust promotion creation response 2024-07-25 08:22:45 +02:00
Rafikooo
a4df68ef6b
[API] Configure Promotion Creation endpoint 2024-07-25 08:22:45 +02:00
Rafikooo
af0208dbc7
[Unit] Restore promotion creating tests 2024-07-25 08:22:45 +02:00
Kamil Grygierzec
e24d0c975b
Adjust ShopUserResetPassword consistent with the changes from 1.13 2024-07-25 07:58:07 +02:00
Michał Pysiak
57a467f557
Adjust AdminUserPassword SendContactRequest and VerifyShopUser consistent with the changes from 1.13 (#16629)
| Q               | A
|-----------------|-----
| Branch?         | api-platform-3 <!-- see the comment below -->
| Bug fix?        | slighly
| 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
-->

[REF](https://github.com/Sylius/Sylius/pull/15949/files)
2024-07-25 07:09:28 +02:00
Kamil Grygierzec
fa2bda7202
minor review fixes 2024-07-24 14:58:19 +02:00
Kamil Grygierzec
fc2e887d11
Reorganise the resource configuration a bit 2024-07-24 14:02:28 +02:00
Kamil Grygierzec
9f1b385b6b
Add missing suite and comment suites that needs checkout 2024-07-24 14:02:28 +02:00
Jan Goralski
0b0b77757b
[API] Cover admin side of shipments 2024-07-24 14:02:27 +02:00
Kamil Grygierzec
bd342e2a4b
Adjust AdminUserPassword SendContactRequest and VerifyShopUser consistent with the changes from 1.13 2024-07-24 13:38:12 +02:00
Kamil Grygierzec
fc7dcdf023
[API] Promotion Archiving and Restoring (#16622)
| Q               | A
|-----------------|-----
| Branch?         | api-platform-3 <!-- see the comment below -->
| Bug fix?        | no
| New feature?    | yes
| BC breaks?      | no
| Deprecations? | no<!-- don't forget to update the UPGRADE-*.md file
-->
| Related tickets | continuation of
https://github.com/Sylius/Sylius/pull/16613
| 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
-->
Current endpoints state:
<img width="723" alt="image"
src="https://github.com/user-attachments/assets/f7d72129-4ba1-4c5e-9089-50ae981058a4">
2024-07-24 11:24:35 +02:00
Kamil Grygierzec
0a013d546b
minor formatting fix 2024-07-24 10:44:59 +02:00
Rafikooo
1846011931
[Unit] Adjust archive and restore promotion responses 2024-07-24 10:44:17 +02:00
Rafikooo
30b62ca104
[API] Configure Promotion Archiving and Restoring endpoints 2024-07-24 10:44:17 +02:00
Rafikooo
a321c7281a
[Unit] Restore promotion archiving and restoring tests 2024-07-24 10:44:16 +02:00
Michał Pysiak
7acd74b70e
Upgrade PromotionCoupon resource to APIP3 (#16623)
| 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
-->
2024-07-24 08:58:37 +02:00
Kamil Grygierzec
0b79bc3e91
enable tests 2024-07-24 08:30:36 +02:00
Kamil Grygierzec
29d29decf8
Upgrade PromotionCoupon resource to APIP3 2024-07-24 08:30:34 +02:00
Karol
cebe951f68
[API] Promotion Retrieval and Removal (#16613)
| Q               | A
|-----------------|-----
| Branch?         | api-platform-3 <!-- see the comment below -->
| Bug fix?        | no
| New feature?    | yes
| 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
-->

Current endpoints state:
<img width="629" alt="image"
src="https://github.com/user-attachments/assets/c26c5b91-eabc-4996-b33c-f105b691bfc5">

<img width="1401" alt="image"
src="https://github.com/user-attachments/assets/3a9ed70f-f9e4-4796-9a6c-42ddf4efb927">

<img width="1224" alt="image"
src="https://github.com/user-attachments/assets/877aac05-a8b1-43bd-b58f-f0ec649cd724">
2024-07-24 08:11:56 +02:00
Kamil Grygierzec
cd4bccfe7e
[Behat] Correct Filtering Tax Rates Scenarios Description (#16626)
| 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/16609
| 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-23 12:19:40 +02:00
Rafikooo
660fa53264
[Behat] Correct filtering tax rates scenarios description 2024-07-23 11:33:16 +02:00
Rafikooo
0b450ce892
[API] Change promotion translations url template 2024-07-23 10:48:55 +02:00
Rafikooo
e6af7d6281
[API] Serialize only index and show groups for promotion resource 2024-07-23 10:48:55 +02:00
Rafikooo
492369ae78
[API] Remove obsolete PromotionDataPersister class and its related code 2024-07-23 10:48:54 +02:00
Rafikooo
20c68cfffb
[ECS] Apply ecs fixes 2024-07-23 10:48:54 +02:00
Rafikooo
804b876230
[API] Configure Promotion and PromotionTranslation properties 2024-07-23 10:45:08 +02:00
Rafikooo
3d61f171c1
[API] Implement Promotion Item Removal 2024-07-23 10:45:08 +02:00
Rafikooo
c950deb641
[Unit] Restore promotion removal tests 2024-07-23 10:45:08 +02:00
Rafikooo
3d22a203e1
[API] Improve configuration formatting 2024-07-23 10:45:08 +02:00
Rafikooo
b409459f4c
[API] Remove obsolete serialization groups from Promotion and PromotionTranslation resources 2024-07-23 10:45:08 +02:00
Rafikooo
b702e2f2b6
[API] Configure Promotion item and PromotionTranslation item GET endpoints 2024-07-23 10:45:08 +02:00
Rafikooo
8937030572
[Unit] Restore get promotion test 2024-07-22 14:12:29 +02:00
Jan Goralski
ad70bc5b0e Review fixes 2024-07-19 10:22:28 +02:00
Jan Goralski
aca6bf70af [API] Cover tax rate 2024-07-19 10:22:28 +02:00
Jan Goralski
3c70db1f31 [API] Cover tax category 2024-07-19 10:22:28 +02:00
Jan Goralski
3573861454 [API][Admin] Wrap all match types in quotes 2024-07-19 07:57:00 +02:00
Jan Goralski
f4d629c5f8 [API][Shop] Wrap all match types in quotes 2024-07-19 07:57:00 +02:00
Jan Goralski
b17c5b3b9c [API][Admin] Fix avatar image contract tests 2024-07-19 07:57:00 +02:00
Karol
3118832fc2
[UPMERGE] 2.0 -> api-platform-3 (#16599)
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-07-18 09:03:52 +02:00
Wojdylak
7111a9a2a4
Resolve conflicts between 2.0 and api-platform-3 2024-07-18 08:39:51 +02:00
Rafikooo
dee86a1bc8 [Admin] Add missing test attributes and logic related to variants generation 2024-07-17 20:23:32 +02:00
Rafikooo
f612d09ab0 [Behat] Add another test for accessing variants generation from product edit page 2024-07-17 20:23:32 +02:00
Rafikooo
4838404005 [Behat] Add tests for accessing variants generation from variant index page 2024-07-17 20:23:32 +02:00