Commit Graph

133 Commits

Author SHA1 Message Date
Tom Keffer
3f3af2238a Fixed problem that caused reporting units to revert to US if they were in a
mixed unit system. Fixes issue #576.
2020-06-26 18:09:05 -07:00
Tom Keffer
791de74644 Eliminate use of logging in wee_config, allowing it to be used for installs
without syslog.
2020-05-21 14:21:42 -07:00
Tom Keffer
72718c6768 Inject types no longer calculated by default by StdWXCalculate. 2020-03-27 17:29:13 -07:00
Tom Keffer
378fbd5b31 Added newlines for readability. 2020-03-27 05:00:01 -07:00
Tom Keffer
1955033c8b Updated test_config 2020-03-26 16:49:44 -07:00
Tom Keffer
2d8886238c Offer to register the user's station on weewx.com 2020-03-26 15:47:52 -07:00
Tom Keffer
5b3bd2b5aa Fixed problem in weecfg test suite.
Caused by the lack of ordering in a dictionary.
2020-03-22 06:05:08 -07:00
Tom Keffer
47a9a214a3 Invoke wee_config to customize weewx.conf 2020-03-14 14:28:27 -07:00
Matthew Wall
58ae614537 default to simulator if no default specified 2020-02-07 13:32:05 -05:00
tkeffer@gmail.com
9ec528b252 Regression testing against older versions of configobj.
Tested against configobj V4.7.2
2020-01-06 13:04:41 -07:00
Tom Keffer
62c43357c4 Changed schema structure.
WXDaySummaryManager is now obsolete.
2019-10-20 18:11:35 -07:00
Tom Keffer
6101dd6928 Do v4.0 upgrade of weewx.conf in all cases. 2019-08-24 04:49:38 -07:00
Tom Keffer
fe2183ed56 Changed option name to loop_request. Documented it. 2019-08-21 18:08:01 -07:00
Tom Keffer
6c7017b46c Changed my mind. Don't inject a [Logging] section. If users modify it,
it could lead to unreliable troubleshooting.
2019-08-19 05:14:33 -07:00
Tom Keffer
34b2998545 Implementing the Python logging package is now pretty much complete.
Re-addresses issue #353
2019-08-17 13:03:18 -07:00
Tom Keffer
f90dd8ab7e Inject [Logging] stanza in old weewx.conf 2019-08-17 12:04:19 -07:00
Tom Keffer
32c35ce380 Port wunderfixer to the new WU API. The WU seems to no longer allow
reposting old records, so this "sort of" fixes issue #414.
2019-07-18 08:07:40 -07:00
Tom Keffer
81b9d89648 Cover case where user has manually corrected location of DegreeDays 2019-07-16 08:33:35 -07:00
Tom Keffer
abb2538c60 Fixed problem where sub-sections DegreeDays and Trend were located
under the wrong weewx.conf section. Added upgrades for V4.0.
Added tests for upgrade. Fixes issue #432.
2019-07-15 12:14:57 -07:00
Tom Keffer
afec893eb4 Do not upgrade v4 weewx.conf files to have growing_base.
At least not yet.
2019-07-09 11:48:50 -07:00
Tom Keffer
8cd9413818 Added new aggregation type 'growdeg'. Fixes issue #367. 2019-06-26 10:50:36 -07:00
Tom Keffer
f16cadeb40 Unit group "group_distance" is now a first-class group. 2019-03-12 18:13:02 -07:00
Tom Keffer
33765e5155 Got test_config working, this time with mock 2019-02-12 16:45:09 -08:00
Tom Keffer
f832719afe Got test_config working, but without mock 2019-02-12 11:18:39 -08:00
Tom Keffer
ce8415fbbc Open temp file in binary mode. Let ZipFile work with filename,
instead of file-like object.
2019-02-12 06:10:43 -08:00
Tom Keffer
6ec2db3a37 Merge branch 'master' into python3 2019-02-11 12:46:23 -08:00
Tom Keffer
b2a6f2cdac Working on weecfg 2019-02-11 12:40:33 -08:00
Tom Keffer
14ca1bd59b Port wee_debug to Py3 2019-02-10 09:00:48 -08:00
Matthew Wall
96f4547bca remove dead skin_semantics code 2019-02-08 07:45:25 -05:00
Tom Keffer
8e2d07ac56 When reading ConfigObj from a file, decode from utf-8 2019-02-07 10:20:19 -08:00
Tom Keffer
db97710daf Change import syntax for StringIO 2019-02-05 16:04:41 -08:00
Tom Keffer
c720a2eb4f Use six to import StringIO 2019-02-05 12:26:56 -08:00
Tom Keffer
f41b4d94e4 Fixed problem when upgrading [StdWXCalculate] 2019-01-28 14:31:59 -08:00
Matthew Wall
37ef1b9662 default to north pole instead of west african atlantic 2019-01-22 14:16:13 -05:00
Tom Keffer
2f30de0bca Moved [[Defaults]]. Include more options in it. 2019-01-12 12:14:51 -08:00
Tom Keffer
f3e956e1c0 print using functions 2019-01-10 17:40:20 -08:00
Tom Keffer
0b402389c6 Implement a defaults.py module. No longer patch skins.conf. 2019-01-09 09:23:17 -08:00
Tom Keffer
5cfd2ff8ba s/ObservationDefaults/Defaults/g 2019-01-05 18:15:28 -08:00
Tom Keffer
e40248965d Revert "Minor reformatting."
This reverts commit 260be6118c.
2019-01-05 18:13:34 -08:00
Tom Keffer
260be6118c Minor reformatting. 2019-01-05 18:12:23 -08:00
Tom Keffer
9f9eec4f7b Upgraded weewx.conf now has keyword 'enable' for StandardReport 2018-12-08 11:05:39 -08:00
Tom Keffer
d783438cb8 Added tests of the skin patching process. 2018-12-07 11:31:23 -08:00
Tom Keffer
cdae8a7e00 Upgrade now adds top-level log_success and log_failure to weewx.conf 2018-12-05 15:10:20 -08:00
Tom Keffer
aebc6771b7 Changed from [Defaults] to [ObservationDefaults] 2018-12-05 13:16:55 -08:00
Tom Keffer
93d6e34738 Changed comment 2018-11-29 09:53:13 -08:00
Tom Keffer
29b6a36c7a Patch extensions that have skins to V3.9 2018-11-28 11:22:00 -08:00
Tom Keffer
354456be8d Added logging to the patching process. 2018-11-28 09:28:42 -08:00
Tom Keffer
739c09c462 Added --patch-skins option to wee_config. Added to Debian post install. 2018-11-26 08:54:02 -08:00
Tom Keffer
de8ecbb5a3 s/skin_version/skin_semantics/g 2018-11-26 06:00:49 -08:00
Tom Keffer
0eaa61f60e Look in [Defaults] as well as report overrides to intuit unit system 2018-11-25 16:04:54 -08:00