[ckan-changes] [ckan/ckan] d9f3a5: [#3116] Refactor middleware module.

GitHub noreply at github.com
Tue Jun 21 20:51:50 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: d9f3a5036a99c5e447ad93977e99ba745e2868c3
      https://github.com/ckan/ckan/commit/d9f3a5036a99c5e447ad93977e99ba745e2868c3
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-06-15 (Wed, 15 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

  Log Message:
  -----------
  [#3116] 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: 954205d44bbfb6ebd28aa9019d2fd7b152b819f9
      https://github.com/ckan/ckan/commit/954205d44bbfb6ebd28aa9019d2fd7b152b819f9
  Author: Ian Ward <ian at excess.org>
  Date:   2016-06-21 (Tue, 21 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

  Log Message:
  -----------
  Merge pull request #3116 from ckan/3116-middleware-refactor

Refactor config/middleware.py to more closely match poc-flask-views


Compare: https://github.com/ckan/ckan/compare/6d7a9c30765d...954205d44bbf


More information about the ckan-changes mailing list