Tristan Le Guern
0f27ec700e
Add OpenBSD ftp(1) to the PLAIN_TEXT list
...
The [ftp](http://man.openbsd.org/ftp )(1) command is the default tool to fetch files over HTTP on OpenBSD. It could be nice to add it to the PLAIN_TEXT_AGENTS list so installing curl or wget is not necessary.
Its user-agent is, as described in the man page, “OpenBSD ftp”.
2018-11-06 13:05:12 +00:00
Igor Chubin
0d76ba4a3e
new status line functions: moonphase, moonday
2018-11-02 18:52:42 +01:00
Igor Chubin
9f0f9baa32
wttrin_png.py: fixed bug
2018-11-02 18:15:59 +01:00
Igor Chubin
632a4169c5
minor fixes
2018-11-02 18:15:15 +01:00
Igor Chubin
c330875eda
cyclic location support
2018-11-02 18:14:48 +01:00
Igor Chubin
a45855fbb4
geolocation related fixes
2018-11-02 18:12:53 +01:00
Igor Chubin
eed7c3597d
added new function: debug_log()
2018-11-02 18:11:49 +01:00
Igor Chubin
95e1f61a40
moved limits to globals.py ( fixes #233 )
2018-11-01 18:23:32 +01:00
Igor Chubin
7303ae86ba
renamed format => filetype; line => format ( fixes #230 )
2018-10-28 15:41:39 +01:00
Igor Chubin
efac9abc9e
renamed url parameter for one line mode $174: line instead of format ( fixes #230 )
2018-10-28 15:28:50 +01:00
Igor Chubin
d819233b5a
initial support of oneline output mode ( #174 )
2018-10-28 00:31:51 +02:00
Igor Chubin
bb5989a7aa
added lib/weather_data.py
2018-10-27 23:55:14 +02:00
Igor Chubin
39ca1cd325
wwo key is in ~/.wwo.key
2018-10-27 23:54:37 +02:00
Igor Chubin
c10067fe89
added lib/constants.py
2018-10-27 23:53:18 +02:00
Igor Chubin
e6687abf13
use USCS for US-based IPs ( fixes #229 #162 )
2018-10-27 17:14:33 +02:00
Igor Chubin
c558824fbf
rewrite country name (in some cases)
2018-10-27 00:58:42 +02:00
Igor Chubin
dbb8aab676
for IPs covered by GeoIP2, use country name instead of ISO Code ( fixes #209 )
2018-10-27 00:54:05 +02:00
Igor Chubin
2844a94c88
several minor geolocation bugs fixed ( fixes #63 , #135 , #162 , #209 )
2018-10-27 00:19:22 +02:00
Igor Chubin
4dfa7f5ecc
moved log and cache directory
2018-10-27 00:17:16 +02:00
Igor Chubin
1b90be34a4
logging query minor changes
2018-10-26 23:03:50 +02:00
Igor Chubin
4e40a23b83
response.headers fixes
2018-10-26 22:34:20 +02:00
Igor Chubin
597785e43f
new pyte api
2018-10-26 22:33:30 +02:00
Igor Chubin
1df8c57bc2
moved api-cache to cache
2018-10-26 19:46:42 +02:00
Igor Chubin
7dd736ba8f
minor cleanup
2018-10-26 19:35:34 +02:00
Igor Chubin
0c67b15e8a
ip2location fixes
2018-10-26 19:35:13 +02:00
Igor Chubin
68f9c8cb3c
Merge branch 'master' of https://github.com/chubin/wttr.in
2018-10-23 20:04:47 +02:00
Igor Chubin
10f5aa579c
bin/proxy.py clean up
2018-10-23 20:04:42 +02:00
Igor Chubin
bd10befae4
pyphoon moved out of wttr.in/
2018-10-23 18:53:34 +02:00
Igor Chubin
8d7c4cf07d
Merge pull request #226 from meigwilym/patch-1
...
Update cy/Welsh
2018-10-23 08:18:05 +02:00
Igor Chubin
112ef43aea
minor fixes
2018-10-20 15:41:53 +02:00
Mei Gwilym
332b67a386
Update cy/Welsh
...
Minor improvements to the current translation and add in the CAPACITY_LIMIT_REACHED strings
2018-10-16 17:08:12 +01:00
Igor Chubin
b534f7290c
nl is now fully translated
2018-10-12 22:31:48 +02:00
Igor Chubin
8e54c6e2f3
Update translations.py
2018-10-12 22:17:07 +02:00
CupOfEspresso
f9b94c5afa
added dutch translation
2018-10-12 20:03:38 +00:00
Igor Chubin
218acd8b9d
location.py refactoring
2018-10-07 12:34:36 +02:00
Igor Chubin
af621947d9
minor cleanup
2018-10-07 12:34:03 +02:00
Igor Chubin
0782e99d6f
moved to location_normalize() to location.py
2018-10-07 12:33:43 +02:00
Igor Chubin
0eabfb1218
minor refactoring
2018-10-07 12:14:23 +02:00
Igor Chubin
601bab5b19
moved metric_or_imperial to parse_query
2018-10-07 12:12:47 +02:00
Igor Chubin
a61746534d
separated location related function
2018-10-07 12:11:59 +02:00
Igor Chubin
a25afe4771
moved server related code back to bin/srv.py
2018-10-07 12:11:09 +02:00
Igor Chubin
c8fb1dcc0d
moved buttons related function to buttons.py
2018-10-07 12:10:07 +02:00
Igor Chubin
2fce9af0ea
removed Limits class from srv.py
2018-10-05 22:37:35 +02:00
Igor Chubin
10c251c434
added lib/limits.py (from cheat.sh)
2018-10-05 20:37:46 +02:00
Igor Chubin
eb8b1cc92d
globals.py clean up
2018-10-05 20:37:16 +02:00
Igor Chubin
fb89c4d985
syntax clean up
2018-10-05 20:19:49 +02:00
Igor Chubin
fcc7b79272
new global variables
2018-10-05 20:19:27 +02:00
Igor Chubin
e414e8f924
wsgi was renamed to pywsgi
2018-10-05 20:18:34 +02:00
Igor Chubin
c6d60c5ca0
lib/translations.py: minor syntax fixes
2018-10-05 20:17:50 +02:00
Igor Chubin
d7ec9ac840
moved srv.py to lib/
2018-10-05 16:54:14 +02:00