wip: Limits and resellers

* refactoring, limits are working pretty well
* domain admins can now create domains (under control) when the limits extension is enabled

see #105
This commit is contained in:
Antoine Nguyen
2012-01-24 11:23:31 +01:00
parent 3681bb4198
commit 1c51e97179
18 changed files with 300 additions and 88 deletions
+2
View File
@@ -31,6 +31,8 @@ events = [
"MailboxAliasDeleted",
"DomainAdminCreated",
"DomainAdminActions",
"DomainAdminDeleted",
"PasswordChange",
+2 -1
View File
@@ -34,4 +34,5 @@ class CommonExceptionCatcher(object):
return _render_error(request, errortpl="error_simple",
user_context=dict(error=str(exception)))
return ajax_response(request, status="ko", respmsg=str(exception))
return ajax_response(request, status="ko", respmsg=str(exception),
norefresh=True)