From 80ec66514e3cf0fde7290d8d57a0c08e7479d943 Mon Sep 17 00:00:00 2001 From: Qstick Date: Mon, 21 Jun 2021 21:13:08 -0400 Subject: [PATCH] change wiki links from wikjs to wiki endpoint --- CONTRIBUTING.md | 2 +- README.md | 6 +++--- .../src/Components/FileBrowser/FileBrowserModalContent.js | 2 +- frontend/src/Settings/General/UpdateSettings.js | 4 ++-- .../Notifications/Notifications/NotificationEventItems.js | 2 +- frontend/src/Store/Selectors/createHealthCheckSelector.js | 2 +- frontend/src/System/Status/MoreInfo/MoreInfo.js | 2 +- frontend/src/login.html | 2 +- src/NzbDrone.Core.Test/HealthCheck/HealthCheckFixture.cs | 2 +- src/NzbDrone.Core/Datastore/DbFactory.cs | 4 ++-- src/NzbDrone.Core/HealthCheck/HealthCheck.cs | 2 +- .../Notifications/CustomScript/CustomScript.cs | 2 +- src/NzbDrone.Core/Notifications/Twitter/TwitterSettings.cs | 4 ++-- src/NzbDrone.Core/Notifications/Webhook/Webhook.cs | 2 +- src/Prowlarr.Api.V1/ProviderResource.cs | 2 +- src/Prowlarr.Api.V1/swagger.json | 4 ++-- 16 files changed, 22 insertions(+), 22 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f9e50ffab..05902fd90 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -3,7 +3,7 @@ We're always looking for people to help make Prowlarr even better, there are a number of ways to contribute. ## Documentation ## -Setup guides, FAQ, the more information we have on the [wiki](https://wikijs.servarr.com/prowlarr) the better. +Setup guides, FAQ, the more information we have on the [wiki](https://wiki.servarr.com/prowlarr) the better. ## Development ## diff --git a/README.md b/README.md index 79dd8581a..35907af0d 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Build Status](https://dev.azure.com/Prowlarr/Prowlarr/_apis/build/status/Prowlarr.Prowlarr?branchName=develop)](https://dev.azure.com/Prowlarr/Prowlarr/_build/latest?definitionId=1&branchName=develop) [![Translated](https://translate.servarr.com/widgets/servarr/-/prowlarr/svg-badge.svg)](https://translate.servarr.com/engage/prowlarr/?utm_source=widget) -[![Docker Pulls](https://img.shields.io/docker/pulls/hotio/prowlarr.svg)](https://wikijs.servarr.com/prowlarr/installation#docker) +[![Docker Pulls](https://img.shields.io/docker/pulls/hotio/prowlarr.svg)](https://wiki.servarr.com/prowlarr/installation#docker) ![Github Downloads](https://img.shields.io/github/downloads/Prowlarr/Prowlarr/total.svg) [![Backers on Open Collective](https://opencollective.com/Prowlarr/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/Prowlarr/sponsors/badge.svg)](#sponsors) @@ -25,11 +25,11 @@ Note: Prowlarr is currently early in life, thus bugs should be expected [![Discord](https://img.shields.io/badge/discord-chat-7289DA.svg?maxAge=60)](https://prowlarr.com/discord) [![Reddit](https://img.shields.io/badge/reddit-discussion-FF4500.svg?maxAge=60)](https://www.reddit.com/r/Prowlarr) [![GitHub - Bugs and Feature Requests Only](https://img.shields.io/badge/github-issues-red.svg?maxAge=60)](https://github.com/Prowlarr/Prowlarr/issues) -[![Wiki](https://img.shields.io/badge/servarr-wiki-181717.svg?maxAge=60)](https://wikijs.servarr.com/prowlarr) +[![Wiki](https://img.shields.io/badge/servarr-wiki-181717.svg?maxAge=60)](https://wiki.servarr.com/prowlarr) ## Indexers/Trackers -[Supported Indexers](https://wikijs.servarr.com/en/prowlarr/supported-indexers) +[Supported Indexers](https://wiki.servarr.com/en/prowlarr/supported-indexers) [Indexer Requests](https://requests.prowlarr.com) - Request or vote on an existing request for a new tracker/indexer diff --git a/frontend/src/Components/FileBrowser/FileBrowserModalContent.js b/frontend/src/Components/FileBrowser/FileBrowserModalContent.js index 0cb09847f..6cf4103cd 100644 --- a/frontend/src/Components/FileBrowser/FileBrowserModalContent.js +++ b/frontend/src/Components/FileBrowser/FileBrowserModalContent.js @@ -129,7 +129,7 @@ class FileBrowserModalContent extends Component { className={styles.mappedDrivesWarning} kind={kinds.WARNING} > - + {translate('MappedDrivesRunningAsService')} diff --git a/frontend/src/Settings/General/UpdateSettings.js b/frontend/src/Settings/General/UpdateSettings.js index 8d51bf7f3..3bf8d43b6 100644 --- a/frontend/src/Settings/General/UpdateSettings.js +++ b/frontend/src/Settings/General/UpdateSettings.js @@ -55,7 +55,7 @@ function UpdateSettings(props) { type={inputTypes.TEXT} name="branch" helpText={usingExternalUpdateMechanism ? translate('BranchUpdateMechanism') : translate('BranchUpdate')} - helpLink="https://wikijs.servarr.com/prowlarr/settings#updates" + helpLink="https://wiki.servarr.com/prowlarr/settings#updates" {...branch} onChange={onInputChange} readOnly={usingExternalUpdateMechanism} @@ -92,7 +92,7 @@ function UpdateSettings(props) { name="updateMechanism" values={updateOptions} helpText={translate('UpdateMechanismHelpText')} - helpLink="https://wikijs.servarr.com/prowlarr/settings#updates" + helpLink="https://wiki.servarr.com/prowlarr/settings#updates" onChange={onInputChange} {...updateMechanism} /> diff --git a/frontend/src/Settings/Notifications/Notifications/NotificationEventItems.js b/frontend/src/Settings/Notifications/Notifications/NotificationEventItems.js index 6fa5923ce..1b4711fca 100644 --- a/frontend/src/Settings/Notifications/Notifications/NotificationEventItems.js +++ b/frontend/src/Settings/Notifications/Notifications/NotificationEventItems.js @@ -26,7 +26,7 @@ function NotificationEventItems(props) {
diff --git a/frontend/src/Store/Selectors/createHealthCheckSelector.js b/frontend/src/Store/Selectors/createHealthCheckSelector.js index 6a31451e6..88367afc1 100644 --- a/frontend/src/Store/Selectors/createHealthCheckSelector.js +++ b/frontend/src/Store/Selectors/createHealthCheckSelector.js @@ -13,7 +13,7 @@ function createHealthCheckSelector() { source: 'UI', type: 'warning', message: translate('CouldNotConnectSignalR'), - wikiUrl: 'https://wikijs.servarr.com/prowlarr/system#could-not-connect-to-signalr' + wikiUrl: 'https://wiki.servarr.com/prowlarr/system#could-not-connect-to-signalr' }); } diff --git a/frontend/src/System/Status/MoreInfo/MoreInfo.js b/frontend/src/System/Status/MoreInfo/MoreInfo.js index 8403f1101..dfb23a996 100644 --- a/frontend/src/System/Status/MoreInfo/MoreInfo.js +++ b/frontend/src/System/Status/MoreInfo/MoreInfo.js @@ -22,7 +22,7 @@ class MoreInfo extends Component { {translate('Wiki')} - wikijs.servarr.com/prowlarr + wiki.servarr.com/prowlarr {translate('Reddit')} diff --git a/frontend/src/login.html b/frontend/src/login.html index d0ca43550..6ec2c81d6 100644 --- a/frontend/src/login.html +++ b/frontend/src/login.html @@ -252,7 +252,7 @@ Forgot your password? diff --git a/src/NzbDrone.Core.Test/HealthCheck/HealthCheckFixture.cs b/src/NzbDrone.Core.Test/HealthCheck/HealthCheckFixture.cs index cdc197b21..cd9b30163 100644 --- a/src/NzbDrone.Core.Test/HealthCheck/HealthCheckFixture.cs +++ b/src/NzbDrone.Core.Test/HealthCheck/HealthCheckFixture.cs @@ -8,7 +8,7 @@ namespace NzbDrone.Core.Test.HealthCheck [TestFixture] public class HealthCheckFixture : CoreTest { - private const string WikiRoot = "https://wikijs.servarr.com/"; + private const string WikiRoot = "https://wiki.servarr.com/"; [TestCase("I blew up because of some weird user mistake", null, WikiRoot + "prowlarr/system#i-blew-up-because-of-some-weird-user-mistake")] [TestCase("I blew up because of some weird user mistake", "#my-health-check", WikiRoot + "prowlarr/system#my-health-check")] diff --git a/src/NzbDrone.Core/Datastore/DbFactory.cs b/src/NzbDrone.Core/Datastore/DbFactory.cs index a99a7b4d6..bd115d6d8 100644 --- a/src/NzbDrone.Core/Datastore/DbFactory.cs +++ b/src/NzbDrone.Core/Datastore/DbFactory.cs @@ -108,10 +108,10 @@ namespace NzbDrone.Core.Datastore if (OsInfo.IsOsx) { - throw new CorruptDatabaseException("Database file: {0} is corrupt, restore from backup if available. See: https://wikijs.servarr.com/prowlarr/faq#i-use-prowlarr-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/prowlarr/faq#i-use-prowlarr-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://wikijs.servarr.com/prowlarr/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/prowlarr/faq#i-am-getting-an-error-database-disk-image-is-malformed", e, fileName); } catch (Exception e) { diff --git a/src/NzbDrone.Core/HealthCheck/HealthCheck.cs b/src/NzbDrone.Core/HealthCheck/HealthCheck.cs index cd0fb00a4..1eba4c46f 100644 --- a/src/NzbDrone.Core/HealthCheck/HealthCheck.cs +++ b/src/NzbDrone.Core/HealthCheck/HealthCheck.cs @@ -39,7 +39,7 @@ namespace NzbDrone.Core.HealthCheck private static HttpUri MakeWikiUrl(string fragment) { - return new HttpUri("https://wikijs.servarr.com/prowlarr/system#") + new HttpUri(fragment); + return new HttpUri("https://wiki.servarr.com/prowlarr/system#") + new HttpUri(fragment); } } diff --git a/src/NzbDrone.Core/Notifications/CustomScript/CustomScript.cs b/src/NzbDrone.Core/Notifications/CustomScript/CustomScript.cs index 079044ced..83130cd53 100755 --- a/src/NzbDrone.Core/Notifications/CustomScript/CustomScript.cs +++ b/src/NzbDrone.Core/Notifications/CustomScript/CustomScript.cs @@ -27,7 +27,7 @@ namespace NzbDrone.Core.Notifications.CustomScript public override string Name => "Custom Script"; - public override string Link => "https://wikijs.servarr.com/prowlarr/settings#connections"; + public override string Link => "https://wiki.servarr.com/prowlarr/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 b61f17716..b0702b010 100644 --- a/src/NzbDrone.Core/Notifications/Twitter/TwitterSettings.cs +++ b/src/NzbDrone.Core/Notifications/Twitter/TwitterSettings.cs @@ -38,10 +38,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://wikijs.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://wikijs.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 fe4653082..0c36baf59 100755 --- a/src/NzbDrone.Core/Notifications/Webhook/Webhook.cs +++ b/src/NzbDrone.Core/Notifications/Webhook/Webhook.cs @@ -14,7 +14,7 @@ namespace NzbDrone.Core.Notifications.Webhook _proxy = proxy; } - public override string Link => "https://wikijs.servarr.com/prowlarr/settings#connect"; + public override string Link => "https://wiki.servarr.com/prowlarr/settings#connect"; public override void OnHealthIssue(HealthCheck.HealthCheck healthCheck) { diff --git a/src/Prowlarr.Api.V1/ProviderResource.cs b/src/Prowlarr.Api.V1/ProviderResource.cs index 22a4f2478..ea95adea4 100644 --- a/src/Prowlarr.Api.V1/ProviderResource.cs +++ b/src/Prowlarr.Api.V1/ProviderResource.cs @@ -39,7 +39,7 @@ namespace Prowlarr.Api.V1 Fields = SchemaBuilder.ToSchema(definition.Settings), //prowlarr/supported#{0} are custom build redirect pages; if passing a new var, create a new redirect - InfoLink = string.Format("https://wikijs.servarr.com/prowlarr/supported#{0}", + InfoLink = string.Format("https://wiki.servarr.com/prowlarr/supported#{0}", definition.Implementation.ToLower()) }; } diff --git a/src/Prowlarr.Api.V1/swagger.json b/src/Prowlarr.Api.V1/swagger.json index cf03a47ae..83dcb5b4a 100644 --- a/src/Prowlarr.Api.V1/swagger.json +++ b/src/Prowlarr.Api.V1/swagger.json @@ -766,13 +766,13 @@ "source": "ImportMechanismCheck", "type": "warning", "message": "Enable Completed Download Handling", - "wikiUrl": "https://wikijs.servarr.com/prowlarr/system#completed.2FFailed_Download_Handling" + "wikiUrl": "https://wiki.servarr.com/prowlarr/system#completed.2FFailed_Download_Handling" }, { "source": "DownloadClientCheck", "type": "error", "message": "Unable to communicate with qBittorrent. Failed to connect to qBittorrent, check your settings.", - "wikiUrl": "https://wikijs.servarr.com/prowlarr/system#download-clients" + "wikiUrl": "https://wiki.servarr.com/prowlarr/system#download-clients" } ] }