Claudio Sanches
49aed6f6ca
Remove alternatives for deprecated methods
2020-01-10 16:31:27 -03:00
Claudio Sanches
c3abe8ac65
Added missing license key notice and triggers
2020-01-10 15:07:05 -03:00
Claudio Sanches
48547143f4
Fixed integration ID
2020-01-10 15:02:56 -03:00
Claudio Sanches
91ec28f167
Updated integration ID and included methods to display notices
2020-01-10 15:02:11 -03:00
Claudio Sanches
cfeb07eaf7
Removed legacy code
2020-01-10 13:18:25 -03:00
Claudio Sanches
8aa7e62a21
Fixed fatal error in system status page
2020-01-10 12:22:42 -03:00
Claudio Sanches
2554cbf6e0
Prevent fatal error if MaxMind Reader is not installed
2020-01-10 12:16:53 -03:00
Claudio Sanches
0e119cb97a
Fixed missing methods, added deprecated notices and @since
2020-01-10 11:58:53 -03:00
Christopher Allford
f5cbca5beb
Added unit tests for the MaxMind integration class
2020-01-10 02:47:43 -08:00
Christopher Allford
93e1d606ed
Fixed a bug where empty database paths might break the update
2020-01-10 02:47:23 -08:00
Christopher Allford
19ded6609d
Refactored the MaxMind database class to not use static methods in order to make testing the integration class easier
2020-01-10 02:09:51 -08:00
Christopher Allford
26e0b71fce
Added support for mod_maxminddb's MM_COUNTRY_CODE server variable
2020-01-10 01:23:06 -08:00
Christopher Allford
0f6da046a1
Refactored the IP geolocation method
2020-01-10 00:08:24 -08:00
Christopher Allford
b7521368a7
Fixed the response for the geolocation filter
2020-01-10 00:07:55 -08:00
Christopher Allford
bbbfc3bfab
Moved the MaxMind geolocation lookup into the integration class
2020-01-09 23:46:25 -08:00
Christopher Allford
02ee3f695e
Moved the database update from the WC_Geolocation class to the MaxMind-specific integration
2020-01-09 23:22:42 -08:00
Christopher Allford
6e41f370a5
Added a documentation link to the license key setting description
2020-01-09 21:39:28 -08:00
Christopher Allford
2df3af1e63
Deprecated the WC_Geolocation::get_local_database_path method
2020-01-09 21:31:12 -08:00
Christopher Allford
f91ff82806
Moved the loading of the database class into the integration
2020-01-09 21:29:47 -08:00
Christopher Allford
d45a3541f4
Removed the unnecessary GeoLite2 version check
2020-01-09 20:58:42 -08:00
Christopher Allford
0d4b8f4bd3
Added sanitization to the license key in download URLs
2020-01-09 20:44:13 -08:00
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