1. 23 Jan, 2015 1 commit
  2. 21 Jan, 2015 7 commits
  3. 16 Jan, 2015 1 commit
  4. 05 Jan, 2015 1 commit
  5. 03 Jan, 2015 2 commits
  6. 05 Jan, 2015 1 commit
  7. 03 Jan, 2015 3 commits
  8. 23 Dec, 2014 1 commit
  9. 02 Jan, 2015 1 commit
  10. 02 Dec, 2014 1 commit
  11. 08 Dec, 2014 3 commits
  12. 15 Nov, 2014 2 commits
  13. 08 Nov, 2014 1 commit
    • Christophe de Vienne's avatar
      Don't rollback if exception is HTTPSuccessful or HTTPRedirection · 54c83bfda277
      Christophe de Vienne authored
      In the request finishing, the 'cleanup' callback set by _cw_cnx
      automatically commit the transaction except is an exception is set
      on the request.
      
      Problem is, redirections and successul http return code can raise
      exceptions.
      
      This patch detects such exceptions and avoid rolling back the transaction.
      
      Closes #4566482
      54c83bfda277
  14. 06 Nov, 2014 2 commits
  15. 02 Nov, 2014 3 commits
  16. 23 Oct, 2014 3 commits
  17. 06 Oct, 2014 1 commit
  18. 22 Oct, 2014 1 commit
  19. 22 Sep, 2014 2 commits
    • Christophe de Vienne's avatar
      Optimise repo_connect by skipping authenticate_user · 0170f8a55620
      Christophe de Vienne authored
      The authentication being handled by pyramid itself, going through the
      authentication stack to recreate the temporary session at each request is very
      costly.
      
      On my desktop, for a mostly static front page, the total time for delivering
      the page drops from 100ms to 47ms.
      0170f8a55620
    • Christophe de Vienne's avatar
      Use lightweight sessions · bb548010b390
      Christophe de Vienne authored
      Provides a lightweight version of repo.connect() that does not keep track of
      opened sessions.
      
      The speed gain on a mostly static front page is about 5%
      
      Warning ! This means that, for now, the "session_open" and "session_close"
      hooks are NOT called anymore.
      bb548010b390
  20. 19 Sep, 2014 1 commit
    • Christophe de Vienne's avatar
      Use 'wsgicors' for CORS handling. · 13e0f569684c
      Christophe de Vienne authored
      The CW CORS handling (in web/cors.py) is only able to work on cubicweb requests.
      When a request is not handled by bwcompat, we need a proper solution.
      The `wsgicors` library provides what we need as a wsgi middleware.
      13e0f569684c
  21. 18 Sep, 2014 2 commits
    • Christophe de Vienne's avatar
      Add requirements · 2e52647af650
      Christophe de Vienne authored
      2e52647af650
    • Christophe de Vienne's avatar
      Handle '__setauthcookie' · ca3412269cd1
      Christophe de Vienne authored
      '__setauthcookie' is a form parameter added by the 'rememberme' cube.
      If present and equals to '1', the cookie max_age will be set to 7 days instead
      of being a session cookie.
      
      To make sure the auth cookie is renewed, the reissue_time is set to 1h.
      ca3412269cd1