update to fileservertasks interface 0.4.0 version

This commit is contained in:
Jan Dittberner 2015-01-26 18:10:08 +01:00
parent 7360b33eca
commit 24b4bab0b0
2 changed files with 29 additions and 0 deletions

View file

@ -1,6 +1,9 @@
Changelog
=========
* :support:`-` update to new fileservertasks interface (requires gvafile >=
0.4.0 on the fileserver)
* :release:`0.8.0 <2015-01-26>`
* :feature:`-` implement deletion of user database and database users
* :feature:`-` implement password changes for database users

View file

@ -92,3 +92,29 @@ def delete_file_mailbox(username, mailboxname):
:rtype: str
"""
@shared_task
def create_file_website_hierarchy(username, sitename):
"""
This task creates the directory hierarchy for a website.
:param str username: the user name
:param str sitename: name of the website
:return: the directory name
:rtype: str
"""
@shared_task
def delete_file_website_hierarchy(username, sitename):
"""
This task deletes the website hierarchy recursively.
:param str username: the user name
:param str sitename: name of the website
:return: the directory name
:rtype: str
"""