Commit Graph

33775 Commits

Author SHA1 Message Date
Claudio Sanches d3351d4949
Merge pull request #25455 from woocommerce/update/tag-3.9
Version 3.9.0
2020-01-21 21:14:39 -03:00
Claudio Sanches d8bb034425 Version 3.9.0 2020-01-21 21:13:54 -03:00
Claudio Sanches 4434c4706e
Merge pull request #25446 from woocommerce/fix/default-custom-location
Fixed default value for wc_get_customer_default_location()
2020-01-21 15:09:22 -03:00
Sergey Ratushnuy bd647cd9cf Small fix 2020-01-21 18:03:01 +02:00
Sergey Ratushnuy 2d1ce22e25 Changed filter name 2020-01-21 17:29:58 +02:00
Claudio Sanches 5c169bf54c Fixed default value for wc_get_customer_default_location() 2020-01-21 11:53:45 -03:00
Claudio Sanches 0436d8637f
Merge pull request #25440 from woocommerce/fix/dont-golocate-when-missing-db
Fixed warning notice when missing MaxMind database
2020-01-21 11:14:51 -03:00
Christopher Allford a6981fc1c0 Added a file existence check to the MaxMind country lookup method to prevent warnings 2020-01-20 21:20:32 -08:00
Claudio Sanches 73387d1181
Merge pull request #25436 from woocommerce/update/3.9-rc.4
3.9.0-rc.4
2020-01-20 19:54:02 -03:00
Claudio Sanches 2847322008 3.9.0-rc.4 2020-01-20 19:53:08 -03:00
Claudio Sanches 826f69289c
Merge pull request #25435 from woocommerce/renovate/woocommerce-woocommerce-blocks-2.x
Update dependency woocommerce/woocommerce-blocks to v2.5.11
2020-01-20 19:19:30 -03:00
Renovate Bot 3ccefeb8db
Update dependency woocommerce/woocommerce-blocks to v2.5.11 2020-01-20 21:39:43 +00:00
Rodrigo Primo 2e61321e2a
Merge pull request #25289 from rafdizzle86/feature/add-checkout-place-order-success-triggerhandler
Add a triggerHandler called "checkout_place_order_success" so plugin developers can hook into AJAX order success event.
2020-01-20 15:25:46 -03:00
Rodrigo Primo 6333d11bc7
Merge pull request #25431 from woocommerce/update/maxmind-integration-docs
Updated MaxMind's license key field description
2020-01-20 13:54:38 -03:00
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
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
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
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
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