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
Renovate Bot
24b7a9a743
Update dependency stylelint-config-wordpress to v16
2020-01-09 14:41:16 +00:00
Rodrigo Primo
dbb8ab8d1e
Merge pull request #25317 from woocommerce/renovate/stylelint-12.x
...
Update dependency stylelint to v12.0.1
2020-01-09 11:40:13 -03:00
Rodrigo Primo
8c6188fcf4
Merge pull request #25287 from woocommerce/renovate/eslint-6.x
...
Update dependency eslint to v6.8.0
2020-01-09 11:39:22 -03:00
Rodrigo Primo
c3975d0317
Merge pull request #25281 from woocommerce/renovate/major-wordpress-monorepo
...
Update dependency @wordpress/e2e-test-utils to v4
2020-01-09 11:38:10 -03: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
Renovate Bot
bb51ec52f4
Update dependency commander to v4
2020-01-06 09:20:28 +00:00
Renovate Bot
e3d95af13f
Update dependency mocha to v7
2020-01-04 19:09:11 +00:00
Christopher Allford
c48ec2853e
Corrected the format for the dev dependency schedule
2019-12-31 14:06:26 -08:00
Jeremy Pry
19684ceb6c
Add second parameter to `woocommerce_valid_order_statuses_for_payment` filter.
...
Everywhere the `woocommerce_valid_order_statuses_for_payment` filter is used, a second parameter is passed: the `WC_Order` object. This parameter was missed in #25158 .
Omitting this parameter can cause errors in other extensions expecing that it will be present when hooking into the filter.
2019-12-31 15:13:50 -05:00
BrandynL
608d6628e3
added woocommerce specific css selector to avoid conflicts
2019-12-31 11:10:30 -05: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
dependabot[bot]
c933b818e0
Bump handlebars from 4.1.2 to 4.5.3
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.1.2 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.5.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-12-26 21:14:33 +00: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
Sergey Ratushnuy
e3ac006420
Add `woocommerce_top_rated_widget_args` filter for WC_Widget_Top_Rated_Products widget
2019-12-26 11:51:34 +02:00
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
Michael Ignacio
bb93491c66
Fix missing closing tag ( #25226 )
2019-12-25 23:45:28 +08:00
Renovate Bot
0dab112b67
Update dependency stylelint to v12.0.1
2019-12-25 13:21:34 +00:00