Update: SignalR 2.0.3 Migration; Noticeboards
Migrate all SignalR 1.x Persistent Connections to SignalR 2.x Hubs. Abstracts ScheduledTaskStatus with core interface and adds a Mock for optional status reporting. Noticeboards rewritten (with new theme) to be more resilient and accurate.
This commit is contained in:
@@ -115,6 +115,7 @@
|
||||
<Compile Include="Services\Jobs\JobLists\JobTableStatusItemModel.cs" />
|
||||
<Compile Include="Services\Jobs\JobLists\JobTableStatusQueueItemModel.cs" />
|
||||
<Compile Include="Services\Jobs\JobQueues\IJobQueueToken.cs" />
|
||||
<Compile Include="Services\Jobs\Noticeboards\IHeldDeviceItem.cs" />
|
||||
<Compile Include="Services\Searching\DeviceSearchResultItem.cs" />
|
||||
<Compile Include="Services\Searching\ISearchResultItem.cs" />
|
||||
<Compile Include="Services\Searching\JobSearchResultItem.cs" />
|
||||
@@ -151,7 +152,7 @@
|
||||
<Compile Include="UI\Config\JobQueue\ConfigJobQueueIndexModel.cs" />
|
||||
<Compile Include="UI\Config\JobQueue\ConfigJobQueueShowModel.cs" />
|
||||
<Compile Include="UI\Config\Logging\ConfigLoggingIndexModel.cs" />
|
||||
<Compile Include="UI\Config\Logging\ConfigLoggingTaskStatusModel.cs" />
|
||||
<Compile Include="UI\Config\Shared\ConfigSharedTaskStatusModel.cs" />
|
||||
<Compile Include="UI\Config\Organisation\ConfigOrganisationIndexModel.cs" />
|
||||
<Compile Include="UI\Device\DeviceAddOfflineModel.cs" />
|
||||
<Compile Include="UI\Device\DeviceExportModel.cs" />
|
||||
@@ -175,7 +176,7 @@
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<ProjectExtensions>
|
||||
<VisualStudio>
|
||||
<UserProperties BuildVersion_BuildAction="Both" BuildVersion_UseGlobalSettings="False" BuildVersion_DetectChanges="False" BuildVersion_StartDate="2011/7/1" BuildVersion_BuildVersioningStyle="None.DeltaBaseYear.MonthAndDayStamp.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_UpdateFileVersion="True" />
|
||||
<UserProperties BuildVersion_UpdateFileVersion="True" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.DeltaBaseYear.MonthAndDayStamp.TimeStamp" BuildVersion_StartDate="2011/7/1" BuildVersion_DetectChanges="False" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildAction="Both" />
|
||||
</VisualStudio>
|
||||
</ProjectExtensions>
|
||||
<PropertyGroup>
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Disco.Models.Services.Jobs.Noticeboards
|
||||
{
|
||||
public interface IHeldDeviceItem
|
||||
{
|
||||
int JobId { get; }
|
||||
|
||||
string DeviceSerialNumber { get; }
|
||||
string DeviceComputerNameFriendly { get; }
|
||||
string DeviceComputerName { get; }
|
||||
|
||||
string DeviceLocation { get; }
|
||||
string DeviceDescription { get; }
|
||||
|
||||
int DeviceProfileId { get; }
|
||||
int? DeviceAddressId { get; }
|
||||
string DeviceAddressShortName { get; }
|
||||
|
||||
string UserId { get; }
|
||||
string UserIdFriendly { get; }
|
||||
string UserDisplayName { get; }
|
||||
|
||||
bool WaitingForUserAction { get; }
|
||||
DateTime? WaitingForUserActionSince { get; }
|
||||
long? WaitingForUserActionSinceUnixEpoc { get; }
|
||||
|
||||
bool ReadyForReturn { get; }
|
||||
DateTime? EstimatedReturnTime { get; }
|
||||
long? EstimatedReturnTimeUnixEpoc { get; }
|
||||
DateTime? ReadyForReturnSince { get; }
|
||||
long? ReadyForReturnSinceUnixEpoc { get; }
|
||||
|
||||
bool IsAlert { get; }
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -4,9 +4,9 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Disco.Models.UI.Config.Logging
|
||||
namespace Disco.Models.UI.Config.Shared
|
||||
{
|
||||
public interface ConfigLoggingTaskStatusModel : BaseUIModel
|
||||
public interface ConfigSharedTaskStatusModel : BaseUIModel
|
||||
{
|
||||
string SessionId { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user