[ckan-changes] [ckan/ckan] a1f2d0: [#3229] Migrate the autocomplete endpoints

GitHub noreply at github.com
Fri Sep 9 14:45:22 UTC 2016


  Branch: refs/heads/3229-api-blueprint
  Home:   https://github.com/ckan/ckan
  Commit: a1f2d03016e28482a1e7c09ca57e12dac81f5286
      https://github.com/ckan/ckan/commit/a1f2d03016e28482a1e7c09ca57e12dac81f5286
  Author: amercader <amercadero at gmail.com>
  Date:   2016-09-09 (Fri, 09 Sep 2016)

  Changed paths:
    M ckan/config/routing.py
    M ckan/logic/action/get.py
    M ckan/model/group.py
    M ckan/tests/legacy/test_coding_standards.py
    M ckan/views/api.py

  Log Message:
  -----------
  [#3229] Migrate the autocomplete endpoints

These are the only ones under /util that seem worth keeping, at least
for a while.

Created a new group_autocomplete action that mimics its organization
counterpart, rather than model queries on the view.


  Commit: cf83088cf143e2b7847a36bd140356207cd36adb
      https://github.com/ckan/ckan/commit/cf83088cf143e2b7847a36bd140356207cd36adb
  Author: amercader <amercadero at gmail.com>
  Date:   2016-09-09 (Fri, 09 Sep 2016)

  Changed paths:
    M ckan/config/routing.py
    M ckan/views/api.py

  Log Message:
  -----------
  [#3229] Add endpoint for JS translations


  Commit: 05d164fec17f596347d04e42b1c13ad1d2daf4bc
      https://github.com/ckan/ckan/commit/05d164fec17f596347d04e42b1c13ad1d2daf4bc
  Author: amercader <amercadero at gmail.com>
  Date:   2016-09-09 (Fri, 09 Sep 2016)

  Changed paths:
    M ckan/config/routing.py
    M ckan/controllers/api.py
    M ckan/lib/jsonp.py
    R ckan/tests/legacy/functional/api/test_misc.py

  Log Message:
  -----------
  [#3229] Remove old API endpoints

These endpoints are not used anywhere and I does not seem worth announce
deprecation for them:

* /tag_counts - Unused and easy to obtain with package_search
* /qos/throughput/ - Broken, returns exception
* /util/is_slug_valid - Does not respect validation
* /util/resource/format_icon - Unused, output broken
* /util/markdown - Unused
* /util/status - Unused, use status_show
* /util/snippet/{snippet_path:.*} - Unused and dangerous


  Commit: e4a3d1d2fb411faf8b5690bbf42342e018444cdb
      https://github.com/ckan/ckan/commit/e4a3d1d2fb411faf8b5690bbf42342e018444cdb
  Author: amercader <amercadero at gmail.com>
  Date:   2016-09-09 (Fri, 09 Sep 2016)

  Changed paths:
    M ckan/views/api.py

  Log Message:
  -----------
  [#3229] Fix literals


Compare: https://github.com/ckan/ckan/compare/65c1321c5909...e4a3d1d2fb41


More information about the ckan-changes mailing list