blakeblackshear.frigate/frigate
Blake Blackshear 1133202cbd
Auth! (#11347)
* reload the window on 401

* backend apis for auth

* add login page

* re-enable web linter

* fix login page routing

* bypass csrf for internal auth endpoint

* disable healthcheck in devcontainer target

* include login page in vite build

* redirect to login page on 401

* implement config for users and settings

* implement JWT actual secret

* add brute force protection on login

* add support for redirecting from auth failures on api calls

* return location for redirect

* default cookie name should pass regex test

* set hash iterations to current OWASP recommendation

* move users to database instead of config

* config option to reset admin password on startup

* user management UI

* check for deleted user on refresh

* validate username and fixes

* remove password constraint

* cleanup

* fix user check on refresh

* web fixes

* implement auth via new external port

* use x-forwarded-for to rate limit login attempts by ip

* implement logout and profile

* fixes

* lint fixes

* add support for user passthru from upstream proxies

* add support for specifying a logout url

* add documentation

* Update docs/docs/configuration/authentication.md

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>

* Update docs/docs/configuration/authentication.md

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>

---------

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
2024-05-18 10:36:13 -06:00
..
api Auth! (#11347) 2024-05-18 10:36:13 -06:00
comms Simplify on connect (#11176) 2024-04-30 07:27:39 -06:00
detectors Implement common post_processing (#11408) 2024-05-17 10:50:45 -06:00
events Bug fixes (#11332) 2024-05-10 11:42:56 -06:00
images Replace green screen with error message and force camera_fps to 0 (#4544) 2022-11-28 21:47:20 -06:00
motion Setting motion masks to zero, rather than 255, will speed up calibration, as the average frame starts out at zero (#9992) 2024-02-23 06:08:05 -06:00
output Fix preview saving for ffmpeg builds < 5 (#11400) 2024-05-16 16:55:55 -05:00
ptz UI tweaks (#10998) 2024-04-16 15:55:24 -05:00
record UI fixes (#11161) 2024-04-29 15:23:24 -06:00
review Recording fixes (#11406) 2024-05-17 07:26:42 -06:00
stats Cleanup error gpu (#11130) 2024-04-27 11:26:51 -05:00
test Cleanup config validation (#11235) 2024-05-04 10:15:03 -05:00
track Adjust stationary reqs depending on state (#11226) 2024-05-03 17:28:06 -05:00
util Improve mask error (#11361) 2024-05-13 10:00:34 -05:00
__init__.py app container and config schema 2021-01-26 21:40:33 -06:00
__main__.py Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
app.py Auth! (#11347) 2024-05-18 10:36:13 -06:00
config.py Auth! (#11347) 2024-05-18 10:36:13 -06:00
const.py Auth! (#11347) 2024-05-18 10:36:13 -06:00
ffmpeg_presets.py Migrate pydantic to V2 (#10142) 2024-02-29 16:10:13 -07:00
log.py Remove faster_fifo (#7181) 2023-07-16 07:42:56 -05:00
models.py Auth! (#11347) 2024-05-18 10:36:13 -06:00
mypy.ini update deps (#6093) 2023-04-15 14:17:59 -05:00
object_detection.py chore: fix some typos in comments (#11028) 2024-04-20 06:16:43 -05:00
object_processing.py Revamp object debug view (#11186) 2024-05-01 08:07:56 -06:00
plus.py Fix permission error accessing /run/secrets (#10097) 2024-02-28 17:18:34 -06:00
storage.py Ensure storage cleanup doesn't fail (#8531) 2023-11-07 23:21:43 +00:00
timeline.py Improve graph using pandas (#9234) 2024-01-31 12:56:11 +00:00
types.py Convert config updating and video/audio queues to use zmq (#9893) 2024-02-19 07:26:59 -06:00
video.py fix motion updating (#11083) 2024-04-23 09:57:29 -05:00
watchdog.py Cleanup and organize utils (#7033) 2023-07-06 09:28:50 -05:00