Skip to content

Commit 12cf5c7

Browse files
committed
Renamed to codeRR
1 parent ef246ef commit 12cf5c7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+394
-280
lines changed

docs/Contribute.md

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
## Introduction
2+
3+
You can contribute to codeRR by opening a Pull Request.
4+
5+
If your are new to git or github, the following articles may help you:
6+
7+
* See "Using Pull Requests":https://help.github.com/articles/using-pull-requests for more information about Pull Requests.
8+
9+
* See <a href="http://help.github.com/forking/">Fork A Repo</a> for an introduction to forking a repository and creating branches.
10+
11+
## Setting up user information
12+
13+
Please have git setup with consistent user information before sending a patch. Preferably with your real name and a working email address.
14+
15+
For quick reference, here are the relevant git commands:
16+
17+
<pre>
18+
git config --global user.name "Your Name Comes Here"
19+
git config --global user.email [email protected]
20+
</pre>
21+
22+
## Fixing a bug
23+
24+
* In most cases, pull requests for bug fixes should be based on the @dev@ branch. There are exceptions, for example corrections to bugs that have been introduced in the @master@ branch.
25+
26+
* Write tests *before* fixing the bug (so that you will know that the test case catches the bug).
27+
28+
## Adding a new feature
29+
30+
* In most cases, pull requests for new features should be based on the @dev@ branch.
31+
32+
* It is important to write a good commit message explaining **why** the feature is needed. We prefer that the information is in the commit message, so that anyone that want to know two years later why a particular feature can easily find out. It does no harm to provide the same information in the pull request (if the pull request consists of a single commit, the commit message will be added to the pull request automatically).
33+
34+
* With few exceptions, it is mandatory to write unit tests that tests the feature. The unit tests is required to ensure that the features does not stop working in the future.
35+
36+
* If you are implementing a new feature, also update the [documentation](https://github.com/coderrapp/coderr.documentation) to describe the feature (submit it using a new pull request that refers to this one).
37+
38+
* Make sure the patch does not break backward compatibility. In general, we only break backward compatibility in major releases and only for a very good reason and usually after first deprecating the feature one or two releases beforehand.
39+
40+
## Before you submit your pull request
41+
42+
* Make sure existing tests don't fail.
43+
44+
* Make sure that your branch contains clean commits:
45+
** Commit messages that actually are understandable and related to the change.
46+
** Make separate commits for separate changes. If you cannot describe what the commit does in one sentence, it is probably a mix of changes and should be separated into several commits.
47+
** Don't merge @dev@ or @master@ into your branch. Use @git rebase@ if you need to resolve merge conflicts or include the latest changes.
48+
** To make it possible to use the powerful @git bisect@ command, make sure that each commit can be compiled and that it works.
49+
** Check for unnecessary whitespace before committing with @git diff --check@.
50+
51+
* Check your coding style:
52+
** Make sure your changes follow the coding and indentation style of the code surrounding your changes.
53+
** Do not commit commented-out code or files that are no longer needed. Remove the code or the files.
54+
** We use Resharpers built in coding styles (which are based upon [C# Coding Conventions](https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/inside-a-program/coding-conventions))
55+
56+
Have fun!
57+
58+
*Help can be found in our [forum](http://discuss.coderrapp.com)*

docs/contextinfo.png

48.3 KB
Loading

src/OneTrueError.Client.AspNet.Demo/OneTrueError.Client.AspNet.Demo.csproj renamed to src/Coderr.Client.AspNet.Demo/Coderr.Client.AspNet.Demo.csproj

+19-14
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="..\packages\Microsoft.Net.Compilers.2.3.2\build\Microsoft.Net.Compilers.props" Condition="Exists('..\packages\Microsoft.Net.Compilers.2.3.2\build\Microsoft.Net.Compilers.props')" />
34
<Import Project="..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.7\build\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props" Condition="Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.7\build\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" />
4-
<Import Project="..\packages\Microsoft.Net.Compilers.2.3.1\build\Microsoft.Net.Compilers.props" Condition="Exists('..\packages\Microsoft.Net.Compilers.2.3.1\build\Microsoft.Net.Compilers.props')" />
55
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
66
<PropertyGroup>
77
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -13,8 +13,8 @@
1313
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
1414
<OutputType>Library</OutputType>
1515
<AppDesignerFolder>Properties</AppDesignerFolder>
16-
<RootNamespace>OneTrueError.Client.AspNet.Demo</RootNamespace>
17-
<AssemblyName>OneTrueError.Client.AspNet.Demo</AssemblyName>
16+
<RootNamespace>codeRR.Client.AspNet.Demo</RootNamespace>
17+
<AssemblyName>Coderr.Client.AspNet.Demo</AssemblyName>
1818
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
1919
<UseIISExpress>false</UseIISExpress>
2020
<IISExpressSSLPort />
@@ -44,16 +44,20 @@
4444
<WarningLevel>4</WarningLevel>
4545
</PropertyGroup>
4646
<ItemGroup>
47+
<Reference Include="Coderr.Client, Version=1.0.5.0, Culture=neutral, processorArchitecture=MSIL">
48+
<HintPath>..\packages\Coderr.Client.1.0.5\lib\net451\Coderr.Client.dll</HintPath>
49+
</Reference>
4750
<Reference Include="Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
4851
<HintPath>..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.7\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll</HintPath>
4952
</Reference>
5053
<Reference Include="Microsoft.CSharp" />
51-
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
52-
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
54+
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
55+
<HintPath>..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
5356
</Reference>
5457
<Reference Include="OneTrueError.Client, Version=1.0.3.0, Culture=neutral, processorArchitecture=MSIL">
5558
<HintPath>..\packages\OneTrueError.Client.1.0.3\lib\net40\OneTrueError.Client.dll</HintPath>
5659
</Reference>
60+
<Reference Include="System.Management" />
5761
<Reference Include="System.Web.DynamicData" />
5862
<Reference Include="System.Web.Entity" />
5963
<Reference Include="System.Web.ApplicationServices" />
@@ -84,8 +88,7 @@
8488
<Content Include="Errors\Error.aspx" />
8589
<Content Include="Errors\NotFound.aspx" />
8690
<Content Include="Global.asax" />
87-
<Content Include="Nuget\ReadMe.txt" />
88-
<Content Include="Startpage.aspx" />
91+
<Content Include="Default.aspx" />
8992
<Content Include="Web.config" />
9093
</ItemGroup>
9194
<ItemGroup>
@@ -107,16 +110,16 @@
107110
<DependentUpon>Global.asax</DependentUpon>
108111
</Compile>
109112
<Compile Include="Properties\AssemblyInfo.cs" />
110-
<Compile Include="Startpage.aspx.cs">
111-
<DependentUpon>Startpage.aspx</DependentUpon>
113+
<Compile Include="Default.aspx.cs">
114+
<DependentUpon>Default.aspx</DependentUpon>
112115
<SubType>ASPXCodeBehind</SubType>
113116
</Compile>
114-
<Compile Include="Startpage.aspx.designer.cs">
115-
<DependentUpon>Startpage.aspx</DependentUpon>
117+
<Compile Include="Default.aspx.designer.cs">
118+
<DependentUpon>Default.aspx</DependentUpon>
116119
</Compile>
117120
</ItemGroup>
118121
<ItemGroup>
119-
<ProjectReference Include="..\OneTrueError.Client.AspNet\OneTrueError.Client.AspNet.csproj">
122+
<ProjectReference Include="..\Coderr.Client.AspNet\Coderr.Client.AspNet.csproj">
120123
<Project>{fa2b6ecc-4e09-42a5-9239-c50cd640ac5b}</Project>
121124
<Name>OneTrueError.Client.AspNet</Name>
122125
</ProjectReference>
@@ -136,7 +139,9 @@
136139
<AutoAssignPort>True</AutoAssignPort>
137140
<DevelopmentServerPort>54793</DevelopmentServerPort>
138141
<DevelopmentServerVPath>/</DevelopmentServerVPath>
139-
<IISUrl>http://localhost/OneTrueError.Client.AspNet.Demo</IISUrl>
142+
<IISUrl>http://localhost/OneTrueError.Client.AspNet.Demo/</IISUrl>
143+
<OverrideIISAppRootUrl>True</OverrideIISAppRootUrl>
144+
<IISAppRootUrl>http://localhost/OneTrueError.Client.AspNet.Demo/Startpage.aspx</IISAppRootUrl>
140145
<NTLMAuthentication>False</NTLMAuthentication>
141146
<UseCustomServer>False</UseCustomServer>
142147
<CustomServerUrl>
@@ -150,8 +155,8 @@
150155
<PropertyGroup>
151156
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
152157
</PropertyGroup>
153-
<Error Condition="!Exists('..\packages\Microsoft.Net.Compilers.2.3.1\build\Microsoft.Net.Compilers.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Net.Compilers.2.3.1\build\Microsoft.Net.Compilers.props'))" />
154158
<Error Condition="!Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.7\build\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.7\build\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props'))" />
159+
<Error Condition="!Exists('..\packages\Microsoft.Net.Compilers.2.3.2\build\Microsoft.Net.Compilers.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Net.Compilers.2.3.2\build\Microsoft.Net.Compilers.props'))" />
155160
</Target>
156161
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
157162
Other similar extension points exist, see Microsoft.Common.targets.
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="codeRR.Client.AspNet.Demo.Default" %>
2+
3+
<!DOCTYPE html>
4+
5+
<html xmlns="http://www.w3.org/1999/xhtml">
6+
<head runat="server">
7+
<title>Sample page</title>
8+
</head>
9+
<body>
10+
<form id="form1" runat="server">
11+
<h1>
12+
Welcome!
13+
</h1>
14+
<asp:Button runat="server" id="btnError" Text="Press for error" OnClick="btnError_Click" />
15+
</form>
16+
</body>
17+
</html>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
using System;
2+
using System.IO;
3+
using System.Web;
4+
5+
namespace codeRR.Client.AspNet.Demo
6+
{
7+
public partial class Default : System.Web.UI.Page
8+
{
9+
protected void Page_Load(object sender, EventArgs e)
10+
{
11+
Session["Complex"] = new {UserName = "Arne", Age = 92};
12+
Request.Cookies.Add(new HttpCookie("milk", "sour") {Expires = DateTime.Today.AddDays(30)});
13+
}
14+
15+
16+
protected void btnError_Click(object sender, EventArgs e)
17+
{
18+
// Press F5 if Visual Studio breaks here ("First chance exceptions")
19+
throw new InvalidDataException("Lore was found.");
20+
}
21+
}
22+
}

src/OneTrueError.Client.AspNet.Demo/Errors/Error.aspx.designer.cs renamed to src/Coderr.Client.AspNet.Demo/Default.aspx.designer.cs

+15-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Error.aspx.cs" Inherits="codeRR.Client.AspNet.Demo.Errors.Error" %>
2+
3+
<!DOCTYPE html>
4+
5+
<html xmlns="http://www.w3.org/1999/xhtml">
6+
<head runat="server">
7+
<title></title>
8+
</head>
9+
<body>
10+
<form action="$URL$" method="post">
11+
<input type="hidden" name="reportId" value="$reportId$" />
12+
<div>
13+
<h1>General error!</h1>
14+
<p>this is just a sample of custom error pages.</p>
15+
<p>You can create your own, or uncomment <code>Err.Configuration.SetErrorPageGenerator</code> in global.asax to view the built in ones.</p>
16+
</div>
17+
</form>
18+
</body>
19+
</html>

src/OneTrueError.Client.AspNet.Demo/Errors/Error.aspx.cs renamed to src/Coderr.Client.AspNet.Demo/Errors/Error.aspx.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Web.UI;
66
using System.Web.UI.WebControls;
77

8-
namespace OneTrueError.Client.AspNet.Demo.Errors
8+
namespace codeRR.Client.AspNet.Demo.Errors
99
{
1010
public partial class Error : System.Web.UI.Page
1111
{

src/Coderr.Client.AspNet.Demo/Errors/Error.aspx.designer.cs

+15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/OneTrueError.Client.AspNet.Demo/Errors/NotFound.aspx renamed to src/Coderr.Client.AspNet.Demo/Errors/NotFound.aspx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NotFound.aspx.cs" Inherits="OneTrueError.Client.AspNet.Demo.Errors.NotFound" %>
1+
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NotFound.aspx.cs" Inherits="codeRR.Client.AspNet.Demo.Errors.NotFound" %>
22
<!DOCTYPE html>
33
<html xmlns="http://www.w3.org/1999/xhtml">
44
<head runat="server">

src/OneTrueError.Client.AspNet.Demo/Errors/NotFound.aspx.cs renamed to src/Coderr.Client.AspNet.Demo/Errors/NotFound.aspx.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Web.UI;
66
using System.Web.UI.WebControls;
77

8-
namespace OneTrueError.Client.AspNet.Demo.Errors
8+
namespace codeRR.Client.AspNet.Demo.Errors
99
{
1010
public partial class NotFound : System.Web.UI.Page
1111
{

src/OneTrueError.Client.AspNet.Demo/Errors/NotFound.aspx.designer.cs renamed to src/Coderr.Client.AspNet.Demo/Errors/NotFound.aspx.designer.cs

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<%@ Application Codebehind="Global.asax.cs" Inherits="codeRR.Client.AspNet.Demo.Global" Language="C#" %>

src/OneTrueError.Client.AspNet.Demo/Global.asax.cs renamed to src/Coderr.Client.AspNet.Demo/Global.asax.cs

+11-12
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Web;
5-
using System.Web.Security;
6-
using System.Web.SessionState;
7-
using OneTrueError.Client.AspNet.ErrorPages;
8-
9-
namespace OneTrueError.Client.AspNet.Demo
2+
using codeRR.Client.AspNet.ErrorPages;
3+
4+
namespace codeRR.Client.AspNet.Demo
105
{
116
public class Global : System.Web.HttpApplication
127
{
138

149
protected void Application_Start(object sender, EventArgs e)
1510
{
16-
var url = new Uri("http://localhost:50473/");
17-
OneTrue.Configuration.Credentials(url, "13d82df603a845c7a27164c4fec19dd6", "6f0a0a7fac6d42caa7cc47bb34a6520b");
18-
OneTrue.Configuration.SetErrorPageGenerator(new VirtualPathProviderBasedGenerator("~/Errors/"));
19-
OneTrue.Configuration.CatchAspNetExceptions();
11+
//replace with your server URL and your appkey/SharedSecret.
12+
var uri = new Uri("http://localhost/OneTrueError/");
13+
Err.Configuration.Credentials(uri,
14+
"5f219f356daa40b3b31dfc67514df6d6",
15+
"22612e4444f347d1bb3d841d64c9750a");
16+
17+
//Err.Configuration.SetErrorPageGenerator(new VirtualPathProviderBasedGenerator("~/Errors/"));
18+
Err.Configuration.CatchAspNetExceptions();
2019
}
2120

2221
protected void Session_Start(object sender, EventArgs e)

src/OneTrueError.Client.AspNet.Demo/Properties/AssemblyInfo.cs renamed to src/Coderr.Client.AspNet.Demo/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
// General Information about an assembly is controlled through the following
66
// set of attributes. Change these attribute values to modify the information
77
// associated with an assembly.
8-
[assembly: AssemblyTitle("OneTrueError.Client.AspNet.Demo")]
8+
[assembly: AssemblyTitle("codeRR.Client.AspNet.Demo")]
99
[assembly: AssemblyDescription("")]
1010
[assembly: AssemblyConfiguration("")]
1111
[assembly: AssemblyCompany("")]
12-
[assembly: AssemblyProduct("OneTrueError.Client.AspNet.Demo")]
12+
[assembly: AssemblyProduct("codeRR.Client.AspNet.Demo")]
1313
[assembly: AssemblyCopyright("Copyright © 2016")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]

src/OneTrueError.Client.AspNet.Demo/Web.config renamed to src/Coderr.Client.AspNet.Demo/Web.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
1818
<dependentAssembly>
1919
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
20-
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
20+
<bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" />
2121
</dependentAssembly>
2222
</assemblyBinding>
2323
</runtime>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="Coderr.Client" version="1.0.5" targetFramework="net452" />
4+
<package id="Microsoft.CodeDom.Providers.DotNetCompilerPlatform" version="1.0.7" targetFramework="net452" />
5+
<package id="Microsoft.Net.Compilers" version="2.3.2" targetFramework="net452" developmentDependency="true" />
6+
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net452" />
7+
</packages>

src/OneTrueError.Client.AspNet.Tests/OneTrueError.Client.AspNet.Tests.csproj renamed to src/Coderr.Client.AspNet.Tests/Coderr.Client.AspNet.Tests.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<ProjectGuid>{44FACAA3-63F5-46D7-9749-C12E5C284878}</ProjectGuid>
77
<OutputType>Library</OutputType>
88
<AppDesignerFolder>Properties</AppDesignerFolder>
9-
<RootNamespace>OneTrueError.Client.AspNet.Tests</RootNamespace>
10-
<AssemblyName>OneTrueError.Client.AspNet.Tests</AssemblyName>
9+
<RootNamespace>codeRR.Client.AspNet.Tests</RootNamespace>
10+
<AssemblyName>Coderr.Client.AspNet.Tests</AssemblyName>
1111
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
1212
<FileAlignment>512</FileAlignment>
1313
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>

src/OneTrueError.Client.AspNet.Tests/Properties/AssemblyInfo.cs renamed to src/Coderr.Client.AspNet.Tests/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
// General Information about an assembly is controlled through the following
66
// set of attributes. Change these attribute values to modify the information
77
// associated with an assembly.
8-
[assembly: AssemblyTitle("OneTrueError.Client.AspNet.Tests")]
8+
[assembly: AssemblyTitle("codeRR.Client.AspNet.Tests")]
99
[assembly: AssemblyDescription("")]
1010
[assembly: AssemblyConfiguration("")]
1111
[assembly: AssemblyCompany("")]
12-
[assembly: AssemblyProduct("OneTrueError.Client.AspNet.Tests")]
12+
[assembly: AssemblyProduct("codeRR.Client.AspNet.Tests")]
1313
[assembly: AssemblyCopyright("Copyright © 2016")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]

0 commit comments

Comments
 (0)