Commit Graph
110 Commits
Author SHA1 Message Date
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
Antoine Nguyen adbbcfa458 Finally, create only one symlink to the plugin's static directory inside modoboa's root static directory. It is more compliant with the way django applications work.
close #17
2011-04-08 17:07:09 +02:00
Antoine Nguyen 0f4eea7030 The order parameters are displayed now depends on their declaration order.
close #126
2011-04-08 16:35:02 +02:00
Antoine Nguyen 62d792b419 First set of modifications in order to work with Django 1.3.
see #130
2011-03-30 19:17:24 +02:00
Pedro Gracia 3bb654379c minor fixes in order to run makemessages 2011-01-07 08:10:19 +01:00
tonio 2d9d0f1759 * see #107: do not include the domain's name in the path anymore,
* see #97: documentation updated with correct MySQL queries.
2011-01-06 23:45:16 +01:00
tonio d3418c8b11 * see #92: Some graphical fixes,
* Documentation update,
 * Ugly hacks to make the stats plugin work as before.
2011-01-05 22:50:44 +01:00
tonio 370cec7723 see #97
Removed useless attempt to update DomainAdmins group with correct permissions (it is done when fixtures are loaded).
2011-01-04 22:25:42 +01:00
tonio c43fdc2371 fixed #107
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.)
2011-01-01 16:32:52 +01:00
tonio 5e16fc2d6b see #78
At last something that works pretty well under firefox and with multiple selection possible (using Mootools HtmlTable.Select). There are some problems with IE and Chrome (the position: relative on td elements is not well supported).

Mootools update (1.3)

close #109

Checking limit when creating/updating a mailbox.
2010-12-24 14:20:17 +01:00
tonio e5e04e6991 see #103
This is almost over :
 * new informations available in misc. listings,
 * tables layout update.
2010-12-15 23:05:30 +01:00
tonio 6bd37f00e0 see #103
* Messages pluralization,
 * cleanup.
2010-12-14 23:07:00 +01:00
tonio 2d8fe2898f see #103
* Permissions update

close #97

 * Migration and fixtures update
2010-12-14 22:43:09 +01:00
tonio 2f4ba8cd3f see #103
Reverting bad modification.
2010-12-13 23:48:46 +01:00
tonio 9d95107bbd see #97
* 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.
2010-12-13 23:45:37 +01:00
tonio 308702ec10 see #103
Work in progress:
 * New domains admin page, all menus are now at the same level,
 * Views, models and forms partial refactoring (better code organization).
2010-12-07 23:44:28 +01:00
tonio 66f08caea9 see #97
Work still in progress. Added support for aliases creation and edition.

see #102

Starting with code refactoring before modifying UI.
2010-12-02 16:25:15 +01:00
tonio c052235644 see #97
Work in progress.
2010-12-01 15:03:42 +01:00
tonio 7261b1aeb2 fixed #100
New migration script to increase the maximum length of username and email fields (too small by default).
2010-11-30 21:41:24 +01:00
tonio d6cf51203b fixed #101
Do not try to rename a mailbox with the same name.
2010-11-30 16:18:00 +01:00
tonio 5ea3c71c9b see #98
Added more controls on forms validation.

see #65

Added messages for CRUD operations on domains/mailboxes/aliases.
2010-11-29 22:52:02 +01:00
tonio 5d425c8cbe fixed #96
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.
2010-11-27 17:49:55 +01:00
tonio bd32445e3e see #92
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
2010-11-26 17:35:23 +01:00
tonio eff3c7d815 see #92
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
2010-11-25 23:19:04 +01:00
tonio f7ec14bc87 see #92
I've started to separate permissions from the settings panel. It will be availab
le inside the Admin menu for users who are granted the "view_permissions" permis
sion.
2010-11-24 23:47:32 +01:00
tonio b33ac4f82a fix: no extensions without a proper icon! :-) 2010-10-25 23:21:51 +02:00
tonio 6719ab274f At last, ticket #48 is done! It's really going to simplify installation and management. 2010-10-25 14:50:16 +02:00
tonio c01d6de7d8 fix: return receipts are now displayed correctly.
new: parameters module refactored. The API is more simple now, there is no need to provide a module name anymore, this last is automatically guessed. Also, a new 'label' field can be provide when declaring a new parameter. It will be used instead of the name.

new: email parsing refactored. My first attempt was really ugly. I did not really studied the various RFC describing how messages are formatted or what IMAP fetch queries can do. Now, I hope this new code will face better unknown types. At least, It will be simpler to update.
2010-09-17 09:23:35 +02:00
Antoine Nguyen 07abae51c1 fix: typo and context inclusion. 2010-08-30 11:26:37 +02:00