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

GitHub noreply at github.com
Wed May 29 17:16:18 UTC 2013


  Branch: refs/heads/226-text-highlighting
  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: f5239d1628ff2074331dfca6d9ca171724b92236
      https://github.com/okfn/ckan/commit/f5239d1628ff2074331dfca6d9ca171724b92236
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-05-23 (Thu, 23 May 2013)

  Changed paths:
    M doc/release-process.rst

  Log Message:
  -----------
  [#929] Add a step to the release process i18n docs

Add a step to the release process i18n docs, that you have to
cherry-pick the i18n commits from the release branch to master, after
the release has been finalized.


  Commit: d3076304eac1d518c469a4b0560fb73be7e59753
      https://github.com/okfn/ckan/commit/d3076304eac1d518c469a4b0560fb73be7e59753
  Author: amercader <amercadero at gmail.com>
  Date:   2013-05-28 (Tue, 28 May 2013)

  Changed paths:
    M doc/release-process.rst

  Log Message:
  -----------
  Merge branch '929'


  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


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

  Changed paths:
    M ckan/lib/datapreview.py
    M ckanext/pdfpreview/tests/test_preview.py
    M ckanext/textpreview/plugin.py
    M ckanext/textpreview/theme/public/preview_text.js
    M setup.py

  Log Message:
  -----------
  [#226] PEP8 and load jpeg direktly as well


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

  Changed paths:
    M ckan/lib/helpers.py
    M ckanext/textpreview/plugin.py
    M ckanext/textpreview/theme/public/preview_text.js
    M ckanext/textpreview/theme/templates/text.html

  Log Message:
  -----------
  [#226] Make the formats configurable


  Commit: 19d3c78a9cf4aa0a99a33ef57d4d1064cc11372d
      https://github.com/okfn/ckan/commit/19d3c78a9cf4aa0a99a33ef57d4d1064cc11372d
  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
    M ckanext/datastore/commands.py
    A ckanext/datastore/controller.py
    M ckanext/datastore/db.py
    M ckanext/datastore/logic/action.py
    M ckanext/datastore/logic/auth.py
    A ckanext/datastore/logic/schema.py
    M ckanext/datastore/plugin.py
    M ckanext/datastore/tests/test_create.py
    A ckanext/datastore/tests/test_dump.py
    M ckanext/datastore/tests/test_search.py
    M ckanext/datastore/tests/test_unit.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 226-text-highlighting


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

  Changed paths:
    M doc/data-viewer.rst

  Log Message:
  -----------
  [#226] Update data viewer docs


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

  Changed paths:
    M ckanext/textpreview/plugin.py
    M ckanext/textpreview/tests/test_preview.py

  Log Message:
  -----------
  [#226] Fix PEP8


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

  Log Message:
  -----------
  Merge branch '226-text-highlighting' of github.com:okfn/ckan into 226-text-highlighting


Compare: https://github.com/okfn/ckan/compare/4fd263a56e3d...e64d5e7568a3


More information about the ckan-changes mailing list