Tom Keffer
ed24b0659c
Format azimuth properties as zero padded 3 digits.
...
E.g., `005°` instead of `5°`.
2023-05-24 11:01:41 -07:00
Tom Keffer
6b7e394692
Fix problem when setting Vantage repeater. Fixes issue #863 .
...
Add retransmit information for Vantage `wee_device --info` query.
2023-05-01 12:26:37 -07:00
Tom Keffer
6983a07c07
Define duration synonyms explicitly
2023-04-28 07:35:16 -07:00
Tom Keffer
7dc50e224a
Allow additional shortcuts for specifying durations
...
For example, '3h' for three hours.
2023-04-22 07:22:15 -07:00
Tom Keffer
a6ff56c5a0
Remove still more instances of "six"
2023-02-21 15:39:08 -08:00
Tom Keffer
d7c5cc1134
Remove more six dependencies.
...
Relaxes Pillow dependency to >=5.2,
the first version to support Python 3.7
2023-02-21 12:18:44 -08:00
Tom Keffer
5f9630cd29
Activate workaround for older versions of Pillow
...
Relax Pillow dependency to >=7.2.
Have genplot.py assume unicode strings.
Remove function weeutil.weeutil.to_text()
2023-02-14 16:29:35 -08:00
Tom Keffer
03688ab352
Implement weectl station upgrade-skins
2023-01-19 15:33:25 -08:00
Tom Keffer
37d5ec7ab1
Remove handler rotate.
...
Its need to access a privileged location `/var/log/weewx.log` on start
up would cause crashes, even if it was never used.
2023-01-15 04:39:13 -08:00
Tom Keffer
875216099b
Change rotate file location to /var/tmp/weewx.log
...
Apparently, it gets opened up even if it's not being used.
The filename of /var/log/weewx.log is in a privileged
area and causes a permission error.
2023-01-06 16:41:46 -08:00
Tom Keffer
fdeaa7c2c5
Mac uses syslog like any other system
2023-01-06 15:37:56 -08:00
Tom Keffer
9f2402ec25
Fix resource problem with Python 3.9+
2023-01-05 16:20:24 -08:00
Tom Keffer
95fcf53e0f
Merge branch 'master' into V5
2022-12-25 11:15:20 -08:00
Tom Keffer
56337c58cf
Fix problem where grace is still used.
2022-12-25 10:32:16 -08:00
Tom Keffer
d85fed1290
Remove all references to distutils
2022-12-23 07:07:54 -08:00
Tom Keffer
633ef4a5e9
Add some bold highlights
2022-12-22 17:10:07 -08:00
Tom Keffer
54a6b32328
Better prompts.
2022-12-18 16:55:30 -08:00
Tom Keffer
311619de79
Offer the rotate handler by default.
2022-11-17 14:43:49 -08:00
roe-dl
86f61ef5d0
test for TimespanBinder.length
2022-11-06 16:52:56 +01:00
Tom Keffer
6406ad8a38
Use int for Timespans at calendar boundaries
...
Before, there was inconsistent use of float and int for calendar
boundaries, such as the beginning of a month. Now, everything
is an int.
Related to issue #779 .
2022-07-28 05:02:51 -07:00
Tom Keffer
78668db807
Improves docstrings.
2022-07-21 11:53:02 -07:00
Tom Keffer
358dc4ea12
Fixes problem with creating the correct accumulator.
...
Introduces function weeutil.weeutil.daySpan()
2022-07-19 14:04:03 -07:00
Tom Keffer
3c56abe7a2
Rearranged functions to a more sensible order.
2022-07-16 16:12:03 -07:00
Tom Keffer
810bc1a91b
Adds more tests of archiveRainYearSpan()
2022-07-16 16:11:44 -07:00
Tom Keffer
0f558a00c1
Started process of removing 'grace' from the API of functions that determine archive spans.
...
This will allow floating point timestamps.
2022-07-16 15:29:05 -07:00
Tom Keffer
c72b5fbc92
Allow timestamps that are not integers.
...
Regression test.
Fixes issue #779 .
2022-07-01 16:59:37 -07:00
Tom Keffer
0335fd466b
Allow a custom cipher to be specified for FTP uploads.
...
See option 'cipher' under [[FTP]].
2022-06-27 07:18:16 -07:00
Tom Keffer
490dd312cf
Fix check for reuse_ssl for Python versions greater than 3.10.
...
Fixes issue #775 .
2022-06-21 07:12:39 -07:00
Tom Keffer
c06c7b442f
The Python 2 version of ListOfDicts now returns an iterator,
...
instead of a list.
NB: The iteration order of the Py2 version is the opposite of the Py3 version: it's first to last, rather than last to first.
Regression tests.
2022-02-22 06:25:55 -08:00
gjr80
458283d917
add keys() and values() methods to the python 2 ListOfDicts() class
2022-02-22 12:14:38 +10:00
Matthew Wall
78cf934850
make the show/hide flags work. fixes issue #739
2022-02-10 18:09:52 -05:00
Tom Keffer
cad519c0b8
Raise an error, not return it.
...
Also, use a type valid in the context.
Regression test.
2022-02-04 13:47:49 -08:00
Tom Keffer
4cc57ec2af
Explanation about logging on the Mac.
2022-01-30 13:04:33 -08:00
Tom Keffer
a00650583b
Add option 'boundary' to $span().
...
If set to 'midnight', then the starting time will be set to the previous midnight.
2022-01-21 15:45:27 -08:00
Tom Keffer
059473a2e0
Merge pull request #728 from gjr80/development
...
implement a 'natural' sort of field names in `to_sorted_string()`
2022-01-07 08:04:35 -08:00
gjr80
5de8da4578
fix re compilation
2022-01-07 13:08:52 +10:00
Gary
5a55e93168
refactored natural_sort_keys()
2022-01-07 13:03:29 +10:00
Tom Keffer
3d75becf46
StdQC now honors log_failure.
...
Fixes issue #727 .
2022-01-06 16:49:32 -08:00
gjr80
28736a6b89
implement a 'natural' sort of field names in to_sorted_string()
2022-01-07 10:45:13 +10:00
Tom Keffer
6907fda60e
Tests for function nominal_spans()
2022-01-04 16:26:45 -08:00
Tom Keffer
58ba10e4dc
Remove TimeSpan.__cmp__(), which is not used by Python 3.
...
We never used it anyway.
2022-01-04 16:26:09 -08:00
Tom Keffer
45db27eb72
Tests for class TimeDerivative
2022-01-04 16:06:43 -08:00
Tom Keffer
1bd9d319e3
Strip message keys and values in rsyncinfo
2022-01-04 12:58:48 -08:00
Tom Keffer
9009acd2c7
Make rsyncupload honor log_failure. Simplify.
2022-01-03 15:16:11 -08:00
Tom Keffer
68bf6c4033
Fixed bug that prevented the ssh port from being specified when using rsync.
...
Fixes issue #725 .
2022-01-02 07:35:48 -08:00
Tom Keffer
414794aa3f
Fixed silly typo.
2021-12-30 14:04:16 -08:00
Tom Keffer
1da37ff7a4
Fix potential divide by zero problem.
2021-12-27 18:01:39 -08:00
Tom Keffer
34ce4e0180
Simplify KeyDict (no idea what I was thinking).
...
Avoid using it in simple cases.
2021-12-17 13:14:42 -08:00
Tom Keffer
b5bda93d07
Removed the no-longer-used function secs_to_string().
2021-12-14 15:11:47 -08:00
Tom Keffer
d0424bdad4
Minor reformatting
2021-12-14 11:08:07 -08:00