Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions SimpleHoneypot.sln
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
23 changes: 23 additions & 0 deletions buildscripts/SimpleHoneypot-MVC5.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0"?>
<package>
<metadata>
<id>SimpleHoneypot.MVC5</id>
<version></version>
<authors>Web Advanced</authors>
<licenseUrl>https://github.com/webadvanced/Honeypot-MVC/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/webadvanced/Honeypot-MVC</projectUrl>
<iconUrl>http://clients.wadev.com/hp_nuget/honeypot.jpg</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>A simple honeypot to replace your standard reCAPTCHA for ASP.NET MVC5.</description>
<summary>A simple honeypot to replace your standard reCAPTCHA for ASP.NET MVC5.</summary>
<language>en-US</language>
<dependencies>
<dependency id="WebActivator" version="1.5" />
</dependencies>
</metadata>
<files>
<file src="lib\content\**\*.pp" target="content" />
<file src="lib\content\**\*.txt" target="content" />
<file src="lib\**\*MVC5.dll" target="lib" />
</files>
</package>
36 changes: 36 additions & 0 deletions src/SimpleHoneypot.MVC5/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -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")]
120 changes: 120 additions & 0 deletions src/SimpleHoneypot.MVC5/SimpleHoneypot.MVC5.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{4C462CC7-28F4-4FE8-8440-544699B10D2D}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SimpleHoneypot.MVC5</RootNamespace>
<AssemblyName>SimpleHoneypot.MVC5</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<Private>True</Private>
<HintPath>..\..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Web" />
<Reference Include="System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.AspNet.WebPages.3.1.2\lib\net45\System.Web.Helpers.dll</HintPath>
</Reference>
<Reference Include="System.Web.Mvc, Version=5.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.AspNet.Mvc.5.1.2\lib\net45\System.Web.Mvc.dll</HintPath>
</Reference>
<Reference Include="System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.AspNet.Razor.3.1.2\lib\net45\System.Web.Razor.dll</HintPath>
</Reference>
<Reference Include="System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.AspNet.WebPages.3.1.2\lib\net45\System.Web.WebPages.dll</HintPath>
</Reference>
<Reference Include="System.Web.WebPages.Deployment, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.AspNet.WebPages.3.1.2\lib\net45\System.Web.WebPages.Deployment.dll</HintPath>
</Reference>
<Reference Include="System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.AspNet.WebPages.3.1.2\lib\net45\System.Web.WebPages.Razor.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="..\simplehoneypot\actionfilters\HoneypotAttribute.cs">
<Link>ActionFilters\HoneypotAttribute.cs</Link>
</Compile>
<Compile Include="..\simplehoneypot\core\common\Check.cs">
<Link>Core\Common\Check.cs</Link>
</Compile>
<Compile Include="..\simplehoneypot\core\GlobalText.Designer.cs">
<Link>Core\GlobalText.Designer.cs</Link>
</Compile>
<Compile Include="..\simplehoneypot\core\Honeypot.cs">
<Link>Core\Honeypot.cs</Link>
</Compile>
<Compile Include="..\SimpleHoneypot\Core\HoneypotData.cs">
<Link>Core\HoneypotData.cs</Link>
</Compile>
<Compile Include="..\SimpleHoneypot\Core\HoneypotDataSerializer.cs">
<Link>Core\HoneypotDataSerializer.cs</Link>
</Compile>
<Compile Include="..\simplehoneypot\core\HoneypotInputNameCollection.cs">
<Link>Core\HoneypotInputNameCollection.cs</Link>
</Compile>
<Compile Include="..\SimpleHoneypot\Core\HoneypotRuleCollection.cs">
<Link>Core\HoneypotRuleCollection.cs</Link>
</Compile>
<Compile Include="..\SimpleHoneypot\Core\HoneypotWorker.cs">
<Link>Core\HoneypotWorker.cs</Link>
</Compile>
<Compile Include="..\simplehoneypot\extensions\HttpRequestBaseExtensions.cs">
<Link>Extensions\HttpRequestBaseExtensions.cs</Link>
</Compile>
<Compile Include="..\simplehoneypot\htmlhelpers\HoneypotHelper.cs">
<Link>HtmlHelpers\HoneypotHelper.cs</Link>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="..\simplehoneypot\core\GlobalText.resx">
<Link>Core\GlobalText.resx</Link>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
19 changes: 19 additions & 0 deletions src/SimpleHoneypot.MVC5/SimpleHoneypot.MVC5.ncrunchproject
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<ProjectConfiguration>
<CopyReferencedAssembliesToWorkspace>false</CopyReferencedAssembliesToWorkspace>
<ConsiderInconclusiveTestsAsPassing>false</ConsiderInconclusiveTestsAsPassing>
<PreloadReferencedAssemblies>false</PreloadReferencedAssemblies>
<AllowDynamicCodeContractChecking>true</AllowDynamicCodeContractChecking>
<AllowStaticCodeContractChecking>false</AllowStaticCodeContractChecking>
<IgnoreThisComponentCompletely>false</IgnoreThisComponentCompletely>
<RunPreBuildEvents>false</RunPreBuildEvents>
<RunPostBuildEvents>false</RunPostBuildEvents>
<PreviouslyBuiltSuccessfully>true</PreviouslyBuiltSuccessfully>
<InstrumentAssembly>true</InstrumentAssembly>
<PreventSigningOfAssembly>false</PreventSigningOfAssembly>
<AnalyseExecutionTimes>true</AnalyseExecutionTimes>
<IncludeStaticReferencesInWorkspace>true</IncludeStaticReferencesInWorkspace>
<DefaultTestTimeout>60000</DefaultTestTimeout>
<UseBuildConfiguration />
<ProxyProcessPath />
<UseCPUArchitecture>AutoDetect</UseCPUArchitecture>
</ProjectConfiguration>
7 changes: 7 additions & 0 deletions src/SimpleHoneypot.MVC5/packages.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.AspNet.Mvc" version="5.1.2" targetFramework="net45" />
<package id="Microsoft.AspNet.Razor" version="3.1.2" targetFramework="net45" />
<package id="Microsoft.AspNet.WebPages" version="3.1.2" targetFramework="net45" />
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net45" />
</packages>