mirror of
https://gitlab.com/buildfeed/BuildFeed.git
synced 2024-03-22 21:10:34 +08:00
Component update; Hashtag Logic Update
This commit is contained in:
parent
723e048a4d
commit
5bdc92d255
@ -105,8 +105,8 @@
|
|||||||
<HintPath>..\packages\MongoDB.Driver.Core.2.2.0\lib\net45\MongoDB.Driver.Core.dll</HintPath>
|
<HintPath>..\packages\MongoDB.Driver.Core.2.2.0\lib\net45\MongoDB.Driver.Core.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
<Reference Include="Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
|
<HintPath>..\packages\Newtonsoft.Json.8.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
|
@ -14,7 +14,7 @@ namespace BuildFeed.Controllers
|
|||||||
public class rssController : LocalController
|
public class rssController : LocalController
|
||||||
{
|
{
|
||||||
private Build bModel;
|
private Build bModel;
|
||||||
private const int RSS_SIZE = 20;
|
private const int RSS_SIZE = 25;
|
||||||
|
|
||||||
public rssController() : base()
|
public rssController() : base()
|
||||||
{
|
{
|
||||||
|
@ -133,10 +133,30 @@ namespace BuildFeed.Models
|
|||||||
{
|
{
|
||||||
return ProjectFamily.Windows7;
|
return ProjectFamily.Windows7;
|
||||||
}
|
}
|
||||||
|
else if (MajorVersion == 6 && Number >= 5000)
|
||||||
|
{
|
||||||
|
return ProjectFamily.WindowsVista;
|
||||||
|
}
|
||||||
else if (MajorVersion == 6)
|
else if (MajorVersion == 6)
|
||||||
{
|
{
|
||||||
return ProjectFamily.Longhorn;
|
return ProjectFamily.Longhorn;
|
||||||
}
|
}
|
||||||
|
else if (MajorVersion == 5 && Number >= 3000)
|
||||||
|
{
|
||||||
|
return ProjectFamily.Server2003;
|
||||||
|
}
|
||||||
|
else if (MajorVersion == 5 && Number >= 2205)
|
||||||
|
{
|
||||||
|
return ProjectFamily.WindowsXP;
|
||||||
|
}
|
||||||
|
else if (MajorVersion == 5 && MinorVersion == 50)
|
||||||
|
{
|
||||||
|
return ProjectFamily.Neptune;
|
||||||
|
}
|
||||||
|
else if (MajorVersion == 5)
|
||||||
|
{
|
||||||
|
return ProjectFamily.Windows2000;
|
||||||
|
}
|
||||||
return ProjectFamily.None;
|
return ProjectFamily.None;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,12 +6,24 @@ namespace BuildFeed.Models
|
|||||||
{
|
{
|
||||||
None,
|
None,
|
||||||
|
|
||||||
[Display(Name = "Whistler")]
|
[Display(Name = "Windows 2000")]
|
||||||
Whistler,
|
Windows2000,
|
||||||
|
|
||||||
|
[Display(Name = "Neptune")]
|
||||||
|
Neptune,
|
||||||
|
|
||||||
|
[Display(Name = "Windows XP")]
|
||||||
|
WindowsXP,
|
||||||
|
|
||||||
|
[Display(Name = "Server 2003")]
|
||||||
|
Server2003,
|
||||||
|
|
||||||
[Display(Name = "Longhorn")]
|
[Display(Name = "Longhorn")]
|
||||||
Longhorn,
|
Longhorn,
|
||||||
|
|
||||||
|
[Display(Name = "Vista")]
|
||||||
|
WindowsVista,
|
||||||
|
|
||||||
[Display(Name = "Windows 7")]
|
[Display(Name = "Windows 7")]
|
||||||
Windows7,
|
Windows7,
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@
|
|||||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
|
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-7.0.0.0" newVersion="7.0.0.0" />
|
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
|
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
<package id="MongoDB.Bson" version="2.2.0" targetFramework="net46" />
|
<package id="MongoDB.Bson" version="2.2.0" targetFramework="net46" />
|
||||||
<package id="MongoDB.Driver" version="2.2.0" targetFramework="net46" />
|
<package id="MongoDB.Driver" version="2.2.0" targetFramework="net46" />
|
||||||
<package id="MongoDB.Driver.Core" version="2.2.0" targetFramework="net46" />
|
<package id="MongoDB.Driver.Core" version="2.2.0" targetFramework="net46" />
|
||||||
<package id="Newtonsoft.Json" version="7.0.1" targetFramework="net452" />
|
<package id="Newtonsoft.Json" version="8.0.1" targetFramework="net46" />
|
||||||
<package id="WebGrease" version="1.6.0" targetFramework="net45" />
|
<package id="WebGrease" version="1.6.0" targetFramework="net45" />
|
||||||
<package id="xwebrss" version="1.2.1.130" targetFramework="net45" />
|
<package id="xwebrss" version="1.2.1.130" targetFramework="net45" />
|
||||||
</packages>
|
</packages>
|
Loading…
x
Reference in New Issue
Block a user