frigate/web/src/utils
Josh Hawkins b821420dee
Miscellaneous improvements (#22714)
* scrub genai API keys and onvif credentials from config endpoint

* enforce camera access in thumbnail tracked-object fallback

The /events/{id}/thumbnail endpoint called require_camera_access when
loading persisted events but skipped the check in the tracked-object
fallback path for in-progress events. A restricted viewer could
retrieve thumbnails from cameras they should not have access to.

* block filter and attach flags in custom ffmpeg export args

The ffmpeg argument blocklist missed -filter_complex, -lavfi, -vf,
-af, -filter, and -attach. These flags can read arbitrary files via
source filters like movie= and amovie=, bypassing the existing -i
block. A user with camera access could exploit this through the
custom export endpoint.

* enforce camera access on VLM monitor endpoint

POST /vlm/monitor allowed any authenticated user to start VLM
monitoring on any camera without checking camera access. A viewer
restricted to specific cameras could monitor cameras they should
not have access to.

* enforce camera access in chat start_camera_watch tool

The start_camera_watch tool called via POST /chat/completion did not
validate camera access, allowing a restricted viewer to start VLM
monitoring on cameras outside their allowed set through the chat
interface.

* restrict review summary endpoint to admin role

* fix require_role call passing string instead of list

* fix section config uiSchema merge replacing base entries

mergeSectionConfig was replacing the entire base uiSchema when a
level override (global/camera) also defined one, causing base-level
ui:after/ui:before directives to be silently dropped. This broke
the SemanticSearchReindex button which was defined in base uiSchema.
2026-03-31 13:45:04 -05:00
..
browserUtil.ts Refactor and clean up i18n (#17198) 2025-03-17 06:26:01 -06:00
cameraUtil.ts Merge remote-tracking branch 'origin/master' into dev 2026-03-22 17:34:11 -05:00
canvasUtil.ts Snap points to edges and create object mask from bounding box (#16488) 2025-02-11 09:08:28 -07:00
chatUtil.ts Add GenAI Backend Streaming and Chat (#22152) 2026-02-27 09:07:30 -07:00
colorUtil.ts Replace individual storage graphs with combined graph (#13438) 2024-08-30 07:56:55 -06:00
configUtil.ts Miscellaneous improvements (#22714) 2026-03-31 13:45:04 -05:00
credentialMask.ts Add go2rtc streams to settings UI (#22531) 2026-03-19 10:33:42 -06:00
dateUtil.ts i18n miscellaneous fixes (#21614) 2026-01-12 09:15:27 -06:00
go2rtcFfmpeg.ts Add go2rtc streams to settings UI (#22531) 2026-03-19 10:33:42 -06:00
i18n.ts Frontend fixes (#22309) 2026-03-07 06:43:00 -07:00
iconUtil.tsx Miscellaneous fixes (0.17 beta) (#21934) 2026-02-12 13:42:08 -07:00
isIFrame.ts Prevent settings menu scroll on iOS proxy iframe from shifting entire UI (#17024) 2025-03-08 10:13:07 -06:00
isPWA.ts Mobile/PWA spacing fixes (#11403) 2024-05-16 16:00:14 -06:00
lifecycleUtil.ts I18N Miscellaneous Fixes (#21573) 2026-01-08 14:28:18 -07:00
logUtil.ts Improve UI logs (#16434) 2025-02-10 08:38:56 -07:00
passwordUtil.ts i18n workflow improvements and tweaks (#22586) 2026-03-23 08:48:02 -05:00
profileColors.ts Camera profile support (#22482) 2026-03-19 09:47:57 -05:00
snapshotUtil.ts Add ability to download on demand snapshots (#20488) 2025-10-14 14:05:35 -05:00
storageUtil.ts Add camera bandwidth back in storage metrics (#13436) 2024-08-30 07:11:54 -06:00
stringUtil.ts Miscellaneous Fixes (#20841) 2025-11-08 05:44:30 -07:00
timelineUtil.tsx Fix motion timeline offset (#19185) 2025-07-17 08:17:58 -06:00
videoUtil.ts Miscellaneous Fixes (#20989) 2025-11-21 15:40:58 -06:00
wsUtil.ts Debug replay (#22212) 2026-03-04 10:07:34 -06:00
zoneEdutUtil.ts New mask/zone editor and motion tuner (#11020) 2024-04-19 05:34:07 -06:00