1. 21 Jul, 2021 1 commit
  2. 10 May, 2017 1 commit
  3. 20 Mar, 2017 1 commit
  4. 17 Mar, 2017 2 commits
  5. 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
  6. 21 Feb, 2017 1 commit
    • Denis Laxalde's avatar
      [skeleton,pyramid] Move pyramid app definition in cubicweb.pyramid module · bb0dfc7d2d0e
      Denis Laxalde authored
      The application definition is actually not specific to the final "cube" being
      bootstrapped from skeleton. This patch thus move the pyramid application
      function into cubicweb.pyramid module and let cubicweb register the
      "paste.app_factory" entry point (instead of the bootstrapped cube).
      
      Useless call to `config.scan` is dropped along the way.
      bb0dfc7d2d0e
  7. 07 Dec, 2016 1 commit
    • Denis Laxalde's avatar
      [pkg] Set an upper bound to passlib · ccf61228a802
      Denis Laxalde authored
      We're using a deprecated API and are getting the following deprecation
      warning:
      
      ::
      
          the method passlib.context.CryptContext.encrypt() is deprecated as of
          Passlib 1.7, and will be removed in Passlib 2.0, use CryptContext.hash()
          instead.
      
      So let's make sure we're getting a working library.
      
      
      [ci skip]
      
      --HG--
      branch : 3.24
      ccf61228a802
  8. 05 Jul, 2016 3 commits
    • Denis Laxalde's avatar
      [pkg] Properly export data files in setup.py and adjust "newcube" test · 63ac20ef558e
      Denis Laxalde authored
      With the new package layout (everything under "cubicweb" package), the custom
      install_lib rule which makes use of include_dirs defined in __pkginfo__.py did
      not prepend the package name to source directories to be copied. Fixing this.
      
      Also, in setup.py's export() function, the destination directories' path to be
      created during source tree walk was wrong.
      
      All this makes cubicweb/skeleton directory (which is not a package) properly
      installed by setup.py.
      
      The test in cubicweb/devtools/test/unittest_devctl.py wasn't properly
      implemented because it used an installation of cubicweb in "develop" mode
      which shadows such packaging issues. Also it used "python -m cubicweb" instead
      of directly "cubicweb-ctl" and the former appears to fall back to using the
      cubicweb package *from sources* instead of the installed one.
      
      Now that this test runs against the installed version of cubicweb, fix
      MANIFEST.in to include tox.ini files (cubicweb's and skeleton's) as this is
      expected from the test.
      
      Closes #14127941.
      
      --HG--
      branch : 3.23
      63ac20ef558e
    • Denis Laxalde's avatar
      [pkg] Handle verbose option in setup.py's export function · 06bcb7e7a69c
      Denis Laxalde authored
      Make debugging easier.
      
      --HG--
      branch : 3.23
      06bcb7e7a69c
    • Denis Laxalde's avatar
      [pkg] Drop unused EMPTY_FILE global variable · b5cd8a2cccab
      Denis Laxalde authored
      --HG--
      branch : 3.23
      b5cd8a2cccab
  9. 02 Mar, 2021 1 commit
  10. 15 Feb, 2018 1 commit
  11. 24 Jan, 2018 5 commits
  12. 06 Nov, 2016 1 commit
    • Florent Cayré's avatar
      [pkg] Fix extra packages not installable · 7436b65a44bc
      Florent Cayré authored
      For instance `pip install -e ".[pyramid]"` should install the pyramid
      dependencies. A typo caused all these extra packages to not be found by
      pip.
      
      Closes #16121322.
      
      --HG--
      branch : 3.24
      7436b65a44bc
  13. 02 Nov, 2016 1 commit
  14. 21 Oct, 2016 1 commit
  15. 26 Sep, 2016 1 commit
    • Denis Laxalde's avatar
      [pkg] Declare extras (optional) dependencies · 6c263b8091d3
      Denis Laxalde authored
      This is primary to extract "pyramid" dependencies out of install_requires
      as they are actually optional. Along the way, resurrect all things in
      __pkginfo__.__recommends__ which were not used at all and convert them
      into extra_requires.
      
      It appears that __depends__ and __recommends__ in __pkginfo__.py are
      not useful so drop them and inline dependencies as
      install_requires/extra_requires in setup function call.
      
      For pyramid tests to continue working, add respective dependencies to
      test-misc.txt requirements file.
      6c263b8091d3
  16. 07 Jul, 2016 1 commit
    • Denis Laxalde's avatar
      Port to Python3 (closes #14159555) · 1400aee10df4
      Denis Laxalde authored
      Add py34 environments to tox configuration (only for CubicWeb >= 3.23).
      And depend on hg version of cubicweb-pyramid since it is not currently
      Python3-compatible.
      1400aee10df4
  17. 28 Jun, 2016 1 commit
  18. 12 Sep, 2016 2 commits
  19. 08 Jun, 2016 1 commit
  20. 12 Apr, 2016 1 commit
  21. 18 Mar, 2016 1 commit
  22. 22 Jul, 2015 1 commit
  23. 29 Jun, 2016 1 commit
  24. 10 Aug, 2015 1 commit
  25. 03 Aug, 2015 1 commit
  26. 23 Jul, 2015 1 commit
  27. 18 Jun, 2015 1 commit
  28. 11 May, 2015 1 commit
  29. 06 Jun, 2016 1 commit
  30. 10 Jun, 2016 1 commit
  31. 12 Feb, 2015 1 commit
    • Christophe de Vienne's avatar
      [auth] Use pyramid_multiauth · 25d93d14f8b6
      Christophe de Vienne authored
      It makes it easier to finely tune what parts of the default authentication stack
      we want to use or not.
      
      It also makes it possible for any cube to add its own policy in addition to the
      others.
      
      Related to #4985962
      25d93d14f8b6
  32. 21 Jan, 2015 1 commit