Commit graph

2808 commits

Author SHA1 Message Date
Magdalena Sadowska
d3d1dd21a8
GITBOOK: Export Sylius documentation 2024-11-07 07:49:57 +00:00
Magdalena Sadowska
32f1839d8e
GITBOOK: Export Sylius documentation 2024-11-07 07:41:35 +00:00
Magdalena Sadowska
771ff16d28
GITBOOK: Export Sylius documentation 2024-11-06 13:37:58 +00:00
Magdalena Sadowska
a53b3d4639
GITBOOK: Export Sylius documentation 2024-11-06 11:50:46 +00:00
Magdalena Sadowska
2b45ab3aa7
GITBOOK: Export Sylius documentation 2024-11-05 12:56:50 +00:00
Magdalena Sadowska
43aaafc68c
GITBOOK: Export Sylius documentation 2024-11-05 12:49:20 +00:00
Magdalena Sadowska
da85bce5c1
GITBOOK: Export Sylius documentation 2024-11-05 10:19:24 +00:00
Grzegorz Sadowski
e230ec9996
GitBook: No commit message 2024-11-04 14:24:40 +00:00
Jakub Tobiasz
9abf783868
GitBook: No commit message 2024-11-04 14:15:34 +00: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
Grzegorz Sadowski
f17175255d
Merge branch '1.14' into 2.0
* 1.14:
  [Documentation] Fix 2.0-dev installation instruction tip
  Improve DefaultChannelFactory test service + add note about change
  [Behat] Dehardcode the use of ShopBillingData entity
  [Behat] Dehardcode the use of AvatarImage entity
  [Admin] Deprecate NotificationWidgetExtension
2024-10-31 13:07:32 +01:00
Grzegorz Sadowski
5afbb7d4bd
Merge branch '1.13' into 1.14
* 1.13:
  [Documentation] Fix 2.0-dev installation instruction tip
2024-10-31 13:06:46 +01:00
Grzegorz Sadowski
8813794cfe
[Documentation] Fix 2.0-dev installation instruction tip 2024-10-31 13:03:18 +01:00
Grzegorz Sadowski
2c28f8d41f
[Addressing][Product] Remove unused controllers 2024-10-29 15:38:08 +01:00
Grzegorz Sadowski
8fa697892f
Merge branch '1.14' into 2.0
* 1.14:
  [Admin] Pass admin path name parameter to AdminUriBasedSectionResolver
  Update docs/customization/api/adding_and_removing_endpoints.rst
  Apply suggestions from code review
  [API] Refactor statistics constraints
  [Promotion] Add missing AsCatalogPromotionVariantChecker attribute
  [Core] Add missing type to AsCatalogPromotionPriceCalculator attribute
  doc: Adding a tip about api's preventing methods beside GET to load non cart orders by default
2024-10-29 12:08:15 +01:00
Grzegorz Sadowski
d4531ff063
Merge branch '1.13' into 1.14
* 1.13:
  [Admin] Pass admin path name parameter to AdminUriBasedSectionResolver
  Update docs/customization/api/adding_and_removing_endpoints.rst
  Apply suggestions from code review
  [API] Refactor statistics constraints
  doc: Adding a tip about api's preventing methods beside GET to load non cart orders by default
2024-10-29 12:03:59 +01:00
Grzegorz Sadowski
c49425d086
[API][DOC]Adding a tip about api's preventing methods beside GET to load non cart orders by default (#17256)
| Q               | A
|-----------------|-----
| Branch?           | 1.13
| Bug fix?           | no
| New feature?  | no
| BC breaks?      | no
| Deprecations? | no
| Related tickets | na
| 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
-->

Hello, 

If we add a custom API endpoint to the Orders using any method besides
GET, we end up with a very unclear 404 error.

Investigating this led us to find this "feature" which prevents us from
loading the order with a given token due to the order not being in the
state `cart`. In our case, we needed to update the customer cart with
information from an older order. So it was logical for us to use `POST`
as we are updating the cart, and it was logical to have the order token
in the URL to specify the order we need to pull the data from.

It was therefore quite frustrating to debug; I thought adding a little
tip about it in the docs wouldn't hurt any future developer coming
across this issue.

Reference to the class where this filtering is done:
https://github.com/Sylius/Sylius/blob/2.0/src/Sylius/Bundle/ApiBundle/Doctrine/ORM/QueryExtension/Shop/Order/StateBasedExtension.php

Hope I contributed as needed, with ❤️ 

Regards
2024-10-29 07:24:18 +01:00
Grzegorz Sadowski
f78d02d8a0
Update docs/customization/api/adding_and_removing_endpoints.rst 2024-10-29 07:23:48 +01:00
Grzegorz Sadowski
7dd327e6cf
Apply suggestions from code review 2024-10-29 07:23:12 +01:00
Grzegorz Sadowski
fd7297c449
Merge branch '1.14' into 2.0
* 1.14:
  [Admin] Deprecate NotificationController
  [AdminBundle] Add base form type for ShopUserType
  [AdminBundle] Add base form type for PromotionCouponGeneratorInstructionType
  chore(doc): add naming changes for plugin skeleton
2024-10-28 11:42:17 +01:00
Grzegorz Sadowski
60919f542c
chore(doc): add naming changes for plugin skeleton (#17281)
Add tests kernel and console naming changes.

| 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 | fixes #X, partially #Y, mentioned in #Z
| 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-10-25 07:11:51 +02:00
Grzegorz Sadowski
ded62000c4
Merge branch '1.14' into 2.0
* 1.14:
  [Docs] Refresh Release Cycle
  [CoreBundle] Add missing license file
2024-10-22 14:55:04 +02:00
Grzegorz Sadowski
20c781f8cc
Merge branch '1.13' into 1.14
* 1.13:
  [Docs] Refresh Release Cycle
  [CoreBundle] Add missing license file
2024-10-22 14:55:00 +02:00
Magdalena Sadowska
6f4859528a [Docs] Refresh Release Cycle 2024-10-22 14:48:35 +02:00
Thomas Decaux
4f936a7ad9
chore(doc): add naming changes for plugin skeleton
Add tests kernel and console naming changes.
2024-10-21 14:26:42 +02:00
Grzegorz Sadowski
4797362906
Merge branch '2.0' into SYL-3092-remove-autoconfigure-with-attributes-parameter 2024-10-18 09:06:14 +02:00
Grzegorz Sadowski
4e4bf7a518
[UserBundle] Remove pin related leftovers 2024-10-17 14:28:12 +02:00
Grzegorz Sadowski
5214bbb114
Merge branch '1.14' into 2.0
* 1.14:
  [API] Rename and deprecate route parameters
  [UserBundle] Deprecate security related classes and services that will be removed in 2.0
2024-10-17 12:36:14 +02:00
Grzegorz Sadowski
79f8212a06
[API] Rename and deprecate route parameters 2024-10-17 08:58:03 +02:00
De Cramer Oliver
81a658cc71
doc: Adding a tip about api's preventing methods beside GET to load non cart orders by default 2024-10-16 20:03:33 +02:00
Grzegorz Sadowski
56b66aa2a3
[Core][Order] Remove autoconfigure_with_attributes configuration parameters 2024-10-16 08:06:16 +02:00
Grzegorz Sadowski
ad0b131891
Merge branch '1.14' into 2.0
* 1.14:
  [Docs] Fix readthedocs configuration files
2024-10-08 13:26:24 +02:00
Grzegorz Sadowski
f33bd01c67
Merge branch '1.13' into 1.14
* 1.13:
  [Docs] Fix readthedocs configuration files
2024-10-08 13:26:21 +02:00
Magdalena Sadowska
c43beed158 [Docs] Fix readthedocs configuration files 2024-10-08 13:19:22 +02:00
Grzegorz Sadowski
5f8e5f1ab0
Merge branch '1.14' into 2.0
* 1.14:
  Remove winzouStateMachineBundle from packages' test applications to support ResourceBundle 1.12
2024-10-08 07:40:06 +02:00
Grzegorz Sadowski
1f3cb4c9e3
[Maintenance] Remove swiftmailer leftovers (#17128)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| 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-10-07 12:49:24 +02:00
Michał Pysiak
452edc7ccc
Remove swiftmailer leftovers 2024-10-07 11:53:43 +02:00
Michał Pysiak
ee873b9bae
Remove from doc files 2024-10-07 10:00:58 +02:00
Grzegorz Sadowski
957fd873ec
SYL-3947: UI bundle cleanup (#17036)
Cleaned up UiBundle templates and assets
2024-10-01 13:30:40 +02:00
Grzegorz Sadowski
e06428cce2
[Maintenance] Remove FOS Restbundle (#17025)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | yes
| 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-09-30 07:15:41 +02:00
Bartłomiej Sęk
d5bf41bbe0 Refactor templates directories to lower case and templates names to snake_case 2024-09-27 12:14:20 +02:00
Grzegorz Sadowski
69f77e01bd
Merge branch '1.14' into 2.0
* 1.14:
  [Docs] Add 2.0-dev installation instructions
2024-09-27 11:25:06 +02:00
Grzegorz Sadowski
79c14bb1e6
Merge branch '1.13' into 1.14
* 1.13:
  [Docs] Add 2.0-dev installation instructions
2024-09-27 11:25:04 +02:00
Grzegorz Sadowski
95623773e0
minor #17044 [Docs] Add 2.0-dev installation instructions (CoderMaggie)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 1.13
| License         | MIT



Commits
-------

8af0c3025b [Docs] Add 2.0-dev installation instructions
2024-09-27 11:24:47 +02:00
Magdalena Sadowska
8af0c3025b [Docs] Add 2.0-dev installation instructions 2024-09-27 11:14:19 +02:00
Michał Pysiak
5360772aaf
Remove dependecies 2024-09-27 06:09:00 +02:00
Grzegorz Sadowski
cca95b5a33
Merge Symfony 7 into 2.0 (#16351)
| Q               | A
|-----------------|-----
| Branch?         | 2.0 
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets |
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.12 or 1.13 branches
 - 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-24 12:09:21 +02:00
Grzegorz Sadowski
df217d7182
Resolve conflicts between 2.0 and symfony-7 2024-09-24 08:48:32 +02:00
Michał Pysiak
93528d2062
Remove unused urls from security 2024-09-24 07:37:06 +02:00