Commit Graph

258 Commits

Author SHA1 Message Date
Igor Chubin
9944488ba5 converted tests by @talyian into doctests (#304) 2019-07-07 21:51:15 +02:00
Igor Chubin
7b254b0773 Merge branch 'master' of https://github.com/chubin/wttr.in 2019-07-07 21:27:40 +02:00
Igor Chubin
5ae8fd90a0
Merge pull request #304 from talyian/master
Improve Accept-Language header ordering
2019-07-07 21:27:24 +02:00
Igor Chubin
a95a95cdb2 added two scripts categories: Arabic, Hebrew 2019-07-07 20:39:59 +02:00
Igor Chubin
6a0f61b316 added vi to PROXY_LANGS (#307) 2019-07-07 19:56:31 +02:00
Igor Chubin
0ab924b9ec
Merge branch 'master' into master 2019-07-07 19:42:13 +02:00
Igor Chubin
ef50b23f5b fixes for the @echarlie IPv6 patch (#160) 2019-07-07 19:10:05 +02:00
Igor Chubin
040b9ea7d7 various png-related problems fixed (#311) 2019-07-07 18:39:53 +02:00
Achintya Rao
2bce2e7dbc
Fix small typo in wttr_line.py
Signed-off-by: Achintya Rao <achintya.rao@cern.ch>
2019-06-28 16:46:10 +02:00
Igor Chubin
ee2c5f5bd4 hu is full now (#318) 2019-06-24 21:43:20 +02:00
Igor Chubin
5e6906551c hu is not yet full (#317) 2019-06-23 22:36:32 +02:00
Mark Petruska
d67fa41438 fixes typo 2019-06-23 13:47:31 +02:00
Mark Petruska
d56ffdb431 adds Hungarian translations 2019-06-23 13:29:37 +02:00
Igor Chubin
278c6550e1 el is fully translated now thanks to @Petewg (#313) 2019-06-20 17:40:31 +02:00
Vladimir Vitkov
77ffb6bf62 Add bg translation 2019-06-18 15:38:57 +03:00
Igor Chubin
1bf2701d83 added el to proxy langs, added pete to translation.txt (#310) 2019-06-07 20:20:37 +02:00
Luu Vinh Phuc
7e3c937f51 Add Vietnamese translation 2019-06-02 17:31:43 +07:00
Igor Chubin
c1665fd908 initiali Irish translation added 2019-05-30 19:48:20 +02:00
Igor Chubin
587a678fbd added fy to the PROXY_LANGS (#302) 2019-05-28 20:36:35 +02:00
Jimmy
5cee313096 Improve Accept-Language header parsing 2019-05-26 02:24:12 +00:00
Anne Douwe Bouma
04f33c3992 Add Frisian to lib/translations.py 2019-05-24 09:24:57 +02:00
Igor Chubin
e1930bedfb lib/location.py: location can be None (#296) 2019-05-15 17:57:01 +02:00
Igor Chubin
8f7d3140ca handle WTTR_* environment variables 2019-05-10 17:46:44 +02:00
Igor Chubin
8142e30e53 how to configure ip2location (#296) 2019-05-09 17:40:22 +02:00
Igor Chubin
9a72e04ec7 pressure (P) and precipitation (p) (fixes #293) 2019-04-23 17:31:46 +02:00
Igor Chubin
83b1fd45f2 new option: C (Weather condition textual name) 2019-04-23 16:44:41 +02:00
Igor Chubin
5901e711f6 multilingual support for the oneline mode 2019-04-23 16:42:58 +02:00
Jordi Camps Puchades
e9a1cdb738 Update: some catalan sentences reworded. 2019-04-15 13:15:13 +02:00
Jordi Camps Puchades
596e9d2722 Update: Fixed some catalan words. 2019-04-15 12:11:02 +02:00
Igor Chubin
9cb43d715e Estonian translation is completed (#275) 2019-03-18 21:03:01 +01:00
Igor Chubin
1256f842a0 unknown location for one-line mode (#174) 2019-03-15 20:20:36 +01:00
Igor Chubin
df46123b7f fixed: M option for one-line mode (#174) 2019-03-15 20:20:05 +01:00
Igor Chubin
a688296aee added ru to PROXY_LANGS 2019-03-15 19:22:16 +01:00
Igor Chubin
6ab055b079 added et to PROXY_LANGS 2019-03-15 19:11:07 +01:00
Igor Chubin
b715ad769e added uk to PROXY_LANGS 2019-03-15 19:02:14 +01:00
Igor Chubin
ce8dce8b55 Merge branch 'master' of https://github.com/chubin/wttr.in 2019-03-15 18:40:32 +01:00
Igor Chubin
7917816d4b Merge branch 'master' of https://github.com/chubin/wttr.in 2019-03-15 18:40:13 +01:00
Igor Chubin
ea2ef299cb
Merge branch 'master' into master 2019-03-15 18:39:27 +01:00
Sergey
1ff6ad6a65 Pull "et" translation, to avoid merge conflict in pull request 2019-03-13 11:25:29 +01:00
Sergey
8d80fca66d Full translation to Ukrainian 2019-03-12 16:22:09 +01:00
Igor Chubin
1363c1622d Merge branch 'master' of https://github.com/chubin/wttr.in 2019-02-21 23:00:09 +01:00
Igor Chubin
e16c68cd4c added bt-br 2019-02-21 23:00:05 +01:00
Jaan Janesmae
5ba2da088b
translate variables: follow_me and new feature, update translation location to end of array unless list is sorted 2019-02-21 23:46:06 +02:00
Jaan Janesmae
cf117411e6
translate variable: capacity_limit_reached 2019-02-21 23:33:13 +02:00
Jaan Janesmae
7780276874
translate variables: message, unknown_location and location 2019-02-21 23:14:26 +02:00
Tupã Negreiros
91fa8af5fa
Update translations.py 2019-02-20 10:52:14 -03:00
Igor Chubin
fde786b7b2 one-line version: humidity 2019-02-19 20:25:52 +01:00
Igor Chubin
146999eae1 Merge branch 'master' of https://github.com/chubin/wttr.in 2019-02-05 18:24:31 +01:00
Igor Chubin
cfd3e748bc proxy languages: +af, +ro 2019-02-05 18:24:27 +01:00
Alin Trăistaru
2596464254
translations.py: Romanian fixes 2019-02-04 20:22:27 +02:00
Igor Chubin
f8e7aef267 typos fixed (fixes #267) 2019-02-04 12:12:02 +01:00
Igor Chubin
31d9fb7e59 /moon as well as /Moon should show the Moon; use Moon,Fr for the city Moon in France 2019-02-04 07:29:30 +01:00
Igor Chubin
485b17cf94 set the mime header properly 2019-02-04 07:28:44 +01:00
Igor Chubin
6b3c40922b force ansi output for line mode (fixes #266) 2019-02-04 07:27:22 +01:00
Igor Chubin
026acdfdac
Merge pull request #261 from casperl/master
Afrikaans translation.
2019-02-03 16:34:01 +01:00
Igor Chubin
65855a6d6a displayed location names for implied locations fixes (fixes #265) 2019-02-01 23:32:17 +01:00
Igor Chubin
5a4c57ce96 added new option: -A (force-ansi=True) (fixes #153) 2019-02-01 12:29:27 +01:00
Igor Chubin
eb64ed3b1e minor fix (related to Moon/?T support) 2019-02-01 12:17:42 +01:00
Igor Chubin
4bbbdaca7b T support for /Moon (fixes #175) 2019-02-01 12:14:01 +01:00
Igor Chubin
067be9c319 specify country resolving location found by geolocation (fixes #264; related to #167) 2019-02-01 12:04:26 +01:00
Casper Labuschagne
28f1047522
Add files via upload 2019-01-19 12:35:28 +02:00
Igor Chubin
0f6d8da10c do not add country name to the GPS coords (fixes #260) 2019-01-11 17:27:14 +01:00
Igor Chubin
6dfd809694 new option: F (no follow line) (fixes #214) 2019-01-11 12:48:00 +01:00
Igor Chubin
c6af7b6844 initial support for the one-line mode (#174) 2019-01-11 10:59:17 +01:00
Igor Chubin
fa4dcde9e1 activated be translation 2019-01-11 10:58:36 +01:00
Igor Chubin
b75f991b30 do full location resolution when location is not specified (experimental) 2019-01-11 10:58:08 +01:00
Igor Chubin
595428ea66 show number of stars in the footer 2019-01-11 10:52:07 +01:00
Igor Chubin
4a423fdd58 Do not show location when q or Q is specified (fixes #232) 2019-01-11 10:51:39 +01:00
Igor Chubin
daf9699e59 import dateutil.parser instead of dateutil (fixes #251) 2018-12-15 16:57:50 +01:00
Igor Chubin
e466abcd07 Merge branch 'master' of https://github.com/chubin/wttr.in 2018-12-12 20:55:55 +01:00
Igor Chubin
67d8b47fff added Danish (da) to translations.py 2018-12-12 20:55:51 +01:00
Igor Chubin
533820c604
dk => da, renamed; typo fixed 2018-12-11 16:05:50 +01:00
Kim Schulz
98e2688a29 Added Danish translation for python files 2018-12-10 20:36:26 +01:00
Igor Chubin
e41d6e629e
Merge pull request #236 from Aversiste/patch-1
Add OpenBSD ftp(1) to the PLAIN_TEXT list
2018-12-09 19:52:37 +01:00
Igor Chubin
26ed9fa28b Merge branch 'master' of https://github.com/chubin/wttr.in 2018-12-09 19:39:22 +01:00
Igor Chubin
4730dce9a4 ip2location related minor fixes 2018-12-09 19:39:20 +01:00
cclauss
7c47cd7d0c Modernize Python 2 code to get ready for Python 3 2018-12-02 09:41:29 +01:00
Igor Chubin
307ab535c3 translations.py clean up 2018-11-11 23:01:36 +01:00
Alois Mahdal
3e33fa7682
fixed whitespace
Co-Authored-By: javad94 <javad94@users.noreply.github.com>
2018-11-11 18:41:24 +03:30
Alois Mahdal
a246d98cb0
fixed whitespace
Co-Authored-By: javad94 <javad94@users.noreply.github.com>
2018-11-11 18:41:09 +03:30
Javad
d07b43809a translated translations.py 2018-11-11 01:29:57 +03:30
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