mirror of
https://github.com/unraid/api.git
synced 2026-01-02 22:50:02 -06:00
so the parser does not treat them as comments. This surfaces a new bug: `#`'s in notification subject or descriptions are treated as comments, and content following a `#` will not be displayed in queries from the api, unless the values are explicitly quoted as strings: ``` subject=Warning #1 OS # ❌ Truncates after "Warning" subject=\#1 OS # ❌ Backslash escape doesn't work subject="Warning #1 OS" # ✅ Double quotes work! subject='Warning #1 OS' # ✅ Single quotes work! ``` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Version 4.25.3 * **Improvements** * Enhanced notification system with improved handling of special characters and HTML-formatted content in messages. * Better text rendering accuracy across all notification types. * **Chores** * Updated application dependencies. * Version bumped to 4.25.3. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Development Configuration Files
This directory contains configuration files for local development.
OIDC Configuration
oidc.json
The default OIDC configuration file. This file is committed to git and should only contain non-sensitive test configurations.
Using a Local Configuration (gitignored)
For local testing with real OAuth providers:
- Create an
oidc.local.jsonfile based onoidc.json - Set the environment variable:
PATHS_OIDC_JSON=./dev/configs/oidc.local.json - The API will load your local configuration instead of the default
Example:
PATHS_OIDC_JSON=./dev/configs/oidc.local.json pnpm dev
Setting up OAuth Apps
- Go to Google Cloud Console
- Create a new project or select existing
- Enable Google+ API
- Create OAuth 2.0 credentials
- Add authorized redirect URI:
http://localhost:3000/graphql/api/auth/oidc/callback
GitHub
- Go to GitHub Settings > Developer settings > OAuth Apps
- Create a new OAuth App
- Set Authorization callback URL:
http://localhost:3000/graphql/api/auth/oidc/callback