From aa6bda722683ada6deea10809027cf4faf10f624 Mon Sep 17 00:00:00 2001 From: Qstick Date: Thu, 22 Apr 2021 22:55:06 -0400 Subject: [PATCH] New: Allow History filter by Rss and Auth --- frontend/src/Store/Actions/historyActions.js | 22 ++++++++++++++++++++ src/NzbDrone.Core/Localization/Core/en.json | 6 ++++-- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/frontend/src/Store/Actions/historyActions.js b/frontend/src/Store/Actions/historyActions.js index d5e06d43f..5b0dc2c7e 100644 --- a/frontend/src/Store/Actions/historyActions.js +++ b/frontend/src/Store/Actions/historyActions.js @@ -103,6 +103,17 @@ export const defaultState = { } ] }, + { + key: 'indexerRss', + label: translate('IndexerRss'), + filters: [ + { + key: 'eventType', + value: '3', + type: filterTypes.EQUAL + } + ] + }, { key: 'indexerQuery', label: translate('IndexerQuery'), @@ -113,6 +124,17 @@ export const defaultState = { type: filterTypes.EQUAL } ] + }, + { + key: 'indexerAuth', + label: translate('IndexerAuth'), + filters: [ + { + key: 'eventType', + value: '4', + type: filterTypes.EQUAL + } + ] } ] diff --git a/src/NzbDrone.Core/Localization/Core/en.json b/src/NzbDrone.Core/Localization/Core/en.json index ac4ad6d39..7cd380757 100644 --- a/src/NzbDrone.Core/Localization/Core/en.json +++ b/src/NzbDrone.Core/Localization/Core/en.json @@ -141,13 +141,15 @@ "Importing": "Importing", "IncludeHealthWarningsHelpText": "Include Health Warnings", "Indexer": "Indexer", + "IndexerAuth": "Indexer Auth", "IndexerFlags": "Indexer Flags", + "IndexerHealthCheckNoIndexers": "No indexers enabled, Prowlarr will not return search results", "IndexerLongTermStatusCheckAllClientMessage": "All indexers are unavailable due to failures for more than 6 hours", "IndexerLongTermStatusCheckSingleClientMessage": "Indexers unavailable due to failures for more than 6 hours: {0}", "IndexerPriority": "Indexer Priority", "IndexerPriorityHelpText": "Indexer Priority from 1 (Highest) to 50 (Lowest). Default: 25.", "IndexerQuery": "Indexer Query", - "IndexerHealthCheckNoIndexers": "No indexers enabled, Prowlarr will not return search results", + "IndexerRss": "Indexer Rss", "Indexers": "Indexers", "IndexersSelectedInterp": "{0} Indexer(s) Selected", "IndexerStatusCheckAllClientMessage": "All indexers are unavailable due to failures", @@ -264,6 +266,7 @@ "Scheduled": "Scheduled", "ScriptPath": "Script Path", "Search": "Search", + "SearchIndexers": "Search Indexers", "Security": "Security", "Seeders": "Seeders", "SelectAll": "Select All", @@ -321,7 +324,6 @@ "TestAllClients": "Test All Clients", "Time": "Time", "Title": "Title", - "SearchIndexers": "Search Indexers", "Today": "Today", "Tomorrow": "Tomorrow", "Type": "Type",