Partial Check in Exchange Litigation Hold
This commit is contained in:
parent
5de2f648b8
commit
87528108f8
29 changed files with 626 additions and 7013 deletions
|
@ -228,4 +228,16 @@
|
|||
<data name="btnUpdateMailboxPlan.Text" xml:space="preserve">
|
||||
<value>Update Mailbox Plan</value>
|
||||
</data>
|
||||
<data name="chkEnableLitigationHold.Text" xml:space="preserve">
|
||||
<value>Enable Litigation Hold</value>
|
||||
</data>
|
||||
<data name="locRecoverableItemsSpace.Text" xml:space="preserve">
|
||||
<value>Recoverable Items Space (Mb):</value>
|
||||
</data>
|
||||
<data name="locRecoverableItemsWarning.Text" xml:space="preserve">
|
||||
<value>Warning at:</value>
|
||||
</data>
|
||||
<data name="secLitigationHold.Text" xml:space="preserve">
|
||||
<value>Litigation Hold</value>
|
||||
</data>
|
||||
</root>
|
|
@ -198,4 +198,16 @@
|
|||
<data name="valRequireMailboxPlan.Text" xml:space="preserve">
|
||||
<value>*</value>
|
||||
</data>
|
||||
<data name="chkEnableLitigationHold.Text" xml:space="preserve">
|
||||
<value>Enable Litigation Hold</value>
|
||||
</data>
|
||||
<data name="locRecoverableItemsSpace.Text" xml:space="preserve">
|
||||
<value>Recoverable Items Space (Mb):</value>
|
||||
</data>
|
||||
<data name="locRecoverableItemsWarning.Text" xml:space="preserve">
|
||||
<value>Warning at:</value>
|
||||
</data>
|
||||
<data name="secLitigationHold.Text" xml:space="preserve">
|
||||
<value>Litigation Hold</value>
|
||||
</data>
|
||||
</root>
|
|
@ -91,7 +91,6 @@
|
|||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
</asp:Panel>
|
||||
|
||||
<wsp:CollapsiblePanel id="secStorageQuotas" runat="server"
|
||||
|
@ -102,52 +101,46 @@
|
|||
<tr>
|
||||
<td class="FormLabel200" align="right"><asp:Localize ID="locMailboxSize" runat="server" meta:resourcekey="locMailboxSize" Text="Mailbox size:"></asp:Localize></td>
|
||||
<td>
|
||||
<div class="Right">
|
||||
<uc1:QuotaEditor id="mailboxSize" runat="server"
|
||||
QuotaTypeID="2"
|
||||
QuotaValue="0"
|
||||
ParentQuotaValue="-1">
|
||||
</uc1:QuotaEditor>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="FormLabel200" align="right"><asp:Localize ID="locMaxRecipients" runat="server" meta:resourcekey="locMaxRecipients" Text="Maximum Recipients:"></asp:Localize></td>
|
||||
<td>
|
||||
<div class="Right">
|
||||
<uc1:QuotaEditor id="maxRecipients" runat="server"
|
||||
QuotaTypeID="2"
|
||||
QuotaValue="0"
|
||||
ParentQuotaValue="-1">
|
||||
</uc1:QuotaEditor>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="FormLabel200" align="right"><asp:Localize ID="locMaxSendMessageSizeKB" runat="server" meta:resourcekey="locMaxSendMessageSizeKB" Text="Maximum Send Message Size (Kb):"></asp:Localize></td>
|
||||
<td>
|
||||
<div class="Right">
|
||||
<uc1:QuotaEditor id="maxSendMessageSizeKB" runat="server"
|
||||
QuotaTypeID="2"
|
||||
QuotaValue="0"
|
||||
ParentQuotaValue="-1">
|
||||
</uc1:QuotaEditor>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="FormLabel200" align="right"><asp:Localize ID="locMaxReceiveMessageSizeKB" runat="server" meta:resourcekey="locMaxReceiveMessageSizeKB" Text="Maximum Receive Message Size (Kb):"></asp:Localize></td>
|
||||
<td>
|
||||
<div class="Right">
|
||||
<uc1:QuotaEditor id="maxReceiveMessageSizeKB" runat="server"
|
||||
QuotaTypeID="2"
|
||||
QuotaValue="0"
|
||||
ParentQuotaValue="-1">
|
||||
</uc1:QuotaEditor>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="FormLabel200" colspan="2"><asp:Localize ID="locWhenSizeExceeds" runat="server" meta:resourcekey="locWhenSizeExceeds" Text="When the mailbox size exceeds the indicated amount:"></asp:Localize></td>
|
||||
</tr>
|
||||
|
@ -170,7 +163,6 @@
|
|||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
</asp:Panel>
|
||||
|
||||
|
||||
|
@ -186,9 +178,39 @@
|
|||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
</asp:Panel>
|
||||
|
||||
<wsp:CollapsiblePanel id="secLitigationHold" runat="server"
|
||||
TargetControlID="LitigationHold" meta:resourcekey="secLitigationHold" Text="LitigationHold">
|
||||
</wsp:CollapsiblePanel>
|
||||
<asp:Panel ID="LitigationHold" runat="server" Height="0" style="overflow:hidden;">
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:CheckBox ID="chkEnableLitigationHold" runat="server" meta:resourcekey="chkEnableLitigationHold" Text="Enabled Litigation Hold"></asp:CheckBox>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="FormLabel200" align="right"><asp:Localize ID="locRecoverableItemsSpace" runat="server" meta:resourcekey="locRecoverableItemsSpace" Text="Recoverable Items Space (MB):"></asp:Localize></td>
|
||||
<td>
|
||||
<uc1:QuotaEditor id="recoverableItemsSpace" runat="server"
|
||||
QuotaTypeID="2"
|
||||
QuotaValue="0"
|
||||
ParentQuotaValue="-1">
|
||||
</uc1:QuotaEditor>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="FormLabel200" align="right"><asp:Localize ID="locRecoverableItemsWarning" runat="server" meta:resourcekey="locRecoverableItemsWarning" Text="Issue warning at:"></asp:Localize></td>
|
||||
<td>
|
||||
<wsp:SizeBox id="recoverableItemsWarning" runat="server" ValidationGroup="CreateMailboxPlan" DisplayUnitsKB="false" DisplayUnitsMB="false" DisplayUnitsPct="true" RequireValidatorEnabled="true"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</asp:Panel>
|
||||
|
||||
|
||||
<br />
|
||||
<div class="FormFooterClean">
|
||||
<asp:Button id="btnAdd" runat="server" Text="Add Mailboxplan" CssClass="Button1" meta:resourcekey="btnAdd" ValidationGroup="CreateMailboxPlan" OnClick="btnAdd_Click" OnClientClick="ShowProgressDialog('Creating Mailboxplan...');"></asp:Button>
|
||||
|
|
|
@ -60,6 +60,11 @@ namespace WebsitePanel.Portal.ExchangeServer
|
|||
sizeProhibitSendReceive.ValueKB = plan.ProhibitSendReceivePct;
|
||||
daysKeepDeletedItems.ValueDays = plan.KeepDeletedItemsDays;
|
||||
chkHideFromAddressBook.Checked = plan.HideFromAddressBook;
|
||||
chkEnableLitigationHold.Checked = plan.AllowLitigationHold;
|
||||
recoverableItemsSpace.QuotaValue = plan.RecoverableItemsSpace;
|
||||
recoverableItemsWarning.ValueKB = plan.RecoverableItemsWarningPct;
|
||||
|
||||
|
||||
|
||||
/*
|
||||
txtMailboxPlan.Enabled = false;
|
||||
|
@ -138,11 +143,17 @@ namespace WebsitePanel.Portal.ExchangeServer
|
|||
daysKeepDeletedItems.ValueDays = quota.QuotaAllocatedValue;
|
||||
daysKeepDeletedItems.RequireValidatorEnabled = true;
|
||||
break;
|
||||
case 420:
|
||||
chkEnableLitigationHold.Checked = Convert.ToBoolean(quota.QuotaAllocatedValue);
|
||||
chkEnableLitigationHold.Enabled = Convert.ToBoolean(quota.QuotaAllocatedValue);
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
sizeIssueWarning.ValueKB = 100;
|
||||
sizeIssueWarning.ValueKB = 95;
|
||||
sizeProhibitSend.ValueKB = 100;
|
||||
sizeProhibitSendReceive.ValueKB = 100;
|
||||
recoverableItemsWarning.ValueKB = 95;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -183,6 +194,10 @@ namespace WebsitePanel.Portal.ExchangeServer
|
|||
if ((plan.ProhibitSendReceivePct == 0)) plan.ProhibitSendReceivePct = 100;
|
||||
plan.KeepDeletedItemsDays = daysKeepDeletedItems.ValueDays;
|
||||
plan.HideFromAddressBook = chkHideFromAddressBook.Checked;
|
||||
plan.AllowLitigationHold = chkEnableLitigationHold.Checked;
|
||||
plan.RecoverableItemsSpace = recoverableItemsSpace.QuotaValue;
|
||||
plan.RecoverableItemsWarningPct = recoverableItemsWarning.ValueKB;
|
||||
if ((plan.RecoverableItemsWarningPct == 0)) plan.RecoverableItemsWarningPct = 100;
|
||||
|
||||
int result = ES.Services.ExchangeServer.AddExchangeMailboxPlan(PanelRequest.ItemID,
|
||||
plan);
|
||||
|
|
|
@ -381,6 +381,69 @@ namespace WebsitePanel.Portal.ExchangeServer {
|
|||
/// </remarks>
|
||||
protected global::WebsitePanel.Portal.ExchangeServer.UserControls.DaysBox daysKeepDeletedItems;
|
||||
|
||||
/// <summary>
|
||||
/// secLitigationHold control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::WebsitePanel.Portal.CollapsiblePanel secLitigationHold;
|
||||
|
||||
/// <summary>
|
||||
/// LitigationHold control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Panel LitigationHold;
|
||||
|
||||
/// <summary>
|
||||
/// chkEnableLitigationHold control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.CheckBox chkEnableLitigationHold;
|
||||
|
||||
/// <summary>
|
||||
/// locRecoverableItemsSpace control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locRecoverableItemsSpace;
|
||||
|
||||
/// <summary>
|
||||
/// recoverableItemsSpace control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::WebsitePanel.Portal.QuotaEditor recoverableItemsSpace;
|
||||
|
||||
/// <summary>
|
||||
/// locRecoverableItemsWarning control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locRecoverableItemsWarning;
|
||||
|
||||
/// <summary>
|
||||
/// recoverableItemsWarning control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::WebsitePanel.Portal.ExchangeServer.UserControls.SizeBox recoverableItemsWarning;
|
||||
|
||||
/// <summary>
|
||||
/// btnAdd control.
|
||||
/// </summary>
|
||||
|
|
|
@ -215,6 +215,37 @@
|
|||
<br />
|
||||
</asp:Panel>
|
||||
|
||||
<wsp:CollapsiblePanel id="secLitigationHold" runat="server"
|
||||
TargetControlID="LitigationHold" meta:resourcekey="secLitigationHold" Text="LitigationHold">
|
||||
</wsp:CollapsiblePanel>
|
||||
<asp:Panel ID="LitigationHold" runat="server" Height="0" style="overflow:hidden;">
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:CheckBox ID="chkEnableLitigationHold" runat="server" meta:resourcekey="chkEnableLitigationHold" Text="Enabled Litigation Hold"></asp:CheckBox>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="FormLabel200" align="right"><asp:Localize ID="locRecoverableItemsSpace" runat="server" meta:resourcekey="locRecoverableItemsSpace" Text="Recoverable Items Space (MB):"></asp:Localize></td>
|
||||
<td>
|
||||
<uc1:QuotaEditor id="recoverableItemsSpace" runat="server"
|
||||
QuotaTypeID="2"
|
||||
QuotaValue="0"
|
||||
ParentQuotaValue="-1">
|
||||
</uc1:QuotaEditor>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="FormLabel200" align="right"><asp:Localize ID="locRecoverableItemsWarning" runat="server" meta:resourcekey="locRecoverableItemsWarning" Text="Issue warning at:"></asp:Localize></td>
|
||||
<td>
|
||||
<wsp:SizeBox id="recoverableItemsWarning" runat="server" ValidationGroup="CreateMailboxPlan" DisplayUnitsKB="false" DisplayUnitsMB="false" DisplayUnitsPct="true" RequireValidatorEnabled="true"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</asp:Panel>
|
||||
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
|
|
|
@ -120,6 +120,10 @@ namespace WebsitePanel.Portal
|
|||
if ((plan.ProhibitSendReceivePct == 0)) plan.ProhibitSendReceivePct = 100;
|
||||
plan.KeepDeletedItemsDays = daysKeepDeletedItems.ValueDays;
|
||||
plan.HideFromAddressBook = chkHideFromAddressBook.Checked;
|
||||
plan.AllowLitigationHold = chkEnableLitigationHold.Checked;
|
||||
plan.RecoverableItemsSpace = recoverableItemsSpace.QuotaValue;
|
||||
plan.RecoverableItemsWarningPct = recoverableItemsWarning.ValueKB;
|
||||
if ((plan.RecoverableItemsWarningPct == 0)) plan.RecoverableItemsWarningPct = 100;
|
||||
|
||||
if (PanelSecurity.SelectedUser.Role == UserRole.Administrator)
|
||||
plan.MailboxPlanType = (int)ExchangeMailboxPlanType.Administrator;
|
||||
|
@ -218,6 +222,10 @@ namespace WebsitePanel.Portal
|
|||
sizeProhibitSendReceive.ValueKB = -1;
|
||||
daysKeepDeletedItems.ValueDays = -1;
|
||||
chkHideFromAddressBook.Checked = false;
|
||||
chkEnableLitigationHold.Checked = false;
|
||||
recoverableItemsSpace.QuotaValue = 0;
|
||||
recoverableItemsWarning.ValueKB = -1;
|
||||
|
||||
|
||||
btnUpdateMailboxPlan.Enabled = (string.IsNullOrEmpty(txtMailboxPlan.Text)) ? false : true;
|
||||
|
||||
|
@ -266,7 +274,9 @@ namespace WebsitePanel.Portal
|
|||
if (plan.KeepDeletedItemsDays != -1)
|
||||
daysKeepDeletedItems.ValueDays = plan.KeepDeletedItemsDays;
|
||||
chkHideFromAddressBook.Checked = plan.HideFromAddressBook;
|
||||
|
||||
chkEnableLitigationHold.Checked = plan.AllowLitigationHold;
|
||||
recoverableItemsSpace.QuotaValue = plan.RecoverableItemsSpace;
|
||||
recoverableItemsWarning.ValueKB = plan.RecoverableItemsWarningPct;
|
||||
|
||||
btnUpdateMailboxPlan.Enabled = (string.IsNullOrEmpty(txtMailboxPlan.Text)) ? false : true;
|
||||
|
||||
|
@ -369,6 +379,11 @@ namespace WebsitePanel.Portal
|
|||
if ((plan.ProhibitSendReceivePct == 0)) plan.ProhibitSendReceivePct = 100;
|
||||
plan.KeepDeletedItemsDays = daysKeepDeletedItems.ValueDays;
|
||||
plan.HideFromAddressBook = chkHideFromAddressBook.Checked;
|
||||
plan.AllowLitigationHold = chkEnableLitigationHold.Checked;
|
||||
plan.RecoverableItemsSpace = recoverableItemsSpace.QuotaValue;
|
||||
plan.RecoverableItemsWarningPct = recoverableItemsWarning.ValueKB;
|
||||
if ((plan.RecoverableItemsWarningPct == 0)) plan.RecoverableItemsWarningPct = 100;
|
||||
|
||||
|
||||
if (PanelSecurity.SelectedUser.Role == UserRole.Administrator)
|
||||
plan.MailboxPlanType = (int)ExchangeMailboxPlanType.Administrator;
|
||||
|
|
|
@ -1,32 +1,4 @@
|
|||
// Copyright (c) 2012, Outercurve Foundation.
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without modification,
|
||||
// are permitted provided that the following conditions are met:
|
||||
//
|
||||
// - Redistributions of source code must retain the above copyright notice, this
|
||||
// list of conditions and the following disclaimer.
|
||||
//
|
||||
// - Redistributions in binary form must reproduce the above copyright notice,
|
||||
// this list of conditions and the following disclaimer in the documentation
|
||||
// and/or other materials provided with the distribution.
|
||||
//
|
||||
// - Neither the name of the Outercurve Foundation nor the names of its
|
||||
// contributors may be used to endorse or promote products derived from this
|
||||
// software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
|
@ -382,6 +354,69 @@ namespace WebsitePanel.Portal {
|
|||
/// </remarks>
|
||||
protected global::WebsitePanel.Portal.ExchangeServer.UserControls.DaysBox daysKeepDeletedItems;
|
||||
|
||||
/// <summary>
|
||||
/// secLitigationHold control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::WebsitePanel.Portal.CollapsiblePanel secLitigationHold;
|
||||
|
||||
/// <summary>
|
||||
/// LitigationHold control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Panel LitigationHold;
|
||||
|
||||
/// <summary>
|
||||
/// chkEnableLitigationHold control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.CheckBox chkEnableLitigationHold;
|
||||
|
||||
/// <summary>
|
||||
/// locRecoverableItemsSpace control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locRecoverableItemsSpace;
|
||||
|
||||
/// <summary>
|
||||
/// recoverableItemsSpace control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::WebsitePanel.Portal.QuotaEditor recoverableItemsSpace;
|
||||
|
||||
/// <summary>
|
||||
/// locRecoverableItemsWarning control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locRecoverableItemsWarning;
|
||||
|
||||
/// <summary>
|
||||
/// recoverableItemsWarning control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::WebsitePanel.Portal.ExchangeServer.UserControls.SizeBox recoverableItemsWarning;
|
||||
|
||||
/// <summary>
|
||||
/// btnAddMailboxPlan control.
|
||||
/// </summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue