qbit_manage/web-ui/js/config-schemas/nohardlinks.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

55 lines
2.2 KiB
JavaScript

export const nohardlinksSchema = {
title: 'No Hardlinks',
description: 'Configure settings for tagging torrents that are not hardlinked. This is useful for identifying files that can be safely deleted after being processed by applications like Sonarr or Radarr.',
type: 'complex-object',
keyLabel: 'Category',
keyDescription: 'Category to check for torrents without hardlinks.',
useCategoryDropdown: true, // Flag to indicate this should use category dropdown
fields: [
{
type: 'documentation',
title: 'No Hardlinks Configuration Documentation',
filePath: 'Config-Setup.md',
section: 'nohardlinks',
defaultExpanded: false
}
],
patternProperties: {
".*": { // Matches any category name
type: 'object',
properties: {
exclude_tags: {
type: 'array',
label: 'Exclude Tags',
description: 'List of tags to exclude from the check. Torrents with any of these tags will not be processed.',
items: { type: 'string' }
},
ignore_root_dir: {
type: 'boolean',
label: 'Ignore Root Directory',
description: 'If true, ignore hardlinks found within the same root directory.',
default: true
}
},
additionalProperties: false
}
},
additionalProperties: { // Schema for dynamically added properties (new category entries)
type: 'object',
properties: {
exclude_tags: {
type: 'array',
label: 'Exclude Tags',
description: 'List of tags to exclude from the check. Torrents with any of these tags will not be processed.',
items: { type: 'string' }
},
ignore_root_dir: {
type: 'boolean',
label: 'Ignore Root Directory',
description: 'If true, ignore hardlinks found within the same root directory.',
default: true
}
},
additionalProperties: false
}
};