Commit Graph
121 Commits
Author SHA1 Message Date
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
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