[ckan-changes] [ckan/ckan] 4e1134: Small shims for _ and c in common

GitHub noreply at github.com
Wed Mar 30 13:25:42 UTC 2016


  Branch: refs/heads/poc-flask-views
  Home:   https://github.com/ckan/ckan
  Commit: 4e1134821a3a54658cd0d6ddfa0b80822db8992f
      https://github.com/ckan/ckan/commit/4e1134821a3a54658cd0d6ddfa0b80822db8992f
  Author: amercader <amercadero at gmail.com>
  Date:   2016-03-30 (Wed, 30 Mar 2016)

  Changed paths:
    M ckan/common.py

  Log Message:
  -----------
  Small shims for _ and c in common

This seems the easiest option for transparently supporting them in the
context of a Flask or a Pylons request

The _ Flask function has not been fully tested yet, and does present some odd
behaviour like changing `String %s` to `String {}` (but this may be the
newer Babel version)


  Commit: 0f496d460f345f7d59544a347259cca1adabf975
      https://github.com/ckan/ckan/commit/0f496d460f345f7d59544a347259cca1adabf975
  Author: amercader <amercadero at gmail.com>
  Date:   2016-03-30 (Wed, 30 Mar 2016)

  Changed paths:
    M ckan/config/middleware.py

  Log Message:
  -----------
  Add Babel and Repoze to the Flask middleware stack


  Commit: edf743e55a20665ef8456261f76eaf77bf9f28c2
      https://github.com/ckan/ckan/commit/edf743e55a20665ef8456261f76eaf77bf9f28c2
  Author: amercader <amercadero at gmail.com>
  Date:   2016-03-30 (Wed, 30 Mar 2016)

  Changed paths:
    M ckan/config/middleware.py
    A ckan/views/__init__.py
    A ckan/views/api.py

  Log Message:
  -----------
  Add new API action view based on Flask

(Controllers are called views in Flask). This new view contains all the
logic for handling API calls (v3), including handling request data and
authentication.

Several issues have been found that need to be addressed, but it works
and looks really promising.


  Commit: 15be8d35d4a32c957534f1d2a11bd42f09a2da2e
      https://github.com/ckan/ckan/commit/15be8d35d4a32c957534f1d2a11bd42f09a2da2e
  Author: amercader <amercadero at gmail.com>
  Date:   2016-03-30 (Wed, 30 Mar 2016)

  Changed paths:
    M requirements.in
    M requirements.txt

  Log Message:
  -----------
  Add new requirements


Compare: https://github.com/ckan/ckan/compare/4e1134821a3a^...15be8d35d4a3


More information about the ckan-changes mailing list