feat: downloads widget (#844)
Usenet and Torrent downloads in 1 widget. sabNZBd, NzbGet, Deluge, qBitTorrent, and transmission support. Columns can be reordered in Edit mode. Sorting enabled. Time uses Dayjs with auto translation. Can pause/resume single items, clients, or all. Can delete items (With option to delete assossiated files). Clients list and details. Include all filtering and processing for ratio from oldmarr torrent widget. Invalidation of old data (older than 30 seconds) to show an integration is not responding anymore. Misc (So many miscs): Fixed validation error with multiText. Fixed translation application for multiSelect to behave the same as select. Added background to gitignore (I needed to add a background to visually test opacity, probably will in the future too) Added setOptions to frontend components so potential updates made from the Dashboard can be saved. Extracted background and border color to use in widgets. humanFileSize function based on the si format (powers of 1024, not 1000). Improved integrationCreatorByKind by @Meierschlumpf. Changed integrationCreatorByKind to integrationCreator so it functions directly from the integration. Added integrationCreatorFromSecrets to directly work with secrets from db. Added getIntegrationKindsByCategory to get a list of integrations sharing categories. Added IntegrationKindByCategory type to get the types possible for a category (Great to cast on integration.kind that isn't already properly limited/typed but for which we know the limitation) Added a common AtLeastOneOf type. Applied to TKind and IntegrationSecretKind[] where it was already being used and Added to the getIntegrationKindsByCategory's output to be more freely used. Added the Modify type, instead of omiting to then add again just to change a parameters type, use the modify instead. Applied code wide already. Hook to get list of integration depending on permission level of user. (By @Meierschlumpf)
This commit is contained in:
@@ -1138,6 +1138,99 @@ export default {
|
||||
description: "Show the current streams on your media servers",
|
||||
option: {},
|
||||
},
|
||||
downloads: {
|
||||
name: "Download Client",
|
||||
description: "Allows you to view and manage your Downloads from both Torrent and Usenet clients.",
|
||||
option: {
|
||||
columns: {
|
||||
label: "Columns to show",
|
||||
},
|
||||
enableRowSorting: {
|
||||
label: "Enable items sorting",
|
||||
},
|
||||
defaultSort: {
|
||||
label: "Column used for sorting by default",
|
||||
},
|
||||
descendingDefaultSort: {
|
||||
label: "Invert sorting",
|
||||
},
|
||||
showCompletedUsenet: {
|
||||
label: "Show usenet entries marked as completed",
|
||||
},
|
||||
showCompletedTorrent: {
|
||||
label: "Show torrent entries marked as completed",
|
||||
},
|
||||
activeTorrentThreshold: {
|
||||
label: "Hide completed torrent under this threshold (in kiB/s)",
|
||||
},
|
||||
categoryFilter: {
|
||||
label: "Categories/labels to filter",
|
||||
},
|
||||
filterIsWhitelist: {
|
||||
label: "Filter as a whitelist",
|
||||
},
|
||||
applyFilterToRatio: {
|
||||
label: "Use filter to calculate Ratio",
|
||||
},
|
||||
},
|
||||
errors: {
|
||||
noColumns: "Select Columns in Items",
|
||||
noCommunications: "Can't load data from integration",
|
||||
},
|
||||
items: {
|
||||
actions: { columnTitle: "Controls" },
|
||||
added: { columnTitle: "Added", detailsTitle: "Date Added" },
|
||||
category: { columnTitle: "Extras", detailsTitle: "Categories (Or extra information)" },
|
||||
downSpeed: { columnTitle: "Down", detailsTitle: "Download Speed" },
|
||||
index: { columnTitle: "#", detailsTitle: "Current index within client" },
|
||||
id: { columnTitle: "Id" },
|
||||
integration: { columnTitle: "Integration" },
|
||||
name: { columnTitle: "Job name" },
|
||||
progress: { columnTitle: "Progress", detailsTitle: "Download Progress" },
|
||||
ratio: { columnTitle: "Ratio", detailsTitle: "Torrent ratio (received/sent)" },
|
||||
received: { columnTitle: "Total down", detailsTitle: "Total downloaded" },
|
||||
sent: { columnTitle: "Total up", detailsTitle: "Total Uploaded" },
|
||||
size: { columnTitle: "File Size", detailsTitle: "Total Size of selection/files" },
|
||||
state: { columnTitle: "State", detailsTitle: "Job State" },
|
||||
time: { columnTitle: "Finish time", detailsTitle: "Time since/to completion" },
|
||||
type: { columnTitle: "Type", detailsTitle: "Download Client type" },
|
||||
upSpeed: { columnTitle: "Up", detailsTitle: "Upload Speed" },
|
||||
},
|
||||
states: {
|
||||
downloading: "Downloading",
|
||||
queued: "Queued",
|
||||
paused: "Paused",
|
||||
completed: "Completed",
|
||||
failed: "Failed",
|
||||
processing: "Processing",
|
||||
leeching: "Leeching",
|
||||
stalled: "Stalled",
|
||||
unknown: "Unknown",
|
||||
seeding: "Seeding",
|
||||
},
|
||||
actions: {
|
||||
clients: {
|
||||
modalTitle: "Download clients list",
|
||||
pause: "Pause all clients/items",
|
||||
resume: "Resume all clients/items",
|
||||
},
|
||||
client: {
|
||||
pause: "Pause client",
|
||||
resume: "Resume client",
|
||||
},
|
||||
item: {
|
||||
pause: "Pause Item",
|
||||
resume: "Resume Item",
|
||||
delete: {
|
||||
title: "Delete Item",
|
||||
modalTitle: "Are you sure you want to delete this job?",
|
||||
entry: "Delete entry",
|
||||
entryAndFiles: "Delete entry and file(s)",
|
||||
},
|
||||
},
|
||||
},
|
||||
globalRatio: "Global Ratio",
|
||||
},
|
||||
"mediaRequests-requestList": {
|
||||
name: "Media Requests List",
|
||||
description: "See a list of all media requests from your Overseerr or Jellyseerr instance",
|
||||
@@ -1746,6 +1839,9 @@ export default {
|
||||
mediaOrganizer: {
|
||||
label: "Media Organizers",
|
||||
},
|
||||
downloads: {
|
||||
label: "Downloads",
|
||||
},
|
||||
mediaRequests: {
|
||||
label: "Media Requests",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user