Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 1072 → Rev 1073

/hostadmiral/trunk/doc/todo.txt
43,8 → 43,6
 
Allow user to create domains (?) and subdomains in his domains.
 
Change shell password for system user if its owner's password is changed (?).
 
Catch-all mail alias. Only one per domain.
 
Basic scripts to push changes to the system.
52,7 → 50,7
If mailbox is created, create an user and a mail alias for it in one step - as option.
Afterwards they are binded and change own name or deleted together. Bind by name? In witch directions?
 
By build cascade delete tree replace existing objects if new effect is stronger.
By building cascade delete tree replace existing objects if new effect is stronger.
Sort the cascade delete tree.
91,3 → 89,5
implement an own one. Implement a few common ones.
 
+ Split CoreResources.properties to several files.
 
+ Change shell password for system user if its owner's password is changed (?). - available via listener.
/hostadmiral/trunk/src/ak/hostadmiral/util/CollectionInfo.java
84,7 → 84,7
protected void recalc()
{
if(rowsPerPage > 0)
totalPages = (int)Math.ceil((double)size / rowsPerPage);
totalPages = (size + rowsPerPage - 1) / rowsPerPage;
}
 
public void init(int size, int currentPage, int rowsPerPage)
/hostadmiral/trunk/src/ak/hostadmiral/core/model/MailAliasManager.java
241,7 → 241,7
public boolean areMailAliasesAvailable(User editor)
throws ModelException
{
if(editor.isSuperuser())
if(editor.isSuperuser() || InetDomainManager.getInstance().areInetDomainsAvailable(editor))
return true;
else
return store.countMailAliasesAvailable(editor) > 0;
/hostadmiral/trunk/src/ak/hostadmiral/core/model/MailboxManager.java
247,7 → 247,7
public boolean areMailboxesAvailable(User editor)
throws ModelException
{
if(editor.isSuperuser())
if(editor.isSuperuser() || InetDomainManager.getInstance().areInetDomainsAvailable(editor))
return true;
else
return store.countMailboxesAvailable(editor) > 0;