3.1
A few fixes in this patch release.
The main one relates to speedtest. When it times out a connection to a server to use for the 'ping' test, on failure it adds an arbitrary 3600 seconds to the reported time, so if it fails to connect to three hosts then it reports the ping time as 30 minutes, when in reality it would have timed out a ping probe at 10 seconds. Added some code in so that we reject anything over 5000ms, as speedtest does itself.
Removed some code where secrets could be passed in as environment variables, as in reality it's no more secure than keeping settings.yaml secure, which we'd need to do anyway since the settings could be kept in there either way.
At the same time made a change so that if a log file wasn't writable, we'll handle that cleanly.
What's Changed
- Turn an unwritable logfile into a clean ConfigError instead of a raw traceback by @GavinLucas in https://github.com/GavinLucas/send-to-influx/pull/34
- Add gh-pages ruleset support: commit signing + release/feature ruleset docs by @GavinLucas in https://github.com/GavinLucas/send-to-influx/pull/35
- Remove the INFLUX_TOKEN/INFLUX_PASSWORD env-var secrets mechanism by @GavinLucas in https://github.com/GavinLucas/send-to-influx/pull/37
- Update mypy requirement from ~=2.1.0 to ~=2.2.0 by @dependabot[bot] in https://github.com/GavinLucas/send-to-influx/pull/38
- Reject implausible Speedtest ping values instead of writing them to InfluxDB by @GavinLucas in https://github.com/GavinLucas/send-to-influx/pull/39
Full Changelog: GavinLucas/send-to-influx@3.0...3.1