qbit_manage/web-ui/js/config-schemas/settings.js
bobokun 156291723f
4.5.5 (#922)
# Improvements
- **ci(docker)**: add OCI labels and build metadata to Docker images
- **Web UI**: Show an "Update available" badge next to the version and a
toast notification when a newer version is detected
- **Web UI**: Add integrated docs with collapsible sections
- **ci(build)**: Publish to PyPI
- **Category**: Allow category changes regardless of the "Category
Update All" status (Fixes #913)

# Bug Fixes
- Fixes container hanging when using run command with QBT_RUN flag
(Fixes #911)
- Fixes bug on interval scheduler not displaying the correct next run
time
- Fix bug on webAPI requests not being queued correctly when called
during a scheduled run

**Full Changelog**:
https://github.com/StuffAnThings/qbit_manage/compare/v4.5.4...v4.5.5

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Actionbot <actions@github.com>
Co-authored-by: bakerboy448 <55419169+bakerboy448@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ineednewpajamas <73252768+ineednewpajamas@users.noreply.github.com>
2025-08-24 18:44:54 -04:00

140 lines
5.6 KiB
JavaScript

export const settingsSchema = {
title: 'General Settings',
description: 'Configure general application settings and default behaviors.',
fields: [
{
type: 'documentation',
title: 'Settings Configuration Guide',
filePath: 'Config-Setup.md',
section: 'settings',
defaultExpanded: false
},
{
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' }
},
{
name: 'rem_unregistered_grace_minutes',
type: 'number',
label: 'Remove Unregistered Grace Period (minutes)',
description: 'Minimum age in minutes to protect newly added torrents from removal when a tracker reports unregistered. Set to 0 to disable.',
default: 10,
min: 0
}
]
};