Commit graph

35298 commits

Author SHA1 Message Date
Jan Goralski
2eb09126ec
[Maintenance] Add pnpm lock file to gitignore 2024-09-05 09:10:47 +02:00
Grzegorz Sadowski
aa97121c5d
Merge branch '2.0' into bootstrap-shop
* 2.0:
  [CS][DX] Refactor
  [Unit][Admin] Add product variant collection filtering test
  [UpgradeAPI] Add a note about PostgreSQLDriverExceptionListener removal
  [Upgrade] Fix indentation
  [API] Remove obsolete PostgreSQLDriverExceptionListener
  Remove api-platform-3 and add payment-request to upmerge workflow
2024-09-05 08:26:01 +02:00
Grzegorz Sadowski
f28161a3c7
Merge branch '1.14' into 2.0
* 1.14:
  Remove api-platform-3 and add payment-request to upmerge workflow
2024-09-05 08:25:09 +02:00
Grzegorz Sadowski
37f1c05de1
[API] Remove obsolete PostgreSQLDriverExceptionListener class (#16857)
| Q               | A
|-----------------|-----
| Branch?         | 2.0 <!-- see the comment below -->
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| License         | MIT

Previously, MySQL and PostgreSQL exhibited different behaviors when
filtering API collection resources with an invalid IRI. MySQL returned
an empty collection, while PostgreSQL threw an exception. Thanks to the
custom listener we were able to gracefully return the client error.

However, after upgrading to API Platform 3, this issue was resolved, and
both databases now consistently return all resources.


Before (MySQL):
<img width="1337" alt="image"
src="https://github.com/user-attachments/assets/e4b06ce1-95fe-422f-931d-15b096dedb29">

Before (PostgreSQL):
<img width="1220" alt="image"
src="https://github.com/user-attachments/assets/b9d2dc37-30c7-4211-b892-9ecfcfce0a71">


Now:
<img width="1342" alt="image"
src="https://github.com/user-attachments/assets/770519b3-fb46-47af-99a0-0b2215efcf75">
2024-09-05 08:23:02 +02:00
Grzegorz Sadowski
67b24f0ec4
[CS][DX] Refactor (#16860)
This PR has been generated automatically.
For more details see
[refactor.yaml](/Sylius/Sylius/blob/1.12/.github/workflows/refactor.yaml).
2024-09-05 08:19:41 +02:00
Grzegorz Sadowski
ace0d0dbd0
[UPMERGE] 2.0 -> bootstrap-shop (#16849)
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/bootstrap-shop -m "Resolve conflicts between 2.0 and bootstrap-shop"
```

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-09-05 07:41:54 +02:00
Grzegorz Sadowski
f9da71dbb3
Resolve conflicts between 2.0 and bootstrap-shop 2024-09-05 07:07:43 +02:00
Sylius Bot
aa6a1568f2 [CS][DX] Refactor 2024-09-05 02:22:16 +00:00
Rafikooo
d5c6f39f6c
[Unit][Admin] Add product variant collection filtering test 2024-09-05 00:20:30 +02:00
Kamil Grygierzec
188b7c9921
[Shop][Checkout] Upgrade addressing form to a component (#16846)
| Q               | A
|-----------------|-----
| Branch?         | bootstrap-shop
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | n/a
| License         | MIT
2024-09-04 20:40:17 +02:00
Rafikooo
2c8ae8a693
[UpgradeAPI] Add a note about PostgreSQLDriverExceptionListener removal 2024-09-04 15:55:27 +02:00
Rafikooo
381cc1515f
[Upgrade] Fix indentation 2024-09-04 15:54:55 +02:00
Rafikooo
1117843440
[API] Remove obsolete PostgreSQLDriverExceptionListener 2024-09-04 15:49:31 +02:00
Grzegorz Sadowski
9db198d6fa
Resolve conflicts between 2.0 and bootstrap-shop 2024-09-04 15:19:35 +02:00
Wojdylak
0bc79b67d4
[Shop][Cart][Addressing] Add const SYLIUS_SHOP_ADDRESS_UPDATED 2024-09-04 14:40:43 +02:00
Michał Pysiak
3ff04f5cfa
Remove api-platform-3 and add payment-request to upmerge workflow (#16852)
| Q               | A
|-----------------|-----
| Branch?         | 1.14
| 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-04 13:15:00 +02:00
Wojdylak
482498719f
[Shop][Cart][Addressing] Mirror improvments 2024-09-04 13:10:32 +02:00
Grzegorz Sadowski
01c472935a
Remove api-platform-3 and add payment-request to upmerge workflow 2024-09-04 12:18:43 +02:00
Michał Pysiak
d366932823
Merge API Platform 3 to 2.0 branch (#16847)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | yes
| BC breaks?      | yes
| Deprecations?   | no
| Related tickets | 
| License         | MIT

As the upgrade of our API to API Platform 3 is almost completed, it is
high time to merge these changes to branch 2.0 and finish the work
there.

<!--
 - 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-04 11:52:44 +02:00
Grzegorz Sadowski
5a7bfeaa23
Merge branch '2.0' into bootstrap-shop
* 2.0:
  Fix data grid sorting when there are no defaults
  [Admin][CatalogPromotion] Fix icon for show variants link
  [CS][DX] Refactor
  [CS][DX] Refactor
  [CS][DX] Refactor
  [CI] Update Sylius branches in refactor workflow
2024-09-04 11:20:28 +02:00
Grzegorz Sadowski
99417df1e3
Merge branch '2.0' into api-platform-3
* 2.0:
  Fix data grid sorting when there are no defaults
  [Admin][CatalogPromotion] Fix icon for show variants link
2024-09-04 10:56:13 +02:00
Loïc Frémont
04b222cb4d Fix data grid sorting when there are no defaults 2024-09-04 10:50:37 +02:00
Jan Góralski
d387001ec4
minor #16767 [Admin][CatalogPromotion] Fix icon for show variants link (loic425)
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 |
| License         | MIT

Before
![Capture d’écran du 2024-08-23 10-50-49](https://github.com/user-attachments/assets/5a830fc3-4995-4037-8467-e81b46f986b1)

After
![image](https://github.com/user-attachments/assets/3577440f-5989-49a1-aa3a-4542812fd5bc)

<!--
 - 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
-------
  [Admin][CatalogPromotion] Fix icon for show variants link
2024-09-04 10:15:49 +02:00
Wojdylak
214a3eefb9
[Shop][Cart][Addressing] Fix behat tests 2024-09-04 09:36:52 +02:00
Loïc Frémont
53a7b0c368 [Admin][CatalogPromotion] Fix icon for show variants link 2024-09-04 09:22:24 +02:00
Wojdylak
016b1c4a09
[Shop][Cart][Addressing] Enable behat tests 2024-09-04 08:48:22 +02:00
Wojdylak
0156490e4a
[Shop][Checkout] Upgrade addressing form to a component 2024-09-04 08:48:04 +02:00
Rafał Jaskulski
bddbfd8a7d
[API] Minor clean up of UPGRADE files (#16844)
| 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 | 
| 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-04 08:13:34 +02:00
Rafał Jaskulski
880685c896
[Composer][CI] Minor clean up (#16843)
| 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 | 
| 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-04 08:11:39 +02:00
Grzegorz Sadowski
d0d98c3280
[API] Minor clean up of UPGRADE files 2024-09-04 07:27:03 +02:00
Grzegorz Sadowski
cd01851554
[Composer][CI] Minor clean up 2024-09-04 07:14:17 +02:00
Michał Pysiak
b094f1010a Make coupon filed no live 2024-09-04 06:57:10 +02:00
Michał Pysiak
1d369dbdb3 Changes after CR 2024-09-04 06:57:10 +02:00
Michał Pysiak
4d97966d69 Enable scenarios, fix behats
# Conflicts:
#	src/Sylius/Behat/Page/Shop/Cart/SummaryPage.php
2024-09-04 06:57:10 +02:00
Michał Pysiak
e81d220434
[API] Clean up api-platform-3 branch (#16841)
| 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 | 
| 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-04 06:56:53 +02:00
Bartłomiej Sęk
58260ab002 Fix filters icon 2024-09-04 06:45:59 +02:00
Bartłomiej Sęk
a5288280b7 Implement twig hooks for account order history page 2024-09-04 06:45:59 +02:00
Michał Pysiak
936790cf13
Make account address create/update and default address set a live components (#16829)
| Q               | A
|-----------------|-----
| Branch?         | bootstrap-shop<!-- 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-09-04 06:21:55 +02:00
Kamil Grygierzec
152addef27
Enable behat tests for address book 2024-09-03 15:41:33 +02:00
Kamil Grygierzec
55d5e2cfd6
Make set dafault address form a live component 2024-09-03 15:41:33 +02:00
Kamil Grygierzec
fd5adb4cc3
Make address create update form a live component 2024-09-03 15:41:32 +02:00
Grzegorz Sadowski
f4b5a100ed
[API] Remove legacy API resources configs 2024-09-03 14:32:49 +02:00
Grzegorz Sadowski
058212ca0a
[API] Enable remaining documentation modifiers 2024-09-03 14:32:46 +02:00
Grzegorz Sadowski
67f61f164f
[API] Enable PostgreSQLDriverExceptionListener 2024-09-03 14:32:46 +02:00
Grzegorz Sadowski
69739f1e9b
[API] Remove unused filters 2024-09-03 14:32:46 +02:00
Grzegorz Sadowski
73acdd796d
[API] Remove unused resource input data properties validator 2024-09-03 14:32:46 +02:00
Grzegorz Sadowski
6dd4ccfbcd
[API] Remove unused services for merging configurations 2024-09-03 14:32:45 +02:00
Grzegorz Sadowski
16d5edc887
[API][CommandHandler] Enable remaining PHPSpecs 2024-09-03 13:07:04 +02:00
Grzegorz Sadowski
c4b0cf5443
[API] Remove legacy data persisters and providers 2024-09-03 13:07:03 +02:00
Kamil Grygierzec
83e6701059
[Shop] Refactor Twig components structure (#16823)
| Q               | A
|-----------------|-----
| Branch?         | bootstrap-shop
| 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-03 11:50:35 +02:00