diff --git a/SimpleHoneypot.sln b/SimpleHoneypot.sln index a88bdfc..32b6667 100644 --- a/SimpleHoneypot.sln +++ b/SimpleHoneypot.sln @@ -11,6 +11,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleHoneypot.NET4.MVC2", EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleHoneypot.MVC4", "src\SimpleHoneypot.MVC4\SimpleHoneypot.MVC4.csproj", "{639DE9DC-0BCA-4A9A-BBB2-CF804636AF3B}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleHoneypot.MVC5", "src\SimpleHoneypot.MVC5\SimpleHoneypot.MVC5.csproj", "{4C462CC7-28F4-4FE8-8440-544699B10D2D}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -37,6 +39,10 @@ Global {639DE9DC-0BCA-4A9A-BBB2-CF804636AF3B}.Debug|Any CPU.Build.0 = Debug|Any CPU {639DE9DC-0BCA-4A9A-BBB2-CF804636AF3B}.Release|Any CPU.ActiveCfg = Release|Any CPU {639DE9DC-0BCA-4A9A-BBB2-CF804636AF3B}.Release|Any CPU.Build.0 = Release|Any CPU + {4C462CC7-28F4-4FE8-8440-544699B10D2D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4C462CC7-28F4-4FE8-8440-544699B10D2D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4C462CC7-28F4-4FE8-8440-544699B10D2D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4C462CC7-28F4-4FE8-8440-544699B10D2D}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/buildscripts/SimpleHoneypot-MVC5.nuspec b/buildscripts/SimpleHoneypot-MVC5.nuspec new file mode 100644 index 0000000..cbf5850 --- /dev/null +++ b/buildscripts/SimpleHoneypot-MVC5.nuspec @@ -0,0 +1,23 @@ + + + + SimpleHoneypot.MVC5 + + Web Advanced + https://github.com/webadvanced/Honeypot-MVC/blob/master/LICENSE + https://github.com/webadvanced/Honeypot-MVC + http://clients.wadev.com/hp_nuget/honeypot.jpg + false + A simple honeypot to replace your standard reCAPTCHA for ASP.NET MVC5. + A simple honeypot to replace your standard reCAPTCHA for ASP.NET MVC5. + en-US + + + + + + + + + + diff --git a/src/SimpleHoneypot.MVC5/Properties/AssemblyInfo.cs b/src/SimpleHoneypot.MVC5/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..be68e9a --- /dev/null +++ b/src/SimpleHoneypot.MVC5/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("SimpleHoneypot.MVC5")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("SimpleHoneypot.MVC5")] +[assembly: AssemblyCopyright("Copyright © 2012")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("2199a0a1-bcdf-4985-a96e-1fb63a4deb7d")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/SimpleHoneypot.MVC5/SimpleHoneypot.MVC5.csproj b/src/SimpleHoneypot.MVC5/SimpleHoneypot.MVC5.csproj new file mode 100644 index 0000000..c07cbf9 --- /dev/null +++ b/src/SimpleHoneypot.MVC5/SimpleHoneypot.MVC5.csproj @@ -0,0 +1,120 @@ + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + {4C462CC7-28F4-4FE8-8440-544699B10D2D} + Library + Properties + SimpleHoneypot.MVC5 + SimpleHoneypot.MVC5 + v4.5 + 512 + + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + false + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + false + + + + True + ..\..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll + + + + + False + ..\..\packages\Microsoft.AspNet.WebPages.3.1.2\lib\net45\System.Web.Helpers.dll + + + False + ..\..\packages\Microsoft.AspNet.Mvc.5.1.2\lib\net45\System.Web.Mvc.dll + + + False + ..\..\packages\Microsoft.AspNet.Razor.3.1.2\lib\net45\System.Web.Razor.dll + + + False + ..\..\packages\Microsoft.AspNet.WebPages.3.1.2\lib\net45\System.Web.WebPages.dll + + + False + ..\..\packages\Microsoft.AspNet.WebPages.3.1.2\lib\net45\System.Web.WebPages.Deployment.dll + + + False + ..\..\packages\Microsoft.AspNet.WebPages.3.1.2\lib\net45\System.Web.WebPages.Razor.dll + + + + + ActionFilters\HoneypotAttribute.cs + + + Core\Common\Check.cs + + + Core\GlobalText.Designer.cs + + + Core\Honeypot.cs + + + Core\HoneypotData.cs + + + Core\HoneypotDataSerializer.cs + + + Core\HoneypotInputNameCollection.cs + + + Core\HoneypotRuleCollection.cs + + + Core\HoneypotWorker.cs + + + Extensions\HttpRequestBaseExtensions.cs + + + HtmlHelpers\HoneypotHelper.cs + + + + + + Core\GlobalText.resx + + + + + + + + \ No newline at end of file diff --git a/src/SimpleHoneypot.MVC5/SimpleHoneypot.MVC5.ncrunchproject b/src/SimpleHoneypot.MVC5/SimpleHoneypot.MVC5.ncrunchproject new file mode 100644 index 0000000..37afcb9 --- /dev/null +++ b/src/SimpleHoneypot.MVC5/SimpleHoneypot.MVC5.ncrunchproject @@ -0,0 +1,19 @@ + + false + false + false + true + false + false + false + false + true + true + false + true + true + 60000 + + + AutoDetect + \ No newline at end of file diff --git a/src/SimpleHoneypot.MVC5/packages.config b/src/SimpleHoneypot.MVC5/packages.config new file mode 100755 index 0000000..b3afa51 --- /dev/null +++ b/src/SimpleHoneypot.MVC5/packages.config @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file