mirror of
https://github.com/kikootwo/ReadMeABook.git
synced 2026-06-03 21:00:09 +00:00
Add indexer flag bonuses and SSL verify toggle
Implements configurable indexer flag bonuses/penalties for torrent ranking, including UI for admin settings and support in ranking-algorithm. Adds an option to disable SSL certificate verification for qBittorrent connections (for self-signed certs), with UI in both setup and admin settings, and persists the setting. Updates documentation, API routes, and ranking logic to support these features. Also includes minor UI improvements and bug fixes.
This commit is contained in:
@@ -43,11 +43,17 @@ Free, open-source BitTorrent client with comprehensive Web API.
|
||||
## Config
|
||||
|
||||
**Required (database only, no env fallbacks):**
|
||||
- `download_client_url` - qBittorrent Web UI URL
|
||||
- `download_client_url` - qBittorrent Web UI URL (supports HTTP and HTTPS)
|
||||
- `download_client_username` - qBittorrent username
|
||||
- `download_client_password` - qBittorrent password
|
||||
- `download_dir` - Download save path (passed to qBittorrent for all torrents)
|
||||
|
||||
**Optional (SSL/TLS):**
|
||||
- `download_client_disable_ssl_verify` - Disable SSL certificate verification for HTTPS (boolean as string "true"/"false", default: "false")
|
||||
- Use when connecting to qBittorrent with self-signed certificates
|
||||
- ⚠️ Security warning: Only use on trusted private networks
|
||||
- Enhanced error messages guide users when SSL issues detected
|
||||
|
||||
**Optional (Remote Path Mapping):**
|
||||
- `download_client_remote_path_mapping_enabled` - Enable path mapping (boolean as string "true"/"false")
|
||||
- `download_client_remote_path` - Remote path prefix from qBittorrent
|
||||
@@ -164,6 +170,12 @@ type TorrentState = 'downloading' | 'uploading' | 'stalledDL' |
|
||||
- PathMapper utility for prefix replacement transformation
|
||||
- Local path validation during test connection
|
||||
- Applied in download completion and import retry processors
|
||||
**11. HTTPS SSL certificate errors** - Users with seedboxes using self-signed certificates or Let's Encrypt couldn't connect. Fixed by:
|
||||
- Optional SSL verification disable toggle in setup wizard and admin settings
|
||||
- Custom HTTPS agent with `rejectUnauthorized: false` when enabled
|
||||
- Enhanced error messages identifying SSL/TLS certificate issues with actionable guidance
|
||||
- Secure by default (SSL verification enabled), with clear security warnings when disabled
|
||||
- URL format: `https://qbt.domain.com:443/qbittorrent` fully supported
|
||||
|
||||
## Tech Stack
|
||||
|
||||
|
||||
Reference in New Issue
Block a user