1. 27 Jan, 2021 2 commits
  2. 09 Jun, 2020 1 commit
  3. 05 Jan, 2021 1 commit
  4. 02 Feb, 2021 1 commit
  5. 12 Jan, 2021 1 commit
    • Nicola Spanti's avatar
      merge version 3.26.19 · cf0c640f6a49
      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
      cf0c640f6a49
  6. 14 Dec, 2020 2 commits
  7. 11 Dec, 2020 1 commit
  8. 31 Mar, 2020 1 commit
    • Philippe Pepiot's avatar
      [server] prevent returning closed cursor to the database pool · 1d2c1404a96a
      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
      1d2c1404a96a
  9. 10 Dec, 2020 1 commit
    • Nicola Spanti's avatar
      [server] Set language of connection in all cases · 2f450a68ad7f
      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
      2f450a68ad7f
  10. 22 Sep, 2020 1 commit
  11. 25 Sep, 2020 2 commits
  12. 18 Sep, 2020 1 commit
  13. 05 Mar, 2020 5 commits
  14. 25 Feb, 2020 4 commits
    • Julien Tayon's avatar
      [ldapfeed] add option to enable starttls on ldap servers · 2ad148f22c2f
      Julien Tayon authored
      Modern ldap servers connection often use, or even require starttls.
      
      --HG--
      branch : 3.26
      2ad148f22c2f
    • Philippe Pepiot's avatar
      [ldapfeed] re-enable ldap tests for python 3.7 · 4ebfdf607b49
      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
      4ebfdf607b49
    • Julien Tayon's avatar
      [ldapfeed] make code compatible with ldap3>=2 · 5c35b94debfc
      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's avatarPhilippe Pepiot <philippe.pepiot@logilab.fr>
      
      Closes #16073071
      
      --HG--
      branch : 3.26
      5c35b94debfc
    • Philippe Pepiot's avatar
      [ldapfeed] use LDAP_SCOPES to find user-scope · 1206b6fa1173
      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
      1206b6fa1173
  15. 13 Feb, 2020 2 commits
  16. 12 Feb, 2020 1 commit
  17. 10 Feb, 2020 1 commit
  18. 11 Dec, 2020 1 commit
  19. 31 Mar, 2020 1 commit
    • Philippe Pepiot's avatar
      [server] prevent returning closed cursor to the database pool · 11ecdf5aca80
      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
      11ecdf5aca80
  20. 10 Dec, 2020 1 commit
    • Nicola Spanti's avatar
      [server] Set language of connection in all cases · f32b158d8fed
      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
      f32b158d8fed
  21. 19 Jan, 2021 1 commit
  22. 18 Mar, 2020 2 commits
  23. 17 Mar, 2020 3 commits
    • Philippe Pepiot's avatar
      [pkg] add python3 only pypi specifiers · 7d67f69ebe88
      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
      7d67f69ebe88
    • Philippe Pepiot's avatar
      [pkg] the wheel is no longer universal · f7b4c3e047c8
      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
      f7b4c3e047c8
    • Philippe Pepiot's avatar
      [pkg] require python >= 3.4 · 87c3562b3bae
      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
      87c3562b3bae
  24. 05 Mar, 2020 2 commits
  25. 25 Feb, 2020 1 commit