8221 Commits

Author SHA1 Message Date
Tom Keffer
a87d027d71 Substitute station_type if the hardware driver does not offer hardware_name 2026-07-14 08:31:40 -07:00
Tom Keffer
3762858ea0 Merge branch 'chaunceygardiner-atomic-extension-install' 2026-07-09 05:17:13 -07:00
Tom Keffer
1a053fbfd3 Add change log entry for PR #1104 2026-07-09 05:16:12 -07:00
Tom Keffer
47eeb845c5 Merge branch 'atomic-extension-install' of https://github.com/chaunceygardiner/weewx into chaunceygardiner-atomic-extension-install 2026-07-09 05:01:59 -07:00
John Kline
6cda67067e Extension install: replace files atomically, never overwrite in place
'weectl extension install' copied each file straight onto its
destination, truncating and rewriting it in place.  A running weewxd
that holds the old file open -- in particular one that has memory-mapped
a large data file, such as a .bsp ephemeris -- dies with SIGBUS if a
page fault lands in the sub-second window while the copy is in flight.
Observed in the field: installing weewx-skyfield/weewx-celestial over a
live weewxd killed it (signal=BUS) when the install rewrote the mapped
16 MB DE421 ephemeris.

copy_files() now copies to a temporary file in the destination
directory and renames it into place with os.replace().  The rename is
atomic, and the old inode stays alive for any process still reading or
mapping it, so installing over a running WeeWX can no longer disturb
it.  Permissions are unchanged (shutil.copy sets the source's mode on
the temporary file, and the rename carries it over).

Adds a test that installs over a held-open file and asserts the held
inode is untouched while the destination becomes a new file, with no
temporary files left behind.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-08 19:17:10 -07:00
Tom Keffer
c568bfc727 ET is best translated as "Evapotranspiration"
"Verdunstung" refers more to the process of evaporation

Revisits PR #1103
2026-07-08 04:34:37 -07:00
Tom Keffer
f0729ad363 Fix problem where [StdReport] does not include HTML_ROOT.
Fixes Issue #1082.
2026-07-06 13:32:22 -07:00
Tom Keffer
83a1363f48 Fix unfortunate line break.
Add some more GitHub badges.
2026-07-05 08:24:01 -07:00
Tom Keffer
64f654703b Use yellow highlighting in Material 2026-06-28 06:57:35 -07:00
Tom Keffer
52954564cb Merge pull request #1103 from mulecram/translation_de
Update de.conf
2026-06-27 04:15:29 -07:00
marcel
790908f509 Update de.conf 2026-06-27 12:33:03 +02:00
marcel
ad4997a80f Update de.conf 2026-06-27 12:32:11 +02:00
marcel
16fe00a661 Update de.conf
a few adjustments (de)
2026-06-24 22:59:57 +02:00
marcel
858529a846 Update de.conf
a few adjustments (de)
2026-06-24 22:41:15 +02:00
Tom Keffer
5169d6380d Version 5.4.0 v5.4.0 2026-06-16 08:05:16 -07:00
Tom Keffer
13d23a6b05 feat: add report_timing option @createIfMissing
Allows a file to be generated if it is missing

PR #1097.
2026-06-15 09:27:47 -07:00
Tom Keffer
e1de223745 Merge remote-tracking branch 'origin/development' into development 2026-06-15 06:23:20 -07:00
Tom Keffer
e35d5c2e39 Added change log entry.
A few minor edits in the documentation
2026-06-15 06:19:25 -07:00
Jari Turkia
bb5516f8c7 Merge branch 'weewx:master' into rest-command 2026-06-14 23:16:02 +03:00
Tom Keffer
09442acd0c Catch exception MySQLdb.InterfaceError
Issue #1101.
2026-06-14 05:08:13 -07:00
Jari Turkia
a5de64c42d feat: If weectl rest subcommand is missing, don't spit an exception, return error message describing the problem 2026-06-13 11:28:33 +03:00
Jari Turkia
f7f25ff9be feat: Added weectl rest -command 2026-06-12 20:52:32 +03:00
Tom Keffer
ffc6d165cd Fix more links broken by Zensical v0.0.41 and later 2026-06-11 15:26:57 -07:00
Tom Keffer
31adb609ad Merge branch 'roe-dl-seasons_tags' into development 2026-06-10 17:28:54 -07:00
Tom Keffer
70d2a88aec Reword PR #1095 change log 2026-06-10 17:25:35 -07:00
Tom Keffer
b7b9573e28 Reformat 2026-06-10 17:25:09 -07:00
Tom Keffer
6719fb51e1 Merge branch 'master' into roe-dl-seasons_tags 2026-06-10 17:03:31 -07:00
Tom Keffer
1ad0f156ee Consistently use /var/tmp/weewx-test as the test directory 2026-06-10 17:02:54 -07:00
Tom Keffer
5162ddcc91 Merge branch 'seasons_tags' of https://github.com/roe-dl/weewx into roe-dl-seasons_tags 2026-06-10 16:52:28 -07:00
Tom Keffer
68d79ebe2d Fix multiple broken links unearthed by Zensical v0.0.41 and later. 2026-06-10 12:14:26 -07:00
Tom Keffer
387dfe3809 Clarify the role of tilde character in paths 2026-06-10 10:55:17 -07:00
roe-dl
3104d6c19c localization 2026-06-05 15:30:56 +02:00
roe-dl
2d84321a11 season nominal interval 2026-06-04 21:52:30 +02:00
roe-dl
d5e2f9405a tests for $season tag 2026-06-04 20:16:26 +02:00
roe-dl
da2aa81fc0 parameter seasons_ago and years_ago 2026-06-04 19:52:23 +02:00
roe-dl
fa7ca1a803 tags $seasons, $seasonsyear, iterator .seasons 2026-06-04 16:11:12 +02:00
Tom Keffer
dbd8a28619 Merge pull request #1091 from seehase/chore/enhance_cheertah_logging
Add additonal log info per executed template
2026-05-19 15:56:04 -07:00
Holger Seehausen
e26a10a205 chore: Add additonal log info per executed template 2026-05-18 09:35:55 +02:00
Tom Keffer
7330bf3de5 Fix broken link 2026-05-09 05:29:52 -07:00
Tom Keffer
fc1f9266a9 Allow duration notation to be used with option x_interval 2026-05-02 05:33:16 -07:00
Tom Keffer
506637fe95 Correct spelling. 2026-04-24 03:59:22 -07:00
Tom Keffer
818ba436bc Include PR #1087 Catalon translation in change log 2026-04-23 15:12:42 -07:00
Tom Keffer
eb4101cf50 Merge pull request #1087 from vinner21/add-catalan-translation-seasons
Add Catalan translation for Seasons skin (ca.conf)
2026-04-23 15:08:54 -07:00
vinner21
66bda1219d Add Catalan translation for Seasons skin
Proofread by Esteve Garrell Serrano
2026-04-23 23:40:08 +02:00
Tom Keffer
cb3cdd20f9 Merge pull request #1080 from zerog2k/fix-acurite-udev
Udev rules fix for acurite stations on newer kernels
2026-04-13 04:00:51 -07:00
Jens J.
92f97f718c update changelog 2026-04-12 23:10:26 -05:00
Tom Keffer
899192f942 Fix bad links in User's Guide 2026-04-12 17:31:00 -07:00
Jens J.
6450e75003 Udev rules fix for acurite stations on newer kernels
Added a workaround to unbind the hid-generic driver for Acurite devices on newer kernels, due to buggy Acurite hid implementation.

Issue widely reported with newer kernels on weewx-user list, e.g. https://groups.google.com/g/weewx-user/c/0Jiye8CmtLE/m/Bob4QRxzAgAJ
2026-04-12 12:46:42 -05:00
Tom Keffer
3462aeecf8 Replace deprecated unescape with decodeURI 2026-04-10 15:02:54 -07:00
Tom Keffer
2969cb3075 setup history widget only on index page.
Fixes problem where table headers would not display in statistics.html page.
2026-04-10 14:59:28 -07:00