feat: add usenet support (#543)

* feat(autobrr): implement usenet support

* feat(sonarr): implement usenet support

* feat(radarr): implement usenet support

* feat(announce): implement usenet support

* announce: cast a line

* feat(release): prevent unknown protocol transfer

* release: lines for days.

* feat: add newznab and sabnzbd support

* feat: add category to sabnzbd

* feat(newznab): map categories

* feat(newznab): map categories

---------

Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
Co-authored-by: ze0s <ze0s@riseup.net>
This commit is contained in:
Kyle Sanderson 2023-03-04 11:27:18 -08:00 committed by GitHub
parent b2d93d50c5
commit 13a74f7cc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 1588 additions and 37 deletions

View file

@ -6,6 +6,7 @@ export interface radioFieldsetOption {
label: string;
description: string;
value: string;
type?: string;
}
interface props {
@ -75,7 +76,7 @@ function RadioFieldsetWide({ name, legend, options }: props) {
)}
aria-hidden="true"
/>
<div className="ml-3 flex flex-col">
<div className="ml-3 flex flex-col w-full">
<RadioGroup.Label
as="span"
className={classNames(
@ -83,7 +84,10 @@ function RadioFieldsetWide({ name, legend, options }: props) {
checked ? "font-bold" : "font-medium"
)}
>
{setting.label}
<div className="flex justify-between">
{setting.label}
{setting.type && <span className="rounded bg-orange-500 text-orange-900 px-1 ml-2 text-sm">{setting.type}</span>}
</div>
</RadioGroup.Label>
<RadioGroup.Description
as="span"