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
* 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
* Complete folder manipulation support (add/edit/remove),
* Javascript code refactoring,
* MEDIAL_URL variable is now exposed to the javascript code.
see #55
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.
* I've fixed some little points I forgot during the last refactoring session
* Using the python "parseaddr" function is safer I think :-)
fixed#121
Simply delete existing <pre> tags add new ones when modifications are done.
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.
On UserLogout, the webmail extension tries to get an IMAPconnector object (which tries to connect with an IMAP server). When the configuration is invalid, this operation fails.
Catching exceptions on strategic places has solved the problems.
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.
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...
Go back to passwords stored in session. This time, we use pycrypto to encrypt passwords using the AES algorithm.
http://www.dlitz.net/software/pycrypto/
IMAP connections are now refreshed.