Commit Graph

37330 Commits

Author SHA1 Message Date
Ron Rennick baa4bb5da1 merge master 2021-01-19 17:00:10 -04:00
Ron Rennick 10880ae6e1
add admin user E2E config support (#28656)
* add admin user config support

* use merchant.login() is jest setup

* remove customer config from builtin readme

* fix missed merge change

Co-authored-by: Leif Singer <git@singer.sh>
2021-01-19 16:02:08 +01:00
Claudio Sanches d06883bd60
Merge pull request #28755 from paulochang/patch-2
Add Guatemalan states
2021-01-19 11:31:19 -03:00
Ron Rennick 10b639510b use api to delete products before e2e tests 2021-01-19 09:49:18 -04:00
Ron Rennick 8721b5d9d9
update core-tests, utils package readmes (#28715) 2021-01-19 14:00:59 +01:00
Peter Fabian 0d7e5d1596
Merge pull request #28584 from woocommerce/add_orders_count_by_gateway
Track order counts by payment method
2021-01-19 11:45:02 +01:00
Peter Fabian 31a3b6a7ba Fixed the deprecation version 2021-01-19 11:10:58 +01:00
Claudio Sanches e6251955f2
Merge pull request #28840 from woocommerce/update/remove-untrusted-plugin-notice
Deactivate untested plugin's notices
2021-01-18 19:56:56 -03:00
Claudio Sanches ea54d5ad5f
Merge pull request #28679 from woocommerce/fix/woocommerce-gutenberg-products-block-issues-3565
Show correct WooCommerce pages status if they are using blocks vs shortcode.
2021-01-18 19:26:34 -03:00
Claudio Sanches 8f0237e390 Update untested extensions modal notice 2021-01-18 19:23:59 -03:00
Roy Ho 454954b865
Merge pull request #28838 from woocommerce/fix/docblock-5.0
Fixed woocommerce_activated_plugin docblock
2021-01-18 14:00:05 -08:00
Claudio Sanches 13462932ae Deactivate untrusted plugin's banner 2021-01-18 18:29:02 -03:00
Claudio Sanches bf7fe82da4 Fixed woocommerce_activated_plugin docblock 2021-01-18 17:37:42 -03:00
Roy Ho ae29a798ed
Merge pull request #28836 from woocommerce/fix/docblocks
Fixed docblock of new hooks of 5.0
2021-01-18 10:10:18 -08:00
Claudio Sanches e9abfa1669 Fixed docblock of new hooks of 5.0 2021-01-18 13:44:15 -03:00
Roy Ho 4c548951f4
Merge pull request #28521 from woocommerce/fix/26475
Create additional download permissions on product save if needed
2021-01-18 06:51:57 -08:00
Roy Ho 56e67b1ef8
Merge pull request #28814 from woocommerce/fix/migration/27688
Add migration to fix incorrect product review count.
2021-01-18 06:48:46 -08:00
Roy Ho 8d9cee749c
Merge pull request #28835 from woocommerce/revert/28204
Revert "pass email object to header and footer templates"
2021-01-18 06:24:48 -08:00
vedanshujain 2240d3a6e4 Fix typos. 2021-01-18 19:52:20 +05:30
vedanshujain 1758c2b58c Add tests for #28835 2021-01-18 17:26:19 +05:30
vedanshujain 5885e9a29e Revert "pass email object to header and footer templates"
This reverts commit 8821bf41c5.
2021-01-18 16:51:31 +05:30
Nestor Soriano 544df16588 Set exception message as translatable 2021-01-18 09:18:38 +01:00
vedanshujain 9f9475a18b Addressed PR feedback.
1: Use placeholder to be able to use wpdb->prepare for IN query.

Update version number.
2021-01-18 10:29:42 +05:30
Paulo Chang bafcd91a69
Change GT codes to comply with unicode standard 2021-01-17 05:20:04 +01:00
Claudio Sanches 3a0bb38c9d
Merge pull request #28828 from woocommerce/revert-28401-patch-2
Revert "Use %1$s instead of %s on regen description"
2021-01-15 20:27:17 -03:00
Claudio Sanches 29ccfd961b
Revert "Use %1$s instead of %s on regen description" 2021-01-15 20:27:03 -03:00
Claudio Sanches b462b3c8ee
Merge pull request #28401 from bordoni/patch-2
Use %1$s instead of %s on regen description
2021-01-15 20:21:03 -03:00
Ron Rennick 85a03584df
Merge pull request #28665 from woocommerce/e2e-shopper-checkout-apply-coupon
Add new e2e test shopper checkout apply coupon
2021-01-15 13:27:28 -04:00
Ron Rennick 3950f61f8f fix merge conflict 2021-01-15 12:52:00 -04:00
Claudio Sanches 5ca7c51714
Merge pull request #28712 from woocommerce/add/config_merchant_email_notifications
Added merchant email note switch
2021-01-15 13:32:02 -03:00
Claudio Sanches e698ed72fd
Merge pull request #28801 from liquidweb/refactor/shipping-zone-read
Refactor the WC_Shipping_Zone_Data_Store::read() method
2021-01-15 12:58:36 -03:00
Claudio Sanches 44b9ffbdd7
Merge pull request #28713 from joseagrc/master
Adding states for Dominican Republic
2021-01-15 12:50:14 -03:00
Veljko V cce8983f14
Update test case to avoid conflict with master 2021-01-15 16:41:26 +01:00
Claudio Sanches 55cfa098d5
Merge pull request #28709 from kevinruscoe/fix/28707
Export sass vars to css var
2021-01-15 11:27:14 -03:00
Peter Fabian 84b647a65d
Merge pull request #28778 from AminulBD/master
Update states.php
2021-01-15 15:26:03 +01:00
Claudio Sanches a9a7391fdd
Apply suggestions from code review 2021-01-15 11:25:36 -03:00
Claudio Sanches d60ffa1e73
Merge pull request #28405 from szepeviktor/patch-5
Fix .gitignore
2021-01-15 11:19:37 -03:00
Peter Fabian 02a2bbad71
Merge pull request #28799 from woocommerce/fix/issue-27789
Add notice to deprecate old reports closes #27789
2021-01-14 19:05:44 +01:00
jonathansadowski e8552094c2
Merge pull request #28809 from woocommerce/fix/issue-27791
Prevent duplicate new order email from being sent when changing order…
2021-01-14 09:36:30 -06:00
Ron Rennick 57d8a00682
Merge pull request #28684 from woocommerce/fix/28682
introduce evalAndClick() E2E utility function
2021-01-14 09:41:10 -04:00
roykho 5b4e3a2e2e
Add margin 2021-01-14 05:25:26 -08:00
vedanshujain 2e4f2ef478 Add migration function for fixing existing product review counts. 2021-01-14 18:35:14 +05:30
vedanshujain 2dce182cf8 Add unit tests for review count methods. 2021-01-14 18:31:02 +05:30
vedanshujain 23618b06ed Add utility function for getting review counts in bulk for convinience.
Also refactors get_review_count_for_product to use the new method so that we only would have to maintain one method.
2021-01-14 18:27:41 +05:30
Néstor Soriano b36a06ca08
Merge pull request #27844 from woocommerce/php8/use-custom-phpunit-7
[PHP 8] Use a custom version of PHPUnit 7 for PHP 8 compatibility
2021-01-14 11:46:01 +01:00
Nestor Soriano 8b0bd248d6 Attach hook for adjust_download_permissions from within init_hooks
The DownloadPermissionsAdjuster class hooks to adjust_download_permissions
from within its init method. However this method is executed only
if the class is resolved, otherwise the hooks doesn't get attached
and then the scheduled action is not serviced.

To solve this, the class is resolved from WooCommerce::init_hooks.
This requires a change in DownloadPermissionsAdjuster::init
to use wc_get_container()->get( LegacyProxy::class )->get_instance_of
instead of WC()->get_instance_of, since WC() can't be used from
WooCommerce::construct (which invokes init_hooks).
2021-01-14 11:40:11 +01:00
Nestor Soriano c9ea5922e2 Add a comment to wc_ascii_uasort_comparison explaining why setlocale is needed. 2021-01-14 11:16:42 +01:00
budzanowski f9cbc0ccac Remove filters that we don't need yet. 2021-01-14 10:24:39 +01:00
roykho 218c799811
Prevent duplicate new order email from being sent when changing order status closes #27791 2021-01-13 14:13:57 -08:00
Roy Ho 0d2f478eab
Merge pull request #28690 from kevinruscoe/fix/28652
Ensure the orders status is reverted correctly when restoring it.
2021-01-13 13:54:26 -08:00