3.0.5416.0

This commit is contained in:
Luke Pulverenti
2014-10-31 00:57:24 -04:00
parent a32fd710a9
commit 7a4d5b7951
79 changed files with 8961 additions and 8643 deletions

View File

@@ -176,7 +176,7 @@ namespace MediaBrowser.Model.Configuration
public PeopleMetadataOptions PeopleMetadataOptions { get; set; }
public bool FindInternetTrailers { get; set; }
public string[] InsecureApps2 { get; set; }
public string[] InsecureApps3 { get; set; }
public bool SaveMetadataHidden { get; set; }
@@ -228,12 +228,14 @@ namespace MediaBrowser.Model.Configuration
PeopleMetadataOptions = new PeopleMetadataOptions();
InsecureApps2 = new[]
InsecureApps3 = new[]
{
"Roku",
"Chromecast",
"iOS",
"Windows Phone"
"Windows Phone",
"Windows RT",
"Xbmc"
};
MetadataOptions = new[]

View File

@@ -83,6 +83,8 @@ namespace MediaBrowser.Model.Configuration
public AccessSchedule[] AccessSchedules { get; set; }
public bool EnableUserPreferenceAccess { get; set; }
public string[] LatestItemsExcludes { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="UserConfiguration" /> class.
@@ -94,6 +96,7 @@ namespace MediaBrowser.Model.Configuration
EnableMediaPlayback = true;
EnableLiveTvAccess = true;
LatestItemsExcludes = new string[] { };
OrderedViews = new string[] { };
BlockedMediaFolders = new string[] { };
DisplayChannelsWithinViews = new string[] { };

View File

@@ -7,5 +7,14 @@ namespace MediaBrowser.Model.Connect
public string UserName { get; set; }
public string ImageUrl { get; set; }
public string Id { get; set; }
public string[] ExcludedLibraries { get; set; }
public bool EnableLiveTv { get; set; }
public string[] ExcludedChannels { get; set; }
public ConnectAuthorization()
{
ExcludedLibraries = new string[] { };
ExcludedChannels = new string[] { };
}
}
}

View File

@@ -0,0 +1,18 @@

namespace MediaBrowser.Model.Connect
{
public class ConnectAuthorizationRequest
{
public string SendingUserId { get; set; }
public string ConnectUserName { get; set; }
public string[] ExcludedLibraries { get; set; }
public bool EnableLiveTv { get; set; }
public string[] ExcludedChannels { get; set; }
public ConnectAuthorizationRequest()
{
ExcludedLibraries = new string[] { };
ExcludedChannels = new string[] { };
}
}
}

View File

@@ -0,0 +1,19 @@

namespace MediaBrowser.Model.Connect
{
public static class ConnectPassword
{
public static string PerformPreHashFilter(string password)
{
return password
.Replace("&", "&amp;")
.Replace("/", "&#092;")
.Replace("!", "&#33;")
.Replace("$", "&#036;")
.Replace("\"", "&quot;")
.Replace("<", "&lt;")
.Replace(">", "&gt;")
.Replace("'", "&#39;");
}
}
}

View File

@@ -103,6 +103,8 @@
<Compile Include="Connect\ConnectAuthenticationExchangeResult.cs" />
<Compile Include="Connect\ConnectAuthenticationResult.cs" />
<Compile Include="Connect\ConnectAuthorization.cs" />
<Compile Include="Connect\ConnectAuthorizationRequest.cs" />
<Compile Include="Connect\ConnectPassword.cs" />
<Compile Include="Connect\ConnectUser.cs" />
<Compile Include="Connect\ConnectUserQuery.cs" />
<Compile Include="Connect\ConnectUserServer.cs" />