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.
This commit is contained in:
tonio
2010-06-10 16:07:00 +02:00
parent 574e012088
commit ace8448efe
7 changed files with 134 additions and 64 deletions
+1 -2
View File
@@ -43,8 +43,7 @@
{% include "common/genericform.html" %}
</div>
{% if body %}
<textarea id="id_body" name="id_body">
{% if bodyheader %}{{ bodyheader }}{% endif %}
<textarea id="id_body" name="id_body">{% if bodyheader %}{{ bodyheader }}{% endif %}
{{ body }}
</textarea>
{% else %}
+1 -1
View File
@@ -6,7 +6,7 @@
<tr>
<th>{% trans "Attachments" %}</th>
<td>
{% url extensions.webmail.main.getattachment folder mail_id as test %}
{% url extensions.webmail.views.getattachment folder mail_id as test %}
{% for attachment in attachments %}
<a href="{{ test }}?fname={{ attachment }}">{{ attachment }}</a>
{% endfor %}
+3
View File
@@ -185,6 +185,9 @@ ul.visible {
if (resp.status == "ko") {
wm_updatelisting(resp);
window.fireEvent("resize");
if ($defined(resp.error)) {
infobox.error(resp.error);
}
return;
}
current_anchor.parse_string(resp.url, true).setparams(navparams);