Multiple users, finally! Viseron has had authentication for quite some time, but you could only create one initial admin user during the onboarding.
This release brings a new User mangement
page to the frontend, and with it a new Settings
page.
Roles
Users can be assigned different roles: admin, write or read.
See the updated documentation: https://viseron.netlify.app/docs/documentation/configuration/authentication#roles
Assign cameras
If you want to restrict what cameras each user can see, you can do so by assigning specific ones to each user.
See the updated documentation: https://viseron.netlify.app/docs/documentation/configuration/authentication#assigning-cameras
New features
- Masks can now be configured for
Post processor
. They are configured the same way as masks for object/motion detection. A new config optiondraw_post_processor_mask
is also available for the MJPEG streams in order to debug the masks - Discord notifications component, provided by @InterN0te
- Gotify notifications component, provided by @InterN0te
- New config option
use_last_snapshot_on_error
for FFmpeg/GStreamer. It allows for returning the previously retrieved snapshot for a camera incase of a flaky connection - New filter option on Events page to group cameras.
- New filter option on Events page to adjust the requested timestamp with the configured lookback.
Fixes
- Wait for file updates when shutting down and using
move_on_shutdown: true
- Fix Docker compose documentation examples
- Fix Codeproject AI Face recognition training. Previously faces were never recognized when training
- Fix Compreface failing to start when
use_subjects
was set tofalse
- Avoid reloading page when submitting login form. This caused some issues where you sometimes had to login twice
- Events are now properly sorted by timestamp in the details popup on the Events page
- When clicking on an event in the Events page, a snapshots is shown instead of video if its not available.
This calculation is now more forgiving and now has a 10 seconds grace period
Docker images will be on Docker Hub shortly
All Changes
- fix typos in docker compose examples by @roflcoopter in #930
- catch OSError when closing ffmpeg pipe by @roflcoopter in #935
- make sure we wait for file size update timers on shutdown by @roflcoopter in #934
- fix cpai face recognition training by @roflcoopter in #939
- new config option use_last_snapshot_on_error for still_image by @roflcoopter in #940
- fix mask image coordinates being reversed by @roflcoopter in #943
- Add Notification Category to Components Explorer by @InterN0te in #947
- Discord component for notifications by @InterN0te in #944
- Add Gotify notification component by @InterN0te in #941
- Post processor masks by @roflcoopter in #953
- update docs on how to add timestamp to recorded video by @roflcoopter in #954
- allow for grouping events for different cameras by @roflcoopter in #955
- better handling of compreface initialization by @roflcoopter in #962
- User management by @roflcoopter in #965
- Feature/auth improvements by @roflcoopter in #968
- assign cameras to users by @roflcoopter in #969
- properly cleanup axios interceptor and add tests for AuthContext by @roflcoopter in #970
- updated required roles for some endpoints by @roflcoopter in #972
- docs: clarification on events and timeline by @roflcoopter in #973
- add lookback adjustment when clicking on an event by @roflcoopter in #974
- Fix event sorting on the Events page by @roflcoopter in #975
New Contributors
- @InterN0te made their first contribution in #947
Full Changelog: v3.0.0...v3.1.0