Skip to content

Commit c4e684f

Browse files
committed
update usages of nzbdrone.com to sonarr.tv
1 parent 0d61b5d commit c4e684f

File tree

9 files changed

+21
-37
lines changed

9 files changed

+21
-37
lines changed

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Setup guides, FAQ, the more information we have on the wiki the better.
88
## Development ##
99

1010
### Tools required ###
11-
- Visual Studio 2012
11+
- Visual Studio 2013
1212
- HTML/Javascript editor of choice (Sublime Text/Webstorm/etc)
1313
- npm (node package manager)
1414
- git
@@ -22,7 +22,7 @@ Setup guides, FAQ, the more information we have on the wiki the better.
2222
5. Compile in Visual Studio
2323

2424
### Contributing Code ###
25-
- If you're adding a new, already requested feature, please comment on [Trello](http://trello.nzbdrone.com "Trello") so work is not duplicated (If you want to add something not already on there, please talk to us first)
25+
- If you're adding a new, already requested feature, please comment on [Trello](https://trello.sonarr.tv "Trello") so work is not duplicated (If you want to add something not already on there, please talk to us first)
2626
- Rebase from NzbDrone's develop branch, don't merge
2727
- Make meaningful commits, or squash them
2828
- Feel free to make a pull request before work is complete, this will let us see where its at and make comments/suggest improvements

setup/nzbdrone.iss

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
#define AppName "NzbDrone"
55
#define AppPublisher "NzbDrone"
6-
#define AppURL "http://www.nzbdrone.com/"
7-
#define ForumsURL "http://forums.nzbdrone.com/"
6+
#define AppURL "https://sonarr.tv/"
7+
#define ForumsURL "https://forums.sonarr.tv/"
88
#define AppExeName "NzbDrone.exe"
99
#define BuildNumber "2.0"
1010
#define BuildNumber GetEnv('BUILD_NUMBER')

src/NzbDrone.Common/Cloud/CloudClient.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public interface IDroneServicesRequestBuilder
99

1010
public class DroneServicesHttpRequestBuilder : HttpRequestBuilder, IDroneServicesRequestBuilder
1111
{
12-
private const string ROOT_URL = "http://services.nzbdrone.com/v1/";
12+
private const string ROOT_URL = "https://services.sonarr.tv/v1/";
1313

1414
public DroneServicesHttpRequestBuilder()
1515
: base(ROOT_URL)

src/NzbDrone.Common/NzbDrone.Common.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@
180180
<Compile Include="Serializer\Json.cs" />
181181
<Compile Include="ServiceFactory.cs" />
182182
<Compile Include="ServiceProvider.cs" />
183-
<Compile Include="Services.cs" />
184183
<Compile Include="Extensions\StringExtensions.cs" />
185184
<Compile Include="TinyIoC.cs" />
186185
<Compile Include="TPL\LimitedConcurrencyLevelTaskScheduler.cs" />

src/NzbDrone.Common/Properties/SharedAssemblyInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Runtime.InteropServices;
33

44
[assembly: AssemblyConfiguration("")]
5-
[assembly: AssemblyCompany("www.nzbdrone.com")]
5+
[assembly: AssemblyCompany("sonarr.tv")]
66
[assembly: AssemblyProduct("NzbDrone")]
77
[assembly: AssemblyCopyright("GNU General Public v3")]
88
[assembly: AssemblyTrademark("")]

src/NzbDrone.Common/Security/IgnoreCertErrorPolicy.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ private static bool ValidationCallback(object sender, X509Certificate certificat
1616
{
1717
var request = sender as HttpWebRequest;
1818

19-
if (request != null &&
20-
request.Address.OriginalString.ContainsIgnoreCase("nzbdrone.com") &&
21-
sslpolicyerrors != SslPolicyErrors.None)
19+
if (request != null && sslpolicyerrors != SslPolicyErrors.None &&
20+
(request.Address.OriginalString.ContainsIgnoreCase("nzbdrone.com") || request.Address.OriginalString.ContainsIgnoreCase("sonarr.tv"))
21+
)
2222
{
2323
return false;
2424
}

src/NzbDrone.Common/Services.cs

-15
This file was deleted.

src/NzbDrone.Core.Test/FluentTest.cs

+11-11
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public void ToBestDateTime_Before_Yesterday()
8888
public void ParentUriString_should_return_self_if_already_parent()
8989
{
9090

91-
var url = "http://www.nzbdrone.com";
91+
var url = "http://www.sonarr.tv";
9292
var uri = new Uri(url);
9393

9494

@@ -102,70 +102,70 @@ public void ParentUriString_should_return_self_if_already_parent()
102102
public void ParentUriString_should_return_parent_url_when_path_is_passed()
103103
{
104104

105-
var url = "http://www.nzbdrone.com/test/";
105+
var url = "http://www.sonarr.tv/test/";
106106
var uri = new Uri(url);
107107

108108

109109
var result = uri.ParentUriString();
110110

111111
//Resolve
112-
result.Should().Be("http://www.nzbdrone.com");
112+
result.Should().Be("http://www.sonarr.tv");
113113
}
114114

115115
[Test]
116116
public void ParentUriString_should_return_parent_url_when_multiple_paths_are_passed()
117117
{
118118

119-
var url = "http://www.nzbdrone.com/test/test2";
119+
var url = "http://www.sonarr.tv/test/test2";
120120
var uri = new Uri(url);
121121

122122

123123
var result = uri.ParentUriString();
124124

125125
//Resolve
126-
result.Should().Be("http://www.nzbdrone.com");
126+
result.Should().Be("http://www.sonarr.tv");
127127
}
128128

129129
[Test]
130130
public void ParentUriString_should_return_parent_url_when_url_with_query_string_is_passed()
131131
{
132132

133-
var url = "http://www.nzbdrone.com/test.aspx?test=10";
133+
var url = "http://www.sonarr.tv/test.aspx?test=10";
134134
var uri = new Uri(url);
135135

136136

137137
var result = uri.ParentUriString();
138138

139139
//Resolve
140-
result.Should().Be("http://www.nzbdrone.com");
140+
result.Should().Be("http://www.sonarr.tv");
141141
}
142142

143143
[Test]
144144
public void ParentUriString_should_return_parent_url_when_url_with_path_and_query_strings_is_passed()
145145
{
146146

147-
var url = "http://www.nzbdrone.com/tester/test.aspx?test=10";
147+
var url = "http://www.sonarr.tv/tester/test.aspx?test=10";
148148
var uri = new Uri(url);
149149

150150

151151
var result = uri.ParentUriString();
152152

153153
//Resolve
154-
result.Should().Be("http://www.nzbdrone.com");
154+
result.Should().Be("http://www.sonarr.tv");
155155
}
156156

157157
[Test]
158158
public void ParentUriString_should_return_parent_url_when_url_with_query_strings_is_passed()
159159
{
160160

161-
var url = "http://www.nzbdrone.com/test.aspx?test=10&test2=5";
161+
var url = "http://www.sonarr.tv/test.aspx?test=10&test2=5";
162162
var uri = new Uri(url);
163163

164164

165165
var result = uri.ParentUriString();
166166

167167
//Resolve
168-
result.Should().Be("http://www.nzbdrone.com");
168+
result.Should().Be("http://www.sonarr.tv");
169169
}
170170

171171
[Test]

src/NzbDrone.Core/Configuration/ConfigFileProvider.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ private XDocument LoadConfigFile()
332332

333333
catch (XmlException ex)
334334
{
335-
throw new InvalidConfigFileException(_configFile + " is invalid, please see the http://wiki.nzbdrone.com for steps to resolve this issue.", ex);
335+
throw new InvalidConfigFileException(_configFile + " is invalid, please see the http://wiki.sonarr.tv for steps to resolve this issue.", ex);
336336
}
337337
}
338338

0 commit comments

Comments
 (0)