[ckan-changes] [okfn/ckan] 460615: [model, lib, tests]: Added (much needed) tests for
noreply at github.com
noreply at github.com
Mon Dec 19 17:13:11 UTC 2011
Branch: refs/heads/release-v1.5.1c
Home: https://github.com/okfn/ckan
Commit: 460615d51a0c27c2a860ad15f7a1a651c952a1bf
https://github.com/okfn/ckan/commit/460615d51a0c27c2a860ad15f7a1a651c952a1bf
Author: John Glover <john.c.glover at nuim.ie>
Date: 2011-12-19 (Mon, 19 Dec 2011)
Changed paths:
M ckan/lib/dictization/model_dictize.py
M ckan/model/group.py
M ckan/model/package.py
M ckan/tests/functional/api/test_action.py
M ckan/tests/models/test_package.py
M doc/apiv3.rst
Log Message:
-----------
[model,lib,tests]: Added (much needed) tests for
calculation of metadata_modified.
Fixed up float breakage.
If it cannot calculate metadata_modified it returns None instead of now() - this should never happen and if it does it would be good to find out why as its probably an error.
Optimised package dictization to avoid calculation metadata_modified and created twice.
Commit: d80654e8c836b5ea78a03cb164ef71c2397e85f6
https://github.com/okfn/ckan/commit/d80654e8c836b5ea78a03cb164ef71c2397e85f6
Author: John Glover <john.c.glover at nuim.ie>
Date: 2011-12-19 (Mon, 19 Dec 2011)
Changed paths:
M ckan/controllers/group.py
M ckan/controllers/revision.py
M ckan/controllers/user.py
M ckan/lib/helpers.py
M ckan/tests/functional/test_pagination.py
Log Message:
-----------
[xs, pagination] Bug fix for #1543.
Refactor code added in #1501 so that the search
controller pagination can still use it's own
url generator function. Users, groups and revisions
use the new h.pager_url function.
Compare: https://github.com/okfn/ckan/compare/b29bc5d...d80654e
More information about the ckan-changes
mailing list