Commit Graph

37640 Commits

Author SHA1 Message Date
Ron Rennick 84f5223dd5 add related and upsell ids 2021-02-15 14:44:40 -04:00
Ron Rennick 653ca39121 add remaining single value props to abstract product 2021-02-15 14:15:37 -04:00
Claudio Sanches 74bb66dc6d
Merge pull request #27671 from mahmoudsaeed/master
Make WC_Tax::get_tax_rate_classes() public
2021-02-15 14:31:25 -03:00
Greg 43a7d5d806
Merge branch 'master' into add/e2e-merchant-product-views 2021-02-15 08:19:52 -07:00
roykho 4fa0c81d11
Check if index value is set before accessing 2021-02-15 06:54:22 -08:00
roykho 66155b978b
Wrap variables in recent SASS format closes #29119 2021-02-12 15:33:45 -08:00
Claudio Sanches 7a71258257
Merge pull request #29094 from woocommerce/try/admin-menu-svg-icons
Use SVG and Dashicons instead of custom font for admin bar icons
2021-02-12 18:06:37 -03:00
Ron Rennick 18565bf8ee First pass at separating product properties into groups 2021-02-12 15:29:22 -04:00
Matt Sherman 6044f3e958 Update Products and Reports icons to use Dashicons instead of custom font 2021-02-12 10:37:23 -05:00
Nestor Soriano 4e195d5f3f Fix code sniffer errors. 2021-02-12 15:29:32 +01:00
Nestor Soriano 00d6dc40f7 Fix wrong caching of taxonomy in terms and attributes controllers.
The WC_REST_Terms_Controller and WC_REST_Product_Attributes_V1_Controller
classes have a get_taxonomy method that gets the name of the taxonomy
to process from a taxonomy id passed in the request, but once the
taxonomy name has been obtained it's cached and sbsequently reused.
The problem is that these controller instances are reused if more than
one request is processed programmatically, and thus the taxonomy that
was cached once is always used even if the new request specifies a
different taxonomy id.

The fix consists of using a dictionary of taxonomy id - taxonomy name
instead of one single taxonomy for caching.

In the case of WC_REST_Terms_Controller there's a protected $taxonomy
property that needs to be kept for compatibility, it's now set to
the last taxonomy name that has been introduced in the dictionary.
2021-02-12 15:12:58 +01:00
Roy Ho b691947442
Merge pull request #29111 from woocommerce/update/woocommerce-admin/2.0.1
Update woocommerce admin package to 2.0.1
2021-02-11 20:49:18 -08:00
Paul Sealock 13760d55a9 compser artifacts 2021-02-12 15:09:02 +13:00
Paul Sealock d2a71e3a11 bump to 2.0.1 2021-02-12 15:07:58 +13:00
Roy Ho 520c39dda2
Merge pull request #29016 from woocommerce/update/woocommerce-blocks-4.4.0
Update WooCommerce Blocks package to 4.4.x
2021-02-11 11:31:44 -08:00
Mike Jolley 11587a07b1 Blocks 4.4.3 2021-02-11 18:11:25 +00:00
Mike Jolley 38ad7819df Bump to 4.4.2 2021-02-11 17:19:41 +00:00
Mike Jolley ff9d8e2b51 Cmposer update after rebase 2021-02-11 17:19:15 +00:00
Mike Jolley 78ae2ad7c0 4.4.1 2021-02-11 17:19:00 +00:00
Mike Jolley 56e3d8339b Update lock files 2021-02-11 17:19:00 +00:00
Mike Jolley 17147d59e1 bump blocks version to 4.4.0 2021-02-11 17:19:00 +00:00
Fernando Marichal 15424c99d6 Merchant email notes now are turned off by default
This commit turns off the merchant email notes by default
2021-02-11 14:15:17 -03:00
Matt Sherman 9f00fbfde1
Move admin menu manipulation from admin_head to admin_menu (#29088) 2021-02-11 11:48:36 -05:00
Roy Ho b9d68c3f67
Merge pull request #29100 from woocommerce/update/5.0-changelog
5.0 changelog
2021-02-11 07:28:01 -08:00
Claudio Sanches da90e678c4 5.0 changelog 2021-02-11 12:24:32 -03:00
Roy Ho 2641bb7b6f
Merge pull request #28627 from woocommerce/update/tracks/global-props
Tracks: Add woo version as global track prop.
2021-02-11 05:48:25 -08:00
Néstor Soriano 9105910234
Merge pull request #28950 from woocommerce/exporter_product_type_filter
Add filter to allow third-parties to filter exportable product types
2021-02-11 14:32:17 +01:00
Vedanshu Jain 5a707f3e74
Merge pull request #28849 from woocommerce/fix/27521-2
Verify country code on checkout
2021-02-11 18:59:04 +05:30
Roy Ho 78851e6945
Merge pull request #28980 from leewillis77/add/add-generation-date-to-status-report
Add time of generation to the system status report
2021-02-11 05:09:03 -08:00
Nestor Soriano fae00e2bdf Make the refunds creation REST API behave more as documented
- Allow the list of line items to be a non-associative array
  where each item is identified by an "id" field
- Same for taxes inside line items, specify amount to refund in
  a "refund_total" key as in the case of line items
- Allow "quantity" keys as synonyms of "qty"

Also calculate "amount" automatically if missing and when all the
line items and taxes have a valid "refund_total" key.
2021-02-11 09:51:13 +01:00
Roy Ho 986b4fe0b9
Merge pull request #29089 from woocommerce/fix/issue-29087
Type cast floats to prevent string addition errors in PHP 8 closes #2…
2021-02-10 19:16:53 -08:00
Greg 6d16e6831a
Merge pull request #29064 from woocommerce/add/e2e-merchant-order-customr-payment-page
Add e2e test: merchant order customer payment page
2021-02-10 16:01:47 -07:00
Claudio Sanches 734f54c0fb
Merge pull request #29070 from woocommerce/enhancement/28924
Add CI for code coverage and code sniff on GitHub actions.
2021-02-10 19:50:13 -03:00
Claudio Sanches 69c5d428a2
Merge pull request #29095 from woocommerce/fix/conditional-wc-admin
Check if WC Admin is active before showing message
2021-02-10 19:45:34 -03:00
Roy Ho 84c1e64a1d
Merge pull request #29036 from mehul0810/issue/28992
Removed extra closing brace ) from the Zone regions help text.
2021-02-10 13:52:33 -08:00
roykho 315c4de5c3
Check if WC Admin is active before showing message 2021-02-10 13:21:35 -08:00
Lourens Schep 5c6331593a Remove unnecessary wp-admin from urls 2021-02-10 16:42:04 -04:00
Matt Sherman cca38a577e Use SVG instead of CSS/font for WooCommerce icon 2021-02-10 15:12:47 -05:00
zhongruige 0fea99f6be Merge branch 'master' of github.com:woocommerce/woocommerce into add/e2e-merchant-product-views 2021-02-10 12:59:13 -07:00
Greg dcbbde1ce6
Merge pull request #29082 from woocommerce/e2e/e2e-fix-flaky-cart-coupons-test
Make cart coupons test more granular
2021-02-10 12:57:35 -07:00
Ron Rennick cd8826e85f
Merge pull request #29037 from woocommerce/packages/update-e2e-docs
Update E2E docs
2021-02-10 15:29:41 -04:00
Lourens Schep 2db09d410b Change widget stock links to new analytics page when wc_admin is not disabled 2021-02-10 15:04:04 -04:00
roykho 93e528f8ea
Type cast floats to prevent string addition errors in PHP 8 closes #29087 2021-02-10 10:06:25 -08:00
zhongruige 642c3aa40f Merge branch 'master' of github.com:woocommerce/woocommerce into add/e2e-merchant-product-views
# Conflicts:
#	tests/e2e/core-tests/CHANGELOG.md
#	tests/e2e/utils/README.md
2021-02-10 09:19:14 -07:00
Veljko 389075256c Merge branch 'master' into e2e/e2e-fix-flaky-cart-coupons-test 2021-02-10 14:00:14 +01:00
Veljko f3b18880f0 Add waits to avoid flakiness 2021-02-10 13:22:04 +01:00
Veljko c7cf42020f Remove unnecessary code from test 2021-02-10 12:29:56 +01:00
Vedanshu Jain 6b862e12e5
Merge pull request #28940 from woocommerce/install-e2e-only-explicitly
Improve the WooCommerce build process
2021-02-10 16:26:04 +05:30
Veljko c27aa94a80 Updated cart coupons test 2021-02-10 11:51:08 +01:00
Nestor Soriano e82ab487b6 validate_posted_data: check if we actually need to validate the shipping country. 2021-02-10 10:05:24 +01:00