Certificate/wireless plugins; major refactoring
Migrate much of BI to Services. Added Wireless Profile Provider plugin feature. Added Certificate Authority Provider plugin feature. Modified Certificate Provider plugin feature. Database migration v17, for Device Profiles. Enrolment Client Updated to support CA Certificates, Wireless Profiles and Hardware Info. New Client Enrolment Protocol to support new features. Plugin Manifest Generator added to main solution. Improved AD search performance.
This commit is contained in:
@@ -77,7 +77,7 @@ namespace Disco.Web
|
||||
|
||||
// Initialize Satellite Managed Groups (which don't belong to any other component)
|
||||
Disco.Services.Devices.ManagedGroups.DeviceManagedGroups.Initialize(Database);
|
||||
Disco.BI.DocumentTemplateBI.ManagedGroups.DocumentTemplateManagedGroups.Initialize(Database);
|
||||
Disco.Services.Documents.ManagedGroups.DocumentTemplateManagedGroups.Initialize(Database);
|
||||
|
||||
// Initialize Plugins
|
||||
Disco.Services.Plugins.Plugins.InitalizePlugins(Database);
|
||||
@@ -105,11 +105,15 @@ namespace Disco.Web
|
||||
InitalizeCoreEnvironment(Database);
|
||||
|
||||
// Initialize Scheduled Tasks
|
||||
Disco.Services.Tasks.ScheduledTasks.InitalizeScheduledTasks(Database, DiscoApplication.SchedulerFactory, true);
|
||||
Disco.Services.Tasks.ScheduledTasks.InitalizeScheduledTasks(Database, DiscoApplication.SchedulerFactory, false);
|
||||
|
||||
// Import MAC Address Migration
|
||||
if (PreviousVersion != null && PreviousVersion < new Version(1, 2, 910, 0))
|
||||
Disco.BI.DeviceBI.Migration.LogMacAddressImporting.SetRequired(Database);
|
||||
Services.Devices.Enrolment.LogMacAddressImportingTask.SetRequired(Database);
|
||||
|
||||
// Attachment PDF Thumbnail Update
|
||||
if (PreviousVersion != null && PreviousVersion < new Version(2, 2, 0, 0))
|
||||
Services.Documents.AttachmentImport.ThumbnailUpdateTask.SetRequired(Database);
|
||||
}
|
||||
|
||||
public static void DisposeEnvironment()
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
using System.Web.Mvc;
|
||||
using System.Web.Routing;
|
||||
using Microsoft.AspNet.SignalR;
|
||||
|
||||
namespace Disco.Web
|
||||
{
|
||||
@@ -84,8 +79,8 @@ namespace Disco.Web
|
||||
// Update Route
|
||||
routes.MapRoute(
|
||||
name: "Update", // Route name
|
||||
url: "{controller}/{action}/{id}", // URL with parameters
|
||||
defaults: new { controller = "Update", action = "Index", id = UrlParameter.Optional }, // Parameter defaults
|
||||
url: "{action}", // URL with parameters
|
||||
defaults: new { controller = "Update", action = "Index" }, // Parameter defaults
|
||||
namespaces: new string[] { "Disco.Web.Controllers" } // Controllers Namespace Only
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user