blakeblackshear.frigate/frigate/test
Josh Hawkins 74ca009b0b
UI viewer role (#16978)
* db migration

* db model

* assign admin role on password reset

* add role to jwt and api responses

* don't restrict api access for admins yet

* use json response

* frontend auth context

* update auth form for profile endpoint

* add access denied page

* add protected routes

* auth hook

* dialogs

* user settings view

* restrict viewer access to settings

* restrict camera functions for viewer role

* add password dialog to account menu

* spacing tweak

* migrator default to admin

* escape quotes in migrator

* ui tweaks

* tweaks

* colors

* colors

* fix merge conflict

* fix icons

* add api layer enforcement

* ui tweaks

* fix error message

* debug

* clean up

* remove print

* guard apis for admin only

* fix tests

* fix review tests

* use correct error responses from api in toasts

* add role to account menu
2025-03-08 10:01:08 -06:00
..
http_api UI viewer role (#16978) 2025-03-08 10:01:08 -06:00
__init__.py app container and config schema 2021-01-26 21:40:33 -06:00
const.py Work through most of the cspell warnings in python (#13794) 2024-09-17 10:41:46 -05:00
test_birdseye.py Write a low resolution low fps stream from decoded frames (#8673) 2024-01-31 12:56:11 +00:00
test_camera_pw.py fix typos (#9895) 2024-02-17 16:01:50 -06:00
test_config.py Reuse constants (#16874) 2025-02-28 21:35:09 -07:00
test_copy_yuv_to_position.py Cleanup and organize utils (#7033) 2023-07-06 09:28:50 -05:00
test_ffmpeg_presets.py Improve gamma filter (#14065) 2024-09-30 11:42:51 -06:00
test_gpu_stats.py Add support for SR-IOV GPU stats (#15796) 2025-02-08 12:47:01 -06:00
test_http.py UI viewer role (#16978) 2025-03-08 10:01:08 -06:00
test_obects.py Various fixes (#14410) 2024-10-17 11:02:27 -05:00
test_object_detector.py Fix max_frames, improve stationary objects in masked areas (#6815) 2023-06-16 07:32:43 -05:00
test_record_retention.py Save motion as motion box count (#10484) 2024-03-15 13:13:40 -06:00
test_reduce_boxes.py Smarter Regions (#8194) 2023-10-18 18:21:52 -05:00
test_storage.py Improve robustness of storage maintenance (#8411) 2023-11-01 23:21:59 +00:00
test_video.py Merge remote-tracking branch 'origin/master' into dev 2024-02-14 18:20:55 -06:00
test_yuv_region_2_rgb.py Cleanup and organize utils (#7033) 2023-07-06 09:28:50 -05:00