Commit graph

37708 commits

Author SHA1 Message Date
Francis Hilaire
e5840012a6
Check if the retrieved payment request is not already finalized 2024-11-05 12:22:34 +01:00
Francis Hilaire
6b1e89f845
Add orderBy createdAt desc to get the last created item 2024-11-05 12:22:34 +01:00
Francis Hilaire
c15b1f7737
Use getId instead of getHas()?->toBinary() 2024-11-05 12:22:34 +01:00
Francis Hilaire
8c0eb250e4
Simplify statement 2024-11-05 12:22:33 +01:00
Francis Hilaire
fbf0a38891
Add payment request pay route to be able to finalize a capture or an authorize request 2024-11-05 12:22:33 +01:00
Michał Pysiak
a6c03ab9f9
Mention the major templates changes in upgrade file (#17406)
| Q               | A
|-----------------|-----
| Branch?         | 2.0 <!-- 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-11-05 12:17:01 +01:00
Loïc Frémont
b71cc099ce Fix form without live component 2024-11-05 11:46:16 +01:00
Magdalena Sadowska
da85bce5c1
GITBOOK: Export Sylius documentation 2024-11-05 10:19:24 +00:00
Loïc Frémont
64bf418dc0 [Shop] Few improvement on cart index 2024-11-05 09:25:23 +01:00
Bartłomiej Sęk
65db624ed1 Code cleanup 2024-11-05 09:21:40 +01:00
Bartłomiej Sęk
a62a94741d Code cleanup 2024-11-05 08:55:48 +01:00
Bartłomiej Sęk
fb8040396d Create shared template for content hook 2024-11-05 08:51:49 +01:00
Bartłomiej Sęk
dae3e57753 Reorganize checkout order complete hooks 2024-11-05 08:47:56 +01:00
Bartłomiej Sęk
3e6b35864b Reorganize checkout payment hooks 2024-11-05 08:40:28 +01:00
Grzegorz Sadowski
0aaca6dfc9
[DOCUMENTATION] Synchronize 2.0-docs -> 2.0 (#17412)
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action
2024-11-05 08:35:24 +01:00
Bartłomiej Sęk
98fffe95e4 Reorganize checkout shipping hooks 2024-11-05 08:13:19 +01:00
Bartłomiej Sęk
a0acf22031 Reorganize checkout address hooks 2024-11-05 08:07:43 +01:00
Bartłomiej Sęk
71bbd1abf0 Fix checkout base hooks 2024-11-05 08:00:24 +01:00
Grzegorz Sadowski
cee940f50f
Merge branch '2.0' into 2.0-docs
* 2.0:
  [CI] Add GH action to synchronize 2.0 branch with GitBook docs branch
  [CI] Add 2.0-docs branch to upmerges
2024-11-05 06:57:24 +01:00
Michał Pysiak
e3979bf772
[CI] Add GH action to synchronize 2.0 branch with GitBook docs branch (#17410)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| 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-11-05 06:12:33 +01:00
Kamil Grygierzec
dd9bf6665e
Add more precise information about hooks 2024-11-04 22:43:45 +01:00
Kamil Grygierzec
4adec05bad
Mention the major templates changes in upgrade file 2024-11-04 21:43:43 +01:00
Kamil Grygierzec
0d796dc04c
Mention the dependencies changes in upgrade file 2024-11-04 21:36:38 +01:00
Michał Pysiak
1ea37a9264
[CI] Add 2.0-docs branch to upmerges (#17409) 2024-11-04 17:12:18 +01:00
Grzegorz Sadowski
11a7f6f648
Merge branch '2.0' into 2.0-docs
* 2.0:
  [API] Use model class parameter instead of hardcoded class for ShippingMethodRule resource
2024-11-04 16:01:18 +01:00
Grzegorz Sadowski
d6446df6a6
Merge branch '1.14' into 2.0
* 1.14:
  [API] Use model class parameter instead of hardcoded class for ShippingMethodRule resource
2024-11-04 16:01:00 +01:00
Grzegorz Sadowski
b431ed9d16
Merge branch '1.13' into 1.14
* 1.13:
  [API] Use model class parameter instead of hardcoded class for ShippingMethodRule resource
2024-11-04 16:00:15 +01:00
Grzegorz Sadowski
38fab5d1f0
[CI] Add GH action to synchronize 2.0 branch with GitBook docs branch 2024-11-04 15:54:18 +01:00
Grzegorz Sadowski
8b352dd5a0
[CI] Add 2.0-docs branch to upmerges 2024-11-04 15:35:07 +01:00
Grzegorz Sadowski
e230ec9996
GitBook: No commit message 2024-11-04 14:24:40 +00:00
Rafał Jaskulski
8786a9ff0b
[API] Use model class parameter instead of hardcoded class for ShippingMethodRule resource (#17408)
| Q               | A
|-----------------|-----
| Branch?         | 1.13
| 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-11-04 15:24:04 +01:00
Jakub Tobiasz
9abf783868
GitBook: No commit message 2024-11-04 14:15:34 +00:00
Grzegorz Sadowski
ceaf5010b4
[API] Use model class parameter instead of hardcoded class for ShippingMethodRule resource 2024-11-04 14:32:51 +01:00
Grzegorz Sadowski
fb080519d7
[Shop] Reorganize Twig hooks on cart index page (#17364)
| Q               | A
|-----------------|-----
| Branch?         | 2.0 
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | not yet
| Deprecations?   | no
| 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
-->


![image](https://github.com/user-attachments/assets/c6a747dc-b6cf-4951-a931-76f0643fb06a)
2024-11-04 14:06:21 +01:00
Grzegorz Sadowski
e53f098289
[API] Mention resource configuration changes in upgrade file (#17391)
| Q               | A
|-----------------|-----
| Branch?         | 2.0 <!-- 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-11-04 13:58:10 +01:00
Grzegorz Sadowski
b46f276c6b
Mention the removed classes and routes in upgrade file (#17402)
| Q               | A
|-----------------|-----
| Branch?         | 2.0 <!-- 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-11-04 13:45:48 +01:00
Grzegorz Sadowski
0e9e834143
[Docs] Prepare directory for new 2.0 docs on Gitbook (#17407)
| Q               | A
|-----------------|-----
| Branch?         | 2.0 
| License         | MIT

Starting from 2.0 we will be documenting Sylius using Gitbook;
In this PR I'm removing the documentation for 2.0 from the `docs`
directory to make space for the documentation I'm going to import from
Gitbook.

In the git history I'm leaving the commit in which I've moved the 1.x
docs to a separate directory `./docs-v1`.
2024-11-04 11:55:34 +01:00
Grzegorz Sadowski
7114672c4d
[Shop] Reorganize Twig hooks on product review index page (#17395)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | not yet
| Deprecations?   | no
| 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
-->


![image](https://github.com/user-attachments/assets/c661af62-d1be-4ed7-83c1-00c3a3437d84)
2024-11-04 11:54:35 +01:00
Grzegorz Sadowski
f618101f07
[Shop] Reorganize Twig hooks on product show page (#17394)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | not yet
| Deprecations?   | no
| 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
-->

I've (also) moved page to content directory to be consistent with other
previous changes.

![Capture d’écran du 2024-10-31
09-34-20](https://github.com/user-attachments/assets/ebf75b6e-9804-4d6a-8689-b161d84bae5a)
![Capture d’écran du 2024-10-31
09-34-25](https://github.com/user-attachments/assets/ec101de2-cafa-4215-b097-108d417ba2cb)
2024-11-04 11:25:28 +01:00
Wojdylak
44c71421e3
[Behat][Shop] Adjusted flash_message selector to specify alert-info 2024-11-04 11:19:48 +01:00
Grzegorz Sadowski
230004208a
[PaymentRequest] Mark Sensitive Fields And Ignore Encryption Key From Version Control (#17405)
| Q               | A
|-----------------|-----
| Branch?         | 2.0 
| 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/17370
| 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-11-04 10:52:56 +01:00
Magdalena Sadowska
7bb8dc17ea [Docs] Remove test build for documentation 2024-11-04 10:50:22 +01:00
Magdalena Sadowska
db9d8fb4c7 [Docs] Create 2.x docs directory 2024-11-04 10:34:34 +01:00
Magdalena Sadowska
de21f5ac91 [Docs] Rename 1.x docs dirctory 2024-11-04 10:26:26 +01:00
Kamil Grygierzec
7c7466d400
[API] Mention resource configuration changes in upgrade file 2024-11-04 08:53:08 +01:00
Loïc Frémont
41de226101 [Shop] Reorganize Twig hooks on product review index page 2024-11-04 08:41:55 +01:00
Loïc Frémont
e2181f399d [Shop] Reorganize Twig hooks on product show page 2024-11-04 08:34:21 +01:00
Grzegorz Sadowski
c6a345b45b
[CS][DX] Refactor (#17404)
This PR has been generated automatically.
For more details see
[refactor.yaml](/Sylius/Sylius/blob/1.12/.github/workflows/refactor.yaml).
2024-11-04 06:54:48 +01:00
Grzegorz Sadowski
3a2702e6b3
Add breadcrumbs to product reviews (#17289)
![image](https://github.com/user-attachments/assets/323306fe-5cd0-4f1c-887e-57496181039f)
2024-11-04 06:53:42 +01:00
Rafikooo
cd113cd6a0
Exclude /config/encryption/dev.key file from version control 2024-11-02 11:02:04 +01:00