Christopher Allford
8e7ef263a2
Adjusted the package exports to be easier to consume
2020-09-21 11:21:35 -07:00
Christopher Allford
27d8892b28
Merge branch 'master' into packages/factories-to-api-refactor
2020-09-18 14:45:39 -07:00
Christopher Allford
866ab47dda
Adjusted the exports for clarity of use
2020-09-18 14:26:00 -07:00
Christopher Allford
b3b92e2d4d
Separated the construction of factories & repositories from the models for simplicity
2020-09-18 13:53:10 -07:00
Ron Rennick
9915a5b142
merge master
2020-09-18 12:53:28 -03:00
Rodrigo Primo
197e8d274c
Merge pull request #27616 from woocommerce/fix/26960
...
Paypal gateway: protect code against a fatal error if WooCommerce is unable to communicate with PayPal
2020-09-18 09:34:57 -03:00
vedanshujain
140dafb704
Add unit tests for when PayPal API will return error
2020-09-18 17:12:33 +05:30
Claudio Sanches
29b8b0d60d
Merge pull request #27701 from woocommerce/fix/rest-api-package-tag
...
Fixed usage of package tag in REST API and templates
2020-09-17 18:45:14 -03:00
Christopher Allford
a9ee9806a4
Implemented the factory & repository for simple products
2020-09-17 13:31:39 -07:00
Claudio Sanches
7fae819928
Fixed package tag
2020-09-17 14:34:36 -03:00
Christopher Allford
6c230ca7b3
Centralized the CRUD actions into a single kind of repository that can be easily used in every adapter case
2020-09-17 09:43:43 -07:00
Claudio Sanches
3377c60c5e
Merge pull request #27433 from woocommerce/fix/remove-relative-include-paths
...
Change relative include paths to absolute include paths
2020-09-17 13:15:40 -03:00
Claudio Sanches
70c7adfeb7
Fixed usage of package tag in REST API and templates
2020-09-17 11:56:08 -03:00
Claudio Sanches
ed1a59b39b
Merge pull request #27416 from woocommerce/fix/27415
...
Fixed country list sorting
2020-09-17 10:35:43 -03:00
Christopher Allford
3a7c96b7cd
Revised the base tsconfig to match Gutenberg more closely
2020-09-16 15:14:53 -07:00
Christopher Allford
011974ec09
Merge branch 'master' into packages/factories-to-api-refactor
2020-09-16 11:51:49 -07:00
Christopher Allford
f5e130c190
Merge pull request #27667 from woocommerce/fix/standardize-nvm-usage
...
Standardize usage of NVM
2020-09-16 11:40:48 -07:00
Christopher Allford
38afb8c2ff
Merge branch 'master' into packages/factories-to-api-refactor
2020-09-15 14:49:22 -07:00
Ron Rennick
0bf505ab12
Merge pull request #27645 from woocommerce/update/e2e-utils-for-package
...
prep e2e-utils package for publish
2020-09-14 14:40:19 -03:00
Christopher Allford
a77a1cc77c
Refreshed all lock files and removed "woocommerce" dependency from "e2e-environment"
2020-09-14 10:00:32 -07:00
Ron Rennick
238fe43a61
prep e2e-utils package for publish
2020-09-10 16:10:48 -03:00
Claudio Sanches
b5d8d94bc8
Use reference in wc_asort_by_locale
2020-09-10 16:02:39 -03:00
Ron Rennick
0d3889a360
Merge pull request #27113 from woocommerce/add/e2e-feedback-blockers
...
Incorporate blocking issues feedback on initial e2e environment package
2020-09-10 15:56:09 -03:00
Ron Rennick
1c07d5ec5a
restore looking up tags from git, add npm install to travis e2e script
2020-09-10 14:54:35 -03:00
jonathansadowski
2bcdbacc98
Merge pull request #27625 from woocommerce/revert-improved-filtering-for-variations
...
Revert improved filtering for variations
2020-09-10 12:42:15 -05:00
Ron Rennick
bff1e799f4
use better test for creating ready page
2020-09-10 13:23:18 -03:00
Christopher Allford
14c46fa4c2
Merge branch 'master' into add/e2e-feedback-blockers
2020-09-09 14:47:51 -07:00
Christopher Allford
d0e6110e93
Fixed a failing E2E test
2020-09-09 14:47:44 -07:00
Christopher Allford
aabc8ccd6b
Updated all of the package-lock files using Node v10
2020-09-09 14:47:35 -07:00
Ron Rennick
25cbfd2452
run grunt directly in travis e2e
2020-09-09 17:00:06 -03:00
Christopher Allford
ae697f9fe2
Prevented zero from being considered empty when validating posted variation attributes
2020-09-09 11:29:31 -07:00
Christopher Allford
63e4dcf4a2
Created a transformer class to use in model repositories
...
Since models need to support both read & write transformations we can make dealing with this a bit easier in its own class now.
2020-09-09 10:00:30 -07:00
Nestor Soriano
70a1cb2f1f
Revert improved filtering for variations.
...
This commit reverts the functionality introduced in PR #26260
(later refined by #27175 , #27190 , #27508 ) in which filtering by
attribute using the layered nav widget was improved to handle the
cases of variations out of stock. The revert is a response to the
numerous problems reported by users in Woo 4.4 and 4.5
Not all the code has been reverted, only the code that resulted in
visible functionality changes. Thus, the code that generates
term relationships for variations is still in place to keep database
consistency and to keep the reverting changes to the minimum needed.
2020-09-09 17:36:26 +02:00
jonathansadowski
d00083f1ec
Merge pull request #27628 from woocommerce/fix/27624
...
Check for state and postcode fields only if required
2020-09-09 09:41:57 -05:00
vedanshujain
6a2ea0e27a
Add unit test for show_shipping for different countries.
2020-09-09 19:53:21 +05:30
Ron Rennick
21e099d48f
merge master
2020-09-09 11:17:20 -03:00
Claudio Sanches
e0f08cc65a
Use global phpcs
2020-09-08 16:53:13 -03:00
Claudio Sanches
f748a71a8e
Install globally
2020-09-08 15:56:06 -03:00
Claudio Sanches
aa57d2f676
Update sniffs installation
2020-09-08 15:11:42 -03:00
jonathansadowski
168698cd91
Merge pull request #27589 from woocommerce/enhance-query-for-filtering-attributes-with-any-value
...
Enhance the query for "Any" variations in filter by attribute widget
2020-09-08 11:58:54 -05:00
Christopher Allford
39c5bc6b74
Refactored the factory to use a repository instead of an adapter so that we can expose more API functionality
2020-09-07 16:00:27 -07:00
Christopher Allford
a875ecb083
Refactored the HTTP layer to be more API-agnostic
...
Since we're going to be adding more services and CRUD actions it makes sense for our HTTP services to be less tied to the specific REST API implementation.
2020-09-04 11:27:34 -07:00
Julia Amosova
e224cd4b1b
Update how disablement of the extensions download is handled in OBW test
2020-09-04 11:47:02 -04:00
Nestor Soriano
43642f7835
Enhance the query for "Any" variations in filter by attribute widget.
...
The new query fixes a bug where variations were being counted twice:
if a product was included in both the queries then it would be counted
differently and added; e.g. when a product had two variations,
one with "Any" attribute and other with a attribute that has a value.
The new query also optimizes performance, so that filter conditions
can be improved and better indexes can be used.
2020-09-04 11:29:50 +02:00
Julia Amosova
4ca4f37969
Update recommended business features checkbox selector in OBW test
2020-09-03 16:23:19 -04:00
Christopher Allford
c75f0f8886
Renamed the `@woocommerce/factories` package to `@woocommerce/api`
...
With the plan now to add more CRUD actions the scope of the package has transformed into a more general API package than one just for factories.
2020-09-03 12:28:17 -07:00
Julia Amosova
552545c0ac
Update number of industries in the loop from 10 to 9
2020-09-03 13:17:47 -04:00
jonathansadowski
ecb25d7dc8
Merge pull request #27572 from woocommerce/update/bump-wc-admin-to-1.5.0-rc.4
...
Bump WooCommerce Admin to 1.5.0-rc.4; WooCommerce to 4.5.0-rc.3
2020-09-02 19:21:52 -05:00
Christopher Allford
c898e1de03
Fixed failing E2E test
2020-09-02 16:14:25 -07:00
Christopher Allford
f5771ebd0a
Fixed failing E2E test
2020-09-02 16:13:20 -07:00