[ckan-changes] [okfn/ckan] 1dc671: [#905] Validate datastore actions against a schema

GitHub noreply at github.com
Wed May 29 15:01:33 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/okfn/ckan
  Commit: 1dc67189be7c46c719b580e2bcf8ef21cf1ae60a
      https://github.com/okfn/ckan/commit/1dc67189be7c46c719b580e2bcf8ef21cf1ae60a
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2013-05-15 (Wed, 15 May 2013)

  Changed paths:
    M ckan/logic/schema.py
    M ckan/logic/validators.py
    M ckanext/datastore/db.py
    M ckanext/datastore/logic/action.py
    M ckanext/datastore/tests/test_create.py
    M ckanext/datastore/tests/test_unit.py

  Log Message:
  -----------
  [#905] Validate datastore actions against a schema


  Commit: 6efb9285dca9d64bff1385ba6e519948e30e98ee
      https://github.com/okfn/ckan/commit/6efb9285dca9d64bff1385ba6e519948e30e98ee
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2013-05-15 (Wed, 15 May 2013)

  Changed paths:
    M ckanext/datastore/db.py

  Log Message:
  -----------
  [#905] Do not raise 500 if the wrong type is passed to datastore_create or datastore_upsert


  Commit: c18b7e633397047e672cc4eb06466bab3ad9e7e7
      https://github.com/okfn/ckan/commit/c18b7e633397047e672cc4eb06466bab3ad9e7e7
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2013-05-16 (Thu, 16 May 2013)

  Changed paths:
    M ckanext/datastore/db.py
    M ckanext/datastore/logic/action.py

  Log Message:
  -----------
  [#905] CLean up import, capitalized constants


  Commit: 39206622efada8c34f6af750787348f9a337291d
      https://github.com/okfn/ckan/commit/39206622efada8c34f6af750787348f9a337291d
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2013-05-16 (Thu, 16 May 2013)

  Changed paths:
    A ckanext/datastore/logic/schema.py

  Log Message:
  -----------
  [#905] Add missing schema file. Thanks @tobes


  Commit: 32d3a15cee154e8638f8f8c504d599bb8f45c6f8
      https://github.com/okfn/ckan/commit/32d3a15cee154e8638f8f8c504d599bb8f45c6f8
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2013-05-16 (Thu, 16 May 2013)

  Changed paths:
    M ckanext/datastore/logic/schema.py

  Log Message:
  -----------
  [#905] Explicitly get validators from toolkit


  Commit: 8f66eae11618ec663b92e4cf0082acb7621e94e2
      https://github.com/okfn/ckan/commit/8f66eae11618ec663b92e4cf0082acb7621e94e2
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2013-05-22 (Wed, 22 May 2013)

  Changed paths:
    M ckan/logic/__init__.py
    M ckanext/datastore/logic/schema.py

  Log Message:
  -----------
  [#905] Get OneOf from toolkit


  Commit: a2d27c943488af0ab57e80d543388017fcc64860
      https://github.com/okfn/ckan/commit/a2d27c943488af0ab57e80d543388017fcc64860
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2013-05-22 (Wed, 22 May 2013)

  Changed paths:
    M ckanext/datastore/db.py
    M ckanext/datastore/logic/action.py
    M ckanext/datastore/logic/schema.py
    M ckanext/datastore/tests/test_search.py

  Log Message:
  -----------
  [#905] Validate filters and parse them to json, even if they are strings, fixes #917


  Commit: 394d85a2337dc4afabb6e37b112c351302ee62f4
      https://github.com/okfn/ckan/commit/394d85a2337dc4afabb6e37b112c351302ee62f4
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2013-05-23 (Thu, 23 May 2013)

  Changed paths:
    M ckanext/datastore/logic/schema.py

  Log Message:
  -----------
  [#905] Fix pep8 isssue


  Commit: 3773511d821cb02860b99f552b066e55f40dfcb4
      https://github.com/okfn/ckan/commit/3773511d821cb02860b99f552b066e55f40dfcb4
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2013-05-29 (Wed, 29 May 2013)

  Changed paths:
    M ckan/logic/__init__.py
    M ckanext/datastore/commands.py
    M ckanext/datastore/db.py
    M ckanext/datastore/logic/action.py
    M ckanext/datastore/logic/auth.py
    M ckanext/datastore/plugin.py

  Log Message:
  -----------
  [#905] Sort imports correctly, improve PEP8, remove unused code


  Commit: f84e58a4522727479ef7b241db02235f9270e075
      https://github.com/okfn/ckan/commit/f84e58a4522727479ef7b241db02235f9270e075
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2013-05-29 (Wed, 29 May 2013)

  Changed paths:
    M .tx/config
    M ckan/config/install.py
    M ckan/i18n/bg/LC_MESSAGES/ckan.mo
    M ckan/i18n/bg/LC_MESSAGES/ckan.po
    M ckan/i18n/ca/LC_MESSAGES/ckan.mo
    M ckan/i18n/ca/LC_MESSAGES/ckan.po
    M ckan/i18n/ckan.pot
    M ckan/i18n/cs_CZ/LC_MESSAGES/ckan.mo
    M ckan/i18n/cs_CZ/LC_MESSAGES/ckan.po
    M ckan/i18n/de/LC_MESSAGES/ckan.mo
    M ckan/i18n/de/LC_MESSAGES/ckan.po
    A ckan/i18n/dv/LC_MESSAGES/ckan.mo
    A ckan/i18n/dv/LC_MESSAGES/ckan.po
    M ckan/i18n/el/LC_MESSAGES/ckan.mo
    M ckan/i18n/el/LC_MESSAGES/ckan.po
    A ckan/i18n/en_GB/LC_MESSAGES/ckan.mo
    A ckan/i18n/en_GB/LC_MESSAGES/ckan.po
    M ckan/i18n/es/LC_MESSAGES/ckan.mo
    M ckan/i18n/es/LC_MESSAGES/ckan.po
    A ckan/i18n/es_AR/LC_MESSAGES/ckan.mo
    A ckan/i18n/es_AR/LC_MESSAGES/ckan.po
    A ckan/i18n/fa_IR/LC_MESSAGES/ckan.mo
    A ckan/i18n/fa_IR/LC_MESSAGES/ckan.po
    M ckan/i18n/fi/LC_MESSAGES/ckan.mo
    M ckan/i18n/fi/LC_MESSAGES/ckan.po
    M ckan/i18n/fr/LC_MESSAGES/ckan.mo
    M ckan/i18n/fr/LC_MESSAGES/ckan.po
    M ckan/i18n/hu/LC_MESSAGES/ckan.mo
    M ckan/i18n/hu/LC_MESSAGES/ckan.po
    A ckan/i18n/id/LC_MESSAGES/ckan.mo
    A ckan/i18n/id/LC_MESSAGES/ckan.po
    A ckan/i18n/is/LC_MESSAGES/ckan.mo
    A ckan/i18n/is/LC_MESSAGES/ckan.po
    M ckan/i18n/it/LC_MESSAGES/ckan.mo
    M ckan/i18n/it/LC_MESSAGES/ckan.po
    M ckan/i18n/ja/LC_MESSAGES/ckan.mo
    M ckan/i18n/ja/LC_MESSAGES/ckan.po
    A ckan/i18n/ko_KR/LC_MESSAGES/ckan.mo
    A ckan/i18n/ko_KR/LC_MESSAGES/ckan.po
    M ckan/i18n/lt/LC_MESSAGES/ckan.mo
    M ckan/i18n/lt/LC_MESSAGES/ckan.po
    M ckan/i18n/lv/LC_MESSAGES/ckan.mo
    M ckan/i18n/lv/LC_MESSAGES/ckan.po
    A ckan/i18n/my_MM/LC_MESSAGES/ckan.mo
    A ckan/i18n/my_MM/LC_MESSAGES/ckan.po
    M ckan/i18n/nl/LC_MESSAGES/ckan.mo
    M ckan/i18n/nl/LC_MESSAGES/ckan.po
    M ckan/i18n/no/LC_MESSAGES/ckan.mo
    M ckan/i18n/no/LC_MESSAGES/ckan.po
    M ckan/i18n/pl/LC_MESSAGES/ckan.mo
    M ckan/i18n/pl/LC_MESSAGES/ckan.po
    M ckan/i18n/pt_BR/LC_MESSAGES/ckan.mo
    M ckan/i18n/pt_BR/LC_MESSAGES/ckan.po
    M ckan/i18n/ro/LC_MESSAGES/ckan.mo
    M ckan/i18n/ro/LC_MESSAGES/ckan.po
    M ckan/i18n/ru/LC_MESSAGES/ckan.mo
    M ckan/i18n/ru/LC_MESSAGES/ckan.po
    M ckan/i18n/sk/LC_MESSAGES/ckan.mo
    M ckan/i18n/sk/LC_MESSAGES/ckan.po
    M ckan/i18n/sl/LC_MESSAGES/ckan.mo
    M ckan/i18n/sl/LC_MESSAGES/ckan.po
    M ckan/i18n/sq/LC_MESSAGES/ckan.mo
    M ckan/i18n/sq/LC_MESSAGES/ckan.po
    M ckan/i18n/sr/LC_MESSAGES/ckan.mo
    M ckan/i18n/sr/LC_MESSAGES/ckan.po
    M ckan/i18n/sr_Latn/LC_MESSAGES/ckan.mo
    M ckan/i18n/sr_Latn/LC_MESSAGES/ckan.po
    M ckan/i18n/sv/LC_MESSAGES/ckan.mo
    M ckan/i18n/sv/LC_MESSAGES/ckan.po
    A ckan/i18n/tr/LC_MESSAGES/ckan.mo
    A ckan/i18n/tr/LC_MESSAGES/ckan.po
    A ckan/i18n/uk_UA/LC_MESSAGES/ckan.mo
    A ckan/i18n/uk_UA/LC_MESSAGES/ckan.po
    A ckan/i18n/zh_CN/LC_MESSAGES/ckan.mo
    A ckan/i18n/zh_CN/LC_MESSAGES/ckan.po
    A ckan/i18n/zh_TW/LC_MESSAGES/ckan.mo
    A ckan/i18n/zh_TW/LC_MESSAGES/ckan.po
    M ckan/lib/activity_streams.py
    M ckan/lib/helpers.py
    M ckan/logic/__init__.py
    M ckan/logic/action/create.py
    M ckan/logic/action/update.py
    M ckan/logic/schema.py
    M ckan/logic/validators.py
    M ckan/model/package.py
    M ckan/public/base/css/main.css
    M ckan/public/base/less/dataset.less
    M ckan/public/base/less/prose.less
    M ckan/templates/group/snippets/group_item.html
    M ckan/templates/organization/snippets/organization_item.html
    M ckan/templates/related/snippets/related_item.html
    M ckan/templates_legacy/package/resource_read.html
    M ckan/tests/functional/api/test_activity.py
    M ckan/tests/logic/test_init.py
    M ckan/tests/logic/test_member.py
    A ckan/tests/test_coding_standards.py
    A ckanext/datastore/controller.py
    M ckanext/datastore/db.py
    M ckanext/datastore/logic/action.py
    M ckanext/datastore/plugin.py
    A ckanext/datastore/tests/test_dump.py
    M ckanext/datastore/tests/test_search.py
    M doc/datastore-api.rst
    M doc/release-process.rst
    M pip-requirements-test.txt
    M pip-requirements.txt

  Log Message:
  -----------
  Merge branch 'master' into 905-datastore-validation

Conflicts:
	ckanext/datastore/db.py
	ckanext/datastore/plugin.py


  Commit: cbbcfb46a2fe8c90b4723d50e2c0eaf75a587f04
      https://github.com/okfn/ckan/commit/cbbcfb46a2fe8c90b4723d50e2c0eaf75a587f04
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2013-05-29 (Wed, 29 May 2013)

  Changed paths:
    M ckanext/datastore/controller.py
    M ckanext/datastore/logic/action.py
    M ckanext/datastore/plugin.py
    M ckanext/datastore/tests/test_dump.py
    M doc/datastore-api.rst

  Log Message:
  -----------
  [#905] Fix merge, add limit and offset parameter to dump which is compatible with new schema validation


  Commit: ecf8b639d810d37e9b7a3ee06b71a65d603dede2
      https://github.com/okfn/ckan/commit/ecf8b639d810d37e9b7a3ee06b71a65d603dede2
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2013-05-29 (Wed, 29 May 2013)

  Changed paths:
    M ckan/tests/test_coding_standards.py

  Log Message:
  -----------
  [#905] Do not require PEP8 blacklisting any more


Compare: https://github.com/okfn/ckan/compare/d3076304eac1...ecf8b639d810


More information about the ckan-changes mailing list