| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-01-15 | Removed django.contrib.gis.geoip2.GeoIP2.open() per deprecation timeline. | Sarah Boyce | |
| 2025-01-15 | Removed django.contrib.gis.geoip2.GeoIP2.coords() per deprecation timeline. | Sarah Boyce | |
| 2024-10-17 | Fixed #35841 -- Restored support for DB-IP databases in GeoIP2. | Nick Pope | |
| Thanks Felix Farquharson for the report and Claude Paroz for the review. Regression in 40b5b1596f7505416bd30d5d7582b5a9004ea7d5. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> | |||
| 2024-10-17 | Refs #35841 -- Adjusted GeoIP2 tests for easier test case extension. | Nick Pope | |
| These changes will make it easier to introduce tests for alternate databases that may have different results without the need to duplicate lots of the tests definition. | |||
| 2024-08-28 | Fixed #35666 -- Documented stacklevel usage and testing, and adjusted test ↵ | Simon Charette | |
| suite accordingly. Over the years we've had multiple instances of hit and misses when emitting warnings: either setting the wrong stacklevel or not setting it at all. This work adds assertions for the existing warnings that were declaring the correct stacklevel, but were lacking tests for it. | |||
| 2024-01-11 | Fixed #35100 -- Reworked GeoIP2 database initialization. | Nick Pope | |
| 2024-01-10 | Fixed #35092 -- Exposed extra fields for GeoIP2.country() and GeoIP2.city() ↵ | Nick Pope | |
| responses. | |||
| 2024-01-07 | Fixed #35091 -- Allowed GeoIP2 querying using IPv4Address/IPv6Address. | Nick Pope | |
| 2023-12-12 | Fixed #34305 -- Changed GeoIP2 tests to use MaxMind test databases. | Nick Pope | |
| GEOIP_SETTINGS is removed from the global scope as this prevents modifications to the settings using @override_settings in tests. Additional improvements now that we have stable test databases include: - Made testing more comprehensive and improved coverage - Patched socket.gethostbyname() for whole test case - Added testing of non-free GeoIP2 databases Co-authored-by: Tom Forbes <tom@tomforb.es> | |||
| 2023-12-05 | Deprecated django.contrib.gis.geoip2.GeoIP2.open(). | Nick Pope | |
| 2023-12-01 | Made GeoIP2.__del__() close all databases. | Nick Pope | |
| 2023-12-01 | Deprecated django.contrib.gis.geoip2.GeoIP2.coords(). | Nick Pope | |
| The `ordering` argument is undocumented and of limited use, so this is effectively the same as `GeoIP2.lon_lat()`. | |||
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2021-01-29 | Fixed GeoIPTest.test04_city() failure with the latest GeoIP2 database. | Mariusz Felisiak | |
| 2019-08-13 | Fixed #30461 -- Made GeoIP2 and GEOIP_PATH setting accept pathlib.Path as ↵ | Claude Paroz | |
| library path. Thanks Nikita Krokosh for the initial patch. | |||
| 2019-06-27 | Fixed GeoIPTest.test04_city() failure with the latest GeoIP2 database. | Mariusz Felisiak | |
| 2019-05-07 | Fixed #30447 -- Added 'is_in_european_union' in GeoIP2.city() dict. | Chris Adkins | |
| 2018-10-23 | Removed obsolete and flaky GeoIP tests. | Tom Forbes | |
| 2018-04-17 | Fixed a test failure with the latest GeoIP2 database. | Tim Graham | |
| 2018-03-05 | Fixed #28981 -- Added an exception if GeoIP database can't be loaded from ↵ | Alex Stovbur | |
| the path. | |||
| 2018-01-10 | Fixed a GeoIP2 test failure with the latest GeoIP2 database. | Tim Graham | |
| 2017-10-25 | Fixed #28740 -- Added 'continent_code' and 'continent_name' in GeoIP2.city() ↵ | Ryan Verner | |
| dict. | |||
| 2017-05-22 | Fixed #28112 -- Added 'time_zone' in GeoIP2.city() dict. | R3turnz | |
| 2017-05-04 | Removed obsolete HAS_GEOS variable for test skipping. | Tim Graham | |
| 2017-04-22 | Fixed #28115 -- Fixed IP address validation in geoip2 module | Claude Paroz | |
| Regression in 277a4dd4b4cc2a2cad77139882f084480751a95a. Thanks Tim Graham for the test. | |||
| 2017-01-20 | Refs #23919 -- Removed django.test.mock Python 2 compatibility shim. | Tim Graham | |
| 2017-01-18 | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | |
| Thanks Tim Graham and Simon Charette for the reviews. | |||
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2016-04-08 | Fixed E128 flake8 warnings in tests/. | Tim Graham | |
| 2016-01-29 | Refs #26022 -- Used context manager version of assertRaises in tests. | Hasan | |
| 2015-09-23 | Fixed #25407 -- Removed network dependency in GeoIP tests. | Anton Baklanov | |
| 2015-09-10 | Fixed a GeoIP2 test failure with the latest GeoIP2 database. | Tim Graham | |
| Düsseldorf now appears as Dusseldorf in the latest version of the GeoIP2 database. | |||
| 2015-08-31 | Refs #24121 -- Added a repr() to gis.GeoIP and gis.GeoIP2. | Keryn Knight | |
| 2015-07-31 | Fixed #25184 -- Added support for MaxMind GeoLite2 database format | Flavio Curella | |
