[ckan-changes] [ckan/ckan] b37298: Add a simple flask plugin for testing.

GitHub noreply at github.com
Tue Jun 14 10:11:08 UTC 2016


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

  Changed paths:
    M ckan/tests/helpers.py
    M setup.py

  Log Message:
  -----------
  Add a simple flask plugin for testing.

A simple flask extension with a route guaranteed to come from Flask.


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

  Changed paths:
    M ckan/tests/config/test_middleware.py

  Log Message:
  -----------
  Use SimpleFlaskPlugin test extension in middleware tests


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

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

  Log Message:
  -----------
  CORS headers added to Flask responses.

The method to set CORS headers moved to `views` module and CKAN core
refactored to import and use it.


Compare: https://github.com/ckan/ckan/compare/eb7231297e70...77a436eb169a


More information about the ckan-changes mailing list