mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-24 22:37:08 +03:00
2b4b1fdb8ea05c971e72db4feb358b1d094520b6
6710
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
2b4b1fdb8e |
Plus rate limit handling (#25075)
* Raise a rate limit error when Frigate+ returns 429 The shared session's urllib3 Retry honored Retry-After by default, so a 429 on a GET or PUT blocked the calling thread for up to ten times the requested wait (and fell back to exponential backoff for Retry-After: 0) before failing with a generic error. Stop honoring Retry-After in urllib3 and raise PlusRateLimitError with the parsed wait instead. Retry-After is parsed as either delay-seconds or an HTTP date per RFC 9110. While the wait is in effect, further requests are refused locally rather than sent to Frigate+ again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Don't save a failed Frigate+ model download as the model The model download never checked the response status, so an error body (a 429 from the download host, for example) was written to the model cache. Only the file's existence is checked on later starts, so the error page was loaded as the model from then on. Raise a config error instead of writing the file, and explain a Frigate+ rate limit at startup with how long to wait when it is known. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Report a rate limited Frigate+ key validation A 429 while validating the API key was reported as "unreachable". Add a rate_limited status that records the Retry-After wait, skip asking the server again while that wait is in effect, and include the remaining seconds in the /plus/validate response. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Return 429 from the API when Frigate+ is rate limiting Submitting an event, frame, or false positive reported a rate limit as a generic 400 upload error, and listing models failed with a 500. Return a 429 with the wait in retry_after and the Retry-After header so the UI can tell the user how long to wait. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Show Frigate+ rate limits in the UI Tell the user Frigate+ is rate limiting requests, and how long to wait when the server said, instead of a generic failure: - submitting a tracked object or false positive (explore and the review dialog), a frame from the player, or a frame from tracking details - validating the API key in Frigate+ settings - the Frigate+ model list in detection model settings and the setup wizard The frame upload from the player also showed failures with a success toast, and since axios rejects on error statuses it never reached that branch at all, so failed uploads showed nothing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Let a failed Frigate+ annotation be retried send_to_plus saved plus_id as soon as the image uploaded, so when the annotation then failed (a rate limit, for example) every retry was refused with "Already submitted to plus" and the image stayed without its annotation. Keep the uploaded image id in the event's data until the annotation succeeds, and only then set plus_id. A retry reuses that image instead of uploading it again, and since plus_id is still unset the UI already offers the retry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Keep the longest Frigate+ wait when replies overlap Requests to Frigate+ run on several threads. When two were refused at once, a reply with a shorter Retry-After that was handled last replaced the longer wait, so requests were sent again before Frigate+ allowed it. Only move the deadline later, under a lock. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Include days in Frigate+ rate limit waits formatSecondsToDuration only formats hours, minutes and seconds, so a wait of a day or more lost its days: 90000 seconds read as "1 hour". Format the wait from whole days down instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Keep the Frigate+ rate limit lock out of the client The config holds the Frigate+ client and is pickled to start worker processes from the forkserver. The lock added to PlusApi can't be pickled, so worker startup failed with "cannot pickle '_thread.lock' object", with or without a Frigate+ key. Use a module level lock instead. Rate limit state is per process, so one lock per process is all that's needed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: frigate-agents[bot] <356735177+frigate-agents[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
f45fae1ef5 |
Limit data sent to non-admin users (#25063)
* limit config, stream, stats, and metrics data for non-admin users Non-admin users received data they never use in the UI: credentials embedded in camera paths, ffmpeg args, and go2rtc settings that the masking regex missed, process command lines over the websocket stats topic, every camera's metrics, and custom classification names for objects their cameras don't track. - /config drops input paths, ffmpeg args, ffmpeg_cmds, webui_url, genai base_url and provider_options, and go2rtc sections other than stream names and webrtc for non-admins, and redacts profile notification emails - /go2rtc/streams returns only producer medias to non-admins - websocket and REST stats share one helper that strips cmdline and bandwidth_usages for non-admins - /metrics requires admin - custom classification categories only attach to labels the allowed cameras track * trim go2rtc stream metadata types to producer medias |
||
|
|
50b976889b |
Harden chat tool approvals (#25062)
* use server-generated tool call ids and drop remote images from chat messages Chat write-tool approvals were keyed by the provider's tool call id, but Gemini uses the function name as the id and Ollama falls back to call_0, call_1, so a later or repeated write call in the same request reused an earlier approval and ran without a prompt. Each tool call the model returns now gets a unique server-generated id, and the Gemini plugin resolves a tool result's function name from the assistant's tool calls instead of from the id. Client message content now keeps only text parts and data:image/ image parts, so OpenAI-compatible servers and llama-server are never handed a remote URL to fetch. * remove client image filter from chat messages |
||
|
|
212ebca746 |
Tighten proxy role resolution (#25064)
* deny proxy users whose role can't be resolved instead of falling back to viewer Proxy role resolution fell back to viewer, which grants every camera, in several accidental cases. A default_role that was misspelled, null, or named a deleted role became viewer. A role_map group whose mapped role had been deleted (for example, emptied by a camera delete) got the default role. Direct role headers were lowercased but compared to case-sensitive role names, so a custom role like Garage never matched, and a custom role named Admin resolved to the built-in admin. - match header values, default_role and role_map roles against configured roles regardless of case - deny when default_role or a matched role_map role doesn't exist, and warn at config load for an unknown default_role - reserve admin and viewer in every casing and reject role names that differ only by case, in config validation and the Create Role dialog - show a null default_role as none in the settings widget * normalize a null proxy default_role to none /config drops null fields, so the settings form filled in viewer for a null default_role while /auth denied those users. The config now stores a null default_role as none, which the API returns and the widget shows, and the unreachable null branch in the widget is removed. |
||
|
|
4554b93cbe |
normalize whitespace in custom export ffmpeg args (#25065)
The custom export validator tokenized args on any whitespace, but the export command was built by splitting on single spaces, so repeated spaces, tabs, or newlines produced a different argv than the one that was validated. The exporter now rejoins custom args with single spaces so ffmpeg receives exactly the tokens the validator checked. |
||
|
|
952ff4a076 |
Match preview frames to exact camera (#25067)
* match preview frames to the exact camera
Current-hour preview frames were selected with a "preview_{camera}-" prefix match, so a camera whose name extends another with "-" (front and front-door, cam and cam-2) had its frames included in the other camera's frame listing, preview GIF and MP4, and preview export. The frames listing, the GIF and MP4 routes, and the preview export now filter with is_camera_preview_frame.
* start preview frame tests ahead of now
|
||
|
|
764ab2c4f0 |
remove a deleted camera's recordings from disk (#25071)
Camera delete removed RECORD_DIR/<camera> and CLIPS_DIR/<camera>, but recordings live under RECORD_DIR/<date>/<hour>/<camera>, so the camera's segments stayed on disk after their rows were deleted and nothing reclaimed them. Neither path holds per-camera data, so they only matched when a camera name collided with something else, like a classification model's dataset, the thumbs or faces folders, or a date-named recordings folder. Delete now removes the <camera> and <camera>@sub folders under each recordings hour, plus the camera's thumbs, previews, lpr, and triggers folders. |
||
|
|
18bc2c6570 |
Event cleanup fixes (#25072)
* keep event cleanup running and fix storage usage keys - Event cleanup ran with no exception handling inside its loop, so one error (a camera added or removed while it iterated the shared cameras dict, a DB error, a thumbnail unlink failure) ended event and snapshot retention until restart. Each cycle is now guarded, camera iterations use a snapshot, and thumbnail unlink errors are caught - Camera keys were captured once at startup, so a camera added at runtime also matched the removed-camera branch and its events could expire early under the global retention. The keys are refreshed each cycle and the removed-camera label cache resets when they change - Clip expiry had no has_clip filter and redid every past expiration each cycle. The queries now skip events already expired, and the dead clip unlink block is removed - Storage usage was keyed by friendly name, so cameras sharing one merged into a single row. It is keyed by camera id and the storage graph resolves the display name * docstring |
||
|
|
12da604820 |
fix birdseye runtime toggles, debug replay teardown, and stale export config (#25073)
- Keep the Birdseye restream flag from startup so enabling restream at runtime no longer writes a buffer that was never created and crashes the output loop - Clear a runtime-disabled camera's Birdseye state once instead of re-arming it and forcing a render on every frame - Advance the Birdseye output time after an idle heartbeat so it sends at the configured rate - Keep the published replay camera in each config swapped in by a settings save, and send its remove on stop, so a save during a replay no longer leaves the replay camera running after stop - Read the live config in the debug replay auto-stop watchdog - Skip publishing the replay camera when the session was stopped during startup - Rename a camera named with the reserved _replay_ prefix in the camera wizard and clone dialog, since debug replay deletes that camera's data - Update the export job manager's config on every call so exports follow config saves |
||
|
|
8b8cede583 |
fix genai and classification error paths (#25077)
- Catch all httpx errors in the Ollama plugin so a dropped connection no longer ends the embeddings thread - Strip only a trailing /v1 from the llama.cpp base_url - Cap the timestamp top-up loop in state example generation, which looped forever on zero-length review items - Run state example generation in a thread under the example collection lock - Stage example frames in a system temp dir so a leftover dataset/temp folder can't become a training class - Report face training success only after the image is written, and return 404 when the event has no face attributes or snapshot - Move VLM watch setup inside the runner's try block, build the runner before claiming the watch slot, bound max_duration_minutes, and reject non-string labels and zones from the chat tool |
||
|
|
08d693964b |
catch onvif errors in preset and zoom moves and default the video source token (#25078)
GotoPreset, ContinuousMove and AbsoluteMove had no error handling, so a fault left the camera marked active and the exception ended the autotracker's maintenance thread or that camera's move queue. They now log and clear the active flag like the other movers. Init also raised a KeyError when GetVideoSources returned an empty list, because the token was only set on a non-empty result or an exception. It now defaults to None. |
||
|
|
7c33f86daf |
release model download waiters when a download or its lock fails (#25079)
A download that raised or a lock that timed out ended the downloader thread before download_complete was set, so every wait_for_download() caller blocked forever and the file stayed marked as downloading. The thread now always sets download_complete and stops its requestor, and a lock failure reports the download failure notice and error state like a failed download. |
||
|
|
6c4311988b |
TLS renewal and healthcheck fixes (#25081)
* hand renewed tls keys to the runtime user and time out the go2rtc healthcheck - Renewed certbot keys were owned by root with mode 0600, so the non-root nginx couldn't read them and every certsync reload failed until the cert expired. certsync now chowns a mounted key to the runtime user before each reload, under the same conditions as the nginx startup handover - The go2rtc healthcheck curl had no total timeout, so a go2rtc that accepted connections but never answered blocked the check forever. It now gives up after 15 s - The TLS and non-root docs now tell read-only mount users to set the key's group and group read, which certbot keeps on renewal * stop chowning mounted tls keys and check they're readable instead The root chown of a mounted key followed symlinks, so a runtime user that could write the cert folder could have any root file handed to it, and the chown never covered keys renewed after startup. Frigate no longer changes ownership of mounted certs. nginx startup logs an error naming the gid when the runtime user can't read the key, and the TLS docs have users grant group read once on the host, which certbot keeps on renewal. This also drops the certsync handover added earlier on this branch. * skip the tls key check when tls is disabled and tighten its wording * check fullchain.pem and folder access in the tls startup check |
||
|
|
d20d6dcf72 |
Bound per-request work in a few endpoints (#25068)
CI / AMD64 Build (push) Canceled after 0s
CI / AMD64 Smoke Test (push) Canceled after 0s
CI / ARM Build (push) Canceled after 0s
CI / Jetson Jetpack 6 (push) Canceled after 0s
CI / AMD64 Extra Build (push) Canceled after 0s
CI / ARM Extra Build (push) Canceled after 0s
CI / Synaptics Build (push) Canceled after 0s
CI / Assemble and push default build (push) Canceled after 0s
* bound per-request work in recordings, image, password and motion search endpoints - /recordings/unavailable walked the requested span one scale bucket at a time on the event loop, so a huge or non-finite range hung the whole API, including /auth. It now walks the gaps between recordings and rejects non-finite bounds. - latest, mjpeg, event snapshot and recording snapshot heights are capped at the source frame height, and recording frame grabs time out after 30 s. - Password verify and hash run in a worker thread, so a password change no longer freezes the API while PBKDF2 runs. - Motion search collected every decoded frame of a run before detecting, up to about 190 MB per run. Frames now stream through detection, and keyframe mode stops reading at the probed keyframe count before falling back to cadence. * keep password hashing on the event loop * run recording deletion off the event loop |
||
|
|
3bca9b8676 |
Miscellaneous fixes (#25048)
CI / AMD64 Build (push) Canceled after 0s
CI / AMD64 Smoke Test (push) Canceled after 0s
CI / ARM Build (push) Canceled after 0s
CI / Jetson Jetpack 6 (push) Canceled after 0s
CI / AMD64 Extra Build (push) Canceled after 0s
CI / ARM Extra Build (push) Canceled after 0s
CI / Synaptics Build (push) Canceled after 0s
CI / Assemble and push default build (push) Canceled after 0s
* add default filters for labels tracked at runtime Adding a tracked label through Debug Replay or a profile left it without an object filter, so the first detection raised a KeyError in the false positive check and killed detected_frames_processor, stopping detection on every camera. Runtime objects updates now create a default filter for each tracked label that lacks one, the same as startup. * fix nginx header inheritance and ws proxy path Locations that include auth_request.conf declare their own add_header lines, so nginx dropped the server-level nosniff and Referrer-Policy headers on /recordings/, /exports/, /ws, /live/*, and several /api/ routes. auth_request.conf now includes security_headers.conf itself, and the duplicate includes in /vod/, /stream/, /clips/, and /api/ are removed. The /ws proxy_pass no longer carries a trailing slash, so nginx forwards the original path instead of rewriting /ws to /, which closes the path normalization gap gixy flagged. * don't end push notification titles with "detected in" when there are no zones * include audio labels in push notification titles * use a plain anchor for the camera webui_url link react-router 7.18.6 throws during render when a Link target looks like a scheme URL but isn't scheme://, so a malformed webui_url such as http:/192.168.1.5 (which the camera form accepts) crashed the object debug view into the route error boundary. A plain anchor renders any value, and a URL with a leading space no longer becomes a relative link. * catch all OSErrors when moving the preview restart cache |
||
|
|
8c88754664 |
Bump the web-minor-patch group in /web with 18 updates (#25054)
CI / AMD64 Build (push) Canceled after 0s
CI / AMD64 Smoke Test (push) Canceled after 0s
CI / ARM Build (push) Canceled after 0s
CI / Jetson Jetpack 6 (push) Canceled after 0s
CI / AMD64 Extra Build (push) Canceled after 0s
CI / ARM Extra Build (push) Canceled after 0s
CI / Synaptics Build (push) Canceled after 0s
CI / Assemble and push default build (push) Canceled after 0s
Bumps the web-minor-patch group in /web with 18 updates: | Package | From | To | | --- | --- | --- | | [@hookform/resolvers](https://github.com/react-hook-form/resolvers) | `7.0.6` | `7.0.7` | | [apexcharts](https://github.com/apexcharts/apexcharts.js) | `8.8.1` | `8.9.1` | | [framer-motion](https://github.com/motiondivision/motion) | `14.12.0` | `14.14.0` | | [i18next](https://github.com/i18next/i18next) | `27.1.1` | `27.2.2` | | [i18next-http-backend](https://github.com/i18next/i18next-http-backend) | `4.0.10` | `4.1.0` | | [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react) | `1.72.0` | `1.76.0` | | [react-apexcharts](https://github.com/apexcharts/react-apexcharts) | `2.2.0` | `2.2.1` | | [react-dropzone](https://github.com/react-dropzone/react-dropzone) | `20.2.0` | `20.2.1` | | [react-i18next](https://github.com/i18next/react-i18next) | `18.0.1` | `18.0.3` | | [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) | `7.18.5` | `7.18.6` | | [scroll-into-view-if-needed](https://github.com/scroll-into-view/scroll-into-view-if-needed) | `3.2.0` | `3.2.1` | | [tailwind-merge](https://github.com/dcastil/tailwind-merge/tree/HEAD/packages/tailwind-merge) | `2.6.1` | `2.6.2` | | [virtua](https://github.com/inokawa/virtua) | `0.54.2` | `0.55.0` | | [@playwright/test](https://github.com/microsoft/playwright) | `1.65.0` | `1.65.1` | | [eslint](https://github.com/eslint/eslint) | `10.14.0` | `10.15.0` | | [eslint-plugin-react-refresh](https://github.com/ArnaudBarre/eslint-plugin-react-refresh) | `0.5.7` | `0.5.8` | | [postcss](https://github.com/postcss/postcss) | `8.5.32` | `8.5.33` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.72.2` | `8.73.0` | Updates `@hookform/resolvers` from 7.0.6 to 7.0.7 - [Release notes](https://github.com/react-hook-form/resolvers/releases) - [Commits](https://github.com/react-hook-form/resolvers/compare/v7.0.6...v7.0.7) Updates `apexcharts` from 8.8.1 to 8.9.1 - [Release notes](https://github.com/apexcharts/apexcharts.js/releases) - [Commits](https://github.com/apexcharts/apexcharts.js/compare/v8.8.1...v8.9.1) Updates `framer-motion` from 14.12.0 to 14.14.0 - [Changelog](https://github.com/motiondivision/motion/blob/main/CHANGELOG.md) - [Commits](https://github.com/motiondivision/motion/compare/v14.12.0...v14.14.0) Updates `i18next` from 27.1.1 to 27.2.2 - [Release notes](https://github.com/i18next/i18next/releases) - [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md) - [Commits](https://github.com/i18next/i18next/compare/v27.1.1...v27.2.2) Updates `i18next-http-backend` from 4.0.10 to 4.1.0 - [Changelog](https://github.com/i18next/i18next-http-backend/blob/master/CHANGELOG.md) - [Commits](https://github.com/i18next/i18next-http-backend/compare/v4.0.10...v4.1.0) Updates `lucide-react` from 1.72.0 to 1.76.0 - [Release notes](https://github.com/lucide-icons/lucide/releases) - [Commits](https://github.com/lucide-icons/lucide/commits/1.76.0/packages/lucide-react) Updates `react-apexcharts` from 2.2.0 to 2.2.1 - [Release notes](https://github.com/apexcharts/react-apexcharts/releases) - [Commits](https://github.com/apexcharts/react-apexcharts/commits) Updates `react-dropzone` from 20.2.0 to 20.2.1 - [Release notes](https://github.com/react-dropzone/react-dropzone/releases) - [Commits](https://github.com/react-dropzone/react-dropzone/compare/v20.2.0...v20.2.1) Updates `react-i18next` from 18.0.1 to 18.0.3 - [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md) - [Commits](https://github.com/i18next/react-i18next/compare/v18.0.1...v18.0.3) Updates `react-router-dom` from 7.18.5 to 7.18.6 - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/react-router-dom@7.18.6/packages/react-router-dom/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@7.18.6/packages/react-router-dom) Updates `scroll-into-view-if-needed` from 3.2.0 to 3.2.1 - [Release notes](https://github.com/scroll-into-view/scroll-into-view-if-needed/releases) - [Changelog](https://github.com/scroll-into-view/scroll-into-view-if-needed/blob/main/CHANGELOG.md) - [Commits](https://github.com/scroll-into-view/scroll-into-view-if-needed/compare/v3.2.0...v3.2.1) Updates `tailwind-merge` from 2.6.1 to 2.6.2 - [Release notes](https://github.com/dcastil/tailwind-merge/releases) - [Commits](https://github.com/dcastil/tailwind-merge/commits/v2.6.2/packages/tailwind-merge) Updates `virtua` from 0.54.2 to 0.55.0 - [Release notes](https://github.com/inokawa/virtua/releases) - [Commits](https://github.com/inokawa/virtua/compare/0.54.2...0.55.0) Updates `@playwright/test` from 1.65.0 to 1.65.1 - [Release notes](https://github.com/microsoft/playwright/releases) - [Commits](https://github.com/microsoft/playwright/compare/v1.65.0...v1.65.1) Updates `eslint` from 10.14.0 to 10.15.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](https://github.com/eslint/eslint/compare/v10.14.0...v10.15.0) Updates `eslint-plugin-react-refresh` from 0.5.7 to 0.5.8 - [Release notes](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases) - [Changelog](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/main/CHANGELOG.md) - [Commits](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.5.7...v0.5.8) Updates `postcss` from 8.5.32 to 8.5.33 - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.5.32...8.5.33) Updates `typescript-eslint` from 8.72.2 to 8.73.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.73.0/packages/typescript-eslint) --- updated-dependencies: - dependency-name: "@hookform/resolvers" dependency-version: 7.0.7 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: web-minor-patch - dependency-name: apexcharts dependency-version: 8.9.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: web-minor-patch - dependency-name: framer-motion dependency-version: 14.14.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: web-minor-patch - dependency-name: i18next dependency-version: 27.2.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: web-minor-patch - dependency-name: i18next-http-backend dependency-version: 4.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: web-minor-patch - dependency-name: lucide-react dependency-version: 1.76.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: web-minor-patch - dependency-name: react-apexcharts dependency-version: 2.2.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: web-minor-patch - dependency-name: react-dropzone dependency-version: 20.2.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: web-minor-patch - dependency-name: react-i18next dependency-version: 18.0.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: web-minor-patch - dependency-name: react-router-dom dependency-version: 7.18.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: web-minor-patch - dependency-name: scroll-into-view-if-needed dependency-version: 3.2.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: web-minor-patch - dependency-name: tailwind-merge dependency-version: 2.6.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: web-minor-patch - dependency-name: virtua dependency-version: 0.55.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: web-minor-patch - dependency-name: "@playwright/test" dependency-version: 1.65.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: web-minor-patch - dependency-name: eslint dependency-version: 10.15.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: web-minor-patch - dependency-name: eslint-plugin-react-refresh dependency-version: 0.5.8 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: web-minor-patch - dependency-name: postcss dependency-version: 8.5.33 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: web-minor-patch - dependency-name: typescript-eslint dependency-version: 8.73.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: web-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
890bb6cf9c |
Update openai requirement from ==3.49.* to ==3.55.* in /docker/main (#25051)
Updates the requirements on [openai](https://github.com/openai/openai-python) to permit the latest version. - [Release notes](https://github.com/openai/openai-python/releases) - [Changelog](https://github.com/openai/openai-python/blob/main/CHANGELOG.md) - [Commits](https://github.com/openai/openai-python/compare/v3.49.0...v3.55.1) --- updated-dependencies: - dependency-name: openai dependency-version: 3.55.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
65e34317eb |
Update google-genai requirement (#25049)
Updates the requirements on [google-genai](https://github.com/googleapis/python-genai) to permit the latest version. Updates `google-genai` to 3.6.1 - [Release notes](https://github.com/googleapis/python-genai/releases) - [Changelog](https://github.com/googleapis/python-genai/blob/main/CHANGELOG.md) - [Commits](https://github.com/googleapis/python-genai/compare/v3.2.0...v3.6.1) --- updated-dependencies: - dependency-name: google-genai dependency-version: 3.6.1 dependency-type: direct:production dependency-group: pydantic-genai ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
e17005c6b4 |
Update fastapi requirement from ==0.162.* to ==0.165.* in /docker/main (#25053)
Updates the requirements on [fastapi](https://github.com/fastapi/fastapi) to permit the latest version. - [Release notes](https://github.com/fastapi/fastapi/releases) - [Commits](https://github.com/fastapi/fastapi/compare/0.162.0...0.165.0) --- updated-dependencies: - dependency-name: fastapi dependency-version: 0.165.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
fabb8b0119 |
Update onnxruntime requirement from ==1.31.* to ==1.32.* in /docker/main (#25052)
Updates the requirements on [onnxruntime](https://github.com/microsoft/onnxruntime) to permit the latest version. - [Commits](https://github.com/microsoft/onnxruntime/commits) --- updated-dependencies: - dependency-name: onnxruntime dependency-version: 1.32.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
8c3a2610bb |
Bump the pip-main-minor-patch group in /docker/main with 2 updates (#25050)
Bumps the pip-main-minor-patch group in /docker/main with 2 updates: [python-multipart](https://github.com/Kludex/python-multipart) and [ruff](https://github.com/astral-sh/ruff). Updates `python-multipart` from 0.0.33 to 0.0.34 - [Release notes](https://github.com/Kludex/python-multipart/releases) - [Changelog](https://github.com/Kludex/python-multipart/blob/main/CHANGELOG.md) - [Commits](https://github.com/Kludex/python-multipart/compare/0.0.33...0.0.34) Updates `ruff` from 0.17.4 to 0.17.5 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.17.4...0.17.5) --- updated-dependencies: - dependency-name: python-multipart dependency-version: 0.0.34 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: pip-main-minor-patch - dependency-name: ruff dependency-version: 0.17.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: pip-main-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
39d1053d0c |
Implement shared function to ensure consistency of object severity (#25041)
CI / AMD64 Build (push) Canceled after 0s
CI / AMD64 Smoke Test (push) Canceled after 0s
CI / ARM Build (push) Canceled after 0s
CI / Jetson Jetpack 6 (push) Canceled after 0s
CI / AMD64 Extra Build (push) Canceled after 0s
CI / ARM Extra Build (push) Canceled after 0s
CI / Synaptics Build (push) Canceled after 0s
CI / Assemble and push default build (push) Canceled after 0s
* Implement shared function to ensure consistency of object severity * Catch |
||
|
|
ce5b26dc11 |
Add summary timeline to Motion Review and History (#25034)
CI / AMD64 Build (push) Canceled after 0s
CI / ARM Build (push) Canceled after 0s
CI / Jetson Jetpack 6 (push) Canceled after 0s
CI / AMD64 Smoke Test (push) Canceled after 0s
CI / AMD64 Extra Build (push) Canceled after 0s
CI / ARM Extra Build (push) Canceled after 0s
CI / Synaptics Build (push) Canceled after 0s
CI / Assemble and push default build (push) Canceled after 0s
* add motion summary timeline to motion review and history The summary strip draws motion as a canvas layer, with each pixel row's opacity set by the mean motion value over its time, so the full day is visible next to the 30s timeline. Dragging now converts strip pixels to timeline pixels directly instead of going through the drag box height, which no longer matches the box once it has borders. The strip is wider on mobile, and the drag box style is shared with the alerts and detections strips. * hide summary timeline when motion only switch is on * drag summary timeline from anywhere and keep a minimum box size The drag box shrank to a few pixels when the timeline was zoomed in, and tapping the summary timeline on mobile read touches[0] on touchend, where the list is always empty. The box now has a minimum height centered on the visible range, and input goes through pointer events: a tap outside the box jumps there, and a press outside the box that moves snaps the box under the pointer and drags it. |
||
|
|
d85527ffd2 |
Miscellaneous Fixes (#25027)
* Fix GenAI structured response not handling optional fields correctly * allow export thumbnails for camera-restricted roles Export thumbnails under /clips/export/ weren't classified by media auth, so roles with a camera allow-list got a 403 on every thumbnail. The thumbnail now resolves to its export's camera through a thumb_path lookup, and the camera access check applies as usual. * load i18n locales from the base url The locale load path was relative, so any URL with a trailing slash or more than one segment (like /admin/) fetched locales from under that path, got index.html back from the nginx fallback, and broke every UI string. Locales now load from the same base url as the API, which also covers HA ingress and FRIGATE_BASE_PATH. * make storage retained-segment test able to fail The old test put the retained segments after 59 older unretained ones, so cleanup freed its hourly target and stopped before it ever reached them. It passed even with the retention check removed. Retained segments now come first, and cleanup needs every unretained segment after them, so it has to skip the retained ones to finish. --------- Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> |
||
|
|
4b1ae76baa |
Support HEIC images for Face Recognition (#25024)
CI / AMD64 Build (push) Canceled after 0s
CI / ARM Build (push) Canceled after 0s
CI / Jetson Jetpack 6 (push) Canceled after 0s
CI / AMD64 Smoke Test (push) Canceled after 0s
CI / AMD64 Extra Build (push) Canceled after 0s
CI / ARM Extra Build (push) Canceled after 0s
CI / Synaptics Build (push) Canceled after 0s
CI / Assemble and push default build (push) Canceled after 0s
|
||
|
|
dfd1fa91b5 |
Implement banner for stopping debug replay (#25022)
* Implement banner for stopping debug replay * Tweaks for review issue * Fix failures |
||
|
|
05a6233b5a |
Miscellaneous Fixes (#25007)
* don't crash review maintainer when a manual event ends with no active segment
The review maintainer read the label of every manual event message before checking its state, so an end message, which carries no label, raised a KeyError and killed the review process when the camera had no active segment. This happened when a recordings or enabled toggle, a completed manual event, or audio closed the segment of a still-open indefinite event, and on every plate expiry on dedicated LPR cameras with detections disabled. With the process dead, no review items were created and alert/detection-only retention deleted all new recordings until restart. End messages with no active segment now drop the event from the indefinite events and are otherwise ignored.
* Update the default timeout for detection subscriber to avoid blocking indefinitely
* run embeddings requests off the api event loop
set_description, regenerate_review_description, and the chat semantic search tools called the embeddings requestor directly from async handlers, so the API event loop waited on the embeddings process with no timeout. In normal operation the wait is short (about 80 to 140 ms of text embedding with Jina V1 on CPU, and only queue time for review regeneration), so this is mostly defensive. The cases it guards against are a request sent while the embeddings process is still downloading or loading models, which froze the whole UI until it finished, and the embeddings process dying with a request in flight, which left the API unresponsive until Frigate restarted. The requestor calls now run in asyncio.to_thread, matching the other blocking calls in the API.
* Handle other fields for context size from api providers
* fix stream checks missing non-aac audio
The ffprobe API never asked ffprobe for codec_type, so the stream checks could only spot audio and video by codec name. G.711, Opus, and other non-AAC audio showed as no audio, and H.265 detect streams showed an unknown resolution. ffprobe_stream now requests codec_type, and the stream check matches tracks on it alone.
* fix timezone-dependent http tests
The devcontainer mounts the host's /etc/localtime over zoneinfo/Etc/UTC, so the API's ZoneInfo("UTC") used the host's local zone and the recordings summary and event time_range tests failed at any hour. The review summary tests also built their expected day key from the local date, so they failed whenever the local day differed from the UTC day. BaseTestHttp now writes a minimal UTC zone file to a temp dir and puts it first on the zoneinfo search path, which works without the tzdata package, and the review tests convert their expected day keys to UTC.
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
|
||
|
|
510ef221c2 |
Merge remote-tracking branch 'origin/master' into dev
Conflict resolutions: - Makefile: keep dev's VERSION 0.19.0 - docker/main/build_nginx.sh: take master's NGINX_VERSION 1.30.7 (CVE fix) - docker/main/rootfs/usr/local/nginx/conf/nginx.conf: take dev's side, which already contains everything #25009 adds Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
1c30924ff1 |
Add Gemini embeddings for semantic search (#24690)
CI / AMD64 Build (push) Canceled after 0s
CI / AMD64 Smoke Test (push) Canceled after 0s
CI / ARM Build (push) Canceled after 0s
CI / Jetson Jetpack 6 (push) Canceled after 0s
CI / AMD64 Extra Build (push) Canceled after 0s
CI / ARM Extra Build (push) Canceled after 0s
CI / Synaptics Build (push) Canceled after 0s
CI / Assemble and push default build (push) Canceled after 0s
* Add Gemini embeddings for semantic search gemini-embedding-2 maps text and images into one space. Request 768 dimensions, send one input per call, and transcode WebP thumbnails to JPEG. Check model supported_actions for embedContent before advertising embeddings support, and raise ValueError on failure so the embeddings process stays up. * Fix unreachable Gemini provider checks |
||
|
|
3c122150ae |
Fix ONNX Runtime CPU memory arena configuration (#25003)
* Fix CPU memory arena option on ONNX Runtime sessions * Limit CPU arena correction to CPU enrichment sessions * Retain default arena in GPU runner integration regression * Preserve native detector session-options contract |
||
|
|
a19e23ae2d |
bump version to 0.18.3 (#25011)
CI / AMD64 Build (push) Canceled after 0s
CI / ARM Build (push) Canceled after 0s
CI / Jetson Jetpack 6 (push) Canceled after 0s
CI / AMD64 Extra Build (push) Canceled after 0s
CI / ARM Extra Build (push) Canceled after 0s
CI / Synaptics Build (push) Canceled after 0s
CI / Assemble and push default build (push) Canceled after 0s
|
||
|
|
aadbda1104 |
Update nginx and backport module changes (#25009)
* update nginx to 1.30.7 and backport nginx module changes from dev nginx 1.27.4 was vulnerable to CVE-2026-123007 (HTTP/2 flow control heap overflow) and CVE-2026-123633 (HTTP/2 use-after-free), both reachable before auth on the internal and external ports because http2 is on for the whole server block. Kaltura also deleted the nginx-vod-module and nginx-secure-token-module repos, so the build could no longer download either module. - Update nginx to 1.30.7 - Backport the switch to the maintained dio-az nginx-vod-module fork (#24123) - Backport the nginx-secure-token-module removal (#24893) * bump playwright to 1.65.0 for ubuntu 26.04 runners |
||
|
|
6c09629783 |
Miscellaneous fixes (#24996)
CI / AMD64 Build (push) Canceled after 0s
CI / AMD64 Smoke Test (push) Canceled after 0s
CI / ARM Build (push) Canceled after 0s
CI / Jetson Jetpack 6 (push) Canceled after 0s
CI / AMD64 Extra Build (push) Canceled after 0s
CI / ARM Extra Build (push) Canceled after 0s
CI / Synaptics Build (push) Canceled after 0s
CI / Assemble and push default build (push) Canceled after 0s
* tweak agents file * add serbian latin * fix serbian latin components weblate put them in the wrong directory (sr_Latn). the component style was updated in weblate itself so this shouldn't happen for any future translations * raise on empty genai embedding response so the maintainer thread survives |
||
|
|
8a7d89170b |
Fix RKNN default perms for binaries and libraries (#25000)
* Fix RKNN default perms for binaries and libraries * Add docs to handle specific rknn mounts |
||
|
|
97f2096534 |
Add export case menu (#24997)
CI / AMD64 Build (push) Canceled after 0s
CI / AMD64 Smoke Test (push) Canceled after 0s
CI / ARM Build (push) Canceled after 0s
CI / Jetson Jetpack 6 (push) Canceled after 0s
CI / AMD64 Extra Build (push) Canceled after 0s
CI / ARM Extra Build (push) Canceled after 0s
CI / Synaptics Build (push) Canceled after 0s
CI / Assemble and push default build (push) Canceled after 0s
* add kebab menu to export cases * disable download while case exports are still encoding * stop case menu clicks from opening the case * check case download readiness against jobs on every camera |
||
|
|
640ae1058a |
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (64 of 64 strings) Translated using Weblate (Serbian (Latin script)) Currently translated at 100.0% (46 of 46 strings) Translated using Weblate (Serbian (Latin script)) Currently translated at 100.0% (60 of 60 strings) Translated using Weblate (Serbian (Latin script)) Currently translated at 100.0% (66 of 66 strings) Translated using Weblate (Serbian (Latin script)) Currently translated at 100.0% (129 of 129 strings) Translated using Weblate (Serbian (Latin script)) Currently translated at 100.0% (500 of 500 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% (74 of 74 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% (130 of 130 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% (522 of 522 strings) Translated using Weblate (Serbian (Latin script)) Currently translated at 100.0% (37 of 37 strings) Translated using Weblate (Serbian (Latin script)) Currently translated at 100.0% (74 of 74 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% (46 of 46 strings) Translated using Weblate (Serbian (Latin script)) Currently translated at 100.0% (64 of 64 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% (68 of 68 strings) Translated using Weblate (Serbian (Latin script)) Currently translated at 100.0% (141 of 141 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% (37 of 37 strings) Translated using Weblate (Serbian (Latin script)) Currently translated at 100.0% (74 of 74 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% (50 of 50 strings) Translated using Weblate (Serbian (Latin script)) Currently translated at 100.0% (266 of 266 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 67.1% (946 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% (68 of 68 strings) Translated using Weblate (Serbian (Latin script)) Currently translated at 100.0% (129 of 129 strings) Translated using Weblate (Serbian (Latin script)) Currently translated at 100.0% (500 of 500 strings) 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/audio/sr_Latn/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/common/sr_Latn/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/components-camera/sr_Latn/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/components-dialog/sr_Latn/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/components-filter/sr_Latn/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/components-player/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/objects/sr_Latn/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-chat/sr_Latn/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-classificationmodel/sr_Latn/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-events/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-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-motionsearch/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-search/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/audio Translation: Frigate NVR/common Translation: Frigate NVR/components-camera Translation: Frigate NVR/components-dialog Translation: Frigate NVR/components-filter Translation: Frigate NVR/components-player Translation: Frigate NVR/objects Translation: Frigate NVR/views-chat 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-search Translation: Frigate NVR/views-settings Translation: Frigate NVR/views-system |
||
|
|
499cbcfc89 |
Translated using Weblate (Serbian (Latin script))
Currently translated at 100.0% (500 of 500 strings) 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/audio/sr_Latn/ Translation: Frigate NVR/audio |
||
|
|
106d59b683 |
Translated using Weblate (Serbian)
Currently translated at 100.0% (64 of 64 strings) Translated using Weblate (Serbian) Currently translated at 100.0% (141 of 141 strings) Translated using Weblate (Serbian) Currently translated at 100.0% (46 of 46 strings) Translated using Weblate (Serbian) Currently translated at 100.0% (66 of 66 strings) Translated using Weblate (Serbian) Currently translated at 36.1% (51 of 141 strings) Translated using Weblate (Serbian) Currently translated at 100.0% (130 of 130 strings) Translated using Weblate (Serbian) Currently translated at 100.0% (60 of 60 strings) Translated using Weblate (Serbian) Currently translated at 16.0% (14 of 87 strings) Translated using Weblate (Serbian) Currently translated at 33.7% (49 of 145 strings) Translated using Weblate (Serbian) Currently translated at 100.0% (68 of 68 strings) Translated using Weblate (Serbian) Currently translated at 100.0% (129 of 129 strings) Translated using Weblate (Serbian) Currently translated at 100.0% (500 of 500 strings) Translated using Weblate (Serbian) Currently translated at 100.0% (26 of 26 strings) Translated using Weblate (Serbian) Currently translated at 100.0% (25 of 25 strings) Translated using Weblate (Serbian) Currently translated at 33.2% (258 of 775 strings) Translated using Weblate (Serbian) Currently translated at 25.6% (134 of 522 strings) Translated using Weblate (Serbian) Currently translated at 85.5% (1205 of 1409 strings) Translated using Weblate (Serbian) Currently translated at 22.4% (174 of 775 strings) Translated using Weblate (Serbian) Currently translated at 8.2% (43 of 522 strings) Translated using Weblate (Serbian) Currently translated at 17.3% (49 of 282 strings) Translated using Weblate (Serbian) Currently translated at 85.5% (1205 of 1409 strings) Translated using Weblate (Serbian) Currently translated at 100.0% (6 of 6 strings) Translated using Weblate (Serbian) Currently translated at 14.9% (13 of 87 strings) Translated using Weblate (Serbian) Currently translated at 61.7% (42 of 68 strings) Translated using Weblate (Serbian) Currently translated at 100.0% (10 of 10 strings) Translated using Weblate (Serbian) Currently translated at 100.0% (37 of 37 strings) Translated using Weblate (Serbian) Currently translated at 100.0% (2 of 2 strings) Translated using Weblate (Serbian) Currently translated at 100.0% (74 of 74 strings) Translated using Weblate (Serbian) Currently translated at 100.0% (120 of 120 strings) Translated using Weblate (Serbian) Currently translated at 100.0% (50 of 50 strings) Translated using Weblate (Serbian) Currently translated at 100.0% (10 of 10 strings) Translated using Weblate (Serbian) Currently translated at 100.0% (266 of 266 strings) Translated using Weblate (Serbian) Currently translated at 2.2% (12 of 522 strings) Translated using Weblate (Serbian) Currently translated at 85.4% (1204 of 1409 strings) 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/audio/sr/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/common/sr/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/components-auth/sr/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/components-camera/sr/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/components-dialog/sr/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/components-filter/sr/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/components-input/sr/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/components-player/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/config-validation/sr/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/objects/sr/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-chat/sr/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-classificationmodel/sr/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-configeditor/sr/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-events/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-motionsearch/sr/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-recording/sr/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-replay/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/Config - Validation Translation: Frigate NVR/audio Translation: Frigate NVR/common Translation: Frigate NVR/components-auth Translation: Frigate NVR/components-camera Translation: Frigate NVR/components-dialog Translation: Frigate NVR/components-filter Translation: Frigate NVR/components-input Translation: Frigate NVR/components-player Translation: Frigate NVR/objects Translation: Frigate NVR/views-chat Translation: Frigate NVR/views-classificationmodel Translation: Frigate NVR/views-configeditor Translation: Frigate NVR/views-events Translation: Frigate NVR/views-explore Translation: Frigate NVR/views-exports Translation: Frigate NVR/views-facelibrary Translation: Frigate NVR/views-live Translation: Frigate NVR/views-motionSearch Translation: Frigate NVR/views-recording Translation: Frigate NVR/views-replay Translation: Frigate NVR/views-settings Translation: Frigate NVR/views-system |
||
|
|
19d1a0f216 |
Translated using Weblate (Swedish)
Currently translated at 100.0% (775 of 775 strings) Translated using Weblate (Swedish) Currently translated at 100.0% (522 of 522 strings) Translated using Weblate (Swedish) Currently translated at 100.0% (141 of 141 strings) Translated using Weblate (Swedish) Currently translated at 100.0% (282 of 282 strings) Translated using Weblate (Swedish) Currently translated at 100.0% (1409 of 1409 strings) Translated using Weblate (Swedish) Currently translated at 100.0% (130 of 130 strings) Translated using Weblate (Swedish) Currently translated at 100.0% (60 of 60 strings) Translated using Weblate (Swedish) Currently translated at 100.0% (87 of 87 strings) Translated using Weblate (Swedish) Currently translated at 100.0% (145 of 145 strings) Translated using Weblate (Swedish) Currently translated at 100.0% (68 of 68 strings) Translated using Weblate (Swedish) Currently translated at 100.0% (129 of 129 strings) Translated using Weblate (Swedish) Currently translated at 100.0% (266 of 266 strings) Translated using Weblate (Swedish) Currently translated at 100.0% (37 of 37 strings) Translated using Weblate (Swedish) Currently translated at 100.0% (120 of 120 strings) Translated using Weblate (Swedish) Currently translated at 100.0% (46 of 46 strings) Translated using Weblate (Swedish) Currently translated at 100.0% (64 of 64 strings) Translated using Weblate (Swedish) Currently translated at 100.0% (26 of 26 strings) Translated using Weblate (Swedish) Currently translated at 100.0% (25 of 25 strings) Translated using Weblate (Swedish) Currently translated at 100.0% (66 of 66 strings) Co-authored-by: Daniel Nylander <yeagersthlm2@users.noreply.hosted.weblate.org> Co-authored-by: Hosted Weblate <hosted@weblate.org> Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/common/sv/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/components-dialog/sv/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/components-player/sv/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/config-cameras/sv/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/config-global/sv/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/config-groups/sv/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/config-validation/sv/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/objects/sv/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-chat/sv/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-classificationmodel/sv/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-events/sv/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-explore/sv/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-exports/sv/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-facelibrary/sv/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-live/sv/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-motionsearch/sv/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-replay/sv/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-settings/sv/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-system/sv/ Translation: Frigate NVR/Config - Cameras Translation: Frigate NVR/Config - Global Translation: Frigate NVR/Config - Groups Translation: Frigate NVR/Config - Validation Translation: Frigate NVR/common Translation: Frigate NVR/components-dialog Translation: Frigate NVR/components-player Translation: Frigate NVR/objects Translation: Frigate NVR/views-chat Translation: Frigate NVR/views-classificationmodel Translation: Frigate NVR/views-events Translation: Frigate NVR/views-explore Translation: Frigate NVR/views-exports 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 |
||
|
|
77a3095f12 |
Translated using Weblate (Czech)
Currently translated at 100.0% (64 of 64 strings) Translated using Weblate (Czech) Currently translated at 100.0% (775 of 775 strings) Translated using Weblate (Czech) Currently translated at 100.0% (522 of 522 strings) Translated using Weblate (Czech) Currently translated at 100.0% (282 of 282 strings) Translated using Weblate (Czech) Currently translated at 100.0% (1409 of 1409 strings) Translated using Weblate (Czech) Currently translated at 100.0% (130 of 130 strings) Translated using Weblate (Czech) Currently translated at 100.0% (120 of 120 strings) Translated using Weblate (Czech) Currently translated at 100.0% (266 of 266 strings) Co-authored-by: Ashus <ashus@users.noreply.hosted.weblate.org> Co-authored-by: Hosted Weblate <hosted@weblate.org> Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/common/cs/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/components-dialog/cs/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/config-cameras/cs/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/config-global/cs/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-live/cs/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-motionsearch/cs/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-settings/cs/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-system/cs/ Translation: Frigate NVR/Config - Cameras Translation: Frigate NVR/Config - Global Translation: Frigate NVR/common Translation: Frigate NVR/components-dialog Translation: Frigate NVR/views-live Translation: Frigate NVR/views-motionSearch Translation: Frigate NVR/views-settings Translation: Frigate NVR/views-system |
||
|
|
dfcb7da995 |
Translated using Weblate (Romanian)
Currently translated at 100.0% (46 of 46 strings) Translated using Weblate (Romanian) Currently translated at 100.0% (282 of 282 strings) Translated using Weblate (Romanian) Currently translated at 100.0% (1409 of 1409 strings) Translated using Weblate (Romanian) Currently translated at 100.0% (130 of 130 strings) Co-authored-by: Hosted Weblate <hosted@weblate.org> Co-authored-by: lukasig <lukasig@users.noreply.hosted.weblate.org> Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-live/ro/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-replay/ro/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-settings/ro/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-system/ro/ Translation: Frigate NVR/views-live Translation: Frigate NVR/views-replay Translation: Frigate NVR/views-settings Translation: Frigate NVR/views-system |
||
|
|
740b155a1b |
Translated using Weblate (Estonian)
Currently translated at 100.0% (130 of 130 strings) Co-authored-by: Hosted Weblate <hosted@weblate.org> Co-authored-by: Priit Jõerüüt <jrthwlate@users.noreply.hosted.weblate.org> Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-live/et/ Translation: Frigate NVR/views-live |
||
|
|
77a58a59ea |
Translated using Weblate (Danish)
Currently translated at 27.5% (33 of 120 strings) Translated using Weblate (Danish) Currently translated at 90.9% (242 of 266 strings) Co-authored-by: Alexander Christensen <alexdmx@users.noreply.hosted.weblate.org> Co-authored-by: Hosted Weblate <hosted@weblate.org> Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/common/da/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/components-dialog/da/ Translation: Frigate NVR/common Translation: Frigate NVR/components-dialog |
||
|
|
fb9c928de5 |
Translated using Weblate (Turkish)
Currently translated at 100.0% (130 of 130 strings) Co-authored-by: Hosted Weblate <hosted@weblate.org> Co-authored-by: Murat Odabasi <modabas@users.noreply.hosted.weblate.org> Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-live/tr/ Translation: Frigate NVR/views-live |
||
|
|
f2a264c15e |
Resize classification training images the same way as inference (#24988)
CI / AMD64 Build (push) Canceled after 0s
CI / AMD64 Smoke Test (push) Canceled after 0s
CI / ARM Build (push) Canceled after 0s
CI / Jetson Jetpack 6 (push) Canceled after 0s
CI / AMD64 Extra Build (push) Canceled after 0s
CI / ARM Extra Build (push) Canceled after 0s
CI / Synaptics Build (push) Canceled after 0s
CI / Assemble and push default build (push) Canceled after 0s
* Resize classification training images the same way as inference Training let Keras resize dataset images to 224x224, which uses nearest neighbor by default. Inference resizes the crop with cv2.resize (bilinear). For crops much smaller than 224 px the two results look very different, so a model could fit its training images perfectly and still report the same state for every live frame. Add resize_classification_image() and use it everywhere an image is resized for a classification model. Before training, the dataset is copied to a temporary directory through that same function, so Keras is given images that are already the model input size and does no resizing of its own. The new test runs a frame through the state processor and the crop it saves through the training process (stopped at model.fit), and checks the model receives the same pixels from both, for random frame and crop sizes. Adds hypothesis as a dev dependency. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fail training when a prepared image cannot be written cv2.imwrite returns False instead of raising, so a full temporary directory would have dropped images from training without any error. Raise with the file path instead; the training process already logs the exception and fails. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Trim classification parity tests and drop hypothesis Per review: the parity test is now a plain loop over fixed crop sizes (64, 79, 224 and 600 px) on a fixed 1280x720 frame, which covers both upscaled and downscaled crops. The 224x224 check and the failed-write test are removed; the parity test already covers the prepared image size. hypothesis is no longer a dev dependency. The 64, 79 and 600 px cases still fail on dev and pass with the fix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Victor Bajanov <victorb@spunmonkey.org> Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com> |
||
|
|
f22278bcfa |
Fix camera name prefix matching (#24992)
* only remove the deleted camera's media files
Camera deletion globbed snapshot, clean copy, and review thumbnail files by "{camera}-*", and camera names can contain "-", so deleting "front" also removed every one of those files for "front-door". Files are now matched on the full name, the camera followed by an event or review id.
* only use the camera's own preview frames for review descriptions
get_cache_frames matched cached preview frames by "preview_{camera}-", so when "front" had no frame after the review ended, the first "front-door" frame became the trailing frame and went into front's GenAI prompt. It now uses is_camera_preview_frame like the preview recorder and exports.
* keep cleaning up when a media directory can't be listed
|
||
|
|
128729f5ac |
Update DEEPX detector to DX-RT 3.5.0 (#24989)
* Update DEEPX detector to DX-RT 3.5.0 * Keep the DEEPX package for offline reinstalls, update docs. |
||
|
|
d04ed58d8f | Organize extensions for Frigate (#24991) | ||
|
|
8e9607eccd |
Update third_party_extensions.md with Home Assistant Marketplace integrations that support Frigate (#24965)
* Update third_party_extensions.md with new integrations Added new integrations for Auto Arm and Camera AutoNotify to the documentation. * Enhance integration descriptions for clarity Updated descriptions for Auto Arm and Camera AutoNotify integrations to include additional features and synchronization options. |
||
|
|
ceb0374c2b |
limit go2rtc exec and echo to frigate's ffmpeg and disable ngrok (#24983)
CI / AMD64 Build (push) Canceled after 0s
CI / AMD64 Smoke Test (push) Canceled after 0s
CI / ARM Build (push) Canceled after 0s
CI / Jetson Jetpack 6 (push) Canceled after 0s
CI / AMD64 Extra Build (push) Canceled after 0s
CI / ARM Extra Build (push) Canceled after 0s
CI / Synaptics Build (push) Canceled after 0s
CI / Assemble and push default build (push) Canceled after 0s
go2rtc merges its config files, and the HomeKit file and anything saved through go2rtc's unauthenticated config API load before Frigate's generated config. A planted exec: or echo: source, or an ngrok.command, ran whatever program it named, and as root under FRIGATE_ROOT_SERVICES=go2rtc. Unless GO2RTC_ALLOW_ARBITRARY_EXEC is set, the generated config now sets exec.allow_paths and echo.allow_paths to Frigate's ffmpeg and sets an empty ngrok.command, which override earlier files, and the config-save API rejects new exec and echo keys. The non-root docs note that a root go2rtc still isn't separated from the frigate user, since ffmpeg with arbitrary arguments can overwrite files as root. |