1. 12 Mar, 2020 2 commits
  2. 10 Mar, 2020 1 commit
    • Nicolas Chauvat's avatar
      [pyramid] add routes /{eid} and /{etype}/{eid} to return RDF when rdf mimetype... · a17cbf539a69
      Nicolas Chauvat authored
      [pyramid] add routes /{eid} and /{etype}/{eid} to return RDF when rdf mimetype in Accept HTTP headers
      
      * simplify pyramid/resources.py by making the classmethod that returns a closure
        a simple function and removing the EntityResource and ETYpeResource classes
        that are barely used
      * replace predicate MatchIsETypePredicate with MatchIsETypeAndEIDPredicate
      
      Team: famarger, schabot, nchauvat, fferry, ethieblin
      a17cbf539a69
  3. 12 Feb, 2020 1 commit
  4. 05 Dec, 2019 2 commits
  5. 03 Dec, 2019 1 commit
  6. 29 Nov, 2019 1 commit
    • Philippe Pepiot's avatar
      Fix flake8 issues · ea8801f10a72
      Philippe Pepiot authored
      cubicweb/server/sources/native.py:505: [E501] line too long (101 > 100 characters)
      cubicweb/pyramid/__init__.py:31: [E501] line too long (104 > 100 characters)
      ea8801f10a72
  7. 24 Jul, 2019 1 commit
  8. 26 Nov, 2019 1 commit
  9. 27 Sep, 2019 2 commits
  10. 26 Nov, 2019 1 commit
  11. 26 Sep, 2019 1 commit
  12. 27 Sep, 2019 1 commit
  13. 08 Oct, 2019 1 commit
  14. 12 Sep, 2019 1 commit
  15. 14 Nov, 2019 2 commits
  16. 08 Oct, 2019 1 commit
  17. 18 Nov, 2019 1 commit
  18. 31 Jul, 2019 1 commit
  19. 01 Aug, 2019 1 commit
  20. 31 Jul, 2019 1 commit
  21. 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
  22. 27 Aug, 2019 1 commit
  23. 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
  24. 21 May, 2019 3 commits
  25. 22 Aug, 2019 1 commit
  26. 15 May, 2019 4 commits
  27. 10 May, 2019 2 commits
  28. 08 May, 2019 3 commits