Domain management optimized and simplified:

Creation of websites and pointers decoupled from Domains in order to choose
freely the hostname of a website or pointer.

Quota enforcement around domain pointers disabled, though registration is
still in place
This commit is contained in:
robvde 2012-09-04 17:34:39 +04:00
parent ba71e9b29c
commit 92133e2c20
31 changed files with 9005 additions and 10978 deletions

View file

@ -423,11 +423,11 @@ namespace WebsitePanel.EnterpriseServer
public PackageResult AddPackageWithResources(int userId, int planId, string spaceName,
int statusId, bool sendLetter,
bool createResources, string domainName, bool tempDomain, bool createWebSite,
bool createFtpAccount, string ftpAccountName, bool createMailAccount)
bool createFtpAccount, string ftpAccountName, bool createMailAccount, string hostName)
{
return PackageController.AddPackageWithResources(userId, planId, spaceName, statusId, sendLetter,
createResources, domainName, tempDomain, createWebSite,
createFtpAccount, ftpAccountName, createMailAccount);
createFtpAccount, ftpAccountName, createMailAccount, hostName);
}
[WebMethod]
@ -436,13 +436,13 @@ namespace WebsitePanel.EnterpriseServer
bool sendAccountLetter,
bool createPackage, int planId, bool sendPackageLetter,
string domainName, bool tempDomain, bool createWebSite,
bool createFtpAccount, string ftpAccountName, bool createMailAccount)
bool createFtpAccount, string ftpAccountName, bool createMailAccount, string hostName)
{
return UserCreationWizard.CreateUserAccount(parentPackageId, username, password,
roleId, firstName, lastName, email, secondaryEmail, htmlMail, sendAccountLetter,
createPackage, planId,
sendPackageLetter, domainName, tempDomain, createWebSite, createFtpAccount, ftpAccountName,
createMailAccount);
createMailAccount, hostName);
}
#endregion