Commit Graph
123 Commits
Author SHA1 Message Date
tonio b86e003e92 Merge 2011-12-12 17:23:05 +01:00
Antoine Nguyen 1fa5639aa3 Missing import added.
fixed #183
2011-12-12 17:18:36 +01:00
Antoine Nguyen c7cfac8e0a wip: webmail big refactoring and perfomance improvment
Misc. changes.
2011-12-01 17:36:21 +01:00
Antoine Nguyen 767343640a When the demo application is enabled, we disable the ''password change'' action for default super administrator.
see #187
2011-11-24 11:00:24 +01:00
tonio 39d105890a Merge 2011-11-18 23:48:30 +01:00
Antoine Nguyen d23923a248 If the demo application is activated, an announcement now appears on the login page to inform visitors on how to use the demo. 2011-11-18 23:42:31 +01:00
Antoine Nguyen 00434d819a Added fixtures files for the demo application.
see #187
2011-11-18 15:59:09 +01:00
Antoine Nguyen 487266ecb5 wip: Webmail big refactoring and performance improvment
Using LSUB and LIST-EXTENDED.
2011-11-16 18:44:10 +01:00
Antoine Nguyen 2e2011e070 Do not leave <img> tag with an empty src field!!
fixed #189
2011-11-14 17:08:21 +01:00
Antoine Nguyen beb861e22d Some corrections.
The test virus message is well detected by Amavis but not the spam one.

see #187
2011-11-09 09:55:53 +01:00
Antoine Nguyen 07f6f3e91e Changed virus message structure.
see #187
2011-11-09 09:24:19 +01:00
Antoine Nguyen 0688f6b215 New 'demo' application.
see #187
2011-11-07 17:56:19 +01: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 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 9ddb27573f At last, composing messages with attachments is possible!!
It is a really simple implementation but I think it will be enough for a begining. Users can add multiple attachments with a message, each attachment must not be larger than a customizable limit.

see #38
2011-09-08 09:13:13 +02:00
Antoine Nguyen 547b081ee9 Fixed navigation issue that occured after a message removal.
see #155
2011-08-26 17:56:17 +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 968f91be1a Quarantine plugin update:
* Using django's orm to access amavis database
* Many UI improvments
* Better use of the RS field

fixed #88 & #72
see #155
2011-08-23 16:36:57 +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 e94e64ac25 Fixed bad import. 2011-06-24 12:14:52 +02:00
Antoine Nguyen 5f6d664b10 * Removed useless template
* Fixed missing import statements
2011-06-20 13:55:48 +02:00
Antoine Nguyen b403107a8e The second argument of a LIMIT clause in an SQL query corresponds to the number of rows, not to the last index.
fixed #141
2011-06-20 13:40:04 +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 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 a15d879109 First working version of the new 'message filters' plugin. Currently, only the raw edition mode is available. I also include my own MANAGESIEVE client implementation.
see #139
2011-05-18 14:50:05 +02:00
Antoine Nguyen f1a78e612c New substitution to replace unauthorized white spaces in 'encoded-words'. (see rfc 2047 section 2)
fixed #136
2011-05-02 09:39:12 +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
Antoine Nguyen 3a29f1345e * Added result messages about folder operations,
* Better display (I hope) of those messages.

see #55
2011-03-30 19:15:21 +02:00
Antoine Nguyen 53f1cb5899 Simple way to display IMAP errors:
* raise a specific exception in the imap connector,
 * Add a simple middleware to catch this exception and return a specific response that will be correctly displayed by the webmail.

see #127
2011-03-28 17:12:12 +02:00
Antoine Nguyen b03f807a5e * Better folders display,
* Complete folder manipulation support (add/edit/remove),
* Javascript code refactoring,
* MEDIAL_URL variable is now exposed to the javascript code.

see #55
2011-03-21 17:44:21 +01:00
Antoine Nguyen 67357e66af see #55: folders manipulation. Work in progress.
This commit adds the following features:
 * Folder creation,
 * Folder modification,
 * Folder removal.

There are still issues with subfolders but they should not be too complicated to fix.

I've also done some javascript refactoring.
2011-03-17 17:41:10 +01:00
Antoine Nguyen f5d7c328be Removed debug lines. 2011-02-16 17:28:41 +01:00
Antoine Nguyen 919d9bd5b6 Fixed unicode related problem. 2011-02-04 10:40:08 +01:00
Antoine Nguyen 24431b3439 fixed #80
The real problem was due to the use of a <pre> tag to display plaintext messages. By default, it does not automatically cut long lines as with other tags. Some CSS stuff fixed the problem.

Fixed bad behaviour on some combinations between display mode and message available formats. (ie. plain/text or plain/html)
2011-02-04 10:39:47 +01:00
tonio df7dfe3859 fixed #114
Falling back to automated decoding in case of an unknown charset.
2011-01-13 15:53:34 +01:00
tonio abd924aea6 see #107
Removed remaining use of full_address to search for a mailbox.
2011-01-09 18:44:43 +01:00
Pedro Gracia 3bb654379c minor fixes in order to run makemessages 2011-01-07 08:10:19 +01:00
tonio 49ea2439e0 fixed #83
Code refactored to support refresh of all concerned pages.
2011-01-03 18:54:51 +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 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 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 50af9c4355 see #78
Work in progress. Multi selection is working (using shift+click) but I've made a mistake somewhere because the default shift key behaviour is not working anymore.
2010-11-27 10:02:08 +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 2977825231 Fixed #91.
This solution is working pretty well :-)
2010-11-23 09:15:37 +01:00
tonio 9dcac66d17 Fix: wrong decoding of subjects (headers) not encoded like the python function 'decode_header' understands rfc2047. Added file u2u_decode.py which corrects this problem, taken from here: http://bugs.python.org/issue1079. 2010-11-06 13:17:11 +01:00
tonio c57ba5ab3e fix: bad url in 'stats' extension.
fix: bad url in chpassword form.
2010-10-30 11:06:35 +02:00