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

48 lines
2.1 KiB
JavaScript

export const directorySchema = {
title: 'Directory Paths',
description: 'Configure directory paths for various operations. Proper configuration is crucial for features like orphaned file detection, no-hardlinks tagging, and the recycle bin.',
fields: [
{
type: 'documentation',
title: 'Directory Configuration Guide',
filePath: 'Config-Setup.md',
section: 'directory',
defaultExpanded: false
},
{
name: 'root_dir',
type: 'text',
label: 'Root Directory',
description: 'The primary download directory qBittorrent uses. This path is essential for checking for orphaned files, no-hardlinks, and unregistered torrents.',
placeholder: '/path/to/torrents'
},
{
name: 'remote_dir',
type: 'text',
label: 'Remote Directory',
description: 'If running qbit_manage locally and qBittorrent is in Docker, this should be the host path that maps to `root_dir` inside the container. Not required if qbit_manage is also in a container.',
placeholder: '/mnt/remote'
},
{
name: 'recycle_bin',
type: 'text',
label: 'Recycle Bin Directory',
description: 'The path to the recycle bin folder. If not specified, it defaults to `.RecycleBin` inside your `root_dir`.',
placeholder: '/path/to/recycle-bin'
},
{
name: 'torrents_dir',
type: 'text',
label: 'Torrents Directory',
description: 'The path to your qBittorrent `BT_backup` directory. This is required to use the `save_torrents` feature in the recycle bin.',
placeholder: '/path/to/torrent-files'
},
{
name: 'orphaned_dir',
type: 'text',
label: 'Orphaned Files Directory',
description: 'The path to the orphaned files directory. If not specified, it defaults to `orphaned_data` inside your `root_dir`.',
placeholder: '/path/to/orphaned'
}
]
};