74 Commits (master)

Author SHA1 Message Date
  Igor Chubin 2b6db3a0c6 Fix minor errors 5 years ago
  Igor Chubin f067e82956 Filter cache entries affected by #576 5 years ago
  Igor Chubin 2141bdb944 Fix bug in geoip resolution 5 years ago
  Igor Chubin 94cdb961f9 Fix cache format bug (#576) 5 years ago
  Igor Chubin fe39b77813 Log ip resolution queries 5 years ago
  Igor Chubin a6d0adbbf7 Fix _geoip() format bug 5 years ago
  Igor Chubin ed569540bc Canonify contries names 5 years ago
  Igor Chubin e525129847 Move broken entries to a separate dir 5 years ago
  Igor Chubin 3c8149a227 Cleanup 5 years ago
  Gregory Danielson e98fbe9258
Document expected ipcachewrite input and output, with optional latlong entries 5 years ago
  Gregory Danielson c49c0a5c0e
Remove lat, long from _ip2location because WS5 is more expensive 5 years ago
  Igor Chubin 1b25e16a37 Minor code cleanup 5 years ago
  Igor Chubin 41d4d3d789 Extend location.py docstring 5 years ago
  Gregory Danielson bdcb24742d
Rework ipcache write to include new data from all sources 5 years ago
  Gregory Danielson c349dc2f17
Break from IPLOCATION method loop if one method produces non-null result 5 years ago
  Gregory Danielson 34313eb162
Rework get_location to handle additions to location tuple; same return 5 years ago
  Gregory Danielson e8cc9adc7f
Rework geoip to include ccode, lat, long for cache purposes 5 years ago
  Gregory Danielson 88cd84b5d2
Rework ipinfo to include ccode, lat, long for cache purposes 5 years ago
  Gregory Danielson b7517bce65
Rework ip2location to include ccode, lat, long for cache purposes 5 years ago
  Gregory Danielson 66802657a5
Add COUNTRY_MAP dict for workaround function cleanliness 5 years ago
  Gregory Danielson 117727bc2b
Add pycountry dependency for converting ISO code to country name 5 years ago
  Igor Chubin 626a106186 Fix bug with location format 6 years ago
  Gregory Danielson bd7dd05cca
Observe region in geolocator 6 years ago
  Gregory Danielson afde91211c
Check and observe region and country in building formatted location 6 years ago
  Gregory Danielson deb2a5d01f
Adjust ipcache to observe new region 6 years ago
  Gregory Danielson 2ebdb15398
Adjust ipcachewrite to account for region addition 6 years ago
  Gregory Danielson c7d3b32d53
Remove cache operation from ip2location; shortcut where possible 6 years ago
  Gregory Danielson 628a860d6d
Remove cache operation from ipinfo; shortcut where possible 6 years ago
  Gregory Danielson 996485adf1
Remove cache operation from geoip; shortcut where possible 6 years ago
  Gregory Danielson e4ac3f266f
Do cache read and write in get_location instead of duplicated in each IPLOCATION_ORDER method 6 years ago
  Gregory Danielson 7af4aaa8ec
Correct docstring for get_location 6 years ago
  Gregory Danielson e1adca3bf0
Add region into location formatting 6 years ago
  Gregory Danielson f3bce5f806
Unpack region from get_location call or fail case 6 years ago
  Gregory Danielson 4fa1ebd995
Add location[2] to ipcachewrite for new region part of cache 6 years ago
  Gregory Danielson 08be8787b1
Observe new region var in get_location 6 years ago
  Gregory Danielson c65614d230
Enable ipcache writes from geoip lookup 6 years ago
  Gregory Danielson ef477822ae
Coalesce location into 3-tuple in geoip lookup 6 years ago
  Gregory Danielson 4996c5a553
Pass region through workaround for consistency 6 years ago
  Gregory Danielson 511b13bdcb
Capture and return region from ipinfo lookup 6 years ago
  Gregory Danielson 35a35a56e2
Capture region from ip2location lookup 6 years ago
  Gregory Danielson af9658f63b
Check ipcache before fetching from geoip 6 years ago
  Gregory Danielson 0056a97386
Capture and return region from geoip lookup 6 years ago
  Igor Chubin 79eea95904 moonphase depends on the hemishphere (#247) 6 years ago
  Igor Chubin a62e3d979d fxed a regression (geolocation cache) 6 years ago
  Emil Lerch 3c16ac7993
support for ipinfo and ip to location ordering 6 years ago
  Igor Chubin cecde8fec8 fixed location for localhost 6 years ago
  Igor Chubin ac1be8305b lib/location.py: python3 fixes 6 years ago
  Igor Chubin e5ab61dea3 added workaround for python3 (#369) 6 years ago
  Igor Chubin e78e6e6f22 fixed lower case problem 7 years ago
  Igor Chubin 0f4dbd2e09 always force the ~query form 7 years ago