mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-10-10 05:46:55 +08:00
# 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>
176 lines
6.8 KiB
JavaScript
176 lines
6.8 KiB
JavaScript
export const notificationsSchema = {
|
|
title: 'Notifications',
|
|
description: 'Configure notifications for various events using Apprise, Notifiarr, or custom webhooks.',
|
|
type: 'multi-root-object',
|
|
fields: [
|
|
{
|
|
type: 'documentation',
|
|
title: 'Apprise Configuration Guide',
|
|
filePath: 'Config-Setup.md',
|
|
section: 'apprise',
|
|
defaultExpanded: false
|
|
},
|
|
{
|
|
type: 'section_header',
|
|
label: 'Apprise Configuration'
|
|
},
|
|
{
|
|
name: 'apprise.api_url',
|
|
type: 'text',
|
|
label: 'Apprise API Endpoint URL',
|
|
description: 'The URL of your Apprise API endpoint (e.g., http://apprise-api:8000). Leave empty to disable.',
|
|
placeholder: 'http://apprise-api:8000'
|
|
},
|
|
{
|
|
name: 'apprise.notify_url',
|
|
type: 'text',
|
|
label: 'Notification Services URL',
|
|
description: 'The notification URL(s) for your desired services, as supported by Apprise.',
|
|
placeholder: 'discord://webhook_id/webhook_token'
|
|
},
|
|
{
|
|
type: 'documentation',
|
|
title: 'Notifiarr Configuration Guide',
|
|
filePath: 'Config-Setup.md',
|
|
section: 'notifiarr',
|
|
defaultExpanded: false
|
|
},
|
|
{
|
|
type: 'section_header',
|
|
label: 'Notifiarr Configuration'
|
|
},
|
|
{
|
|
name: 'notifiarr.apikey',
|
|
type: 'password',
|
|
label: 'API Key',
|
|
description: 'Your Notifiarr API key. Leave empty to disable.',
|
|
placeholder: 'Your Notifiarr API Key'
|
|
},
|
|
{
|
|
name: 'notifiarr.instance',
|
|
type: 'text',
|
|
label: 'Instance',
|
|
description: '(Optional) A unique identifier for this qbit_manage instance in Notifiarr.',
|
|
placeholder: 'my-instance'
|
|
},
|
|
{
|
|
type: 'section_header',
|
|
label: 'Apply to All Webhooks'
|
|
},
|
|
{
|
|
name: 'apply_to_all_value',
|
|
type: 'select',
|
|
label: 'Value to Apply',
|
|
options: [
|
|
{ value: 'notifiarr', label: 'Notifiarr' },
|
|
{ value: 'apprise', label: 'Apprise' },
|
|
{ value: 'custom', label: 'Custom URL' }
|
|
],
|
|
default: 'notifiarr'
|
|
},
|
|
{
|
|
type: 'button',
|
|
label: 'Apply to All',
|
|
action: 'apply-to-all'
|
|
},
|
|
{
|
|
type: 'documentation',
|
|
title: 'Webhooks Configuration Guide',
|
|
filePath: 'Config-Setup.md',
|
|
section: 'webhooks',
|
|
defaultExpanded: false
|
|
},
|
|
{
|
|
type: 'section_header',
|
|
label: 'Webhooks Configuration'
|
|
},
|
|
{
|
|
name: 'webhooks.error',
|
|
type: 'dynamic_select_text',
|
|
label: 'Error Webhook',
|
|
description: 'Webhook for error notifications. Can be set to "apprise", "notifiarr", or a custom URL.',
|
|
options: ['apprise', 'notifiarr', 'webhook']
|
|
},
|
|
{
|
|
name: 'webhooks.run_start',
|
|
type: 'dynamic_select_text',
|
|
label: 'Run Start Webhook',
|
|
description: 'Webhook for run start notifications. Can be set to "apprise", "notifiarr", or a custom URL.',
|
|
options: ['apprise', 'notifiarr', 'webhook']
|
|
},
|
|
{
|
|
name: 'webhooks.run_end',
|
|
type: 'dynamic_select_text',
|
|
label: 'Run End Webhook',
|
|
description: 'Webhook for run end notifications. Can be set to "apprise", "notifiarr", or a custom URL.',
|
|
options: ['apprise', 'notifiarr', 'webhook']
|
|
},
|
|
{
|
|
type: 'section_header',
|
|
label: 'Function Specific Webhooks'
|
|
},
|
|
{
|
|
name: 'webhooks.function.recheck',
|
|
type: 'dynamic_select_text',
|
|
label: 'Recheck Webhook',
|
|
description: 'Webhook for recheck notifications. Can be set to "apprise", "notifiarr", or a custom URL.',
|
|
options: ['apprise', 'notifiarr', 'webhook']
|
|
},
|
|
{
|
|
name: 'webhooks.function.cat_update',
|
|
type: 'dynamic_select_text',
|
|
label: 'Category Update Webhook',
|
|
description: 'Webhook for category update notifications. Can be set to "apprise", "notifiarr", or a custom URL.',
|
|
options: ['apprise', 'notifiarr', 'webhook']
|
|
},
|
|
{
|
|
name: 'webhooks.function.tag_update',
|
|
type: 'dynamic_select_text',
|
|
label: 'Tag Update Webhook',
|
|
description: 'Webhook for tag update notifications. Can be set to "apprise", "notifiarr", or a custom URL.',
|
|
options: ['apprise', 'notifiarr', 'webhook']
|
|
},
|
|
{
|
|
name: 'webhooks.function.rem_unregistered',
|
|
type: 'dynamic_select_text',
|
|
label: 'Remove Unregistered Webhook',
|
|
description: 'Webhook for remove unregistered notifications. Can be set to "apprise", "notifiarr", or a custom URL.',
|
|
options: ['apprise', 'notifiarr', 'webhook']
|
|
},
|
|
{
|
|
name: 'webhooks.function.tag_tracker_error',
|
|
type: 'dynamic_select_text',
|
|
label: 'Tag Tracker Error Webhook',
|
|
description: 'Webhook for tag tracker error notifications. Can be set to "apprise", "notifiarr", or a custom URL.',
|
|
options: ['apprise', 'notifiarr', 'webhook']
|
|
},
|
|
{
|
|
name: 'webhooks.function.rem_orphaned',
|
|
type: 'dynamic_select_text',
|
|
label: 'Remove Orphaned Webhook',
|
|
description: 'Webhook for remove orphaned notifications. Can be set to "apprise", "notifiarr", or a custom URL.',
|
|
options: ['apprise', 'notifiarr', 'webhook']
|
|
},
|
|
{
|
|
name: 'webhooks.function.tag_nohardlinks',
|
|
type: 'dynamic_select_text',
|
|
label: 'Tag No Hardlinks Webhook',
|
|
description: 'Webhook for tag no hardlinks notifications. Can be set to "apprise", "notifiarr", or a custom URL.',
|
|
options: ['apprise', 'notifiarr', 'webhook']
|
|
},
|
|
{
|
|
name: 'webhooks.function.share_limits',
|
|
type: 'dynamic_select_text',
|
|
label: 'Share Limits Webhook',
|
|
description: 'Webhook for share limits notifications. Can be set to "apprise", "notifiarr", or a custom URL.',
|
|
options: ['apprise', 'notifiarr', 'webhook']
|
|
},
|
|
{
|
|
name: 'webhooks.function.cleanup_dirs',
|
|
type: 'dynamic_select_text',
|
|
label: 'Cleanup Directories Webhook',
|
|
description: 'Webhook for cleanup directories notifications. Can be set to "apprise", "notifiarr", or a custom URL.',
|
|
options: ['apprise', 'notifiarr', 'webhook']
|
|
}
|
|
]
|
|
};
|