[ckan-changes] [okfn/ckan] 8f8c3d: Pass package_type to IDatasetForm methods
GitHub
noreply at github.com
Wed Jan 9 10:28:18 UTC 2013
Branch: refs/heads/master
Home: https://github.com/okfn/ckan
Commit: 8f8c3d47ccac7b8cdaefcd26e7fb49646f055e8b
https://github.com/okfn/ckan/commit/8f8c3d47ccac7b8cdaefcd26e7fb49646f055e8b
Author: amercader <amercadero at gmail.com>
Date: 2013-01-09 (Wed, 09 Jan 2013)
Changed paths:
M ckan/controllers/package.py
Log Message:
-----------
Pass package_type to IDatasetForm methods
Commit: cea169ca86ee5f72096d8eeef16cd4bb20a9a89a
https://github.com/okfn/ckan/commit/cea169ca86ee5f72096d8eeef16cd4bb20a9a89a
Author: amercader <amercadero at gmail.com>
Date: 2013-01-09 (Wed, 09 Jan 2013)
Changed paths:
M ckan/controllers/package.py
M ckan/lib/plugins.py
Log Message:
-----------
Allow IDatasetForm to customize the edit template
Commit: 65fa8b4d59b7f60d756ae91079b81fc22dab010f
https://github.com/okfn/ckan/commit/65fa8b4d59b7f60d756ae91079b81fc22dab010f
Author: amercader <amercadero at gmail.com>
Date: 2013-01-09 (Wed, 09 Jan 2013)
Changed paths:
M ckan/controllers/package.py
Log Message:
-----------
Redirect to the dataset type view page after create or edit
Commit: b58dfe94d35dcb41e664b3b21b28d5f3479b110a
https://github.com/okfn/ckan/commit/b58dfe94d35dcb41e664b3b21b28d5f3479b110a
Author: amercader <amercadero at gmail.com>
Date: 2013-01-09 (Wed, 09 Jan 2013)
Changed paths:
M ckan/lib/plugins.py
Log Message:
-----------
Name all dataset type routes to allow URL generation
Routes have the form `dataset-type_action`, eg `harvest_source_read` or
`mydatasettype_edit`. This allows to build the url with url_for or
nav_named_link from the controllers or templates.
Commit: 4dcd654cac1ab8955b44d7708c3abcb70a014bfa
https://github.com/okfn/ckan/commit/4dcd654cac1ab8955b44d7708c3abcb70a014bfa
Author: amercader <amercadero at gmail.com>
Date: 2013-01-09 (Wed, 09 Jan 2013)
Changed paths:
M ckanext/test_tag_vocab_plugin.py
Log Message:
-----------
Fix vocabs test plugin
Commit: 71ee54981e5acca4f296e30c3da1a922c080ba2f
https://github.com/okfn/ckan/commit/71ee54981e5acca4f296e30c3da1a922c080ba2f
Author: amercader <amercadero at gmail.com>
Date: 2013-01-09 (Wed, 09 Jan 2013)
Changed paths:
M ckan/lib/plugins.py
Log Message:
-----------
Register search page route for dataset types
Commit: 783856d52b0acbf087031d4c8062d25996ffb1c7
https://github.com/okfn/ckan/commit/783856d52b0acbf087031d4c8062d25996ffb1c7
Author: amercader <amercadero at gmail.com>
Date: 2013-01-09 (Wed, 09 Jan 2013)
Changed paths:
M ckan/lib/dictization/model_dictize.py
Log Message:
-----------
Assign a default value to dataset type when dictizing
This makes search queries much easier
Commit: 42e5f775f16ffa0ada79320f933907e8209fc06e
https://github.com/okfn/ckan/commit/42e5f775f16ffa0ada79320f933907e8209fc06e
Author: amercader <amercadero at gmail.com>
Date: 2013-01-09 (Wed, 09 Jan 2013)
Changed paths:
M ckan/lib/search/index.py
Log Message:
-----------
Index dataset type
Commit: a05ee7c36e38de90f11aa66d91b90b73a212784a
https://github.com/okfn/ckan/commit/a05ee7c36e38de90f11aa66d91b90b73a212784a
Author: amercader <amercadero at gmail.com>
Date: 2013-01-09 (Wed, 09 Jan 2013)
Changed paths:
M ckan/controllers/package.py
M doc/configuration.rst
Log Message:
-----------
Show relevant dataset types on the search pages
When visiting the search page of a custom dataset type (eg /<my-type>),
only datasets from this type are shown. On the main search page
(/dataset), only standard datasets are shown, unless the config option
`ckan.search.show_all_types` is set to True.
Commit: 994ccda504bfeb13c61a93a534be973f1a9644f7
https://github.com/okfn/ckan/commit/994ccda504bfeb13c61a93a534be973f1a9644f7
Author: amercader <amercadero at gmail.com>
Date: 2013-01-09 (Wed, 09 Jan 2013)
Changed paths:
M ckan/controllers/package.py
Log Message:
-----------
Call _setup_template_variables on search action
Also don't pass id on new action
Commit: 7b234f7b38481810890c04bfea2f0b98fd359a6f
https://github.com/okfn/ckan/commit/7b234f7b38481810890c04bfea2f0b98fd359a6f
Author: amercader <amercadero at gmail.com>
Date: 2013-01-09 (Wed, 09 Jan 2013)
Changed paths:
M ckan/lib/helpers.py
M ckan/templates/snippets/facet_list.html
Log Message:
-----------
Support alternative_url param on h.add/remove_url_param
This allows custom URLs like the ones from dataset types. Private
function _url_with_params was duplicated on helpers.
Commit: 484dfe11ed4559fa3f9d2c1985894ec512a4c84f
https://github.com/okfn/ckan/commit/484dfe11ed4559fa3f9d2c1985894ec512a4c84f
Author: amercader <amercadero at gmail.com>
Date: 2013-01-09 (Wed, 09 Jan 2013)
Changed paths:
M ckan/controllers/package.py
Log Message:
-----------
Call _setup_template_variables on read action
Commit: f903e10ee9e2637bc565d65bef6a14bc28ede153
https://github.com/okfn/ckan/commit/f903e10ee9e2637bc565d65bef6a14bc28ede153
Author: amercader <amercadero at gmail.com>
Date: 2013-01-09 (Wed, 09 Jan 2013)
Changed paths:
M ckan/controllers/package.py
Log Message:
-----------
Use dataset type when generating URLs on the search page
This allows the Pager to generate URLs that point to the relevant
dataset type page, and not /dataset.
Commit: 55732ea4ce4aa7793e193ecf468b56809d7fdbf4
https://github.com/okfn/ckan/commit/55732ea4ce4aa7793e193ecf468b56809d7fdbf4
Author: amercader <amercadero at gmail.com>
Date: 2013-01-09 (Wed, 09 Jan 2013)
Changed paths:
M ckan/templates/snippets/facet_list.html
Log Message:
-----------
Use alternative_url on facet_list when genereating URLs
This allows dataset type pages to show their own facets and have links
pointing to the right direction.
Commit: 8163e1f45929fc926e9c8785e837679ddabb07e2
https://github.com/okfn/ckan/commit/8163e1f45929fc926e9c8785e837679ddabb07e2
Author: amercader <amercadero at gmail.com>
Date: 2013-01-09 (Wed, 09 Jan 2013)
Changed paths:
M ckan/model/package.py
Log Message:
-----------
Add a default value to package type field
Commit: d7e1792b75ab29a93563fe2990ab1512a53cd917
https://github.com/okfn/ckan/commit/d7e1792b75ab29a93563fe2990ab1512a53cd917
Author: amercader <amercadero at gmail.com>
Date: 2013-01-09 (Wed, 09 Jan 2013)
Changed paths:
M ckan/tests/lib/test_dictization.py
M ckan/tests/lib/test_dictization_schema.py
M ckan/tests/lib/test_solr_search_index.py
Log Message:
-----------
Fix failing test due to default package type
Commit: 4e17a74905f10d77eda3f1ed858f736df5de9c9a
https://github.com/okfn/ckan/commit/4e17a74905f10d77eda3f1ed858f736df5de9c9a
Author: amercader <amercadero at gmail.com>
Date: 2013-01-09 (Wed, 09 Jan 2013)
Changed paths:
A ckan/migration/versions/064_default_package_type.py
Log Message:
-----------
Add db migration script for setting the default package type
Commit: af51c32a7f1863d69f210bf570e5ef0d35185dce
https://github.com/okfn/ckan/commit/af51c32a7f1863d69f210bf570e5ef0d35185dce
Author: amercader <amercadero at gmail.com>
Date: 2013-01-09 (Wed, 09 Jan 2013)
Changed paths:
M ckan/controllers/package.py
M ckan/lib/dictization/model_dictize.py
M ckan/model/package.py
Log Message:
-----------
Minor pep8 and pythonic changes
Commit: 74a8118c4a9c618729447f0ab793b66a18b2c2fa
https://github.com/okfn/ckan/commit/74a8118c4a9c618729447f0ab793b66a18b2c2fa
Author: amercader <amercadero at gmail.com>
Date: 2013-01-09 (Wed, 09 Jan 2013)
Changed paths:
M ckan/lib/helpers.py
Log Message:
-----------
Add alternative_url to docstrings
Commit: f66a7657ce1711dcc8c96daa0e6716d0ff6a73ee
https://github.com/okfn/ckan/commit/f66a7657ce1711dcc8c96daa0e6716d0ff6a73ee
Author: tobes <toby.junk at gmail.com>
Date: 2013-01-09 (Wed, 09 Jan 2013)
Changed paths:
R ckan/migration/versions/064_default_package_type.py
A ckan/migration/versions/066_default_package_type.py
Log Message:
-----------
[#233] Rename version due to conflict 064 -> 066
Commit: cf8554c2fcf835e84c9f0f392d88f3f7ee534393
https://github.com/okfn/ckan/commit/cf8554c2fcf835e84c9f0f392d88f3f7ee534393
Author: tobes <toby.junk at gmail.com>
Date: 2013-01-09 (Wed, 09 Jan 2013)
Changed paths:
M ckan/lib/plugins.py
M ckan/templates/organization/read_base.html
M ckanext/reclinepreview/plugin.py
M ckanext/reclinepreview/tests/test_preview.py
Log Message:
-----------
Merge branch 'master' of github.com:okfn/ckan
Compare: https://github.com/okfn/ckan/compare/e248bb0789ab...cf8554c2fcf8
More information about the ckan-changes
mailing list