1. 27 Sep, 2019 1 commit
  2. 12 Sep, 2019 1 commit
  3. 20 Nov, 2019 1 commit
  4. 14 Nov, 2019 2 commits
  5. 08 Oct, 2019 1 commit
  6. 18 Nov, 2019 1 commit
  7. 31 Jul, 2019 1 commit
  8. 01 Aug, 2019 1 commit
  9. 31 Jul, 2019 1 commit
  10. 24 Oct, 2019 1 commit
  11. 06 Nov, 2019 1 commit
  12. 24 Oct, 2019 1 commit
  13. 01 Aug, 2019 2 commits
  14. 06 Nov, 2019 1 commit
  15. 05 Nov, 2019 1 commit
  16. 22 May, 2019 1 commit
  17. 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
  18. 23 Oct, 2019 1 commit
  19. 18 Oct, 2019 1 commit
  20. 27 Aug, 2019 1 commit
  21. 26 Jun, 2019 1 commit
  22. 20 Jun, 2019 1 commit
  23. 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
  24. 06 Aug, 2019 3 commits
    • Denis Laxalde's avatar
      Added tag debian/3.26.14-1, 3.26.14 for changeset 172f683a84f6 · 1b4e32301f14
      Denis Laxalde authored
      --HG--
      branch : 3.26
      1b4e32301f14
    • 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
  25. 24 Jul, 2019 3 commits
  26. 23 Jul, 2019 1 commit
  27. 10 Jun, 2019 3 commits
  28. 13 Jun, 2019 1 commit
    • Jérémy Bobbio (Lunar)'s avatar
      [pkg] Tidy substvars usage in control file · d8c491c1e580
      Jérémy Bobbio (Lunar) authored
      The documentation package was missing a Built-Using field to record
      the provenance of the templates.
      
      Empty packages or meta packages do not require Depends on a specific
      Python version, so we can remove the relevant substvars.
      
      --HG--
      branch : 3.26
      d8c491c1e580
  29. 10 Jun, 2019 1 commit
  30. 05 Jun, 2019 1 commit
    • Jérémy Bobbio (Lunar)'s avatar
      [pkg] Switch to Debian source format 3.0 (quilt) · 46f6db5167e7
      Jérémy Bobbio (Lunar) authored
      This forces us to base the Debian package on the source of the Python
      package (as produced by running `python3 setup.py sdist`). While
      it might seem cumbersome, this greatly reduces likelyhood of mismatch
      between an installation via `pip` and one using the Debian package.
      
      `dpkg-source` will also document for us what is currently in the
      source repository but not in the Python package. Currently the missing
      file are:
      
      PKG-INFO
      cubicweb/sobjects/test/data/cubicweb_comment/schema.py
      cubicweb/sobjects/test/data/cubicweb_comment/__init__.py
      cubicweb/sobjects/test/data/cubicweb_comment/__pkginfo__.py
      cubicweb/sobjects/test/data/cubicweb_card/schema.py
      cubicweb/sobjects/test/data/cubicweb_card/entities.py
      cubicweb/sobjects/test/data/cubicweb_card/__init__.py
      cubicweb/sobjects/test/data/cubicweb_card/__pkginfo__.py
      cubicweb/server/test/data-migractions/cubicweb_comment/schema.py
      cubicweb/server/test/data-migractions/cubicweb_comment/__init__.py
      cubicweb/server/test/data-migractions/cubicweb_comment/__pkginfo__.py
      cubicweb/server/test/data-migractions/cubicweb_localperms/schema.py
      cubicweb/server/test/data-migractions/cubicweb_localperms/__init__.py
      cubicweb/server/test/data-migractions/cubicweb_localperms/__pkginfo__.py
      cubicweb/server/test/data-migractions/cubicweb_basket/schema.py
      cubicweb/server/test/data-migractions/cubicweb_basket/__init__.py
      cubicweb/server/test/data-migractions/cubicweb_basket/__pkginfo__.py
      cubicweb/server/test/data-migractions/migratedapp/cubicweb_comment/schema.py
      cubicweb/server/test/data-migractions/migratedapp/cubicweb_comment/__init__.py
      cubicweb/server/test/data-migractions/migratedapp/cubicweb_comment/__pkginfo__.py
      cubicweb/server/test/data-migractions/migratedapp/cubicweb_localperms/schema.py
      cubicweb/server/test/data-migractions/migratedapp/cubicweb_localperms/__init__.py
      cubicweb/server/test/data-migractions/migratedapp/cubicweb_localperms/__pkginfo__.py
      cubicweb/server/test/data-migractions/migratedapp/cubicweb_basket/schema.py
      cubicweb/server/test/data-migractions/migratedapp/cubicweb_basket/__init__.py
      cubicweb/server/test/data-migractions/migratedapp/cubicweb_basket/__pkginfo__.py
      cubicweb/server/test/data-migractions/migratedapp/cubicweb_tag/schema.py
      cubicweb/server/test/data-migractions/migratedapp/cubicweb_tag/__init__.py
      cubicweb/server/test/data-migractions/migratedapp/cubicweb_tag/__pkginfo__.py
      cubicweb/server/test/data-migractions/migratedapp/cubicweb_card/schema.py
      cubicweb/server/test/data-migractions/migratedapp/cubicweb_card/__init__.py
      cubicweb/server/test/data-migractions/migratedapp/cubicweb_card/__pkginfo__.py
      cubicweb/server/test/data-migractions/migratedapp/cubicweb_file/schema.py
      cubicweb/server/test/data-migractions/migratedapp/cubicweb_file/__init__.py
      cubicweb/server/test/data-migractions/migratedapp/cubicweb_file/__pkginfo__.py
      cubicweb/server/test/data-migractions/cubicweb_tag/schema.py
      cubicweb/server/test/data-migractions/cubicweb_tag/__init__.py
      cubicweb/server/test/data-migractions/cubicweb_tag/__pkginfo__.py
      cubicweb/server/test/data-migractions/cubicweb_card/schema.py
      cubicweb/server/test/data-migractions/cubicweb_card/__init__.py
      cubicweb/server/test/data-migractions/cubicweb_card/__pkginfo__.py
      cubicweb/server/test/data-migractions/cubicweb_file/schema.py
      cubicweb/server/test/data-migractions/cubicweb_file/__init__.py
      cubicweb/server/test/data-migractions/cubicweb_file/__pkginfo__.py
      cubicweb/test/data-rewrite/cubicweb_localperms/schema.py
      cubicweb/test/data-rewrite/cubicweb_localperms/__init__.py
      cubicweb/test/data-rewrite/cubicweb_localperms/__pkginfo__.py
      cubicweb/test/data-rewrite/cubicweb_card/schema.py
      cubicweb/test/data-rewrite/cubicweb_card/entities.py
      cubicweb/test/data-rewrite/cubicweb_card/__init__.py
      cubicweb/test/data-rewrite/cubicweb_card/__pkginfo__.py
      
      The current manifest will duplicate several files that are stored as
      symlinks in the Mercurial repository, hence the long list of ignored
      files in `extend-diff-ignore`.
      
      --HG--
      branch : 3.26
      46f6db5167e7