1. 11 Apr, 2019 2 commits
  2. 05 Apr, 2019 1 commit
    • Denis Laxalde's avatar
      Add pytest-subtests to dev requirements · c197f9382e53
      Denis Laxalde authored
      This pytest plugin adds support for unittest's TestCase.subTest (for
      Python >= 3.4). Since we we now only support python3 and since we use a
      fair amount of these, let's benefit of better reporting by using this
      plugin.
      c197f9382e53
  3. 26 Mar, 2019 1 commit
  4. 05 Apr, 2019 4 commits
  5. 28 Mar, 2019 13 commits
  6. 27 Mar, 2019 2 commits
  7. 22 Mar, 2019 1 commit
    • Denis Laxalde's avatar
      Drop more deprecated code · 85194bd49119
      Denis Laxalde authored
      This follows up on changeset a8c1ea390400, in which code deprecated
      using logilab.common.deprecation got dropped. Now we also drop code
      deprecated using stdlib's warn(<msg>, DeprecationWarning).
      
      Notice that, as a consequence of dropping old/new etypes aliases in
      cubicweb/schema.py, we drop the import ETYPE_NAME_MAP (no longer
      needed); but since other modules imported that name from
      cubicweb.schema, we need to update the import statement to use
      "cubicweb" directly.
      85194bd49119
  8. 26 Mar, 2019 1 commit
  9. 22 Mar, 2019 5 commits
  10. 27 Mar, 2019 4 commits
  11. 21 Mar, 2019 5 commits
    • Denis Laxalde's avatar
      Flake8 cubicweb/devtools/httptest.py · 2b9e815d20dc
      Denis Laxalde authored
      2b9e815d20dc
    • Denis Laxalde's avatar
      Remove Twisted web server · 9d88e1177c35
      Denis Laxalde authored
      Twisted web server is not used anymore and has been superseded by
      pyramid many years ago. Furthermore, our usage is not compatible with
      Python 3. So we drop the "etwist" sub-package.
      
      As a consequence, "all-in-one" configuration type gets dropped as it was
      Twisted-specific. We resurrect it in cubicweb/pyramid/config.py by only
      keeping options used by the "pyramid". Similarly, we introduce a
      AllInOneCreateHandler in cubicweb/pyramid/pyramidctl.py that is
      basically the one that lived in cubicweb/etwist/twctl.py and is used to
      create the "all-in-one" instance. Added a TODO here about "pyramid.ini"
      that could be generated at the end of bootstrap() method.
      
      In cubicweb/devtools/httptest.py, CubicWebServerTC is now equivalent to
      CubicWebWsgiTC and the latter is dropped.
      9d88e1177c35
    • Denis Laxalde's avatar
      Separate twisted-specific configuration from WebConfigurationBase class · 7276f1c89ddd
      Denis Laxalde authored
      This is in preparation of dropping the Twisted web server backend.
      
      We thus draw a clearer line between what's specific to twisted from
      what's generic by moving WebConfigurationBase class into
      cubicweb/web/webconfig.py and only keeping twisted-related in
      AllInOneConfiguration (still living in cubicweb/etwist/twconfig.py).
      7276f1c89ddd
    • Denis Laxalde's avatar
      Flake8 cubicweb/web/webconfig.py · f9b46b63393e
      Denis Laxalde authored
      f9b46b63393e
    • Denis Laxalde's avatar
      Flake8 cubicweb/etwist/twconfig.py · bcb895aa2684
      Denis Laxalde authored
      bcb895aa2684
  12. 14 Mar, 2019 1 commit