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.
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.
* Dragging multiple messages is now possible
* Better email displaying (headers and body are now displayed at the same time...)
* Bugfixes about dropdown menus
* Misc. enhancements.
Many updates in this commit:
* first work on the webmail plugin, for now only emails listing and folders browsing is supported...
* New login form,
* New graphical layout (still needing improvments)
* code factoring between webmail and quarantine plugins
* etc.