Igor Chubin
dd87ab5076
Merge branch 'master' of https://github.com/chubin/wttr.in
2024-01-03 17:00:06 +01:00
Igor Chubin
01787b510c
Change geo ip service
2024-01-03 17:00:03 +01:00
Igor Chubin
676e95a0db
Merge pull request #867 from ashassan8/master
...
added pressure units in mmHg to v2.wttr.in
2023-11-06 18:37:40 +01:00
Igor Chubin
9c2de2801b
Merge pull request #869 from jdutchik/339_bug_fix
...
339 Bug Fix for Invalid Domain Name
2023-11-03 08:33:06 +01:00
Igor Chubin
89abf1a55a
Merge pull request #906 from mataha/feat/fallback-glyphs
...
Introduce 'dumb' mode for terminals without fallback glyphs
2023-11-02 18:08:31 +01:00
Igor Chubin
79771b4b4e
Merge pull request #823 from LucasLarson/spelling
...
fix spelling (#822 )
2023-11-01 19:50:04 +01:00
Bruce Weirdan
1d2352e0f2
Add nushell
agent
2023-10-29 12:41:30 +01:00
mataha
9d23087ca4
Introduce 'dumb' mode for terminals without fallback glyphs
...
Windows' native terminal, `conhost.exe`, lacks font fallback support.
This causes some of the characters used in `wttr.in`'s terminal output
to not be displayed at all - placeholders are supplied in their place.
This PR provides a mode that, when enabled, translates missing glyphs
to ones available on every platform without (*I believe*) making any
compromises regarding their meaning; see translation table below.
| Character | C-UCP | Replacements | R-UCPs |
| :--------------- | :----: | :------------------------------------ | :----: |
| NORTH WEST ARROW | U+2196 | BOX DRAWINGS LIGHT ARC DOWN AND LEFT | U+256E |
| NORTH EAST ARROW | U+2197 | BOX DRAWINGS LIGHT ARC DOWN AND RIGHT | U+256D |
| SOUTH EAST ARROW | U+2198 | BOX DRAWINGS LIGHT ARC UP AND RIGHT | U+2570 |
| SOUTH WEST ARROW | U+2199 | BOX DRAWINGS LIGHT ARC UP AND LEFT | U+256F |
| HIGH VOLTAGE SIGN | U+26A1 | BOX DRAWINGS LIGHT DOWN AND RIGHT + UP AND LEFT | U+250C + U+2518 |
2023-08-09 19:02:39 +02:00
Igor Chubin
cf70167529
Switch geolocation client to the internal service
2023-07-14 21:08:02 +02:00
joshdutchik
390e81a0ab
339 Bug Fix for Invalid Domain Name
2023-04-23 18:27:56 -05:00
Alexander Skinner Hassan
c545b9fe80
added pressure units in mmHg
2023-04-21 14:19:27 -05:00
Lucas Larson
ca54ff4d2d
fix spelling ( #822 )
...
This is a pull request to fix #822 , where
> the words “ultraviolet” and “until” are misspelled `/lib/fields.py`:
>
> - dabfc55c8b/lib/fields.py (L33)
> - dabfc55c8b/lib/fields.py (L94)
> - dabfc55c8b/lib/fields.py (L97)
> - 8dc0e08f5e/lib/fields.py (L100)
> - dabfc55c8b/lib/fields.py (L103)
Signed-off-by: Lucas Larson <LucasLarson@riseup.net>
2022-12-09 13:28:03 -05:00
Igor Chubin
8f433de15a
Split proxy access and errors logs
2022-10-26 08:41:20 +02:00
Igor Chubin
4e861802c0
Add PROXY_LOG_FILE to globals
2022-10-25 19:20:19 +02:00
Igor Chubin
e4d4ebc41f
Add lib/proxy_log.py
2022-10-25 19:16:48 +02:00
Igor Chubin
692dabb88c
Add 'gl' to proxy langs ( #756 )
2022-10-22 17:25:54 +02:00
Igor Chubin
1a35ca7f5d
Merge pull request #753 from kcm/patch-1
...
Nice update to preconfig formats
2022-10-22 17:07:49 +02:00
Igor Chubin
e5f0961303
Merge pull request #756 from diego-treitos/master
...
Added galician translation
2022-10-22 17:04:41 +02:00
Igor Chubin
d53388f82b
Merge pull request #764 from pataquets/patch-1
...
Add Catalan to v2 footer strings.
2022-10-22 16:48:06 +02:00
Igor Chubin
5fa163bd03
Merge pull request #789 from Manan006/emoji_fix
...
Emoji Fix
2022-10-22 16:43:47 +02:00
Elvis020
d1e4ef9224
Updated Malayalam translation for afternoon with a more commonly used word
2022-10-15 18:34:12 +00:00
Dot
a0cac80ca2
Emoji Fix
2022-10-09 17:15:45 +05:30
Alfonso Montero
29fddae4c1
Add Catalan to v2 footer strings.
2022-07-09 16:10:32 +00:00
Diego Blanco
d60db6f5ea
Added galician translation
2022-06-18 22:54:24 +02:00
Ken MacInnis
12c1f1639e
Nice update to preconfig formats
2022-06-13 17:09:05 -07:00
Igor Chubin
df6f179277
Merge pull request #747 from nakanakaii/patch-4
...
Update translations.py
2022-06-11 16:23:45 +02:00
Ahmed D. ALi
4b2318ddd7
Update translations_v2.py
...
updated the translation with a more precise one
2022-06-07 22:07:49 -07:00
Ahmed D. ALi
260bb5d326
Update translations.py
...
updated the translation with a more precise one
2022-06-07 22:05:33 -07:00
Igor Chubin
527682736f
Merge pull request #734 from solidsnack/patch-1
...
Ensure `M` enables metric
2022-06-06 12:12:43 +02:00
Igor Chubin
e7e532b24d
Merge pull request #730 from Skillkiller/location-not-found
...
Add not found header after postprocessing
2022-06-06 11:41:43 +02:00
Igor Chubin
3cbf7a9349
Add UV Index support (one-line format)
2022-06-05 20:07:00 +02:00
Jason Dusek
c7cb67f841
Ensure M
enables metric
...
It seems reasonable, per the documentation (under the section, "Weather Units"), that `?M` would enable metric ("metric (SI), but show wind speed in m/s") all by itself.
> By default the USCS units are used for the queries from the USA and the metric system for the rest of the world. You can override this behavior...
> ...
> `curl wttr.in/Amsterdam?M` # metric (SI), but show wind speed in m/s
In the USA, we have to pass `?m&M` (`https://wttr.in/?m&M `) to get metric and meters/second. If we just pass `?M`, we get USCS units for everything else and windspeed in meters/second.
2022-05-15 11:30:56 -05:00
Sebastian Espei
856a67a474
Add not found header after postprocessing
...
The postprocessing method assumes that the sout data is always delivered in the same format. If the location is not found, the passed format deviates and this then leads to an incorrect behavior => incorrect return value.
Close #729
Close #728
2022-05-13 12:53:22 +02:00
Igor Chubin
c9974d2a4c
Add httpx to plain-text agents ( #707 )
2022-03-26 19:32:19 +01:00
Igor Chubin
c40859505a
Add xh to plain-text agents ( #695 )
2022-03-26 19:24:23 +01:00
Igor Chubin
8bdc54bb70
Merge pull request #692 from nathanielevan/master
...
Make "Weather:" line use Nerd Fonts with v2d/v2n, and fix v2d to use day icons
2022-01-16 18:09:09 +01:00
Nathaniel Evan
556559a151
Make v2d use WEATHER_SYMBOL_WI_DAY
2022-01-06 04:31:29 +07:00
Nathaniel Evan
2f18e8ac02
Enables Nerd Font for "Weather:" line with v2d or v2n
2022-01-06 04:30:32 +07:00
संकेत गराडे
3f936e657f
add Marathi translator name, v2 words, locale
2021-12-25 20:29:04 +09:00
संकेत गराडे
27bf3e827c
add Marathi messages
2021-12-25 19:54:01 +09:00
blakadder
9dcc90c666
remove hourly from weather for JSON j2 format
...
#661 related
Pardon my Python, I'm still a novice.
This is basically what I was thinking, strip out the hourly data completely and leave the rest.
2021-11-08 10:31:37 +01:00
bodduv
9496d30bd5
add (missing) localization for Telugu language
2021-11-07 22:42:23 +01:00
Igor Chubin
50670c677d
Add USCS support for v2 ( #376 )
2021-11-07 09:28:39 +01:00
appledora
194c249b30
new suggested docs translated
2021-11-02 14:16:49 +06:00
Igor Chubin
4f7b182e4c
Add j2 view ( #661 )
2021-11-01 11:13:00 +01:00
Igor Chubin
2b6db3a0c6
Fix minor errors
2021-10-31 21:56:50 +01:00
Igor Chubin
2c87386eea
Add AQI sites to the datasources list ( #49 )
2021-10-31 13:20:10 +01:00
Igor Chubin
0cea9d1872
Add brightsky to the datasources list ( #109 )
2021-10-31 13:07:43 +01:00
Igor Chubin
5782f4f53e
Add minor fixes
2021-10-30 17:47:43 +02:00
Igor Chubin
8a348f4546
Merge pull request #666 from appledora/lib-translation
...
Added translations for all the available strings
2021-10-30 17:40:43 +02:00