[ckan-changes] [okfn/ckan] 171e20: Fix IGroupForm's setup_template_variables() not be...
GitHub
noreply at github.com
Wed Jul 18 10:09:58 UTC 2012
Branch: refs/heads/master
Home: https://github.com/okfn/ckan
Commit: 171e20f5a74951c3452941168d3605bc8e1d92cc
https://github.com/okfn/ckan/commit/171e20f5a74951c3452941168d3605bc8e1d92cc
Author: Sean Hammond <seanhammond at lavabit.com>
Date: 2012-07-17 (Tue, 17 Jul 2012)
Changed paths:
M ckan/controllers/group.py
Log Message:
-----------
Fix IGroupForm's setup_template_variables() not being called
Call setup_template_variables() methods of IGroupForm plugins when
creating new groups.
Commit: 2e84da4caa626091863d561d960309de0ac163e1
https://github.com/okfn/ckan/commit/2e84da4caa626091863d561d960309de0ac163e1
Author: Sean Hammond <seanhammond at lavabit.com>
Date: 2012-07-17 (Tue, 17 Jul 2012)
Changed paths:
M ckan/logic/action/create.py
Log Message:
-----------
Fix for IGroupForm's form_to_db_schema() not being used when creating datasets
The schemas from form_to_db_schema() methods of IGroupForm plugins were
not being used when creating groups, fix the code so that they are used.
Commit: e9b4f65c4014ce40029f60d643c02e7d6cf832c2
https://github.com/okfn/ckan/commit/e9b4f65c4014ce40029f60d643c02e7d6cf832c2
Author: Sean Hammond <seanhammond at lavabit.com>
Date: 2012-07-17 (Tue, 17 Jul 2012)
Changed paths:
M ckan/logic/action/get.py
Log Message:
-----------
Fix data dicts not being validated by group_show
group_show() was validating data_dicts but then returning the
unvalidated dict not the validated one. Looks like a copy-paste mistake.
Fix so that the validated dict is returned.
Commit: 8ed099b25ff529639d85d8de9e76815285b98e06
https://github.com/okfn/ckan/commit/8ed099b25ff529639d85d8de9e76815285b98e06
Author: Sean Hammond <seanhammond at lavabit.com>
Date: 2012-07-17 (Tue, 17 Jul 2012)
Changed paths:
M ckan/lib/base.py
M ckan/lib/dictization/__init__.py
M ckan/lib/dictization/model_save.py
M ckan/model/meta.py
M ckan/templates/user/edit_user_form.html
Log Message:
-----------
Merge branch 'master' of github.com:okfn/ckan
Commit: 952f28b659aa297cdeaf12d4512da6532cf1c591
https://github.com/okfn/ckan/commit/952f28b659aa297cdeaf12d4512da6532cf1c591
Author: Sean Hammond <seanhammond at lavabit.com>
Date: 2012-07-18 (Wed, 18 Jul 2012)
Changed paths:
M ckan/logic/schema.py
Log Message:
-----------
Fix 500 error on viewing a group with a custom group schema
display_name was missing from group_form_schema() so if an IGroupForm
plugin with a custom db_to_form_schema() for groups was in use, the
group read template would crash with a 500. Add display_name to the
schema so that the template renders successfully.
Compare: https://github.com/okfn/ckan/compare/72321fbc0859...952f28b659aa
More information about the ckan-changes
mailing list