Commit Graph

66 Commits (556559a15172c1ffafe5aa673416c8ceea49b75e)

Author SHA1 Message Date
Igor Chubin 2b6db3a0c6 Fix minor errors
3 years ago
Igor Chubin bbf0d6835f Generate exception page (commented out)
4 years ago
Igor Chubin d551735021 Handle 404 properly (#500, #459, #372)
4 years ago
Igor Chubin 3ae30af48d Update from master
4 years ago
Igor Chubin ab756f1134 Check for 'United States of America' (#474)
4 years ago
Gregory Danielson 26372148b5
Merge branch 'master' of github.com:chubin/wttr.in
4 years ago
Gregory Danielson 303c2d2ab7
Observe two possible names for United States when checking us_ip
4 years ago
Igor Chubin 74283de5f5 Bind v3
4 years ago
Gregory Danielson 953284d3d1
Check US IP out of 2nd element of query_source_location, due to added region
4 years ago
Igor Chubin 91a5f77d2e JSON output mimetype (fixes #514)
4 years ago
Igor Chubin 79eea95904 moonphase depends on the hemishphere (#247)
4 years ago
John C. Allwein e745ac6a08
wttr_srv: implement http status codes, resolves #163
4 years ago
owl73 4bdd28b883 Fix current time output of pngs
4 years ago
Igor Chubin 68e7b8bdb7 remve ansi codes from follow line (#202)
5 years ago
Igor Chubin 01a321c202 png rendering in a separate thread
5 years ago
Igor Chubin 5e2ae43c96 updated from master
5 years ago
Igor Chubin acb761be0d v2 html: minor fix
5 years ago
Igor Chubin 0d5f6c298c v2+png: new experimental query encoding
5 years ago
Igor Chubin e041280f27 do not pass query to view functions
5 years ago
Igor Chubin 156ab97cf2 do not add followme to json output
5 years ago
Igor Chubin 40ad45ad03 minor fixes
5 years ago
Igor Chubin 71b3a70e02 view=format
5 years ago
Igor Chubin 4d9a4138aa lib/wttr_srv.py clean up
5 years ago
Igor Chubin a3bf070bb3 added iterm2 demo page
5 years ago
Igor Chubin 7565baaa85 use (query, parsed_query) args for views
5 years ago
Igor Chubin 8855e494cd cache png using cache.py
5 years ago
Igor Chubin 0ac4790007 lib/wttr_srv.py refactoring
5 years ago
Igor Chubin 4ea5c74b03 extracted get_moon() to lib/view/moon.py
5 years ago
Igor Chubin bb17342b06 import view, import format
5 years ago
Igor Chubin 88340abec2 switched to python3
5 years ago
Igor Chubin b1ea9be11f minor fixes
5 years ago
Igor Chubin de1b79d705 lru cache for formatted answers (fixes #346)
5 years ago
Igor Chubin d0d152b10c /Moon minifix
5 years ago
Igor Chubin 74d005c0cc initial v2 format implementation (fixes #332)
5 years ago
Igor Chubin 509e87fa86 use original location for /Moon (fixes #337)
5 years ago
Igor Chubin a17e778bca handle source IP for PNG queries (#311)
5 years ago
Igor Chubin 9944488ba5 converted tests by @talyian into doctests (#304)
5 years ago
Igor Chubin 5ae8fd90a0
Merge pull request #304 from talyian/master
5 years ago
Igor Chubin 040b9ea7d7 various png-related problems fixed (#311)
5 years ago
Jimmy 5cee313096 Improve Accept-Language header parsing
6 years ago
Igor Chubin 5901e711f6 multilingual support for the oneline mode
6 years ago
Igor Chubin f8e7aef267 typos fixed (fixes #267)
6 years ago
Igor Chubin 31d9fb7e59 /moon as well as /Moon should show the Moon; use Moon,Fr for the city Moon in France
6 years ago
Igor Chubin 485b17cf94 set the mime header properly
6 years ago
Igor Chubin 6b3c40922b force ansi output for line mode (fixes #266)
6 years ago
Igor Chubin 65855a6d6a displayed location names for implied locations fixes (fixes #265)
6 years ago
Igor Chubin 5a4c57ce96 added new option: -A (force-ansi=True) (fixes #153)
6 years ago
Igor Chubin 4bbbdaca7b T support for /Moon (fixes #175)
6 years ago
Igor Chubin 6dfd809694 new option: F (no follow line) (fixes #214)
6 years ago
cclauss 7c47cd7d0c Modernize Python 2 code to get ready for Python 3
6 years ago