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

GitHub noreply at github.com
Tue Dec 10 15:28:32 UTC 2013


  Branch: refs/heads/master
  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


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

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

  Log Message:
  -----------
  [#1358] Change tab name


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

  Changed paths:
    M ckanext/datapusher/helpers.py
    M ckanext/datapusher/plugin.py

  Log Message:
  -----------
  [#1358] The joys of PEP8


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

  Changed paths:
    M doc/_themes/sphinx-theme-okfn

  Log Message:
  -----------
  [#1358] Revert docs theme to the version on master


  Commit: 5426295987549f3fe0dc61f19aeaa23f14bed8a6
      https://github.com/okfn/ckan/commit/5426295987549f3fe0dc61f19aeaa23f14bed8a6
  Author: John Martin <me at johnmart.in>
  Date:   2013-12-10 (Tue, 10 Dec 2013)

  Changed paths:
    M ckan/templates/package/resource_data.html
    M ckan/templates/package/resource_edit_base.html
    M ckanext/datapusher/helpers.py
    M ckanext/datapusher/logic/action.py
    M ckanext/datapusher/plugin.py
    M ckanext/datapusher/tests/test.py

  Log Message:
  -----------
  Merge pull request #1358 from okfn/1358-datastore-ui

New DataStore UI fixes and tweaks


Compare: https://github.com/okfn/ckan/compare/210ecaec4030...542629598754


More information about the ckan-changes mailing list