Commit Graph
138 Commits
Author SHA1 Message Date
Antoine Nguyen 645ebfd70f Extension structure has been simplified. All extensions have been ported to the new version.
see #197
2012-01-27 17:03:54 +01:00
Antoine Nguyen b7d77254ce wip: Resellers and limits (see #105)
* Added support for migrations
* Big refactoring of the admin code

done: Support for SHA256 algorithm to store passwords (fix #195)
done: admin models refactoring (fix #196)
2012-01-27 13:51:29 +01:00
Antoine Nguyen 8dd717a334 wip: Resellers and limits
* We now make a difference between users that own a specific object and users that have access to a specific object
* Limits are not moved anymore (from one reseller to a domain admin) when we grant access to a domain

see #105
2012-01-25 11:57:37 +01:00
Antoine Nguyen 1c51e97179 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
2012-01-24 11:23:31 +01:00
Antoine Nguyen 3681bb4198 wip: resellers and limits
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
2012-01-20 17:33:05 +01:00
Antoine Nguyen 2a0e9fdf3a wip: resellers and limits
* New events
* Updated events API
* New models to implement limits (more flexible)
2012-01-16 14:44:32 +01:00
Antoine Nguyen 99888a861b wip: limits and new reseller profile
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
2012-01-12 16:49:09 +01:00
Antoine Nguyen b1e70c513f For now, it is not necessary to make a distinction between "loginname" and "address".
The definitive format is : "address;password;first name;last name".

see #191
2012-01-10 11:08:39 +01:00
Antoine Nguyen 7eee4c1284 Changing local passwords was not working anymore :p
see #192
2012-01-10 11:04:03 +01:00
Antoine Nguyen 96dfb877ae Support for LDAP password modification (user level only for now). I need a working environment to check if postfix/dovecot accept the way I encrypt passwords.
see #192
2011-12-28 13:30:01 +01:00
Antoine Nguyen affbfb2fd7 New event callbacks to update the list of available applications when an extension is disabled/enabled.
fixed #185
2011-12-13 16:56:43 +01:00
Antoine Nguyen 4fcc5b7911 * New "import data" feature (only supports mailboxes for now)
* Some javascript cleanup into the admin. application

see #191
2011-12-09 14:38:56 +01:00
Antoine Nguyen efc024ad93 * Fixed bad uid/gid for demo fixtures (must be 500:500)
* Fixed incorrect search pattern to activate the demo applicaton

see #187
2011-11-18 20:11:26 +01:00
Antoine Nguyen fe46cb7d52 With data from the 'auth' application, it works better :p
see #187
2011-11-18 16:09:01 +01:00
Antoine Nguyen 00434d819a Added fixtures files for the demo application.
see #187
2011-11-18 15:59:09 +01:00
Antoine Nguyen a35925726c Catch the DatabaseError exception in order to allow the syncdb execution.
fix #184
2011-11-01 09:58:35 +01:00
Antoine Nguyen e7d61c829b Fixed bad indentation and other little mistakes.
see #162
2011-09-30 11:49:32 +02:00
gerald.colangelo 068bfe438c Replace tab by 4 spaces in indentation 2011-09-30 11:40:23 +02:00
gerald.colangelo 270638f263 Migrate list ("yes","no") to list_yesno for admin parameter CREATE_DIRECTORIES 2011-09-30 11:36:13 +02:00
gerald.colangelo 4a70cc3616 Added "CREATE_DIRECTORIES" parameters in admin panel.
If CREATE_DIRECTORIE is set to "no", skip directories creation on filesystem.
2011-09-29 18:37:16 +02:00
Antoine Nguyen 858fe43cdd "Top redirection" feature.
A new admin parameter is available to specify the default application that will be launched when no one is present in the url. (ie. when the top level "/" is called).

fixed #165
2011-09-20 14:57:04 +02:00
Antoine Nguyen af4aab9fa6 At last, I've taken some time to create first level tests for the admin. application. 2011-09-16 16:33:03 +02:00
Antoine Nguyen 9cde410ae4 * Many changes about internationalization (using gettext_noop when needed for example)
* 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
2011-09-14 14:18:46 +02:00
Antoine Nguyen f4aa77e018 New database cleanup script.
fixed #163
2011-09-07 09:13:42 +02:00
Antoine Nguyen 1eeab023ac * Django 1.2 compatibility for LDAP authentication
* Fixed bad import statements

fixed #159
2011-08-30 19:14:46 +02:00
Antoine Nguyen 6f182d7850 * No more code inside lib/__init__.py
* Fixed a circular import raised only when using commands like 'manage.py syncdb'
2011-08-25 17:22:37 +02:00
Antoine Nguyen aabfa1a5e8 cleaner code.
see #156
2011-08-24 17:46:53 +02:00
Antoine Nguyen 8856bad0ba Display the domain name when needed. 2011-08-24 17:14:25 +02:00
Antoine Nguyen dcb0ccc2cf Added support for LDAP authentication using this extra module : http://pypi.python.org/pypi/django-auth-ldap.
All we have to do is automatically populate the database upon successful login (if the domain and/or mailbox do not exist).

fixed #156
2011-08-24 15:40:24 +02:00
Antoine Nguyen 893dcfdb3f Some code cleanup.
fixed #76
2011-07-27 10:49:55 +02:00
Antoine Nguyen 81a03d6c65 * Added pagination for admin pages (domains, mailboxes, etc.)
* Code refactoring

see #76
2011-07-26 14:53:43 +02:00
Antoine Nguyen 95f1323b88 Do not try to retrieve a mailbox if the user is the default administrator.
fixed #151
2011-07-13 22:20:59 +02:00
Antoine Nguyen 2c012a389a Using mb.user instead of user which is not defined :p
fixed #149
2011-07-13 10:35:25 +02:00
Antoine Nguyen 1aa169bfb3 Updated translations files. 2011-07-09 15:17:46 +02:00
Antoine Nguyen 8e25023c00 Added unique constraint on the Domain.name column. 2011-07-09 15:08:21 +02:00
Antoine Nguyen db24deb216 * Domain removal is working again
* Fixed old references to 'response.error'
2011-07-03 11:43:27 +02:00
Antoine Nguyen f18492bcca Fixed insufficiente size. 2011-07-03 11:33:38 +02:00
Antoine Nguyen 22858c9865 * It is now possible to remove all external addresses from an alias
* Fixed bad SQL queries in the documentation (those used to find aliases)

see #143
2011-07-03 11:19:36 +02:00
Antoine Nguyen fef543af6d Fixed various bugs. 2011-07-01 17:28:50 +02:00
Antoine Nguyen 0ab1823d3a Server-side protection to disallow domain admins to create inter-domains aliases.
see #143
2011-06-30 18:31:55 +02:00
Antoine Nguyen 638ad9ab59 New migration script to correct old installations.
see #148
2011-06-29 17:08:16 +02:00
Antoine Nguyen aa93a5c8cb Fixed invalid path.
fixed #147 & #148
2011-06-29 10:16:14 +02:00
Antoine Nguyen f68e17bf51 Using User.date_joined field to record the permissions' definition date.
fixed #146
2011-06-23 14:49:45 +02:00
Antoine Nguyen 17693dd95e Added dates support for all objects by the admin application:
* Creation date,
* Last modification date updated on each call to save()

fixed #144
2011-06-21 17:25:26 +02:00
Antoine Nguyen c3ee07a419 Removed useless statement. 2011-06-20 10:41:56 +02:00
Antoine Nguyen 462c86136c The split_mailbox function was to emailutils.py. 2011-06-20 10:04:22 +02:00
Antoine Nguyen 7338dd1c8f First version of the sieve plugin is over \o/ It needs more testing but all functionalities are implemented. Maybe some extra sieve extensions would be nice but I'll see that based on user feedback.
I also include some general refactoring in this commit.

see #139
2011-06-19 19:11:02 +02:00
Antoine Nguyen add222840c Added per-user forward definition (with a custom interface available inside the "Options" menu). It will not be available for admins.
see #143
2011-06-06 15:44:30 +02:00
Antoine Nguyen a2ec92daa7 Work in progress for #140 and #143
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.
2011-06-06 11:55:13 +02:00
Antoine Nguyen 6d397aabe0 Fixed broken code (was not working since the last big refactoring I did in the admin code).
fix #133
2011-04-15 15:28:44 +02:00