[ckan-changes] [okfn/ckan] 58d054: Dictize results list of resource_search action.

GitHub noreply at github.com
Mon Jul 2 16:41:41 UTC 2012


  Branch: refs/heads/master
  Home:   https://github.com/okfn/ckan
  Commit: 58d054970a1ff108678ae8ee3124c7f27eca224a
      https://github.com/okfn/ckan/commit/58d054970a1ff108678ae8ee3124c7f27eca224a
  Author: Ian Murray <ian.murray at okfn.org>
  Date:   2012-07-02 (Mon, 02 Jul 2012)

  Changed paths:
    M ckan/logic/action/get.py

  Log Message:
  -----------
  Dictize results list of resource_search action.

Looks like this action wasn't even working!


  Commit: f386122015e1b8408b1f94046d8422eb2d17ac7a
      https://github.com/okfn/ckan/commit/f386122015e1b8408b1f94046d8422eb2d17ac7a
  Author: Ian Murray <ian.murray at okfn.org>
  Date:   2012-07-02 (Mon, 02 Jul 2012)

  Changed paths:
    M ckan/logic/action/get.py

  Log Message:
  -----------
  Docstring for resource_search action.


  Commit: ebd9bc613ea4cea5617998cf2c669ff3f267f4dd
      https://github.com/okfn/ckan/commit/ebd9bc613ea4cea5617998cf2c669ff3f267f4dd
  Author: Ian Murray <ian.murray at okfn.org>
  Date:   2012-07-02 (Mon, 02 Jul 2012)

  Changed paths:
    M ckan/logic/action/get.py
    M ckan/tests/logic/test_action.py

  Log Message:
  -----------
  Add 'q' parameter to resource_search action.

This deprecates the existing 'fields' parameter, which is not compatible
with GET-ing the resource_search action.


  Commit: cc070212a450b7c716cf79e81b29ba54301709be
      https://github.com/okfn/ckan/commit/cc070212a450b7c716cf79e81b29ba54301709be
  Author: Ian Murray <ian.murray at okfn.org>
  Date:   2012-07-02 (Mon, 02 Jul 2012)

  Changed paths:
    M ckan/logic/action/get.py
    M ckan/tests/logic/test_action.py

  Log Message:
  -----------
  Ensure legacy parameter, fields, still works.

Keep the old fields `parameter's` behaviour, but encourage use of the new
`query` parameter.


  Commit: f8450f4f2b11308e340c83bd78d114e513717615
      https://github.com/okfn/ckan/commit/f8450f4f2b11308e340c83bd78d114e513717615
  Author: Ian Murray <ian.murray at okfn.org>
  Date:   2012-07-02 (Mon, 02 Jul 2012)

  Changed paths:
    M ckan/logic/action/get.py
    M ckan/tests/logic/test_action.py

  Log Message:
  -----------
  Special chars are escaped in search terms.


  Commit: aeef82cbf16656308730b3e3b9121a4828b526c2
      https://github.com/okfn/ckan/commit/aeef82cbf16656308730b3e3b9121a4828b526c2
  Author: Ian Murray <ian.murray at okfn.org>
  Date:   2012-07-02 (Mon, 02 Jul 2012)

  Changed paths:
    M ckan/logic/action/get.py

  Log Message:
  -----------
  Useful validation errors for resource_search


  Commit: 966ab39183351701656786d63a193bf79898c748
      https://github.com/okfn/ckan/commit/966ab39183351701656786d63a193bf79898c748
  Author: Ian Murray <ian.murray at okfn.org>
  Date:   2012-07-02 (Mon, 02 Jul 2012)

  Changed paths:
    M ckan/logic/action/get.py

  Log Message:
  -----------
  Remove unused session object.


  Commit: 79505e541263eadce6f7245e6548240499413ca1
      https://github.com/okfn/ckan/commit/79505e541263eadce6f7245e6548240499413ca1
  Author: Ian Murray <ian.murray at okfn.org>
  Date:   2012-07-02 (Mon, 02 Jul 2012)

  Changed paths:
    M ckan/logic/action/get.py

  Log Message:
  -----------
  General tidy of resource_search action.


  Commit: d4ea63a2b9c2f5dd339879269fb366f847b3ab76
      https://github.com/okfn/ckan/commit/d4ea63a2b9c2f5dd339879269fb366f847b3ab76
  Author: Ian Murray <ian.murray at okfn.org>
  Date:   2012-07-02 (Mon, 02 Jul 2012)

  Changed paths:
    M ckan/tests/logic/test_action.py

  Log Message:
  -----------
  Add reference to ticket number


  Commit: dcca75713e44763645c2190cd531b30f8c99ff31
      https://github.com/okfn/ckan/commit/dcca75713e44763645c2190cd531b30f8c99ff31
  Author: Ian Murray <ian.murray at okfn.org>
  Date:   2012-07-02 (Mon, 02 Jul 2012)

  Changed paths:
    M ckan/logic/action/get.py

  Log Message:
  -----------
  Add log message warning of deprecated parameter.

Obviously this won't indicate to the action api users, only
when in library access.


  Commit: 575a96470a9278dc660144743999b9c2849e114d
      https://github.com/okfn/ckan/commit/575a96470a9278dc660144743999b9c2849e114d
  Author: Ian Murray <ian.murray at okfn.org>
  Date:   2012-07-02 (Mon, 02 Jul 2012)

  Changed paths:
    M ckan/lib/search/query.py
    M ckan/logic/action/get.py

  Log Message:
  -----------
  Context determines resource_search's result type.

This is provided as it allows the search api to continue to use
this action, and still provide the required result-type for the
action api.


  Commit: aad834c25ce6f28cd719a59d3d89f5cc79ab533c
      https://github.com/okfn/ckan/commit/aad834c25ce6f28cd719a59d3d89f5cc79ab533c
  Author: Ian Murray <ian.murray at okfn.org>
  Date:   2012-07-02 (Mon, 02 Jul 2012)

  Changed paths:
    M ckan/tests/logic/test_action.py

  Log Message:
  -----------
  Test resource_search works with a GET request


  Commit: f4b6a025618d4ae874f4ffb452365cc6301b4aa6
      https://github.com/okfn/ckan/commit/f4b6a025618d4ae874f4ffb452365cc6301b4aa6
  Author: Ian Murray <ian.murray at okfn.org>
  Date:   2012-07-02 (Mon, 02 Jul 2012)

  Changed paths:
    M ckan/lib/search/query.py

  Log Message:
  -----------
  Use the new 'query' parameter in resource_search

instead of the now deprecated 'fields' paramter.


  Commit: 80781b39423084f33cacd981e8e88e9a69c4d1ce
      https://github.com/okfn/ckan/commit/80781b39423084f33cacd981e8e88e9a69c4d1ce
  Author: Ian Murray <ian.murray at okfn.org>
  Date:   2012-07-02 (Mon, 02 Jul 2012)

  Changed paths:
    M ckan/logic/action/get.py

  Log Message:
  -----------
  Clarify translatable string.

``{field}`` is usually used to represent a substitution.


Compare: https://github.com/okfn/ckan/compare/fb782e2043d5...80781b394230


More information about the ckan-changes mailing list