I've finally started to rethink the database structure. The goal I'm trying to reach: only use User objects to manage permissions and accesses to the webui and associate other objects to them if needed (like mailboxes).
see #105
We add an intermediate role : Reseller. It is somewhere between a super administrator and a domain administrator. A reseller can create objects (a limited or not amount) and then define permissions on those objects:
* Create a domain admins,
* Assign limits to those admins,
* ...
see #105
* Some strings were not detected by makemessages (for example in javascript files, behind comments...). There are still some issues with that but I think I'll have to wait a future Django release.
* Support for per-user language selection is almost done.
see #166
Aliases to external addresses are now supported. Alias creation/modification forms have been rewritten. (autocompletion of addresses, dynamic number of input fields)
see #143
First version of the postfixadmin to modoboa migration script. It has not been tested deeply but I think it should work pretty well.
see #140
Some javascript errors (SqueezeBox related) have been fixed.
Removed useless fields (full_address) and added associated migrations. SQL queries used by postfix or dovecot will need to be updated. (as the documentation)
see #103
Big refactoring of objects creation and edition. (javascript cleanup, forms factoring, etc.)
* Added domain aliases delete,
* Permissions are not implemented yet.
see #103
* New generic create and remove buttons,
* New javascript confirmation module,
* Fixed a lot of problems about objects relations removal,
* Simpler interface (no more dropdown menus),
* Multiple removal support.
Work in progress:
* New domains admin page, all menus are now at the same level,
* Views, models and forms partial refactoring (better code organization).
Querysets used to populate form fields are more filtered (ie. the default admin is ignored, as the current logged in user).
see #92
More protection against errors that can happen when defining new permissions.
I think the refactoring is over :-) I need to add specifec events that will allow plugins to define their own roles inside the hierarchy.
Otherwise, the graphical part needs some improvment, actually it's not really pretty :p
Work in progress. I've moved permissions management to the new dedicated page. Adding permissions is working but deleting ones. I must also filter the list of users available when creating a super admin because the default admin appears inside :p
wip: #36, using tinyMCE (django-tinymce) to write messages in HTML. Currently, compose a new message is working pretty well. Answering or forwarding a message is still a mess...
perms object is no longer passed to builtins or filters, we use user instead
(it seems that perms content is different with Django 1.2)
#48 : I think I've found a way to include templatetags dynamically, using add_to_builtins.
This is not finished yet. More work than what I expected but the main part is done.
It will need a lot of testing... There is still a bug when activating a new extension
in development mode (ie. with python web server), I think it does not occur behind
a real web server.
Many updates in this commit:
* first work on the webmail plugin, for now only emails listing and folders browsing is supported...
* New login form,
* New graphical layout (still needing improvments)
* code factoring between webmail and quarantine plugins
* etc.
Postfix Autoreply plugin is not a real plugin... I've begun the conversion but it will cause a modification into the SQL schema and I don't know how to handle migrations yet...