From 021fd4afa70e2e724f3ff3511bda08cf8a3efe0e Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 1 Aug 2021 15:34:44 -0700 Subject: [PATCH] Fixed: Updated wiki links --- frontend/src/AddSeries/AddNewSeries/AddNewSeries.js | 2 +- .../src/Components/FileBrowser/FileBrowserModalContent.js | 2 +- frontend/src/Settings/General/UpdateSettings.js | 4 ++-- frontend/src/Settings/Indexers/Options/IndexerOptions.js | 2 +- .../Notifications/EditNotificationModalContent.js | 2 +- frontend/src/System/Status/MoreInfo/MoreInfo.js | 2 +- src/NzbDrone.Api/ProviderModuleBase.cs | 2 +- src/NzbDrone.Core.Test/HealthCheck/HealthCheckFixture.cs | 6 +++--- src/NzbDrone.Core/Datastore/DbFactory.cs | 4 ++-- .../HealthCheck/Checks/DotnetVersionCheck.cs | 8 ++++---- .../HealthCheck/Checks/DownloadClientCheck.cs | 2 +- .../HealthCheck/Checks/DownloadClientRootFolderCheck.cs | 2 +- .../HealthCheck/Checks/DownloadClientStatusCheck.cs | 4 ++-- .../HealthCheck/Checks/ImportListRootFolderCheck.cs | 4 ++-- .../HealthCheck/Checks/ImportListStatusCheck.cs | 4 ++-- .../HealthCheck/Checks/ImportMechanismCheck.cs | 8 ++++---- .../HealthCheck/Checks/IndexerLongTermStatusCheck.cs | 4 ++-- .../HealthCheck/Checks/IndexerStatusCheck.cs | 4 ++-- src/NzbDrone.Core/HealthCheck/Checks/MonoVersionCheck.cs | 6 +++--- src/NzbDrone.Core/HealthCheck/Checks/MountCheck.cs | 2 +- .../HealthCheck/Checks/PackageGlobalMessageCheck.cs | 2 +- .../HealthCheck/Checks/RemovedSeriesCheck.cs | 4 ++-- src/NzbDrone.Core/HealthCheck/Checks/RootFolderCheck.cs | 4 ++-- src/NzbDrone.Core/HealthCheck/Checks/UpdateCheck.cs | 6 +++--- src/NzbDrone.Core/HealthCheck/HealthCheck.cs | 4 ++-- .../Notifications/CustomScript/CustomScript.cs | 2 +- .../Notifications/Twitter/TwitterSettings.cs | 4 ++-- src/NzbDrone.Core/Notifications/Webhook/Webhook.cs | 2 +- src/Sonarr.Api.V3/ProviderResource.cs | 2 +- 29 files changed, 52 insertions(+), 52 deletions(-) diff --git a/frontend/src/AddSeries/AddNewSeries/AddNewSeries.js b/frontend/src/AddSeries/AddNewSeries/AddNewSeries.js index c819ed99a..bb19ff311 100644 --- a/frontend/src/AddSeries/AddNewSeries/AddNewSeries.js +++ b/frontend/src/AddSeries/AddNewSeries/AddNewSeries.js @@ -154,7 +154,7 @@ class AddNewSeries extends Component {
Couldn't find any results for '{term}'
You can also search using TVDB ID of a show. eg. tvdb:71663
- + Why can't I find my show?
diff --git a/frontend/src/Components/FileBrowser/FileBrowserModalContent.js b/frontend/src/Components/FileBrowser/FileBrowserModalContent.js index f77fcbdc1..49a18974b 100644 --- a/frontend/src/Components/FileBrowser/FileBrowserModalContent.js +++ b/frontend/src/Components/FileBrowser/FileBrowserModalContent.js @@ -128,7 +128,7 @@ class FileBrowserModalContent extends Component { className={styles.mappedDrivesWarning} kind={kinds.WARNING} > - Mapped network drives are not available when running as a Windows Service, see the FAQ for more information. + Mapped network drives are not available when running as a Windows Service, see the FAQ for more information. } diff --git a/frontend/src/Settings/General/UpdateSettings.js b/frontend/src/Settings/General/UpdateSettings.js index aa4586a18..906b4e320 100644 --- a/frontend/src/Settings/General/UpdateSettings.js +++ b/frontend/src/Settings/General/UpdateSettings.js @@ -59,7 +59,7 @@ function UpdateSettings(props) { type={inputTypes.AUTO_COMPLETE} name="branch" helpText={usingExternalUpdateMechanism ? 'Branch used by external update mechanism' : 'Branch to use to update Sonarr'} - helpLink="https://wiki.servarr.com/Sonarr_Settings#Updates" + helpLink="https://wiki.servarr.com/sonarr/settings#updates" {...branch} values={branchValues} onChange={onInputChange} @@ -97,7 +97,7 @@ function UpdateSettings(props) { name="updateMechanism" values={updateOptions} helpText="Use Sonarr's built-in updater or a script" - helpLink="https://wiki.servarr.com/Sonarr_Settings#Updates" + helpLink="https://wiki.servarr.com/sonarr/settings#updates" onChange={onInputChange} {...updateMechanism} /> diff --git a/frontend/src/Settings/Indexers/Options/IndexerOptions.js b/frontend/src/Settings/Indexers/Options/IndexerOptions.js index d4f45a6a4..81a2b57e3 100644 --- a/frontend/src/Settings/Indexers/Options/IndexerOptions.js +++ b/frontend/src/Settings/Indexers/Options/IndexerOptions.js @@ -89,7 +89,7 @@ function IndexerOptions(props) { unit="minutes" helpText="Interval in minutes. Set to zero to disable (this will stop all automatic release grabbing)" helpTextWarning="This will apply to all indexers, please follow the rules set forth by them" - helpLink="https://wiki.servarr.com/Sonarr_FAQ#How_does_Sonarr_find_episodes" + helpLink="https://wiki.servarr.com/sonarr/faq#how-does-sonarr-find-episodes" onChange={onInputChange} {...settings.rssSyncInterval} /> diff --git a/frontend/src/Settings/Notifications/Notifications/EditNotificationModalContent.js b/frontend/src/Settings/Notifications/Notifications/EditNotificationModalContent.js index 7e0abe11a..e841ca06e 100644 --- a/frontend/src/Settings/Notifications/Notifications/EditNotificationModalContent.js +++ b/frontend/src/Settings/Notifications/Notifications/EditNotificationModalContent.js @@ -108,7 +108,7 @@ function EditNotificationModalContent(props) {
diff --git a/frontend/src/System/Status/MoreInfo/MoreInfo.js b/frontend/src/System/Status/MoreInfo/MoreInfo.js index 098c16c2e..6ab0e21e8 100644 --- a/frontend/src/System/Status/MoreInfo/MoreInfo.js +++ b/frontend/src/System/Status/MoreInfo/MoreInfo.js @@ -21,7 +21,7 @@ class MoreInfo extends Component { Wiki - wiki.servarr.com/Sonarr + wiki.servarr.com/sonarr Forums diff --git a/src/NzbDrone.Api/ProviderModuleBase.cs b/src/NzbDrone.Api/ProviderModuleBase.cs index 2c9a43def..508f71936 100644 --- a/src/NzbDrone.Api/ProviderModuleBase.cs +++ b/src/NzbDrone.Api/ProviderModuleBase.cs @@ -119,7 +119,7 @@ namespace NzbDrone.Api resource.Fields = SchemaBuilder.ToSchema(definition.Settings); - resource.InfoLink = string.Format("https://wiki.servarr.com/Sonarr_Supported_{0}", + resource.InfoLink = string.Format("https://wiki.servarr.com/sonarr/supported-{0}", definition.Implementation.ToLower()); } diff --git a/src/NzbDrone.Core.Test/HealthCheck/HealthCheckFixture.cs b/src/NzbDrone.Core.Test/HealthCheck/HealthCheckFixture.cs index 54d8254ca..4ab58edf9 100644 --- a/src/NzbDrone.Core.Test/HealthCheck/HealthCheckFixture.cs +++ b/src/NzbDrone.Core.Test/HealthCheck/HealthCheckFixture.cs @@ -9,9 +9,9 @@ namespace NzbDrone.Core.Test.HealthCheck public class HealthCheckFixture : CoreTest { private const string WikiRoot = "https://wiki.servarr.com/"; - [TestCase("I blew up because of some weird user mistake", null, WikiRoot + "Sonarr_System#i_blew_up_because_of_some_weird_user_mistake")] - [TestCase("I blew up because of some weird user mistake", "#my_health_check", WikiRoot + "Sonarr_System#my_health_check")] - [TestCase("I blew up because of some weird user mistake", "Custom_Page#my_health_check", WikiRoot + "Custom_Page#my_health_check")] + [TestCase("I blew up because of some weird user mistake", null, WikiRoot + "sonarr/system#i-blew-up-because-of-some-weird-user-mistake")] + [TestCase("I blew up because of some weird user mistake", "#my-health-check", WikiRoot + "sonarr/system#my-health-check")] + [TestCase("I blew up because of some weird user mistake", "custom_page#my-health-check", WikiRoot + "custom_page#my-health-check")] public void should_format_wiki_url(string message, string wikiFragment, string expectedUrl) { var subject = new NzbDrone.Core.HealthCheck.HealthCheck(typeof(HealthCheckBase), HealthCheckResult.Warning, message, wikiFragment); diff --git a/src/NzbDrone.Core/Datastore/DbFactory.cs b/src/NzbDrone.Core/Datastore/DbFactory.cs index 51ab979e3..587e0ecb0 100644 --- a/src/NzbDrone.Core/Datastore/DbFactory.cs +++ b/src/NzbDrone.Core/Datastore/DbFactory.cs @@ -122,10 +122,10 @@ namespace NzbDrone.Core.Datastore if (OsInfo.IsOsx) { - throw new CorruptDatabaseException("Database file: {0} is corrupt, restore from backup if available. See: https://wiki.servarr.com/Sonarr_FAQ#I_use_Sonarr_on_a_Mac_and_it_suddenly_stopped_working_What_happened", e, fileName); + throw new CorruptDatabaseException("Database file: {0} is corrupt, restore from backup if available. See: https://wiki.servarr.com/sonarr/faq#i-use-sonarr-on-a-mac-and-it-suddenly-stopped-working-what-happened", e, fileName); } - throw new CorruptDatabaseException("Database file: {0} is corrupt, restore from backup if available. See: https://wiki.servarr.com/Sonarr_FAQ#I_am_getting_an_error_Database_disk_image_is_malformed", e, fileName); + throw new CorruptDatabaseException("Database file: {0} is corrupt, restore from backup if available. See: https://wiki.servarr.com/sonarr/faq#i-am-getting-an-error-database-disk-image-is-malformed", e, fileName); } } diff --git a/src/NzbDrone.Core/HealthCheck/Checks/DotnetVersionCheck.cs b/src/NzbDrone.Core/HealthCheck/Checks/DotnetVersionCheck.cs index accefe567..f261a9425 100644 --- a/src/NzbDrone.Core/HealthCheck/Checks/DotnetVersionCheck.cs +++ b/src/NzbDrone.Core/HealthCheck/Checks/DotnetVersionCheck.cs @@ -41,14 +41,14 @@ namespace NzbDrone.Core.HealthCheck.Checks _logger.Debug("Dotnet version is {0} or better: {1}", stableVersion, dotnetVersion); return new HealthCheck(GetType(), HealthCheckResult.Notice, $"Currently installed .Net Framework {dotnetVersion} is supported but we recommend upgrading to at least {targetVersion}.", - "#currently_installed_net_framework_is_supported_but_upgrading_is_recommended"); + "#currently-installed-net-framework-is-supported-but-upgrading-is-recommended"); } if (Version.TryParse(_osInfo.Version, out var osVersion) && osVersion < new Version("10.0.14393")) { return new HealthCheck(GetType(), HealthCheckResult.Error, $"Currently installed .Net Framework {dotnetVersion} is no longer supported. However your Operating System cannot be upgraded to {targetVersion}.", - "#currently_installed_net_framework_is_old_and_unsupported"); + "#currently-installed-net-framework-is-old-and-unsupported"); } var oldVersion = new Version("4.6.2"); @@ -56,12 +56,12 @@ namespace NzbDrone.Core.HealthCheck.Checks { return new HealthCheck(GetType(), HealthCheckResult.Error, $"Currently installed .Net Framework {dotnetVersion} is no longer supported. Please upgrade the .Net Framework to at least {targetVersion}.", - "#currently_installed_net_framework_is_old_and_unsupported"); + "#currently-installed-net-framework-is-old-and-unsupported"); } return new HealthCheck(GetType(), HealthCheckResult.Error, $"Currently installed .Net Framework {dotnetVersion} is old and unsupported. Please upgrade the .Net Framework to at least {targetVersion}.", - "#currently_installed_net_framework_is_old_and_unsupported"); + "#currently-installed-net-framework-is-old-and-unsupported"); } public override bool CheckOnSchedule => false; diff --git a/src/NzbDrone.Core/HealthCheck/Checks/DownloadClientCheck.cs b/src/NzbDrone.Core/HealthCheck/Checks/DownloadClientCheck.cs index 2583419c8..f54bfc5e1 100644 --- a/src/NzbDrone.Core/HealthCheck/Checks/DownloadClientCheck.cs +++ b/src/NzbDrone.Core/HealthCheck/Checks/DownloadClientCheck.cs @@ -40,7 +40,7 @@ namespace NzbDrone.Core.HealthCheck.Checks _logger.Debug(ex, "Unable to communicate with {0}", downloadClient.Definition.Name); var message = $"Unable to communicate with {downloadClient.Definition.Name}."; - return new HealthCheck(GetType(), HealthCheckResult.Error, $"{message} {ex.Message}", "#unable_to_communicate_with_download_client"); + return new HealthCheck(GetType(), HealthCheckResult.Error, $"{message} {ex.Message}", "#unable-to-communicate-with-download-client"); } } diff --git a/src/NzbDrone.Core/HealthCheck/Checks/DownloadClientRootFolderCheck.cs b/src/NzbDrone.Core/HealthCheck/Checks/DownloadClientRootFolderCheck.cs index 5c802f042..17164e0f4 100644 --- a/src/NzbDrone.Core/HealthCheck/Checks/DownloadClientRootFolderCheck.cs +++ b/src/NzbDrone.Core/HealthCheck/Checks/DownloadClientRootFolderCheck.cs @@ -47,7 +47,7 @@ namespace NzbDrone.Core.HealthCheck.Checks { if (rootFolders.Any(r => r.Path.PathEquals(folder.FullPath))) { - return new HealthCheck(GetType(), HealthCheckResult.Warning, string.Format("Download client {0} places downloads in the root folder {1}. You should not download to a root folder.", client.Definition.Name, folder.FullPath), "#downloads_in_root_folder"); + return new HealthCheck(GetType(), HealthCheckResult.Warning, string.Format("Download client {0} places downloads in the root folder {1}. You should not download to a root folder.", client.Definition.Name, folder.FullPath), "#downloads-in-root-folder"); } } } diff --git a/src/NzbDrone.Core/HealthCheck/Checks/DownloadClientStatusCheck.cs b/src/NzbDrone.Core/HealthCheck/Checks/DownloadClientStatusCheck.cs index 95fac5ef3..330feacac 100644 --- a/src/NzbDrone.Core/HealthCheck/Checks/DownloadClientStatusCheck.cs +++ b/src/NzbDrone.Core/HealthCheck/Checks/DownloadClientStatusCheck.cs @@ -36,10 +36,10 @@ namespace NzbDrone.Core.HealthCheck.Checks if (backOffProviders.Count == enabledProviders.Count) { - return new HealthCheck(GetType(), HealthCheckResult.Error, "All download clients are unavailable due to failures", "#download_clients_are_unavailable_due_to_failures"); + return new HealthCheck(GetType(), HealthCheckResult.Error, "All download clients are unavailable due to failures", "#download-clients-are-unavailable-due-to-failures"); } - return new HealthCheck(GetType(), HealthCheckResult.Warning, string.Format("Download clients unavailable due to failures: {0}", string.Join(", ", backOffProviders.Select(v => v.Provider.Definition.Name))), "#download_clients_are_unavailable_due_to_failures"); + return new HealthCheck(GetType(), HealthCheckResult.Warning, string.Format("Download clients unavailable due to failures: {0}", string.Join(", ", backOffProviders.Select(v => v.Provider.Definition.Name))), "#download-clients-are-unavailable-due-to-failures"); } } } diff --git a/src/NzbDrone.Core/HealthCheck/Checks/ImportListRootFolderCheck.cs b/src/NzbDrone.Core/HealthCheck/Checks/ImportListRootFolderCheck.cs index 2f7e81663..c5aa095de 100644 --- a/src/NzbDrone.Core/HealthCheck/Checks/ImportListRootFolderCheck.cs +++ b/src/NzbDrone.Core/HealthCheck/Checks/ImportListRootFolderCheck.cs @@ -51,11 +51,11 @@ namespace NzbDrone.Core.HealthCheck.Checks if (missingRootFolders.Count == 1) { var missingRootFolder = missingRootFolders.First(); - return new HealthCheck(GetType(), HealthCheckResult.Error, $"Missing root folder for import list(s): {FormatRootFolder(missingRootFolder.Key, missingRootFolder.Value)}", "#import_list_missing_root_folder"); + return new HealthCheck(GetType(), HealthCheckResult.Error, $"Missing root folder for import list(s): {FormatRootFolder(missingRootFolder.Key, missingRootFolder.Value)}", "#import-list-missing-root-folder"); } var message = string.Format("Multiple root folders are missing for import lists: {0}", string.Join(" | ", missingRootFolders.Select(m => FormatRootFolder(m.Key, m.Value)))); - return new HealthCheck(GetType(), HealthCheckResult.Error, message, "#import_list_missing_root_folder"); + return new HealthCheck(GetType(), HealthCheckResult.Error, message, "#import-list-missing-root-folder"); } return new HealthCheck(GetType()); diff --git a/src/NzbDrone.Core/HealthCheck/Checks/ImportListStatusCheck.cs b/src/NzbDrone.Core/HealthCheck/Checks/ImportListStatusCheck.cs index 468d538bf..cf0483502 100644 --- a/src/NzbDrone.Core/HealthCheck/Checks/ImportListStatusCheck.cs +++ b/src/NzbDrone.Core/HealthCheck/Checks/ImportListStatusCheck.cs @@ -35,10 +35,10 @@ namespace NzbDrone.Core.HealthCheck.Checks if (backOffProviders.Count == enabledProviders.Count) { - return new HealthCheck(GetType(), HealthCheckResult.Error, "All import lists are unavailable due to failures", "#import_lists_are_unavailable_due_to_failures"); + return new HealthCheck(GetType(), HealthCheckResult.Error, "All import lists are unavailable due to failures", "#import-lists-are-unavailable-due-to-failures"); } - return new HealthCheck(GetType(), HealthCheckResult.Warning, string.Format("Import lists unavailable due to failures: {0}", string.Join(", ", backOffProviders.Select(v => v.ImportList.Definition.Name))), "#import_lists_are_unavailable_due_to_failures"); + return new HealthCheck(GetType(), HealthCheckResult.Warning, string.Format("Import lists unavailable due to failures: {0}", string.Join(", ", backOffProviders.Select(v => v.ImportList.Definition.Name))), "#import-lists-are-unavailable-due-to-failures"); } } } \ No newline at end of file diff --git a/src/NzbDrone.Core/HealthCheck/Checks/ImportMechanismCheck.cs b/src/NzbDrone.Core/HealthCheck/Checks/ImportMechanismCheck.cs index 083811915..0022faf3a 100644 --- a/src/NzbDrone.Core/HealthCheck/Checks/ImportMechanismCheck.cs +++ b/src/NzbDrone.Core/HealthCheck/Checks/ImportMechanismCheck.cs @@ -50,20 +50,20 @@ namespace NzbDrone.Core.HealthCheck.Checks // Migration helper logic if (!downloadClientIsLocalHost) { - return new HealthCheck(GetType(), HealthCheckResult.Warning, "Enable Completed Download Handling if possible (Multi-Computer unsupported)", "#completed_failed_download_handling"); + return new HealthCheck(GetType(), HealthCheckResult.Warning, "Enable Completed Download Handling if possible (Multi-Computer unsupported)", "#completedfailed-download-handling"); } if (downloadClients.All(v => v.DownloadClient is Sabnzbd)) { - return new HealthCheck(GetType(), HealthCheckResult.Warning, "Enable Completed Download Handling if possible (Sabnzbd)", "#completed/failed_download_handling"); + return new HealthCheck(GetType(), HealthCheckResult.Warning, "Enable Completed Download Handling if possible (Sabnzbd)", "#completedfailed-download-handling"); } if (downloadClients.All(v => v.DownloadClient is Nzbget)) { - return new HealthCheck(GetType(), HealthCheckResult.Warning, "Enable Completed Download Handling if possible (Nzbget)", "#completed/failed_download_handling"); + return new HealthCheck(GetType(), HealthCheckResult.Warning, "Enable Completed Download Handling if possible (Nzbget)", "#completedfailed-download-handling"); } - return new HealthCheck(GetType(), HealthCheckResult.Warning, "Enable Completed Download Handling if possible", "#completed/failed_download_handling"); + return new HealthCheck(GetType(), HealthCheckResult.Warning, "Enable Completed Download Handling if possible", "#completedfailed-download-handling"); } if (!_configService.EnableCompletedDownloadHandling) diff --git a/src/NzbDrone.Core/HealthCheck/Checks/IndexerLongTermStatusCheck.cs b/src/NzbDrone.Core/HealthCheck/Checks/IndexerLongTermStatusCheck.cs index 0402be33c..ddffd4f27 100644 --- a/src/NzbDrone.Core/HealthCheck/Checks/IndexerLongTermStatusCheck.cs +++ b/src/NzbDrone.Core/HealthCheck/Checks/IndexerLongTermStatusCheck.cs @@ -40,13 +40,13 @@ namespace NzbDrone.Core.HealthCheck.Checks if (backOffProviders.Count == enabledProviders.Count) { return new HealthCheck(GetType(), HealthCheckResult.Error, - "All indexers are unavailable due to failures for more than 6 hours", "#indexers_are_unavailable_due_to_failures"); + "All indexers are unavailable due to failures for more than 6 hours", "#indexers-are-unavailable-due-to-failures"); } return new HealthCheck(GetType(), HealthCheckResult.Warning, string.Format("Indexers unavailable due to failures for more than 6 hours: {0}", string.Join(", ", backOffProviders.Select(v => v.Provider.Definition.Name))), - "#indexers_are_unavailable_due_to_failures"); + "#indexers-are-unavailable-due-to-failures"); } } } diff --git a/src/NzbDrone.Core/HealthCheck/Checks/IndexerStatusCheck.cs b/src/NzbDrone.Core/HealthCheck/Checks/IndexerStatusCheck.cs index 96d4fe307..c283b525d 100644 --- a/src/NzbDrone.Core/HealthCheck/Checks/IndexerStatusCheck.cs +++ b/src/NzbDrone.Core/HealthCheck/Checks/IndexerStatusCheck.cs @@ -39,10 +39,10 @@ namespace NzbDrone.Core.HealthCheck.Checks if (backOffProviders.Count == enabledProviders.Count) { - return new HealthCheck(GetType(), HealthCheckResult.Error, "All indexers are unavailable due to failures", "#indexers_are_unavailable_due_to_failures"); + return new HealthCheck(GetType(), HealthCheckResult.Error, "All indexers are unavailable due to failures", "#indexers-are-unavailable-due-to-failures"); } - return new HealthCheck(GetType(), HealthCheckResult.Warning, string.Format("Indexers unavailable due to failures: {0}", string.Join(", ", backOffProviders.Select(v => v.Provider.Definition.Name))), "#indexers_are_unavailable_due_to_failures"); + return new HealthCheck(GetType(), HealthCheckResult.Warning, string.Format("Indexers unavailable due to failures: {0}", string.Join(", ", backOffProviders.Select(v => v.Provider.Definition.Name))), "#indexers-are-unavailable-due-to-failures"); } } } diff --git a/src/NzbDrone.Core/HealthCheck/Checks/MonoVersionCheck.cs b/src/NzbDrone.Core/HealthCheck/Checks/MonoVersionCheck.cs index ac72cd6d9..7f42430ed 100644 --- a/src/NzbDrone.Core/HealthCheck/Checks/MonoVersionCheck.cs +++ b/src/NzbDrone.Core/HealthCheck/Checks/MonoVersionCheck.cs @@ -49,7 +49,7 @@ namespace NzbDrone.Core.HealthCheck.Checks _logger.Debug("Mono version is {0} or better: {1}", stableVersion, monoVersion); return new HealthCheck(GetType(), HealthCheckResult.Notice, $"Currently installed Mono version {monoVersion} is supported but upgrading to {bestVersion} is recommended.", - "#currently_installed_mono_version_is_supported_but_upgrading_is_recommended"); + "#currently-installed-mono-version-is-supported-but-upgrading-is-recommended"); } var oldVersion = new Version("5.4"); @@ -57,12 +57,12 @@ namespace NzbDrone.Core.HealthCheck.Checks { return new HealthCheck(GetType(), HealthCheckResult.Error, $"Currently installed Mono version {monoVersion} is no longer supported. Please upgrade Mono to version {bestVersion}.", - "#currently_installed_mono_version-is_old_and_unsupported"); + "#currently-installed-mono-version-is-old-and-unsupported"); } return new HealthCheck(GetType(), HealthCheckResult.Error, $"Currently installed Mono version {monoVersion} is old and unsupported. Please upgrade Mono to version {bestVersion}.", - "#currently_installed_mono_version-is_old_and_unsupported"); + "#currently-installed-mono-version-is-old-and-unsupported"); } public override bool CheckOnSchedule => false; diff --git a/src/NzbDrone.Core/HealthCheck/Checks/MountCheck.cs b/src/NzbDrone.Core/HealthCheck/Checks/MountCheck.cs index c3bd46b23..16740b0a9 100644 --- a/src/NzbDrone.Core/HealthCheck/Checks/MountCheck.cs +++ b/src/NzbDrone.Core/HealthCheck/Checks/MountCheck.cs @@ -27,7 +27,7 @@ namespace NzbDrone.Core.HealthCheck.Checks if (mounts.Any()) { - return new HealthCheck(GetType(), HealthCheckResult.Error, "Mount containing a series path is mounted read-only: " + string.Join(",", mounts.Select(m => m.Name)), "#series_mount_ro"); + return new HealthCheck(GetType(), HealthCheckResult.Error, "Mount containing a series path is mounted read-only: " + string.Join(",", mounts.Select(m => m.Name)), "#series-mount-ro"); } return new HealthCheck(GetType()); diff --git a/src/NzbDrone.Core/HealthCheck/Checks/PackageGlobalMessageCheck.cs b/src/NzbDrone.Core/HealthCheck/Checks/PackageGlobalMessageCheck.cs index 6ecb0717c..1d76b3b2e 100644 --- a/src/NzbDrone.Core/HealthCheck/Checks/PackageGlobalMessageCheck.cs +++ b/src/NzbDrone.Core/HealthCheck/Checks/PackageGlobalMessageCheck.cs @@ -39,7 +39,7 @@ namespace NzbDrone.Core.HealthCheck.Checks result = HealthCheckResult.Warning; } - return new HealthCheck(GetType(), result, message, "#package_maintainer_message"); + return new HealthCheck(GetType(), result, message, "#package-maintainer-message"); } } } diff --git a/src/NzbDrone.Core/HealthCheck/Checks/RemovedSeriesCheck.cs b/src/NzbDrone.Core/HealthCheck/Checks/RemovedSeriesCheck.cs index 67a0ba3f3..d1f325946 100644 --- a/src/NzbDrone.Core/HealthCheck/Checks/RemovedSeriesCheck.cs +++ b/src/NzbDrone.Core/HealthCheck/Checks/RemovedSeriesCheck.cs @@ -33,10 +33,10 @@ namespace NzbDrone.Core.HealthCheck.Checks if (deletedSeries.Count() == 1) { - return new HealthCheck(GetType(), HealthCheckResult.Error, $"Series {seriesText} was removed from TheTVDB", "#series_removed_from_thetvdb"); + return new HealthCheck(GetType(), HealthCheckResult.Error, $"Series {seriesText} was removed from TheTVDB", "#series-removed-from-thetvdb"); } - return new HealthCheck(GetType(), HealthCheckResult.Error, $"Series {seriesText} were removed from TheTVDB", "#series_removed_from_thetvdb"); + return new HealthCheck(GetType(), HealthCheckResult.Error, $"Series {seriesText} were removed from TheTVDB", "#series-removed-from-thetvdb"); } public bool ShouldCheckOnEvent(SeriesDeletedEvent deletedEvent) diff --git a/src/NzbDrone.Core/HealthCheck/Checks/RootFolderCheck.cs b/src/NzbDrone.Core/HealthCheck/Checks/RootFolderCheck.cs index 89128a7c9..9a57d0890 100644 --- a/src/NzbDrone.Core/HealthCheck/Checks/RootFolderCheck.cs +++ b/src/NzbDrone.Core/HealthCheck/Checks/RootFolderCheck.cs @@ -37,11 +37,11 @@ namespace NzbDrone.Core.HealthCheck.Checks { if (missingRootFolders.Count == 1) { - return new HealthCheck(GetType(), HealthCheckResult.Error, "Missing root folder: " + missingRootFolders.First(), "#missing_root_folder"); + return new HealthCheck(GetType(), HealthCheckResult.Error, "Missing root folder: " + missingRootFolders.First(), "#missing-root-folder"); } var message = string.Format("Multiple root folders are missing: {0}", string.Join(" | ", missingRootFolders)); - return new HealthCheck(GetType(), HealthCheckResult.Error, message, "#missing_root_folder"); + return new HealthCheck(GetType(), HealthCheckResult.Error, message, "#missing-root-folder"); } return new HealthCheck(GetType()); diff --git a/src/NzbDrone.Core/HealthCheck/Checks/UpdateCheck.cs b/src/NzbDrone.Core/HealthCheck/Checks/UpdateCheck.cs index 2d108ca00..ac3f47d8d 100644 --- a/src/NzbDrone.Core/HealthCheck/Checks/UpdateCheck.cs +++ b/src/NzbDrone.Core/HealthCheck/Checks/UpdateCheck.cs @@ -40,21 +40,21 @@ namespace NzbDrone.Core.HealthCheck.Checks { return new HealthCheck(GetType(), HealthCheckResult.Error, string.Format("Cannot install update because startup folder '{0}' is in an App Translocation folder.", startupFolder), - "#cannot_install_update_because_startup_folder_is_in_an_App_Translocation_folder"); + "#cannot-install-update-because-startup-folder-is-in-an-App-Translocation-folder"); } if (!_diskProvider.FolderWritable(startupFolder)) { return new HealthCheck(GetType(), HealthCheckResult.Error, string.Format("Cannot install update because startup folder '{0}' is not writable by the user '{1}'.", startupFolder, Environment.UserName), - "#cannot_install_update_because_startup_folder_is_not_writable_by_the_user"); + "#cannot-install-update-because-startup-folder-is-not-writable-by-the-user"); } if (!_diskProvider.FolderWritable(uiFolder)) { return new HealthCheck(GetType(), HealthCheckResult.Error, string.Format("Cannot install update because UI folder '{0}' is not writable by the user '{1}'.", uiFolder, Environment.UserName), - "#cannot_install_update_because_UI_folder_is_not_writable_by_the_user"); + "#cannot-install-update-because-UI-folder-is-not-writable-by-the-user"); } } diff --git a/src/NzbDrone.Core/HealthCheck/HealthCheck.cs b/src/NzbDrone.Core/HealthCheck/HealthCheck.cs index b6289b099..99a127425 100644 --- a/src/NzbDrone.Core/HealthCheck/HealthCheck.cs +++ b/src/NzbDrone.Core/HealthCheck/HealthCheck.cs @@ -34,12 +34,12 @@ namespace NzbDrone.Core.HealthCheck private static string MakeWikiFragment(string message) { - return "#" + CleanFragmentRegex.Replace(message.ToLower(), string.Empty).Replace(' ', '_'); + return "#" + CleanFragmentRegex.Replace(message.ToLower(), string.Empty).Replace(' ', '-'); } private static HttpUri MakeWikiUrl(string fragment) { - return new HttpUri("https://wiki.servarr.com/Sonarr_System") + new HttpUri(fragment); + return new HttpUri("https://wiki.servarr.com/sonarr/system") + new HttpUri(fragment); } } diff --git a/src/NzbDrone.Core/Notifications/CustomScript/CustomScript.cs b/src/NzbDrone.Core/Notifications/CustomScript/CustomScript.cs index da3191fce..6bac517aa 100644 --- a/src/NzbDrone.Core/Notifications/CustomScript/CustomScript.cs +++ b/src/NzbDrone.Core/Notifications/CustomScript/CustomScript.cs @@ -31,7 +31,7 @@ namespace NzbDrone.Core.Notifications.CustomScript public override string Name => "Custom Script"; - public override string Link => "https://wiki.servarr.com/Sonarr_Settings#Connections"; + public override string Link => "https://wiki.servarr.com/sonarr/settings#connections"; public override ProviderMessage Message => new ProviderMessage("Testing will execute the script with the EventType set to Test, ensure your script handles this correctly", ProviderMessageType.Warning); diff --git a/src/NzbDrone.Core/Notifications/Twitter/TwitterSettings.cs b/src/NzbDrone.Core/Notifications/Twitter/TwitterSettings.cs index 0a0400132..180490de7 100644 --- a/src/NzbDrone.Core/Notifications/Twitter/TwitterSettings.cs +++ b/src/NzbDrone.Core/Notifications/Twitter/TwitterSettings.cs @@ -37,10 +37,10 @@ namespace NzbDrone.Core.Notifications.Twitter AuthorizeNotification = "startOAuth"; } - [FieldDefinition(0, Label = "Consumer Key", Privacy = PrivacyLevel.ApiKey, HelpText = "Consumer key from a Twitter application", HelpLink = "https://wiki.servarr.com/Useful_Tools#Twitter_Connect")] + [FieldDefinition(0, Label = "Consumer Key", Privacy = PrivacyLevel.ApiKey, HelpText = "Consumer key from a Twitter application", HelpLink = "https://wiki.servarr.com/useful-tools#twitter-connect")] public string ConsumerKey { get; set; } - [FieldDefinition(1, Label = "Consumer Secret", Privacy = PrivacyLevel.ApiKey, HelpText = "Consumer secret from a Twitter application", HelpLink = "https://wiki.servarr.com/Useful_Tools#Twitter_Connect")] + [FieldDefinition(1, Label = "Consumer Secret", Privacy = PrivacyLevel.ApiKey, HelpText = "Consumer secret from a Twitter application", HelpLink = "https://wiki.servarr.com/useful-tools#twitter-connect")] public string ConsumerSecret { get; set; } [FieldDefinition(2, Label = "Access Token", Privacy = PrivacyLevel.ApiKey, Advanced = true)] diff --git a/src/NzbDrone.Core/Notifications/Webhook/Webhook.cs b/src/NzbDrone.Core/Notifications/Webhook/Webhook.cs index ce59b07a2..8ae6cdb57 100644 --- a/src/NzbDrone.Core/Notifications/Webhook/Webhook.cs +++ b/src/NzbDrone.Core/Notifications/Webhook/Webhook.cs @@ -18,7 +18,7 @@ namespace NzbDrone.Core.Notifications.Webhook _proxy = proxy; } - public override string Link => "https://wiki.servarr.com/Sonarr_Settings#Connections"; + public override string Link => "https://wiki.servarr.com/sonarr/settings#connections"; public override void OnGrab(GrabMessage message) { diff --git a/src/Sonarr.Api.V3/ProviderResource.cs b/src/Sonarr.Api.V3/ProviderResource.cs index 59fd16d9f..09f5356d4 100644 --- a/src/Sonarr.Api.V3/ProviderResource.cs +++ b/src/Sonarr.Api.V3/ProviderResource.cs @@ -39,7 +39,7 @@ namespace Sonarr.Api.V3 Tags = definition.Tags, Fields = SchemaBuilder.ToSchema(definition.Settings), - InfoLink = string.Format("https://wiki.servarr.com/Sonarr_Supported_{0}", + InfoLink = string.Format("https://wiki.servarr.com/sonarr/supported-{0}", typeof(TProviderResource).Name.Replace("Resource", "s"), definition.Implementation.ToLower()) };