Commit Graph

33601 Commits

Author SHA1 Message Date
Christopher Allford 6af0edfd94 Added a deprecation notice for the GEOLITE2_DB constant 2020-01-09 16:21:33 -08:00
Christopher Allford 72a84911ea Simplified the URL generation for geolocation database downloads 2020-01-09 16:18:20 -08:00
Christopher Allford 7cdd19da3f Fixed the erroneous return in WC_Geolocation::get_local_database_path 2020-01-09 16:16:34 -08:00
Christopher Allford bf057927ae Moved the loading of integration classes into the WC_Autoloader 2020-01-09 15:46:01 -08:00
Christopher Allford 98119047bf Added back the WC_Geolocation's get_local_database_path method since it was publicly used 2020-01-09 00:56:22 -08:00
Christopher Allford 3e597e6f68 Replaced the Geolocation database fetching functionality with MaxMind integration 2020-01-09 00:31:51 -08:00
Christopher Allford 000a75c23b Fixed the validation for MaxMind license keys 2020-01-08 22:56:24 -08:00
Christopher Allford f23c26a9f9 Fixed a permissions conflict caused by the dummy GeoLite2 archive's date
The test would fail if the web server had stored the data already!
2020-01-08 22:56:07 -08:00
Christopher Allford 95e59fc777 Made the database service class methods static for convenience \ 2020-01-08 21:59:04 -08:00
Christopher Allford 1eb49ef8b8 Added filterable support for fetching the database path
This replaces the corresponding geolocation class functionality. We are deprecating the woocommerce_geolocation_local_database_path filter in favor of the woocommerce_maxmind_geolocation_databse_path filter. Since we want the option to turn this into a feature plugin, it's wise to make sure nothing is too generic.
2020-01-08 21:48:05 -08:00
Christopher Allford 46d7f16b19 Added support for downloading and extracting the GeoLite2 database 2020-01-08 21:09:35 -08:00
Christopher Allford 45157ff4e1 Added a default integration settings page for managing MaxMind Geolocation services 2020-01-08 21:08:25 -08:00
Christopher Allford a477f9367d Added support for creating default integrations 2020-01-08 21:05:14 -08:00
Christopher Allford 300064187b Moved the MaxMind DB Reader library into composer and pinned the latest version 2020-01-07 15:25:58 -08:00
Claudio Sanches 818cde0d1d
Merge pull request #25265 from woocommerce/revert-25263-revert-25259-update-renovate
Update Renovate bot configuration to update dev dependencies monthly
2020-01-07 14:02:59 -03:00
Claudio Sanches cb654ae065
Merge pull request #25368 from woocommerce/fix/25329
[Importer] Fix "invalid product type message" for variations
2020-01-07 13:18:29 -03:00
Claudio Sanches cd137915b8 Set correct post type for product variation
And catch any WC_Data_Exception
2020-01-06 21:36:54 -03:00
Claudio Sanches 3ebda4a431 Use WC_Data_Exception in WC_Product_Variation_Data_Store_CPT 2020-01-06 21:35:23 -03:00
Claudio Sanches 85a077b939 Coupon race condition prevention 2020-01-06 19:44:24 -03:00
Claudio Sanches 2ce4a60ff1
Remove old unit test 2020-01-06 19:37:47 -03:00
Christopher Allford c48ec2853e Corrected the format for the dev dependency schedule 2019-12-31 14:06:26 -08:00
Claudio Sanches b20ecc648e Bump version to 3.9.0-rc.2 2019-12-27 13:54:38 -03:00
Claudio Sanches 6b3ab50176
Merge pull request #25328 from woocommerce/fix/25313
Fixed missing assets/css/jquery-ui/jquery-ui.min.css
2019-12-27 12:48:35 -03:00
Claudio Sanches ede3a1612c Fixed missing assets/css/jquery-ui/jquery-ui.min.css 2019-12-27 12:45:22 -03:00
Claudio Sanches 603822a61e
Merge pull request #25327 from woocommerce/fix/woo-blocks-correct-version
update composer.lock to use the correct blocks version hash
2019-12-27 12:31:48 -03:00
Seghir Nadir 0c5f46ae10 update to correct blocks version hash 2019-12-27 14:32:01 +01:00
Vedanshu Jain 6d8ca02ca5
Merge pull request #25195 from rodrigoprimo/travis-use-latest-php
Use latest PHP version to run Travis build jobs
2019-12-26 17:46:52 +05:30
Vedanshu Jain d76c5b734c
Merge pull request #25300 from woocommerce/fix/25274-docker-mount-dir
E2E Tests: mount directory instead of copy.
2019-12-26 17:36:14 +05:30
Vedanshu Jain 79680eff33
Merge pull request #25279 from woocommerce/fix-travis-configuration
Remove PHP 7.2 Travis build job from allow_failures list
2019-12-26 17:00:12 +05:30
Vedanshu Jain 842861005c
Merge pull request #25312 from woocommerce/fix/25268
Fixed number of filter args in WC_Emails
2019-12-26 16:59:17 +05:30
Vedanshu Jain 93e0a91faa
Merge pull request #25128 from woocommerce/fix/24549
Changed the shipping rates to not calculate until a full address is provided
2019-12-26 14:22:33 +05:30
vedanshujain 42dd1bf32b Add an address so that shipping can be calculated 2019-12-26 14:04:52 +05:30
vedanshujain 31726d1a37 Update version numbers 2019-12-26 13:55:43 +05:30
Christopher Allford ac22406763 Fixed the unit tests broken by the requirement that a valid address must be set to calculate shipping rates 2019-12-26 13:55:43 +05:30
Christopher Allford a7daebc6fd Fixed an exception that was thrown when a country had no states when checking for package shippability 2019-12-26 13:55:42 +05:30
Christopher Allford 027257f624 Changed the dummy postal code in the order helper to a valid one 2019-12-26 13:55:42 +05:30
Christopher Allford c54fa91145 Added unit tests for checking whether a package is shippable or not 2019-12-26 13:55:41 +05:30
Christopher Allford e800b40ad6 Made packages with incomplete destinations unshippable 2019-12-26 13:55:41 +05:30
Claudio Sanches eb57532740 Fixed number of filter args in WC_Emails 2019-12-24 12:09:50 -03:00
Claudio Sanches 93e3e5bfe1 Bump version to 3.9.0-rc.1 2019-12-23 19:28:57 -03:00
Claudio Sanches 86cf412bcb
Merge pull request #25283 from woocommerce/renovate/woocommerce-woocommerce-blocks-2.x
Update dependency woocommerce/woocommerce-blocks to v2.5.7
2019-12-23 19:26:05 -03:00
Jeff Stieler 22148831db Mount plugin directory instead of copy. 2019-12-23 13:17:58 -05:00
Jeff Stieler 7c0511baaa Fix typo in docker service name. 2019-12-23 13:14:14 -05:00
Jeff Stieler 5c67310e48
Fix typo in test installation instructions. (#25298) 2019-12-23 11:32:54 -05:00
Claudio Sanches 7701d4b57c
Merge pull request #25286 from woocommerce/fix-phpcs-violations
Fix PHPCS violations automatically using PHPCBF
2019-12-23 12:22:42 -03:00
Vedanshu Jain 2ba9612b3f
Merge pull request #25284 from Rowayda-Khayri/fix-typos
Fix a typo
2019-12-23 12:12:22 +05:30
Rodrigo Primo 7337ab60c2 Fix PEAR.Functions.FunctionCallSignature violations
This commit fixes all violations of the PEAR.Functions.FunctionCallSignature sniff automatically using phpcbf.
2019-12-20 15:25:23 -03:00
Rodrigo Primo 90dbd8295f Fix Squiz.ControlStructures.ControlSignature violations
This commit fixes all violations of the Squiz.ControlStructures.ControlSignature sniff automatically using phpcbf.
2019-12-20 15:09:09 -03:00
Rodrigo Primo 24cc92e67a Fix Squiz.PHP.EmbeddedPhp violations
This commit fixes all violations of the Squiz.PHP.EmbeddedPhp sniff automatically using phpcbf.
2019-12-20 15:06:29 -03:00
Rodrigo Primo 86c1b61f03 Fix Generic.WhiteSpace.ScopeIndent violations
This commit fixes all violations of the Generic.WhiteSpace.ScopeIndent sniff automatically using phpcbf.
2019-12-20 14:48:11 -03:00