Merge
This commit is contained in:
commit
ddc94cb44c
113 changed files with 5660 additions and 2425 deletions
|
@ -0,0 +1,18 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using WebsitePanel.Providers.DNS;
|
||||
|
||||
namespace WebsitePanel.Providers.DomainLookup
|
||||
{
|
||||
public class DnsRecordInfo
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public int DomainId { get; set; }
|
||||
public string DnsServer { get; set; }
|
||||
public DnsRecordType RecordType { get; set; }
|
||||
public string Value { get; set; }
|
||||
public DateTime Date { get; set; }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using WebsitePanel.Providers.DNS;
|
||||
|
||||
namespace WebsitePanel.Providers.DomainLookup
|
||||
{
|
||||
public class DnsRecordInfoChange
|
||||
{
|
||||
public string DnsServer { get; set; }
|
||||
public DnsRecordInfo Record { get; set; }
|
||||
public DomainDnsRecordStatuses Status { get; set; }
|
||||
public DnsRecordType Type { get; set; }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace WebsitePanel.Providers.DomainLookup
|
||||
{
|
||||
public class DomainDnsChanges
|
||||
{
|
||||
public string DomainName { get; set; }
|
||||
|
||||
public List<DnsRecordInfoChange> DnsChanges { get; set; }
|
||||
|
||||
public DomainDnsChanges()
|
||||
{
|
||||
DnsChanges = new List<DnsRecordInfoChange>();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace WebsitePanel.Providers.DomainLookup
|
||||
{
|
||||
public enum DomainDnsRecordStatuses
|
||||
{
|
||||
NotChanged,
|
||||
Removed,
|
||||
Added
|
||||
}
|
||||
}
|
|
@ -39,7 +39,7 @@ namespace WebsitePanel.Providers.HostedSolution
|
|||
Equipment = 6,
|
||||
User = 7,
|
||||
SecurityGroup = 8,
|
||||
DefaultSecurityGroup = 9
|
||||
|
||||
DefaultSecurityGroup = 9,
|
||||
SharedMailbox = 10
|
||||
}
|
||||
}
|
||||
|
|
|
@ -38,6 +38,15 @@ namespace WebsitePanel.Providers.HostedSolution
|
|||
int itemId;
|
||||
int mailboxPlanId;
|
||||
string mailboxPlan;
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
if (mailboxPlan != null)
|
||||
return mailboxPlan;
|
||||
|
||||
return base.ToString();
|
||||
}
|
||||
|
||||
int mailboxSizeMB;
|
||||
int maxRecipients;
|
||||
int maxSendMessageSizeKB;
|
||||
|
@ -63,7 +72,6 @@ namespace WebsitePanel.Providers.HostedSolution
|
|||
string litigationHoldUrl;
|
||||
string litigationHoldMsg;
|
||||
|
||||
|
||||
public int ItemId
|
||||
{
|
||||
get { return this.itemId; }
|
||||
|
|
|
@ -341,6 +341,36 @@ namespace WebsitePanel.Providers.HostedSolution
|
|||
get { return usedArchingStorage; }
|
||||
set { usedArchingStorage = value; }
|
||||
}
|
||||
|
||||
int allocatedSharedMailboxes;
|
||||
public int AllocatedSharedMailboxes
|
||||
{
|
||||
get { return allocatedSharedMailboxes; }
|
||||
set { allocatedSharedMailboxes = value; }
|
||||
}
|
||||
|
||||
int createdSharedMailboxes;
|
||||
public int CreatedSharedMailboxes
|
||||
{
|
||||
get { return createdSharedMailboxes; }
|
||||
set { createdSharedMailboxes = value; }
|
||||
}
|
||||
|
||||
int allocatedResourceMailboxes;
|
||||
public int AllocatedResourceMailboxes
|
||||
{
|
||||
get { return allocatedResourceMailboxes; }
|
||||
set { allocatedResourceMailboxes = value; }
|
||||
}
|
||||
|
||||
int createdResourceMailboxes;
|
||||
public int CreatedResourceMailboxes
|
||||
{
|
||||
get { return createdResourceMailboxes; }
|
||||
set { createdResourceMailboxes = value; }
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -28,6 +28,9 @@
|
|||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using WebsitePanel.Providers.DNS;
|
||||
using WebsitePanel.Providers.DomainLookup;
|
||||
|
||||
namespace WebsitePanel.Providers.OS
|
||||
{
|
||||
|
@ -88,5 +91,8 @@ namespace WebsitePanel.Providers.OS
|
|||
|
||||
// File Services
|
||||
bool CheckFileServicesInstallation();
|
||||
|
||||
//DNS
|
||||
DnsRecordInfo[] GetDomainDnsRecords(string domain, string dnsServer, DnsRecordType recordType);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -85,6 +85,10 @@
|
|||
<Compile Include="Common\ErrorCodes.cs" />
|
||||
<Compile Include="Common\PasswdHelper.cs" />
|
||||
<Compile Include="Common\WPIEntries.cs" />
|
||||
<Compile Include="DomainLookup\DnsRecordInfo.cs" />
|
||||
<Compile Include="DomainLookup\DnsRecordInfoChange.cs" />
|
||||
<Compile Include="DomainLookup\DomainDnsChanges.cs" />
|
||||
<Compile Include="DomainLookup\DomainDnsRecordStatuses.cs" />
|
||||
<Compile Include="EnterpriseStorage\IEnterpriseStorage.cs" />
|
||||
<Compile Include="HeliconZoo\IHeliconZooServer.cs" />
|
||||
<Compile Include="HostedSolution\BaseReport.cs" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue