288 Commits

Author SHA1 Message Date
Matthew Wall
14cbfbade9 bump to 5.0.2 and update changelogs 2024-02-10 02:03:49 -05:00
Tom Keffer
6eb73a6608 Add target network-online.target to the weewx systemd unit files
Prevents `weewxd` from starting until the network is ready.
2024-02-07 12:54:49 -08:00
Matthew Wall
d63b8002b2 make station prompts consistent. do not emit daemon setup suggestion, since it is in the docs and more appropriate there. 2024-02-04 16:35:26 -05:00
Tom Keffer
d57fbaf9e1 Use a context manager to change working directory in reportengine
More robust to exceptions being raised in report generation.

Include lightly more debug diagnostics
2024-02-04 11:07:15 -08:00
Tom Keffer
5c5fd9c67e Fix problem that prevented test suites from running correctly 2024-02-04 10:51:46 -08:00
Tom Keffer
218085303e Fix problem that prevented debug statements from being logged 2024-02-01 11:27:17 -08:00
Tom Keffer
9625c65179 Fix typo in format specifier 2024-01-27 16:14:24 -08:00
Tom Keffer
9455fa1716 Add rain=prefer_hardware under Delta comments 2024-01-27 15:22:52 -08:00
Tom Keffer
d1ac83bc59 Fix problem with rebuilding daily summaries with dropped columns
If a column was dropped from a database using
weectl database drop-columns, then its daily summaries rebuilt, user
would get a "table already exists error."
2024-01-26 15:47:21 -08:00
Tom Keffer
a981d82446 Remove no longer needed (or never used) class TimeDerivative 2024-01-24 15:45:59 -08:00
Tom Keffer
dbb9e27e87 Back to Traditional Chinese
Simplified Chinese will be added when we have country codes working
2024-01-24 05:25:24 -08:00
Tom Keffer
9b2e2dbdc6 Revert "Change Chinese language translation from Traditional to Simplified"
This reverts commit 5b7df7b72a.
2024-01-24 05:21:00 -08:00
Tom Keffer
ae3801992c print correct path to config file
Fixes issue #921
2024-01-23 05:00:55 -08:00
matthew wall
67c6516199 remove misleading periods. adjust extension installer feedback regarding config file 2024-01-22 22:17:34 -05:00
matthew wall
f6ca5cf5f4 update version and changelogs 2024-01-22 20:31:15 -05:00
Tom Keffer
9a9d045216 Correct docs and attribution for cn->zh change 2024-01-21 12:46:20 -08:00
Tom Keffer
5b7df7b72a Change Chinese language translation from Traditional to Simplified 2024-01-20 15:15:04 -08:00
Tom Keffer
e54801e2c0 Chinese language code changed to zh. Fixes issue #912. 2024-01-20 15:12:22 -08:00
Tom Keffer
8202ecf167 Allow the --config option to use of the tilde (~) prefix 2024-01-19 17:29:24 -08:00
Tom Keffer
2357a5be49 Merge pull request #919 from aslak47/Norwegian
Minor corrections to Norwegian translations
2024-01-19 14:04:55 -08:00
Tom Keffer
d62c8c3644 Do not insert api_key when upgrading config files
V5 config files do not contain api_key.
2024-01-19 14:02:36 -08:00
Aslak Vaa
d4306f5509 Uppercase first letter 2024-01-19 16:00:58 +01:00
gary
2c776a0bb6 bump weectl import required WeeWX version to 5.0.0 2024-01-19 10:22:19 +10:00
Tom Keffer
5374035861 Fix problem with weectl device when using installed drivers
Fixes issue #918
2024-01-17 14:47:11 -08:00
Tom Keffer
b6e027d6ac Fix issue with installs into V4 config files
Requires patching WEEWX_ROOT at runtime
2024-01-17 12:28:23 -08:00
Tom Keffer
0573e3731b Include backwards compatible reference to UnknownType 2024-01-15 13:29:11 -08:00
matthew wall
be78267798 fixed typo in setup daemon 2024-01-15 07:37:13 -05:00
Aslak Vaa
75a1d3276f Merge branch 'master' into Norwegian 2024-01-15 08:13:21 +01:00
matthew wall
f4f09e20ce bump to 5.0.0 2024-01-14 11:39:43 -05:00
Tom Keffer
afdd2b4e4c Test for missing aggregate_interval 2024-01-14 07:10:34 -08:00
matthew wall
9131510b0c added check_init to provide feedback about potential conflics 2024-01-14 09:13:32 -05:00
Tom Keffer
c83222e6e7 Include missing import 2024-01-13 14:07:49 -08:00
Tom Keffer
bd01cc2805 Eliminate never-reached statement
"skip" must always be False, so the exception always gets reraised.
No need to catch it in the first place.
2024-01-13 14:07:27 -08:00
matthew wall
5c23a23518 remove redundant udev rules. added comments about udevadm. 2024-01-13 08:58:25 -05:00
matthew wall
a91c9c7a71 use 24c0 instead of 24C0 for acurite udev rules 2024-01-12 22:01:52 -05:00
Tom Keffer
87f542168c Make StdWXCalculate swallows TypeError and NameError exceptions.
This is the V4 and earlier behavior.

The code was failing with partial packets because it was insisting on
all variables being present in every packet.
2024-01-09 16:37:58 -08:00
Tom Keffer
7e8d8d74a8 Fix test suites to use read_config(). 2024-01-09 14:41:06 -08:00
Tom Keffer
c666f66cae Use read_config, even when upgrading. 2024-01-09 14:13:14 -08:00
Tom Keffer
125caebf77 Correctly detect a downloaded zip file
Add regression test.

Fixes issue #916
2024-01-09 13:05:10 -08:00
Tom Keffer
5472b4e308 Get rid of a couple of images that are not needed
Speeds up test suites
2024-01-07 17:32:43 -08:00
matthew wall
46884349d2 bump to 5.0.0rc3 2024-01-07 13:32:17 -05:00
Tom Keffer
0c8ab8c699 Allow the user to override USER_ROOT. 2024-01-07 08:05:16 -08:00
Tom Keffer
c9bd7a153c Set USER_DIR to '/etc/weewx/bin/user' if WEEWX_ROOT is '/'
Allows user extensions to be found for pre-V5 package installations.
2024-01-07 08:02:32 -08:00
Tom Keffer
56885c22ac Eliminate unused versionn of extract_roots() 2024-01-07 08:00:45 -08:00
Matthew Wall
076aa258aa do not do runtime patching of weewx.conf for /-to-/etc/weewx 2024-01-07 08:39:48 -05:00
Matthew Wall
c50f1685dc debian says no escape codes in sh script (only bash?). lintian tweaks. 2024-01-07 01:13:19 -05:00
matthew wall
6df5a86997 0.0 instead of 0.00 (eliminates superfluous diff items when comparing conf updates/changes). make conf comments consistent and 80-column-friendly (as per debian guidelines, not just mwall workflows ;). 2024-01-06 11:48:47 -05:00
Tom Keffer
b701488e25 Bring documentation options up to date with the code
Alphabetize options
2024-01-05 17:09:46 -08:00
Tom Keffer
b46b859d88 Change --no-prompt to --yes
Because it's actually a confirmation
2024-01-05 15:47:27 -08:00
Tom Keffer
577509f7fd Fix bug that could cause WEEWX_ROOT to be None 2024-01-05 15:46:16 -08:00