[ckan-changes] [okfn/ckan] 07420a: [#1208] Use search to get datasets on group_show
GitHub
noreply at github.com
Thu Dec 12 15:23:02 UTC 2013
Branch: refs/heads/master
Home: https://github.com/okfn/ckan
Commit: 07420aef7a210ef09b93e4584e283abacc7a08a9
https://github.com/okfn/ckan/commit/07420aef7a210ef09b93e4584e283abacc7a08a9
Author: amercader <amercadero at gmail.com>
Date: 2013-12-06 (Fri, 06 Dec 2013)
Changed paths:
M ckan/lib/dictization/model_dictize.py
M ckan/logic/action/get.py
M ckan/tests/lib/test_dictization.py
Log Message:
-----------
[#1208] Use search to get datasets on group_show
Use the search rather than query the db.
Instead of returning the whole package dict, pick the fields to match
the ones currently returned by the API.
Commit: f6e5aa773cda8960788301ec051364479142a192
https://github.com/okfn/ckan/commit/f6e5aa773cda8960788301ec051364479142a192
Author: amercader <amercadero at gmail.com>
Date: 2013-12-06 (Fri, 06 Dec 2013)
Changed paths:
M ckan/controllers/group.py
M ckan/lib/dictization/model_dictize.py
Log Message:
-----------
[#1208] Do not query datasets on group_show from the controller
When dictizing the group as requested from the controller, don't query
Solr for datasets as they will be ignored and get requested on the
controller later on anyway
Commit: eeb6e65eef7133261b92954dfcf8974d94d2ac24
https://github.com/okfn/ckan/commit/eeb6e65eef7133261b92954dfcf8974d94d2ac24
Author: amercader <amercadero at gmail.com>
Date: 2013-12-09 (Mon, 09 Dec 2013)
Changed paths:
M ckan/lib/dictization/model_dictize.py
M ckan/tests/lib/test_dictization.py
Log Message:
-----------
[#1208] Return whole dicts on package listing for group_show
The reason is that this is consistent with other package listings
(tag_show, package_search) and at the same time is backwards compatible
as it keeps all the existing fields.
Users would be able to choose not to return the packages list.
Commit: 804b0f9296ff36117c6b966a0969d026c709e503
https://github.com/okfn/ckan/commit/804b0f9296ff36117c6b966a0969d026c709e503
Author: amercader <amercadero at gmail.com>
Date: 2013-12-09 (Mon, 09 Dec 2013)
Changed paths:
M ckan/controllers/group.py
M ckan/lib/dictization/model_dictize.py
M ckan/logic/action/get.py
Log Message:
-----------
[#1208] Allow users to not request the dataset listing on group_show
Commit: efdfc03bc2347acbad672486115bb384f6243ee5
https://github.com/okfn/ckan/commit/efdfc03bc2347acbad672486115bb384f6243ee5
Author: amercader <amercadero at gmail.com>
Date: 2013-12-09 (Mon, 09 Dec 2013)
Changed paths:
M ckan/logic/schema.py
Log Message:
-----------
[#1208] Ignore __junk field in group schema
It surfaced on the tests due to the new list fields (resources, tags...)
in the group's datasets
Commit: 05c5c2cb260aa6b518bbd5ee2612f45780780cb1
https://github.com/okfn/ckan/commit/05c5c2cb260aa6b518bbd5ee2612f45780780cb1
Author: amercader <amercadero at gmail.com>
Date: 2013-12-11 (Wed, 11 Dec 2013)
Changed paths:
M ckan/config/deployment.ini_tmpl
M ckan/config/environment.py
M ckan/config/routing.py
M ckan/controllers/group.py
M ckan/controllers/package.py
M ckan/controllers/user.py
M ckan/lib/accept.py
M ckan/lib/cli.py
M ckan/lib/create_test_data.py
M ckan/lib/dictization/model_dictize.py
M ckan/lib/dictization/model_save.py
M ckan/lib/email_notifications.py
M ckan/lib/helpers.py
M ckan/lib/plugins.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/auth/create.py
M ckan/logic/auth/get.py
M ckan/logic/auth/update.py
M ckan/logic/converters.py
M ckan/logic/schema.py
M ckan/logic/validators.py
M ckan/model/group.py
M ckan/new_authz.py
A ckan/new_tests/logic/action/test_get.py
M ckan/new_tests/logic/action/test_update.py
A ckan/public/base/javascript/modules/resource-reorder.js
M ckan/public/base/javascript/modules/slug-preview.js
M ckan/public/base/javascript/resource.config
M ckan/public/base/less/dataset.less
A ckan/public/base/vendor/jquery.ui.core.js
A ckan/public/base/vendor/jquery.ui.mouse.js
A ckan/public/base/vendor/jquery.ui.sortable.js
M ckan/public/base/vendor/jquery.ui.widget.js
M ckan/public/base/vendor/resource.config
M ckan/templates/group/member_new.html
M ckan/templates/group/read.html
M ckan/templates/group/snippets/group_item.html
M ckan/templates/organization/read.html
A ckan/templates/package/group_list.html
M ckan/templates/package/read_base.html
M ckan/templates/package/resource_data.html
M ckan/templates/package/resource_edit_base.html
M ckan/templates/package/resources.html
M ckan/templates/package/snippets/package_basic_fields.html
M ckan/templates/package/snippets/package_form.html
M ckan/templates/package/snippets/package_metadata_fields.html
M ckan/templates/package/snippets/resource_item.html
M ckan/templates/snippets/package_list.html
M ckan/tests/functional/test_group.py
M ckan/tests/functional/test_package.py
M ckan/tests/lib/test_accept.py
M ckan/tests/lib/test_dictization.py
M ckan/tests/logic/test_auth.py
M ckan/tests/logic/test_member.py
M ckan/tests/models/test_group.py
M ckan/tests/test_coding_standards.py
M ckanext/datapusher/helpers.py
M ckanext/datapusher/logic/action.py
M ckanext/datapusher/plugin.py
M ckanext/datapusher/tests/test.py
M ckanext/datastore/db.py
M ckanext/datastore/logic/action.py
M ckanext/datastore/logic/auth.py
M ckanext/datastore/plugin.py
M doc/configuration.rst
M doc/documentation-guidelines.rst
M doc/filestore.rst
Log Message:
-----------
Merge branch 'master' into 1208-dictize-changes-2
Commit: c68bd378f8b654ad7100d6a213175310f9ee45d1
https://github.com/okfn/ckan/commit/c68bd378f8b654ad7100d6a213175310f9ee45d1
Author: amercader <amercadero at gmail.com>
Date: 2013-12-11 (Wed, 11 Dec 2013)
Changed paths:
M ckan/lib/dictization/model_dictize.py
Log Message:
-----------
[#1208] Fix wrong logic for search params
Commit: 2028066b605ce9e64ca97447088d1b5872dc2ab3
https://github.com/okfn/ckan/commit/2028066b605ce9e64ca97447088d1b5872dc2ab3
Author: amercader <amercadero at gmail.com>
Date: 2013-12-11 (Wed, 11 Dec 2013)
Changed paths:
M ckan/logic/action/get.py
Log Message:
-----------
[#1208] More robust boolean param handling
Commit: aab84d1a006da797576cf9182cd53b9084c72304
https://github.com/okfn/ckan/commit/aab84d1a006da797576cf9182cd53b9084c72304
Author: amercader <amercadero at gmail.com>
Date: 2013-12-11 (Wed, 11 Dec 2013)
Changed paths:
M ckan/new_tests/factories.py
M ckan/new_tests/logic/action/test_get.py
Log Message:
-----------
[#1208] Add new tests for group/org list/show
Added a couple of factories for groups and orgs. Not clear about the
user that should be creating them.
Commit: 589079351943eec54a011c6865072d36257e7255
https://github.com/okfn/ckan/commit/589079351943eec54a011c6865072d36257e7255
Author: amercader <amercadero at gmail.com>
Date: 2013-12-12 (Thu, 12 Dec 2013)
Changed paths:
M ckan/new_tests/factories.py
M ckan/tests/lib/test_dictization.py
Log Message:
-----------
[#1208] Fix tests Pep8 and horrible and unmaintaineble dictization tests
Commit: 9dfef5fdc370d3692cdf183f056cb05ab756b422
https://github.com/okfn/ckan/commit/9dfef5fdc370d3692cdf183f056cb05ab756b422
Author: joetsoi <joe.yeung.tsoi at gmail.com>
Date: 2013-12-12 (Thu, 12 Dec 2013)
Changed paths:
M ckan/controllers/group.py
M ckan/lib/dictization/model_dictize.py
M ckan/logic/action/get.py
M ckan/logic/schema.py
M ckan/new_tests/factories.py
M ckan/new_tests/logic/action/test_get.py
M ckan/tests/lib/test_dictization.py
Log Message:
-----------
Merge branch '1208-dictize-changes-2'
Compare: https://github.com/okfn/ckan/compare/19496cef71a7...9dfef5fdc370
More information about the ckan-changes
mailing list