Igor Chubin
270d77dd5f
line mode: astro funcs fixed
2020-05-10 23:09:53 +02:00
Igor Chubin
ddc08d6fba
%c: added spaces after weather confidition when needed ( #440 )
2020-05-10 17:06:12 +02:00
Igor Chubin
24850db80e
do not use u"" in python3 code
2020-05-10 17:04:25 +02:00
Igor Chubin
09e3d57b40
lib/cache.py: fixed expiration time
2020-05-07 23:41:13 +02:00
Igor Chubin
e1bd1bf4b4
lib/globals.py clean up
2020-05-07 23:38:45 +02:00
Igor Chubin
01a321c202
png rendering in a separate thread
2020-05-07 23:37:21 +02:00
Igor Chubin
12d3ea2035
view/wttr.py clean up
2020-05-07 09:37:36 +02:00
Igor Chubin
57f15b55c6
enabled partial Basque translation ( #438 )
2020-05-01 19:09:11 +02:00
Igor Chubin
6c7600c309
removed space before km/h ( #433 )
2020-05-01 18:48:19 +02:00
Igor Chubin
5e2ae43c96
updated from master
2020-05-01 18:48:14 +02:00
Igor Chubin
413f23bec3
/Moon language fixed
2020-04-30 21:57:25 +02:00
Igor Chubin
acb761be0d
v2 html: minor fix
2020-04-30 11:21:00 +02:00
Igor Chubin
192e633607
cache.py: add timestamp to each entry
2020-04-30 11:20:32 +02:00
Igor Chubin
0d5f6c298c
v2+png: new experimental query encoding
2020-04-29 21:35:23 +02:00
Igor Chubin
cecde8fec8
fixed location for localhost
2020-04-27 20:40:13 +02:00
Igor Chubin
e041280f27
do not pass query to view functions
2020-04-27 20:00:26 +02:00
Igor Chubin
0a8ab5e89f
one-letter options in png files ( #436 )
2020-04-27 19:19:41 +02:00
Igor Chubin
2ef8435b36
line.py: use new astral lib
2020-04-27 19:04:27 +02:00
Igor Chubin
156ab97cf2
do not add followme to json output
2020-04-27 19:03:58 +02:00
Igor Chubin
26a5fa533a
useragents fixed
2020-04-27 19:03:27 +02:00
Igor Chubin
40ad45ad03
minor fixes
2020-04-26 19:38:56 +02:00
Igor Chubin
16e9ba5740
added de and fr to PROXY_LANGS
2020-04-26 19:37:41 +02:00
Igor Chubin
71b3a70e02
view=format
2020-04-25 22:28:28 +02:00
Igor Chubin
fb21802982
fmt/png.py: font-size
2020-04-25 22:27:58 +02:00
Igor Chubin
9f5edb963e
v2 html
2020-04-25 19:36:44 +02:00
Igor Chubin
094a506d51
lib/view/line.py cleanup
2020-04-25 18:57:11 +02:00
Igor Chubin
d5fae22cde
view/wttr.py: fixed padding
2020-04-25 18:56:27 +02:00
Igor Chubin
4d9a4138aa
lib/wttr_srv.py clean up
2020-04-25 18:19:00 +02:00
Igor Chubin
bbd031cb7b
removed make_wttr_in_png() and other wttr.in specific functions
2020-04-24 22:02:14 +02:00
Igor Chubin
7a8327c13f
moved parse_wttrin_png_name() to lib/parse_query.py
2020-04-24 21:58:47 +02:00
Igor Chubin
250a94c802
minor fixes of Arabic translation ( #430 )
2020-04-15 23:00:26 +02:00
Igor Chubin
a0fcbec776
enabled Arabic translation
2020-04-15 22:57:01 +02:00
beshoux
c05ee31fac
Add files via upload
2020-04-14 14:51:03 +02:00
Igor Chubin
a284ff9de4
v2: use different color for captions
2020-04-11 18:15:29 +02:00
Igor Chubin
a3bf070bb3
added iterm2 demo page
2020-04-11 18:15:29 +02:00
Joel Bennett
7801bd0468
Add PowerShell user agent
...
PowerShell web and rest cmdlets use an agent like `Mozilla/5.0, (Windows NT 10.0; Microsoft Windows 10.0.18362; en-US), PowerShell/7.0.0`
2020-04-10 15:19:27 -04:00
Igor Chubin
7565baaa85
use (query, parsed_query) args for views
2020-04-05 14:18:53 +02:00
Igor Chubin
8855e494cd
cache png using cache.py
2020-04-05 13:52:25 +02:00
Igor Chubin
f4c7463209
lib/fmt/png.py: removed internal caching
2020-04-05 13:51:54 +02:00
Igor Chubin
a85cebaa15
lib/cache.py: cache binary objects
2020-04-05 13:48:16 +02:00
Igor Chubin
0ac4790007
lib/wttr_srv.py refactoring
2020-04-05 11:51:36 +02:00
Igor Chubin
e2cebf74f2
store big lru cache objects in files
2020-04-05 11:50:58 +02:00
Igor Chubin
826cedf1f0
moved wttr.py to lib/view/
2020-04-04 18:04:27 +02:00
Igor Chubin
4ea5c74b03
extracted get_moon() to lib/view/moon.py
2020-04-04 14:49:53 +02:00
Igor Chubin
bb17342b06
import view, import format
2020-04-04 14:22:26 +02:00
Igor Chubin
f363315476
moved formats to format/
2020-04-04 14:21:56 +02:00
Igor Chubin
e29e5784da
moved views to view/
2020-04-04 14:21:14 +02:00
Igor Chubin
5a6f7b317c
v2 fix: show localtime
2020-04-03 22:04:35 +02:00
Igor Chubin
88340abec2
switched to python3
2020-04-03 21:49:51 +02:00
Igor Chubin
b98d919d3c
switched to new astral version
2020-04-03 21:49:40 +02:00
Igor Chubin
ac1be8305b
lib/location.py: python3 fixes
2020-04-03 20:58:51 +02:00
Igor Chubin
7dd42abe8d
added lib/extract_emoji.py
2020-04-03 20:27:00 +02:00
Igor Chubin
9e3b32a97d
use Han-fond for Han characters ( #422 )
2020-03-31 21:21:36 +02:00
Igor Chubin
c58a9ca8d1
updated twitter button
2020-03-31 21:05:59 +02:00
Igor Chubin
0764e069bb
added ia to the proxy langs and full translations
2020-03-06 18:58:44 +01:00
Igor Chubin
158a035af9
Merge pull request #416 from dustinkredmond/master
...
Added Interlingua translation
2020-03-06 18:42:53 +01:00
Igor Chubin
d38ba63bc3
Merge pull request #395 from iago-lito/french_translation
...
French translation in v2 file for #324
2020-03-06 18:42:08 +01:00
Dustin Redmond
4897191a44
Added Interlingua translation
2020-03-06 10:30:52 -05:00
Volkan Tokmak
515430edd9
Turkish translation for v2
...
Add Turkish translation to lib/translations_v2.py
2020-02-18 14:36:54 +01:00
Igor Chubin
2f4d54a7fe
added lib/airports.py
2020-02-16 19:41:40 +01:00
Igor Chubin
e5ab61dea3
added workaround for python3 ( #369 )
2020-02-12 21:44:56 +01:00
Viktar Siarheichyk
b906c73876
Belarusian translation update.
2020-02-12 16:06:40 +03:00
Steffen Sun Lyng
01c14ed322
added danish translation for version 2
2020-02-09 22:01:32 +01:00
Igor Chubin
11133ab270
v2: az translation added
2020-01-15 21:52:20 +01:00
Jaan Janesmae
ab71e8da0e
Add estonian translation to lib/translations_v2.py
2020-01-14 13:53:42 +02:00
Iago-lito
75501fbb30
French translation in v2 file for #324
2020-01-05 19:00:58 +01:00
Jesus M. Castagnetto
1bc5446d68
es term translation
2020-01-01 20:21:07 -05:00
Igor Chubin
e1bc708f05
aliasing zh-cn as zh for messages ( #83 )
2019-12-31 19:06:22 +01:00
youthlin.chen
b2cad8db78
add translation Simplified Chinese(zh-cn).
...
添加简体中文翻译 部分术语参考了 GB/T 35663-2017
2019-12-31 11:21:35 +08:00
Igor Chubin
244f1d002a
pt translation of v2 ( fixes #80 )
2019-12-30 11:53:53 +01:00
Igor Chubin
be586d7fa0
Merge pull request #370 from amekare/patch-1
...
Update for 'es'
2019-12-30 11:49:44 +01:00
Igor Chubin
340f88c6ea
Merge pull request #389 from CupOfEspresso/master
...
Entered the dutch translations
2019-12-29 22:41:45 +01:00
CupOfEspresso
5f9d96bc3b
Entered the dutch translations
2019-12-29 20:31:27 +01:00
Igor Chubin
a9367befb9
travis: pyflake only bin and lib
2019-12-29 17:50:14 +01:00
Igor Chubin
1f28c8840c
travis fixes
2019-12-29 17:19:58 +01:00
Igor Chubin
383739aadd
travis fixes
2019-12-29 17:11:08 +01:00
Igor Chubin
568f620511
Merge pull request #387 from ryunix/add-japanese-translations-v2
...
Add japanese translations v2
2019-12-29 11:18:48 +01:00
Jeff Huang
0acc2824a6
Update v2 translations.
2019-12-29 10:49:15 +08:00
ryunix
9dbba2be91
Add japanese translations v2
2019-12-29 09:34:39 +09:00
Igor Chubin
23f473197c
v2 initial translaion added
2019-12-28 20:36:12 +01:00
Igor Chubin
b1ea9be11f
minor fixes
2019-12-28 18:08:06 +01:00
Jakob Neumann
d8985e3c42
Add missing comma for German translation ;-)
2019-11-22 22:27:36 +01:00
Andrea Torres
ca7bb93b60
Update for 'es'
...
update for spanish translation
2019-10-31 13:48:28 -06:00
Igor Chubin
6217a091db
ca is fully translated now ( #367 )
2019-10-22 14:58:15 +02:00
Vatunyoo Suwannapisit
b0c5cfc164
[+] add Thai translation
2019-10-17 14:06:56 +07:00
Igor Chubin
70087c9368
full translation: be and zh-tw ( #358 , #359 )
2019-10-10 15:23:29 +02:00
Jeff Huang
b7e03649e7
Add zh-tw translations.
2019-10-08 11:48:09 +08:00
Mardep
06b8a43a3c
Update translations.py
2019-10-01 19:37:17 +03:30
Nick
a368b622c5
Adding Probability of Precipitation to one-line output
2019-09-26 06:44:34 -05:00
Kristofer Rye
f709969362
lib/spark.py: Remove unnecessary assignment to color_codes
...
Since color_codes is immediately redefined directly below this, the
former of the two assignemnts is unnecessary.
Signed-off-by: Kristofer Rye <kristofer.rye@gmail.com>
2019-09-18 12:42:49 -05:00
Igor Chubin
de1b79d705
lru cache for formatted answers ( fixes #346 )
2019-09-07 15:12:10 +02:00
Igor Chubin
e78e6e6f22
fixed lower case problem
2019-09-07 15:06:40 +02:00
Igor Chubin
c8341c5d84
do not display location for 0-day queries ( #342 )
2019-08-30 18:10:22 +02:00
Igor Chubin
eecd88794c
lib/translations.py: minor fix
2019-08-28 13:58:11 +02:00
Igor Chubin
65a21b2c2d
initial support of subviews
2019-08-28 13:57:10 +02:00
Igor Chubin
d0d152b10c
/Moon minifix
2019-08-28 13:56:22 +02:00
Igor Chubin
953aff302e
moon phases minor fix
2019-08-28 13:55:17 +02:00
Igor Chubin
74d005c0cc
initial v2 format implementation ( fixes #332 )
2019-08-25 20:39:22 +02:00
Igor Chubin
0f4dbd2e09
always force the ~query form
2019-08-25 20:39:22 +02:00
Igor Chubin
c465dfe08f
initial json support ( fixes #331 )
2019-08-25 20:39:22 +02:00