- 05 Jan, 2021 1 commit
-
-
Nicola Spanti authored
--HG-- branch : 3.27
-
- 02 Feb, 2021 1 commit
-
-
Simon Chabot authored
--HG-- branch : 3.27
-
- 12 Jan, 2021 1 commit
-
-
Nicola Spanti authored
Thanks to this, we are sure that things added to 3.26 are also in 3.27. We removed things related to Python 2. --HG-- branch : 3.27
-
- 14 Dec, 2020 2 commits
-
-
Elouan Martinet authored
--HG-- branch : 3.26
-
Elouan Martinet authored
--HG-- branch : 3.26
-
- 11 Dec, 2020 1 commit
-
-
Elouan Martinet authored
This includes code made by Philippe Pepiot and Laurent Peuch (revisions b10688370322 to 7f2e4c3518de), edited to add Python 2 support. --HG-- branch : 3.26
-
- 31 Mar, 2020 1 commit
-
-
Philippe Pepiot authored
In since c8c6ad8adbdb init_repository use repo.internal_cnx() instead of repo.system_source.get_connection() so it use the pool and we should not close cursors from the pool before returning it back. Otherwise we may have "connection already closed" error. This bug only trigger when connection-pool-size = 1. Since we are moving to use a dynamic pooler we need to get this fixed. This does not occur with sqlite since the connection wrapper instantiate new cursor everytime, but this occur with other databases. --HG-- branch : 3.26
-
- 10 Dec, 2020 1 commit
-
-
Nicola Spanti authored
If `self.lang` was already defined (aka not `None`), the language was not set. In consequence, when a pview was called, the language was always considered to be english, this piece of information is used by gettext, so it resulted in translation always done in english language instead of using user preference as excepted. closes #87 --HG-- branch : 3.26
-
- 22 Sep, 2020 1 commit
-
-
Henri Cazottes authored
--HG-- branch : 3.26
-
- 25 Sep, 2020 2 commits
-
-
Nicola Spanti authored
--HG-- branch : 3.26
-
Nicola Spanti authored
--HG-- branch : 3.26
-
- 18 Sep, 2020 1 commit
-
-
Fabien Amarger authored
To do so we use the functools "cmp_to_key" to convert from the old cmp to the new key param type. --HG-- branch : 3.26
-
- 05 Mar, 2020 5 commits
-
-
Simon Chabot authored
--HG-- branch : 3.26
-
Simon Chabot authored
--HG-- branch : 3.26
-
Simon Chabot authored
'unicode' is not defined in python3 --HG-- branch : 3.26
-
Philippe Pepiot authored
--HG-- branch : 3.26
-
Philippe Pepiot authored
--HG-- branch : 3.26
-
- 25 Feb, 2020 4 commits
-
-
Julien Tayon authored
Modern ldap servers connection often use, or even require starttls. --HG-- branch : 3.26
-
Philippe Pepiot authored
This was disabled because ldap3<2 wasn't compatible with python 3.7 While I'm here, drop unseless newline. --HG-- branch : 3.26
-
Julien Tayon authored
* Some constants have been renamed. * Directly bind when data-cnx-dn/data-cnx-password are provided, some servers, including ours require this. * Use raise_exceptions=True to avoid ignored ldap errors * raise in case of failed anonymous bind * do not search for "dn" attribute because this raise an "invalid attribute" with new ldap3 versions * Password is now returned as bytes, so no longer need to encode them before crypt. * modification_date is now returned as a datetime object Co-Authored-By:
Philippe Pepiot <philippe.pepiot@logilab.fr> Closes #16073071 --HG-- branch : 3.26
-
Philippe Pepiot authored
We already have LDAP_SCOPES dict defining possible scopes, this avoid possible code injection from config... Thus we can drop global variables already defined in LDAP_SCOPES since they are not used directly anymore. --HG-- branch : 3.26
-
- 13 Feb, 2020 2 commits
-
-
Guillaume Vandevelde authored
--HG-- branch : 3.26
-
Guillaume Vandevelde authored
--HG-- branch : 3.26
-
- 12 Feb, 2020 1 commit
-
-
Nicola Spanti authored
--HG-- branch : 3.26
-
- 10 Feb, 2020 1 commit
-
-
Guillaume Vandevelde authored
It is a graft of cc71a801b846 from version 3.26.15, less Python 2 specific code. --HG-- branch : 3.27
-
- 11 Dec, 2020 1 commit
-
-
Elouan Martinet authored
This includes code made by Philippe Pepiot and Laurent Peuch (revisions b10688370322 to 7f2e4c3518de), edited to add Python 2 support. --HG-- branch : 3.27
-
- 31 Mar, 2020 1 commit
-
-
Philippe Pepiot authored
In since c8c6ad8adbdb init_repository use repo.internal_cnx() instead of repo.system_source.get_connection() so it use the pool and we should not close cursors from the pool before returning it back. Otherwise we may have "connection already closed" error. This bug only trigger when connection-pool-size = 1. Since we are moving to use a dynamic pooler we need to get this fixed. This does not occur with sqlite since the connection wrapper instantiate new cursor everytime, but this occur with other databases. --HG-- branch : 3.27
-
- 10 Dec, 2020 1 commit
-
-
Nicola Spanti authored
If `self.lang` was already defined (aka not `None`), the language was not set. In consequence, when a pview was called, the language was always considered to be english, this piece of information is used by gettext, so it resulted in translation always done in english language instead of using user preference as excepted. closes #87 --HG-- branch : 3.27
-
- 19 Jan, 2021 1 commit
-
-
Noé Gaumont authored
--HG-- branch : 3.27
-
- 18 Mar, 2020 2 commits
-
-
Philippe Pepiot authored
--HG-- branch : 3.27
-
Philippe Pepiot authored
--HG-- branch : 3.27
-
- 17 Mar, 2020 3 commits
-
-
Philippe Pepiot authored
This is only for pypi statistics purposes. Also add 'Programming Language :: Python', looks obvious but seems to be sane to have this as well. --HG-- branch : 3.27
-
Philippe Pepiot authored
Since we're only py3 compatible. In practice this changes nothing since we don't upload cubicweb wheels to pypi. --HG-- branch : 3.27
-
Philippe Pepiot authored
This avoid pip pulling a version that does not run on python2 when using a python2 environment. Since we already released some 3.27 releases in pypi, I think we should release 3.27.3 and remove releases 3.27.2, 3.27.1 and 3.27.0 from pypi. --HG-- branch : 3.27
-
- 05 Mar, 2020 2 commits
-
-
Philippe Pepiot authored
--HG-- branch : 3.27
-
Philippe Pepiot authored
--HG-- branch : 3.27
-
- 25 Feb, 2020 4 commits
-
-
Julien Tayon authored
Modern ldap servers connection often use, or even require starttls. --HG-- branch : 3.27
-
Philippe Pepiot authored
This was disabled because ldap3<2 wasn't compatible with python 3.7 While I'm here, drop unseless newline. --HG-- branch : 3.27
-
Julien Tayon authored
* Some constants have been renamed. * Directly bind when data-cnx-dn/data-cnx-password are provided, some servers, including ours require this. * Use raise_exceptions=True to avoid ignored ldap errors * raise in case of failed anonymous bind * do not search for "dn" attribute because this raise an "invalid attribute" with new ldap3 versions * Password is now returned as bytes, so no longer need to encode them before crypt. * modification_date is now returned as a datetime object Co-Authored-By:
Philippe Pepiot <philippe.pepiot@logilab.fr> Closes #16073071 --HG-- branch : 3.27
-
Philippe Pepiot authored
We already have LDAP_SCOPES dict defining possible scopes, this avoid possible code injection from config... Thus we can drop global variables already defined in LDAP_SCOPES since they are not used directly anymore. --HG-- branch : 3.27
-