[ckan-changes] [ckan/ckan] 871eeb: Add request timer for Flask requests.

GitHub noreply at github.com
Thu Jun 23 08:49:53 UTC 2016


  Branch: refs/heads/poc-flask-views.common-url_for-take-2
  Home:   https://github.com/ckan/ckan
  Commit: 871eeb828b2256c9138dae950f295f3645e21085
      https://github.com/ckan/ckan/commit/871eeb828b2256c9138dae950f295f3645e21085
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M ckan/config/middleware/flask_app.py

  Log Message:
  -----------
  Add request timer for Flask requests.

Times between before_request and after_request and outputs to log level
info.


  Commit: 2f2e9722f093c285a3027dd549b0a213258c39ce
      https://github.com/ckan/ckan/commit/2f2e9722f093c285a3027dd549b0a213258c39ce
  Author: amercader <amercadero at gmail.com>
  Date:   2016-06-15 (Wed, 15 Jun 2016)

  Changed paths:
    M ckan/common.py

  Log Message:
  -----------
  Provide support for request.params even on a Flask request

It is used all over the place and they both are dict-like objects


  Commit: fa16975d2d8dbafa793e7a0a5f84c5483a923e63
      https://github.com/ckan/ckan/commit/fa16975d2d8dbafa793e7a0a5f84c5483a923e63
  Author: amercader <amercadero at gmail.com>
  Date:   2016-06-15 (Wed, 15 Jun 2016)

  Changed paths:
    M ckan/lib/activity_streams.py
    M ckan/lib/base.py

  Log Message:
  -----------
  Quick and dirty changes to make lib.base.render work on Flask

This needs to be properly investigated, specially all the logic around
caching

Conflicts:
	ckan/lib/base.py


  Commit: a3c6ac50793794d0062707d88ad6bb9702f4a2d2
      https://github.com/ckan/ckan/commit/a3c6ac50793794d0062707d88ad6bb9702f4a2d2
  Author: amercader <amercadero at gmail.com>
  Date:   2016-06-15 (Wed, 15 Jun 2016)

  Changed paths:
    M ckan/templates/activity_streams/activity_stream_email_notifications.text

  Log Message:
  -----------
  Temporary fix in template


  Commit: 549eb6f2002cd28008467af78d3ed30828173d60
      https://github.com/ckan/ckan/commit/549eb6f2002cd28008467af78d3ed30828173d60
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-06-15 (Wed, 15 Jun 2016)

  Changed paths:
    M ckan/lib/base.py

  Log Message:
  -----------
  Remove CORS settings check in base.py

This check is run as part of the function in `views`/


  Commit: dab0fc8048c3d21a3a8b8fbb7e89447cf05ab551
      https://github.com/ckan/ckan/commit/dab0fc8048c3d21a3a8b8fbb7e89447cf05ab551
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-06-15 (Wed, 15 Jun 2016)

  Changed paths:
    M ckan/config/middleware/flask_app.py
    M ckan/lib/base.py
    M ckan/views/__init__.py

  Log Message:
  -----------
  Move session cookie check to views module.

Used by both base.py and Flask after_request handler.


  Commit: 819bd62b2f03c4734788b7646a818b873997d458
      https://github.com/ckan/ckan/commit/819bd62b2f03c4734788b7646a818b873997d458
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-06-16 (Thu, 16 Jun 2016)

  Changed paths:
    M ckan/config/middleware/flask_app.py

  Log Message:
  -----------
  Ensure app_globals is uptodate for each request


  Commit: 254c0360d01c12d6459835acf9b8db020873cdbc
      https://github.com/ckan/ckan/commit/254c0360d01c12d6459835acf9b8db020873cdbc
  Author: amercader <amercadero at gmail.com>
  Date:   2016-06-20 (Mon, 20 Jun 2016)

  Changed paths:
    M ckan/common.py
    M ckan/config/middleware/flask_app.py
    M requirements.in
    M requirements.txt

  Log Message:
  -----------
  Upgrade Flask to latest version

Update extensions imports from a deprecated variant. There is still a
warning for flask.ext.sqlalchemy caused by flask_debugtoolbar


  Commit: 60930a27d09a2180a0b9e33cd692092912afd42b
      https://github.com/ckan/ckan/commit/60930a27d09a2180a0b9e33cd692092912afd42b
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-06-21 (Tue, 21 Jun 2016)

  Changed paths:
    M ckan/config/middleware/flask_app.py
    M ckan/tests/config/test_middleware.py
    M ckan/tests/config/test_sessions.py
    M ckan/tests/lib/test_base.py
    M ckanext/example_flask_iblueprint/tests/test_routes.py

  Log Message:
  -----------
  Add `origin` value for Flask extension routes.

- fixes tests in test_middleware.py to include tests for flask
  extensions
- refactors how blueprints are registered in flask_app.py with a new
  `register_extension_blueprint` method. Extension authors shouldn't
need to call this directly, except when registering an extension
blueprint in tests.


  Commit: 0884c488db0b8900fbecff15d4e42d6db40000dd
      https://github.com/ckan/ckan/commit/0884c488db0b8900fbecff15d4e42d6db40000dd
  Author: amercader <amercadero at gmail.com>
  Date:   2016-06-23 (Thu, 23 Jun 2016)

  Changed paths:
    M ckan/common.py
    M ckan/config/middleware/flask_app.py
    M ckan/lib/base.py
    M ckan/templates/activity_streams/activity_stream_email_notifications.text
    M ckan/tests/config/test_middleware.py
    M ckan/tests/config/test_sessions.py
    M ckan/tests/lib/test_base.py
    M ckan/views/__init__.py
    M ckanext/example_flask_iblueprint/tests/test_routes.py
    M requirements.in
    M requirements.txt

  Log Message:
  -----------
  Merge branch 'poc-flask-views' into poc-flask-views.common-url_for-take-2


Compare: https://github.com/ckan/ckan/compare/126792a3a838...0884c488db0b


More information about the ckan-changes mailing list