[tryton-debian-vcs] tryton-modules-authentication-sms branch debian updated. debian/4.2.0-1-2-g33ebda6
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Wed Jun 7 13:32:50 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-authentication-sms.git;a=commitdiff;h=debian/4.2.0-1-2-g33ebda6
commit 33ebda64b9364a6292e3fd4410d93bf346c81170
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Wed Jun 7 15:26:03 2017 +0200
Merging upstream version 4.4.0.
diff --git a/CHANGELOG b/CHANGELOG
index 1c72ee3..8508dbe 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,2 +1,5 @@
+Version 4.4.0 - 2017-05-01
+* Bug fixes (see mercurial logs for details)
+
Version 4.2.0 - 2016-11-28
* Initial release
\ No newline at end of file
diff --git a/COPYRIGHT b/COPYRIGHT
index 5ccc52f..8db91c6 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,5 +1,5 @@
-Copyright (C) 2016 B2CK
-Copyright (C) 2016 Cédric Krier
+Copyright (C) 2016-2017 B2CK
+Copyright (C) 2016-2017 Cédric Krier
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/PKG-INFO b/PKG-INFO
index 05c5f69..12cd790 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,12 @@
Metadata-Version: 1.1
Name: trytond_authentication_sms
-Version: 4.2.0
+Version: 4.4.0
Summary: Tryton module to authenticate users via SMS
Home-page: http://www.tryton.org/
Author: Tryton
Author-email: issue_tracker at tryton.org
License: GPL-3
-Download-URL: http://downloads.tryton.org/4.2/
+Download-URL: http://downloads.tryton.org/4.4/
Description: trytond_authentication_sms
==========================
diff --git a/locale/es_419.po b/locale/es_419.po
index 957b4e2..0900d08 100644
--- a/locale/es_419.po
+++ b/locale/es_419.po
@@ -24,7 +24,7 @@ msgstr ""
msgctxt "field:res.user.login.sms_code,create_uid:"
msgid "Create User"
-msgstr "Creado por usuario"
+msgstr ""
msgctxt "field:res.user.login.sms_code,id:"
msgid "ID"
@@ -40,7 +40,7 @@ msgstr ""
msgctxt "field:res.user.login.sms_code,user_id:"
msgid "User ID"
-msgstr "ID de usuario"
+msgstr ""
msgctxt "field:res.user.login.sms_code,write_date:"
msgid "Write Date"
@@ -48,7 +48,7 @@ msgstr ""
msgctxt "field:res.user.login.sms_code,write_uid:"
msgid "Write User"
-msgstr "Modificado por usuario"
+msgstr ""
msgctxt "help:res.user,mobile:"
msgid "Phone number that supports receiving SMS"
diff --git a/locale/lo.po b/locale/lo.po
index 86e1c5b..663f0b1 100644
--- a/locale/lo.po
+++ b/locale/lo.po
@@ -4,65 +4,56 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "error:res.user.login.sms_code:"
msgid "%(name)s code %(code)s"
-msgstr ""
+msgstr "%(name)s ລະຫັດ %(code)s"
msgctxt "error:res.user:"
msgid "Wrong mobile."
-msgstr ""
+msgstr "ໂທລະສັບມືຖືບໍ່ຖືກ"
-#, fuzzy
msgctxt "field:res.user,mobile:"
msgid "Mobile"
msgstr "ໂທລະສັບມືຖື"
-#, fuzzy
msgctxt "field:res.user.login.sms_code,code:"
msgid "Code"
-msgstr "ລະຫັດແຂວງ"
+msgstr "ລະຫັດ"
-#, fuzzy
msgctxt "field:res.user.login.sms_code,create_date:"
msgid "Create Date"
-msgstr "ສ້າງວັນທີ"
+msgstr "ວັນທີສ້າງ"
-#, fuzzy
msgctxt "field:res.user.login.sms_code,create_uid:"
msgid "Create User"
-msgstr "ສ້າງຜູ້ໃຊ້ງານ"
+msgstr "ຜູ້ສ້າງ"
-#, fuzzy
msgctxt "field:res.user.login.sms_code,id:"
msgid "ID"
-msgstr "ເລດລຳດັບ"
+msgstr "ເລກລຳດັບ"
-#, fuzzy
msgctxt "field:res.user.login.sms_code,rec_name:"
msgid "Name"
msgstr "ຊື່"
-#, fuzzy
msgctxt "field:res.user.login.sms_code,user:"
msgid "User"
msgstr "ຜູ້ໃຊ້"
msgctxt "field:res.user.login.sms_code,user_id:"
msgid "User ID"
-msgstr ""
+msgstr "ລະຫັດຜູ້ໃຊ້"
-#, fuzzy
msgctxt "field:res.user.login.sms_code,write_date:"
msgid "Write Date"
msgstr "ວັນທີບັນທຶກ"
-#, fuzzy
msgctxt "field:res.user.login.sms_code,write_uid:"
msgid "Write User"
-msgstr "ສ້າງຜູ້ໃຊ້"
+msgstr "ຜູ້ບັນທຶກ"
msgctxt "help:res.user,mobile:"
msgid "Phone number that supports receiving SMS"
-msgstr ""
+msgstr "ເລກໂທລະສັບ ທີ່ຮອງຮັບ ການຮັບຂໍ້ຄວາມສັ້ນ"
msgctxt "model:res.user.login.sms_code,name:"
msgid "SMS Code"
-msgstr ""
+msgstr "ລະຫັດຂໍ້ຄວາມສັ້ນ"
diff --git a/locale/pt_BR.po b/locale/pt_BR.po
index ac54491..e5e29c4 100644
--- a/locale/pt_BR.po
+++ b/locale/pt_BR.po
@@ -4,65 +4,56 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "error:res.user.login.sms_code:"
msgid "%(name)s code %(code)s"
-msgstr ""
+msgstr "%(name)s código %(code)s"
msgctxt "error:res.user:"
msgid "Wrong mobile."
-msgstr ""
+msgstr "Celular errado."
-#, fuzzy
msgctxt "field:res.user,mobile:"
msgid "Mobile"
msgstr "Celular"
-#, fuzzy
msgctxt "field:res.user.login.sms_code,code:"
msgid "Code"
msgstr "Código"
-#, fuzzy
msgctxt "field:res.user.login.sms_code,create_date:"
msgid "Create Date"
msgstr "Data de criação"
-#, fuzzy
msgctxt "field:res.user.login.sms_code,create_uid:"
msgid "Create User"
-msgstr "Usuário de Criação"
+msgstr "Criado por"
-#, fuzzy
msgctxt "field:res.user.login.sms_code,id:"
msgid "ID"
msgstr "ID"
-#, fuzzy
msgctxt "field:res.user.login.sms_code,rec_name:"
msgid "Name"
msgstr "Nome"
-#, fuzzy
msgctxt "field:res.user.login.sms_code,user:"
msgid "User"
msgstr "Usuário"
msgctxt "field:res.user.login.sms_code,user_id:"
msgid "User ID"
-msgstr ""
+msgstr "ID do Usuário"
-#, fuzzy
msgctxt "field:res.user.login.sms_code,write_date:"
msgid "Write Date"
msgstr "Editado por"
-#, fuzzy
msgctxt "field:res.user.login.sms_code,write_uid:"
msgid "Write User"
-msgstr "Gravado por"
+msgstr "Editado por"
msgctxt "help:res.user,mobile:"
msgid "Phone number that supports receiving SMS"
-msgstr ""
+msgstr "Número de telefone que pode receber SMS"
msgctxt "model:res.user.login.sms_code,name:"
msgid "SMS Code"
-msgstr ""
+msgstr "Código SMS"
diff --git a/locale/sl.po b/locale/sl.po
index e10c6c2..a3694a7 100644
--- a/locale/sl.po
+++ b/locale/sl.po
@@ -4,33 +4,28 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "error:res.user.login.sms_code:"
msgid "%(name)s code %(code)s"
-msgstr ""
+msgstr "%(name)s šifra %(code)s"
msgctxt "error:res.user:"
msgid "Wrong mobile."
-msgstr ""
+msgstr "Napačna mobilna številka."
-#, fuzzy
msgctxt "field:res.user,mobile:"
msgid "Mobile"
msgstr "Mobilni"
-#, fuzzy
msgctxt "field:res.user.login.sms_code,code:"
msgid "Code"
msgstr "Šifra"
-#, fuzzy
msgctxt "field:res.user.login.sms_code,create_date:"
msgid "Create Date"
msgstr "Izdelano"
-#, fuzzy
msgctxt "field:res.user.login.sms_code,create_uid:"
msgid "Create User"
msgstr "Izdelal"
-#, fuzzy
msgctxt "field:res.user.login.sms_code,id:"
msgid "ID"
msgstr "ID"
@@ -39,29 +34,26 @@ msgctxt "field:res.user.login.sms_code,rec_name:"
msgid "Name"
msgstr "Ime"
-#, fuzzy
msgctxt "field:res.user.login.sms_code,user:"
msgid "User"
msgstr "Uporabnik"
msgctxt "field:res.user.login.sms_code,user_id:"
msgid "User ID"
-msgstr ""
+msgstr "Uporabnik"
-#, fuzzy
msgctxt "field:res.user.login.sms_code,write_date:"
msgid "Write Date"
msgstr "Zapisano"
-#, fuzzy
msgctxt "field:res.user.login.sms_code,write_uid:"
msgid "Write User"
msgstr "Zapisal"
msgctxt "help:res.user,mobile:"
msgid "Phone number that supports receiving SMS"
-msgstr ""
+msgstr "Telefonska številka, ki prejema SMS"
msgctxt "model:res.user.login.sms_code,name:"
msgid "SMS Code"
-msgstr ""
+msgstr "SMS šifra"
diff --git a/tests/test_authentication_sms.py b/tests/test_authentication_sms.py
index 5270762..3aedb8b 100644
--- a/tests/test_authentication_sms.py
+++ b/tests/test_authentication_sms.py
@@ -35,6 +35,14 @@ class AuthenticationSMSTestCase(ModuleTestCase):
self.addCleanup(config.remove_section, 'authentication_sms')
del sms_queue[:]
+ length = config.get('password', 'length')
+ config.set('password', 'length', 4)
+ self.addCleanup(config.set, 'password', 'length', length)
+
+ entropy = config.get('password', 'entropy')
+ config.set('password', 'entropy', 0.8)
+ self.addCleanup(config.set, 'password', 'entropy', entropy)
+
@with_transaction()
def test_sms_code_default_code(self):
pool = Pool()
@@ -98,7 +106,7 @@ class AuthenticationSMSTestCase(ModuleTestCase):
SMSCode = pool.get('res.user.login.sms_code')
user = User(
- name='sms', login='sms', password='sms', mobile='+123456789')
+ name='sms', login='sms', password='secret', mobile='+123456789')
user.save()
with self.assertRaises(LoginException) as cm:
@@ -108,7 +116,7 @@ class AuthenticationSMSTestCase(ModuleTestCase):
with self.assertRaises(LoginException) as cm:
User.get_login('sms', {
- 'password': 'sms',
+ 'password': 'secret',
})
self.assertEqual(cm.exception.name, 'sms_code')
self.assertEqual(cm.exception.type, 'char')
@@ -117,7 +125,7 @@ class AuthenticationSMSTestCase(ModuleTestCase):
sms_code = record.code
user_id = User.get_login('sms', {
- 'password': 'sms',
+ 'password': 'secret',
'sms_code': sms_code,
})
self.assertEqual(user_id, user.id)
diff --git a/tryton.cfg b/tryton.cfg
index f16e421..b0ef2e5 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=4.2.0
+version=4.4.0
depends:
ir
res
diff --git a/trytond_authentication_sms.egg-info/PKG-INFO b/trytond_authentication_sms.egg-info/PKG-INFO
index 182d7c8..3217235 100644
--- a/trytond_authentication_sms.egg-info/PKG-INFO
+++ b/trytond_authentication_sms.egg-info/PKG-INFO
@@ -1,12 +1,12 @@
Metadata-Version: 1.1
Name: trytond-authentication-sms
-Version: 4.2.0
+Version: 4.4.0
Summary: Tryton module to authenticate users via SMS
Home-page: http://www.tryton.org/
Author: Tryton
Author-email: issue_tracker at tryton.org
License: GPL-3
-Download-URL: http://downloads.tryton.org/4.2/
+Download-URL: http://downloads.tryton.org/4.4/
Description: trytond_authentication_sms
==========================
diff --git a/trytond_authentication_sms.egg-info/requires.txt b/trytond_authentication_sms.egg-info/requires.txt
index 6d6abc8..ef686e0 100644
--- a/trytond_authentication_sms.egg-info/requires.txt
+++ b/trytond_authentication_sms.egg-info/requires.txt
@@ -1 +1 @@
-trytond >= 4.2, < 4.3
+trytond >= 4.4, < 4.5
--
tryton-modules-authentication-sms
More information about the tryton-debian-vcs
mailing list