diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/RemoteDesktopServices/RemoteDesktopServicesController.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/RemoteDesktopServices/RemoteDesktopServicesController.cs index b9e2884f..09b99f2c 100644 --- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/RemoteDesktopServices/RemoteDesktopServicesController.cs +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/RemoteDesktopServices/RemoteDesktopServicesController.cs @@ -1058,7 +1058,7 @@ namespace WebsitePanel.EnterpriseServer var accountNames = users.Select(x => x.AccountName).ToList(); //Set on server - rds.SetUsersInCollection(org.OrganizationId, collection.Name, users.Select(x => x.SamAccountName).ToArray()); + rds.SetUsersInCollection(org.OrganizationId, collection.Name, users.Select(x => x.AccountName).ToArray()); //Remove from db foreach (var userInDb in usersInDb) diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/WebServers/WebServerController.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/WebServers/WebServerController.cs index 266fdf3c..51d9713f 100644 --- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/WebServers/WebServerController.cs +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/WebServers/WebServerController.cs @@ -381,7 +381,10 @@ namespace WebsitePanel.EnterpriseServer site.PerlInstalled = Utils.ParseBool(webPolicy["PerlInstalled"], false); site.PythonInstalled = Utils.ParseBool(webPolicy["PythonInstalled"], false); site.CgiBinInstalled = Utils.ParseBool(webPolicy["CgiBinInstalled"], false); - site.ColdFusionInstalled = false; + QuotaValueInfo quotaInfoCF = PackageController.GetPackageQuota(packageId, Quotas.WEB_COLDFUSION); + site.ColdFusionInstalled = (quotaInfoCF.QuotaAllocatedValue > 0) && Utils.ParseBool(webPolicy["ColdFusionInstalled"], false); + QuotaValueInfo quotaInfoCFV = PackageController.GetPackageQuota(packageId, Quotas.WEB_CFVIRTUALDIRS); + site.CreateCFVirtualDirectoriesPol = (quotaInfoCFV.QuotaAllocatedValue > 0) && Utils.ParseBool(webPolicy["CreateCFVirtualDirectoriesPol"], false); } else @@ -404,6 +407,7 @@ namespace WebsitePanel.EnterpriseServer site.PythonInstalled = false; site.CgiBinInstalled = false; site.ColdFusionInstalled = false; + site.CreateCFVirtualDirectoriesPol = false; } site.HttpRedirect = ""; diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Code/WebServers/WebServerController.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Code/WebServers/WebServerController.cs index 5ee1cf98..58d0d8e6 100644 --- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Code/WebServers/WebServerController.cs +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Code/WebServers/WebServerController.cs @@ -380,7 +380,10 @@ namespace WebsitePanel.EnterpriseServer site.PerlInstalled = Utils.ParseBool(webPolicy["PerlInstalled"], false); site.PythonInstalled = Utils.ParseBool(webPolicy["PythonInstalled"], false); site.CgiBinInstalled = Utils.ParseBool(webPolicy["CgiBinInstalled"], false); - site.ColdFusionInstalled = false; + QuotaValueInfo quotaInfoCF = PackageController.GetPackageQuota(packageId, Quotas.WEB_COLDFUSION); + site.ColdFusionInstalled = (quotaInfoCF.QuotaAllocatedValue > 0) && Utils.ParseBool(webPolicy["ColdFusionInstalled"], false); + QuotaValueInfo quotaInfoCFV = PackageController.GetPackageQuota(packageId, Quotas.WEB_CFVIRTUALDIRS); + site.CreateCFVirtualDirectoriesPol = (quotaInfoCFV.QuotaAllocatedValue > 0) && Utils.ParseBool(webPolicy["CreateCFVirtualDirectoriesPol"], false); } else @@ -403,6 +406,7 @@ namespace WebsitePanel.EnterpriseServer site.PythonInstalled = false; site.CgiBinInstalled = false; site.ColdFusionInstalled = false; + site.CreateCFVirtualDirectoriesPol = false; } site.HttpRedirect = ""; diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Base/Web/WebSite.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Base/Web/WebSite.cs index 82f7a885..ddfeb973 100644 --- a/WebsitePanel/Sources/WebsitePanel.Providers.Base/Web/WebSite.cs +++ b/WebsitePanel/Sources/WebsitePanel.Providers.Base/Web/WebSite.cs @@ -55,6 +55,7 @@ namespace WebsitePanel.Providers.Web private bool frontPageInstalled; private bool coldFusionAvailable; private bool createCFVirtualDirectories; + private bool createCFVirtualDirectoriesPol; private string frontPageAccount; private string frontPagePassword; private string coldFusionVersion; @@ -157,6 +158,12 @@ namespace WebsitePanel.Providers.Web get { return this.createCFVirtualDirectories; } set { this.createCFVirtualDirectories = value; } } + + public bool CreateCFVirtualDirectoriesPol + { + get { return this.createCFVirtualDirectoriesPol; } + set { this.createCFVirtualDirectoriesPol = value; } + } public ServerState SiteState { diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.TerminalServices.Windows2012/Windows2012.cs b/WebsitePanel/Sources/WebsitePanel.Providers.TerminalServices.Windows2012/Windows2012.cs index 2c892a1a..58d9ff9f 100644 --- a/WebsitePanel/Sources/WebsitePanel.Providers.TerminalServices.Windows2012/Windows2012.cs +++ b/WebsitePanel/Sources/WebsitePanel.Providers.TerminalServices.Windows2012/Windows2012.cs @@ -527,6 +527,7 @@ namespace WebsitePanel.Providers.RemoteDesktopServices catch (Exception e) { result = false; + Log.WriteWarning(e.ToString()); } return result; @@ -672,6 +673,7 @@ namespace WebsitePanel.Providers.RemoteDesktopServices try { + Log.WriteWarning(string.Format("App alias: {0}\r\nCollection Name:{2}\r\nUsers: {1}", remoteApp.Alias, string.Join("; ", users), collectionName)); runspace = OpenRunspace(); Command cmd = new Command("Set-RDRemoteApp"); @@ -680,8 +682,18 @@ namespace WebsitePanel.Providers.RemoteDesktopServices cmd.Parameters.Add("DisplayName", remoteApp.DisplayName); cmd.Parameters.Add("UserGroups", users); cmd.Parameters.Add("Alias", remoteApp.Alias); + object[] errors; - ExecuteShellCommand(runspace, cmd, false).FirstOrDefault(); + ExecuteShellCommand(runspace, cmd, false, out errors).FirstOrDefault(); + + if (errors.Any()) + { + Log.WriteWarning(string.Format("{0} adding users errors: {1}", remoteApp.DisplayName, string.Join("\r\n", errors.Select(e => e.ToString()).ToArray()))); + } + else + { + Log.WriteWarning(string.Format("{0} users added successfully", remoteApp.DisplayName)); + } } catch(Exception) { @@ -985,15 +997,23 @@ namespace WebsitePanel.Providers.RemoteDesktopServices //adding users to group foreach (var user in users) - { - var samName = user.Split('\\').Last(); - var userPath = GetUserPath(organizationId, samName); + { + var userPath = GetUserPath(organizationId, user); + Log.WriteWarning(string.Format("User Path: {0}", userPath)); + Log.WriteWarning(string.Format("Group Name: {0}", usersGroupName)); if (ActiveDirectoryUtils.AdObjectExists(userPath)) { + var userObject = ActiveDirectoryUtils.GetADObject(userPath); + var samName = (string)ActiveDirectoryUtils.GetADObjectProperty(userObject, "sAMAccountName"); + Log.WriteWarning(string.Format("SAMAccountName: {0}", samName)); + if (!ActiveDirectoryUtils.IsUserInGroup(samName, usersGroupName)) { - ActiveDirectoryUtils.AddObjectToGroup(userPath, GetUsersGroupPath(organizationId, collectionName)); + Log.WriteWarning(string.Format("{0} not exists in {1}", samName, usersGroupName)); + var userGroupsPath = GetUsersGroupPath(organizationId, collectionName); + ActiveDirectoryUtils.AddObjectToGroup(userPath, userGroupsPath); + Log.WriteWarning(string.Format("{0} added", samName)); } } } diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIS70/IIs70.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIS70/IIs70.cs index c3f26739..a95ade0d 100644 --- a/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIS70/IIs70.cs +++ b/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIS70/IIs70.cs @@ -1349,6 +1349,11 @@ namespace WebsitePanel.Providers.Web // UpdateCgiBinFolder(site); // + if (site.CreateCFVirtualDirectoriesPol) + { + //Create CFVirtDirs if enabled in hosting plan, this allows for CF to be enbled via Web Policy + CreateCFVirtualDirectories(site.SiteId); + } try { webObjectsSvc.ChangeSiteState(site.SiteId, ServerState.Started); @@ -1357,7 +1362,7 @@ namespace WebsitePanel.Providers.Web { Log.WriteError(ex); } - // + // return site.SiteId; } @@ -1448,6 +1453,7 @@ namespace WebsitePanel.Providers.Web { DeleteCFVirtualDirectories(site.SiteId); site.CreateCFVirtualDirectories = false; + site.CreateCFVirtualDirectoriesPol = false; } else { @@ -1457,6 +1463,7 @@ namespace WebsitePanel.Providers.Web { DeleteCFVirtualDirectories(site.SiteId); site.CreateCFVirtualDirectories = false; + site.CreateCFVirtualDirectoriesPol = false; } } else @@ -1465,6 +1472,7 @@ namespace WebsitePanel.Providers.Web { CreateCFVirtualDirectories(site.SiteId); site.CreateCFVirtualDirectories = true; + site.CreateCFVirtualDirectoriesPol = true; } } } diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Styles/Skin.css b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Styles/Skin.css index b280d4be..4d50d626 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Styles/Skin.css +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Styles/Skin.css @@ -94,6 +94,7 @@ textarea {font-family:inherit; font-size:inherit; color:inherit; background:#fff /* checkbox */ input[type=checkbox], input[type=radio] {margin:8px 4px 8px; vertical-align:-1px;} .HeaderCheckbox {margin-left:5px;} +.GridCheckbox input[type=checkbox] {margin-top:0px;} input[type=image] {margin-right:4px;} .LoginLabel {display:block; line-height:34px; width:auto !important; padding-right:8px;} .LoginContainer .SubHead {padding-right:8px; color:#333;} @@ -178,7 +179,7 @@ h2.ProductTitle.Huge {margin:0;} .FormButtonsBar .Left {float: left;} .FormButtonsBar .Right {float:right;} .FormButtonsBar Button2.Right {text-align: right; margin-bottom: 3px;} -.FormButtonsBarClean {clear: both; padding-bottom: 4px;} +.FormButtonsBarClean {clear: both; padding-bottom: 4px; height: 26px;} .FormButtonsBarCleanLeft {float: left;} .FormButtonsBarCleanRight {text-align: right;} .FormButtonsBarCleanMiddle {float: right;} diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/App_LocalResources/ExchangeMailboxes.ascx.resx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/App_LocalResources/ExchangeMailboxes.ascx.resx index 89372cb3..5e02c642 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/App_LocalResources/ExchangeMailboxes.ascx.resx +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/App_LocalResources/ExchangeMailboxes.ascx.resx @@ -118,7 +118,7 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - Create New Mailbox + New Mailbox if(!confirm('Are you sure you want to delete this mailbox?')) return false; else ShowProgressDialog('Deleting mailbox...'); diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/ExchangeMailboxes.ascx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/ExchangeMailboxes.ascx index 910bb75b..0c75c06d 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/ExchangeMailboxes.ascx +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/ExchangeMailboxes.ascx @@ -30,22 +30,22 @@
+ Text="New Mailbox" CssClass="Button1" OnClick="btnCreateMailbox_Click" />
@@ -74,19 +75,19 @@ OnRowCommand="gvMailboxes_RowCommand" AllowPaging="True" AllowSorting="True" DataSourceID="odsAccountsPaged" PageSize="20"> - - - - - - + + + + + + diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/ExchangeMailboxes.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/ExchangeMailboxes.ascx.cs index 3bbef5a1..026d6995 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/ExchangeMailboxes.ascx.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/ExchangeMailboxes.ascx.cs @@ -73,11 +73,11 @@ namespace WebsitePanel.Portal.ExchangeServer { if (cntx.Quotas[Quotas.EXCHANGE2007_ISCONSUMER].QuotaAllocatedValue != 1) { - gvMailboxes.Columns[4].Visible = false; + gvMailboxes.Columns[6].Visible = false; } } - gvMailboxes.Columns[3].Visible = cntx.Groups.ContainsKey(ResourceGroups.ServiceLevels); + gvMailboxes.Columns[4].Visible = cntx.Groups.ContainsKey(ResourceGroups.ServiceLevels); } private void BindServiceLevels() diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/ExchangeMailboxes.ascx.designer.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/ExchangeMailboxes.ascx.designer.cs index 121ed1c5..42594ae8 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/ExchangeMailboxes.ascx.designer.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/ExchangeMailboxes.ascx.designer.cs @@ -1,31 +1,3 @@ -// Copyright (c) 2015, 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. - //------------------------------------------------------------------------------ // // This code was generated by a tool. diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUsers.ascx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUsers.ascx index a963d2c4..f3c60beb 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUsers.ascx +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUsers.ascx @@ -73,19 +73,19 @@ OnRowCommand="gvUsers_RowCommand" AllowPaging="True" AllowSorting="True" DataSourceID="odsAccountsPaged" PageSize="20"> - - - - - - + + + + + + diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUsers.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUsers.ascx.cs index 962f208c..aff68bb0 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUsers.ascx.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/OrganizationUsers.ascx.cs @@ -56,10 +56,10 @@ namespace WebsitePanel.Portal.HostedSolution { if (cntx.Quotas[Quotas.EXCHANGE2007_ISCONSUMER].QuotaAllocatedValue != 1) { - gvUsers.Columns[5].Visible = false; + gvUsers.Columns[6].Visible = false; } } - gvUsers.Columns[3].Visible = cntx.Groups.ContainsKey(ResourceGroups.ServiceLevels); + gvUsers.Columns[4].Visible = cntx.Groups.ContainsKey(ResourceGroups.ServiceLevels); } private void BindServiceLevels() diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/RDS/RDSEditApplicationUsers.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/RDS/RDSEditApplicationUsers.ascx.cs index eaa2d42f..41bdec12 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/RDS/RDSEditApplicationUsers.ascx.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/RDS/RDSEditApplicationUsers.ascx.cs @@ -50,6 +50,7 @@ namespace WebsitePanel.Portal.RDS litCollectionName.Text = collection.Name; txtApplicationName.Text = remoteApp.DisplayName; + //var remoteAppUsers = organizationUsers.Where(x => applicationUsers.Contains(x.AccountName)); var remoteAppUsers = organizationUsers.Where(x => applicationUsers.Select(a => a.Split('\\').Last().ToLower()).Contains(x.SamAccountName.Split('\\').Last().ToLower())); users.SetUsers(remoteAppUsers.ToArray()); @@ -64,7 +65,8 @@ namespace WebsitePanel.Portal.RDS var applications = ES.Services.RDS.GetCollectionRemoteApplications(PanelRequest.ItemID, collection.Name); var remoteApp = applications.Where(x => x.Alias.Equals(PanelRequest.ApplicationID, StringComparison.CurrentCultureIgnoreCase)).FirstOrDefault(); remoteApp.DisplayName = txtApplicationName.Text; - ES.Services.RDS.SetApplicationUsers(PanelRequest.ItemID, PanelRequest.CollectionID, remoteApp, users.GetUsers().Select(x => x.SamAccountName.Split('\\').Last()).ToArray()); + //ES.Services.RDS.SetApplicationUsers(PanelRequest.ItemID, PanelRequest.CollectionID, remoteApp, users.GetUsers().Select(x => x.AccountName).ToArray()); + ES.Services.RDS.SetApplicationUsers(PanelRequest.ItemID, PanelRequest.CollectionID, remoteApp, users.GetUsers().Select(x => x.SamAccountName.Split('\\').Last()).ToArray()); } catch (Exception ex) { diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsWebPolicy.ascx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsWebPolicy.ascx index 78d35a1b..157e1850 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsWebPolicy.ascx +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsWebPolicy.ascx @@ -181,6 +181,23 @@ + + + + + + + + + + +
- + - - - + + + + OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged" Width="50"> 10 20 50 @@ -60,8 +60,9 @@ AccountName Account Number Login - + + +
+ + +
+ + +
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsWebPolicy.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsWebPolicy.ascx.cs index 6fd479b1..6fe0dece 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsWebPolicy.ascx.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsWebPolicy.ascx.cs @@ -76,6 +76,8 @@ namespace WebsitePanel.Portal chkPerl.Checked = Utils.ParseBool(settings["PerlInstalled"], false); chkPython.Checked = Utils.ParseBool(settings["PythonInstalled"], false); chkCgiBin.Checked = Utils.ParseBool(settings["CgiBinInstalled"], false); + chkCfExt.Checked = Utils.ParseBool(settings["ColdFusionInstalled"], false); + chkVirtDir.Checked = Utils.ParseBool(settings["CreateCFVirtualDirectoriesPol"], false); // anonymous account policy anonymousUsername.Value = settings["AnonymousAccountPolicy"]; @@ -130,6 +132,8 @@ namespace WebsitePanel.Portal settings["PerlInstalled"] = chkPerl.Checked.ToString(); settings["PythonInstalled"] = chkPython.Checked.ToString(); settings["CgiBinInstalled"] = chkCgiBin.Checked.ToString(); + settings["ColdFusionInstalled"] = chkCfExt.Checked.ToString(); + settings["CreateCFVirtualDirectoriesPol"] = chkVirtDir.Checked.ToString(); // anonymous account policy settings["AnonymousAccountPolicy"] = anonymousUsername.Value; diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsWebPolicy.ascx.designer.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsWebPolicy.ascx.designer.cs index 8c442f07..c123254d 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsWebPolicy.ascx.designer.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsWebPolicy.ascx.designer.cs @@ -462,6 +462,42 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.CheckBox chkCgiBin; + + /// + /// lblCfExt control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblCfExt; + + /// + /// chkCfExt control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.CheckBox chkCfExt; + + /// + /// lblVirtDir control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblVirtDir; + + /// + /// chkVirtDir control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.CheckBox chkVirtDir; /// /// secAnonymousAccount control. diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/App_LocalResources/UserActions.ascx.resx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/App_LocalResources/UserActions.ascx.resx index e581ec9d..8026ff11 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/App_LocalResources/UserActions.ascx.resx +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/App_LocalResources/UserActions.ascx.resx @@ -117,16 +117,13 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + + Apply + + Cancel - - Ok - - - Cancel - - + Ok @@ -135,12 +132,6 @@ Ok - - Cancel - - - Ok - Apply @@ -153,35 +144,26 @@ Enable + + Set Mailbox Plan + Set Service Level Set VIP - - Set VIP - - + Unset VIP - - Disable users - - - Enable users + + Mailbox Plan Service Level - - Set VIP - - - Do you wish to disable all selected users? - - - Do you wish to enable all selected users? + + Please select a Mailbox Plan for the all checked mailboxes Please select a Service Level for the all checked users diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/UserActions.ascx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/UserActions.ascx index 9c16f527..a0b49e6b 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/UserActions.ascx +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/UserActions.ascx @@ -1,73 +1,46 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UserActions.ascx.cs" Inherits="WebsitePanel.Portal.UserActions" %> +<%@ Register Src="../ExchangeServer/UserControls/MailboxPlanSelector.ascx" TagName="MailboxPlanSelector" TagPrefix="wsp" %> + - - <%--Actions--%> + + Actions Disable Enable SetServiceLevel SetVIP + UnsetVIP + SetMailboxPlan + + + - - - - <%-- Enable --%> - - - <%-- Disable --%> - + PopupControlID="FakeModalPopupTarget" BackgroundCssClass="modalBackground" DropShadow="false" /> <%--Set Service Level--%>
- - <%-- VIP --%> -