Commit graph

34484 commits

Author SHA1 Message Date
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
Jan Góralski
9fc702dcd4
minor #16660 [API] Enable Taxon resources (mpysiak)
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

<!--
 - 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] Enable Taxon tests
  [API] Fix normalisation group
  [API] TaxonTranslation cleanup
  [API] Enable behat scenarios
  [API] Make taxon translation subresource
  [API] Remove unnecessary properties
  [API] Remove legacy configuration
  [API] Revert properties removal
  Remove normalization from NotExposed operation
2024-08-01 16:11:20 +02:00
Wojdylak
0a229fed34
[Api][Admin] section after the type of service 2024-08-01 15:14:24 +02:00
Wojdylak
9add00905a
[Api][Admin] Enable Order resource 2024-08-01 13:30:28 +02:00
Michał Pysiak
1de0ec0e6f
Remove normalization from NotExposed operation 2024-08-01 09:20:13 +02:00
Michał Pysiak
3a6458f363
[API] Revert properties removal 2024-07-31 18:20:57 +02:00
Michał Pysiak
91e52bb488
[API] Remove legacy configuration 2024-07-31 13:52:59 +02:00
Michał Pysiak
7f07dd8888
[API] Remove unnecessary properties 2024-07-31 13:49:02 +02:00
Michał Pysiak
8099c91076
[API] Make taxon translation subresource 2024-07-31 13:06:08 +02:00
Michał Pysiak
2b1aa68805
[API] Enable behat scenarios 2024-07-31 12:28:00 +02:00
Michał Pysiak
053b600f54
[API] TaxonTranslation cleanup 2024-07-31 12:28:00 +02:00
Michał Pysiak
78c966b3f0
[API] Fix normalisation group 2024-07-31 12:28:00 +02:00
Michał Pysiak
f73cae67e5
[API] Enable Taxon tests 2024-07-31 12:28:00 +02:00
Jan Góralski
4df2e729ce
minor #16656 [Addressing] Add validation for zone type (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
-------
  [Addressing] Add validation for zone type
2024-07-31 11:21:07 +02:00
Jan Góralski
6c516f7bcc
minor #16659 Bring back archiving promotion test (TheMilek)
This PR was merged into the api-platform-3 branch.

Discussion
----------

| 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
-->


Commits
-------
  Bring back archiving promotion test
2024-07-31 10:44:26 +02:00
Kamil Grygierzec
02cfcf474c
Bring back archiving promotion test 2024-07-31 10:17:46 +02:00
Wojdylak
6607e993ff
[Addressing] Add validation for zone type 2024-07-30 18:37:17 +02:00
Kamil Grygierzec
c5dbbf85d4
[API] Fix ShopUser docs example (#16655)
| Q               | A
|-----------------|-----
| Branch?         | api-platform-3
| 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-07-30 14:13:17 +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
Michał Pysiak
bd4e576b23
Allow promotion coupon to be filtered by promotion code (#16646)
| 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-30 13:36:47 +02:00
Wojdylak
8efd01bd7f
Minor improvements 2024-07-30 13:26:41 +02:00
Michał Pysiak
d89058f9d7
Fix ShopUser docs example 2024-07-30 13:02:06 +02:00
Kamil Grygierzec
530bd80002
[PromotionCoupon] replace filtering by promotion iri with filtering by promotion code 2024-07-30 12:28:17 +02:00
Kamil Grygierzec
c14937cff9
[PromotionCoupon] Enable todo api scenario for filtering by code 2024-07-30 12:08:42 +02:00
Wojdylak
5c1295008f
[Addressing] Add matthiasnoback/symfony-dependency-injection-test 2024-07-30 08:15:42 +02:00
Wojdylak
92786087cf
[Zone] Fix unit tests 2024-07-29 16:51:00 +02:00
Wojdylak
7dd0704711
[Addressing] Add matthiasnoback/symfony-config-test 2024-07-29 16:35:52 +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
Wojdylak
be38e8c00a
Update upgrade file 2024-07-29 16:15:23 +02:00
Wojdylak
f2219c2031
[Zone] Add specific validators for zone types 2024-07-29 15:59:42 +02:00
Wojdylak
9b14e9bdf0
[Api][Zone] Add exception handling for deleting zones associated to tax rates 2024-07-29 11:59:38 +02:00
Karol
546d50f102
[Behat] Reorder promotion API tags (#16644)
| 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-29 11:29:37 +02:00
Kamil Grygierzec
e697e19819
[Behat] Reorder promotion API tags 2024-07-29 11:05:25 +02:00
Michał Pysiak
323e6d9402
Revert added context builder 2024-07-29 08:44:23 +02:00
Michał Pysiak
9725da14a4
[API] Promotion GET Collection (#16625)
| 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,
https://github.com/Sylius/Sylius/pull/16624
| 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="673" alt="image"
src="https://github.com/user-attachments/assets/984c6836-212f-4d7b-9392-a190ce001a65">
2024-07-29 06:36:23 +02:00
Kamil Grygierzec
d3f092f91d
introduce new paramter for filtering non archived entities 2024-07-25 14:44:48 +02:00
Kamil Grygierzec
225ce2048d
review fixes 2024-07-25 14:44:48 +02:00
Kamil Grygierzec
f29d5af98e
Remove additional post after rebase 2024-07-25 13:12:46 +02:00
Rafikooo
96284ee77e
[Behat] Enable API managing promotions suite 2024-07-25 13:12:46 +02:00
Rafikooo
33050b7e8e
[Unit] Adjust promotion collection response 2024-07-25 13:12:46 +02:00
Rafikooo
c396c93237
[API] Configure Promotion get collection endpoint 2024-07-25 13:12:46 +02:00
Rafikooo
47aeeb7638
[Unit] Restore promotion collection retrieval test 2024-07-25 13:12:46 +02:00
Rafikooo
0e40a4cbd5
[API] Configure Promotion Update endpoint 2024-07-25 13:12:45 +02:00
Rafikooo
45302f1596
[API] Configure Promotion Creation endpoint 2024-07-25 13:12:45 +02:00
Kamil Grygierzec
c428451134
[API] Cover zones (#16628)
| Q               | A
|-----------------|-----
| Branch?         | api-platform-3
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | N/A
| License         | MIT
2024-07-25 12:21:50 +02:00
Wojdylak
cef262a4b4
[Api][Zone] Minor improvements 2024-07-25 11:28:33 +02:00
Karol
91b9bd754d
Reorder the behat tags in Promotion Coupon scenarios (#16632)
| Q               | A
|-----------------|-----
| Branch?         | api-plaform-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/16623
2024-07-25 09:09:45 +02:00
Michał Pysiak
fb36e52f16
Minor changes 2024-07-25 08:55:39 +02:00
Michał Pysiak
86cf4c8a44
Remove legacy configuration 2024-07-25 08:52:50 +02:00
Michał Pysiak
0a7ac37f57
Fix generating id in statistics 2024-07-25 08:52:50 +02:00