Commit graph

3622 commits

Author SHA1 Message Date
Jan Goralski
c845cd6b89
[PriceHistory][Behat] Update channel edition scenarios 2023-03-29 10:50:54 +02:00
Rafikooo
75759549b9
[PriceHistory][Shop] Tag scenarios with seeing lowest price enabled 2023-03-28 12:50:27 +02:00
Rafikooo
7ac1a56a27
[PriceHistory][UI] Tag scenarios with managing channels enabled 2023-03-28 12:50:27 +02:00
Rafikooo
3d2ae584f9
[PriceHistory][API] Add channel setup implementation 2023-03-28 12:50:27 +02:00
Rafikooo
77a8b87b5f
[PriceHistory][API] Tag channels managing scenarios enabled 2023-03-27 18:58:03 +02:00
Rafikooo
1985e10070
[PriceHistory][UI][Shop] Tag seeing lowest price when changing variants and options enabled 2023-03-27 18:58:03 +02:00
Rafikooo
5dc82fe955
[PriceHistory] Tag scenarios with viewing product in admin panel enabled 2023-03-27 18:58:02 +02:00
Grzegorz Sadowski
0dd5b760d8
minor #14873 Improve displaying info about insufficient stock in the cart (jakubtobiasz)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13
| Bug fix?        | no
| New feature?    | kinda
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | improvements based on #14865
| License         | MIT

There are few changes not suitable to be pushed as "bug fix" in `1.12`. 

Preview:
![CleanShot 2023-03-21 at 13 53 22@2x](https://user-images.githubusercontent.com/80641364/226612566-e7716d22-95f6-4e00-bf03-7fe4430e0bae.png)


Commits
-------

87733a29ad Improve displaying info about insufficient stock in the cart
f46dcffd22 Fix issues with addFlash on Symfony 6.x
2023-03-27 14:13:08 +02:00
Grzegorz Sadowski
613ff512f3
Merge branch '1.12' into 1.13
* 1.12:
  [Admin][ProductVariant] Switched list rendering from base locale to current
  [Locale][API] Additional locale code validation
  fix: err on using scss var directly inside `calc()` func; resolves Sylius#14883
2023-03-27 13:12:18 +02:00
Grzegorz Sadowski
f8840f4672
bug #14887 [Admin][ProductVariant] Switched list rendering from base locale to current (NoResponseMate)
This PR was merged into the 1.12 branch.

Discussion
----------

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

Commits
-------

9cd314ec09 [Admin][ProductVariant] Switched list rendering from base locale to current
2023-03-27 11:27:34 +02:00
Jakub Tobiasz
87733a29ad
Improve displaying info about insufficient stock in the cart 2023-03-27 11:24:15 +02:00
Grzegorz Sadowski
8d2e8a2ebf
bug #14880 [Locale][API] Additional locale code validation (NoResponseMate)
This PR was merged into the 1.12 branch.

Discussion
----------

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

Commits
-------

e514c99737 [Locale][API] Additional locale code validation
2023-03-27 10:53:50 +02:00
TheMilek
11bc4d7117
[PriceHistory] Add removing price history command feature 2023-03-27 09:29:04 +02:00
Grzegorz Sadowski
51512b9f2d
Merge branch '1.12' into 1.13
* 1.12:
  Prevent the cart recalculation when the form has errors
2023-03-27 08:23:36 +02:00
Jan Goralski
9cd314ec09
[Admin][ProductVariant] Switched list rendering from base locale to current 2023-03-24 15:55:34 +01:00
Jan Goralski
e514c99737
[Locale][API] Additional locale code validation 2023-03-24 15:39:56 +01:00
hatem20
0f62196135 [Product][Association] Fix attaching association with numeric code 2023-03-24 15:26:42 +02:00
Jakub Tobiasz
4cb0a52599
Prevent the cart recalculation when the form has errors 2023-03-21 13:52:11 +01:00
Rafikooo
913434c700
[PriceHistory][UI] Tag scenarios with seeing price history enabled 2023-03-17 17:55:21 +01:00
Rafikooo
aaa683a86f
[PriceHistory][UI] Tag scenarios with accessing price history enabled 2023-03-17 17:54:56 +01:00
Grzegorz Sadowski
f74f7f3c48
feature #14854 [PriceHistory][API] ChannelPricingLogEntry implementation (Rafikooo)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13 <!-- see the comment below -->                  |
| Bug fix?        | no                                                      |
| New feature?    | yes                                                       |
| BC breaks?      | yes                                                       |
| Deprecations?   | yes <!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | https://github.com/Sylius/Sylius/pull/14852                     |
| 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
-->
![image](https://user-images.githubusercontent.com/40125720/225167570-f37391d2-d589-4382-a141-218193cf5a17.png)



Commits
-------

9044e9f491 [PriceHistory] Add ChannelPricingLogEntry entity
68d613978e [PriceHistory] Add ChannelPricingLogEntry repository
27987feea7 [PriceHistory] Add ChannelPricingLogEntry factory
3fa4ed6c38 [PriceHistory] Add ChannelPricingLogEntry migration
c30530f77a [PriceHistory] Add ChannelPricingLogEntry resource configuration
bac7a9d2b3 [PriceHistory] Tag scenarios with seeing price history enabled
f774da1af8 [PriceHistory] Add missing product and catalog promotion setup
23d616c3c2 [PriceHistory][API] Add behat context
87f4dc81b5 [PriceHistory][API][Admin] Add ChannelPricingLogEnties endpoint
ea5c2e6148 [PriceHistory][Domain] Add fields to Channel and ChannelPricing entites
0a98a1eb80 [PriceHistory][Migration] Add migration for new Channel and ChannelPricing entity fields
bbbebe52a5 [PriceHistory] Add a core implementation of calculating the lowest price before discount
0cdf3cfa5f [PriceHistory][Test] Add contract tests for ChannelPricingLogEntry entity
af8844eb75 [Channel] Add sylius validation group parameter
75b24af569 [PriceHistory] Reflect changes from the plugin
2023-03-17 14:47:49 +01:00
Rafał Jaskulski
48bd79f695
minor #14862 [Behat][PriceHistory] Adjust scenarios for displaying lowest price according to the excluded taxons (GSadee)
This PR was merged into the 1.13 branch.

Discussion
----------



| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13|
| Bug fix?        | no                                                      |
| New feature?    |yes                                                       |
| BC breaks?      | no                                                      |
| Deprecations?   | no<!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | after https://github.com/Sylius/PriceHistoryPlugin/pull/73|
| 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
-->


Commits
-------

ef40b26751 [Behat][PriceHistory] Adjust scenarios for displaying lowest price according to the excluded taxons
2023-03-17 14:14:53 +01:00
Rafikooo
75b24af569
[PriceHistory] Reflect changes from the plugin 2023-03-17 13:54:25 +01:00
Rafikooo
bac7a9d2b3
[PriceHistory] Tag scenarios with seeing price history enabled 2023-03-17 13:41:35 +01:00
Rafikooo
3e1e1df2a8
[Behat] Unify saving step naming 2023-03-16 16:44:05 +01:00
Grzegorz Sadowski
ef40b26751
[Behat][PriceHistory] Adjust scenarios for displaying lowest price according to the excluded taxons 2023-03-16 15:06:04 +01:00
Grzegorz Sadowski
81d9e2c9f2
Merge branch '1.12' into 1.13
* 1.12:
  [Order] Ensure correct item in `post_add` event
2023-03-16 11:31:45 +01:00
Jan Goralski
814df1e110
[Order] Ensure correct item in post_add event 2023-03-15 17:23:02 +01:00
Grzegorz Sadowski
9d3d6f987b
feature #14852 [PriceHistory] Behat scenarios (Rafikooo)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13 <!-- see the comment below -->                  |
| Bug fix?        | no                                                      |
| New feature?    |yes                                                       |
| BC breaks?      | no                                                      |
| Deprecations?   | no<!-- don't forget to update the UPGRADE-*.md file --> |
| License         | MIT                                                          |

Move https://github.com/Sylius/PriceHistoryPlugin scenarios into Sylius

<!--
 - 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
-->


Commits
-------

88db81fe0e [PriceHistory][Scenarios] Channel setup
668bd90d8b [PriceHistory][Scenarios] Accessing price history
33a7407986 [PriceHistory][Scenarios] Add catalog promotion cases
615f704fa7 [PriceHistory][Scenarios] Add deleting old log entries
805b93adb9 [PriceHistory][Scenarios] Add log entry creation after product's price change
1161ec2664 [PriceHistory][Scenarios] Add lowest price displaying in product's show page
30ca912876 [PriceHistory][Scenarios][Shop] Add lowest price displaying
10b67523c3 [PriceHistory] Tag scenarios as @todo
2023-03-13 14:09:22 +01:00
Rafikooo
10b67523c3
[PriceHistory] Tag scenarios as @todo 2023-03-13 12:38:59 +01:00
Rafikooo
30ca912876
[PriceHistory][Scenarios][Shop] Add lowest price displaying 2023-03-13 12:38:58 +01:00
Rafikooo
1161ec2664
[PriceHistory][Scenarios] Add lowest price displaying in product's show page 2023-03-13 09:40:13 +01:00
Rafikooo
805b93adb9
[PriceHistory][Scenarios] Add log entry creation after product's price change 2023-03-13 09:40:13 +01:00
Rafikooo
615f704fa7
[PriceHistory][Scenarios] Add deleting old log entries 2023-03-13 09:40:13 +01:00
Rafikooo
33a7407986
[PriceHistory][Scenarios] Add catalog promotion cases 2023-03-13 09:40:13 +01:00
Rafikooo
668bd90d8b
[PriceHistory][Scenarios] Accessing price history 2023-03-13 09:40:12 +01:00
Rafikooo
88db81fe0e
[PriceHistory][Scenarios] Channel setup 2023-03-13 09:40:12 +01:00
panigrc
be7228e876
Add Behat Scenarios for the FloatAttributeType 2023-03-13 09:29:56 +01:00
Grzegorz Sadowski
aef3367b2c
feature #14811 Cover managing the tax rates in API (hatem20, jakubtobiasz)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13 <!-- see the comment below -->                  |
| Bug fix?        | no                                                       |
| New feature?    | yes                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no <!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | successor of #11884                      |
| License         | MIT                                                          |


Commits
-------

03c34387a7 [Tax rate][Behat] Add include tax rate step in add tax feature
f84fce7dc9 [API][Tax rate] Implement adding_tax_rate feature
c8fe3b325f [API][Tax rate] Implement deleting_tax_rate feature
e147639d37 [API][Tax rate] Implement deleting_multiple_tax_rates feature
bacef86376 [API][Tax rate] Implement tax_rate_unique_code_validation feature
161d25d6dd [API][Tax rate] Implement tax_rate_validation feature
7cdf3e7983 [API][Tax rate] Implement editing_tax_rate feature
cff62a6337 Adjust Tax Rates API related Behat scenarios to the new standard
2023-02-23 12:50:59 +01:00
Jakub Tobiasz
cff62a6337
Adjust Tax Rates API related Behat scenarios to the new standard 2023-02-22 11:41:09 +01:00
Grzegorz Sadowski
b66370546a
Merge branch '1.12' into 1.13
* 1.12:
  [Shop] Fix displaying discount on list view when original price is lower than current
  [Behat][Shop] Not seeing discount when original price is lower than current
2023-02-17 08:58:53 +01:00
Jan Goralski
acecbb210e
[Behat][Shop] Not seeing discount when original price is lower than current 2023-02-16 14:18:54 +01:00
Grzegorz Sadowski
a017697664
Merge branch '1.12' into 1.13
* 1.12:
  Rename composite to hybrid within Behats & post review improvements
  Rename custom Order factory
  Fix being unable to pick up latest non-empty cart started in shop and continued in API
  Add Behat scenarios for continuing cart from web in api
2023-02-16 07:44:49 +01:00
Grzegorz Sadowski
906e722e72
bug #14800 Fix being unable to pick up latest non-empty cart started in shop and continued in API (jakubtobiasz)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12                  |
| Bug fix?        | yes                                                       |
| New feature?    | no                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no  |
| Related tickets | fixes #14539, successor of #14597                      |
| License         | MIT                                                          |

PR created by @Nek- was great, but was involving some sort of changes we've called feature and bc policy breaking. We (believe that) we've found a way to fix the bug part without changing the previous behavior on the web shop. 

Commits
-------

854e3e7ceb Add Behat scenarios for continuing cart from web in api
fb70c5e34a Fix being unable to pick up latest non-empty cart started in shop and continued in API
1e3410a72b Rename custom Order factory
efdbb44594 Rename composite to hybrid within Behats & post review improvements
2023-02-16 07:44:21 +01:00
Jakub Tobiasz
efdbb44594
Rename composite to hybrid within Behats & post review improvements 2023-02-15 18:06:59 +01:00
hatem20
7cdf3e7983
[API][Tax rate] Implement editing_tax_rate feature 2023-02-15 11:55:24 +01:00
hatem20
161d25d6dd
[API][Tax rate] Implement tax_rate_validation feature 2023-02-15 11:55:24 +01:00
hatem20
bacef86376
[API][Tax rate] Implement tax_rate_unique_code_validation feature 2023-02-15 11:55:24 +01:00
hatem20
e147639d37
[API][Tax rate] Implement deleting_multiple_tax_rates feature 2023-02-15 11:55:23 +01:00
hatem20
c8fe3b325f
[API][Tax rate] Implement deleting_tax_rate feature 2023-02-15 11:55:23 +01:00