Commit Graph
42 Commits
Author SHA1 Message Date
Antoine Nguyen 660eb3abcd Specify charset in all cases!
fixed #176
2011-10-21 17:29:55 +02:00
Antoine Nguyen cbc599e721 Some GUI improvments:
* Better layout for the editor used to compose messages,
* Attachments form cleanup

see #54 & #38
2011-09-15 10:12:05 +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 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 c91902b222 Fixed regression introduced with the fix of #141. 2011-06-30 22:01:54 +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 d421ac88a9 Better behaviour if the QUOTA feature is not supported by the server.
fixed #137
2011-05-06 09:44:47 +02:00
Antoine Nguyen 6e83db1307 Added call to 'decode'.
close #132
2011-04-13 16:46:30 +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 0bcaa4cc51 * New icon and parameter for the 'Drafts' folder,
* Fixed a refresh issue when removing a top folder (ie. with no parent) that is the current selection.
2011-03-21 18:32:07 +01: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 4823cb99ed Merge 2011-03-17 17:57:46 +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 e40536e4f8 Fixed bad recursive algorithm (I was adding the same entry twice, one with subfolders and the other with nothing). Also, leaf folders are not clickable anymore.
fixed #124
2011-03-17 17:33:55 +01:00
Antoine Nguyen 35ab1234ef fixed #119 & #120
* 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.
2011-02-16 17:23:59 +01:00
tonio 49ea2439e0 fixed #83
Code refactored to support refresh of all concerned pages.
2011-01-03 18:54:51 +01:00
tonio 23d5866296 fixed #111
Initialization problem.
2011-01-03 15:01:33 +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 913718ba9e fixed #104
Consider an image is a remote one if it's not present locally.
2010-12-21 09:28:24 +01:00
tonio 0973e0f260 fixed #93
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.
2010-11-27 10:34:09 +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 1bad67de74 Misc. fixes. 2010-10-25 17:45:44 +02:00
tonio 23e072dab0 fix: activate links by default to prevent an error when replying to an HTML message that contains images. 2010-10-15 20:11:27 +02:00
tonio ac47357f45 new: tinymce replaced by ckeditor (personal choice)
new: sending multipart/alternative messages when using the HTML editor (far from perfect...)
2010-09-17 17:17:40 +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 76870a2a8e fix: #67, folders disappear on page refresh. 2010-07-23 15:43:54 +02:00
tonio e066543d5b fix: #63, keep track of search parameters. 2010-07-19 16:00: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 0bba9f68b6 fix: ticket #53 : automatic folder refresh 2010-07-15 14:02:28 +02:00
tonio 364254e071 fix: renaming mailng to modoboa 2010-07-13 15:37:29 +02:00
tonio 18b9edea57 Shame on me... RTFM!!!!!
Do a select on a mailbox with the readonly parameter == True is not a good idea if you are going to make changes inside this mailbox (like a store command)
2010-07-05 14:40:21 +02:00
tonio 740b5f6940 Better handling of bad encoded addresses (f*****g spam!!) 2010-06-23 18:32:02 +02:00
tonio e16d266924 Ticket #74 2010-06-23 09:16:16 +02:00
tonio 83b14c5a43 IE compat. + bugfixes 2010-06-16 12:22:05 +02:00
tonio 131e78655c No more <img> in folders listing, using background instead. Hope IE will be happy with that... 2010-06-15 13:59:58 +02:00
tonio ace8448efe Ticket #57 and #59.
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.
2010-06-10 16:07:00 +02:00