Update: Disco Online Services Update Checking

Migrates Disco Update checking to new services at
https://services.discoict.com.au.
This commit is contained in:
Gary Sharp
2014-07-23 19:14:08 +10:00
parent 4b3905b4fc
commit 6700d092b3
31 changed files with 621 additions and 523 deletions
@@ -1,8 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Disco.Models.BI.Interop.Community;
using Disco.Models.Services.Interop.DiscoServices;
using System;
namespace Disco.Web.Areas.Config.Models.Config
{
@@ -14,13 +11,14 @@ namespace Disco.Web.Areas.Config.Models.Config
{
if (UpdateResponse != null)
{
var updateVersion = Version.Parse(UpdateResponse.Version);
var updateVersion = Version.Parse(UpdateResponse.LatestVersion);
return (updateVersion > typeof(DiscoApplication).Assembly.GetName().Version);
}
return false;
}
}
public UpdateResponse UpdateResponse { get; set; }
public UpdateResponseV2 UpdateResponse { get; set; }
}
}