[ckan-changes] [ckan/ckan] cf1575: Removes reference to old session code [ref #3053]

GitHub noreply at github.com
Mon May 30 14:10:31 UTC 2016


  Branch: refs/heads/poc-flask-views
  Home:   https://github.com/ckan/ckan
  Commit: cf1575e749ea88030f6613764ac2018153fe170c
      https://github.com/ckan/ckan/commit/cf1575e749ea88030f6613764ac2018153fe170c
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-05-25 (Wed, 25 May 2016)

  Changed paths:
    M ckan/views/api.py

  Log Message:
  -----------
  Removes reference to old session code [ref #3053]


  Commit: 5ffa7b4d5e8cc11b48f550675f539ef22802c766
      https://github.com/ckan/ckan/commit/5ffa7b4d5e8cc11b48f550675f539ef22802c766
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-05-26 (Thu, 26 May 2016)

  Changed paths:
    M ckan/config/middleware.py
    M ckanext/example_flask_iroutes/tests/test_routes.py

  Log Message:
  -----------
  Get app debug status from app_config.

Debug status defined in the ini file for Flask app. This helps in tests
where we don't want debug to be hardcoded when the flask stack is made.


  Commit: f7f27659ba4d79c4b92355c7ecad7b0dc4aa19e6
      https://github.com/ckan/ckan/commit/f7f27659ba4d79c4b92355c7ecad7b0dc4aa19e6
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-05-26 (Thu, 26 May 2016)

  Changed paths:
    M ckan/config/middleware.py
    M ckanext/example_flask_iroutes/tests/test_routes.py

  Log Message:
  -----------
  Move `find_flask_app` helper to middleware.py

This useful function can find the flask app when passed a wsgi stack.


  Commit: d4367d43a0ac54677eb2493e150342000bff54ee
      https://github.com/ckan/ckan/commit/d4367d43a0ac54677eb2493e150342000bff54ee
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-05-26 (Thu, 26 May 2016)

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

  Log Message:
  -----------
  Use Beaker for Flask session interface


  Commit: fd3926e3af6776f5946cd5b57d0ad17c6f53c618
      https://github.com/ckan/ckan/commit/fd3926e3af6776f5946cd5b57d0ad17c6f53c618
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-05-26 (Thu, 26 May 2016)

  Changed paths:
    M ckan/controllers/group.py
    M ckan/controllers/user.py
    M ckan/lib/plugins.py
    M ckan/pastertemplates/template/bin/travis-build.bash_tmpl
    M ckan/templates/group/index.html
    M ckan/tests/controllers/test_group.py
    M ckan/tests/controllers/test_organization.py
    M ckan/tests/controllers/test_user.py
    M ckan/tests/helpers.py
    M ckan/tests/legacy/functional/test_pagination.py
    M ckanext/datapusher/logic/action.py
    M ckanext/datapusher/tests/test_action.py
    M ckanext/example_flask_iroutes/tests/test_routes.py
    M ckanext/example_igroupform/plugin.py
    M ckanext/example_igroupform/tests/test_controllers.py
    M setup.py

  Log Message:
  -----------
  Merge branch 'poc-flask-views' into poc-flask-views.session


  Commit: ac4ee7622de35fc296ae0280dc15725343bd58df
      https://github.com/ckan/ckan/commit/ac4ee7622de35fc296ae0280dc15725343bd58df
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-05-26 (Thu, 26 May 2016)

  Changed paths:
    M ckan/config/middleware.py

  Log Message:
  -----------
  Helper moved to test helpers


  Commit: 28bc9c4a340a040a31f3120f4c9e73f83ace6719
      https://github.com/ckan/ckan/commit/28bc9c4a340a040a31f3120f4c9e73f83ace6719
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-05-26 (Thu, 26 May 2016)

  Changed paths:
    M ckan/config/middleware.py
    M ckan/templates/base.html
    A ckan/templates/tests/flash_messages.html
    A ckan/tests/config/test_sessions.py
    M ckanext/example_flask_iroutes/plugin.py
    A ckanext/example_flask_iroutes/templates/about_base.html
    M setup.py

  Log Message:
  -----------
  Proxy beaker session for universal support.

Both Flask and Pylons can share the same beaker session objects, with a
session proxy in common.py.

This commit includes tests for cross app session access:
- flask view populates flash message in session, rendered by flask view
- flask view populates flash message in session, rendered by pylons
  action
- pylons action populates flash message in session, rendered by flask
  view


  Commit: 973d8b0cb1067da790bde7c203f5bdaffe40f62c
      https://github.com/ckan/ckan/commit/973d8b0cb1067da790bde7c203f5bdaffe40f62c
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-05-26 (Thu, 26 May 2016)

  Changed paths:
    M ckan/templates/base.html

  Log Message:
  -----------
  Revert removal of body attributes.

Mistakenly removed for testing.


  Commit: 5cb2ca41e8b75ab36018d1c7ddc952b5fbd37331
      https://github.com/ckan/ckan/commit/5cb2ca41e8b75ab36018d1c7ddc952b5fbd37331
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-05-30 (Mon, 30 May 2016)

  Changed paths:
    M ckan/common.py
    M ckan/config/middleware.py
    A ckan/templates/tests/flash_messages.html
    A ckan/tests/config/test_sessions.py
    M ckan/views/api.py
    M ckanext/example_flask_iroutes/plugin.py
    A ckanext/example_flask_iroutes/templates/about_base.html
    M ckanext/example_flask_iroutes/tests/test_routes.py
    M setup.py

  Log Message:
  -----------
  Merge branch 'poc-flask-views.session' into poc-flask-views


  Commit: fcd62c1b0db04004ac2c963db0e23c94b26cd963
      https://github.com/ckan/ckan/commit/fcd62c1b0db04004ac2c963db0e23c94b26cd963
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-05-30 (Mon, 30 May 2016)

  Changed paths:
    M setup.py

  Log Message:
  -----------
  Fix extension list in setup.py

Missing common after list item.


  Commit: 9fed8b483bf2e30b1307df4080d61ca5c24fed65
      https://github.com/ckan/ckan/commit/9fed8b483bf2e30b1307df4080d61ca5c24fed65
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-05-30 (Mon, 30 May 2016)

  Changed paths:
    M ckanext/example_flask_iroutes/plugin.py

  Log Message:
  -----------
  Fix line length for PEP8


Compare: https://github.com/ckan/ckan/compare/25982cace08b...9fed8b483bf2


More information about the ckan-changes mailing list