Christopher Allford
c34a5b6ffe
Added an update task to increase the database version
2020-01-14 13:39:47 -08:00
Christopher Allford
1ac8eebac3
Added clarity to the file path in the integration settings
2020-01-14 13:32:59 -08:00
Christopher Allford
e851160927
Removed the erroneous space on the woocommerce_geoip_updater scheduled event
2020-01-14 13:20:41 -08:00
Rodrigo Primo
241c6cd590
Make context for admin notice documentation more clear
2020-01-14 17:07:12 -03:00
Claudio Sanches
92478b4739
Introduced woocommerce_maxmind_geolocation_update_database_periodically filter
2020-01-14 16:57:07 -03:00
Rodrigo Primo
efb200799d
Merge branch 'fix/25361' of github.com:woocommerce/woocommerce into fix/25361
2020-01-14 16:47:06 -03:00
Rodrigo Primo
23e1abe1dc
Fix typo in php docblock
2020-01-14 16:45:57 -03:00
Claudio Sanches
f9c31589c6
Fixed conditional code
2020-01-14 16:44:01 -03:00
Claudio Sanches
10cdbf88be
Use shop base address as default customer location
2020-01-14 16:29:48 -03:00
Claudio Sanches
992e13fb08
Updated implementation of geolite2
2020-01-14 16:24:07 -03:00
Claudio Sanches
46110fa39c
Introduced woocommerce_get_geolocation filter
2020-01-14 15:54:24 -03:00
Claudio Sanches
978c5b5fb9
Apply woocommerce_maxmind_geolocation_display_notices filter in notices class
2020-01-14 15:22:53 -03:00
Claudio Sanches
4c39f81f12
Merge pull request #25386 from woocommerce/fix/is_package_shippable
...
Make WC_Shipping::is package shippable less strict
2020-01-14 14:30:17 -03:00
Claudio Sanches
b3b4e92fe1
Moved HTML to a single file
2020-01-14 12:20:46 -03:00
Christopher Allford
0f18570827
Added the database path to the integration page for documentation purposes
2020-01-13 21:02:22 -08:00
Christopher Allford
b577b8a386
Changed the geoip update cron to run every 15 days to better comply with MaxMind's TOS
2020-01-13 17:02:41 -08:00
Claudio Sanches
1c874264d8
Removed MaxMind from System Status page
2020-01-13 21:48:23 -03:00
Christopher Allford
25dbc47da9
Added a note that the MaxMind integration will only do country lookups.
2020-01-13 14:43:00 -08:00
Christopher Allford
7a5083e47b
Revert "Added a database option to allow for selecting different MaxMind databases"
...
This reverts commit d32c470cea
.
2020-01-13 14:41:24 -08:00
Christopher Allford
d32c470cea
Added a database option to allow for selecting different MaxMind databases
2020-01-13 14:10:08 -08:00
Claudio Sanches
f9d8b85c04
Remove notice when license key is present
2020-01-13 17:40:10 -03:00
Christopher Allford
ef0eccf0ac
Added upgrade step for removing the legacy MaxMind database
2020-01-13 11:18:14 -08:00
Christopher Allford
48d819ebeb
Added support for non-standard upload folder paths
2020-01-13 11:00:23 -08:00
Christopher Allford
6d3a3053c5
Moved the database file into the woocommerce_uploads folder
2020-01-13 08:53:43 -08:00
Christopher Allford
645affb7f3
Removed permanently failing unit test for deprecated GeoLite2 library integration
2020-01-13 08:17:11 -08:00
Christopher Allford
4f6aec61fd
Added support for a randomized MaxMind database file prefix
2020-01-13 08:16:44 -08:00
Salva Machí
d1dc5f8c20
Bypass inputs without name
2020-01-13 11:31:20 +01:00
Joshua Flowers
902e1cc184
Check for the WooCommerce Admin class before adding notice
2020-01-13 17:43:27 +08:00
Salva Machí
2ca6c12089
Bypass unchecked radio buttons, unchecked checkboxes and disabled inputs
2020-01-13 10:24:12 +01:00
vedanshujain
f0f3b21a36
Added unit tests for setting current gateway
2020-01-13 14:18:59 +05:30
Joel Rowley
d6771dc681
Prevent fatal error in set_current_gateway with no WC session
2020-01-13 14:18:49 +05:30
Christopher Allford
f5d07c954c
Adjusted the MaxMind license key notice to be clearer
2020-01-10 13:07:26 -08:00
Claudio Sanches
f253c87096
Fixed unit tests
2020-01-10 17:14:44 -03:00
Claudio Sanches
107720dc08
Make is_package_shippable less strict
2020-01-10 17:05:28 -03:00
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
Salva Machí
37d7d498ec
Improved performance when saving variations
...
The serializeJSON function was causing a long delay when preparing the JSON if there are many input fields within the variations (even worse if 3rd party plugins add their own extra fields there too).
2020-01-10 11:38:38 +01: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