1. 26 Nov, 2019 1 commit
  2. 27 Sep, 2019 2 commits
  3. 26 Nov, 2019 1 commit
  4. 26 Sep, 2019 1 commit
  5. 27 Sep, 2019 1 commit
  6. 08 Oct, 2019 1 commit
  7. 25 Sep, 2019 1 commit
  8. 27 Sep, 2019 1 commit
  9. 12 Sep, 2019 1 commit
  10. 14 Nov, 2019 2 commits
  11. 08 Oct, 2019 1 commit
  12. 18 Nov, 2019 1 commit
  13. 31 Jul, 2019 1 commit
  14. 01 Aug, 2019 1 commit
  15. 31 Jul, 2019 1 commit
  16. 24 Oct, 2019 1 commit
  17. 06 Nov, 2019 1 commit
  18. 24 Oct, 2019 1 commit
  19. 01 Aug, 2019 2 commits
  20. 06 Nov, 2019 1 commit
  21. 05 Nov, 2019 1 commit
  22. 22 May, 2019 1 commit
  23. 29 May, 2019 1 commit
    • Laurent Peuch's avatar
      [pyramid/ctl] add a new option to activate the debugtoolbar (-t) · 30b205676182
      Laurent Peuch authored
      While this toolbar isn't yet very integrated with CW, it integrates an inline
      debugging shell like werkzeug for flask or django_extensions which greatly
      helps debugging on exception.
      
      It can already be manually activated by writting "pyramid.includes =
      pyramid_debugtoolbar" but it's hidden somewhere in the documentation and not
      very accessible and annoying to do.
      
      Closes #17219765
      30b205676182
  24. 27 Aug, 2019 1 commit
  25. 26 Jun, 2019 1 commit
  26. 11 Sep, 2019 3 commits
    • Laurent Peuch's avatar
      [fix] reference to underclared and unused variable kwargs · 1853c5e13154
      Laurent Peuch authored
      --HG--
      branch : 3.26
      1853c5e13154
    • Philippe Pepiot's avatar
      Avoid to update inlined relation column to NULL when deleting entities · 1a2c7d6397ec
      Philippe Pepiot authored
      When deleting entities, cubicweb run a rql DELETE on all relations to trigger hooks.
      For an inlined relation this also mean set the column to NULL. This operation
      may fail if there's additional constraints on the column.
      
      Also this is a weird and useless behavior since deleting the entity row will by
      definition delete the relation.
      
      We still doesn't handle the case where both subject and object are going to be
      deleted because rows need to be deleted in a particular order that cubicweb
      doesn't handle.
      
      Add a test checking UPDATE does not occur but hooks are correctly called.
      
      Closes #17236690
      
      --HG--
      branch : 3.26
      1a2c7d6397ec
    • 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
  27. 06 Aug, 2019 2 commits
    • Denis Laxalde's avatar
      [pkg] version 3.26.14 · 172f683a84f6
      Denis Laxalde authored
      --HG--
      branch : 3.26
      172f683a84f6
    • 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
  28. 24 Jul, 2019 2 commits
  29. 10 Jul, 2019 1 commit
    • Jérémy Bobbio (Lunar)'s avatar
      [skeleton] Update Debian packaging template · 376168d1b14a
      Jérémy Bobbio (Lunar) authored
      Here are multiple updates to the Debian packaging template provided when
      running `cubicweb-ctl newcube`:
      
       * Switch to source format 3.0 (quilt).
       * Switch to debhelper 9.
       * Switch to dh-python.
       * Add Python 3 packages.
       * Name the binary packages `python-cubicweb-CUBENAME` and
         `python3-cubicweb-CUBENAME` instead of just `cubicweb-CUBENAME` (which is
         still the source package).
       * Populate Depends using dh_python{2,3} support for Python requirements.
       * Run test suite at build time using pytest.
       * Add autopkgtest to run test suite against the installed package.
       * Bump Standards-Version to 4.3.0.
      
      --HG--
      branch : 3.26
      376168d1b14a
  30. 26 Jun, 2019 1 commit
  31. 17 Jun, 2019 1 commit
  32. 02 Jul, 2019 1 commit
  33. 27 Jun, 2019 1 commit
    • Denis Laxalde's avatar
      [autoform] Fix display_fields handling · 9f03df82f8de
      Denis Laxalde authored
      This follows-up on changeset b2ceb483e056 (present in 3.25 as well), in
      which AutomaticEntityForm.editable_attributes() was turned into a
      generator. In this method, in case display_fields is not None, we
      previously returned a list of (rtype, role); this was changed into a
      yield, but the change was missing a return after the loop in order not
      to go through the remainder of the function.
      
      Add tests for editable_attributes() method.
      
      --HG--
      branch : 3.26
      9f03df82f8de