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. 12 Sep, 2019 1 commit
  8. 14 Nov, 2019 2 commits
  9. 08 Oct, 2019 1 commit
  10. 18 Nov, 2019 1 commit
  11. 31 Jul, 2019 1 commit
  12. 01 Aug, 2019 1 commit
  13. 31 Jul, 2019 1 commit
  14. 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
  15. 27 Aug, 2019 1 commit
  16. 12 Jun, 2019 1 commit
    • Laurent Peuch's avatar
      [pyramid/debug] on every request display request path and selected controller · 90348f847b4b
      Laurent Peuch authored
      This will display lines like:
      
      2019-06-12 16:26:57 - (cubicweb.pyramid.bwcompat) INFO: REQUEST [view] '/wiki/334037' selected controller <cubicweb.web.views.basecontrollers.ViewController object at 0x7f133802ae90> at /root/.virtualenvs/abreton/local/lib/python2.7/site-packages/cubicweb/web/views/basecontrollers.py:120
      
      2019-06-12 16:26:59 - (cubicweb.pyramid.bwcompat) INFO: REQUEST [data] '/data/ea5eb3b6f89fba0ff4b671093c88d3dd/images/cartouche-mur.jpg' selected controller <cubicweb.web.views.staticcontrollers.DataController object at 0x7f1332a84d50> at /root/.virtualenvs/abreton/local/lib/python2.7/site-packages/cubicweb/web/views/staticcontrollers.py:179
      
      The make debugging easier as this isn't done already. Most other web frameworks
      do something similar for the developper to be able to understand what is
      happening right now.
      
      Closes #17219741
      90348f847b4b
  17. 21 May, 2019 3 commits
  18. 22 Aug, 2019 1 commit
  19. 15 May, 2019 4 commits
  20. 10 May, 2019 2 commits
  21. 08 May, 2019 4 commits
  22. 05 Apr, 2019 1 commit
  23. 26 Mar, 2019 1 commit
  24. 05 Apr, 2019 1 commit
    • Denis Laxalde's avatar
      Drop python2 support · 26744ad37953
      Denis Laxalde authored
      This mostly consists in removing the dependency on "six" and updating
      the code to use only Python3 idioms.
      
      Notice that we previously used TemporaryDirectory from
      cubicweb.devtools.testlib for compatibility with Python2. We now
      directly import it from tempfile.
      26744ad37953
  25. 28 Mar, 2019 1 commit
  26. 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
  27. 21 Mar, 2019 1 commit
    • 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
  28. 14 Mar, 2019 1 commit
    • Denis Laxalde's avatar
      Drop most of deprecated code · a8c1ea390400
      Denis Laxalde authored
      As in previous changesets, most code has been deprecated since a very
      long time. This changeset concerns "core" cubicweb modules
      (e.g. "server", "appobjects") for which it's not easy to handle change
      atomically.
      
      In cubicweb/server/querier.py, we adjust empty_rset() function as a
      result of "rqlst" argument of ResultSet being dropped. (There was no use
      of the keyword argument anyways.)
      a8c1ea390400
  29. 12 Feb, 2019 1 commit