Commit Graph

35157 Commits

Author SHA1 Message Date
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
Christopher Allford 27bcba1ac7 Added a deprecation to the old Geolite library wrapper class' public methods 2020-01-14 13:44:41 -08:00
Christopher Allford c34a5b6ffe Added an update task to increase the database version 2020-01-14 13:39:47 -08:00
Christopher Allford 1ac8eebac3 Added clarity to the file path in the integration settings 2020-01-14 13:32:59 -08:00
Christopher Allford e851160927 Removed the erroneous space on the woocommerce_geoip_updater scheduled event 2020-01-14 13:20:41 -08:00
Rodrigo Primo 241c6cd590 Make context for admin notice documentation more clear 2020-01-14 17:07:12 -03:00
Claudio Sanches 92478b4739 Introduced woocommerce_maxmind_geolocation_update_database_periodically filter 2020-01-14 16:57:07 -03:00
Rodrigo Primo efb200799d Merge branch 'fix/25361' of github.com:woocommerce/woocommerce into fix/25361 2020-01-14 16:47:06 -03:00
Rodrigo Primo 23e1abe1dc Fix typo in php docblock 2020-01-14 16:45:57 -03:00
Claudio Sanches f9c31589c6 Fixed conditional code 2020-01-14 16:44:01 -03:00
Claudio Sanches 10cdbf88be Use shop base address as default customer location 2020-01-14 16:29:48 -03:00
Claudio Sanches 992e13fb08 Updated implementation of geolite2 2020-01-14 16:24:07 -03:00
Claudio Sanches 46110fa39c Introduced woocommerce_get_geolocation filter 2020-01-14 15:54:24 -03:00
Claudio Sanches 978c5b5fb9 Apply woocommerce_maxmind_geolocation_display_notices filter in notices class 2020-01-14 15:22:53 -03:00
Claudio Sanches 4c39f81f12
Merge pull request #25386 from woocommerce/fix/is_package_shippable
Make WC_Shipping::is package shippable less strict
2020-01-14 14:30:17 -03:00
Claudio Sanches b3b4e92fe1 Moved HTML to a single file 2020-01-14 12:20:46 -03:00