[ckan-changes] [ckan/ckan] 2ac658: Refactor middleware module.

GitHub noreply at github.com
Mon Jun 6 08:36:12 UTC 2016


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

  Changed paths:
    R ckan/config/middleware.py
    A ckan/config/middleware/__init__.py
    A ckan/config/middleware/common_middleware.py
    A ckan/config/middleware/flask_app.py
    A ckan/config/middleware/pylons_app.py
    M ckan/tests/config/test_middleware.py
    M ckan/tests/helpers.py

  Log Message:
  -----------
  Refactor middleware module.

It was starting to become unmanageably large with a lot of separate
concerns in one place.

- Separate the flask and pylons app code into separate modules.
- Separate the common middleware code into a separate module.


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

  Changed paths:
    R ckan/config/middleware.py
    A ckan/config/middleware/__init__.py
    A ckan/config/middleware/common_middleware.py
    A ckan/config/middleware/flask_app.py
    A ckan/config/middleware/pylons_app.py
    M ckan/tests/config/test_middleware.py
    M ckan/tests/helpers.py

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


Compare: https://github.com/ckan/ckan/compare/80a83c3a5c3d...9f07da4091f0


More information about the ckan-changes mailing list