* replace hwaccel None with Auto and Disabled
Choosing None for the global hardware acceleration args sent undefined, which deleted the key, so the backend default `auto` turned detection back on (VAAPI on Intel hosts). On a config without the key the save returned a 500 from the update_yaml KeyError.
Global hwaccel now offers Auto, which writes `auto`, and Disabled, which writes `[]`. Cameras get Disabled next to Inherit from global setting, and `""` and `[]` both display as Disabled. Camera-level Inherit restores the saved value instead of sending a delete for a key that may not be in the YAML, and camera export also counts as inherited when it matches the camera's own hwaccel value, since that's what the backend falls back to. The mode choice survives the remount RJSF does when the value flips between a string and a list, and every ffmpeg args field forces the split layout so a list value no longer stacks. The docs now say what Auto detects and how to turn decoding off.
* keep Manual selected when switching to it from Disabled or Auto
Choosing Manual after an unsaved Disabled or Auto sent `""`, which counts as no change, so BaseSection reset the form to the saved value and the field snapped back to the saved option. Manual now stays selected when the form falls back to the saved value, and it starts from the saved manual args when there are any, otherwise from an empty box.
* don't copy camera args into an input's Manual box
Switching an input from Preset to Manual read the saved value from the camera-level field, so the camera's manual args replaced the input's own. Input-scoped fields now have no saved value to fall back to.
* keep saved manual lists intact and scope the empty Manual box to its value
Switching back to Manual turned a saved YAML list into a string, so the round trip dirtied the form and saving rewrote the list. The cleared Manual box also followed its input index, so deleting an input showed it on the next one. Manual now restores the raw saved value, and the empty box only applies while the remembered choice still matches the current value.
* keep a cleared input's Manual box empty
Clearing an input's saved manual args after an edit reset the form to the saved value, and with no saved value for inputs the box refilled with the old text. Inputs now read their own saved value from `inputs.N`, but only while the input at that index still has the same path, so a delete or reorder doesn't pick up another input's value.
* match dev for input args and fix Inherit on list values
The per-input saved value lookup could match the wrong input (same path and roles, empty roles, or roles edited or re-added after a delete), so Preset to Manual restored another input's args. Inputs no longer read a saved value and behave like dev, which already refills a cleared box with the saved args. A cleared Manual hwaccel box also showed Disabled after a section or camera switch, and Inherit on a list-valued camera field showed Disabled or an empty Manual box because RJSF hands the unset list back as `[]`. A pending `""` now shows as Manual unless `""` is the saved value, and an Inherit choice also matches an empty list.
Currently translated at 100.0% (1410 of 1410 strings)
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (131 of 131 strings)
Translated using Weblate (Serbian (Latin script))
Currently translated at 99.8% (1408 of 1410 strings)
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (1410 of 1410 strings)
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (269 of 269 strings)
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (1409 of 1409 strings)
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (775 of 775 strings)
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (522 of 522 strings)
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (1409 of 1409 strings)
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (130 of 130 strings)
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (25 of 25 strings)
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (775 of 775 strings)
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (522 of 522 strings)
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (120 of 120 strings)
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (267 of 267 strings)
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (282 of 282 strings)
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (1409 of 1409 strings)
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (49 of 49 strings)
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (62 of 62 strings)
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (120 of 120 strings)
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (267 of 267 strings)
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (1409 of 1409 strings)
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (282 of 282 strings)
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (1409 of 1409 strings)
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (92 of 92 strings)
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (145 of 145 strings)
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (775 of 775 strings)
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (267 of 267 strings)
Co-authored-by: Background update <noreply-weblate-update@weblate.org>
Co-authored-by: Branislav Maricic <b.n.maricic@users.noreply.hosted.weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/common/sr_Latn/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/components-dialog/sr_Latn/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/config-cameras/sr_Latn/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/config-global/sr_Latn/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/config-groups/sr_Latn/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-explore/sr_Latn/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-exports/sr_Latn/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-facelibrary/sr_Latn/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-live/sr_Latn/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-replay/sr_Latn/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-settings/sr_Latn/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-system/sr_Latn/
Translation: Frigate NVR/Config - Cameras
Translation: Frigate NVR/Config - Global
Translation: Frigate NVR/Config - Groups
Translation: Frigate NVR/common
Translation: Frigate NVR/components-dialog
Translation: Frigate NVR/views-explore
Translation: Frigate NVR/views-exports
Translation: Frigate NVR/views-facelibrary
Translation: Frigate NVR/views-live
Translation: Frigate NVR/views-replay
Translation: Frigate NVR/views-settings
Translation: Frigate NVR/views-system
Currently translated at 89.2% (1259 of 1410 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 89.6% (695 of 775 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 90.4% (472 of 522 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 89.3% (1259 of 1409 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 89.6% (695 of 775 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 90.4% (472 of 522 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 64.5% (182 of 282 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 89.3% (1259 of 1409 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 76.9% (100 of 130 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (129 of 129 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 89.2% (240 of 269 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (500 of 500 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 96.8% (62 of 64 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 89.6% (695 of 775 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 90.4% (472 of 522 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 89.3% (1259 of 1409 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 76.9% (100 of 130 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 98.5% (67 of 68 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (50 of 50 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (500 of 500 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 93.8% (46 of 49 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 96.8% (62 of 64 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 89.6% (695 of 775 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 90.4% (472 of 522 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (141 of 141 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 89.3% (1259 of 1409 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 96.7% (60 of 62 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (145 of 145 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 98.5% (67 of 68 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 89.1% (107 of 120 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 93.8% (46 of 49 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 89.6% (695 of 775 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 90.4% (472 of 522 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (141 of 141 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 64.5% (182 of 282 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 89.3% (1259 of 1409 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 76.9% (100 of 130 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 98.5% (67 of 68 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 89.1% (107 of 120 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (500 of 500 strings)
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: fascinate722 <fascinate722@users.noreply.hosted.weblate.org>
Co-authored-by: 蘭蘭露 <flandretw@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/audio/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/common/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/components-camera/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/components-dialog/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/config-cameras/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/config-global/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/objects/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-classificationmodel/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-events/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-explore/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-facelibrary/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-live/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-motionsearch/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-replay/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-settings/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-system/zh_Hant/
Translation: Frigate NVR/Config - Cameras
Translation: Frigate NVR/Config - Global
Translation: Frigate NVR/audio
Translation: Frigate NVR/common
Translation: Frigate NVR/components-camera
Translation: Frigate NVR/components-dialog
Translation: Frigate NVR/objects
Translation: Frigate NVR/views-classificationmodel
Translation: Frigate NVR/views-events
Translation: Frigate NVR/views-explore
Translation: Frigate NVR/views-facelibrary
Translation: Frigate NVR/views-live
Translation: Frigate NVR/views-motionSearch
Translation: Frigate NVR/views-replay
Translation: Frigate NVR/views-settings
Translation: Frigate NVR/views-system
Currently translated at 100.0% (1410 of 1410 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (131 of 131 strings)
Translated using Weblate (Serbian)
Currently translated at 99.8% (1408 of 1410 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (1410 of 1410 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (269 of 269 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (775 of 775 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (522 of 522 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (1409 of 1409 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (25 of 25 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (775 of 775 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (522 of 522 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (1409 of 1409 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (130 of 130 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (120 of 120 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (267 of 267 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (282 of 282 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (1409 of 1409 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (49 of 49 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (62 of 62 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (267 of 267 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (1409 of 1409 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (775 of 775 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (522 of 522 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (282 of 282 strings)
Translated using Weblate (Serbian)
Currently translated at 87.5% (1233 of 1409 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (49 of 49 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (92 of 92 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (145 of 145 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (267 of 267 strings)
Co-authored-by: Background update <noreply-weblate-update@weblate.org>
Co-authored-by: Branislav Maricic <b.n.maricic@users.noreply.hosted.weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/common/sr/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/components-dialog/sr/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/config-cameras/sr/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/config-global/sr/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/config-groups/sr/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-explore/sr/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-exports/sr/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-facelibrary/sr/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-live/sr/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-replay/sr/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-search/sr/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-settings/sr/
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-system/sr/
Translation: Frigate NVR/Config - Cameras
Translation: Frigate NVR/Config - Global
Translation: Frigate NVR/Config - Groups
Translation: Frigate NVR/common
Translation: Frigate NVR/components-dialog
Translation: Frigate NVR/views-explore
Translation: Frigate NVR/views-exports
Translation: Frigate NVR/views-facelibrary
Translation: Frigate NVR/views-live
Translation: Frigate NVR/views-replay
Translation: Frigate NVR/views-search
Translation: Frigate NVR/views-settings
Translation: Frigate NVR/views-system
Notice ids went into the URL path, and nginx decodes the path, merges slashes, and resolves dot segments before proxying. A detector named zmq:tcp://host:5555 came through as tcp:/host, so its notice 404'd and couldn't be acknowledged or muted. The same happened to failed_login notices for usernames containing // or /../. Acknowledge, mute, and unhide now take the id in a JSON body at /notices/acknowledge, /notices/mute, and /notices/unhide.
* encode notice ids in notice action urls
Notice ids went into the URL raw, so a detector on a repeated device like openvino:GPU#2 had everything after the # dropped as a fragment. The acknowledge, mute, and unhide requests 404'd and the buttons did nothing. The hooks now encode the id.
* re-sweep a replaced media volume despite the ownership sentinel
The boot sweep skipped whenever the sentinel in /config matched, so wiping or swapping /media/frigate while keeping the config volume left the new root-owned folder unswept and Frigate failed to create /media/frigate/recordings. The sentinel is now honored only when each volume root is still owned by the runtime user. Filesystems that accept chown without applying it (CIFS without setuids) get an unmanaged sentinel after a clean sweep so they don't re-sweep on every boot.
* don't seed relative move translation from a status without position
* disable relative movement when the camera doesn't report its position
* stop at startup when the database location isn't writable
The ownership sweep only covers /config and /media/frigate, so a database.path on another volume stayed root-owned after upgrading and Frigate boot-looped on a SQLite error. Frigate now checks the database directory and files before opening them and exits with an error naming the path, the runtime uid/gid, and the new docs section. backup.db is checked only when a migration is about to write it.
* add note about explicit detect resolution
* track where each camera's detect resolution came from
The health tab's stream check told users to set the detect resolution whenever a probe returned no size, even when they had already set it, and a camera running on the 1280x720 fallback after a failed startup probe was never flagged unless the stream check was run by hand. The config now records whether the resolution came from the config, a startup probe, or the fallback, and /api/config exposes it per camera. The stream check skips the probe warning when the resolution is set, a camera on the fallback gets a detect settings warning that also shows on the health tab, and cloning detect from a fallback camera no longer copies the fallback size.
* don't strip the fallback detect size when cloning
* free tracker state when an object is deregistered
deregister() removed the object from tracked_objects, disappeared and track_id_map but left its entries in positions, stationary_box_history and the stationary classifier's four per-object dicts, including a 96x96 anchor crop for every object that went stationary. Every object tracked since the camera process started stayed in memory. deregister() now pops those entries and calls a new StationaryMotionClassifier.forget() to clear the classifier's state.
* avoid opencv path leak on recurring image writes
OpenCV 4.11's Python bindings keep a reference to every path string passed to cv2.imwrite or cv2.imread (opencv/opencv#28047, fixed in 4.13, which needs numpy 2). Callers that write on every frame or event leaked one string per call for the life of the process, about 8 MB a day from preview frames on two cameras. New write_image and read_image helpers encode and decode in memory and do the file I/O through numpy, so OpenCV never sees the path. Preview frames, review and event thumbnails, face and classification training attempts, and the offline preview frame read now use them.
* Read back zoom level after returning to preset
The camera is idle when the track ends, so motor_stopped is still set
after GotoPreset and the status loop meant to update the zoom level
never runs. The next track then starts from the previous track's zoom
level, and in absolute zooming mode its first move zooms back to it.
Clear motor_stopped first, as calibration does after its preset moves.
* Don't block maintenance on the preset status wait
If the camera stops responding when the track ends, get_camera_status
never sets motor_stopped and the wait after the preset move loops
forever. run() waits on camera_maintenance, so every other camera
stalls with it. Drop the wait and let the status check at the top of
maintenance read the zoom level back, once per pass.
* Don't send the stored zoom level on the initial absolute move
A track that starts before maintenance has read the zoom back from the
return preset still sees the previous track's level, and the initial
move sent it as an AbsoluteMove after pan/tilt. Zoom 0 skips the zoom
on the initial move, which is what it was meant to do, and the next
move works from the level read after pan/tilt.
* Drop the motor_stopped clear after returning to preset
The zoom = 0 change on the initial move fixes the stale zoom on its own. Clearing motor_stopped there made a track that starts mid-return have its first move refused and recorded with a start time of 0. The removed wait never polled, as motor_stopped is still set from the wait before the preset move.
The object_processing_behind notice fired after 5 dropped frames in 30 seconds per camera, which doesn't scale with detect fps, tripped on a single short stall, and never resolved. Camera processes now track a dropped frame rate, exposed as dropped_fps and dropped_pct in /api/stats, and the stats emitter raises one system notice when drops stay at or above 5% for over a minute, the same rule as skipped detections. The queue hand-off uses put_nowait so a camera that loses the race for the last slot counts a drop instead of blocking and showing up as skipped frames. Also adds a troubleshooting section to the cpu docs explaining the notice.
easimon/maximize-build-space ran from a branch, and the lowercase and manifest actions ran from mutable tags, inside jobs that push images and mint build attestations. The release workflow also ran skopeo from its latest tag with the push credential mounted. The actions are now pinned to commit SHAs with version comments so Dependabot still bumps them, the lowercase action is replaced with ${GITHUB_REPOSITORY,,}, and skopeo is pinned by digest. ci.yml, release.yml, pull_request.yml and stale.yml now declare explicit token permissions instead of relying on the repository default.
* only add the ipv6 listener for wildcard listen addresses
With IPv6 enabled, nginx also listened on [::] for both ports regardless of the configured listen address, so an internal port bound to 127.0.0.1 or [::1] was still reachable on every IPv6 address, and a [::]:port value rendered a duplicate listen that kept nginx from starting. The [::] listener is now added only for a bare port, *:port or 0.0.0.0:port, and a specific address binds only that address.
* mark authorized media responses private in nginx
* skip deleted users when cleaning up expired push subscriptions
Cleaning up expired push subscriptions raised DoesNotExist when the user had been deleted, so the expired list never reset, other users' dead endpoints were never pruned, and every later alert logged a traceback until restart. Cleanup now skips missing users and malformed stored tokens, and swaps the expired list out under a lock shared with the sender thread so the two no longer race.
* serialize push subscription cleanup and test malformed tokens
* deny admin-only media to viewer
The media auth check allowed any role without a camera list before it looked at admin-only paths, so viewer could list and download the face library, classification train and dataset images, and GenAI request frames from /clips/ even though the matching API routes and UI pages are admin-only. Admin-only paths are now denied to every non-admin role before that check.
* admin-only frigate+ frame upload
the UI already hides this so this is just to fix the endpoint
* scope review lookup by event id to allowed cameras
The review lookup by event id matched the id with GLOB, so wildcard characters in the id matched other ids, and the camera check ran on whichever row matched first, returning a 403 that named a camera the user can't access. The id now matches literally and the query only searches the user's allowed cameras, so a review item on another camera returns the same 404 as a missing one.
* fix test
* fix boot sentinel and usb device grant edge cases
- Exclude /config/.permissions_version from every fix-ownership sweep. The granular root per-boot /config sweep ran without --sentinel and chowned the root-owned sentinel to PUID, so safe-sentinel rejected it on the next boot and /config and /media/frigate were fully re-swept on every boot
- Only grant real directories and char devices under /dev/bus/usb, and pass -P when setting the default ACLs, so a symlink in a host-backed usb tree is never followed by root
- Open the sentinel with O_NONBLOCK on read so a FIFO at that path fails the regular-file check instead of hanging the boot
- Assert in CI that the sentinel stays root-owned across a granular restart and that a symlink under /dev/bus/usb is not followed
* tweak ci