();
if (config != null)
{
- model.ActivateTracking = config.ActivateTracking;
model.ContactEmail = config.ContactEmail;
- model.InstallationId = config.InstallationId;
}
else
ViewBag.NextLink = "";
@@ -72,12 +73,9 @@ public ActionResult Errors(ErrorTrackingViewModel model)
var settings = new codeRRConfigSection
{
- ActivateTracking = model.ActivateTracking,
ContactEmail = model.ContactEmail,
- InstallationId = model.InstallationId
};
ConfigurationStore.Instance.Store(settings);
- WebApiApplication.ReportTocodeRR = model.ActivateTracking;
return Redirect(Url.GetNextWizardStep());
}
diff --git a/src/Server/Coderr.Server.Web/Areas/Admin/Models/BasicsViewModel.cs b/src/Server/Coderr.Server.Web/Areas/Admin/Models/BasicsViewModel.cs
index 96f36adc..3a1ce375 100644
--- a/src/Server/Coderr.Server.Web/Areas/Admin/Models/BasicsViewModel.cs
+++ b/src/Server/Coderr.Server.Web/Areas/Admin/Models/BasicsViewModel.cs
@@ -4,10 +4,21 @@ namespace codeRR.Server.Web.Areas.Admin.Models
{
public class BasicsViewModel
{
+ ///
+ /// URL to coderr (typically "http://yourHostName/" or "http://somehost/coderr/")
+ ///
[Required, MinLength(4)]
public string BaseUrl { get; set; }
+ ///
+ /// Email used when codeRR users ask for internal support
+ ///
[Required, EmailAddress]
public string SupportEmail { get; set; }
+
+ ///
+ /// Allow users to register new accounts
+ ///
+ public bool AllowRegistrations { get; set; }
}
}
\ No newline at end of file
diff --git a/src/Server/Coderr.Server.Web/Areas/Admin/Models/ErrorTrackingViewModel.cs b/src/Server/Coderr.Server.Web/Areas/Admin/Models/ErrorTrackingViewModel.cs
index fd776ef3..e1fa7a86 100644
--- a/src/Server/Coderr.Server.Web/Areas/Admin/Models/ErrorTrackingViewModel.cs
+++ b/src/Server/Coderr.Server.Web/Areas/Admin/Models/ErrorTrackingViewModel.cs
@@ -4,20 +4,7 @@ namespace codeRR.Server.Web.Areas.Admin.Models
{
public class ErrorTrackingViewModel
{
- [Display(Name = "Activate tracking")]
- public bool ActivateTracking { get; set; }
-
[Display(Name = "Contact email"), EmailAddress]
public string ContactEmail { get; set; }
-
- ///
- /// A fixed identity which identifies this specific installation. You can generate a GUID and then store it.
- ///
- ///
- ///
- /// Used to identify the number of installations that have the same issue.
- ///
- ///
- public string InstallationId { get; set; }
}
}
\ No newline at end of file
diff --git a/src/Server/Coderr.Server.Web/Areas/Admin/Views/Home/Basics.cshtml b/src/Server/Coderr.Server.Web/Areas/Admin/Views/Home/Basics.cshtml
index 6610d987..196bc86d 100644
--- a/src/Server/Coderr.Server.Web/Areas/Admin/Views/Home/Basics.cshtml
+++ b/src/Server/Coderr.Server.Web/Areas/Admin/Views/Home/Basics.cshtml
@@ -1,30 +1,38 @@
-@model codeRR.Server.Web.Areas.Admin.Models.BasicsViewModel
-@{
- ViewBag.Title = "Admin - Basics";
-}
-
-
-
-
Base configuration
-
-
-
+@model codeRR.Server.Web.Areas.Admin.Models.BasicsViewModel
+@{
+ ViewBag.Title = "Admin - Basics";
+}
+
diff --git a/src/Server/Coderr.Server.Web/Areas/Admin/Views/Home/ErrorTracking.cshtml b/src/Server/Coderr.Server.Web/Areas/Admin/Views/Home/ErrorTracking.cshtml
index 69bcfa16..93c887e1 100644
--- a/src/Server/Coderr.Server.Web/Areas/Admin/Views/Home/ErrorTracking.cshtml
+++ b/src/Server/Coderr.Server.Web/Areas/Admin/Views/Home/ErrorTracking.cshtml
@@ -7,29 +7,18 @@
Error tracking
- To correct bugs much faster we would like to activate codeRR for your installation. All exceptions
- will be uploaded to our own installation for further analysis.
+ To correct bugs much faster we use codeRR to track errors in codeRR Community Server. All exceptions
+ are uploaded to our own installation for further analysis.
diff --git a/src/Server/Coderr.Server.Web/Areas/Admin/Views/Shared/_Layout.cshtml b/src/Server/Coderr.Server.Web/Areas/Admin/Views/Shared/_Layout.cshtml
index 55716087..8e33a2b4 100644
--- a/src/Server/Coderr.Server.Web/Areas/Admin/Views/Shared/_Layout.cshtml
+++ b/src/Server/Coderr.Server.Web/Areas/Admin/Views/Shared/_Layout.cshtml
@@ -53,7 +53,6 @@
@Scripts.Render("~/bundles/jquery")
- @Scripts.Render("~/bundles/bootstrap")
@RenderSection("scripts", false)