[ckan-changes] [ckan/ckan] c156a5: Document how to test code that relies on backgroun...
GitHub
noreply at github.com
Thu Mar 1 11:36:53 UTC 2018
Branch: refs/heads/4041-remove-datastore-legacy-mode
Home: https://github.com/ckan/ckan
Commit: c156a50c54435a0a1c0828fc5b321b16550189a7
https://github.com/ckan/ckan/commit/c156a50c54435a0a1c0828fc5b321b16550189a7
Author: Florian Brucker <florian.brucker at it.karlsruhe.de>
Date: 2018-01-31 (Wed, 31 Jan 2018)
Changed paths:
M doc/contributing/test.rst
M doc/contributing/testing.rst
M doc/maintaining/background-tasks.rst
Log Message:
-----------
Document how to test code that relies on background jobs
Commit: ef46b33b9002e19217429b18df4e39ee6847b95d
https://github.com/ckan/ckan/commit/ef46b33b9002e19217429b18df4e39ee6847b95d
Author: Ian Ward <ian at excess.org>
Date: 2018-02-15 (Thu, 15 Feb 2018)
Changed paths:
M ckan/controllers/api.py
M ckan/views/api.py
Log Message:
-----------
[#4022] use javascript content-type for jsonp responses
Commit: 1c64d3ca168a30626c1948b9e537df1230d0fe99
https://github.com/ckan/ckan/commit/1c64d3ca168a30626c1948b9e537df1230d0fe99
Author: Ian Ward <ian at excess.org>
Date: 2018-02-15 (Thu, 15 Feb 2018)
Changed paths:
M ckan/tests/controllers/test_api.py
Log Message:
-----------
[[#4022] add test for jsonp content type
Commit: 45747407ad680a74921de654202dee3e95ad4d46
https://github.com/ckan/ckan/commit/45747407ad680a74921de654202dee3e95ad4d46
Author: amercader <amercadero at gmail.com>
Date: 2018-02-22 (Thu, 22 Feb 2018)
Changed paths:
M ckan/config/routing.py
Log Message:
-----------
[#4031] Add names to organization routes so they can be referenced in templates
Commit: e8f26b461c5e11bc36d2c233093f0c9f0d5cb801
https://github.com/ckan/ckan/commit/e8f26b461c5e11bc36d2c233093f0c9f0d5cb801
Author: amercader <amercadero at gmail.com>
Date: 2018-02-22 (Thu, 22 Feb 2018)
Changed paths:
M ckan/controllers/group.py
Log Message:
-----------
[#4031] Pass group_type to plugins so they can choose what to do
For instance when rendering the form for a new group/org there is not
way of telling if it's a group, org or custom type. The existing method
for the plugin interface just accepts context and data_dict, so to
maintain backwards compatibility I'm adding the group_type to
data_dict['type'], which is consistent with what they would get on an
update operation.
Commit: e397e4c0b5eba4e66812ed31aedaaae194f7eb82
https://github.com/ckan/ckan/commit/e397e4c0b5eba4e66812ed31aedaaae194f7eb82
Author: amercader <amercadero at gmail.com>
Date: 2018-02-22 (Thu, 22 Feb 2018)
Changed paths:
M ckan/controllers/organization.py
Log Message:
-----------
[#4031] Remove _guess_group_type methods from org controller
It had "organization" hardcoded so it prevented custom organization
types to work properly. The parent implementation in the group
controller should work fine for orgs as well as it just uses the URL.
Commit: 534b7b176d0eaca2f62f7aeae4bf983082b4f7fa
https://github.com/ckan/ckan/commit/534b7b176d0eaca2f62f7aeae4bf983082b4f7fa
Author: amercader <amercadero at gmail.com>
Date: 2018-02-22 (Thu, 22 Feb 2018)
Changed paths:
M ckan/controllers/group.py
Log Message:
-----------
[#4031] Remove methods that prevented custom types URLs
These two methods had hardcoded calls to the group or org routes defined
in core, so custom types were ignored. Replace them with calls to
`redirect_to` or `url_for` that take the group type into account.
Commit: a54c906c4dba0361160b74d6ff5e0e7d7580bfbc
https://github.com/ckan/ckan/commit/a54c906c4dba0361160b74d6ff5e0e7d7580bfbc
Author: amercader <amercadero at gmail.com>
Date: 2018-02-22 (Thu, 22 Feb 2018)
Changed paths:
M ckan/controllers/group.py
Log Message:
-----------
[#4031] Improve search in group read and bulk page
Commit: 0b8dc27ed53f30db49c2fcc9729c878b3ab41e8d
https://github.com/ckan/ckan/commit/0b8dc27ed53f30db49c2fcc9729c878b3ab41e8d
Author: amercader <amercadero at gmail.com>
Date: 2018-02-22 (Thu, 22 Feb 2018)
Changed paths:
M ckan/templates/group/edit_base.html
M ckan/templates/group/index.html
M ckan/templates/group/member_new.html
M ckan/templates/group/members.html
M ckan/templates/group/read_base.html
M ckan/templates/organization/edit_base.html
M ckan/templates/organization/index.html
M ckan/templates/organization/member_new.html
M ckan/templates/organization/members.html
M ckan/templates/organization/read_base.html
M ckan/templates/snippets/organization.html
Log Message:
-----------
[#4031] Use group type when building URLs in templates
TODO bootstrap2 ?
Commit: 38cdf6291e707e0ddbfcd952379b87703e35cf08
https://github.com/ckan/ckan/commit/38cdf6291e707e0ddbfcd952379b87703e35cf08
Author: amercader <amercadero at gmail.com>
Date: 2018-02-22 (Thu, 22 Feb 2018)
Changed paths:
M ckan/lib/plugins.py
Log Message:
-----------
[#4031] Add missing routes in group plugins
Commit: 7ac5546eeceb70d1f53b02d87a346442ae01b385
https://github.com/ckan/ckan/commit/7ac5546eeceb70d1f53b02d87a346442ae01b385
Author: amercader <amercadero at gmail.com>
Date: 2018-02-22 (Thu, 22 Feb 2018)
Changed paths:
M ckan/lib/plugins.py
Log Message:
-----------
[#4031] Allow registering of fallback org plugins
Right now if an organization plugin implementing `IGroupForm` set
is_fallback to True, the plugin was added as the default *group* plugin,
not the organization one.
Commit: 2abd5926abbd6b8ae92b1fef1ffdf5ee21ed37c6
https://github.com/ckan/ckan/commit/2abd5926abbd6b8ae92b1fef1ffdf5ee21ed37c6
Author: amercader <amercadero at gmail.com>
Date: 2018-02-22 (Thu, 22 Feb 2018)
Changed paths:
M ckan/config/routing.py
Log Message:
-----------
[#4031] Add names to group routes as well
Commit: 7e7e01a6c967a18c1e753ed401d6659463482b2d
https://github.com/ckan/ckan/commit/7e7e01a6c967a18c1e753ed401d6659463482b2d
Author: amercader <amercadero at gmail.com>
Date: 2018-02-23 (Fri, 23 Feb 2018)
Changed paths:
M ckan/config/middleware/flask_app.py
M ckan/controllers/group.py
M ckan/controllers/package.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/search/common.py
M ckan/lib/search/query.py
M ckan/logic/__init__.py
M ckan/logic/action/get.py
M ckan/logic/converters.py
M ckan/migration/versions/001_add_existing_tables.py
M ckan/model/types.py
M ckan/plugins/core.py
M ckan/templates/snippets/facet_list.html
M ckan/tests/controllers/test_api.py
M ckan/tests/controllers/test_group.py
M ckan/tests/legacy/html_check.py
M ckan/tests/logic/action/test_get.py
M ckan/tests/logic/test_validators.py
M ckanext/datastore/backend/postgres.py
M ckanext/datastore/helpers.py
M ckanext/datastore/logic/schema.py
M ckanext/datastore/plugin.py
M ckanext/datastore/templates/datastore/snippets/dictionary_form.html
M ckanext/example_itranslation/tests/test_plugin.py
M ckanext/multilingual/plugin.py
M ckanext/stats/tests/test_stats_lib.py
M contrib/docker/solr/Dockerfile
M doc/contributing/documentation.rst
M doc/contributing/test.rst
M doc/maintaining/datastore.rst
M doc/maintaining/installing/install-from-source.rst
M doc/maintaining/upgrading/upgrade-source.rst
M requirements.in
M requirements.txt
Log Message:
-----------
Merge branch 'master' into 4031-improve-igroupform-support
Commit: b99b85092fd123b266fad93f391dc66ac274f514
https://github.com/ckan/ckan/commit/b99b85092fd123b266fad93f391dc66ac274f514
Author: amercader <amercadero at gmail.com>
Date: 2018-02-23 (Fri, 23 Feb 2018)
Changed paths:
M ckan/templates-bs2/group/edit_base.html
M ckan/templates-bs2/group/index.html
M ckan/templates-bs2/group/member_new.html
M ckan/templates-bs2/group/members.html
M ckan/templates-bs2/group/read_base.html
M ckan/templates-bs2/organization/edit_base.html
M ckan/templates-bs2/organization/index.html
M ckan/templates-bs2/organization/member_new.html
M ckan/templates-bs2/organization/members.html
M ckan/templates-bs2/organization/read_base.html
M ckan/templates-bs2/snippets/organization.html
Log Message:
-----------
[#4013] Update Bootstrap 2 templates to support custom group types
Commit: 71f779fe351a49559e3781e26cb7587e9e7f3d72
https://github.com/ckan/ckan/commit/71f779fe351a49559e3781e26cb7587e9e7f3d72
Author: cclauss <cclauss at bluewin.ch>
Date: 2018-02-23 (Fri, 23 Feb 2018)
Changed paths:
M ckan/ckan_nose_plugin.py
M ckan/i18n/check_po_files.py
M ckan/lib/cli.py
M ckan/lib/config_tool.py
M ckan/lib/create_test_data.py
M ckan/lib/search/__init__.py
M ckan/logic/validators.py
M ckan/migration/versions/018_adjust_licenses.py
M ckan/migration/versions/083_remove_related_items.py
M ckan/pastertemplates/__init__.py
M ckan/tests/legacy/functional/api/model/test_package.py
M ckan/tests/legacy/functional/api/model/test_relationships.py
M ckan/tests/legacy/functional/api/test_package_search.py
M ckan/tests/legacy/functional/api/test_user.py
M ckan/tests/legacy/functional/test_package.py
M ckan/tests/legacy/functional/test_revision.py
M ckan/tests/legacy/lib/test_dictization.py
M ckan/tests/legacy/lib/test_navl.py
M ckan/tests/legacy/misc/test_sync.py
M ckan/tests/legacy/models/test_resource.py
M ckanext/datapusher/cli.py
M ckanext/datapusher/tests/test.py
M ckanext/datastore/tests/test_disable.py
Log Message:
-----------
print() is a function in Python 3
Commit: a53b7f334e3cc3035684e4ccbb06d683b2fbe58d
https://github.com/ckan/ckan/commit/a53b7f334e3cc3035684e4ccbb06d683b2fbe58d
Author: Ian Ward <ian at excess.org>
Date: 2018-02-23 (Fri, 23 Feb 2018)
Changed paths:
M ckan/config/routing.py
M ckan/controllers/group.py
M ckan/controllers/organization.py
M ckan/lib/plugins.py
M ckan/templates-bs2/group/edit_base.html
M ckan/templates-bs2/group/index.html
M ckan/templates-bs2/group/member_new.html
M ckan/templates-bs2/group/members.html
M ckan/templates-bs2/group/read_base.html
M ckan/templates-bs2/organization/edit_base.html
M ckan/templates-bs2/organization/index.html
M ckan/templates-bs2/organization/member_new.html
M ckan/templates-bs2/organization/members.html
M ckan/templates-bs2/organization/read_base.html
M ckan/templates-bs2/snippets/organization.html
M ckan/templates/group/edit_base.html
M ckan/templates/group/index.html
M ckan/templates/group/member_new.html
M ckan/templates/group/members.html
M ckan/templates/group/read_base.html
M ckan/templates/organization/edit_base.html
M ckan/templates/organization/index.html
M ckan/templates/organization/member_new.html
M ckan/templates/organization/members.html
M ckan/templates/organization/read_base.html
M ckan/templates/snippets/organization.html
Log Message:
-----------
Merge pull request #4032 from ckan/4031-improve-igroupform-support
[#4031] Improve IGroupForm support
Commit: 7ff923605d140569d587559ef3c639e4275639ae
https://github.com/ckan/ckan/commit/7ff923605d140569d587559ef3c639e4275639ae
Author: Alex Sadleir <alex.sadleir at digital.gov.au>
Date: 2018-02-25 (Sun, 25 Feb 2018)
Changed paths:
M ckan/lib/search/index.py
M ckan/tests/lib/search/test_index.py
Log Message:
-----------
Fix and test Solr index delete_package implementation
Commit: 832e0139c7a07a3473b293421d768e3ff14f41f1
https://github.com/ckan/ckan/commit/832e0139c7a07a3473b293421d768e3ff14f41f1
Author: Sergey <tonnydexter at gmail.com>
Date: 2018-02-26 (Mon, 26 Feb 2018)
Changed paths:
M ckan/controllers/api.py
M ckan/tests/controllers/test_api.py
M ckan/views/api.py
Log Message:
-----------
Merge pull request #4027 from ckan/4022-jsonp-content-type
[#4022] use javascript content-type for jsonp responses
Commit: 855cfe854a12ad8b807e44dc378e2086cc71c53a
https://github.com/ckan/ckan/commit/855cfe854a12ad8b807e44dc378e2086cc71c53a
Author: Adrià Mercader <amercadero at gmail.com>
Date: 2018-02-27 (Tue, 27 Feb 2018)
Changed paths:
M ckan/ckan_nose_plugin.py
M ckan/i18n/check_po_files.py
M ckan/lib/cli.py
M ckan/lib/config_tool.py
M ckan/lib/create_test_data.py
M ckan/lib/search/__init__.py
M ckan/logic/validators.py
M ckan/migration/versions/018_adjust_licenses.py
M ckan/migration/versions/083_remove_related_items.py
M ckan/pastertemplates/__init__.py
M ckan/tests/legacy/functional/api/model/test_package.py
M ckan/tests/legacy/functional/api/model/test_relationships.py
M ckan/tests/legacy/functional/api/test_package_search.py
M ckan/tests/legacy/functional/api/test_user.py
M ckan/tests/legacy/functional/test_package.py
M ckan/tests/legacy/functional/test_revision.py
M ckan/tests/legacy/lib/test_dictization.py
M ckan/tests/legacy/lib/test_navl.py
M ckan/tests/legacy/misc/test_sync.py
M ckan/tests/legacy/models/test_resource.py
M ckanext/datapusher/cli.py
M ckanext/datapusher/tests/test.py
M ckanext/datastore/tests/test_disable.py
Log Message:
-----------
Merge pull request #4038 from cclauss/from-future-import-print_function
print() is a function in Python 3
Commit: 6f73e170dada3c824ca2dfad201c4407eb691b13
https://github.com/ckan/ckan/commit/6f73e170dada3c824ca2dfad201c4407eb691b13
Author: cclauss <cclauss at bluewin.ch>
Date: 2018-02-27 (Tue, 27 Feb 2018)
Changed paths:
M ckan/lib/cli.py
Log Message:
-----------
cli: from six.moves import input, xrange for Py3
Commit: 938cba07263aa025ca4bc01fdded74d7e4cb36e5
https://github.com/ckan/ckan/commit/938cba07263aa025ca4bc01fdded74d7e4cb36e5
Author: Adrià Mercader <amercadero at gmail.com>
Date: 2018-02-27 (Tue, 27 Feb 2018)
Changed paths:
M ckan/lib/search/index.py
M ckan/tests/lib/search/test_index.py
Log Message:
-----------
Merge pull request #4040 from maxious/3949-fix-solr-delete_package
[#3949] Fix and test Solr index delete_package implementation
Commit: d246e878f10387f426f3d0febff10befb1722b88
https://github.com/ckan/ckan/commit/d246e878f10387f426f3d0febff10befb1722b88
Author: amercader <amercadero at gmail.com>
Date: 2018-02-27 (Tue, 27 Feb 2018)
Changed paths:
M ckan/templates-bs2/group/members.html
Log Message:
-----------
[#4031] Fix wrong action in bs2 template
Commit: 849cd8d48962dd164240f77a68a7bd1ebffa537a
https://github.com/ckan/ckan/commit/849cd8d48962dd164240f77a68a7bd1ebffa537a
Author: Konstantin Sivakov <konstantin.sivakov at keitaro.com>
Date: 2018-02-27 (Tue, 27 Feb 2018)
Changed paths:
M ckan/templates-bs2/group/members.html
Log Message:
-----------
Merge pull request #4046 from ckan/4031-fix-action-in-bs2-template
[#4031] Fix wrong action in BS2 template
Commit: f001927b4ef0b0e4037728d12bce40059b5110ad
https://github.com/ckan/ckan/commit/f001927b4ef0b0e4037728d12bce40059b5110ad
Author: cclauss <cclauss at bluewin.ch>
Date: 2018-02-28 (Wed, 28 Feb 2018)
Changed paths:
M doc/conf.py
Log Message:
-----------
Convert ur'strings' --> u'strings' in doc/conf.py
Commit: af1917003c1c35a5cdd77e44a8d848e70e3570fa
https://github.com/ckan/ckan/commit/af1917003c1c35a5cdd77e44a8d848e70e3570fa
Author: Sergey <tonnydexter at gmail.com>
Date: 2018-02-28 (Wed, 28 Feb 2018)
Changed paths:
M doc/conf.py
Log Message:
-----------
Merge pull request #4049 from cclauss/fix-urstring-in-doc-conf.py
Convert ur'strings' --> u'strings' in doc/conf.py
Commit: 947e7bea98b97f1719b443aac3350da186ea7b7a
https://github.com/ckan/ckan/commit/947e7bea98b97f1719b443aac3350da186ea7b7a
Author: Sergey <tonnydexter at gmail.com>
Date: 2018-02-28 (Wed, 28 Feb 2018)
Changed paths:
M doc/contributing/test.rst
M doc/contributing/testing.rst
M doc/maintaining/background-tasks.rst
Log Message:
-----------
Merge pull request #3997 from torfsen/document-testing-of-background-jobs
Document how to test code that relies on background jobs
Commit: a727c6373576702ff9f5226cf2a9ba5096e3c843
https://github.com/ckan/ckan/commit/a727c6373576702ff9f5226cf2a9ba5096e3c843
Author: Sergey Motornyuk <sergey.motornyuk at linkdigital.com.au>
Date: 2018-02-28 (Wed, 28 Feb 2018)
Changed paths:
M ckan/config/environment.py
M ckan/config/middleware/flask_app.py
M ckan/lib/jinja_extensions.py
M ckan/lib/render.py
M ckan/tests/controllers/test_api.py
M ckanext/example_flask_iblueprint/plugin.py
M ckanext/example_flask_streaming/plugin.py
Log Message:
-----------
[#4044] Pylons and Flask just use the same options for Jinja2 environment
Commit: 95b1c9b7f756fdca739d35597f409cc27194f008
https://github.com/ckan/ckan/commit/95b1c9b7f756fdca739d35597f409cc27194f008
Author: Adrià Mercader <amercadero at gmail.com>
Date: 2018-03-01 (Thu, 01 Mar 2018)
Changed paths:
M ckan/lib/cli.py
Log Message:
-----------
Merge pull request #4045 from cclauss/cli-from-six.moves-import-raw_input_xrange
cli: from six.moves import input, xrange for Py3
Commit: 6efb72944de186ed79dd57b319b5110ec4149722
https://github.com/ckan/ckan/commit/6efb72944de186ed79dd57b319b5110ec4149722
Author: Adrià Mercader <amercadero at gmail.com>
Date: 2018-03-01 (Thu, 01 Mar 2018)
Changed paths:
M ckan/config/environment.py
M ckan/config/middleware/flask_app.py
M ckan/lib/jinja_extensions.py
M ckan/lib/render.py
M ckan/tests/controllers/test_api.py
M ckanext/example_flask_iblueprint/plugin.py
M ckanext/example_flask_streaming/plugin.py
Log Message:
-----------
Merge pull request #4050 from smotornyuk/4044-ckan_extends-not-working-from-flask
[#4044] Pylons and Flask just use the same options for Jinja2 environment
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
Commit: e7b0ff0a93e7fc2488ce9c03c2e23b2cd8f6e27f
https://github.com/ckan/ckan/commit/e7b0ff0a93e7fc2488ce9c03c2e23b2cd8f6e27f
Author: amercader <amercadero at gmail.com>
Date: 2018-03-01 (Thu, 01 Mar 2018)
Changed paths:
M ckan/ckan_nose_plugin.py
M ckan/config/environment.py
M ckan/config/middleware/flask_app.py
M ckan/config/routing.py
M ckan/controllers/api.py
M ckan/controllers/group.py
M ckan/controllers/organization.py
M ckan/i18n/check_po_files.py
M ckan/lib/cli.py
M ckan/lib/config_tool.py
M ckan/lib/create_test_data.py
M ckan/lib/jinja_extensions.py
M ckan/lib/plugins.py
M ckan/lib/render.py
M ckan/lib/search/__init__.py
M ckan/lib/search/index.py
M ckan/logic/validators.py
M ckan/migration/versions/018_adjust_licenses.py
M ckan/migration/versions/083_remove_related_items.py
M ckan/pastertemplates/__init__.py
M ckan/templates-bs2/group/edit_base.html
M ckan/templates-bs2/group/index.html
M ckan/templates-bs2/group/member_new.html
M ckan/templates-bs2/group/members.html
M ckan/templates-bs2/group/read_base.html
M ckan/templates-bs2/organization/edit_base.html
M ckan/templates-bs2/organization/index.html
M ckan/templates-bs2/organization/member_new.html
M ckan/templates-bs2/organization/members.html
M ckan/templates-bs2/organization/read_base.html
M ckan/templates-bs2/snippets/organization.html
M ckan/templates/group/edit_base.html
M ckan/templates/group/index.html
M ckan/templates/group/member_new.html
M ckan/templates/group/members.html
M ckan/templates/group/read_base.html
M ckan/templates/organization/edit_base.html
M ckan/templates/organization/index.html
M ckan/templates/organization/member_new.html
M ckan/templates/organization/members.html
M ckan/templates/organization/read_base.html
M ckan/templates/snippets/organization.html
M ckan/tests/controllers/test_api.py
M ckan/tests/legacy/functional/api/model/test_package.py
M ckan/tests/legacy/functional/api/model/test_relationships.py
M ckan/tests/legacy/functional/api/test_package_search.py
M ckan/tests/legacy/functional/api/test_user.py
M ckan/tests/legacy/functional/test_package.py
M ckan/tests/legacy/functional/test_revision.py
M ckan/tests/legacy/lib/test_dictization.py
M ckan/tests/legacy/lib/test_navl.py
M ckan/tests/legacy/misc/test_sync.py
M ckan/tests/legacy/models/test_resource.py
M ckan/tests/lib/search/test_index.py
M ckan/views/api.py
M ckanext/datapusher/cli.py
M ckanext/datapusher/tests/test.py
M ckanext/datastore/tests/test_disable.py
M ckanext/example_flask_iblueprint/plugin.py
M ckanext/example_flask_streaming/plugin.py
M doc/conf.py
M doc/contributing/test.rst
M doc/contributing/testing.rst
M doc/maintaining/background-tasks.rst
Log Message:
-----------
Merge branch 'master' into 4041-remove-datastore-legacy-mode
Compare: https://github.com/ckan/ckan/compare/f5ce17ef83f5...e7b0ff0a93e7
More information about the ckan-changes
mailing list