Commit Graph

19 Commits

Author SHA1 Message Date
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
Coen Jacobs ae64e20bb3 Take out default variations #3169 2013-11-01 17:33:33 +01:00
Mike Jolley a112cb1d7d Consistant method names Closes #3901, return doubles instead of number formatted strings. 2013-10-17 12:43:44 +01:00
Mike Jolley 44f50cb6cd Code from .17 + readme 2013-10-16 10:28:24 +01:00
Mike Jolley ef49977905 add_to_cart_url add_to_cart_text and single_add_to_cart_text class methods allowing greater control with custom classes.
Closes #3484 and Closes #3143. Pinging @thenbrent as the handler was
originally his idea and I've killed it.

@helgatheviking In 2.1, add to cart URLs will only be used in loops, so
conditonal logic should no longer be neccessary. Single templates post
to themselves without the need for the URL.
2013-09-25 12:35:06 +01:00
Mike Jolley 355dd16962 Removed @coenjacobs helpers and cleaned up main clas 2013-09-12 14:41:02 +01:00
Mike Jolley 7179900b75 Send tax inclusive, rounded item price to google. Fixes #3718
@coenjacobs .14?
2013-09-03 11:19:49 +01:00
Gerhard 9954c87fa6 Google Analytics, Add to cart event uniformity for shop and single. 2013-07-26 09:10:12 +02:00
Mike Jolley c75ea04c1c classes -> includes 2013-06-11 14:25:30 +01:00