mirror of
https://gitlab.com/buildfeed/BuildFeed.git
synced 2024-03-22 21:10:34 +08:00
Update Packages; Update Copyright; Add Blog Link
This commit is contained in:
parent
b06a72a608
commit
f0452978a3
|
@ -72,10 +72,9 @@ public override void Initialize(string name, NameValueCollection config)
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(DatabaseConfig.Username) && !string.IsNullOrEmpty(DatabaseConfig.Password))
|
if (!string.IsNullOrEmpty(DatabaseConfig.Username) && !string.IsNullOrEmpty(DatabaseConfig.Password))
|
||||||
{
|
{
|
||||||
settings.Credentials = new List<MongoCredential>
|
settings.Credential = MongoCredential.CreateCredential(DatabaseConfig.Database,
|
||||||
{
|
DatabaseConfig.Username,
|
||||||
MongoCredential.CreateCredential(DatabaseConfig.Database, DatabaseConfig.Username, DatabaseConfig.Password)
|
DatabaseConfig.Password);
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
MongoClient dbClient = new MongoClient(settings);
|
MongoClient dbClient = new MongoClient(settings);
|
||||||
|
|
|
@ -37,10 +37,9 @@ public override void Initialize(string name, NameValueCollection config)
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(DatabaseConfig.Username) && !string.IsNullOrEmpty(DatabaseConfig.Password))
|
if (!string.IsNullOrEmpty(DatabaseConfig.Username) && !string.IsNullOrEmpty(DatabaseConfig.Password))
|
||||||
{
|
{
|
||||||
settings.Credentials = new List<MongoCredential>
|
settings.Credential = MongoCredential.CreateCredential(DatabaseConfig.Database,
|
||||||
{
|
DatabaseConfig.Username,
|
||||||
MongoCredential.CreateCredential(DatabaseConfig.Database, DatabaseConfig.Username, DatabaseConfig.Password)
|
DatabaseConfig.Password);
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
MongoClient dbClient = new MongoClient(settings);
|
MongoClient dbClient = new MongoClient(settings);
|
||||||
|
|
|
@ -4,7 +4,7 @@ namespace BuildFeed.Local
|
||||||
{
|
{
|
||||||
public class InvariantTerms
|
public class InvariantTerms
|
||||||
{
|
{
|
||||||
public const string DeveloperName = "Thomas Hounsell";
|
public const string DeveloperName = "The BuildFeed Team";
|
||||||
public const string ProductName = "Windows NT";
|
public const string ProductName = "Windows NT";
|
||||||
public const string SiteName = "BuildFeed";
|
public const string SiteName = "BuildFeed";
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
[assembly: AssemblyConfiguration("")]
|
[assembly: AssemblyConfiguration("")]
|
||||||
[assembly: AssemblyCompany("")]
|
[assembly: AssemblyCompany("")]
|
||||||
[assembly: AssemblyProduct("BuildFeed.Local")]
|
[assembly: AssemblyProduct("BuildFeed.Local")]
|
||||||
[assembly: AssemblyCopyright("Copyright © 2016, Thomas Hounsell")]
|
[assembly: AssemblyCopyright("Copyright © 2013 - 2018, The BuildFeed Team")]
|
||||||
[assembly: AssemblyTrademark("")]
|
[assembly: AssemblyTrademark("")]
|
||||||
[assembly: AssemblyCulture("")]
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
|
20
BuildFeed.Local/VariantTerms.Designer.cs
generated
20
BuildFeed.Local/VariantTerms.Designer.cs
generated
|
@ -19,7 +19,7 @@ namespace BuildFeed.Local {
|
||||||
// class via a tool like ResGen or Visual Studio.
|
// class via a tool like ResGen or Visual Studio.
|
||||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||||
// with the /str option, or rebuild your VS project.
|
// with the /str option, or rebuild your VS project.
|
||||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
public class VariantTerms {
|
public class VariantTerms {
|
||||||
|
@ -186,6 +186,15 @@ public static string Common_Admin {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to Blog.
|
||||||
|
/// </summary>
|
||||||
|
public static string Common_Blog {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("Common_Blog", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Change password.
|
/// Looks up a localized string similar to Change password.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -312,6 +321,15 @@ public static string Common_ThemeLight {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to Winter.
|
||||||
|
/// </summary>
|
||||||
|
public static string Common_ThemeWinter {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("Common_ThemeWinter", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to | Page {0}.
|
/// Looks up a localized string similar to | Page {0}.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -159,6 +159,9 @@
|
||||||
<data name="Common_Admin" xml:space="preserve">
|
<data name="Common_Admin" xml:space="preserve">
|
||||||
<value>Admin</value>
|
<value>Admin</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Common_Blog" xml:space="preserve">
|
||||||
|
<value>Blog</value>
|
||||||
|
</data>
|
||||||
<data name="Common_ChangePassword" xml:space="preserve">
|
<data name="Common_ChangePassword" xml:space="preserve">
|
||||||
<value>Change password</value>
|
<value>Change password</value>
|
||||||
</data>
|
</data>
|
||||||
|
@ -201,6 +204,9 @@
|
||||||
<data name="Common_ThemeLight" xml:space="preserve">
|
<data name="Common_ThemeLight" xml:space="preserve">
|
||||||
<value>Light</value>
|
<value>Light</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Common_ThemeWinter" xml:space="preserve">
|
||||||
|
<value>Winter</value>
|
||||||
|
</data>
|
||||||
<data name="Common_TitlePage" xml:space="preserve">
|
<data name="Common_TitlePage" xml:space="preserve">
|
||||||
<value>| Page {0}</value>
|
<value>| Page {0}</value>
|
||||||
</data>
|
</data>
|
||||||
|
@ -422,6 +428,9 @@ The {0} Team.</value>
|
||||||
<data name="Search_Year" xml:space="preserve">
|
<data name="Search_Year" xml:space="preserve">
|
||||||
<value>Year</value>
|
<value>Year</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Support_AccountValidation" xml:space="preserve">
|
||||||
|
<value>Every account is validated by an administrator, so be patient and check again later</value>
|
||||||
|
</data>
|
||||||
<data name="Support_AdditionsToBuildFeed" xml:space="preserve">
|
<data name="Support_AdditionsToBuildFeed" xml:space="preserve">
|
||||||
<value>Additions to BuildFeed</value>
|
<value>Additions to BuildFeed</value>
|
||||||
</data>
|
</data>
|
||||||
|
@ -497,6 +506,9 @@ The {0} Team.</value>
|
||||||
<data name="Support_RememberMe" xml:space="preserve">
|
<data name="Support_RememberMe" xml:space="preserve">
|
||||||
<value>Remember me</value>
|
<value>Remember me</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Support_ThanksRegister" xml:space="preserve">
|
||||||
|
<value>Thank you for registering</value>
|
||||||
|
</data>
|
||||||
<data name="Support_UserName" xml:space="preserve">
|
<data name="Support_UserName" xml:space="preserve">
|
||||||
<value>Username</value>
|
<value>Username</value>
|
||||||
</data>
|
</data>
|
||||||
|
@ -515,11 +527,4 @@ The {0} Team.</value>
|
||||||
<data name="Support_Week" xml:space="preserve">
|
<data name="Support_Week" xml:space="preserve">
|
||||||
<value>Week</value>
|
<value>Week</value>
|
||||||
</data>
|
</data>
|
||||||
|
|
||||||
<data name="Support_AccountValidation" xml:space="preserve">
|
|
||||||
<value>Every account is validated by an administrator, so be patient and check again later</value>
|
|
||||||
</data>
|
|
||||||
<data name="Support_ThanksRegister" xml:space="preserve">
|
|
||||||
<value>Thank you for registering</value>
|
|
||||||
</data>
|
|
||||||
</root>
|
</root>
|
|
@ -159,6 +159,9 @@
|
||||||
<data name="Common_Admin" xml:space="preserve">
|
<data name="Common_Admin" xml:space="preserve">
|
||||||
<value>Admin</value>
|
<value>Admin</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Common_Blog" xml:space="preserve">
|
||||||
|
<value>Blog</value>
|
||||||
|
</data>
|
||||||
<data name="Common_ChangePassword" xml:space="preserve">
|
<data name="Common_ChangePassword" xml:space="preserve">
|
||||||
<value>Change password</value>
|
<value>Change password</value>
|
||||||
</data>
|
</data>
|
||||||
|
@ -201,6 +204,9 @@
|
||||||
<data name="Common_ThemeLight" xml:space="preserve">
|
<data name="Common_ThemeLight" xml:space="preserve">
|
||||||
<value>Light</value>
|
<value>Light</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Common_ThemeWinter" xml:space="preserve">
|
||||||
|
<value>Winter</value>
|
||||||
|
</data>
|
||||||
<data name="Common_TitlePage" xml:space="preserve">
|
<data name="Common_TitlePage" xml:space="preserve">
|
||||||
<value>| Page {0}</value>
|
<value>| Page {0}</value>
|
||||||
</data>
|
</data>
|
||||||
|
@ -422,6 +428,9 @@ The {0} Team.</value>
|
||||||
<data name="Search_Year" xml:space="preserve">
|
<data name="Search_Year" xml:space="preserve">
|
||||||
<value>Year</value>
|
<value>Year</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Support_AccountValidation" xml:space="preserve">
|
||||||
|
<value>Every account is validated by an administrator, so be patient and check again later</value>
|
||||||
|
</data>
|
||||||
<data name="Support_AdditionsToBuildFeed" xml:space="preserve">
|
<data name="Support_AdditionsToBuildFeed" xml:space="preserve">
|
||||||
<value>Additions to BuildFeed</value>
|
<value>Additions to BuildFeed</value>
|
||||||
</data>
|
</data>
|
||||||
|
@ -497,6 +506,9 @@ The {0} Team.</value>
|
||||||
<data name="Support_RememberMe" xml:space="preserve">
|
<data name="Support_RememberMe" xml:space="preserve">
|
||||||
<value>Remember me</value>
|
<value>Remember me</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Support_ThanksRegister" xml:space="preserve">
|
||||||
|
<value>Thank you for registering</value>
|
||||||
|
</data>
|
||||||
<data name="Support_UserName" xml:space="preserve">
|
<data name="Support_UserName" xml:space="preserve">
|
||||||
<value>Username</value>
|
<value>Username</value>
|
||||||
</data>
|
</data>
|
||||||
|
@ -515,11 +527,4 @@ The {0} Team.</value>
|
||||||
<data name="Support_Week" xml:space="preserve">
|
<data name="Support_Week" xml:space="preserve">
|
||||||
<value>Week</value>
|
<value>Week</value>
|
||||||
</data>
|
</data>
|
||||||
|
|
||||||
<data name="Support_AccountValidation" xml:space="preserve">
|
|
||||||
<value>Every account is validated by an administrator, so be patient and check again later</value>
|
|
||||||
</data>
|
|
||||||
<data name="Support_ThanksRegister" xml:space="preserve">
|
|
||||||
<value>Thank you for registering</value>
|
|
||||||
</data>
|
|
||||||
</root>
|
</root>
|
|
@ -37,8 +37,8 @@
|
||||||
<Reference Include="DnsClient, Version=1.0.7.0, Culture=neutral, PublicKeyToken=4574bb5573c51424, processorArchitecture=MSIL">
|
<Reference Include="DnsClient, Version=1.0.7.0, Culture=neutral, PublicKeyToken=4574bb5573c51424, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\DnsClient.1.0.7\lib\net45\DnsClient.dll</HintPath>
|
<HintPath>..\packages\DnsClient.1.0.7\lib\net45\DnsClient.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="HtmlAgilityPack, Version=1.6.7.0, Culture=neutral, PublicKeyToken=bd319b19eaf3b43a, processorArchitecture=MSIL">
|
<Reference Include="HtmlAgilityPack, Version=1.6.11.0, Culture=neutral, PublicKeyToken=bd319b19eaf3b43a, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\HtmlAgilityPack.1.6.7\lib\Net45\HtmlAgilityPack.dll</HintPath>
|
<HintPath>..\packages\HtmlAgilityPack.1.6.11\lib\Net45\HtmlAgilityPack.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
|
<HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
|
||||||
|
|
|
@ -36,10 +36,8 @@ public BuildRepository()
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(MongoConfig.Username) && !string.IsNullOrEmpty(MongoConfig.Password))
|
if (!string.IsNullOrEmpty(MongoConfig.Username) && !string.IsNullOrEmpty(MongoConfig.Password))
|
||||||
{
|
{
|
||||||
settings.Credentials = new List<MongoCredential>
|
settings.Credential =
|
||||||
{
|
MongoCredential.CreateCredential(MongoConfig.Database, MongoConfig.Username, MongoConfig.Password);
|
||||||
MongoCredential.CreateCredential(MongoConfig.Database, MongoConfig.Username, MongoConfig.Password)
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var dbClient = new MongoClient(settings);
|
var dbClient = new MongoClient(settings);
|
||||||
|
|
|
@ -44,10 +44,8 @@ public MetaItem()
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(MongoConfig.Username) && !string.IsNullOrEmpty(MongoConfig.Password))
|
if (!string.IsNullOrEmpty(MongoConfig.Username) && !string.IsNullOrEmpty(MongoConfig.Password))
|
||||||
{
|
{
|
||||||
settings.Credentials = new List<MongoCredential>
|
settings.Credential =
|
||||||
{
|
MongoCredential.CreateCredential(MongoConfig.Database, MongoConfig.Username, MongoConfig.Password);
|
||||||
MongoCredential.CreateCredential(MongoConfig.Database, MongoConfig.Username, MongoConfig.Password)
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
MongoClient dbClient = new MongoClient(settings);
|
MongoClient dbClient = new MongoClient(settings);
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
[assembly: AssemblyConfiguration("")]
|
[assembly: AssemblyConfiguration("")]
|
||||||
[assembly: AssemblyCompany("")]
|
[assembly: AssemblyCompany("")]
|
||||||
[assembly: AssemblyProduct("BuildFeed.Model")]
|
[assembly: AssemblyProduct("BuildFeed.Model")]
|
||||||
[assembly: AssemblyCopyright("Copyright © 2016, Thomas Hounsell")]
|
[assembly: AssemblyCopyright("Copyright © 2013 - 2018, The BuildFeed Team")]
|
||||||
[assembly: AssemblyTrademark("")]
|
[assembly: AssemblyTrademark("")]
|
||||||
[assembly: AssemblyCulture("")]
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<packages>
|
<packages>
|
||||||
<package id="AutoMapper" version="6.2.2" targetFramework="net47" />
|
<package id="AutoMapper" version="6.2.2" targetFramework="net47" />
|
||||||
<package id="DnsClient" version="1.0.7" targetFramework="net47" />
|
<package id="DnsClient" version="1.0.7" targetFramework="net47" />
|
||||||
<package id="HtmlAgilityPack" version="1.6.7" targetFramework="net47" />
|
<package id="HtmlAgilityPack" version="1.6.11" targetFramework="net47" />
|
||||||
<package id="Microsoft.AspNet.Mvc" version="5.2.3" targetFramework="net47" />
|
<package id="Microsoft.AspNet.Mvc" version="5.2.3" targetFramework="net47" />
|
||||||
<package id="Microsoft.AspNet.Razor" version="3.2.3" targetFramework="net47" />
|
<package id="Microsoft.AspNet.Razor" version="3.2.3" targetFramework="net47" />
|
||||||
<package id="Microsoft.AspNet.WebPages" version="3.2.3" targetFramework="net47" />
|
<package id="Microsoft.AspNet.WebPages" version="3.2.3" targetFramework="net47" />
|
||||||
|
|
|
@ -70,8 +70,8 @@
|
||||||
<Reference Include="DnsClient, Version=1.0.7.0, Culture=neutral, PublicKeyToken=4574bb5573c51424, processorArchitecture=MSIL">
|
<Reference Include="DnsClient, Version=1.0.7.0, Culture=neutral, PublicKeyToken=4574bb5573c51424, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\DnsClient.1.0.7\lib\net45\DnsClient.dll</HintPath>
|
<HintPath>..\packages\DnsClient.1.0.7\lib\net45\DnsClient.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="HtmlAgilityPack, Version=1.6.7.0, Culture=neutral, PublicKeyToken=bd319b19eaf3b43a, processorArchitecture=MSIL">
|
<Reference Include="HtmlAgilityPack, Version=1.6.11.0, Culture=neutral, PublicKeyToken=bd319b19eaf3b43a, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\HtmlAgilityPack.1.6.7\lib\Net45\HtmlAgilityPack.dll</HintPath>
|
<HintPath>..\packages\HtmlAgilityPack.1.6.11\lib\Net45\HtmlAgilityPack.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Humanizer, Version=2.2.0.0, Culture=neutral, PublicKeyToken=979442b78dfc278e, processorArchitecture=MSIL">
|
<Reference Include="Humanizer, Version=2.2.0.0, Culture=neutral, PublicKeyToken=979442b78dfc278e, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Humanizer.Core.2.2.0\lib\netstandard1.0\Humanizer.dll</HintPath>
|
<HintPath>..\packages\Humanizer.Core.2.2.0\lib\netstandard1.0\Humanizer.dll</HintPath>
|
||||||
|
@ -98,11 +98,11 @@
|
||||||
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
|
<HintPath>..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="OneSignal.CSharp.SDK, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="OneSignal.RestAPIv3.Client, Version=1.0.3.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\OneSignal.CSharp.SDK.0.10\lib\net45\OneSignal.CSharp.SDK.dll</HintPath>
|
<HintPath>..\packages\OneSignal.RestAPIv3.Client.1.0.3\lib\net452\OneSignal.RestAPIv3.Client.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="RestSharp, Version=106.1.0.0, Culture=neutral, PublicKeyToken=598062e77f915f75, processorArchitecture=MSIL">
|
<Reference Include="RestSharp, Version=106.2.0.0, Culture=neutral, PublicKeyToken=598062e77f915f75, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\RestSharp.106.1.0\lib\net452\RestSharp.dll</HintPath>
|
<HintPath>..\packages\RestSharp.106.2.0\lib\net452\RestSharp.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.AppContext, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
<Reference Include="System.AppContext, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
|
@ -194,6 +194,10 @@
|
||||||
<Reference Include="System.Text.RegularExpressions, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
<Reference Include="System.Text.RegularExpressions, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\System.Text.RegularExpressions.4.3.0\lib\net463\System.Text.RegularExpressions.dll</HintPath>
|
<HintPath>..\packages\System.Text.RegularExpressions.4.3.0\lib\net463\System.Text.RegularExpressions.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="System.ValueTuple, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.ValueTuple.4.4.0\lib\net47\System.ValueTuple.dll</HintPath>
|
||||||
|
<Private>True</Private>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System.Web.DynamicData" />
|
<Reference Include="System.Web.DynamicData" />
|
||||||
<Reference Include="System.Web.Entity" />
|
<Reference Include="System.Web.Entity" />
|
||||||
<Reference Include="System.Web.ApplicationServices" />
|
<Reference Include="System.Web.ApplicationServices" />
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using BuildFeed.Local;
|
using BuildFeed.Local;
|
||||||
using BuildFeed.Model;
|
using BuildFeed.Model;
|
||||||
using OneSignal.CSharp.SDK;
|
using OneSignal.RestAPIv3.Client;
|
||||||
using OneSignal.CSharp.SDK.Resources;
|
using OneSignal.RestAPIv3.Client.Resources;
|
||||||
using OneSignal.CSharp.SDK.Resources.Notifications;
|
using OneSignal.RestAPIv3.Client.Resources.Notifications;
|
||||||
|
|
||||||
namespace BuildFeed.Code
|
namespace BuildFeed.Code
|
||||||
{
|
{
|
||||||
|
|
|
@ -44,6 +44,7 @@ public enum SiteTheme
|
||||||
[Display(ResourceType = typeof(VariantTerms), Name = nameof(VariantTerms.Common_ThemeLight))]
|
[Display(ResourceType = typeof(VariantTerms), Name = nameof(VariantTerms.Common_ThemeLight))]
|
||||||
Light,
|
Light,
|
||||||
|
|
||||||
|
[Display(ResourceType = typeof(VariantTerms), Name = nameof(VariantTerms.Common_ThemeWinter))]
|
||||||
Winter
|
Winter
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -11,7 +11,7 @@
|
||||||
using BuildFeed.Model;
|
using BuildFeed.Model;
|
||||||
using BuildFeed.Model.Api;
|
using BuildFeed.Model.Api;
|
||||||
using BuildFeed.Model.View;
|
using BuildFeed.Model.View;
|
||||||
using OneSignal.CSharp.SDK;
|
using OneSignal.RestAPIv3.Client;
|
||||||
|
|
||||||
#pragma warning disable SG0016 // Controller method is vulnerable to CSRF - Not relevant for API
|
#pragma warning disable SG0016 // Controller method is vulnerable to CSRF - Not relevant for API
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
using BuildFeed.Code;
|
using BuildFeed.Code;
|
||||||
using BuildFeed.Model;
|
using BuildFeed.Model;
|
||||||
using BuildFeed.Model.View;
|
using BuildFeed.Model.View;
|
||||||
using OneSignal.CSharp.SDK;
|
using OneSignal.RestAPIv3.Client;
|
||||||
|
|
||||||
namespace BuildFeed.Controllers
|
namespace BuildFeed.Controllers
|
||||||
{
|
{
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
[assembly: AssemblyConfiguration("")]
|
[assembly: AssemblyConfiguration("")]
|
||||||
[assembly: AssemblyCompany("")]
|
[assembly: AssemblyCompany("")]
|
||||||
[assembly: AssemblyProduct("BuildFeed")]
|
[assembly: AssemblyProduct("BuildFeed")]
|
||||||
[assembly: AssemblyCopyright("Copyright © 2016, Thomas Hounsell")]
|
[assembly: AssemblyCopyright("Copyright © 2013 - 2018, The BuildFeed Team")]
|
||||||
[assembly: AssemblyTrademark("")]
|
[assembly: AssemblyTrademark("")]
|
||||||
[assembly: AssemblyCulture("")]
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
<html dir="@(isRtl
|
<html dir="@(isRtl
|
||||||
? "rtl"
|
? "rtl"
|
||||||
: "ltr")" lang="@CultureInfo.CurrentUICulture.IetfLanguageTag">
|
: "ltr")" lang="@CultureInfo.CurrentUICulture.IetfLanguageTag">
|
||||||
<head>
|
<head prefix="og: http://ogp.me/ns#">
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<meta name="format-detection" content="telephone=no" />
|
<meta name="format-detection" content="telephone=no" />
|
||||||
|
@ -119,6 +119,11 @@
|
||||||
<i class="fa fa-fw fa-rss"></i> @VariantTerms.Common_RssFeeds
|
<i class="fa fa-fw fa-rss"></i> @VariantTerms.Common_RssFeeds
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="https://blog.buildfeed.net/" title="@VariantTerms.Common_Blog" target="_blank" rel="noopener">
|
||||||
|
<i class="fa fa-fw fa-book"></i> @VariantTerms.Common_Blog
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://twitter.com/buildfeed" title="@VariantTerms.Common_Twitter" target="_blank" rel="noopener">
|
<a href="https://twitter.com/buildfeed" title="@VariantTerms.Common_Twitter" target="_blank" rel="noopener">
|
||||||
<i class="fa fa-fw fa-twitter"></i> @VariantTerms.Common_Twitter
|
<i class="fa fa-fw fa-twitter"></i> @VariantTerms.Common_Twitter
|
||||||
|
@ -168,9 +173,9 @@
|
||||||
<i class="fa fa-fw fa-plus-square"></i> @VariantTerms.Common_AddBuild
|
<i class="fa fa-fw fa-plus-square"></i> @VariantTerms.Common_AddBuild
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
}
|
}
|
||||||
if (Roles.IsUserInRole("Administrators"))
|
if (Roles.IsUserInRole("Administrators"))
|
||||||
{
|
{
|
||||||
<li>
|
<li>
|
||||||
<a href="@Url.Action(nameof(FrontController.AddBulk), new
|
<a href="@Url.Action(nameof(FrontController.AddBulk), new
|
||||||
{
|
{
|
||||||
|
@ -180,7 +185,7 @@
|
||||||
<i class="fa fa-fw fa-database"></i> @VariantTerms.Common_AddBulk
|
<i class="fa fa-fw fa-database"></i> @VariantTerms.Common_AddBulk
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
}
|
}
|
||||||
<li>
|
<li>
|
||||||
<a href="@Url.Action(nameof(AccountController.Logout), new
|
<a href="@Url.Action(nameof(AccountController.Logout), new
|
||||||
{
|
{
|
||||||
|
@ -199,7 +204,7 @@
|
||||||
<i class="fa fa-fw fa-key"></i> @VariantTerms.Common_ChangePassword
|
<i class="fa fa-fw fa-key"></i> @VariantTerms.Common_ChangePassword
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
}
|
}
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -283,10 +288,10 @@
|
||||||
© 2013 - @DateTime.Now.Year.ToString(), <span dir="ltr">@InvariantTerms.SiteName</span>
|
© 2013 - @DateTime.Now.Year.ToString(), <span dir="ltr">@InvariantTerms.SiteName</span>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
@Html.Raw(string.Format(VariantTerms.Common_DevelopedBy, $"<a href=\"https://twitter.com/tomhounsell\" target=\"_blank\" dir=\"ltr\" rel=\"noopener\">{InvariantTerms.DeveloperName}</a>"))
|
@Html.Raw(string.Format(VariantTerms.Common_DevelopedBy, $"<a href=\"https://twitter.com/buildfeed\" target=\"_blank\" dir=\"ltr\" rel=\"noopener\">{InvariantTerms.DeveloperName}</a>"))
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
@Html.Raw(string.Format(VariantTerms.Common_ContributeOn, "<a href=\"https://github.com/hounsell/BuildFeed\" target=\"_blank\" dir=\"ltr\" rel=\"noopener\"><i class=\"fa fa-github\"></i> GitHub</a>"))
|
@Html.Raw(string.Format(VariantTerms.Common_ContributeOn, "<a href=\"https://github.com/BuildFeed/BuildFeed\" target=\"_blank\" dir=\"ltr\" rel=\"noopener\"><i class=\"fa fa-github\"></i> GitHub</a>"))
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -62,6 +62,11 @@
|
||||||
<i class="fa fa-bars"></i> @VariantTerms.Common_ToggleNavigation
|
<i class="fa fa-bars"></i> @VariantTerms.Common_ToggleNavigation
|
||||||
</button>
|
</button>
|
||||||
<ul id="page-navigation-links">
|
<ul id="page-navigation-links">
|
||||||
|
<li>
|
||||||
|
<a href="https://blog.buildfeed.net/" title="@VariantTerms.Common_Blog" target="_blank" rel="noopener">
|
||||||
|
<i class="fa fa-fw fa-book"></i> @VariantTerms.Common_Blog
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://twitter.com/buildfeed" title="@VariantTerms.Common_Twitter" target="_blank" rel="noopener">
|
<a href="https://twitter.com/buildfeed" title="@VariantTerms.Common_Twitter" target="_blank" rel="noopener">
|
||||||
<i class="fa fa-fw fa-twitter"></i> @VariantTerms.Common_Twitter
|
<i class="fa fa-fw fa-twitter"></i> @VariantTerms.Common_Twitter
|
||||||
|
@ -74,7 +79,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h1>@VariantTerms.Common_Error</h1>
|
<h1>@VariantTerms.Common_Error</h1>
|
||||||
<p>
|
<p>
|
||||||
@Html.Raw(string.Format(VariantTerms.Common_ErrorContent, "<a href=\"https://github.com/hounsell/BuildFeed/issues\">GitHub</a>"))
|
@Html.Raw(string.Format(VariantTerms.Common_ErrorContent, "<a href=\"https://github.com/BuildFeed/BuildFeed/issues\">GitHub</a>"))
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Controller: <code>@Model.ControllerName</code>
|
Controller: <code>@Model.ControllerName</code>
|
||||||
|
@ -101,10 +106,10 @@
|
||||||
© 2013 - @DateTime.Now.Year.ToString(), <span dir="ltr">@InvariantTerms.SiteName</span>
|
© 2013 - @DateTime.Now.Year.ToString(), <span dir="ltr">@InvariantTerms.SiteName</span>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
@Html.Raw(string.Format(VariantTerms.Common_DevelopedBy, $"<a href=\"https://twitter.com/tomhounsell\" target=\"_blank\" dir=\"ltr\" rel=\"noopener\">{InvariantTerms.DeveloperName}</a>"))
|
@Html.Raw(string.Format(VariantTerms.Common_DevelopedBy, $"<a href=\"https://twitter.com/buildfeed\" target=\"_blank\" dir=\"ltr\" rel=\"noopener\">{InvariantTerms.DeveloperName}</a>"))
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
@Html.Raw(string.Format(VariantTerms.Common_ContributeOn, "<a href=\"https://github.com/hounsell/BuildFeed\" target=\"_blank\" dir=\"ltr\" rel=\"noopener\"><i class=\"fa fa-github\"></i> GitHub</a>"))
|
@Html.Raw(string.Format(VariantTerms.Common_ContributeOn, "<a href=\"https://github.com/BuildFeed/BuildFeed\" target=\"_blank\" dir=\"ltr\" rel=\"noopener\"><i class=\"fa fa-github\"></i> GitHub</a>"))
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
<configuration>
|
<configuration>
|
||||||
<appSettings file="settings.config">
|
<appSettings file="settings.config">
|
||||||
<add key="webpages:Version" value="3.0.0.0" />
|
<add key="webpages:Version" value="3.0.0.0" />
|
||||||
|
@ -368,6 +369,10 @@
|
||||||
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" />
|
<bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="RestSharp" publicKeyToken="598062e77f915f75" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-106.2.0.0" newVersion="106.2.0.0" />
|
||||||
|
</dependentAssembly>
|
||||||
</assemblyBinding>
|
</assemblyBinding>
|
||||||
</runtime>
|
</runtime>
|
||||||
<system.codedom>
|
<system.codedom>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<package id="AutoMapper" version="6.2.2" targetFramework="net47" />
|
<package id="AutoMapper" version="6.2.2" targetFramework="net47" />
|
||||||
<package id="DnsClient" version="1.0.7" targetFramework="net47" />
|
<package id="DnsClient" version="1.0.7" targetFramework="net47" />
|
||||||
<package id="google.analytics.TypeScript.DefinitelyTyped" version="0.3.8" targetFramework="net47" />
|
<package id="google.analytics.TypeScript.DefinitelyTyped" version="0.3.8" targetFramework="net47" />
|
||||||
<package id="HtmlAgilityPack" version="1.6.7" targetFramework="net47" />
|
<package id="HtmlAgilityPack" version="1.6.11" targetFramework="net47" />
|
||||||
<package id="Humanizer" version="2.2.0" targetFramework="net47" />
|
<package id="Humanizer" version="2.2.0" targetFramework="net47" />
|
||||||
<package id="Humanizer.Core" version="2.2.0" targetFramework="net47" />
|
<package id="Humanizer.Core" version="2.2.0" targetFramework="net47" />
|
||||||
<package id="Humanizer.Core.af" version="2.2.0" targetFramework="net47" />
|
<package id="Humanizer.Core.af" version="2.2.0" targetFramework="net47" />
|
||||||
|
@ -69,8 +69,8 @@
|
||||||
<package id="MongoDB.Driver.Core" version="2.5.0" targetFramework="net47" />
|
<package id="MongoDB.Driver.Core" version="2.5.0" targetFramework="net47" />
|
||||||
<package id="NETStandard.Library" version="2.0.1" targetFramework="net47" />
|
<package id="NETStandard.Library" version="2.0.1" targetFramework="net47" />
|
||||||
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net47" />
|
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net47" />
|
||||||
<package id="OneSignal.CSharp.SDK" version="0.10" targetFramework="net47" />
|
<package id="OneSignal.RestAPIv3.Client" version="1.0.3" targetFramework="net47" />
|
||||||
<package id="RestSharp" version="106.1.0" targetFramework="net47" />
|
<package id="RestSharp" version="106.2.0" targetFramework="net47" />
|
||||||
<package id="System.AppContext" version="4.3.0" targetFramework="net47" />
|
<package id="System.AppContext" version="4.3.0" targetFramework="net47" />
|
||||||
<package id="System.Buffers" version="4.4.0" targetFramework="net47" />
|
<package id="System.Buffers" version="4.4.0" targetFramework="net47" />
|
||||||
<package id="System.Collections" version="4.3.0" targetFramework="net47" />
|
<package id="System.Collections" version="4.3.0" targetFramework="net47" />
|
||||||
|
@ -113,6 +113,7 @@
|
||||||
<package id="System.Threading" version="4.3.0" targetFramework="net47" />
|
<package id="System.Threading" version="4.3.0" targetFramework="net47" />
|
||||||
<package id="System.Threading.Tasks" version="4.3.0" targetFramework="net47" />
|
<package id="System.Threading.Tasks" version="4.3.0" targetFramework="net47" />
|
||||||
<package id="System.Threading.Timer" version="4.3.0" targetFramework="net47" />
|
<package id="System.Threading.Timer" version="4.3.0" targetFramework="net47" />
|
||||||
|
<package id="System.ValueTuple" version="4.4.0" targetFramework="net47" />
|
||||||
<package id="System.Xml.ReaderWriter" version="4.3.0" targetFramework="net47" />
|
<package id="System.Xml.ReaderWriter" version="4.3.0" targetFramework="net47" />
|
||||||
<package id="System.Xml.XDocument" version="4.3.0" targetFramework="net47" />
|
<package id="System.Xml.XDocument" version="4.3.0" targetFramework="net47" />
|
||||||
<package id="WilderMinds.RssSyndication" version="1.2.0" targetFramework="net47" />
|
<package id="WilderMinds.RssSyndication" version="1.2.0" targetFramework="net47" />
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
Copyright © 2017, Thomas Hounsell.
|
Copyright © 2015-2018, The BuildFeed Team.
|
||||||
|
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user