[ckan-changes] [ckan/ckan] fb5cef: [#3428] replace db._get_engine with db.get_(read|w...

GitHub noreply at github.com
Thu May 11 19:46:31 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: fb5cef3c10f6001fb0b684789f5c75b5537136f6
      https://github.com/ckan/ckan/commit/fb5cef3c10f6001fb0b684789f5c75b5537136f6
  Author: Ian Ward <ian at excess.org>
  Date:   2017-02-06 (Mon, 06 Feb 2017)

  Changed paths:
    M ckanext/datastore/db.py
    M ckanext/datastore/logic/action.py
    M ckanext/datastore/plugin.py
    M ckanext/datastore/tests/test_create.py
    M ckanext/datastore/tests/test_delete.py
    M ckanext/datastore/tests/test_dump.py
    M ckanext/datastore/tests/test_helpers.py
    M ckanext/datastore/tests/test_search.py
    M ckanext/datastore/tests/test_unit.py
    M ckanext/datastore/tests/test_upsert.py

  Log Message:
  -----------
  [#3428] replace db._get_engine with db.get_(read|write)_engine


  Commit: 361acc14ba743c04c134cbc36369ef4cfbabe0e5
      https://github.com/ckan/ckan/commit/361acc14ba743c04c134cbc36369ef4cfbabe0e5
  Author: Ian Ward <ian at excess.org>
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
    M ckanext/datapusher/tests/test_interfaces.py

  Log Message:
  -----------
  [#3428] one more db._get_engine replacement


  Commit: 7cc6c377353c518b673483316d1e1bbbfa270575
      https://github.com/ckan/ckan/commit/7cc6c377353c518b673483316d1e1bbbfa270575
  Author: Ian Ward <ian at excess.org>
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  -----------
  [#3428] one more db._get_engine replacement


  Commit: 7cda59279c87497963c72a9fd489aaaac99453b0
      https://github.com/ckan/ckan/commit/7cda59279c87497963c72a9fd489aaaac99453b0
  Author: Ian Ward <ian at excess.org>
  Date:   2017-02-13 (Mon, 13 Feb 2017)

  Changed paths:
    R ckan/templates/package/resource_data.html
    M ckan/templates/package/resource_edit_base.html
    M ckanext/datapusher/plugin.py
    A ckanext/datapusher/templates/datapusher/resource_data.html
    A ckanext/datapusher/templates/package/resource_edit_base.html
    M ckanext/datastore/controller.py
    M ckanext/datastore/db.py
    M ckanext/datastore/helpers.py
    M ckanext/datastore/logic/schema.py
    M ckanext/datastore/plugin.py
    A ckanext/datastore/templates/datastore/dictionary.html
    A ckanext/datastore/templates/package/resource_edit_base.html
    M ckanext/datastore/templates/package/resource_read.html

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/3414-datastore-info' into 3428-datastore-triggers


  Commit: c58d70f5690721a9b49e853f2f0636797d879cf5
      https://github.com/ckan/ckan/commit/c58d70f5690721a9b49e853f2f0636797d879cf5
  Author: Ian Ward <ian at excess.org>
  Date:   2017-02-13 (Mon, 13 Feb 2017)

  Changed paths:
    M ckan/lib/navl/validators.py
    M ckanext/datastore/db.py
    M ckanext/datastore/logic/action.py
    M ckanext/datastore/logic/auth.py
    M ckanext/datastore/logic/schema.py

  Log Message:
  -----------
  [#3428] datastore_function actions


  Commit: 24e8169cae103e383eefdb1d4e2905d10d4aa330
      https://github.com/ckan/ckan/commit/24e8169cae103e383eefdb1d4e2905d10d4aa330
  Author: Ian Ward <ian at excess.org>
  Date:   2017-02-16 (Thu, 16 Feb 2017)

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

  Log Message:
  -----------
  [#3428] working triggers (exceptions not handled yet)


  Commit: 18f0d58f5df4adc355640c1b2b8e736320065212
      https://github.com/ckan/ckan/commit/18f0d58f5df4adc355640c1b2b8e736320065212
  Author: Ian Ward <ian at excess.org>
  Date:   2017-02-23 (Thu, 23 Feb 2017)

  Changed paths:
    M ckan/tests/helpers.py
    M ckanext/datastore/db.py
    M ckanext/datastore/tests/test_create.py

  Log Message:
  -----------
  [#3428] start of function create tests


  Commit: 2324fe9ec8daff9dbf4a4cdb54b30b102755b223
      https://github.com/ckan/ckan/commit/2324fe9ec8daff9dbf4a4cdb54b30b102755b223
  Author: Ian Ward <ian at excess.org>
  Date:   2017-02-27 (Mon, 27 Feb 2017)

  Changed paths:
    M ckanext/datastore/tests/helpers.py
    M ckanext/datastore/tests/test_create.py

  Log Message:
  -----------
  [#3428] properly clear functions in datastore tests


  Commit: d644cc8133c97f088c721f556c7519eb471b0aa6
      https://github.com/ckan/ckan/commit/d644cc8133c97f088c721f556c7519eb471b0aa6
  Author: Ian Ward <ian at excess.org>
  Date:   2017-02-27 (Mon, 27 Feb 2017)

  Changed paths:
    M ckanext/datastore/db.py
    M ckanext/datastore/tests/helpers.py
    M ckanext/datastore/tests/test_create.py

  Log Message:
  -----------
  [#3428] test redefinition and or_replace


  Commit: a4423c05502039c8f46e9532d2f597ac9df8713c
      https://github.com/ckan/ckan/commit/a4423c05502039c8f46e9532d2f597ac9df8713c
  Author: Ian Ward <ian at excess.org>
  Date:   2017-02-28 (Tue, 28 Feb 2017)

  Changed paths:
    M ckanext/datastore/db.py
    M ckanext/datastore/tests/test_create.py

  Log Message:
  -----------
  [#3428] test datastore_create with missing function


  Commit: f1b1a93b7b553eb25aa24f408d4f177bc6c2d1b3
      https://github.com/ckan/ckan/commit/f1b1a93b7b553eb25aa24f408d4f177bc6c2d1b3
  Author: Ian Ward <ian at excess.org>
  Date:   2017-02-28 (Tue, 28 Feb 2017)

  Changed paths:
    M ckanext/datastore/tests/test_create.py

  Log Message:
  -----------
  [#3428] test triggers apply to _create and _upsert


  Commit: 39832485604399cadaaf8033e32eb714c90be055
      https://github.com/ckan/ckan/commit/39832485604399cadaaf8033e32eb714c90be055
  Author: Ian Ward <ian at excess.org>
  Date:   2017-02-28 (Tue, 28 Feb 2017)

  Changed paths:
    M ckanext/datastore/db.py
    M ckanext/datastore/tests/test_create.py

  Log Message:
  -----------
  [#3428] trigger exceptions raise ValidationErrors


  Commit: e0d3f056457730343e3d628885ba764bdd109913
      https://github.com/ckan/ckan/commit/e0d3f056457730343e3d628885ba764bdd109913
  Author: Ian Ward <ian at excess.org>
  Date:   2017-02-28 (Tue, 28 Feb 2017)

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

  Log Message:
  -----------
  [#3428] fix datastore_function_delete


  Commit: d2ef4cdec8513fbf594d3d5aa480b622f32a3be4
      https://github.com/ckan/ckan/commit/d2ef4cdec8513fbf594d3d5aa480b622f32a3be4
  Author: Ian Ward <ian at excess.org>
  Date:   2017-02-28 (Tue, 28 Feb 2017)

  Changed paths:
    A .editorconfig
    M CHANGELOG.rst
    M ckan/common.py
    M ckan/config/middleware/flask_app.py
    M ckan/config/middleware/pylons_app.py
    M ckan/i18n/ar/LC_MESSAGES/ckan.mo
    M ckan/i18n/ar/LC_MESSAGES/ckan.po
    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/cs_CZ/LC_MESSAGES/ckan.mo
    M ckan/i18n/cs_CZ/LC_MESSAGES/ckan.po
    M ckan/i18n/da_DK/LC_MESSAGES/ckan.mo
    M ckan/i18n/da_DK/LC_MESSAGES/ckan.po
    M ckan/i18n/el/LC_MESSAGES/ckan.mo
    M ckan/i18n/el/LC_MESSAGES/ckan.po
    M ckan/i18n/en_AU/LC_MESSAGES/ckan.mo
    M ckan/i18n/en_AU/LC_MESSAGES/ckan.po
    M ckan/i18n/en_GB/LC_MESSAGES/ckan.mo
    M ckan/i18n/en_GB/LC_MESSAGES/ckan.po
    M ckan/i18n/es/LC_MESSAGES/ckan.mo
    M ckan/i18n/es/LC_MESSAGES/ckan.po
    M ckan/i18n/es_AR/LC_MESSAGES/ckan.mo
    M ckan/i18n/es_AR/LC_MESSAGES/ckan.po
    M ckan/i18n/fa_IR/LC_MESSAGES/ckan.mo
    M 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/he/LC_MESSAGES/ckan.mo
    M ckan/i18n/he/LC_MESSAGES/ckan.po
    M ckan/i18n/hr/LC_MESSAGES/ckan.mo
    M ckan/i18n/hr/LC_MESSAGES/ckan.po
    M ckan/i18n/hu/LC_MESSAGES/ckan.mo
    M ckan/i18n/hu/LC_MESSAGES/ckan.po
    M ckan/i18n/id/LC_MESSAGES/ckan.mo
    M ckan/i18n/id/LC_MESSAGES/ckan.po
    M ckan/i18n/is/LC_MESSAGES/ckan.mo
    M 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
    M ckan/i18n/km/LC_MESSAGES/ckan.mo
    M ckan/i18n/km/LC_MESSAGES/ckan.po
    M ckan/i18n/ko_KR/LC_MESSAGES/ckan.mo
    M 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
    M ckan/i18n/mn_MN/LC_MESSAGES/ckan.mo
    M ckan/i18n/mn_MN/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/pt_PT/LC_MESSAGES/ckan.mo
    M ckan/i18n/pt_PT/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
    M ckan/i18n/th/LC_MESSAGES/ckan.mo
    M ckan/i18n/th/LC_MESSAGES/ckan.po
    M ckan/i18n/tr/LC_MESSAGES/ckan.mo
    M ckan/i18n/tr/LC_MESSAGES/ckan.po
    M ckan/i18n/uk_UA/LC_MESSAGES/ckan.mo
    M ckan/i18n/uk_UA/LC_MESSAGES/ckan.po
    M ckan/i18n/vi/LC_MESSAGES/ckan.mo
    M ckan/i18n/vi/LC_MESSAGES/ckan.po
    M ckan/i18n/zh_CN/LC_MESSAGES/ckan.mo
    M ckan/i18n/zh_CN/LC_MESSAGES/ckan.po
    M ckan/lib/base.py
    M ckan/lib/celery_app.py
    M ckan/lib/fanstatic_resources.py
    M ckan/logic/action/create.py
    M ckan/logic/action/get.py
    M ckan/model/resource.py
    M ckan/model/user.py
    M ckan/templates/group/members.html
    M ckan/templates/organization/members.html
    M ckan/templates/package/resource_read.html
    M ckan/templates/package/resources.html
    M ckan/templates/package/snippets/resource_item.html
    M ckan/templates/package/snippets/resources_list.html
    A ckan/templates/tests/flash_messages.html
    A ckan/tests/config/test_sessions.py
    M ckan/tests/legacy/lib/test_i18n.py
    A ckan/tests/lib/test_celery_app.py
    M ckanext/datapusher/logic/action.py
    M ckanext/datastore/plugin.py
    M ckanext/datastore/tests/test_delete.py
    M setup.py

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master' into 3428-datastore-triggers


  Commit: 90756afcb8b8710792c306344452f83b3cf1c7e3
      https://github.com/ckan/ckan/commit/90756afcb8b8710792c306344452f83b3cf1c7e3
  Author: Ian Ward <ian at excess.org>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

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

  Log Message:
  -----------
  [#3428] create_function: allow arguments+return types


  Commit: 5e5f337addfec7e0fdb993cc0d31ffb6171cdc52
      https://github.com/ckan/ckan/commit/5e5f337addfec7e0fdb993cc0d31ffb6171cdc52
  Author: Ian Ward <ian at excess.org>
  Date:   2017-04-18 (Tue, 18 Apr 2017)

  Changed paths:
    M ckanext/datastore/db.py

  Log Message:
  -----------
  [#3428] factor out ProgrammingError summarization


  Commit: 6bb499f40c7af55893d6df19126a6a60ca0ecb28
      https://github.com/ckan/ckan/commit/6bb499f40c7af55893d6df19126a6a60ca0ecb28
  Author: Ian Ward <ian at excess.org>
  Date:   2017-04-18 (Tue, 18 Apr 2017)

  Changed paths:
    M ckanext/datastore/db.py

  Log Message:
  -----------
  [#3428] catch errors on upsert + update as well


  Commit: c936de81c961afead0834c2a99431c40343c2d06
      https://github.com/ckan/ckan/commit/c936de81c961afead0834c2a99431c40343c2d06
  Author: Ian Ward <ian at excess.org>
  Date:   2017-04-18 (Tue, 18 Apr 2017)

  Changed paths:
    M ckanext/datastore/db.py

  Log Message:
  -----------
  [#3428] fix typo


  Commit: 8b19afad8348274ef255aeefa57c7922636a5b48
      https://github.com/ckan/ckan/commit/8b19afad8348274ef255aeefa57c7922636a5b48
  Author: Ian Ward <ian at excess.org>
  Date:   2017-04-18 (Tue, 18 Apr 2017)

  Changed paths:
    M README.rst
    M ckan/config/deployment.ini_tmpl
    M ckan/config/middleware/flask_app.py
    M ckan/controllers/group.py
    M ckan/controllers/package.py
    M ckan/controllers/user.py
    M ckan/lib/cli.py
    M ckan/lib/mailer.py
    M ckan/logic/__init__.py
    M ckan/logic/action/get.py
    M ckan/logic/schema.py
    M ckan/model/activity.py
    M ckan/plugins/interfaces.py
    M ckan/plugins/toolkit.py
    M ckan/templates/organization/index.html
    M ckan/templates/organization/members.html
    M ckan/templates/package/resource_read.html
    M ckan/tests/controllers/test_user.py
    M ckan/tests/legacy/ckantestplugins.py
    M ckan/tests/logic/action/test_get.py
    M ckan/tests/test_coding_standards.py
    M ckanext/datapusher/cli.py
    M ckanext/datapusher/logic/action.py
    M ckanext/datapusher/templates/datapusher/resource_data.html
    M ckanext/datapusher/tests/test_action.py
    M ckanext/datastore/commands.py
    M ckanext/datastore/controller.py
    M ckanext/datastore/db.py
    M ckanext/datastore/logic/action.py
    M ckanext/datastore/logic/schema.py
    M ckanext/datastore/plugin.py
    M ckanext/datastore/set_permissions.sql
    A ckanext/datastore/tests/test_chained_action.py
    M ckanext/datastore/tests/test_dump.py
    M ckanext/datastore/writer.py
    M ckanext/reclineview/theme/public/recline_view.js
    M ckanext/reclineview/theme/public/resource.config
    R ckanext/reclineview/theme/public/vendor/leaflet/0.7.3/images/layers-2x.png
    R ckanext/reclineview/theme/public/vendor/leaflet/0.7.3/images/layers.png
    R ckanext/reclineview/theme/public/vendor/leaflet/0.7.3/images/marker-icon-2x.png
    R ckanext/reclineview/theme/public/vendor/leaflet/0.7.3/images/marker-icon.png
    R ckanext/reclineview/theme/public/vendor/leaflet/0.7.3/images/marker-shadow.png
    R ckanext/reclineview/theme/public/vendor/leaflet/0.7.3/leaflet-src.js
    R ckanext/reclineview/theme/public/vendor/leaflet/0.7.3/leaflet.css
    R ckanext/reclineview/theme/public/vendor/leaflet/0.7.3/leaflet.js
    A ckanext/reclineview/theme/public/vendor/leaflet/0.7.7/images/layers-2x.png
    A ckanext/reclineview/theme/public/vendor/leaflet/0.7.7/images/layers.png
    A ckanext/reclineview/theme/public/vendor/leaflet/0.7.7/images/marker-icon-2x.png
    A ckanext/reclineview/theme/public/vendor/leaflet/0.7.7/images/marker-icon.png
    A ckanext/reclineview/theme/public/vendor/leaflet/0.7.7/images/marker-shadow.png
    A ckanext/reclineview/theme/public/vendor/leaflet/0.7.7/leaflet-src.js
    A ckanext/reclineview/theme/public/vendor/leaflet/0.7.7/leaflet.css
    A ckanext/reclineview/theme/public/vendor/leaflet/0.7.7/leaflet.js
    M dev-requirements.txt
    M doc/contributing/test.rst
    M doc/extensions/plugin-interfaces.rst
    M doc/maintaining/configuration.rst
    M doc/maintaining/installing/index.rst
    M doc/maintaining/installing/install-from-source.rst
    M requirements.in
    M requirements.txt
    M setup.py

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master' into 3428-datastore-triggers


  Commit: 8f205ea8e80e2ff659b8e4684cb4c374d82d72b9
      https://github.com/ckan/ckan/commit/8f205ea8e80e2ff659b8e4684cb4c374d82d72b9
  Author: Ian Ward <ian at excess.org>
  Date:   2017-04-20 (Thu, 20 Apr 2017)

  Changed paths:
    M doc/maintaining/datastore.rst

  Log Message:
  -----------
  [#3428] datastore docs: trigger feature paragraph


  Commit: ed2f8aecb5de75f07c862bdb018569ed31a37044
      https://github.com/ckan/ckan/commit/ed2f8aecb5de75f07c862bdb018569ed31a37044
  Author: Ian Ward <ian at excess.org>
  Date:   2017-05-11 (Thu, 11 May 2017)

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

  Log Message:
  -----------
  [#3428] datastore_create: more trigger docs


  Commit: 784a6e17fdf5f7e4056c3193ce1f2ee769f4d564
      https://github.com/ckan/ckan/commit/784a6e17fdf5f7e4056c3193ce1f2ee769f4d564
  Author: Adrià Mercader <amercadero at gmail.com>
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
    M ckan/lib/navl/validators.py
    M ckan/tests/helpers.py
    M ckanext/datapusher/tests/test.py
    M ckanext/datapusher/tests/test_interfaces.py
    M ckanext/datastore/db.py
    M ckanext/datastore/logic/action.py
    M ckanext/datastore/logic/auth.py
    M ckanext/datastore/logic/schema.py
    M ckanext/datastore/plugin.py
    M ckanext/datastore/tests/helpers.py
    M ckanext/datastore/tests/test_create.py
    M ckanext/datastore/tests/test_delete.py
    M ckanext/datastore/tests/test_dump.py
    M ckanext/datastore/tests/test_helpers.py
    M ckanext/datastore/tests/test_search.py
    M ckanext/datastore/tests/test_unit.py
    M ckanext/datastore/tests/test_upsert.py
    M doc/maintaining/datastore.rst

  Log Message:
  -----------
  Merge pull request #3428 from ckan/3428-datastore-triggers

datastore triggers


Compare: https://github.com/ckan/ckan/compare/cd72b4319517...784a6e17fdf5


More information about the ckan-changes mailing list