Commit Graph
154 Commits
Author SHA1 Message Date
Antoine Nguyen 975b40e7d8 * Some javascript improvements
* Fixed little issues into the admin app

see #204
2012-04-03 12:54:57 +02:00
Antoine Nguyen 28e8e736ee wip: global UI refactoring
* More work on the webmail

see #204
2012-03-30 11:15:34 +02:00
Antoine Nguyen e10bba2d4e wip: Global user interface improvment
* The quarantine manager is done
* The webmail is not yet completed
* Cleanup
* More...
2012-03-27 12:02:46 +02:00
Antoine Nguyen a295aa1ab6 wip: Global user interface improvment
* Use of jQuery in place of Mootools
* Most of the custom mootools plugins have been ported to jQuery
* Use of bootstrap from Twitter in place of the old CSS
* Most of the admin templates have been reworked
* The sievefilters extension has been ported
* The postfix autoreply extension is almost done
* more...

see #204
2012-03-19 15:13:01 +01:00
Antoine Nguyen 97d3996d2e Top menubar modifications.
see #204
2012-02-21 17:49:41 +01:00
Antoine Nguyen d17e78ad02 Misc. fixes
see #105
2012-02-21 16:57:24 +01:00
Antoine Nguyen 8dfbb6224b Javascript code refactoring.
see #196
2012-02-02 13:51:42 +01:00
Antoine Nguyen 51e6b2dab3 A new button is available into the domain actions list and let the current user see the defined administrators of each domain.
see #201
2012-02-02 11:07:54 +01:00
Antoine Nguyen 027d77f949 wip: Resellers and limits
* A new limit has been added : the maximum number of domain admins a user can create
* Code simplification

see #105
2012-02-01 17:45:38 +01:00
Antoine Nguyen eb37c48109 Fixed wrong method call.
see #199
2012-02-01 16:55:22 +01:00
Antoine Nguyen ee83771b28 Merge 2012-02-01 16:50:31 +01:00
colangelo gerald 6d5f14ce62 Fix #199 2012-02-01 16:46:43 +01:00
Antoine Nguyen 8c29178f81 Fixed a permission issue for domain admins.
see #196
2012-02-01 16:46:15 +01:00
Antoine Nguyen 8e432d344e * Fixed broken unit tests (see #196)
* No more fixtures for the 'limits' extension (were causing problems when running tests) (see #105)
2012-01-31 17:09:13 +01:00
Antoine Nguyen a6fa82c392 * Fixed bad parameter name (see #196)
* Added missing migration to set the right permissions for existing users on existing domains (see #105)
2012-01-31 15:46:13 +01:00
Antoine Nguyen 5cfe9a3efd wip: Resellers and limits
Take care with proxy models and content types :p

(https://code.djangoproject.com/ticket/11154)

see #105
2012-01-30 17:54:09 +01:00
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