From 7b2e53f1351aa903f4ae2ca4ee28f623d3b46b60 Mon Sep 17 00:00:00 2001 From: TheOtherP Date: Sat, 14 Dec 2024 17:35:36 +0100 Subject: [PATCH] Add NZB search results to torbox and show basic status --- ...l system tests v1Migration profile.run.xml | 18 --- .../downloaders/DownloaderEntry.java | 2 + .../downloaders/DownloaderInstatiator.java | 4 + .../downloaders/DownloaderProvider.java | 12 -- .../downloaders/torbox/Torbox.java | 85 +++++++++++- core/src/main/resources/static/css/auto.css | 4 +- .../main/resources/static/css/auto.css.map | 2 +- core/src/main/resources/static/css/bright.css | 2 +- .../main/resources/static/css/bright.css.map | 2 +- core/src/main/resources/static/css/dark.css | 2 +- .../main/resources/static/css/dark.css.map | 2 +- core/src/main/resources/static/css/grey.css | 2 +- .../main/resources/static/css/grey.css.map | 2 +- core/src/main/resources/static/js/nzbhydra.js | 126 ++++++++++++------ .../main/resources/static/js/nzbhydra.js.map | 2 +- .../torrentListDownloadingResponse.json | 56 ++++++++ .../torbox/usenetListFailedResponse.json | 29 ++++ core/ui-src/img/checkmark.png | Bin 0 -> 13821 bytes core/ui-src/img/redcross.png | Bin 0 -> 10258 bytes core/ui-src/img/torbox.png | Bin 0 -> 620 bytes core/ui-src/img/torbox.svg | 18 +++ core/ui-src/img/torboxerror.png | Bin 0 -> 812 bytes core/ui-src/img/torboxlogo.png | Bin 0 -> 1389 bytes core/ui-src/img/torboxsuccess.png | Bin 0 -> 835 bytes .../ui-src/js/config/config-fields-service.js | 2 +- core/ui-src/js/config/formly-downloaders.js | 89 ++++++++----- core/ui-src/js/directives/addable-nzb.js | 18 ++- core/ui-src/js/directives/connection-test.js | 8 +- .../js/directives/downloaderStatusFooter.js | 9 +- core/ui-src/less/partials/icons.less | 12 ++ .../nzbhydra/downloading/DownloaderType.java | 3 +- .../downloaders/DownloaderStatus.java | 6 + 32 files changed, 382 insertions(+), 135 deletions(-) delete mode 100644 .run/All system tests v1Migration profile.run.xml create mode 100644 core/src/test/resources/org/nzbhydra/downloading/downloaders/torbox/torrentListDownloadingResponse.json create mode 100644 core/src/test/resources/org/nzbhydra/downloading/downloaders/torbox/usenetListFailedResponse.json create mode 100644 core/ui-src/img/checkmark.png create mode 100644 core/ui-src/img/redcross.png create mode 100644 core/ui-src/img/torbox.png create mode 100644 core/ui-src/img/torbox.svg create mode 100644 core/ui-src/img/torboxerror.png create mode 100644 core/ui-src/img/torboxlogo.png create mode 100644 core/ui-src/img/torboxsuccess.png diff --git a/.run/All system tests v1Migration profile.run.xml b/.run/All system tests v1Migration profile.run.xml deleted file mode 100644 index 7e7feb012..000000000 --- a/.run/All system tests v1Migration profile.run.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - -