Commit Graph
52 Commits
Author SHA1 Message Date
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 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 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 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 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 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 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
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 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 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 c052235644 see #97
Work in progress.
2010-12-01 15:03:42 +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 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 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
tonio 364254e071 fix: renaming mailng to modoboa 2010-07-13 15:37:29 +02:00
tonio 1c35ce5757 Ticket #52
From now, users can store their own "preferences" inside MailNG.
2010-06-09 15:58:46 +02:00
tonio 67c66ed649 #48 : rollback, this is not trivial. 2010-05-26 16:50:09 +02:00
tonio 08543e5348 Partial implementation of ticket #40
(modifying an alias is not working yet)
2010-05-21 18:55:32 +02:00
tonio b33fdb45d9 Tickets #8 and #22.
Not finished yet...
2010-05-07 18:45:50 +02:00
tonio 7480e479e7 Ticket #48.
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.
2010-05-04 17:25:23 +02:00
tonio c698b028a9 Oups... 2010-04-19 18:33:52 +02:00
tonio a49fe36cb0 End of ticket #26 2010-04-19 18:28:29 +02:00
tonio 34cc4a81ac First work for ticket #26. 2009-11-06 18:47:01 +01:00
tonio 592c664fdb Help text was not at the right place. 2009-10-30 11:33:21 +01:00
tonio 3fe149adb0 Bugfix on permissions verification (on domain admin was able to access any domain :p)
Added help tips when filling forms (domain, mailbox, etc.)
French translation update.

Tips class added to mootools-more.js is not the official version (1.2.4.2). There are some bugs with this version so I've decided to integrate modifications coming from here : https://mootools.lighthouseapp.com/projects/24057/tickets/167-tips-class-issues-in-more-1242
2009-10-30 11:28:40 +01:00
tonio 9a663c1f8b Ticket #9
Mootools update (1.2.4 now).
Added custom confirmation box using SqueezeBox.

Bugfix: avoid main frame repositionning when loading a SqueezeBox.
Bugfix: update autoreply address alias when modifying an email address.
2009-10-20 17:06:29 +02:00
tonio 3910ca497f Ticket #10 + CSS bugfix 2009-10-16 17:02:08 +02:00
Antoine Nguyen fcab20b608 Important update of the plugin engine.
New plugin that allows the handling of an Amavisd-new SQL quarantine.

NB: a DB connections manager has been added inside the lib because
Django does not support multiple connections at the same time. The
main consequence is that we don't use an ORM and that we have to
rewrite a small wrapper that supports several DB (mysql, postgresql, etc.).
Adding a dependancy to an existing ORM module (like SQLalchemy) is
heavy, we don't want that for now.
2009-06-26 17:13:35 +02:00
tonio 55f6c56c9f Version 0.6 !! 2009-06-19 13:54:05 +02:00
tonio 428cd4f143 Tickets #6 and #7 + bugfixes 2009-06-09 15:45:17 +02:00
tonio 7c594cfa2c First functionnal version of permissions handling! Many thanks to Django developers :D 2009-04-08 17:49:47 +02:00
tonio 6cfd76809f Some work about permissions. Not finished yet... 2009-04-06 18:14:20 +02:00
tonio 9f28169de7 French translation. 2009-03-30 08:25:56 +02:00
Antoine Nguyen c214a38587 Bugfix: postfix is looking for a relative path when looking for
a mailbox storage path. Absolute path was used in the Mailbox model.
Added documentation.
2009-03-27 15:03:51 +01:00
tonio ab5b8d96c3 Authentication mechanism changed. I don't use Django's builtin
passwords encryption anymore because the default format is something
like : <algo>$<salt>$<password>
I really think this format is not compatible with external softwares
so I use simple hashes.
2009-03-27 09:25:09 +01:00