Commit graph

2759 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Grzegorz Sadowski
c643373408
Merge branch '1.13' into 1.14
* 1.13:
  Update state_machine.rst
2024-09-18 12:36:58 +02:00
Jakub Czech
3d2a0f56fd
Update state_machine.rst
Update of ProductReviews state machine name that is used in example. Currently not existing name (sylius_review) is used to show on how to modify existing callback with existing state machine
Should be sylius_product_review
2024-09-18 10:58:04 +02:00
Grzegorz Sadowski
3eca63e686
Merge branch '1.13' into 1.14
* 1.13:
  [Docs] Fix link in grids customization guide
2024-09-10 07:00:40 +02:00
Magdalena Sadowska
e780b24981 [Docs] Fix link in grids customization guide 2024-09-09 14:37:32 +02:00
Jan Goralski
2e1c7663d8
[Docs] Update namespaces 2024-09-06 13:09:26 +02:00
Jan Goralski
c4c7c568e8
[Maintenance] Update resource models FQCNs 2024-09-04 09:08:59 +02:00
Jan Goralski
2283134805
[Maintenance] Update RepositoryInterface FQCN 2024-09-04 09:08:59 +02:00
Grzegorz Sadowski
0f8af860c2
[Documentation] Update the dates on the release cycle page 2024-08-07 16:00:41 +02:00
Grzegorz Sadowski
9dc9bd84ea
Merge branch '1.12' into 1.13
* 1.12:
  [Docs] Update taxon-menu page to reflect current fixtures configuration
2024-07-09 07:01:35 +02:00
Rafikooo
5dfe52c8a8
[Docs] Update taxon-menu page to reflect current fixtures configuration 2024-07-08 15:58:17 +02:00
Grzegorz Sadowski
3179ddf03e
minor #16475 Update repository.rst (zairigimad)
This PR was merged into the 1.13 branch.

Discussion
----------

fix typo

| Q               | A
|-----------------|-----
| Branch?         | 1.12, 1.13, 1.14 or 2.0 <!-- see the comment below -->
| Bug fix?        | no/yes
| New feature?    | no/yes
| BC breaks?      | no/yes
| Deprecations?   | no/yes <!-- 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.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
-->


Commits
-------

cfcbd05dec Update repository.rst
2024-07-02 10:06:03 +02:00
Grzegorz Sadowski
e23b11a587
minor #16474 Update model.rst (zairigimad)
This PR was merged into the 1.13 branch.

Discussion
----------

fix typo

| Q               | A
|-----------------|-----
| Branch?         | 1.12, 1.13, 1.14 or 2.0 <!-- see the comment below -->
| Bug fix?        | no/yes
| New feature?    | no/yes
| BC breaks?      | no/yes
| Deprecations?   | no/yes <!-- 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.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
-->


Commits
-------

74a900caa8 Update model.rst
2024-07-02 10:05:40 +02:00
Grzegorz Sadowski
0f487ec952
Merge branch '1.12' into 1.13
* 1.12:
  Minor fixes after PR review
  Fix products grid for mobile
  Update PR template
  [Documentation] Update Sylius 1.12 version on the release cycle page
  Fix ProductTaxons' positioning logic
2024-07-01 16:39:47 +02:00
Grzegorz Sadowski
f769343c14
Minor fixes after PR review 2024-07-01 12:33:53 +02:00
Grzegorz Sadowski
3bb6274e6c
[Documentation] Update Sylius 1.12 version on the release cycle page 2024-07-01 11:17:47 +02:00
Zairig Imad
cfcbd05dec
Update repository.rst
fix typo
2024-06-26 18:39:38 +01:00
Zairig Imad
74a900caa8
Update model.rst
fix typo
2024-06-26 18:34:10 +01:00
Magdalena Sadowska
9cdd995464 [Docs] Add a link to the database schema 2024-06-23 21:39:20 +02:00
Grzegorz Sadowski
c180259697
Merge branch '1.12' into 1.13
* 1.12:
  Correct wrong command in the platform's cron example docs
  Sylius Plus modular installation and upgrading
2024-06-20 07:52:58 +02:00
Grzegorz Sadowski
aebed58ada
refactor #16436 Sylius Plus modular installation and upgrading (CoderMaggie)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 1.12
| Bug fix?        | no
| New feature?    | yes
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | 
| License         | MIT

Since the introduction of the Sylius Plus modular approach, we haven't updated the installation instructions on the official documentation.


Commits
-------

b7abd9ccc4 Sylius Plus modular installation and upgrading
2024-06-20 07:51:26 +02:00
Kamil Grygierzec
e091878b18
Correct wrong command in the platform's cron example docs 2024-06-19 12:56:55 +02:00
Magdalena Sadowska
b7abd9ccc4 Sylius Plus modular installation and upgrading 2024-06-19 10:37:33 +02:00
Grzegorz Sadowski
5d4f0b3d84
Merge branch '1.12' into 1.13
* 1.12:
  Sylius Community Edition naming in docs
2024-05-29 11:08:24 +02:00
Magdalena Sadowska
7b37549714
Sylius Community Edition naming in docs 2024-05-29 11:06:11 +02:00
Grzegorz Sadowski
42dbcc3326
Merge branch '1.12' into 1.13
* 1.12:
  Review fixes
  Refactor Sylius Cloud docs structure
  Finished writing Sylius Cloud cookbook
  Add first part of Sylius Cloud cookbook [WIP]
2024-05-28 15:58:47 +02:00
Magdalena Sadowska
1a630444df Review fixes 2024-05-23 10:15:05 +02:00
Magdalena Sadowska
209d8a9417 Refactor Sylius Cloud docs structure 2024-05-20 21:48:21 +02:00
Marcin Kukliński
02f4fcc1c7 Finished writing Sylius Cloud cookbook 2024-05-20 21:47:30 +02:00
Marcin Kukliński
4d55bf7c0d Add first part of Sylius Cloud cookbook [WIP] 2024-05-20 21:47:30 +02:00
Grzegorz Sadowski
3bc21174cf
Merge branch '1.12' into 1.13
* 1.12:
  [Behat] Minor scenarios improvements
  Fixes after CR
  Test adding similar products
  Test adding new simple product
  Test adding new taxon
  [Behat] Minor scenarios improvements after code review
  [Checkout] Add scenario for preventing from a potential XSS attack
  [AddressBook] Add scenario for preventing from a potential XSS attack
  Use function from UIBundle
  Add sanitizer function to UIBundle
  Add js sanitizeInput function
  Fix product-auto-complete
  Use function from UIBundle
  Fix potential xss in admin panel
  [Maintenance] Remove unnecessary line
  [Maintenance] Update docker docs
2024-05-10 10:28:17 +02:00
Wojdylak
3fa947e4c9
[Maintenance] Remove unnecessary line 2024-05-08 10:33:54 +02:00
Wojdylak
6ca4a6aaae
[Maintenance] Update docker docs 2024-05-08 10:26:32 +02:00
Grzegorz Sadowski
cd2f28fb2f
Merge branch '1.12' into 1.13
* 1.12:
  [Behat] Use chromedrives in some scenarios
  Update PR template
  [Documentation] Update release cycle after 1.13 release
2024-04-29 10:44:19 +02:00