mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-25 18:30:56 -06:00
1133202cbd
* 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>
115 lines
3.8 KiB
JSON
115 lines
3.8 KiB
JSON
{
|
|
"name": "web-new",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --host",
|
|
"build": "tsc && vite build --base=/BASE_PATH/",
|
|
"lint": "eslint --ext .jsx,.js,.tsx,.ts --ignore-path .gitignore .",
|
|
"lint:fix": "eslint --ext .jsx,.js,.tsx,.ts --ignore-path .gitignore --fix .",
|
|
"preview": "vite preview",
|
|
"prettier:write": "prettier -u -w --ignore-path .gitignore \"*.{ts,tsx,js,jsx,css,html}\"",
|
|
"test": "vitest",
|
|
"coverage": "vitest run --coverage"
|
|
},
|
|
"dependencies": {
|
|
"@cycjimmy/jsmpeg-player": "^6.0.5",
|
|
"@hookform/resolvers": "^3.3.4",
|
|
"@radix-ui/react-alert-dialog": "^1.0.5",
|
|
"@radix-ui/react-aspect-ratio": "^1.0.3",
|
|
"@radix-ui/react-context-menu": "^2.1.5",
|
|
"@radix-ui/react-dialog": "^1.0.5",
|
|
"@radix-ui/react-dropdown-menu": "^2.0.6",
|
|
"@radix-ui/react-hover-card": "^1.0.7",
|
|
"@radix-ui/react-label": "^2.0.2",
|
|
"@radix-ui/react-popover": "^1.0.7",
|
|
"@radix-ui/react-radio-group": "^1.1.3",
|
|
"@radix-ui/react-scroll-area": "^1.0.5",
|
|
"@radix-ui/react-select": "^2.0.0",
|
|
"@radix-ui/react-separator": "^1.0.3",
|
|
"@radix-ui/react-slider": "^1.1.2",
|
|
"@radix-ui/react-slot": "^1.0.2",
|
|
"@radix-ui/react-switch": "^1.0.3",
|
|
"@radix-ui/react-tabs": "^1.0.4",
|
|
"@radix-ui/react-toggle": "^1.0.3",
|
|
"@radix-ui/react-toggle-group": "^1.0.4",
|
|
"@radix-ui/react-tooltip": "^1.0.7",
|
|
"apexcharts": "^3.49.0",
|
|
"axios": "^1.6.8",
|
|
"class-variance-authority": "^0.7.0",
|
|
"clsx": "^2.1.1",
|
|
"copy-to-clipboard": "^3.3.3",
|
|
"date-fns": "^3.6.0",
|
|
"hls.js": "^1.5.8",
|
|
"idb-keyval": "^6.2.1",
|
|
"immer": "^10.1.1",
|
|
"konva": "^9.3.6",
|
|
"lodash": "^4.17.21",
|
|
"lucide-react": "^0.378.0",
|
|
"monaco-yaml": "^5.1.1",
|
|
"next-themes": "^0.3.0",
|
|
"react": "^18.3.1",
|
|
"react-apexcharts": "^1.4.1",
|
|
"react-day-picker": "^8.10.1",
|
|
"react-device-detect": "^2.2.3",
|
|
"react-dom": "^18.3.1",
|
|
"react-grid-layout": "^1.4.4",
|
|
"react-hook-form": "^7.51.4",
|
|
"react-icons": "^5.2.1",
|
|
"react-konva": "^18.2.10",
|
|
"react-router-dom": "^6.23.0",
|
|
"react-swipeable": "^7.0.1",
|
|
"react-tracked": "^2.0.0",
|
|
"react-transition-group": "^4.4.5",
|
|
"react-use-websocket": "^4.8.1",
|
|
"react-zoom-pan-pinch": "^3.4.4",
|
|
"recoil": "^0.7.7",
|
|
"scroll-into-view-if-needed": "^3.1.0",
|
|
"sonner": "^1.4.41",
|
|
"sort-by": "^1.2.0",
|
|
"strftime": "^0.10.2",
|
|
"swr": "^2.2.5",
|
|
"tailwind-merge": "^2.3.0",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"vaul": "^0.9.1",
|
|
"vite-plugin-monaco-editor": "^1.1.0",
|
|
"zod": "^3.23.7"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/forms": "^0.5.7",
|
|
"@testing-library/jest-dom": "^6.1.5",
|
|
"@types/lodash": "^4.17.1",
|
|
"@types/node": "^20.12.11",
|
|
"@types/react": "^18.3.1",
|
|
"@types/react-dom": "^18.3.0",
|
|
"@types/react-grid-layout": "^1.3.5",
|
|
"@types/react-icons": "^3.0.0",
|
|
"@types/react-transition-group": "^4.4.10",
|
|
"@types/strftime": "^0.9.8",
|
|
"@typescript-eslint/eslint-plugin": "^7.5.0",
|
|
"@typescript-eslint/parser": "^7.5.0",
|
|
"@vitejs/plugin-react-swc": "^3.6.0",
|
|
"@vitest/coverage-v8": "^1.6.0",
|
|
"autoprefixer": "^10.4.19",
|
|
"eslint": "^8.55.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-jest": "^28.2.0",
|
|
"eslint-plugin-prettier": "^5.0.1",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"eslint-plugin-react-refresh": "^0.4.6",
|
|
"eslint-plugin-vitest-globals": "^1.5.0",
|
|
"fake-indexeddb": "^5.0.2",
|
|
"jest-websocket-mock": "^2.5.0",
|
|
"jsdom": "^24.0.0",
|
|
"msw": "^2.3.0",
|
|
"postcss": "^8.4.38",
|
|
"prettier": "^3.2.5",
|
|
"prettier-plugin-tailwindcss": "^0.5.14",
|
|
"tailwindcss": "^3.4.3",
|
|
"typescript": "^5.4.5",
|
|
"vite": "^5.2.11",
|
|
"vitest": "^1.6.0"
|
|
}
|
|
}
|