[tryton-debian-vcs] tryton-modules-web-user branch debian created. e11a5575c12af873106e7802b105d4bc325f07c7
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Thu Jun 8 11:21:31 UTC 2017
The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-web-user.git;a=commitdiff;h=e11a5575c12af873106e7802b105d4bc325f07c7
commit e11a5575c12af873106e7802b105d4bc325f07c7
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Thu Jun 8 13:20:43 2017 +0200
Merging upstream version 4.4.1.
diff --git a/CHANGELOG b/CHANGELOG
index 8508dbe..5e71603 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.4.1 - 2017-06-06
+* Bug fixes (see mercurial logs for details)
+
Version 4.4.0 - 2017-05-01
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index 859b260..a8c4d29 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_web_user
-Version: 4.4.0
+Version: 4.4.1
Summary: Tryton module to manage Web users
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/setup.cfg b/setup.cfg
index 861a9f5..8bfd5a1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,4 @@
[egg_info]
tag_build =
tag_date = 0
-tag_svn_revision = 0
diff --git a/tryton.cfg b/tryton.cfg
index 9d64b6c..7b704ec 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=4.4.0
+version=4.4.1
depends:
ir
party
diff --git a/trytond_web_user.egg-info/PKG-INFO b/trytond_web_user.egg-info/PKG-INFO
index 3c695ab..bb65572 100644
--- a/trytond_web_user.egg-info/PKG-INFO
+++ b/trytond_web_user.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-web-user
-Version: 4.4.0
+Version: 4.4.1
Summary: Tryton module to manage Web users
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/user.py b/user.py
index 6a29628..56df83a 100644
--- a/user.py
+++ b/user.py
@@ -8,6 +8,7 @@ import time
import urllib
import urlparse
import uuid
+from email.header import Header
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
@@ -43,7 +44,7 @@ def _send_email(from_, users, email_func):
msg, title = email_func(user)
msg['From'] = from_
msg['To'] = user.email
- msg['Subject'] = title
+ msg['Subject'] = Header(title, 'utf-8')
sendmail_transactional(from_, [user.email], msg)
@@ -56,10 +57,10 @@ def _get_email_template(report, user):
if ext == 'html' and html2text:
h = html2text.HTML2Text()
msg = MIMEMultipart('alternative')
- msg.attach(MIMEText(h.handle(content), 'plain'))
- msg.attach(MIMEText(content, ext))
+ msg.attach(MIMEText(h.handle(content), 'plain', _charset='utf-8'))
+ msg.attach(MIMEText(content, ext, _charset='utf-8'))
else:
- msg = MIMEText(content, ext)
+ msg = MIMEText(content, ext, _charset='utf-8')
return msg, title
--
tryton-modules-web-user
More information about the tryton-debian-vcs
mailing list