1. 13 Jul, 2021 2 commits
  2. 07 Jul, 2021 2 commits
  3. 29 Jun, 2021 1 commit
  4. 24 Jun, 2021 1 commit
  5. 09 Jun, 2021 1 commit
  6. 23 Jun, 2021 1 commit
  7. 16 Jun, 2021 1 commit
  8. 03 May, 2021 1 commit
  9. 16 Apr, 2021 1 commit
    • Nicolas Chauvat's avatar
      fix previous merge · e9bcc40fe720
      Nicolas Chauvat authored
      - renaming raw_input to input
      - removing from __future__ import
      - web/views/management.py
      
      --HG--
      branch : 3.28
      e9bcc40fe720
  10. 20 Apr, 2021 1 commit
  11. 16 Apr, 2021 1 commit
  12. 07 Apr, 2021 3 commits
  13. 25 Nov, 2020 1 commit
  14. 16 Jun, 2020 1 commit
  15. 09 Jun, 2020 2 commits
  16. 03 Jun, 2020 1 commit
  17. 27 May, 2020 1 commit
  18. 07 May, 2020 1 commit
  19. 12 Apr, 2020 2 commits
  20. 07 May, 2020 2 commits
  21. 20 Mar, 2020 1 commit
    • Simon Chabot's avatar
      [plpython] Drop plpython support · dcf0ff54dec6
      Simon Chabot authored
      plpython has never been used in cubicweb. Moreover, it prevents
      the upgrade to postgresql 12. In consequence, as of now importing
      plpython is the responsability of each cube.
      
      closes #17277267
      
      co-authors:
          - Guillaume Vandevelde
          - Katia Saurfelt
          - Noé Gaumont
          - Simon Chabot
      dcf0ff54dec6
  22. 10 Mar, 2020 1 commit
  23. 04 Jun, 2021 1 commit
  24. 19 Apr, 2021 1 commit
    • Nicolas Chauvat's avatar
      refactor: several minor changes · c744fa13f3c4
      Nicolas Chauvat authored
      - remove useless variable queries
      - rename q to rql
      - rename edict to entities_dict
      - generate pairs using functions from stdlib
      
      changes done reading this code trying to squash a bug that
      generates duplicates when inserting relations.
      c744fa13f3c4
  25. 21 May, 2021 1 commit
  26. 18 May, 2021 1 commit
  27. 12 May, 2021 1 commit
  28. 11 May, 2021 1 commit
  29. 04 May, 2021 1 commit
  30. 01 Jul, 2020 1 commit
    • Laurent Peuch's avatar
      fix: clear_cache might be unavailable on process termination · 633da6cce51a
      Laurent Peuch authored
      To quote official doc:
      
      > __del__() can be executed during interpreter shutdown. As a consequence, the
      > global variables it needs to access (including other modules) may already
      > have been deleted or set to None. Python guarantees that globals whose name
      > begins with a single underscore are deleted from their module before other
      > globals are deleted; if no other references to such globals exist, this may
      > help in assuring that imported modules are still available at the time when
      > the __del__() method is called.
      
      See: https://docs.python.org/3/reference/datamodel.html#object.__del__
      633da6cce51a
  31. 11 Sep, 2019 1 commit
    • Philippe Pepiot's avatar
      Drop useless ConstraintInsertionTC · 0481ece35cb2
      Philippe Pepiot authored
      This test does nothing and is here from the begining of repo history.
      
      Now it raise an error "TypeError: Skipped expected string as 'msg' parameter, got 'SkipTest' instead. Perhaps you meant to use a mark?"
      
      Just drop it.
      
      --HG--
      branch : 3.26
      0481ece35cb2
  32. 06 Aug, 2019 1 commit
    • Denis Laxalde's avatar
      [py3] Pass bytes as "msg" to smtplib.SMTP.sendmail() · 9fb4a71f119d
      Denis Laxalde authored
      When passing a unicode string to smtplib.SMTP.sendmail() as "msg"
      argument, there is an implicit bytes encoding using "ascii" encoding in
      python3. Of course this does not work if the string contains non-ASCII
      characters. In fact, config's sendmails method intent to pass bytes to
      smtplib.SMTP.sendmail() as it uses msg.as_string() method.
      Unfortunately, in python3, this method returns a unicode string whereas
      it returns a bytes string in python2; we thus fix this by calling
      as_bytes() method on python3.
      
      As there is no "as_bytes" method in python2, we need to handle python2
      compatibility by hand and either call as_string() or as_bytes().
      
      In testlib, where we mock smtplib.SMTP, we need to keep the "msg"
      argument of Email class (defined in testlib as well) a unicode string.
      Otherwise, it fails to be parsed by email.message_from_string() (from
      stdlib) if it is bytes on python3.
      
      --HG--
      branch : 3.26
      9fb4a71f119d
  33. 24 Jul, 2019 1 commit
    • Denis Laxalde's avatar
      [test] Replace symlinks in legacy_cubes by real copies · 7ed069414b27
      Denis Laxalde authored
      This solves a "python setup.py build" issue on my machine.
      Copying these files should not be a big deal because they
      have been dropped in the "default" branch and we would not
      touch them in 3.26 branch.
      
      --HG--
      branch : 3.26
      7ed069414b27