Commit Graph
193 Commits
Author SHA1 Message Date
Nicolas Évrard 98ea3a3ee5 Add python3 support
issue3211
review25151002
2016-06-03 19:26:44 +02:00
Nicolas Évrard 3d7640a6f8 Remove useless building libs installation 2016-06-03 19:24:35 +02:00
Nicolas Évrard 7fccc5bb9e Switch to ldap3
issue5324
review19251002
2016-06-03 16:40:43 +02:00
Cédric Krier 189f994533 Update to the new login API
issue5521
review20961002
2016-05-31 12:55:54 +02:00
Cédric Krier d74a359f8b Re-update translations 2016-05-07 15:11:22 +02:00
Cédric Krier 7600f04b81 Increase version number 2016-05-02 15:58:39 +02:00
Cédric Krier 183a1ba4dc Added tag 4.0.0 for changeset 939bc69d8f15 2016-05-02 15:57:45 +02:00
Cédric Krier 7f55fef06b Prepare release 4.0.0 2016-05-02 15:57:39 +02:00
Cédric Krier c206c7c5ef Update translations 2016-05-01 11:01:32 +02:00
Cédric Krier 19cea3e374 Update tox.ini for the new required version of psycopg2
issue5391
2016-03-13 16:19:53 +01:00
Cédric Krier 9aed6e768b Make TestCase create and drop its database
and use with_transaction decorator.

issue5263
review20711002
2016-02-06 19:12:44 +01:00
Sharoon Thomas 9ee2d438f4 Update dependency for new webdav module
issue4703
review15181002
2016-01-16 19:23:34 +01:00
Cédric Krier 42ea6418ab Increase version number 2015-11-02 15:53:42 +01:00
Cédric Krier d6cdb71900 Added tag 3.8.0 for changeset 19a676437cee 2015-11-02 15:53:11 +01:00
Cédric Krier 643f969d67 Prepare release 3.8.0 2015-11-02 15:53:10 +01:00
Cédric Krier c140bd09ea Update translations 2015-10-31 11:08:48 +01:00
Cédric Krier b67b425393 Add Hungarian 2015-09-02 13:52:23 +02:00
Guillem Barba 45bc723276 convert LDAP unicode params to str
python-ldap expects string encoded in UTF-8

issue4754
review15251002
2015-07-22 13:41:21 +07:00
Cédric Krier f2c99952f6 Add Italian 2015-07-09 15:42:29 +02:00
Cédric Krier 0ffdde7451 Add Portuguese (Brazil) 2015-06-22 22:10:02 +02:00
Cédric Krier 2378e4bdbb Increase version number 2015-04-20 15:59:14 +02:00
Cédric Krier 88823c05ff Added tag 3.6.0 for changeset 3574b7c3ed4b 2015-04-20 15:58:57 +02:00
Cédric Krier 0444368952 Prepare release 3.6.0 2015-04-20 15:58:56 +02:00
Cédric Krier fc328f56fe Use explicit default keyword for config
issue4662
review8051002
2015-03-22 03:18:59 +01:00
Cédric Krier 6694196042 Fix default value type of active_directory
It must be a boolean instead of a string.
2015-03-19 23:14:31 +01:00
Cédric Krier b8b2bf12d1 Improve logging
issue4458
review11781002
2015-03-02 23:40:37 +01:00
Cédric Krier bb4fb002a6 Add check for default model access
When group access exists, a default model access should be defined otherwise
all access are given to non group users.

issue4485
review5941002
2015-01-27 18:13:36 +01:00
Cédric Krier 3498b9542c Force urlparse to parse query for ldap
Old version of urlparse doesn't parse query for ldap
see http://bugs.python.org/issue9374
2015-01-24 22:37:35 +01:00
Cédric Krier a33d61fdf4 Install dev packages in drone to compile python-ldap 2015-01-24 19:33:23 +01:00
Cédric Krier 03482fa3e7 Add tox and drone
issue4431
2015-01-24 19:13:56 +01:00
David Harper 11761b24a7 Use the user name from ldap to search for existing tryton user
ldap attributes can be case sensitive or insensitive, by using the login name
from ldap to search for the tryton user, then the mapping of users between ldap
and tryton should be one to one.

issue4385
review12781002
2014-12-08 17:54:24 +01:00
Sergi Almacellas Abellana d0e7b3e0da Force bindname to be a string instead of a list
issue4383
review8791002
2014-12-05 18:29:17 +01:00
Cédric Krier 364e89e15d Sync dependencies in INSTALL
issue4379
review7761002
2014-12-04 23:42:29 +01:00
David Harper 77ac9f3c95 Fix parameter of set_passwd_ldap_user error
login is a string and not an instance of user.

issue4394
review13761003
2014-12-03 17:03:31 +01:00
Cédric Krier f8cb2bdcd8 Fix most flake8 errors
review8771002
2014-12-02 12:55:22 +01:00
Cédric Krier 83e8da3070 Increase version number 2014-10-20 14:53:15 +02:00
Cédric Krier 0b2dd7b16e Added tag 3.4.0 for changeset 2801b74d1f44 2014-10-20 14:52:58 +02:00
Cédric Krier 711a90712c Prepare release 3.4.0 2014-10-20 14:52:57 +02:00
Cédric Krier 6aeaf57fea Clean translations 2014-10-19 13:55:56 +02:00
Bruno M. Villasanti 43177425fa Update translation for es_AR 2014-10-16 19:58:53 -03:00
Fabián Calle d742f24f0b Add es_EC translation 2014-10-16 17:10:03 -05:00
Mathias Behrle 83239ba699 Update translation for de_DE 2014-10-16 22:56:07 +02:00
Oscar Alvarez 5e8a5ee7db Update es_CO translation 2014-10-16 09:42:25 -05:00
Cédric Krier 537d039adb Update fr_FR translation
review5691002
2014-10-16 15:52:29 +02:00
Venceslav Vezjak 418dff6a61 update sl_SI translation 2014-10-16 10:01:46 +02:00
Cédric Krier adaa96bfa1 Skip ldap if no connection
if no ldap connection is defined fallback to local database.

issue4232
review12591003
2014-10-06 22:30:55 +02:00
Cédric Krier 5375a62089 Use trytond configuration for connection
issue4179
review5631002
2014-09-20 13:58:31 +02:00
Cédric Krier 2f93feb20b Enforce string usage with ldap
The singleton could be a fake record and so it will return None for all fields.
ldap requires string as parameters otherwise it raise a TypeError.

issue4159
review12561002
2014-09-19 18:39:49 +02:00
Cédric Krier cfb6ee01d5 Use context to check model and field access
issue4081
review8481002
2014-09-17 21:45:29 +02:00
Cédric Krier 1d1d2e6c64 Don't catch all Exception
- add some logging
- fail properly when more than 1 user is found
- add unittest

review6411002
2014-07-09 00:23:24 +02:00