frigate/frigate/test/http_api
Josh Hawkins c2e667c0dd
Some checks are pending
CI / AMD64 Build (push) Waiting to run
CI / ARM Build (push) Waiting to run
CI / Jetson Jetpack 6 (push) Waiting to run
CI / AMD64 Extra Build (push) Blocked by required conditions
CI / ARM Extra Build (push) Blocked by required conditions
CI / Synaptics Build (push) Blocked by required conditions
CI / Assemble and push default build (push) Blocked by required conditions
Add dynamic configuration for more fields (#22295)
* face recognition dynamic config

* lpr dynamic config

* safe changes for birdseye dynamic config

* bird classification dynamic config

* always assign new config to stats emitter to make telemetry fields dynamic

* add wildcard support for camera config updates in config_set

* update restart required fields for global sections

* add test

* fix rebase issue

* collapsible settings sidebar

use the preexisting control available with shadcn's sidebar (cmd/ctrl-B) to give users more space to set masks/zones on smaller screens

* dynamic ffmpeg

* ensure previews dir exists

when ffmpeg processes restart, there's a brief window where the preview frame generation pipeline is torn down and restarted. before these changes, ffmpeg only restarted on crash/stall recovery or full Frigate restart. Now that ffmpeg restarts happen on-demand via config changes, there's a higher chance a frontend request hits the preview_mp4 or preview_gif endpoints during that brief restart window when the directory might not exist yet. The existing os.listdir() call would throw FileNotFoundError without a directory existence check. this fix just checks if the directory exists and returns 404 if not, exactly how preview_thumbnail already handles the same scenario a few lines below

* global ffmpeg section

* clean up

* tweak

* fix test
2026-03-06 13:45:39 -07:00
..
__init__.py Started unit tests for the review controller (#15077) 2024-11-19 16:35:10 -07:00
base_http_test.py Debug replay (#22212) 2026-03-04 10:07:34 -06:00
test_http_app.py Debug replay (#22212) 2026-03-04 10:07:34 -06:00
test_http_camera_access.py Enforce default admin role requirement for API endpoints (#21065) 2025-11-26 15:07:28 -06:00
test_http_config_set.py Add dynamic configuration for more fields (#22295) 2026-03-06 13:45:39 -07:00
test_http_event.py consolidate attribute filtering to match non-english and url encoded values (#22002) 2026-02-14 08:33:17 -06:00
test_http_latest_frame.py Offline preview image (#21752) 2026-02-26 21:27:56 -07:00
test_http_media.py Enforce default admin role requirement for API endpoints (#21065) 2025-11-26 15:07:28 -06:00
test_http_review.py fix: Correctly apply API filter for "reviewed" (#21600) 2026-01-11 06:42:33 -07:00