mirror of
https://github.com/unraid/api.git
synced 2025-12-30 21:19:49 -06:00
- Updated `getRedirectUri` method in `OidcAuthService` to handle various edge cases for redirect URIs, including full URIs, malformed URLs, and default ports. - Added comprehensive tests for `OidcAuthService` to validate redirect URI construction and error handling. - Modified `RestController` to utilize `redirect_uri` query parameter for authorization requests. - Updated frontend components to include `redirect_uri` in authorization URLs, ensuring correct handling of different protocols and ports. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Stronger OIDC redirect_uri validation and an admin GraphQL endpoint to view full OIDC configuration. * OIDC Debug Logs UI (panel, button, modal), enhanced log viewer with presets/filters, ANSI-colored rendering, and a File Viewer component. * New GraphQL queries to list and fetch config files; API Config Download page. * **Refactor** * Centralized, modular OIDC flows and safer redirect handling; topic-based log subscriptions with a watcher manager for scalable live logs. * **Documentation** * Cache TTL guidance clarified to use milliseconds. * **Chores** * Added ansi_up and escape-html deps; improved log formatting; added root codegen script. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
71 lines
1.6 KiB
JSON
71 lines
1.6 KiB
JSON
{
|
|
"name": "unraid-monorepo",
|
|
"private": true,
|
|
"version": "4.17.0",
|
|
"scripts": {
|
|
"build": "pnpm -r build",
|
|
"build:watch": " pnpm -r --parallel build:watch",
|
|
"codegen": "pnpm -r codegen",
|
|
"dev": "pnpm -r dev",
|
|
"unraid:deploy": "pnpm -r unraid:deploy",
|
|
"test": "pnpm -r test",
|
|
"lint": "pnpm -r lint",
|
|
"lint:fix": "pnpm -r lint:fix",
|
|
"type-check": "pnpm -r type-check",
|
|
"check": "manypkg check",
|
|
"sync-webgui-repo": "node web/scripts/sync-webgui-repo.js",
|
|
"preinstall": "npx check-node-version --node 22 || echo '❌ Node.js 22 required. See readme.md Prerequisites section.'",
|
|
"postinstall": "simple-git-hooks"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"graphql": "16.11.0",
|
|
"@graphql-tools/utils": "10.9.1"
|
|
},
|
|
"peerDependencyRules": {
|
|
"allowAny": [
|
|
"vue"
|
|
]
|
|
},
|
|
"onlyBuiltDependencies": [
|
|
"@apollo/protobufjs",
|
|
"@nestjs/core",
|
|
"@parcel/watcher",
|
|
"@swc/core",
|
|
"@tailwindcss/oxide",
|
|
"@unraid/libvirt",
|
|
"core-js",
|
|
"cpu-features",
|
|
"es5-ext",
|
|
"esbuild",
|
|
"nestjs-pino",
|
|
"protobufjs",
|
|
"sharp",
|
|
"simple-git-hooks",
|
|
"ssh2",
|
|
"unrs-resolver",
|
|
"vue-demi",
|
|
"workerd"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@manypkg/cli": "0.25.0",
|
|
"chalk": "5.6.0",
|
|
"diff": "8.0.2",
|
|
"ignore": "7.0.5"
|
|
},
|
|
"devDependencies": {
|
|
"lint-staged": "16.1.5",
|
|
"simple-git-hooks": "2.13.1"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "pnpm lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx,vue}": [
|
|
"pnpm lint:fix"
|
|
]
|
|
},
|
|
"packageManager": "pnpm@10.15.0"
|
|
}
|