Commit graph

34302 commits

Author SHA1 Message Date
Grzegorz Sadowski
86ed1e5241
[API] Remove unneeded records from phpstan-baseline 2024-07-16 09:41:19 +02:00
Grzegorz Sadowski
7eca3bfb18
[API] Implement Shipping Method shop endpoints 2024-07-16 09:41:19 +02:00
Grzegorz Sadowski
988159ece2
[API] Convert data provider to state provider for Shipping Method resource 2024-07-16 09:41:19 +02:00
Grzegorz Sadowski
7b9e04f624
[API] Implement Shipping Method admin endpoints 2024-07-16 09:41:18 +02:00
Grzegorz Sadowski
f9f09e32f0
[API] Convert data persister to remove state processor for Shipping Method resource 2024-07-16 09:41:18 +02:00
Grzegorz Sadowski
a9d316cc94
[API] Add get endpoint to Zone to enable IRI generation 2024-07-16 09:41:18 +02:00
Grzegorz Sadowski
a1ce45fcfc
[API] Enable contract tests for Shipping Method resource 2024-07-16 09:41:18 +02:00
Wojdylak
53741ccd1a [ADR] Minor improvements 2024-07-16 09:39:17 +02:00
Wojdylak
a0158fa03b [ADR] Api - State providers structure 2024-07-16 09:39:17 +02:00
Jan Goralski
9529a0db4e [API] Add service names for query extensions 2024-07-16 09:33:41 +02:00
Jan Goralski
ebc11e0db6 [API][QueryExtension] Further restructuring 2024-07-16 09:33:41 +02:00
Jan Goralski
f8f0b5431f [API][Maintenance] Fix static analysis in query extensions 2024-07-16 09:33:41 +02:00
Jan Goralski
591166473a [API] Change the directory structure of query extensions 2024-07-16 09:33:41 +02:00
Grzegorz Sadowski
8ad643977d
Merge branch '2.0' into api-platform-3
* 2.0: (30 commits)
  [CS][DX] Refactor
  [CS][DX] Refactor
  Fix taxon tree dropdown
  [Behat] Remove unnecessary step
  [Behat][Product] Fix and enable adding product with multiple attributes scenario
  [Admin][Product] Various scenarios fixes
  More fixes
  Minor fixes
  [Admin] Add validation for ratio value
  [Admin] Twig hooks, refactor
  [Admin] Refactor context
  [Admin] Enable behats
  [ProductOption][Behat] Use product option from sharedStorage
  Fix behats step
  Remove unnecessary lines
  [ProductOption][Behat] minor improvements
  [Admin][ProductOption][Behat] Change localeCode to locale_code
  [Admin][ProductOption] Add behat's test for "apply to all" functionality
  [Admin][Product] Change using live action to new way
  [Admin][ProductOption] Add apply to all button
  ...
2024-07-16 07:10:57 +02:00
Grzegorz Sadowski
6059ef2c05
Merge branch '1.14' into 2.0
* 1.14:
  [CS][DX] Refactor
  More informative errror in ShowPage.php
2024-07-16 07:07:07 +02:00
Grzegorz Sadowski
d26062b341
Merge branch '1.13' into 1.14
* 1.13:
  [CS][DX] Refactor
  More informative errror in ShowPage.php
2024-07-16 07:07:03 +02:00
Grzegorz Sadowski
e97ccc7bb3
refactor #16581 [CS][DX] Refactor ()
This PR was merged into the 1.13 branch.

Discussion
----------

This PR has been generated automatically.
For more details see [refactor.yaml](/Sylius/Sylius/blob/1.12/.github/workflows/refactor.yaml).

Commits
-------

3135b91fe3 [CS][DX] Refactor
2024-07-16 07:06:07 +02:00
Sylius Bot
3135b91fe3 [CS][DX] Refactor 2024-07-16 02:19:55 +00:00
Rafał Jaskulski
8c475df4c5
[API] Refactor StateProviders (#16567)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | n/a
| License         | MIT
2024-07-15 16:49:15 +02:00
Rafał Jaskulski
9e8b03c2bf
Taxon tree dropdown fix (#16571)
![image](https://github.com/user-attachments/assets/1e554b5f-38f3-421a-ba71-ed0c28861597)
2024-07-15 15:47:31 +02:00
Rafał Jaskulski
b3e508fbbc
[CS][DX] Refactor (#16575)
This PR has been generated automatically.
For more details see
[refactor.yaml](/Sylius/Sylius/blob/1.12/.github/workflows/refactor.yaml).
2024-07-15 13:37:38 +02:00
Michał Pysiak
069d1f4c00
More informative errror in ShowPage.php (#16171)
I always didn't like behat errors like:

  Given I have product "Xxxx" in the cart
  (FriendsOfBehat\PageObjectExtension\Page\UnexpectedPageException)

Not informative. Is it unexpected page (i.e. wrong page opened)? Or is
it unexpected exception?

Now it shows:

Is not open: Could not open the page:
"http://localhost:8080/en_US/products/xxx". Received an error status
code: 500 {"slug":"xxx"}
(FriendsOfBehat\PageObjectExtension\Page\UnexpectedPageException)

Feel free to improve or change this commit.




| Q | A |

|-----------------|--------------------------------------------------------------|
| Branch?         |  1.13 (1.12 would be nice too)                  |
| Bug fix?        | no   |
| New feature?    | no |
| BC breaks? | ? |
| Deprecations?   | no? |
| Related tickets | none    |
| License | MIT |

<!--
 - Bug fixes must be submitted against the 1.12 branch
 - Features and deprecations must be submitted against the 1.13 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-15 07:16:52 +02:00
Sylius Bot
86b737c990 [CS][DX] Refactor 2024-07-13 02:16:54 +00:00
Wojdylak
5c7126da2b
[API] Refactor StateProviders 2024-07-12 14:43:58 +02:00
Bartłomiej Sęk
1fb44b8e9e Fix taxon tree dropdown 2024-07-12 14:14:01 +02:00
Wojdylak
eacb6291f2 [Behat] Remove unnecessary step 2024-07-12 08:45:28 +02:00
Michał Pysiak
63a941a74b More fixes 2024-07-12 08:01:00 +02:00
Michał Pysiak
1586dd93cf Fixes after CR 2024-07-12 08:01:00 +02:00
Michał Pysiak
b34f0c17f8 Cleanup 2024-07-12 08:01:00 +02:00
Michał Pysiak
dcfbb8c28f Refactor specs 2024-07-12 08:01:00 +02:00
Michał Pysiak
3693c4cdfd Refactor Processors 2024-07-12 08:01:00 +02:00
Jan Goralski
d51ae4a629 [Behat][Product] Fix and enable adding product with multiple attributes scenario 2024-07-12 07:57:38 +02:00
Jan Goralski
ad5cc8fcde [Admin][Product] Various scenarios fixes 2024-07-12 07:56:26 +02:00
Michał Pysiak
3dd575ced3 More fixes 2024-07-12 07:52:33 +02:00
Michał Pysiak
d6870acb07 Minor fixes 2024-07-12 07:52:33 +02:00
Michał Pysiak
6626c5d865 [Admin] Add validation for ratio value 2024-07-12 07:52:33 +02:00
Michał Pysiak
cede1a1c7c [Admin] Twig hooks, refactor 2024-07-12 07:52:33 +02:00
Michał Pysiak
5e6674b10b [Admin] Refactor context 2024-07-12 07:52:33 +02:00
Michał Pysiak
77a0b80d42 [Admin] Enable behats 2024-07-12 07:52:33 +02:00
Wojdylak
7ad68162f3 [ProductOption][Behat] Use product option from sharedStorage 2024-07-12 06:51:22 +02:00
Wojdylak
a8e8cbfe23 Fix behats step 2024-07-12 06:51:22 +02:00
Wojdylak
c8bb356b20 Remove unnecessary lines 2024-07-12 06:51:22 +02:00
Wojdylak
0592731b05 [ProductOption][Behat] minor improvements 2024-07-12 06:51:22 +02:00
Wojdylak
7516d95579 [Admin][ProductOption][Behat] Change localeCode to locale_code 2024-07-12 06:51:22 +02:00
Wojdylak
5cb518d373 [Admin][ProductOption] Add behat's test for "apply to all" functionality 2024-07-12 06:51:22 +02:00
Wojdylak
0810676f43 [Admin][Product] Change using live action to new way 2024-07-12 06:51:22 +02:00
Wojdylak
26f4d5b4c4 [Admin][ProductOption] Add apply to all button 2024-07-12 06:51:22 +02:00
Wojdylak
5a8b5c020d
[API] Fix CollectionProviderSpec 2024-07-11 15:27:43 +02:00
Wojdylak
553ff0339e
[API] Refactor StateProviders 2024-07-11 15:21:57 +02:00
Jan Góralski
be626e2f26
minor #16560 Remove unnecessary classes (Wojdylak)
This PR was merged into the 2.0 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | n/a
| License         | MIT


Commits
-------
  Remove unnecessary classes
2024-07-10 16:14:52 +02:00