Commit Graph

4658 Commits

Author SHA1 Message Date
Josh Hawkins
393aa07885 create and edit role dialogs 2025-09-11 08:46:50 -05:00
Josh Hawkins
216819e938 fix type 2025-09-11 08:26:45 -05:00
Josh Hawkins
15114bb1df fix triggers endpoints
no need to run require camera access dep since the required role is admin
2025-09-11 08:18:45 -05:00
Josh Hawkins
f50c4f712c don't limit roles in create user dialog 2025-09-11 07:54:05 -05:00
Josh Hawkins
f520d4b8dd fix post validation for roles 2025-09-11 07:38:03 -05:00
Josh Hawkins
69d3fd9269 combine event tests and refactor for camera access 2025-09-10 15:13:13 -05:00
Josh Hawkins
32b599d011 allowed cameras for review tests 2025-09-10 15:11:22 -05:00
Josh Hawkins
7d3180b4f0 fix proxy auth tests 2025-09-10 14:51:12 -05:00
Josh Hawkins
c93f53d84c camera access tests 2025-09-10 14:50:58 -05:00
Josh Hawkins
1ebf74ef41 more async 2025-09-10 14:50:07 -05:00
Josh Hawkins
379d2d3627 pass request with camera access for tests 2025-09-10 14:13:27 -05:00
Josh Hawkins
0339328da8 remove check in delete reviews
since admin role is required, no need to check camera access. fixes failing test
2025-09-10 12:52:29 -05:00
Josh Hawkins
9c8c63bdda only show face library and classification in sidebar for admin 2025-09-10 11:31:21 -05:00
Josh Hawkins
a0928cf325 limit cameras in camera groups 2025-09-10 10:46:01 -05:00
Josh Hawkins
fa863bad63 limit cameras in live view 2025-09-10 10:31:37 -05:00
Josh Hawkins
8976b061a4 limit cameras in review/history 2025-09-10 07:31:49 -05:00
Josh Hawkins
8e79d34aac cameras is already a list 2025-09-10 07:28:38 -05:00
Josh Hawkins
0148e91544 limit cameras in explore 2025-09-10 07:18:07 -05:00
Josh Hawkins
0561a78bc9 ensure anonymous user always returns all cameras 2025-09-10 07:17:36 -05:00
Josh Hawkins
812a46d688 update default app view 2025-09-10 06:55:56 -05:00
Josh Hawkins
953e467b56 update auth hook for allowed cameras 2025-09-10 06:55:19 -05:00
Josh Hawkins
909e8d2825 protect media endpoints 2025-09-09 17:45:29 -05:00
Josh Hawkins
a984227c9b protect event endpoints 2025-09-09 17:45:05 -05:00
Josh Hawkins
2a9d5f5e51 protect export endpoints 2025-09-09 17:44:01 -05:00
Josh Hawkins
f857ccd366 remove unneeded 2025-09-09 17:43:38 -05:00
Josh Hawkins
b42dba7a07 rename param name for better fastapi injection matching 2025-09-09 17:28:58 -05:00
Josh Hawkins
6fbf7ec2c2 protect preview endpoints 2025-09-09 17:04:38 -05:00
Josh Hawkins
39cb3f7217 protect review endpoints 2025-09-09 17:03:07 -05:00
Josh Hawkins
ad21495aeb add camera access api dependency functions 2025-09-09 16:37:12 -05:00
Josh Hawkins
862cb7bd8b enforce config roles in auth api endpoints 2025-09-09 10:44:03 -05:00
Josh Hawkins
c9578a7c02 add class method to user to retrieve all allowed cameras 2025-09-09 10:40:18 -05:00
Josh Hawkins
375c824ea3 ensure admin and viewer are never overridden 2025-09-09 10:17:05 -05:00
Josh Hawkins
320165aa3e update config for roles and add validator 2025-09-09 10:16:51 -05:00
Craig
fd6e7afea9
Fix markdown table in camera_specific.md (#19919) 2025-09-05 06:00:51 -05:00
Josh Hawkins
b781f06f9c
Constrain width of export preview dialog (#19908)
Matches the other export preview dialog in Review
2025-09-04 08:08:07 -05:00
Blake Blackshear
a8b7e5dd24 Merge remote-tracking branch 'origin/master' into dev 2025-09-04 06:33:22 -05:00
Nicolas Mowen
6505ae5fb5
Optimize cuda execution to run in single stream (#19896) 2025-09-03 08:53:30 -05:00
Nicolas Mowen
fe3eb24dfe
Update Reolink support docs (#19887) 2025-09-02 15:21:18 -05:00
Nicolas Mowen
e664cb2285
Set lower bound on retry interval (#19883) 2025-09-02 11:24:25 -05:00
Josh Hawkins
62047c80d5
Poll for camera status on tracking end instead of waiting (#19879) 2025-09-02 06:17:01 -06:00
Josh Hawkins
198e53bd42
Fix stream stats display (#19874)
* Fix stats calculations and labels

* fix linter from complaining

* fix mse calc

* label
2025-09-01 19:23:44 -05:00
Josh Hawkins
f7ed8b4cab
Autotracking improvements (#19873)
* Use asyncio lock when checking camera status

get_camera_status() can be called during normal autotracking movement and from routine camera_maintenance(). Some cameras cause one of the status calls to hang, which then subsequently hangs autotracking. A lock serializes access and prevents the hang.

* use while loop in camera_maintenance for status check

some cameras seem to take a little bit to update their status, don't assume the first call shows the motor has stopped
2025-09-01 19:18:50 -05:00
Josh Hawkins
bd255362d6
Ensure proxy group claim uses the configured separator character (#19869)
* Ensure group claim uses the configured separator character

* refactor to helper function

* tests

* clean up
2025-09-01 15:30:30 -06:00
Josh Hawkins
55160f9235 fix more merge conflicts 2025-09-01 13:51:29 -05:00
Sergejs Romancevičs
8e7f0cfd51 Translated using Weblate (Russian)
Currently translated at 100.0% (118 of 118 strings)

Translation: Frigate NVR/views-system
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-system/ru/
2025-09-01 13:42:09 -05:00
Artyom Rybakov
9fd07bde48 Translated using Weblate (Russian)
Currently translated at 100.0% (118 of 118 strings)

Translation: Frigate NVR/views-system
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-system/ru/
2025-09-01 13:42:09 -05:00
Sergejs Romancevičs
efe707510e Translated using Weblate (Russian)
Currently translated at 100.0% (427 of 427 strings)

Translation: Frigate NVR/views-settings
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-settings/ru/
2025-09-01 13:42:09 -05:00
Artyom Rybakov
4cca09410f Translated using Weblate (Russian)
Currently translated at 100.0% (427 of 427 strings)

Translation: Frigate NVR/views-settings
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-settings/ru/
2025-09-01 13:42:09 -05:00
Artyom Rybakov
cc270e7d1e Translated using Weblate (Russian)
Currently translated at 100.0% (72 of 72 strings)

Translation: Frigate NVR/components-filter
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/components-filter/ru/
2025-09-01 13:42:09 -05:00
Artyom Rybakov
bba22bd456 Translated using Weblate (Russian)
Currently translated at 100.0% (46 of 46 strings)

Translation: Frigate NVR/components-camera
Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/components-camera/ru/
2025-09-01 13:42:09 -05:00