1. 08 Oct, 2019 1 commit
  2. 31 Jul, 2019 1 commit
  3. 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
  4. 08 May, 2019 1 commit
  5. 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
  6. 05 Mar, 2019 1 commit
  7. 22 Jun, 2017 1 commit
  8. 06 Jun, 2017 1 commit
    • Denis Laxalde's avatar
      [pyramid] Only expose 'cubicweb.bwcompat' setting for "all-in-one" configuration type · 36f1c7ab9010
      Denis Laxalde authored
      The "pyramid" instance configuration does not work with "cubiwceb.bwcompat"
      mode (on purpose). Yet, having the setting exposed in development.ini file
      (generate by `cubicweb-ctl create --config pyramid <cube> <instance>` command)
      is misleading and we want to remove it.
      
      Thus, we only query this setting when cubicweb configuration is "all-in-one" and
      drop the setting line from templated development.ini file. If the option is
      found and True for any other configuration type, we issue a user warning (and
      ignore the option).
      
      --HG--
      branch : 3.25
      36f1c7ab9010
  9. 10 Mar, 2017 2 commits
  10. 07 Apr, 2017 1 commit
  11. 24 Mar, 2017 1 commit
  12. 20 Mar, 2017 1 commit
  13. 28 Feb, 2017 1 commit
    • Denis Laxalde's avatar
      [pyramid] Drop module-level cache and cleanup looping tasks in tools · d432911e3c26
      Denis Laxalde authored
      And use a LRU cache over cached_build_user function.
      
      This looping task is problematic because it would not be run from within a
      WSGI application which does not have a repository with a tasks manager.
      
      This pulls an explicit dependency on 'repoze.lru' but it's not a big deal
      since pyramid already depends on this. RPM spec file not update since it does
      not even mention pyramid...
      d432911e3c26
  14. 21 Feb, 2017 3 commits
  15. 10 Feb, 2017 1 commit
  16. 09 Nov, 2016 1 commit
    • Sylvain Thénault's avatar
      Fix broken flake8 configuration · f09efeead7f9
      Sylvain Thénault authored
      and flake8 errors which were hidden by this breakage.
      
      flake8 --filename options doesn't work as expected:
      
      * it's expected to be a shell pattern, using stdlib's fnmatch.fnmatch function
        internally. This funciton thinks that 'cubicweb/x.py' doesn't match 'cubicweb/x.py'
        (there must be a reason but that's not the point), hence no file was actually
        checked ;
      
      * as this is a list of pattern, each encountered file is checked against each
        pattern, leading to run time explosion.
      
      So maintain list of files to check in a separated file and give this list to
      flake8 using unix's xarg command.
      
      --HG--
      branch : 3.24
      f09efeead7f9
  17. 06 Oct, 2016 1 commit
  18. 10 Feb, 2017 2 commits