Commit Graph

34462 Commits

Author SHA1 Message Date
Rodrigo Primo a61ab9231b
Merge pull request #25430 from woocommerce/fix/25429
Added clarification to MaxMind integration invalid key error
2020-01-20 13:45:59 -03:00
Claudio Sanches 66fcc31f00 Updated MaxMind's license key field description 2020-01-20 13:18:52 -03:00
Christopher Allford c8c66cabee Expanded the license key invalid error to consider the case where the key is not active yet 2020-01-20 07:57:44 -08:00
Mike Jolley 2638879bdc Add columns to schema and update routine 2020-01-20 14:21:42 +00:00
Mike Jolley 314cc8eee6 Add columns to data store 2020-01-20 14:17:42 +00:00
Mike Jolley 083c87338b Add columns to wc_update_product_lookup_tables 2020-01-20 14:17:25 +00:00
Gerhard Potgieter dc5712db84
Merge pull request #25426 from rvdsteege/unique-meta-is-vat-exempt
Add order meta `is_vat_exempt` with unique meta key.
2020-01-20 14:31:24 +02:00
Gerhard Potgieter 6bed0db518
Merge pull request #25149 from 4selin/feature/25094
Address in shipping calculator malformed for Canada #25094
2020-01-20 14:24:35 +02:00
Reüel van der Steege 97456e7d78 Add order meta `is_vat_exempt` with unique meta key. 2020-01-20 12:06:32 +01:00
Rodrigo Primo 1ca791f8f2
Merge pull request #25343 from BrandynL/pwform-visibility-classfix
added woocommerce specific css selector to password visibility toggle to avoid conflicts
2020-01-17 15:01:57 -03:00
Jeff Stieler 6fed13a651 Fix WP global override. 2020-01-17 10:48:47 -07:00
Jeff Stieler ee56177896 Fix unit tests.
Only require autoloader in uninstall if WooCommerce Admin class hasn't been loaded.
2020-01-17 10:32:17 -07:00
Rodrigo Primo 4e58f77575
Merge pull request #25322 from woocommerce/pr-25242
Prevent fatal error in set_current_gateway with no WC session
2020-01-17 09:54:03 -03:00
Rodrigo Primo f0ccd9bd50
Merge pull request #25395 from woocommerce/fix/25394
Check for the WooCommerce Admin class before adding notice
2020-01-17 09:52:38 -03:00
Jeff Stieler 4b1ccc4d15 Fix wc_admin_daily event schedule persistence.
Avoid an option update race condition.
2020-01-16 17:44:07 -07:00
Jeff Stieler c061e1f272 Load the WooCommerce Admin install class during uninstallation. 2020-01-16 17:43:49 -07:00
Jeff Stieler c40a14fc22 Alias a branch of wc-admin instead. 2020-01-16 17:43:49 -07:00
Paul Sealock 71a8270a18 cleanup 2020-01-16 17:41:46 -07:00
Paul Sealock 7987abfd1e phpcs errors 2020-01-16 17:41:46 -07:00
Paul Sealock 6c9e78850a wc-admin: Include package 2020-01-16 17:40:30 -07:00
Kathy Daring bcb17b62c2 Add support for placeholders in quantity inputs
(cherry picked from commit 99eb5074f3)
2020-01-16 12:47:15 -07:00
Rodrigo Primo 8489d1bd33 Merge branch 'master' into fix/25394 2020-01-16 16:35:43 -03:00
Rodrigo Primo 2668bf6025
Merge pull request #25314 from woocommerce/fix/24746
Removed the lowercase conversion of product search terms
2020-01-16 16:29:07 -03:00
Rodrigo Primo 289c932d17
Merge pull request #25319 from michaelignacio/fix/25226
Fix missing closing tag (#25226)
2020-01-16 16:11:40 -03:00
Rodrigo Primo 5a7075813c
Merge pull request #25344 from woocommerce/bug/valid_order_status_filter
Add second parameter to `woocommerce_valid_order_statuses_for_payment` filter.
2020-01-16 16:01:09 -03:00
Rodrigo Primo 8aad482bc1 Fix typo 2020-01-16 15:31:50 -03:00
Rodrigo Primo cb85c981ac Merge branch 'master' into pr-25242 2020-01-16 15:30:58 -03:00
Rodrigo Primo 3fd6a66229
Merge pull request #25405 from woocommerce/fix/25385
Use wp_mail() default args in WC_Email
2020-01-16 15:23:30 -03:00
Rodrigo Primo 0e43d676f5
Merge pull request #25334 from woocommerce/renovate/eslint-plugin-jest-23.x
Update dependency eslint-plugin-jest to v23.6.0
2020-01-16 15:08:22 -03:00
Rodrigo Primo f5a5cec28b
Merge pull request #25366 from woocommerce/renovate/phpunit-phpunit-7.x
Update dependency phpunit/phpunit to v7.5.20
2020-01-16 14:55:39 -03:00
Rodrigo Primo c230540c7e
Merge pull request #25362 from woocommerce/renovate/mocha-7.x
Update dependency mocha to v7
2020-01-16 14:53:45 -03:00
Rodrigo Primo 0acb6c5f0e
Merge pull request #25340 from woocommerce/renovate/stylelint-config-wordpress-16.x
Update dependency stylelint-config-wordpress to v16
2020-01-16 14:52:34 -03:00
Renovate Bot 8a3887d70e
Update dependency eslint-plugin-jest to v23.6.0 2020-01-16 17:52:11 +00:00
Rodrigo Primo 9e6bfc7051
Merge pull request #25282 from woocommerce/renovate/commander-4.x
Update dependency commander to v4
2020-01-16 14:50:55 -03:00
Renovate Bot f81afa0794
Update dependency phpunit/phpunit to v7.5.20 2020-01-16 00:58:45 +00:00
Claudio Sanches 7d03c6bcdb
Merge pull request #25412 from woocommerce/update/3.9.0-rc.3
Version 3.9.0-rc.3
2020-01-15 21:18:49 -03:00
Claudio Sanches 28718614d7 Version 3.9.0-rc.3 2020-01-15 21:17:57 -03:00
Claudio Sanches bccb93fa3c
Merge pull request #25378 from woocommerce/fix/25361
Add license key support to MaxMind GeoLite2 database downloads
2020-01-15 20:51:14 -03:00
Claudio Sanches eedf82da38 Fixed coding standards 2020-01-15 20:40:55 -03:00
Christopher Allford e56e5dfc50 Pushed the first woocommerce_geoip_updater execution to fifteen days in the future
This will prevent the routine from deleting the pre-update archive that we just moved in the previous update routine.
2020-01-15 10:25:51 -08:00
Christopher Allford 2b503e0409 Changed the MaxMind database update process to move the existing archive instead of deleting it 2020-01-15 10:24:13 -08:00
Claudio Sanches ee30dbbcf7
Merge pull request #25369 from woocommerce/renovate/husky-4.x
Update dependency husky to v4
2020-01-15 14:13:29 -03:00
Claudio Sanches b3edca585d
Merge pull request #25324 from woocommerce/dependabot/npm_and_yarn/handlebars-4.5.3
Bump handlebars from 4.1.2 to 4.5.3
2020-01-15 14:12:59 -03:00
Claudio Sanches d9c22d60be Use wp_mail() default args in WC_Email 2020-01-15 13:33:12 -03:00
Renovate Bot 875c7f341b
Update dependency husky to v4 2020-01-15 15:07:53 +00:00
Claudio Sanches cf7864b91c
Merge pull request #25403 from woocommerce/fix-unit-test
Fix failing unit test due to change in WP nightly
2020-01-15 11:59:10 -03:00
Ron Rennick fda63f4536 move action scheduler to external via composer 2020-01-15 10:31:04 -04:00
Rodrigo Primo 793dba81f1 Fix failing unit test
This commit fixes the unit test
WC_Tests_API_Functions::test_wc_rest_upload_image_from_url_should_return_error_when_invalid_image_is_passed() which was failing due to a change in a WordPress core message with the following error:

```
2) WC_Tests_API_Functions::test_wc_rest_upload_image_from_url_should_return_error_when_invalid_image_is_passed

Failed asserting that two strings are equal.

--- Expected

+++ Actual

@@ @@

-'Invalid image: File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini or by post_max_size being defined as smaller than upload_max_filesize in php.ini.'

+'Invalid image: File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini file or by post_max_size being defined as smaller than upload_max_filesize in php.ini.'

/home/travis/build/woocommerce/woocommerce/tests/unit-tests/util/api-functions.php:89
```

(https://travis-ci.org/woocommerce/woocommerce/jobs/637353161#L402)

This test only fails when using WordPress nightly build (the yet to be
released WP 5.4).

To fix this problem, this commit adds an if statement to check for different error
messages depending on the WordPress version that is being used to run
the tests. In the future, we might want to refactor this test to remove
its dependency to a WordPress error message to make it more robust and
stable.
2020-01-15 11:17:49 -03:00
Claudio Sanches 5bafac3012 Improved maxmind_missing_license_key_notice logic 2020-01-14 23:32:55 -03:00
Christopher Allford 42269f965c Added clarification that the MaxMind license key is not strictly necessary 2020-01-14 14:09:51 -08:00