[ckan-changes] [ckan/ckan] 162d37: [#1944] Allow CORS settings in config.

GitHub noreply at github.com
Tue Nov 4 11:37:18 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: 162d371cbd94ad67495cc6ee342f41be76f7ceb8
      https://github.com/ckan/ckan/commit/162d371cbd94ad67495cc6ee342f41be76f7ceb8
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2014-10-27 (Mon, 27 Oct 2014)

  Changed paths:
    M ckan/lib/base.py
    A ckan/new_tests/lib/test_base.py
    R ckan/tests/functional/test_cors.py

  Log Message:
  -----------
  [#1944] Allow CORS settings in config.

New config settings:
ckan.cors.origin_allow_all = <true|false>
ckan.cors.origin_whitelist = <space separated list of allowable domain origins>

Access-Control-Allow headers will only be set in the response if the
request contains an Origin header, the origin_allow_all setting is
present, and either:

a) the origin_allow_all setting is true, or
b) the request origin is listed in the origin_whitelist setting


  Commit: 5919e43c7cde629eedfe322e4834989ee9532437
      https://github.com/ckan/ckan/commit/5919e43c7cde629eedfe322e4834989ee9532437
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2014-10-28 (Tue, 28 Oct 2014)

  Changed paths:
    M doc/maintaining/configuration.rst

  Log Message:
  -----------
  [#1944] CORS config docs


  Commit: 78a331a1d9ea37b3a1e2dc65e1e0782f86b25859
      https://github.com/ckan/ckan/commit/78a331a1d9ea37b3a1e2dc65e1e0782f86b25859
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2014-10-28 (Tue, 28 Oct 2014)

  Changed paths:
    M CHANGELOG.rst

  Log Message:
  -----------
  [#1944] Add CORS changes to CHANGELOG


  Commit: 0d97844a7d3c6be8efbdf7df9412dc2ab8bd9335
      https://github.com/ckan/ckan/commit/0d97844a7d3c6be8efbdf7df9412dc2ab8bd9335
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2014-10-28 (Tue, 28 Oct 2014)

  Changed paths:
    M ckan/config/deployment.ini_tmpl

  Log Message:
  -----------
  [#1944] Add CORS settings to deployment template.

These are commented out by default.


  Commit: 852aaaa4d95f35293e76e7ce3f24e41986ec52f9
      https://github.com/ckan/ckan/commit/852aaaa4d95f35293e76e7ce3f24e41986ec52f9
  Author: amercader <amercadero at gmail.com>
  Date:   2014-11-04 (Tue, 04 Nov 2014)

  Changed paths:
    M CHANGELOG.rst
    M ckan/config/deployment.ini_tmpl
    M ckan/lib/base.py
    A ckan/new_tests/lib/test_base.py
    R ckan/tests/functional/test_cors.py
    M doc/maintaining/configuration.rst

  Log Message:
  -----------
  Merge branch 'brew-1944-cors-in-config'


Compare: https://github.com/ckan/ckan/compare/cf68e74d3efa...852aaaa4d95f


More information about the ckan-changes mailing list