Commit Graph
101 Commits
Author SHA1 Message Date
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
tonio 1bad67de74 Misc. fixes. 2010-10-25 17:45:44 +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
tonio cc7da3f5d6 wip: replacing "/static/" occurences with something more flexible. 2010-08-05 17:49:29 +02:00
tonio 01fda22180 fix: using MEDIA_URL inside templates.
wip: #36, using tinyMCE (django-tinymce) to write messages in HTML. Currently, compose a new message is working pretty well. Answering or forwarding a message is still a mess...
2010-08-05 17:17:50 +02:00
tonio 1be74a87a2 Bugfixes 2010-07-27 17:13:13 +02:00
tonio 5239bc2da9 fix: the untildate field is not mandatory! 2010-07-27 15:51:45 +02:00
tonio 9888be1ba9 wip: #65, more messages added. Ticket reported to a future release. 2010-07-27 10:37:06 +02:00
tonio b70987e782 wip: #69, per-user quota display
Added ProgressBar mootools plugin bu David Walsh (http://davidwalsh.name/progress-bar-animated-mootools).
2010-07-16 18:06:17 +02:00
tonio 65322de109 fix: ticket #70: per user signature
fix: correctly escaping/unescaping parameters.
2010-07-15 16:58:23 +02:00
tonio 0bba9f68b6 fix: ticket #53 : automatic folder refresh 2010-07-15 14:02:28 +02:00
tonio 0398a614b0 fix: again renaming, the last one, I promise! 2010-07-13 17:18:04 +02:00
tonio 2ec0b7a910 fix: end of renaming. 2010-07-13 17:14:53 +02:00
tonio 364254e071 fix: renaming mailng to modoboa 2010-07-13 15:37:29 +02:00
tonio 506a49f52b fix: ticket #75, we are now using an absolute path when saving images to filesystem. 2010-06-30 09:17:31 +02:00
tonio bb16a44edb Bad translation + nicer presentation (for empty folder or empty quarantine). 2010-06-24 13:54:43 +02:00
tonio 01dea31fb4 Better handling of inline images... 2010-06-22 11:31:34 +02:00
tonio f189602c8a Two bugfixes. One was affecting both webmail and quarantine modules. 2010-06-18 18:24:14 +02:00
tonio ac7ae13dac Temp. fix for ticket #71 2010-06-18 17:34:53 +02:00
tonio 97265e45af #68 : added "application" mime main type to handled attachments. 2010-06-18 09:52:21 +02:00
tonio f6afe4a68e Bugfixes... 2010-06-15 09:43:52 +02:00
tonio 99f5bd8510 Few bugfixes. 2010-06-14 17:13:33 +02:00