[ckan-changes] [ckan/ckan] 967828: [#2562] use explain for search_sql auth

GitHub noreply at github.com
Thu Mar 1 11:35:28 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: 967828c23a07b4e84a612f51e1238115410a992f
      https://github.com/ckan/ckan/commit/967828c23a07b4e84a612f51e1238115410a992f
  Author: Ian Ward <ian at excess.org>
  Date:   2017-09-01 (Fri, 01 Sep 2017)

  Changed paths:
    M ckanext/datastore/backend/postgres.py
    M ckanext/datastore/logic/action.py
    M ckanext/datastore/logic/auth.py

  Log Message:
  -----------
  [#2562] use explain for search_sql auth


  Commit: dde28f826ae42a324a528d71efc282de95ffd645
      https://github.com/ckan/ckan/commit/dde28f826ae42a324a528d71efc282de95ffd645
  Author: Ian Ward <ian at excess.org>
  Date:   2017-09-01 (Fri, 01 Sep 2017)

  Changed paths:
    M ckanext/datastore/backend/__init__.py
    M ckanext/datastore/backend/postgres.py
    M ckanext/datastore/logic/action.py
    M ckanext/datastore/plugin.py
    M ckanext/datastore/tests/test_search.py

  Log Message:
  -----------
  [#2562] remove make_private/public actions


  Commit: c15814ee260416b6401c188e719d26cd9003c7a5
      https://github.com/ckan/ckan/commit/c15814ee260416b6401c188e719d26cd9003c7a5
  Author: Ian Ward <ian at excess.org>
  Date:   2017-09-01 (Fri, 01 Sep 2017)

  Changed paths:
    M ckan/logic/validators.py
    M ckanext/datastore/logic/auth.py
    M ckanext/datastore/tests/test_search.py

  Log Message:
  -----------
  [#2562] new test for datastore_search_sql permissions


  Commit: a13c38c03d2a0c786ac4e97d58f7b1d6ff946e06
      https://github.com/ckan/ckan/commit/a13c38c03d2a0c786ac4e97d58f7b1d6ff946e06
  Author: Ian Ward <ian at excess.org>
  Date:   2017-09-01 (Fri, 01 Sep 2017)

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

  Log Message:
  -----------
  [#2562] pep8


  Commit: 65041521e701e5cd0643f1fdf0b3a6135cd99d50
      https://github.com/ckan/ckan/commit/65041521e701e5cd0643f1fdf0b3a6135cd99d50
  Author: Ian Ward <ian at excess.org>
  Date:   2017-09-01 (Fri, 01 Sep 2017)

  Changed paths:
    M ckanext/datastore/backend/postgres.py

  Log Message:
  -----------
  [#2562] use read connection for read operations


  Commit: 08acbac591c2de8f5d81ab675a1d04f5c43af9f7
      https://github.com/ckan/ckan/commit/08acbac591c2de8f5d81ab675a1d04f5c43af9f7
  Author: Ian Ward <ian at excess.org>
  Date:   2017-09-22 (Fri, 22 Sep 2017)

  Changed paths:
    M ckanext/datastore/plugin.py

  Log Message:
  -----------
  [#2562] remove unused plugin interfaces


  Commit: cb6476e36e13da8b8f14e6fe1b131459475c676e
      https://github.com/ckan/ckan/commit/cb6476e36e13da8b8f14e6fe1b131459475c676e
  Author: Ian Ward <ian at excess.org>
  Date:   2017-10-11 (Wed, 11 Oct 2017)

  Changed paths:
    M CHANGELOG.rst
    M Dockerfile
    M README.rst
    M ckan/__init__.py
    M ckan/config/deployment.ini_tmpl
    M ckan/config/middleware/__init__.py
    M ckan/config/middleware/flask_app.py
    M ckan/config/routing.py
    M ckan/config/solr/schema.xml
    M ckan/config/supervisor-ckan-worker.conf
    M ckan/controllers/api.py
    M ckan/controllers/package.py
    M ckan/controllers/user.py
    M ckan/i18n/de/LC_MESSAGES/ckan.mo
    M ckan/i18n/en_GB/LC_MESSAGES/ckan.mo
    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/id/LC_MESSAGES/ckan.mo
    M ckan/i18n/id/LC_MESSAGES/ckan.po
    M ckan/i18n/nl/LC_MESSAGES/ckan.mo
    M ckan/i18n/no/LC_MESSAGES/ckan.mo
    M ckan/i18n/pt_BR/LC_MESSAGES/ckan.mo
    M ckan/i18n/pt_BR/LC_MESSAGES/ckan.po
    M ckan/i18n/uk_UA/LC_MESSAGES/ckan.mo
    M ckan/i18n/uk_UA/LC_MESSAGES/ckan.po
    M ckan/lib/activity_streams.py
    M ckan/lib/alphabet_paginate.py
    M ckan/lib/base.py
    M ckan/lib/helpers.py
    M ckan/lib/i18n.py
    M ckan/lib/jsonp.py
    M ckan/logic/action/get.py
    M ckan/model/group.py
    M ckan/pastertemplates/template/+dot+travis.yml_tmpl
    M ckan/pastertemplates/template/bin/travis-build.bash_tmpl
    M ckan/templates/package/search.html
    M ckan/templates/snippets/add_dataset.html
    M ckan/templates/snippets/package_item.html
    M ckan/templates/snippets/search_result_text.html
    M ckan/tests/config/test_middleware.py
    M ckan/tests/controllers/test_admin.py
    M ckan/tests/controllers/test_api.py
    M ckan/tests/controllers/test_group.py
    M ckan/tests/controllers/test_organization.py
    M ckan/tests/controllers/test_package.py
    M ckan/tests/controllers/test_tags.py
    M ckan/tests/controllers/test_util.py
    M ckan/tests/legacy/functional/api/model/test_package.py
    R ckan/tests/legacy/functional/api/test_misc.py
    M ckan/tests/legacy/functional/api/test_util.py
    M ckan/tests/legacy/logic/test_action.py
    M ckan/tests/legacy/logic/test_auth.py
    M ckan/tests/legacy/test_coding_standards.py
    M ckan/tests/logic/action/test_get.py
    M ckan/views/__init__.py
    M ckan/views/api.py
    M ckanext/datastore/backend/postgres.py
    M ckanext/datastore/logic/action.py
    M ckanext/datastore/set_permissions.sql
    M ckanext/datastore/templates-bs2/ajax_snippets/api_info.html
    M ckanext/datastore/templates/ajax_snippets/api_info.html
    M ckanext/datastore/templates/package/resource_read.html
    M ckanext/datastore/templates/package/snippets/data_api_button.html
    M ckanext/datastore/tests/helpers.py
    M ckanext/datastore/tests/test_create.py
    M ckanext/datastore/tests/test_db.py
    M ckanext/datastore/tests/test_search.py
    M ckanext/multilingual/plugin.py
    M doc/contributing/test.rst
    M doc/maintaining/authorization.rst
    M doc/maintaining/configuration.rst
    M doc/maintaining/datastore.rst
    M doc/maintaining/getting-started.rst
    M doc/maintaining/upgrading/upgrade-package-to-minor-release.rst
    M doc/maintaining/upgrading/upgrade-source.rst
    M pip-requirements-docs.txt
    M requirements.in
    M requirements.txt
    M setup.py

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master' into 2562-datastore-search-sql-private


  Commit: ccec46e08af5040b3fd73ceb07a1306ba2f459ab
      https://github.com/ckan/ckan/commit/ccec46e08af5040b3fd73ceb07a1306ba2f459ab
  Author: Ian Ward <ian at excess.org>
  Date:   2017-10-11 (Wed, 11 Oct 2017)

  Changed paths:
    M ckan/config/environment.py
    M ckan/config/middleware/flask_app.py
    M ckan/config/solr/schema.xml
    M ckan/lib/render.py
    M ckan/lib/search/__init__.py
    M ckan/tests/controllers/test_api.py
    M ckan/views/api.py

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master' into 2562-datastore-search-sql-private


  Commit: 6a359afb5dc1295cb8b038e19aee099688f7e025
      https://github.com/ckan/ckan/commit/6a359afb5dc1295cb8b038e19aee099688f7e025
  Author: Ian Ward <ian at excess.org>
  Date:   2017-11-21 (Tue, 21 Nov 2017)

  Changed paths:
    M ckanext/datastore/backend/postgres.py
    M ckanext/datastore/helpers.py

  Log Message:
  -----------
  [#2562] careful with crosstabs


  Commit: bb87587ad544901c09aa7681d4d720b0207292fc
      https://github.com/ckan/ckan/commit/bb87587ad544901c09aa7681d4d720b0207292fc
  Author: Ian Ward <ian at excess.org>
  Date:   2018-02-23 (Fri, 23 Feb 2018)

  Changed paths:
    M .gitignore
    M .travis.yml
    M Dockerfile
    M LICENSE.txt
    M README.rst
    M ckan/authz.py
    M ckan/common.py
    M ckan/config/environment.py
    M ckan/config/middleware/common_middleware.py
    M ckan/config/middleware/flask_app.py
    M ckan/config/middleware/pylons_app.py
    M ckan/config/routing.py
    M ckan/controllers/admin.py
    M ckan/controllers/api.py
    M ckan/controllers/group.py
    M ckan/controllers/home.py
    M ckan/controllers/package.py
    M ckan/controllers/template.py
    M ckan/controllers/user.py
    M ckan/lib/base.py
    M ckan/lib/celery_app.py
    M ckan/lib/cli.py
    M ckan/lib/dictization/__init__.py
    M ckan/lib/dictization/model_save.py
    M ckan/lib/extract.py
    M ckan/lib/helpers.py
    M ckan/lib/jinja_extensions.py
    M ckan/lib/mailer.py
    M ckan/lib/navl/dictization_functions.py
    M ckan/lib/navl/validators.py
    M ckan/lib/redis.py
    M ckan/lib/search/__init__.py
    M ckan/lib/search/common.py
    M ckan/lib/search/index.py
    M ckan/lib/search/query.py
    M ckan/lib/uploader.py
    M ckan/logic/__init__.py
    M ckan/logic/action/create.py
    M ckan/logic/action/delete.py
    M ckan/logic/action/get.py
    M ckan/logic/action/update.py
    M ckan/logic/converters.py
    M ckan/logic/schema.py
    M ckan/logic/validators.py
    M ckan/migration/versions/001_add_existing_tables.py
    M ckan/migration/versions/018_adjust_licenses.py
    M ckan/model/domain_object.py
    M ckan/model/group.py
    M ckan/model/license.py
    M ckan/model/meta.py
    M ckan/model/modification.py
    M ckan/model/package.py
    M ckan/model/package_relationship.py
    M ckan/model/types.py
    M ckan/plugins/core.py
    M ckan/plugins/interfaces.py
    M ckan/plugins/toolkit.py
    M ckan/templates-bs2/admin/base.html
    M ckan/templates-bs2/admin/config.html
    M ckan/templates-bs2/admin/confirm_reset.html
    M ckan/templates-bs2/admin/index.html
    M ckan/templates-bs2/admin/trash.html
    M ckan/templates-bs2/header.html
    M ckan/templates-bs2/organization/snippets/organization_form.html
    M ckan/templates-bs2/package/resource_read.html
    M ckan/templates-bs2/user/activity_stream.html
    M ckan/templates-bs2/user/dashboard.html
    M ckan/templates-bs2/user/edit.html
    M ckan/templates-bs2/user/edit_base.html
    M ckan/templates-bs2/user/edit_user_form.html
    M ckan/templates-bs2/user/followers.html
    M ckan/templates-bs2/user/list.html
    M ckan/templates-bs2/user/login.html
    M ckan/templates-bs2/user/logout_first.html
    M ckan/templates-bs2/user/new.html
    M ckan/templates-bs2/user/read.html
    M ckan/templates-bs2/user/read_base.html
    M ckan/templates-bs2/user/request_reset.html
    M ckan/templates-bs2/user/snippets/followee_dropdown.html
    M ckan/templates-bs2/user/snippets/login_form.html
    M ckan/templates-bs2/user/snippets/user_search.html
    M ckan/templates/admin/base.html
    M ckan/templates/admin/config.html
    M ckan/templates/admin/confirm_reset.html
    M ckan/templates/admin/index.html
    M ckan/templates/admin/trash.html
    M ckan/templates/header.html
    M ckan/templates/organization/snippets/organization_form.html
    M ckan/templates/package/resource_read.html
    R ckan/templates/snippets/datapreview_embed_dialog.html
    M ckan/templates/snippets/facet_list.html
    M ckan/templates/user/activity_stream.html
    M ckan/templates/user/dashboard.html
    M ckan/templates/user/dashboard_datasets.html
    M ckan/templates/user/edit.html
    M ckan/templates/user/edit_base.html
    M ckan/templates/user/edit_user_form.html
    M ckan/templates/user/followers.html
    M ckan/templates/user/list.html
    M ckan/templates/user/login.html
    M ckan/templates/user/logout_first.html
    M ckan/templates/user/new.html
    M ckan/templates/user/perform_reset.html
    M ckan/templates/user/read.html
    M ckan/templates/user/read_base.html
    M ckan/templates/user/request_reset.html
    M ckan/templates/user/snippets/followee_dropdown.html
    M ckan/templates/user/snippets/login_form.html
    M ckan/templates/user/snippets/user_search.html
    M ckan/tests/controllers/test_admin.py
    M ckan/tests/controllers/test_api.py
    M ckan/tests/controllers/test_feed.py
    M ckan/tests/controllers/test_group.py
    M ckan/tests/controllers/test_home.py
    M ckan/tests/controllers/test_organization.py
    M ckan/tests/controllers/test_user.py
    M ckan/tests/legacy/__init__.py
    M ckan/tests/legacy/functional/api/base.py
    M ckan/tests/legacy/functional/test_activity.py
    M ckan/tests/legacy/functional/test_admin.py
    M ckan/tests/legacy/functional/test_pagination.py
    M ckan/tests/legacy/functional/test_user.py
    M ckan/tests/legacy/html_check.py
    M ckan/tests/legacy/lib/test_solr_schema_version.py
    M ckan/tests/legacy/lib/test_solr_search_index.py
    R ckan/tests/legacy/misc/test_format_text.py
    M ckan/tests/legacy/misc/test_sync.py
    M ckan/tests/lib/test_helpers.py
    M ckan/tests/logic/action/test_delete.py
    M ckan/tests/logic/action/test_get.py
    M ckan/tests/logic/test_validators.py
    M ckan/views/__init__.py
    A ckan/views/admin.py
    M ckan/views/api.py
    A ckan/views/dashboard.py
    A ckan/views/feed.py
    A ckan/views/user.py
    M ckanext/datapusher/logic/action.py
    M ckanext/datapusher/plugin.py
    M ckanext/datapusher/templates/datapusher/resource_data.html
    M ckanext/datastore/backend/postgres.py
    M ckanext/datastore/helpers.py
    M ckanext/datastore/logic/action.py
    M ckanext/datastore/logic/schema.py
    M ckanext/datastore/plugin.py
    M ckanext/datastore/templates/datastore/snippets/dictionary_form.html
    A ckanext/datastore/tests/test_chained_auth_functions.py
    M ckanext/datastore/tests/test_unit.py
    A ckanext/example_flask_streaming/__init__.py
    A ckanext/example_flask_streaming/plugin.py
    A ckanext/example_flask_streaming/templates/stream.html
    A ckanext/example_flask_streaming/tests/10lines.txt
    A ckanext/example_flask_streaming/tests/__init__.py
    A ckanext/example_flask_streaming/tests/test_streaming_responses.py
    M ckanext/example_itranslation/tests/test_plugin.py
    M ckanext/example_ivalidators/plugin.py
    M ckanext/example_ivalidators/tests/test_ivalidators.py
    M ckanext/example_theme_docs/custom_config_setting/plugin.py
    M ckanext/multilingual/plugin.py
    M ckanext/multilingual/tests/test_multilingual_plugin.py
    M ckanext/resourceproxy/controller.py
    M ckanext/stats/tests/test_stats_lib.py
    A contrib/docker/.env.template
    M contrib/docker/apache.wsgi
    M contrib/docker/ckan-entrypoint.sh
    M contrib/docker/docker-compose.yml
    M contrib/docker/my_init.d/50_configure
    M contrib/docker/my_init.d/70_initdb
    M contrib/docker/postgresql/Dockerfile
    A contrib/docker/postgresql/docker-entrypoint-initdb.d/00_create_datastore.sh
    A contrib/docker/postgresql/docker-entrypoint-initdb.d/20_postgis_permissions.sql
    M contrib/docker/solr/Dockerfile
    M dev-requirements.txt
    M doc/contributing/documentation.rst
    M doc/contributing/issues.rst
    M doc/contributing/test.rst
    M doc/extensions/adding-custom-fields.rst
    M doc/maintaining/configuration.rst
    M doc/maintaining/datastore.rst
    M doc/maintaining/getting-started.rst
    M doc/maintaining/installing/index.rst
    A doc/maintaining/installing/install-from-docker-compose.rst
    M doc/maintaining/installing/install-from-source.rst
    M doc/maintaining/upgrading/upgrade-source.rst
    M requirements.in
    M requirements.txt
    M setup.py

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master' into 2562-datastore-search-sql-private


  Commit: d7a13a6242740236a1ceeb2d1e50f48b488dd631
      https://github.com/ckan/ckan/commit/d7a13a6242740236a1ceeb2d1e50f48b488dd631
  Author: Ian Ward <ian at excess.org>
  Date:   2018-02-23 (Fri, 23 Feb 2018)

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

  Log Message:
  -----------
  [#2562] fix chained_auth test


  Commit: 043b1e7323fb3ca8b6a5d109799901edfaca0f14
      https://github.com/ckan/ckan/commit/043b1e7323fb3ca8b6a5d109799901edfaca0f14
  Author: Ian Ward <ian at excess.org>
  Date:   2018-02-25 (Sun, 25 Feb 2018)

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

  Log Message:
  -----------
  [#2562] fix datastore_search_sql docstring


  Commit: fffd1437fb1220533e6c5a59991718cb9ae9df30
      https://github.com/ckan/ckan/commit/fffd1437fb1220533e6c5a59991718cb9ae9df30
  Author: Adrià Mercader <amercadero at gmail.com>
  Date:   2018-03-01 (Thu, 01 Mar 2018)

  Changed paths:
    M ckan/logic/validators.py
    M ckanext/datastore/backend/__init__.py
    M ckanext/datastore/backend/postgres.py
    M ckanext/datastore/helpers.py
    M ckanext/datastore/logic/action.py
    M ckanext/datastore/logic/auth.py
    M ckanext/datastore/plugin.py
    M ckanext/datastore/tests/test_chained_auth_functions.py
    M ckanext/datastore/tests/test_search.py

  Log Message:
  -----------
  Merge pull request #2562 from ckan/2562-datastore-search-sql-private

allow datastore_search_sql on private datasets


Compare: https://github.com/ckan/ckan/compare/6efb72944de1...fffd1437fb12


More information about the ckan-changes mailing list