prepare v0.6.7 w/ Retina v0.3.3

This improves authentication over RTSP.
This commit is contained in:
Scott Lamb 2021-10-20 14:59:33 -07:00
parent ad35a1ca5e
commit 985f6e675f
6 changed files with 32 additions and 26 deletions

View File

@ -6,13 +6,17 @@ changes, see Git history.
Each release is tagged in Git and on the Docker repository
[`scottlamb/moonfire-nvr`](https://hub.docker.com/r/scottlamb/moonfire-nvr).
## unreleased
## `v0.6.7` (2021-10-20)
* trim whitespace when detecting time zone by reading `/etc/timezone`.
* upgrade to Retina 0.33, with better `TEARDOWN` handling
(see [scottlamb/retina#34](https://github.com/scottlamb/retina/34)).
* (Retina 0.3.2) better `TEARDOWN` handling with the default
`--rtsp-library=retina` (see
[scottlamb/retina#34](https://github.com/scottlamb/retina/34)).
This means faster recovery after an error when using UDP or when the
camera's firmware is based on an old live555 release.
* (Retina 0.3.3) better authentication support with the default
`--rtsp-library=retina` (see
[scottlamb/retina#25](https://github.com/scottlamb/retina/25)).
## `v0.6.6` (2021-09-23)

View File

@ -35,7 +35,7 @@ There's no support yet for motion detection, no https/TLS support (you'll
need a proxy server, as described [here](guide/secure.md)), and only a
console-based (rather than web-based) configuration UI.
Moonfire NVR is currently at version 0.6.6. Until version 1.0, there will be no
Moonfire NVR is currently at version 0.6.7. Until version 1.0, there will be no
compatibility guarantees: configuration and storage formats may change from
version to version. There is an [upgrade procedure](guide/schema.md) but it is
not for the faint of heart.

View File

@ -66,7 +66,7 @@ $ sudo chmod a+rx /usr/local/bin/nvr
# Set your timezone here.
tz="America/Los_Angeles"
# or eg "scottlamb/moonfire-nvr:v0.6.6" to specify a particular version.
# or eg "scottlamb/moonfire-nvr:v0.6.7" to specify a particular version.
image_name="scottlamb/moonfire-nvr:latest"
container_name="moonfire-nvr"
common_docker_run_args=(

38
server/Cargo.lock generated
View File

@ -501,19 +501,6 @@ dependencies = [
"generic-array",
]
[[package]]
name = "digest_auth"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fa30657988b2ced88f68fe490889e739bf98d342916c33ed3100af1d6f1cbc9c"
dependencies = [
"digest",
"hex",
"md-5",
"rand",
"sha2",
]
[[package]]
name = "dirs"
version = "1.0.5"
@ -892,6 +879,21 @@ dependencies = [
"itoa",
]
[[package]]
name = "http-auth"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "805afa6c41edf02ff4643e6672810974a83c2d866be06e0c377e1789084f6a7e"
dependencies = [
"base64",
"digest",
"hex",
"md-5",
"memchr",
"rand",
"sha2",
]
[[package]]
name = "http-body"
version = "0.4.3"
@ -1210,7 +1212,7 @@ dependencies = [
[[package]]
name = "moonfire-db"
version = "0.6.6"
version = "0.6.7"
dependencies = [
"base64",
"blake3",
@ -1261,7 +1263,7 @@ dependencies = [
[[package]]
name = "moonfire-nvr"
version = "0.6.6"
version = "0.6.7"
dependencies = [
"base64",
"blake3",
@ -1870,17 +1872,17 @@ dependencies = [
[[package]]
name = "retina"
version = "0.3.2"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c9d52cea718605a7425537d1859af58d3b1ea669b5572faf481eb6fe7310da17"
checksum = "99806071cb433bda0abe688798940f64ea8412482c4049e27b924e4d78675c9a"
dependencies = [
"base64",
"bitreader",
"bytes",
"digest_auth",
"futures",
"h264-reader",
"hex",
"http-auth",
"log",
"once_cell",
"pin-project",

View File

@ -1,6 +1,6 @@
[package]
name = "moonfire-nvr"
version = "0.6.6"
version = "0.6.7"
authors = ["Scott Lamb <slamb@slamb.org>"]
edition = "2018"
license-file = "../LICENSE.txt"
@ -46,7 +46,7 @@ nom = "7.0.0"
parking_lot = { version = "0.11.1", features = [] }
protobuf = { git = "https://github.com/stepancheg/rust-protobuf" }
reffers = "0.6.0"
retina = "0.3.2"
retina = "0.3.3"
ring = "0.16.2"
rusqlite = "0.25.3"
serde = { version = "1.0", features = ["derive"] }

View File

@ -1,6 +1,6 @@
[package]
name = "moonfire-db"
version = "0.6.6"
version = "0.6.7"
authors = ["Scott Lamb <slamb@slamb.org>"]
readme = "../README.md"
edition = "2018"