gjr80
97ead17618
add Totals panel to Seasons skin
2021-08-12 23:34:11 +10:00
Tom Keffer
bbef2e7095
Flattened the locale files for the Seasons skin.
...
This makes them easier to maintain.
Also, standardized how entries appear in the .conf files.
2021-08-10 16:48:13 -07:00
Tom Keffer
11b795ba45
Davis documentation for LOOP2 10-minute wind gusts is wrong. The Vantage
...
actually emits mph, not tenths of mph. Changed driver so it now decodes the
field correctly. Fixes issue #686 .
2021-08-07 16:43:24 -07:00
Tom Keffer
57a4eee26d
Fixed problem where a bad clocket packet could crash the WMR100 driver.
2021-06-28 16:18:12 -07:00
Tom Keffer
10721fbfa9
V4.6.0a4
2021-05-30 17:39:24 -07:00
Tom Keffer
0435b82b75
Accept unit systems 'us', 'metric', or 'metricwx'.
...
Change wee_config option --units to --unit-system.
2021-05-30 17:39:09 -07:00
Tom Keffer
ec958a0658
In the event of a CannotCalculate exception, set value to None,
...
rather than leaving it unchanged.
2021-05-28 10:08:51 -07:00
Tom Keffer
13b884eba9
Changed from option "units" to "unit_system".
2021-05-27 10:31:17 -07:00
Tom Keffer
f135b6bb60
Add context "brief_delta" for short changes.
...
Such as change in daylight from yesterday.
2021-05-27 09:20:30 -07:00
Tom Keffer
7fb496f801
V4.6.0a3
2021-05-24 10:06:26 -07:00
Tom Keffer
30b16de848
Simplified PR #673 . Documented it in change log.
2021-05-24 09:58:26 -07:00
roe-dl
821091396b
Support for canonical URL <link rel="canonical" … /> ( #671 )
...
* tag $filename for <link rel="canonical" href="$station.station_url/$filename" />
* added in doc
* added canonical url to Seasons skin
* added canonical url to Standard skin
2021-05-24 07:36:18 -07:00
gjr80
51c49b967d
add kwargs to XType get_scalar() and get_series() signatures to support complex imagegenerator plots ( #673 )
...
* add kwargs to XType get_scalar() and get_series() signatures
* pass plot options to get_series() to support complex plots
2021-05-23 18:33:25 -07:00
Tom Keffer
2ec4bf1325
Install now sets option 'units'.
...
The unit system is no longer intuited by settings in [[Defaults]].
V4.6.0a2
2021-05-22 14:08:09 -07:00
gjr80
e472e402e9
refer issue #648
...
- better handle cases where `--calc-missing` tries to create a `StdWXCalculate` service object that uses a non-existent binding
- `--calc-missing` now handles archive table names other than 'archive'
- provide better user feedback if the binding specified by `--binding` does not exist
2021-05-22 16:39:30 +10:00
gjr80
91c1c30e00
- log StdWXCalculate data binding and warn in the log if it differs from the StdArchive data_binding
...
- document the StdWXCalculate data_binding config options
2021-05-22 10:49:30 +10:00
Tom Keffer
256c5581f5
Moved get_languages() and pick_languages()
2021-05-18 17:31:56 -07:00
Tom Keffer
7931361a20
Better error messages when the lang file cannot be read.
2021-05-18 17:30:52 -07:00
Tom Keffer
047d1a8385
Fixed bug for installation scripts that don't auto-configure.
2021-05-18 17:29:59 -07:00
Tom Keffer
09ec2d5121
Leverage new tags "visible" and "visible_change"
2021-05-18 12:11:08 -07:00
edi-x
b35d52b5e9
Clean shutdown for wxxtype services ( #672 )
...
* Changed shut_down functions to shutdown according to parent class
* Corrected function names to camelCase
2021-05-18 09:32:36 -07:00
Tom Keffer
ac4464399c
Added almanac attribute visible_change. Documented. Tested.
...
Special recognition of 24hours
2021-05-18 09:19:16 -07:00
Tom Keffer
d0d4f3faaf
Refactored, so AlmanacBinder now holds a reference to Almanac.
...
Added attribute "visible".
2021-05-17 17:41:50 -07:00
Tom Keffer
9db471dcc1
Moved class Gettext from gettext.py to cheetahgenerator.py.
...
Deleted gettext.py. It was colliding with the python library module of the same name.
2021-05-17 15:25:53 -07:00
Tom Keffer
1a2c89a4ad
Example "basic" now modifies its language code.
2021-05-11 05:10:26 -07:00
Tom Keffer
d9c5848f37
Checkpoint, while working on the example "basic".
2021-05-10 16:25:36 -07:00
Tom Keffer
13010f1162
Reformatted
2021-05-10 07:58:27 -07:00
Tom Keffer
8e4793e0f1
Imagegenerator now uses translated texts.
2021-05-09 09:13:31 -07:00
Tom Keffer
f255fe56ab
Internationalized the Smartphone skin.
2021-05-07 12:25:51 -07:00
Tom Keffer
bc03a99409
Tests for $gettext
2021-05-05 16:09:40 -07:00
Tom Keffer
403a86d336
Changed strategy when gettext is keyed with a missing key.
...
Now uses a modified KeyDict.
2021-05-04 11:20:42 -07:00
Tom Keffer
fa9c552b9a
Fixed bug where units is not specified.
2021-05-03 05:20:35 -07:00
Tom Keffer
8670d2ada4
Fixed some problems under Python 2.
...
Fixed problems when 'lang' is not present.
Changed weewx.conf option from 'units_base' to 'units'.
Simplified.
2021-05-02 14:17:26 -07:00
Tom Keffer
3d0f162ca9
Merge branch 'master' of https://github.com/roe-dl/weewx into i18n
2021-05-02 10:51:59 -07:00
roe-dl
1ce6fe48f7
transfer gettext() to dict gettext[]
2021-05-02 16:41:30 +02:00
roe-dl
041e252847
changes according to review
2021-04-27 17:38:38 +02:00
Tom Keffer
10046bab72
Print LOOP packets on CRC error if debug>1.
2021-04-26 16:17:00 -07:00
roe-dl
d8a0d46af5
little change
2021-04-26 15:21:01 +02:00
roe-dl
ff71a145c2
more code improvements
2021-04-26 14:14:39 +02:00
roe-dl
3357034e4d
code improvements
2021-04-26 11:05:23 +02:00
roe-dl
710dc31481
added and corrected comments in reportengine.py
2021-04-25 17:22:15 +02:00
roe-dl
02e0b6e5e5
further changes to gettext.py
2021-04-25 16:43:51 +02:00
roe-dl
44e2f14dc5
target_unit removed; only unit_system remains; reviewed gettext.py (not complete)
2021-04-25 15:54:47 +02:00
roe-dl
c12d7b6d1f
localize Seasons skin RSS; METRICDE removed
2021-04-24 20:07:02 +02:00
Tom Keffer
96f7220949
Merge branch 'master' into development
2021-04-23 17:26:31 -07:00
Tom Keffer
4fd4761699
Refactored to allow get_readings() to be used externally.
2021-04-23 17:25:43 -07:00
roe-dl
44025686c8
target_unit/unit_system, bugfixes
2021-04-23 21:35:07 +02:00
Tom Keffer
549407a022
Mocked up serial port for test of Ultimeter driver.
...
Minor refactoring of driver.
2021-04-23 07:48:22 -07:00
roe-dl
a98b55aa34
$text() removed, point 1 done with that
2021-04-21 07:02:06 +02:00
roe-dl
8b59c633a7
some bugfixes
2021-04-20 21:57:25 +02:00