Gregory Danielson
996485adf1
Remove cache operation from geoip; shortcut where possible
2020-11-01 16:31:46 -06:00
Gregory Danielson
e4ac3f266f
Do cache read and write in get_location instead of duplicated in each IPLOCATION_ORDER method
2020-11-01 16:31:15 -06:00
Gregory Danielson
7af4aaa8ec
Correct docstring for get_location
2020-11-01 16:30:00 -06:00
Gregory Danielson
e1adca3bf0
Add region into location formatting
2020-11-01 16:28:24 -06:00
Gregory Danielson
f3bce5f806
Unpack region from get_location call or fail case
2020-11-01 16:27:40 -06:00
Gregory Danielson
4fa1ebd995
Add location[2] to ipcachewrite for new region part of cache
2020-11-01 15:03:14 -06:00
Gregory Danielson
08be8787b1
Observe new region var in get_location
2020-11-01 13:50:05 -06:00
Gregory Danielson
c65614d230
Enable ipcache writes from geoip lookup
2020-11-01 13:45:32 -06:00
Gregory Danielson
ef477822ae
Coalesce location into 3-tuple in geoip lookup
2020-11-01 13:45:08 -06:00
Gregory Danielson
4996c5a553
Pass region through workaround for consistency
2020-11-01 13:42:31 -06:00
Gregory Danielson
511b13bdcb
Capture and return region from ipinfo lookup
2020-11-01 13:41:52 -06:00
Gregory Danielson
35a35a56e2
Capture region from ip2location lookup
2020-11-01 13:40:20 -06:00
Gregory Danielson
af9658f63b
Check ipcache before fetching from geoip
2020-11-01 13:19:45 -06:00
Gregory Danielson
0056a97386
Capture and return region from geoip lookup
2020-11-01 13:05:03 -06:00
Igor Chubin
859756cd8b
Merge pull request #541 from amekare/master
...
added spanish translation corrections
2020-11-01 13:14:02 +01:00
Andrea Torres
280675775d
added spanish translation corrections
2020-10-31 13:55:51 -06:00
Igor Chubin
df4e145ffb
Add link to doc/terminal-images.md to README
2020-10-29 20:36:25 +01:00
Igor Chubin
3ecc3a8273
Add doc/
2020-10-29 20:34:44 +01:00
Igor Chubin
848f50574f
Add v3.wttr.in description
2020-10-29 19:22:44 +01:00
Igor Chubin
5529a4f2f0
Merge pull request #537 from oersen/typo-fix-tr
...
Fix a typo and alignments in Turkish translations
2020-10-18 18:41:11 +02:00
Oğuz Ersen
c0327757d4
Fix a typo and alignments in Turkish translations
2020-10-18 16:55:14 +03:00
Igor Chubin
32d0a4b61f
Merge pull request #534 from amadeogarcia/patch-1 ( #533 )
...
Patch 1 - Spanish translation
2020-10-15 06:21:17 +02:00
Igor Chubin
3717e30837
Merge branch 'master' into patch-1
2020-10-15 06:20:14 +02:00
Amadeo García Torrano
54f0b6ec48
Small mistake v2
...
I don't know why I put 'reporte'... Weird word.
2020-10-14 18:49:35 -03:00
Amadeo García Torrano
5bc944e464
Small mistake
...
Forgot a preposition in the 'FOLLOW' message.
2020-10-14 18:37:47 -03:00
Amadeo García Torrano
ad57cf96ea
Spanish translation
...
- Fixed minor grammar issues.
- Translated Oymyakon in 'NOT_FOUND_MESSAGE'
2020-10-14 18:35:42 -03:00
Igor Chubin
9e62a8cdcb
Basque translation, v2 view ( #438 )
2020-10-14 08:22:24 +02:00
Igor Chubin
91a5f77d2e
JSON output mimetype ( fixes #514 )
2020-10-14 07:32:43 +02:00
Igor Chubin
a35a0f678c
Merge pull request #532 from elerch/metno
...
initial metno implementation
2020-10-14 07:08:35 +02:00
Igor Chubin
8e87bcc731
Remove "Prob. of prep" ( #485 )
2020-10-14 06:54:30 +02:00
Igor Chubin
d76d2b1314
use pip --no-cache-dir in Dockerfile ( #504 )
2020-10-12 13:59:10 +02:00
Emil Lerch
17e6e6c218
initial metno implementation
2020-10-08 16:24:19 -07:00
Igor Chubin
54d71beea2
Merge pull request #524 from SuperSandro2000/docker-review
...
Docker review
2020-09-23 09:18:43 +02:00
Sandro Jäckel
399c4d25ef
Document files that should be mounted in Docker
2020-09-23 07:46:22 +02:00
Igor Chubin
79eea95904
moonphase depends on the hemishphere ( #247 )
2020-09-20 11:09:57 +02:00
Igor Chubin
a62e3d979d
fxed a regression (geolocation cache)
2020-09-20 11:09:04 +02:00
Igor Chubin
5e3ecaeaf4
increased cache expiry time
2020-09-20 09:59:23 +02:00
Igor Chubin
4a980be2f3
se pyphoon from PATH
2020-09-20 09:59:23 +02:00
Sandro Jäckel
792466ed0d
Use apk --virtual instead of listing build time packages twice
2020-09-18 12:56:28 +02:00
Sandro Jäckel
63ef3d02a9
Remove useless true
2020-09-18 07:59:24 +02:00
Sandro Jäckel
f434cc542a
Remove commented lines
2020-09-18 07:59:12 +02:00
Igor Chubin
0b54ed68a4
Translated "Rain shower" in Russian ( fixes #520 )
2020-09-17 20:37:14 +02:00
Igor Chubin
1c7d2854fc
Merge pull request #505 from elerch/ipinfo
...
support for ipinfo and ip to location ordering
2020-09-17 08:37:07 +02:00
Igor Chubin
e90a795c8c
Merge pull request #504 from elerch/docker-improvements
...
make Docker image smaller and more reusable
2020-09-17 08:31:40 +02:00
Igor Chubin
f0b96bef0c
Merge pull request #517 from PinkPanther-ny/patch-1
...
Update translations_v2.py
2020-09-16 21:45:52 +02:00
Igor Chubin
385cec249d
Merge pull request #519 from johnnyapol/http
...
wttr_srv: implement http status codes, resolves #163
2020-09-16 21:42:24 +02:00
Igor Chubin
86f11eb55f
Merge pull request #518 from PinkPanther-ny/patch-2
...
Update translations_v2.py
2020-09-01 21:48:00 +02:00
John C. Allwein
e745ac6a08
wttr_srv: implement http status codes, resolves #163
...
This change implements proper HTTP status codes
for wttr_srv, returning:
- 200 if request was successful
- 403 if location is blocked
- 429 if rate-limited
- 500 if internal error occurred (MALFORMED_RESPONSE_HTML_PAGE)
- 503 if the service is unavailable (CAPACITY_LIMIT_REACHED)
2020-08-27 17:17:26 -04:00
PinkPanther-ny
34ec4470d6
Update translations_v2.py
...
Add translation of Hungarian -- PinkPanther-ny
2020-08-22 18:07:08 +10:00
PinkPanther-ny
853d637d02
Update translations_v2.py
...
Add translation of Korean -- PinkPanther-ny
2020-08-22 17:59:07 +10:00