feat(downloads): add qBittorrent integration
Continuous Integration / build_web (push) Failing after 0s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped
Continuous Integration / build_web (push) Failing after 0s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped
- Rust client for the WebUI API: password/API-key auth, categories, magnet and .torrent add, sync polling, pause/resume/delete - downloads page with progress, speed, ETA, filters, notifications and per-torrent actions - settings page with OS keyring storage, self-signed TLS, Jellyfin refresh and polling options - cross-platform keyring setup for Windows, macOS and Linux
This commit is contained in:
1 parent
fe30c4f1f9
commit
87315d9679
22 files changed
+4031
-21
No files matched your search
@@ -11,6 +11,7 @@
|
||||
import { Route as rootRouteImport } from './routes/__root'
|
||||
import { Route as IndexRouteImport } from './routes/index'
|
||||
import { Route as ApiRouteImport } from './routes/_api'
|
||||
import { Route as ApiDownloadsRouteImport } from './routes/_api/downloads'
|
||||
import { Route as ApiLoginRouteImport } from './routes/_api/login'
|
||||
import { Route as ApiRemoteRouteImport } from './routes/_api/remote'
|
||||
import { Route as ApiSettingsRouteImport } from './routes/_api/settings'
|
||||
@@ -26,6 +27,7 @@ import { Route as ApiPlayerAudioRouteImport } from './routes/_api/player/audio'
|
||||
import { Route as ApiPlayerPhotosRouteImport } from './routes/_api/player/photos'
|
||||
import { Route as ApiSearchIndexRouteImport } from './routes/_api/search/index'
|
||||
import { Route as ApiSettingsAboutRouteImport } from './routes/_api/settings/about'
|
||||
import { Route as ApiSettingsDownloadsRouteImport } from './routes/_api/settings/downloads'
|
||||
import { Route as ApiSettingsPreferencesRouteImport } from './routes/_api/settings/preferences'
|
||||
import { Route as SetupServerAddRouteImport } from './routes/setup/server.add'
|
||||
import { Route as SetupServerErrorRouteImport } from './routes/setup/server.error'
|
||||
@@ -45,6 +47,11 @@ const ApiRoute = ApiRouteImport.update({
|
||||
id: '/_api',
|
||||
getParentRoute: () => rootRouteImport,
|
||||
} as any)
|
||||
const ApiDownloadsRoute = ApiDownloadsRouteImport.update({
|
||||
id: '/downloads',
|
||||
path: '/downloads',
|
||||
getParentRoute: () => ApiRoute,
|
||||
} as any)
|
||||
const ApiLoginRoute = ApiLoginRouteImport.update({
|
||||
id: '/login',
|
||||
path: '/login',
|
||||
@@ -120,6 +127,11 @@ const ApiSettingsAboutRoute = ApiSettingsAboutRouteImport.update({
|
||||
path: '/about',
|
||||
getParentRoute: () => ApiSettingsRoute,
|
||||
} as any)
|
||||
const ApiSettingsDownloadsRoute = ApiSettingsDownloadsRouteImport.update({
|
||||
id: '/downloads',
|
||||
path: '/downloads',
|
||||
getParentRoute: () => ApiSettingsRoute,
|
||||
} as any)
|
||||
const ApiSettingsPreferencesRoute = ApiSettingsPreferencesRouteImport.update({
|
||||
id: '/preferences',
|
||||
path: '/preferences',
|
||||
@@ -169,6 +181,7 @@ const ApiSettingsChangeServerIndexRoute =
|
||||
|
||||
export interface FileRoutesByFullPath {
|
||||
'/': typeof IndexRoute
|
||||
'/downloads': typeof ApiDownloadsRoute
|
||||
'/login': typeof ApiLoginRouteWithChildren
|
||||
'/remote': typeof ApiRemoteRoute
|
||||
'/settings': typeof ApiSettingsRouteWithChildren
|
||||
@@ -180,6 +193,7 @@ export interface FileRoutesByFullPath {
|
||||
'/player/audio': typeof ApiPlayerAudioRoute
|
||||
'/player/photos': typeof ApiPlayerPhotosRoute
|
||||
'/settings/about': typeof ApiSettingsAboutRoute
|
||||
'/settings/downloads': typeof ApiSettingsDownloadsRoute
|
||||
'/settings/preferences': typeof ApiSettingsPreferencesRoute
|
||||
'/setup/server/add': typeof SetupServerAddRoute
|
||||
'/setup/server/error': typeof SetupServerErrorRoute
|
||||
@@ -196,6 +210,7 @@ export interface FileRoutesByFullPath {
|
||||
}
|
||||
export interface FileRoutesByTo {
|
||||
'/': typeof IndexRoute
|
||||
'/downloads': typeof ApiDownloadsRoute
|
||||
'/login': typeof ApiLoginRouteWithChildren
|
||||
'/remote': typeof ApiRemoteRoute
|
||||
'/settings': typeof ApiSettingsRouteWithChildren
|
||||
@@ -207,6 +222,7 @@ export interface FileRoutesByTo {
|
||||
'/player/audio': typeof ApiPlayerAudioRoute
|
||||
'/player/photos': typeof ApiPlayerPhotosRoute
|
||||
'/settings/about': typeof ApiSettingsAboutRoute
|
||||
'/settings/downloads': typeof ApiSettingsDownloadsRoute
|
||||
'/settings/preferences': typeof ApiSettingsPreferencesRoute
|
||||
'/setup/server/add': typeof SetupServerAddRoute
|
||||
'/setup/server/error': typeof SetupServerErrorRoute
|
||||
@@ -225,6 +241,7 @@ export interface FileRoutesById {
|
||||
__root__: typeof rootRouteImport
|
||||
'/': typeof IndexRoute
|
||||
'/_api': typeof ApiRouteWithChildren
|
||||
'/_api/downloads': typeof ApiDownloadsRoute
|
||||
'/_api/login': typeof ApiLoginRouteWithChildren
|
||||
'/_api/remote': typeof ApiRemoteRoute
|
||||
'/_api/settings': typeof ApiSettingsRouteWithChildren
|
||||
@@ -236,6 +253,7 @@ export interface FileRoutesById {
|
||||
'/_api/player/audio': typeof ApiPlayerAudioRoute
|
||||
'/_api/player/photos': typeof ApiPlayerPhotosRoute
|
||||
'/_api/settings/about': typeof ApiSettingsAboutRoute
|
||||
'/_api/settings/downloads': typeof ApiSettingsDownloadsRoute
|
||||
'/_api/settings/preferences': typeof ApiSettingsPreferencesRoute
|
||||
'/setup/server/add': typeof SetupServerAddRoute
|
||||
'/setup/server/error': typeof SetupServerErrorRoute
|
||||
@@ -254,6 +272,7 @@ export interface FileRouteTypes {
|
||||
fileRoutesByFullPath: FileRoutesByFullPath
|
||||
fullPaths:
|
||||
| '/'
|
||||
| '/downloads'
|
||||
| '/login'
|
||||
| '/remote'
|
||||
| '/settings'
|
||||
@@ -265,6 +284,7 @@ export interface FileRouteTypes {
|
||||
| '/player/audio'
|
||||
| '/player/photos'
|
||||
| '/settings/about'
|
||||
| '/settings/downloads'
|
||||
| '/settings/preferences'
|
||||
| '/setup/server/add'
|
||||
| '/setup/server/error'
|
||||
@@ -281,6 +301,7 @@ export interface FileRouteTypes {
|
||||
fileRoutesByTo: FileRoutesByTo
|
||||
to:
|
||||
| '/'
|
||||
| '/downloads'
|
||||
| '/login'
|
||||
| '/remote'
|
||||
| '/settings'
|
||||
@@ -292,6 +313,7 @@ export interface FileRouteTypes {
|
||||
| '/player/audio'
|
||||
| '/player/photos'
|
||||
| '/settings/about'
|
||||
| '/settings/downloads'
|
||||
| '/settings/preferences'
|
||||
| '/setup/server/add'
|
||||
| '/setup/server/error'
|
||||
@@ -309,6 +331,7 @@ export interface FileRouteTypes {
|
||||
| '__root__'
|
||||
| '/'
|
||||
| '/_api'
|
||||
| '/_api/downloads'
|
||||
| '/_api/login'
|
||||
| '/_api/remote'
|
||||
| '/_api/settings'
|
||||
@@ -320,6 +343,7 @@ export interface FileRouteTypes {
|
||||
| '/_api/player/audio'
|
||||
| '/_api/player/photos'
|
||||
| '/_api/settings/about'
|
||||
| '/_api/settings/downloads'
|
||||
| '/_api/settings/preferences'
|
||||
| '/setup/server/add'
|
||||
| '/setup/server/error'
|
||||
@@ -360,6 +384,13 @@ declare module '@tanstack/react-router' {
|
||||
preLoaderRoute: typeof ApiRouteImport
|
||||
parentRoute: typeof rootRouteImport
|
||||
}
|
||||
'/_api/downloads': {
|
||||
id: '/_api/downloads'
|
||||
path: '/downloads'
|
||||
fullPath: '/downloads'
|
||||
preLoaderRoute: typeof ApiDownloadsRouteImport
|
||||
parentRoute: typeof ApiRoute
|
||||
}
|
||||
'/_api/login': {
|
||||
id: '/_api/login'
|
||||
path: '/login'
|
||||
@@ -465,6 +496,13 @@ declare module '@tanstack/react-router' {
|
||||
preLoaderRoute: typeof ApiSettingsAboutRouteImport
|
||||
parentRoute: typeof ApiSettingsRoute
|
||||
}
|
||||
'/_api/settings/downloads': {
|
||||
id: '/_api/settings/downloads'
|
||||
path: '/downloads'
|
||||
fullPath: '/settings/downloads'
|
||||
preLoaderRoute: typeof ApiSettingsDownloadsRouteImport
|
||||
parentRoute: typeof ApiSettingsRoute
|
||||
}
|
||||
'/_api/settings/preferences': {
|
||||
id: '/_api/settings/preferences'
|
||||
path: '/preferences'
|
||||
@@ -549,12 +587,14 @@ const ApiLoginRouteWithChildren = ApiLoginRoute._addFileChildren(
|
||||
|
||||
interface ApiSettingsRouteChildren {
|
||||
ApiSettingsAboutRoute: typeof ApiSettingsAboutRoute
|
||||
ApiSettingsDownloadsRoute: typeof ApiSettingsDownloadsRoute
|
||||
ApiSettingsPreferencesRoute: typeof ApiSettingsPreferencesRoute
|
||||
ApiSettingsChangeServerIndexRoute: typeof ApiSettingsChangeServerIndexRoute
|
||||
}
|
||||
|
||||
const ApiSettingsRouteChildren: ApiSettingsRouteChildren = {
|
||||
ApiSettingsAboutRoute: ApiSettingsAboutRoute,
|
||||
ApiSettingsDownloadsRoute: ApiSettingsDownloadsRoute,
|
||||
ApiSettingsPreferencesRoute: ApiSettingsPreferencesRoute,
|
||||
ApiSettingsChangeServerIndexRoute: ApiSettingsChangeServerIndexRoute,
|
||||
}
|
||||
@@ -564,6 +604,7 @@ const ApiSettingsRouteWithChildren = ApiSettingsRoute._addFileChildren(
|
||||
)
|
||||
|
||||
interface ApiRouteChildren {
|
||||
ApiDownloadsRoute: typeof ApiDownloadsRoute
|
||||
ApiLoginRoute: typeof ApiLoginRouteWithChildren
|
||||
ApiRemoteRoute: typeof ApiRemoteRoute
|
||||
ApiSettingsRoute: typeof ApiSettingsRouteWithChildren
|
||||
@@ -581,6 +622,7 @@ interface ApiRouteChildren {
|
||||
}
|
||||
|
||||
const ApiRouteChildren: ApiRouteChildren = {
|
||||
ApiDownloadsRoute: ApiDownloadsRoute,
|
||||
ApiLoginRoute: ApiLoginRouteWithChildren,
|
||||
ApiRemoteRoute: ApiRemoteRoute,
|
||||
ApiSettingsRoute: ApiSettingsRouteWithChildren,
|
||||
|
||||
Reference in new issue
Block a user