Christopher Allford
4f6aec61fd
Added support for a randomized MaxMind database file prefix
2020-01-13 08:16:44 -08:00
Claudio Sanches
91ec28f167
Updated integration ID and included methods to display notices
2020-01-10 15:02:11 -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
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
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
f91ff82806
Moved the loading of the database class into the integration
2020-01-09 21:29:47 -08:00
Christopher Allford
0d4b8f4bd3
Added sanitization to the license key in download URLs
2020-01-09 20:44:13 -08:00
Christopher Allford
72a84911ea
Simplified the URL generation for geolocation database downloads
2020-01-09 16:18:20 -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
000a75c23b
Fixed the validation for MaxMind license keys
2020-01-08 22:56:24 -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