qbit_manage/web-ui/js/config-schemas/settings.js
bobokun ca4819bc0b
4.5.1 (#874)
# Requirements Updated
- qbittorrent-api==2025.7.0
- fastapi==0.116.1


# New Features
- **Uncategorized Category**: Allow multiple paths for Uncategorized
category and add error handling (Thanks to @cat-of-wisdom #849)
- **Config Auto Backup and Cleanup**: implement automatic backup
rotation (30 most recent backups per config) and cleanup
- **Web UI**: add base URL support for reverse proxy deployments (Fixes
#871)
- **Share Limits**: add option to preserve upload speed limits when
minimums unmet (New config option
`reset_upload_speed_on_unmet_minimums`) (Fixes #835, #791)

# Improvements
- Optimize webUI form rendering
- Better centralized error handling for qbitorrent API operations
- **Web UI**: add editable group names to share limit modal

# Bug Fixes
- Fix bug in remove orphaned to notify when there are 0 orphaned files
- Fixes [Bug]: Cannot run on Python 3.9.18 #864
- fix(qbit): add error handling for qBittorrent API operations

**Full Changelog**:
https://github.com/StuffAnThings/qbit_manage/compare/v4.5.0...v4.5.1

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: cat-of-wisdom <217637421+cat-of-wisdom@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-19 08:59:41 -04:00

125 lines
5.1 KiB
JavaScript

export const settingsSchema = {
title: 'General Settings',
description: 'Configure general application settings and default behaviors.',
fields: [
{
name: 'force_auto_tmm',
type: 'boolean',
label: 'Force Auto TMM',
description: 'Force qBittorrent to enable Automatic Torrent Management (ATM) for each torrent.',
default: false
},
{
name: 'force_auto_tmm_ignore_tags',
type: 'array',
label: 'Force Auto TMM Ignore Tags',
description: 'Torrents with these tags will be ignored when force_auto_tmm is enabled.',
items: { type: 'text' }
},
{
name: 'tracker_error_tag',
type: 'text',
label: 'Tracker Error Tag',
description: 'The tag to apply to torrents that have a tracker error. Used by the `tag_tracker_error` command.',
default: 'issue'
},
{
name: 'nohardlinks_tag',
type: 'text',
label: 'No Hard Links Tag',
description: 'The tag to apply to torrents that do not have any hardlinks. Used by the `tag_nohardlinks` command.',
default: 'noHL'
},
{
name: 'stalled_tag',
type: 'text',
label: 'Stalled Tag',
description: 'The tag to apply to torrents that are stalled during download.',
default: 'stalledDL'
},
{
name: 'share_limits_tag',
type: 'text',
label: 'Share Limits Tag',
description: 'The prefix for tags created by share limit groups. For example, a group named "group1" with priority 1 would get the tag "~share_limit_1.group1".',
default: '~share_limit'
},
{
name: 'share_limits_min_seeding_time_tag',
type: 'text',
label: 'Min Seeding Time Tag',
description: 'The tag to apply to torrents that have not met their minimum seeding time requirement in a share limit group.',
default: 'MinSeedTimeNotReached'
},
{
name: 'share_limits_min_num_seeds_tag',
type: 'text',
label: 'Min Num Seeds Tag',
description: 'The tag to apply to torrents that have not met their minimum number of seeds requirement in a share limit group.',
default: 'MinSeedsNotMet'
},
{
name: 'share_limits_last_active_tag',
type: 'text',
label: 'Last Active Tag',
description: 'The tag to apply to torrents that have not met their last active time requirement in a share limit group.',
default: 'LastActiveLimitNotReached'
},
{
name: 'cat_filter_completed',
type: 'boolean',
label: 'Category Filter Completed',
description: 'If true, the `cat_update` command will only process completed torrents.',
default: true
},
{
name: 'share_limits_filter_completed',
type: 'boolean',
label: 'Share Limits Filter Completed',
description: 'If true, the `share_limits` command will only process completed torrents.',
default: true
},
{
name: 'tag_nohardlinks_filter_completed',
type: 'boolean',
label: 'Tag No Hardlinks Filter Completed',
description: 'If true, the `tag_nohardlinks` command will only process completed torrents.',
default: true
},
{
name: 'rem_unregistered_filter_completed',
type: 'boolean',
label: 'Remove Unregistered Filter Completed',
description: 'If true, the `rem_unregistered` command will only process completed torrents.',
default: false
},
{
name: 'cat_update_all',
type: 'boolean',
label: 'Category Update All',
description: 'If true, `cat_update` will update all torrents; otherwise, it will only update uncategorized torrents.',
default: true
},
{
name: 'disable_qbt_default_share_limits',
type: 'boolean',
label: 'Disable qBittorrent Default Share Limits',
description: 'If true, qBittorrent\'s default share limits will be disabled, allowing qbit_manage to handle them exclusively.',
default: true
},
{
name: 'tag_stalled_torrents',
type: 'boolean',
label: 'Tag Stalled Torrents',
description: 'If true, the `tag_update` command will tag stalled downloading torrents with the `stalled_tag`.',
default: true
},
{
name: 'rem_unregistered_ignore_list',
type: 'array',
label: 'Remove Unregistered Ignore List',
description: 'A list of keywords. If any of these are found in a tracker\'s status message, the torrent will not be removed by the `rem_unregistered` command.',
items: { type: 'text' }
}
]
};