[ckan-changes] [okfn/ckan] 5ef1ac: [#1358] Fix auth error on datapusher_hook

GitHub noreply at github.com
Thu Dec 5 11:51:39 UTC 2013


  Branch: refs/heads/1358-datastore-ui
  Home:   https://github.com/okfn/ckan
  Commit: 5ef1ac6117b7aea46e7502ecd5ab3bef82b216e9
      https://github.com/okfn/ckan/commit/5ef1ac6117b7aea46e7502ecd5ab3bef82b216e9
  Author: amercader <amercadero at gmail.com>
  Date:   2013-12-03 (Tue, 03 Dec 2013)

  Changed paths:
    M ckanext/datapusher/logic/action.py
    M ckanext/datapusher/tests/test.py

  Log Message:
  -----------
  [#1358] Fix auth error on datapusher_hook

When logged in as a non-sysadmin user, you always got an error like:

Process completed but unable to post to result_url

This was caused by calling task_status_update, which is sysadmin only on
datapusher_hook without ignore_auth in the context. We can safely add it
at this point because access has been already checked.

Added some tests.


  Commit: 7f7d3ddded575646bcf43985f45c4c52b9fed658
      https://github.com/okfn/ckan/commit/7f7d3ddded575646bcf43985f45c4c52b9fed658
  Author: amercader <amercadero at gmail.com>
  Date:   2013-12-03 (Tue, 03 Dec 2013)

  Changed paths:
    M ckan/templates/package/resource_data.html
    M doc/_themes/sphinx-theme-okfn

  Log Message:
  -----------
  [#1358] Show actual timestamp, translate string


  Commit: e7bc7ad89212b696b9a4be78414fde50eb46f291
      https://github.com/okfn/ckan/commit/e7bc7ad89212b696b9a4be78414fde50eb46f291
  Author: amercader <amercadero at gmail.com>
  Date:   2013-12-03 (Tue, 03 Dec 2013)

  Changed paths:
    M ckan/templates/package/resource_data.html
    M ckanext/datapusher/helpers.py
    M ckanext/datapusher/plugin.py

  Log Message:
  -----------
  [#1358] Make DataPusher statuses translatable


  Commit: b3ad6bd8c75eefd9d4b0d70516198d4952128031
      https://github.com/okfn/ckan/commit/b3ad6bd8c75eefd9d4b0d70516198d4952128031
  Author: amercader <amercadero at gmail.com>
  Date:   2013-12-05 (Thu, 05 Dec 2013)

  Changed paths:
    M CHANGELOG.rst
    M bin/travis-run-tests
    R ckan/config/solr/CHANGELOG.txt
    M ckan/config/solr/README.txt
    M ckan/config/solr/schema-1.2.xml
    M ckan/config/solr/schema-1.3.xml
    M ckan/config/solr/schema-1.4.xml
    M ckan/config/solr/schema-2.0.xml
    A ckan/config/solr/schema.xml
    M ckan/plugins/interfaces.py
    M ckan/tests/lib/test_solr_schema_version.py
    M doc/appendices/solr-multicore.rst
    M doc/contents.rst
    M doc/install-from-source.rst
    M doc/release-process.rst
    M doc/upgrade-package-to-minor-release.rst
    M doc/upgrade-source.rst

  Log Message:
  -----------
  Merge branch 'master' into 1358-datastore-ui


  Commit: b3f6c1b63c01b32a36c8a2350c5b1d7efd671fc0
      https://github.com/okfn/ckan/commit/b3f6c1b63c01b32a36c8a2350c5b1d7efd671fc0
  Author: amercader <amercadero at gmail.com>
  Date:   2013-12-05 (Thu, 05 Dec 2013)

  Changed paths:
    M ckan/templates/package/resource_data.html
    M ckan/templates/package/resource_edit_base.html

  Log Message:
  -----------
  [#1358] Tweak captions to make them clearer for users


Compare: https://github.com/okfn/ckan/compare/5ef1ac6117b7^...b3f6c1b63c01


More information about the ckan-changes mailing list