Commit Graph

398 Commits (117727bc2b164573c997946bf48efdd73cd09289)

Author SHA1 Message Date
Gregory Danielson 117727bc2b
Add pycountry dependency for converting ISO code to country name
4 years ago
Gregory Danielson bd7dd05cca
Observe region in geolocator
4 years ago
Gregory Danielson 953284d3d1
Check US IP out of 2nd element of query_source_location, due to added region
4 years ago
Gregory Danielson afde91211c
Check and observe region and country in building formatted location
4 years ago
Gregory Danielson deb2a5d01f
Adjust ipcache to observe new region
4 years ago
Gregory Danielson 2ebdb15398
Adjust ipcachewrite to account for region addition
4 years ago
Gregory Danielson c7d3b32d53
Remove cache operation from ip2location; shortcut where possible
4 years ago
Gregory Danielson 628a860d6d
Remove cache operation from ipinfo; shortcut where possible
4 years ago
Gregory Danielson 996485adf1
Remove cache operation from geoip; shortcut where possible
4 years ago
Gregory Danielson e4ac3f266f
Do cache read and write in get_location instead of duplicated in each IPLOCATION_ORDER method
4 years ago
Gregory Danielson 7af4aaa8ec
Correct docstring for get_location
4 years ago
Gregory Danielson e1adca3bf0
Add region into location formatting
4 years ago
Gregory Danielson f3bce5f806
Unpack region from get_location call or fail case
4 years ago
Gregory Danielson 4fa1ebd995
Add location[2] to ipcachewrite for new region part of cache
4 years ago
Gregory Danielson 08be8787b1
Observe new region var in get_location
4 years ago
Gregory Danielson c65614d230
Enable ipcache writes from geoip lookup
4 years ago
Gregory Danielson ef477822ae
Coalesce location into 3-tuple in geoip lookup
4 years ago
Gregory Danielson 4996c5a553
Pass region through workaround for consistency
4 years ago
Gregory Danielson 511b13bdcb
Capture and return region from ipinfo lookup
4 years ago
Gregory Danielson 35a35a56e2
Capture region from ip2location lookup
4 years ago
Gregory Danielson af9658f63b
Check ipcache before fetching from geoip
4 years ago
Gregory Danielson 0056a97386
Capture and return region from geoip lookup
4 years ago
Igor Chubin 3717e30837
Merge branch 'master' into patch-1
4 years ago
Amadeo García Torrano 54f0b6ec48
Small mistake v2
4 years ago
Amadeo García Torrano 5bc944e464
Small mistake
4 years ago
Amadeo García Torrano ad57cf96ea
Spanish translation
4 years ago
Igor Chubin 9e62a8cdcb Basque translation, v2 view (#438)
4 years ago
Igor Chubin 91a5f77d2e JSON output mimetype (fixes #514)
4 years ago
Emil Lerch 17e6e6c218
initial metno implementation
4 years ago
Igor Chubin 79eea95904 moonphase depends on the hemishphere (#247)
5 years ago
Igor Chubin a62e3d979d fxed a regression (geolocation cache)
5 years ago
Igor Chubin 4a980be2f3 se pyphoon from PATH
5 years ago
Igor Chubin 1c7d2854fc
Merge pull request #505 from elerch/ipinfo
5 years ago
Igor Chubin 385cec249d
Merge pull request #519 from johnnyapol/http
5 years ago
John C. Allwein e745ac6a08
wttr_srv: implement http status codes, resolves #163
5 years ago
PinkPanther-ny 34ec4470d6
Update translations_v2.py
5 years ago
Emil Lerch 3c16ac7993
support for ipinfo and ip to location ordering
5 years ago
Igor Chubin 4a6b4ec797 v2: added Occitan translation (#494)
5 years ago
Igor Chubin b85e5732ec added oc to PROXY_LANGS (#494)
5 years ago
Igor Chubin 6b8ef7c330 recovered hi-translation broken by #501
5 years ago
Quentí 9508b2b17e
Update translations.py
5 years ago
Igor Chubin 7ef0c450b3
Merge pull request #495 from skyme5/translation-hi
5 years ago
Igor Chubin 05f04fc272 single line: now newline for %-notation by default (#496)
5 years ago
Aakash Gajjar 677d7e19dc
[new] hindi translations
5 years ago
zhiqiang 9995ba4bb9 Add missing blank in ThunderyShowers
5 years ago
Igor Chubin 09e0979581
Merge pull request #475 from owl73/master
5 years ago
sudoLife 2080568f80
Fix minor translation issues
5 years ago
owl73 4bdd28b883 Fix current time output of pngs
5 years ago
Igor Chubin f51fda3447 Merge branch 'master' of https://github.com/chubin/wttr.in
5 years ago
Igor Chubin 5b9ccb31d5 format=j1: output in utf8
5 years ago